CN116957479A - Document processing method, device, electronic equipment, medium and program - Google Patents

Document processing method, device, electronic equipment, medium and program Download PDF

Info

Publication number
CN116957479A
CN116957479A CN202210376603.6A CN202210376603A CN116957479A CN 116957479 A CN116957479 A CN 116957479A CN 202210376603 A CN202210376603 A CN 202210376603A CN 116957479 A CN116957479 A CN 116957479A
Authority
CN
China
Prior art keywords
document
target
slave
processing
target document
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210376603.6A
Other languages
Chinese (zh)
Inventor
葛夏芷
李妍
鄢江波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Wuhan Kingsoft Office Software Co Ltd
Original Assignee
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Wuhan Kingsoft Office Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Office Software Inc, Zhuhai Kingsoft Office Software Co Ltd, Wuhan Kingsoft Office Software Co Ltd filed Critical Beijing Kingsoft Office Software Inc
Priority to CN202210376603.6A priority Critical patent/CN116957479A/en
Publication of CN116957479A publication Critical patent/CN116957479A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • Tourism & Hospitality (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The invention relates to a document processing method, a device, an electronic device, a medium and a program, wherein the method comprises the following steps: selecting at least two target documents which are cooperatively processed with the slave device on the master device, and associating the at least two target documents from the master device to the corresponding slave device; and processing the associated target document on the slave device. According to the method and the device for processing the target documents, the at least two target documents to be associated to the slave device for processing are determined on the master device, and the target documents are associated to the slave device for processing, so that the documents can be processed across the devices.

Description

Document processing method, device, electronic equipment, medium and program
Technical Field
The present invention relates to the field of document processing technologies, and in particular, to a document processing method, a device, an electronic apparatus, a medium, and a program.
Background
In the prior art, the processing of the document is generally completed by a single device, for example, document editing is completed by a single device, and for example, the document is copied to a projection device or other large screen device for document presentation. The document processing method in the prior art is not flexible enough, is applicable to single scene and has poor user experience.
In view of the above drawbacks, the present invention provides a document processing method, apparatus, electronic device, medium, and program.
Disclosure of Invention
The invention provides a document processing method, a device, electronic equipment, a medium and a program, which are used for at least solving the defects of inflexible document processing method, single applicable scene and poor user experience in the prior art.
In a first aspect, the present invention provides a document processing method, including:
selecting at least two target documents on the master device that are co-processed with the slave device;
associating the at least two target documents from the master device to the corresponding slave devices;
processing the associated target document on the slave device.
Further, according to the document processing method provided by the present invention, the associating the at least two target documents from the master device to the corresponding slave devices includes:
and associating the at least two target documents from the master device to the corresponding slave devices according to the authority relationship between the at least two target documents and the slave devices.
Further, according to the document processing method provided by the invention, one master device is provided, and at least two slave devices are provided;
The associating the at least two target documents from the master device to the corresponding slave devices includes:
determining the corresponding relation between the at least two target documents and the slave equipment; and according to the corresponding relation, the at least two target documents are associated from the master device to the corresponding slave devices.
Further, according to the document processing method provided by the present invention, the determining the correspondence between the at least two target documents and the slave device includes:
determining the corresponding relation between the at least two target documents and the slave equipment according to preset conditions;
the preset conditions include: the master device determines the corresponding slave device for each target document according to a user instruction; or sequentially distributing the target documents according to the connection sequence of the slave devices to the master device; or determining the corresponding relation according to the matching relation between the equipment performance of the slave equipment and the target document.
Further, according to the document processing method provided by the present invention, the processing, on the slave device, the associated target document further includes:
sending a data acquisition request to the master device, so that the master device determines a first slave device and acquires target data from the first slave device;
And receiving the target data sent by the main equipment, and processing the associated target document according to the target data.
Further, according to the document processing method provided by the present invention, the processing, on the slave device, the associated target document further includes:
and any one slave device acquires target data from the other slave device according to the operation authority of the target document.
Further, according to the document processing method provided by the present invention, the processing, on the slave device, the associated target document further includes:
the slave device sends a synchronization request for a first target document to the master device, so that the master device executes the synchronization content of the first target document; wherein the first target document is a target document associated with a current slave device.
Further, according to the document processing method provided by the invention, the document processing method further comprises the following steps:
and the number of the master devices is at least two, and the association relation between the at least two target documents and the slave devices is set according to the number of the slave devices.
Further, according to the document processing method provided by the invention, at least two master devices and one slave device are provided;
The associating the at least two target documents from the master device to the corresponding slave devices includes:
determining a current target document to be processed, and associating the current target document to be processed to the slave device;
correspondingly, processing the associated target document on the slave device comprises the following steps:
receiving a processing instruction sent by current main control equipment; the current main control equipment is the main equipment corresponding to the current target document to be processed;
and processing the current target document to be processed according to the processing instruction.
Further, according to the document processing method provided by the present invention, the processing of the associated target document on the slave device further includes:
sending a data acquisition request to a first main device; wherein the first master device is one of a plurality of master devices;
and receiving target data returned by the first main equipment, and processing the received target document or the selected target document according to the target data.
Further, according to the document processing method provided by the invention, at least two master devices and at least two slave devices are provided;
The associating the at least two target documents from the master device to the corresponding slave devices includes:
determining a current target document to be processed, determining a master device corresponding to each current target document to be processed as a current master device, and determining slave devices of the current master device from other devices; associating the current target document to be processed to a slave device of the current master device;
correspondingly, processing the associated target document on the slave device comprises the following steps:
receiving a processing instruction sent by current main control equipment;
and processing the at least one target document to be processed currently according to the processing instruction.
Further, according to the document processing method provided by the present invention, the processing of the associated target document on the slave device further includes:
transmitting a data acquisition request to a second slave device; wherein the second slave device is one of a plurality of slave devices;
and receiving target data returned by the second slave equipment, and processing the received target document or the selected target document according to the target data.
Further, according to the document processing method provided by the present invention, the transmitting the target document to be processed to the slave device includes:
determining a target document to be processed currently from at least two associated target documents based on a preset selection sequence or an acquired selection instruction;
and transmitting the current target document to be processed to the slave device.
Further, according to the document processing method provided by the present invention, the transmitting the target document to be processed to the slave device includes:
transmitting the at least two target documents from at least two main devices to a document task queue respectively;
determining a current target document to be processed from the document task queue based on a preset selection sequence or an acquired selection instruction;
and transmitting the current target document to be processed to the slave device.
Further, according to the document processing method provided by the present invention, the processing of the received target document on the slave device further includes:
the slave device sends a synchronization request for a second target document to the master device, so that the master device executes the synchronization content of the second target document; wherein the second target document is one of the documents associated with the master device.
Further, according to the document processing method provided by the invention, the preset selection sequence is determined according to the sequence of receiving the target document by the document task queue, or is determined according to the main equipment identifier corresponding to the received target document, or is obtained by sorting according to the attribute of the received target document.
Further, according to the document processing method provided by the present invention, after the processing is performed on the target document to be processed currently according to the processing instruction, the method further includes:
and repeatedly executing the step of determining the current target document to be processed from the document task queue based on a preset selection sequence or a selection instruction acquired in real time, and processing the current target document to be processed according to the processing instruction until the target document in the document task queue is processed.
Further, according to the document processing method provided by the invention, the document processing method further comprises the following steps:
establishing a communication connection between devices, comprising:
a local area network is established among the devices and is connected through the local area network;
or, each device is respectively connected with a server and is in communication connection through the server.
In a second aspect, the present invention also provides a document processing apparatus, including:
a determining module, configured to select at least two target documents that are cooperatively processed with the slave device on the master device;
an association module for associating the at least two target documents from the master device to the corresponding slave devices;
and the processing module is used for processing the associated target document on the slave equipment.
In a third aspect, the present invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing all or part of the steps of any one of the document processing methods described above when the program is executed.
In a fourth aspect, the present invention also provides a computer readable storage medium having stored thereon a computer program which when executed by a processor performs all or part of the steps of a document processing method as described in any of the above.
In a fifth aspect, the invention also provides a computer program product comprising computer executable instructions which, when executed, are adapted to carry out all or part of the steps of a document processing method as described in any one of the above.
According to the document processing method, the device, the electronic equipment, the medium and the program, at least two target documents which are cooperatively processed with the slave equipment are selected on the master equipment, and the target documents are associated to the slave equipment for processing, so that the documents can be processed across the equipment.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a document processing method provided by the invention;
FIG. 2 is an example of an application scenario of a document processing method provided by the present invention;
FIG. 3 is a schematic diagram of the document processing method of FIG. 2 after the document is successfully circulated in the application scenario;
FIG. 4 is a second example of an application scenario of a document processing method provided by the present invention;
FIG. 5 is a third example of an application scenario for a document processing method provided by the present invention;
FIG. 6 is a schematic diagram of a document task processing device according to the present invention;
fig. 7 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The following describes a document processing method, apparatus, electronic device, medium, and program of the present invention with reference to fig. 1 to 7.
FIG. 1 is a schematic flow chart of a document processing method provided by the invention, as shown in FIG. 1, the method comprises the following steps:
s11, selecting at least two target documents which are cooperatively processed with the slave device on the master device;
specifically, the master device may be a device for storing a target document or the master device may be a device for obtaining a target document, the master device may be a device such as a mobile phone, a computer, a PDA (personal digital assistant), etc., the target document may be a document of a plain text document, a word document, a picture, a table, a presentation, etc., the slave device may be a device for processing a target document, and the slave device may be a device such as a mobile phone, a computer, a PDA (personal digital assistant), etc. In this embodiment, the target document in the master device may exist in the cloud or on the slave device, for example, the master device may open links related to some documents by clicking, and after obtaining the data of these documents, associate some of these documents as target documents to other slave devices; the master device may be a device that executes or controls the target document, such as the case of the target document on the slave device: after the corresponding document is acquired from the slave device and executed on which device, the device for which the control is executed is determined as the master device.
The number of master devices may be one or more, and the number of slave devices may be one or more. Determining at least two target documents to be associated with slave devices on a master device, for example, one master device comprises at least two target documents to be associated with the slave devices, wherein the at least two target documents are respectively associated with a plurality of slave devices by the master device, and each slave device respectively processes the associated target documents after obtaining information of the target documents; or the slave device itself stores the target documents, for example, the method specifically includes transmitting the number information of one target document to the associated slave device 1, transmitting the number information of the other target document to the associated slave device 2, or transmitting the number information of at least two target documents to the associated slave device 1, transmitting the number information of one target document to the associated slave device 2, and after obtaining the number information of the target document, the slave device may compare and search the number information in the content stored in the slave device, and if a document with consistent number information exists, activating the document as the target document; for another example, in the multiple master devices, each master device contains the same or different target documents, and the target documents in each master device need to be respectively associated with the same slave device for document processing. The number of the master device and the slave device in the present invention can be flexibly set, and is not limited herein.
S12, associating at least two target documents from the master device to corresponding slave devices;
specifically, after the communication connection between the devices is established, the target document is associated from the master device to the corresponding slave device. Wherein the association is understood to be the ability of the selected target document on the master device to be processed on the selected slave device. For example, a master device sequentially allocates a plurality of target documents to a plurality of slave devices according to a predetermined order, and it is understood that each slave device receives at least one target document or at least can receive information about the target document from which the slave device can obtain the target document. For another example, multiple masters respectively associate target documents in the devices to the same slave, i.e., one slave may associate target documents of multiple masters simultaneously. It should be noted that, the association method may specifically be that the number information of the target document of the master device is associated to the slave device; for example, when the target document is determined to be stored on the master device, the association method may be considered to be transmitting the target document to the corresponding slave device, and the association method may be specifically set according to the actual needs of the user, which is not particularly limited herein.
Correspondingly, it is understood that a device that can be matched with the master device is regarded as a slave device that processes the target document.
It should be noted that, before at least two target documents are associated from a master device to corresponding slave devices, a communication connection between the devices needs to be established. Specifically, communication connection among the devices is established, so that the target document is conveniently associated. According to different usage scenarios, communication connection between one master device and a plurality of slave devices can be established, communication connection between a plurality of master devices and the same slave device can be established, and communication connection between any two devices in the master device and the slave devices can be established. Specifically, communication connection can be performed through the authority between each master device and each slave device, and communication connection can be performed under the condition that the master device and the slave device have corresponding authorities.
S13, processing the associated target document on the slave device.
The slave device is used for processing the associated target document, and the processing operation may be viewing, editing, etc. of the target document, for example, adding/deleting/changing the text content of the target document, adding/deleting/changing the endorsement content, adjusting the (paragraph/layout/font/color) format of the target document, etc., and the processing operation may also be presentation of the document, etc.
In the embodiment, at least two target documents which are cooperatively processed with the slave device are selected on the master device, and after communication connection among the devices is established, the target documents are associated with the slave device for processing, so that the documents can be processed across the devices.
Based on any of the above embodiments, in this embodiment, associating at least two target documents from a master device to corresponding slave devices includes:
and associating the at least two target documents from the master device to the corresponding slave devices according to the authority relationship between the at least two target documents and the slave devices.
In this embodiment, at least two target documents may be associated from a master device to a corresponding slave device according to a rights relationship between the at least two target documents and the slave device, where the rights relationship refers to a rights relationship between the target document and the slave device, such as that the rights of the target document 1 are set to be associated only with the slave device 1, and the rights of the target document 1 are not associated with the slave device 2. The specific authority relationship setting may be set according to the actual needs of the user, and is not particularly limited herein.
In this embodiment, according to the authority relationship between at least two target documents and the slave devices, each slave device may have different authority operations on each target document, for example, the target document 1 is set to have editing authority on the slave device 1 and the slave device 2, and the slave device 3 has viewing authority; the target file 2 has editing rights on the slave device 1 and the slave device 3, and viewing rights on the slave device 2, the slave device 1 and the slave device 2 can perform editing operations on the target file 1, the slave device 3 can only perform viewing operations on the target file 1, the slave device 1 and the slave device 3 can perform editing operations on the target file 2, and the slave device 2 can only perform viewing operations on the target file 2.
The method and the device are suitable for scenes with one master device and multiple slave devices, the authority relationship between the target document and the slave devices is determined according to the preset condition, the target document is associated to the slave devices, the target document is flexibly distributed, the cross-device processing is carried out, and the document processing efficiency is improved.
Based on any of the above embodiments, in one embodiment, there is one master device and at least two slave devices;
associating at least two target documents from a master device to corresponding slave devices, comprising:
Determining the corresponding relation between at least two target documents and the slave device; and according to the corresponding relation, associating at least two target documents from the master device to the corresponding slave devices.
Specifically, in an application scenario, the number of master devices is one, the number of slave devices is a plurality of slave devices, and in the application scenario, a user can realize a plurality of specific functions, such as dispatch of a plurality of document tasks, information collection and summarization, and the like.
Accordingly, in the process of associating at least two target documents from the master device to the corresponding slave devices, association may be performed according to determining the correspondence between the target documents and the slave devices, that is, determining which slave device a target document should be associated to, it may be understood that each slave device is associated with at least one target document, where the correspondence between the target documents and the slave devices may be that the user actively associates the target document to the selected slave device by using the master device, or the master device may display the target document according to the characteristics of the target document, for example, the target document is a presentation document, which needs to be displayed with a large screen and high definition, where in this embodiment, the manner of associating the target document with the slave device is various, and specific processing procedures are not limited herein, and the specific processing procedure is not described herein.
According to the document processing method provided by the invention, the target document is subjected to association processing through the determined corresponding relation, so that the document processing efficiency is improved.
Based on any of the above embodiments, in this embodiment, determining a correspondence between at least two target documents and a slave device includes:
determining the corresponding relation between at least two target documents and the slave equipment according to preset conditions;
the preset conditions comprise: the master device determines corresponding slave devices for each target document according to the user instruction, or sequentially distributes the target documents according to the connection sequence of the slave devices to the master device, or determines the corresponding relationship according to the matching relationship between the device performance of the slave devices and the target documents.
In this embodiment, the correspondence between at least two target documents and the slave devices is determined according to a preset condition, specifically, the preset condition may be that the master device determines a corresponding slave device for each target document according to a user instruction, or sequentially allocates target documents according to a connection sequence of the slave devices to the master device, or the preset condition may also be that the correspondence is determined according to a matching relationship between device performance of the slave devices and the target documents, for example, the target documents with larger occupied space are preferentially allocated to the slave devices with better device performance, if the number of target documents is greater than that of the slave devices, the redundant target documents are preferentially allocated to the slave devices with better device performance (for example, the slave devices include a mobile phone and a computer, one of the three target documents is allocated to the mobile phone, the other two target documents are allocated to the computer, and the multiple target documents in the computer are respectively displayed in different windows).
In this embodiment, the associated target document is processed on the slave device based on the acquired processing instruction. After the corresponding relation between the target document and the slave device is determined, the master device associates the target document to the corresponding slave device. The slave device processes the associated target document according to the processing instruction, wherein the processing instruction can be an instruction received by the slave device through interaction with the master device, or an instruction input by a user on the slave device. The processing content may be editing of a document, for example, addition/deletion/modification of text content, addition/deletion/modification of annotation content, adjustment of (paragraph/layout/font/color) format of a document, or the like, or may be presentation of a document, or the like.
The present embodiment is described below with reference to the examples of fig. 2 to 3:
FIG. 2 is an example of an application scenario of a document processing method according to the present invention, as shown in FIG. 2, in which device A 1 As a master device, a target document is saved: document 1, document 2, document 3, device B 1 Device C 1 Device D 1 Is a slave device for processing a document. Master A 1 Select device B 1 Device C 1 Device D 1 As slave device and determines device B according to preset conditions 1 Device C for processing document 1 1 For processing documents 2, apparatus D 1 For processing the document 3. The process of cross-device association (facilitating cross-device processing) of documents in the present invention, referred to as "streaming", is performed at device B 1 Device C 1 Device D 1 After confirmation of receipt (circulation), document 1 is associated to device B 1 Document 2 is associated to device C 1 Document 3 is associated to device D 1 . FIG. 3 is a schematic diagram of the document processing method of FIG. 2 after the document is successfully streamed in the application scenario, as shown in FIG. 3, after the target document is associated (streamed) from the master device to the corresponding slave device, device B 1 The document 1 can be processed according to the processing instruction, and the device C 1 Document 2 may be processed according to processing instructions, device D 1 The document 3 may be processed according to the processing instructions (e.g., the document 3 may be edited using a virtual keyboard).
The method and the device are suitable for scenes with one master device and multiple slave devices, corresponding relations between the target documents and the slave devices are determined according to preset conditions, the target documents are associated to the slave devices, the target documents are flexibly distributed and processed across the devices, and document processing efficiency is improved.
Based on any of the above embodiments, in one embodiment, processing, on the slave device, the associated target document further includes:
Sending a data acquisition request to a master device, so that the master device determines a first slave device and acquires target data from the first slave device;
and receiving target data sent by the main equipment, and processing the associated target document according to the target data.
Specifically, the current slave device (the execution subject of the step in the present embodiment) may also initiate a data acquisition request to the master device, and acquire target data from other slave devices for document processing. The master device determines a first slave device from a plurality of slave devices according to the data acquisition request (for example, determines the first slave device according to the device identification in the data acquisition request or determines the first slave device according to the information related to the target document in the acquisition request), and requests target data from the first slave device according to the data acquisition request and forwards the target data to the current slave device, wherein the target data can be local data of the first slave device (accordingly, if the authority relationship is set between the devices, the first slave device authorization needs to be requested in advance), or can be the target document distributed from the master device in the first slave device. The type of the target data may be a file in the form of text, pictures, etc., without limitation. After the current slave device receives the target data, the associated target document can be processed according to the target data, or the received target data can be processed on files except the target document on the current slave device according to authority settings among the devices.
In another embodiment, the current slave device sends a data acquisition request to the master device for the master device to determine the first slave device, and then the current slave device directly acquires target data from the first slave device and processes the associated target document according to the target data.
It should be noted that the data acquisition request may be an instruction of another slave device on the current slave device, may be an instruction on the master device, or may be an instruction on the current slave device, where an operation of the instruction on the other slave device outside the authority needs to be executed by the master device or the required slave device.
In another embodiment, any slave device obtains the target data from another slave device according to the operation authority of the target document. Specifically, after selecting a desired slave device on the master device and associating a target document to the slave device, the master device may set an operation right for the target document to the corresponding slave device, for example, the target document 1 is associated to the slave device 1, the target document 2 is associated to the slave device 2, the master device sets the slave device 1 to have editing rights for the target document 1 and the target document 2, and when the slave device 1 needs to acquire target data about the target document 2 from the slave device 2, the target data on the target document 2 may be directly acquired without issuing an acquisition request to the master device or the slave device; the operation authority comprises editing, data extraction, screenshot and the like of the target document.
According to the method and the device for processing the target document, the slave device can acquire multiple types of target data across devices by sending the data acquisition request to the master device, so that the associated target document is flexibly and efficiently processed, and the document processing efficiency is improved.
Based on any of the above embodiments, in one embodiment, processing, on the slave device, the associated target document further includes:
the slave device sends a synchronization request for the first target document to the master device, so that the master device executes the synchronization content of the first target document; wherein the first target document is a target document associated with the current slave device.
Specifically, the current slave device (the execution subject of the step in this embodiment) may also send a synchronization request for the first target document to the master device, where the content requested for synchronization may be synchronization of annotation content for the first target document, synchronization of editing content for the first target document, synchronization of format adjustment for the first target document, and the like. The synchronization request carries the synchronization content (which may be updated content or processed whole first target document) of the first target document, and when the master device acquires the confirmation synchronization instruction, the master device executes the synchronization content of the first target document and maintains the synchronized first target document. The confirmation synchronization instruction is from the authority set by the user or the selection of the user agreeing to the synchronization, wherein the authority set by the user can be set to agree to the synchronization request of the target document of the current slave device, and at this time, the synchronization is performed no matter how many times the current slave device performs the synchronization.
In the embodiment, the synchronization request for the first target document is sent to the main equipment, and the synchronization content of the first target document is executed in the main equipment under the condition of confirming synchronization, so that the processing content of the first target document is updated, and the user requirement is conveniently met.
Based on any of the above embodiments, in one embodiment, the document processing method further includes:
the number of the master devices is at least two, and the association relation between at least two target documents and the slave devices is set according to the number of the slave devices.
In this embodiment, there are at least two master devices, and then the association relationship between at least two target documents and the slave devices is set according to the number of slave devices. Under the application scene, a user can realize a plurality of specific functions, such as step-by-step processing of a plurality of document tasks on a plurality of slave devices, and for example, the plurality of devices can alternately demonstrate manuscripts and the like. The following examples are provided in detail and are not described in detail herein.
Based on any of the above embodiments, in one embodiment, there are at least two master devices and one slave device;
associating at least two target documents from a master device to corresponding slave devices, comprising:
determining a current target document to be processed, and associating the current target document to be processed to the slave device;
Accordingly, processing the associated target document on the slave device includes:
receiving a processing instruction sent by current main control equipment; the current main control equipment is the main equipment corresponding to the target document to be processed currently;
and processing the current target document to be processed according to the processing instruction.
In this embodiment, in an application scenario, the number of the master devices is two, and the number of the slave devices is one, and in this application scenario, a user may implement multiple specific functions, for example, step processing of multiple document tasks on the slave devices, and for example, multiple devices alternately control the display devices to perform document presentation.
Accordingly, in the process of associating at least two target documents from the master device to the corresponding slave devices, determining the target document to be processed currently, associating the target document to be processed currently from the master device to the slave device, and processing the associated target document in the slave device.
And processing the current target document to be processed according to the processing instruction sent by the current main control equipment, wherein the current target document to be processed is determined from the document task queue, and the embodiment is described below. The master device corresponding to the current target document to be processed (i.e., the master device that associates the current target document to be processed with the document task queue) serves as the current master device for controlling the processing procedure of the current target document to be processed in the slave device. After the current target document to be processed is determined, the target document is associated to the slave device. Correspondingly, the slave device receives the processing instruction of the master device and processes the current target document to be processed according to the processing instruction.
According to the document processing method provided by the embodiment of the invention, the scene that the number of the main equipment is multiple and the number of the auxiliary equipment is one is suitable, and the target documents in the plurality of the equipment are orderly processed by the auxiliary equipment by associating the target documents to be processed with the auxiliary equipment, so that the cross-equipment document processing requirements of users are met, and the document processing efficiency is improved.
Based on any of the above embodiments, in one embodiment, processing, on the slave device, the associated target document further includes:
sending a data acquisition request to a first main device; wherein the first master device is one of a plurality of master devices;
and receiving target data returned by the first main equipment, and processing the received target document or the selected target document according to the target data.
Specifically, the slave device may further send a data acquisition request to the first master device according to a control instruction of the master device, receive target data returned by the first master device, and process the received target document or the selected target document according to the target data. The type of the target data may be a file in the form of text, pictures, etc., without limitation. Here, the first master device may transmit the target data to the other slave devices according to the rights setting between the respective devices or after agreeing to the acquisition request.
In the embodiment, the slave device obtains the target data for processing the target document by sending the data obtaining request to the first master device in the process of processing the target document, so that the document processing efficiency is further improved.
Based on any of the above embodiments, in one embodiment, there are at least two master devices and at least two slave devices;
associating at least two target documents from a master device to corresponding slave devices, comprising:
determining a current target document to be processed, determining a master device corresponding to the current target document to be processed as a current master device for each current target document to be processed, and determining slave devices of the current master device from other devices; associating the target document to be processed to the slave device of the current master control device; wherein the remaining devices can be understood as: the master device and the other devices of the current master device are removed from the slave devices before the current target document to be processed has not been determined.
Accordingly, processing the associated target document on the slave device includes:
receiving a processing instruction sent by current main control equipment;
and processing at least one target document to be processed currently according to the processing instruction.
Specifically, in an application scenario, there are at least two master devices, and at least two slave devices, where the master device is not only a device that stores a target document, but also a slave device that is a document task for processing other master devices, that is, identities of the master device and the slave device are not mutually exclusive, but can be dynamically adjusted according to a specific document task. Under the application scene, a user can realize a plurality of specific functions, for example, a document processing task is completed by combining a plurality of devices, for example, a plurality of devices are interconnected, and other devices are controlled in turn to carry out manuscript demonstration and the like.
In this embodiment, in the process of associating at least two target documents from at least two master devices to corresponding slave devices, the target documents may be transmitted from the located master device to a document task queue, the target documents of the plurality of master devices may be managed by the document task queue, the document task queue may be managed by the master device that initiates the multi-device document processing task, and sequentially transmitted to the slave devices when the slave devices perform document processing, the document task queue may also be managed by a server, each master device may upload the target documents to the server, and the slave devices may obtain the corresponding target documents from the server when performing document processing.
After the target document is transmitted from the main equipment to the document task queue, determining the sequence of processing the target document by the auxiliary equipment, and determining the current target document to be processed from the document task queue based on a preset selection sequence or a selection instruction acquired in real time. The preset selection sequence, such as the time sequence of transmitting the target document to the document task queue, the size sequence of the target document, the file name sequence of the target document, the preset sequence of the main equipment corresponding to the target document, and the like. It may be appreciated that the at least one target document to be processed currently may be determined from the document task queue according to a selection instruction obtained in real time, for example, if the user has an urgent matter that needs to perform priority processing on one target document, the designated target document may be selected as the target document to be processed currently through the selection instruction.
For each target document, the master device corresponding to the target document to be processed currently (i.e. the master device transmitting the target document to be processed currently to the document task queue) is used as the current master device for controlling the processing procedure of the target document, and the other devices except the current master device are used as the slave devices of the current master device. After the master control device and the corresponding slave devices are determined, the target document to be processed currently is associated to the slave devices, and each slave device is used for executing the processing procedure of the target document to be processed currently according to the processing instruction of the master control device currently.
It may be appreciated that the document processing method in this embodiment may be performed multiple times, that is, after one target document is processed, a next target document may be determined from the document task queue as a current to-be-processed document, and the corresponding master device and the corresponding slave device are redetermined, and the redetermined current to-be-processed target document is transmitted to the corresponding slave device for processing.
The present embodiment is described below with reference to the example of fig. 4:
FIG. 4 is a second example of an application scenario of a document processing method according to the present invention, as shown in FIG. 4, device A 2 Contains document 1, device B 2 Contains document 2, device C 2 The document 3 is contained, the document 1, the document 2 and the document 3 are all target documents, and 1, 2, 3 and 4 in the figure represent preview pages of the corresponding documents. Device A 2 Device B 2 Device C 2 As the master device, device D 2 For slave devices, for performing document-processing tasks (e.g. D 2 Is a large screen device for document presentation). Device A 2 Device B 2 Device C 2 Transmitting documents in respective devices to document task queues (e.g. serviceA document task queue in the device), determining that a current target document to be processed is a document 1 according to a preset selection sequence of 'document 1-document 2-document 3', or a selection instruction acquired in real time, and determining a main device A corresponding to the document 1 2 Is a master control device. Then, document 1 is associated to the slave device D 2 Slave device D 2 According to apparatus A 2 The issued processing instruction processes the document 1. After the document 1 is processed, the document 2 and the document 3 are sequentially determined to be the target documents to be processed according to the processing procedure of the document 1, and corresponding document transmission and processing are performed.
The method and the device are suitable for scenes with at least two main devices and at least two slave devices (wherein the identities of the main device and the slave devices are dynamically changed), the target documents are transmitted to the document task queue, the current target documents to be processed are sequentially determined, the main device corresponding to the target documents is used as the main control device, the other devices are used as the slave devices, the current target documents to be processed are processed according to the processing instructions of the main control device, the multiple devices are combined to sequentially process multiple target documents in a cross-device mode, the cross-device document processing requirements of users are met, and the document processing efficiency is improved.
Based on any of the above embodiments, in one embodiment, processing, on the slave device, the associated target document further includes:
transmitting a data acquisition request to a second slave device; wherein the second slave device is one of a plurality of slave devices;
And receiving target data returned by the second slave device under the condition of agreeing with the data acquisition request, and processing the received target document or the selected target document according to the target data. Wherein the second slave device is one of a plurality of slave devices, for example one of at least two slave devices.
Specifically, the slave device may further send a data acquisition request to the second slave device according to a control instruction of the master device, receive target data returned by the second slave device when the data acquisition request is granted, and process the received target document or the selected target document according to the target data. The type of the target data may be a file in the form of text, pictures, etc., without limitation.
In the embodiment, the slave device obtains the target data for processing the target document by sending the data obtaining request to the second master device in the process of processing the target document, so that the document processing efficiency is further improved.
Based on any of the above embodiments, in this embodiment, transmitting a target document to be currently processed to a slave device includes:
determining a target document to be processed currently from the associated at least two target documents based on a preset selection sequence or an acquired selection instruction;
And associating the target document to be processed currently to the slave device.
Wherein associating the target document to be currently processed to the slave device includes:
respectively associating at least two target documents from at least two main devices to a document task queue;
determining a current target document to be processed from a document task queue based on a preset selection sequence or an acquired selection instruction;
and associating the target document to be processed currently to the slave device.
Specifically, in the process of associating at least two target documents from a master device to corresponding slave devices, the target documents can be associated from the master device to a document task queue, the target documents of a plurality of master devices are managed through the document task queue, the document task queue can be managed by the master device which initiates a multi-device document processing task, the slave devices are sequentially associated to the slave devices when processing the documents, the document task queue can also be managed through a server, each master device respectively uploads the target documents to the server, and the slave devices acquire the corresponding target documents from the server when processing the documents.
After the target document is associated to the document task queue from the main equipment, determining the sequence of processing the target document by the auxiliary equipment, and determining the current target document to be processed from the document task queue based on a preset selection sequence or a selection instruction acquired in real time. The preset selection sequence, such as the time sequence of transmitting the target document to the document task queue, the size sequence of the target document, the file name sequence of the target document, the preset sequence of the main equipment corresponding to the target document, and the like. It can be understood that the current target document to be processed can be determined from the document task queue according to the selection instruction acquired in real time, for example, if the user has an urgent matter and needs to perform priority processing on one target document, the designated target document can be selected as the current target document to be processed through the selection instruction.
After the current target document to be processed is determined, the target document is associated to the slave device. Correspondingly, the slave device receives the processing instruction of the master device and processes the current target document to be processed according to the processing instruction.
The present embodiment is described below with reference to the example of fig. 5:
FIG. 5 is a third example of an application scenario of a document processing method according to the present invention, as shown in FIG. 5, device A 3 Contains document 1, device B 3 Contains document 2, device C 3 The document 3 is contained, the document 1, the document 2 and the document 3 are all target documents, and 1, 2, 3 and 4 in the figure represent preview pages of the corresponding documents. Device A 3 Device B 3 Device C 3 Associating documents in respective devices to document task queues (e.g., document task queues in a server, as well as device A, for example) for the host devices, respectively 3 A document task queue is managed in the file system), determining that a current target document to be processed is a document 2 according to a preset selection sequence of 'document 2-document 3-document 1', or a selection instruction acquired in real time, and determining a main device B corresponding to the document 2 3 The rest equipment A is the current master control equipment 3 Device C 3 Then as the current master B 3 For performing document processing. Then, the document 2 is transferred to the slave device a, respectively 3 Slave device C 3 Slave device a 3 Slave device C 3 Respectively according to the currentMaster control device B 3 The issued processing instructions process the document 2, e.g. front master B 3 Document 2 is presented from device A 3 Slave device C 3 According to the current master control equipment B 3 The issued processing instruction synchronously performs document demonstration on the document 2. After the document 2 is processed, the document 3 and the document 1 are sequentially determined as current equipment to be processed by referring to the processing process of the document 2, the current main control equipment is redetermined, the slave equipment of the current main control equipment is used for transmitting and processing the corresponding documents.
The method and the device are suitable for a scene that the number of the main equipment is multiple and the number of the auxiliary equipment is one, the target documents are related to the document task queue, the current target documents to be processed are sequentially determined, the main equipment corresponding to the target documents is used as the main control equipment to control the processing process of the auxiliary equipment on the current target documents to be processed, the target documents in the multiple equipment are orderly processed by the auxiliary equipment, the cross-equipment document processing requirement of a user is met, and the document processing efficiency is improved.
Based on any of the above embodiments, in one embodiment, processing the received target document on the slave device further includes:
The slave device sends a synchronous request for the second target document to the master device, and the master device executes synchronous content of the second target document; wherein the second target document is one of the documents associated with the master device.
Specifically, the slave device may also send a synchronization request for the first target document to the master device, where the content requested to synchronize is synchronization of processing content for the second target document, synchronization of annotation content for the second target document, synchronization of editing content for the second target document, synchronization of format adjustment for the second target document, and so on. The synchronization request carries the synchronization content (may be updated content or processed whole second target document) of the second target document, and when the master control device obtains a confirmation synchronization instruction (for example, a confirmation synchronization instruction input by a user by clicking a "confirm synchronization" button), the master control device executes the synchronization content of the second target document, and maintains the synchronized first target document.
It will be appreciated that each slave device processes the same target document under the control of the master device, and thus, a synchronization request for the second target document may also be sent to other slave devices, i.e., to other slave devices, and in the case where the respective slave devices confirm synchronization, synchronization of the content (e.g., synchronization of annotation content, editing content, format adjustment, etc.) for the second target document is performed at the respective slave devices.
In the embodiment, the synchronization request for the second target document is sent to the main control equipment, and the synchronization content of the second target document is executed in the main control equipment under the condition of confirming synchronization, so that the processing content of the second target document is updated, and the user requirement is conveniently met.
Based on any of the foregoing embodiments, in one embodiment, the preset selection order is determined according to a sequence in which the target documents are received by the document task queue, or determined according to a host device identifier corresponding to the received target documents, or obtained by sorting according to attributes of the received target documents.
Specifically, the current target document to be processed is determined from the document task queue according to a preset selection sequence. The preset selection sequence can be determined according to the sequence of receiving the target documents by the document task queue, that is, the target documents of the document task queue are selected preferentially; the preset selection order may be determined according to the received master device identifier corresponding to the target document, for example, the master device corresponding to the master device identifier X has the highest priority, the target document X sent by the master device corresponding to the master device identifier X is preferentially selected, the master device corresponding to the master device identifier Y has the priority only inferior to that of the master device corresponding to the master device identifier X, and then the selection order of the target document Y sent by the master device corresponding to the master device identifier Y is only inferior to that of the target document X; the preset selection sequence is obtained according to the received attribute sequence of the target document, for example, the size sequence of the target document and the file name sequence of the target document.
The method and the device provide various flexible selection sequences, are convenient for determining the current target document to be processed from the document task queue, meet the document processing requirements of users, and improve the document processing efficiency.
Based on any of the foregoing embodiments, in one embodiment, after processing the target document to be processed currently according to the processing instruction, the method further includes:
and repeatedly executing the steps from determining the current target document to be processed in the document task queue to processing the current target document to be processed according to the processing instruction based on a preset selection sequence or a selection instruction acquired in real time until the target document in the document task queue is processed.
Specifically, the document task queue in this embodiment relates to a plurality of target documents, and the corresponding document processing method may be executed multiple times, that is, after one target document is processed, a next target document may be determined from the document task queue as a current document to be processed, and transmitted to a corresponding slave device for processing.
In this embodiment, the steps from determining at least one target document to be processed currently in the document task queue to processing the target document to be processed currently according to the processing instruction are repeatedly executed based on a preset selection order or a selection instruction acquired in real time, so that the processing process of each target document in the document task queue is successfully completed.
Based on any of the above embodiments, in one embodiment, the document processing method further includes establishing a communication connection between the devices, including:
a local area network is established among the devices and is connected through local area network communication;
or, each device is connected with the server respectively and is connected with the server in a communication way.
Specifically, the devices can be connected through local area network communication, for example, each mobile phone can be connected through short-distance wireless communication modes such as bluetooth and wifi, zigbee, NFC to form a local area network, and the devices are connected through local area network communication, for example, each computer in an office area, which needs to execute a document processing task, can be connected through wired local area network through network lines and routers, and the documents can be partially shared/sent to the corresponding devices in the security gateway; the devices can also be respectively connected with the server through the Internet and are in communication connection through the server, particularly, an RPC (remote procedure call) message model can be adopted to construct a network long link, the server is connected in an account login mode, the server verifies whether the account number of each device is legal, communication service is provided for the corresponding device under the condition that the account number verification is passed, the server can provide a target file test storage service, manage a file task queue and provide a downloading function of a target file for the slave device.
In the embodiment, a flexible communication connection mode is provided for each device, and the document processing efficiency is improved.
The document task processing device provided by the invention is described below, and the document task processing device described below and the document task processing method described above can be referred to correspondingly to each other.
FIG. 6 is a schematic diagram of a document task processing device according to the present invention, as shown in FIG. 6, the device includes:
a determining module 61, configured to select at least two target documents that are cooperatively processed with the slave device on the master device;
an association module 62 for associating at least two target documents from a master device to corresponding slave devices;
a processing module 63, configured to process the associated target document on the slave device.
In the embodiment, at least two target documents to be transmitted to the slave device for processing are determined on the master device, and after communication connection among the devices is established, the target documents are transmitted to the slave device for processing, so that the documents can be processed across the devices.
Based on any of the above embodiments, in one embodiment, the apparatus includes a first determining unit configured to:
And associating the at least two target documents from the master device to the corresponding slave devices according to the authority relationship between the at least two target documents and the slave devices.
The method and the device are suitable for scenes with one master device and multiple slave devices, the authority relationship between the target document and the slave devices is determined according to the preset condition, the target document is transmitted to the slave devices, the target document is flexibly distributed, and the cross-device processing is performed, so that the document processing efficiency is improved.
Based on any of the above embodiments, in one embodiment, there is one master device and at least two slave devices;
a transmission module 63 comprising:
a first determining unit configured to determine correspondence between at least two target documents and a slave device;
and the first association unit is used for associating at least two target documents from the master equipment to the corresponding slave equipment according to the corresponding relation.
The method and the device are suitable for scenes with one master device and multiple slave devices, the corresponding relation between the target document and the slave devices is determined according to the preset condition, the target document is transmitted to the slave devices, the target document is flexibly distributed, and the cross-device processing is performed, so that the document processing efficiency is improved.
Based on any of the above embodiments, in one embodiment, the first determining unit is further configured to:
determining the corresponding relation between at least two target documents and the slave equipment according to preset conditions;
the preset conditions comprise: the master device determines corresponding slave devices for each target document according to the user instruction; or sequentially distributing the target documents according to the connection sequence of the slave devices to the master device; or determining the corresponding relation according to the matching relation between the equipment performance of the slave equipment and the target document.
The method and the device are suitable for scenes with one master device and multiple slave devices, the corresponding relation between the target document and the slave devices is determined according to the preset condition, the target document is transmitted to the slave devices, the target document is flexibly distributed, and the cross-device processing is performed, so that the document processing efficiency is improved.
Based on any of the above embodiments, in one embodiment, the processing module 63 further includes:
the first request unit is used for sending a data acquisition request to the master device so that the master device can determine a first slave device and acquire target data from the first slave device;
and the first receiving unit is used for receiving the target data sent by the main equipment and processing the associated target document according to the target data.
According to the method and the device for processing the target document, the slave device can acquire multiple types of target data across devices by sending the data acquisition request to the master device, the received target document is processed flexibly and efficiently, and the document processing efficiency is improved.
Based on any of the above embodiments, in one embodiment, the processing module 63 is further configured to:
and any slave device acquires the target data from the other slave device according to the operation authority of the target document.
According to the embodiment, through authority setting, accuracy of operation processing is improved, and user experience is improved.
Based on any of the above embodiments, in one embodiment, the processing module 63 further includes:
a first synchronization unit for transmitting a synchronization request for a first target document from a slave device to a master device, the master device executing synchronization contents of the first target document; wherein the first target document is a target document associated with the current slave device.
In the embodiment, the synchronization request for the first target document is sent to the main equipment, and the synchronization content of the first target document is executed in the main equipment under the condition of confirming synchronization, so that the processing content of the first target document is updated, and the user requirement is conveniently met.
Based on any of the above embodiments, in one embodiment, the apparatus comprises: the number of the master devices is at least two, and the association relation between at least two target documents and the slave devices is set according to the number of the slave devices.
In the embodiment, by setting at least two main devices and setting the association relation between at least two target documents and the slave devices according to the number of the slave devices, the method can adapt to a plurality of application scenes and improve user experience.
Based on any of the above embodiments, in one embodiment, there are at least two master devices and one slave device, including:
the second transmission unit is used for determining a target document to be processed currently and associating at least two target documents from the host equipment to the document task queue;
a processing module 63 comprising:
the second receiving unit is used for receiving a processing instruction sent by the current main control equipment; the current main control equipment is the main equipment corresponding to the target document to be processed currently;
and the second processing unit is used for processing the current target document to be processed according to the processing instruction.
The method and the device are suitable for a scene that the number of the main equipment is multiple and the number of the auxiliary equipment is one, the target documents are transmitted to the document task queue, the current target documents to be processed are sequentially determined, the main equipment corresponding to the target documents is used as the main control equipment to control the processing process of the auxiliary equipment on the current target documents to be processed, the target documents in the multiple equipment are orderly processed by the auxiliary equipment, the cross-equipment document processing requirement of a user is met, and the document processing efficiency is improved.
Based on any of the above embodiments, in one embodiment, the second processing unit includes:
a second request subunit, configured to send a data acquisition request to the first master device; wherein the first master device is one of a plurality of master devices;
and the second processing subunit is used for receiving target data returned by the first main device under the condition of agreeing to the data acquisition request and processing the received target document or the selected target document according to the target data.
In the embodiment, the slave device obtains the target data for processing the target document by sending the data obtaining request to the first master device in the process of processing the target document, so that the document processing efficiency is further improved.
Based on any of the above embodiments, in one embodiment, there are at least two master devices and one slave device, including:
the second transmission unit is used for determining a current target document to be processed, determining a master device corresponding to the current target document to be processed as a current master device for each current target document to be processed, determining slave devices of the current master device from other devices, and associating the current target document to be processed with the slave devices of the current master device;
A processing module 63 comprising:
the second receiving unit is used for receiving a processing instruction sent by the current main control equipment;
and the second processing unit is used for processing at least one target document to be processed currently according to the processing instruction.
The method and the device are suitable for a scene that the number of the main equipment is multiple and the number of the auxiliary equipment is one, the target documents are transmitted to the document task queue, the current target documents to be processed are sequentially determined, the main equipment corresponding to the target documents is used as the main control equipment to control the processing process of the auxiliary equipment on the current target documents to be processed, the target documents in the multiple equipment are orderly processed by the auxiliary equipment, the cross-equipment document processing requirement of a user is met, and the document processing efficiency is improved.
Based on any of the above embodiments, in one embodiment, the third processing unit includes:
a third request subunit, configured to send a data acquisition request to the second slave device; wherein the second slave device is one of a plurality of slave devices;
and the third processing subunit is used for receiving the target data returned by the second slave device under the condition of agreeing with the data acquisition request and processing the received target document or the selected target document according to the target data.
In the embodiment, the slave device obtains the target data for processing the target document by sending the data obtaining request to the second master device in the process of processing the target document, so that the document processing efficiency is further improved.
Based on any of the above embodiments, in one embodiment, the association module 62 is further configured to:
determining a target document to be processed currently from the associated at least two target documents based on a preset selection sequence or an acquired selection instruction;
and associating the target document to be processed currently to the slave device.
The method and the device are suitable for scenes with at least two main devices and at least two slave devices (wherein the identities of the main devices and the slave devices are dynamically changed), the target documents are transmitted to the document task queue, the current target documents to be processed are sequentially determined, the main devices corresponding to the target documents are used as main control devices, the other devices are used as slave devices for processing the current target documents to be processed according to processing instructions of the main control devices, the multiple target documents which are jointly processed by the multiple devices are sequentially processed across devices, the requirement of a user for processing the document across devices is met, and the document processing efficiency is improved.
Based on any of the above embodiments, in one embodiment, at least two master devices and at least two slave devices, including:
a fourth transmission unit, configured to associate at least two target documents from at least two host devices where the target documents are located to a document task queue respectively;
the third determining unit is used for determining a target document to be processed currently from the document task queue based on a preset selection sequence or an acquired selection instruction;
and the fourth transmission unit is used for associating the target document to be processed currently to the slave device.
The method and the device are suitable for scenes with at least two main devices and at least two slave devices (wherein the identities of the main devices and the slave devices are dynamically changed), the target documents are transmitted to the document task queue, the current target documents to be processed are sequentially determined, the main devices corresponding to the target documents are used as main control devices, the other devices are used as slave devices for processing the current target documents to be processed according to processing instructions of the main control devices, the multiple target documents which are jointly processed by the multiple devices are sequentially processed across devices, the requirement of a user for processing the document across devices is met, and the document processing efficiency is improved.
Based on any of the above embodiments, in one embodiment,
the processing module 63 is further configured to send a synchronization request for the second target document to the master device from the slave device, so that the master device executes the synchronization content of the second target document; wherein the second target document is one of the documents associated with the master device.
In the embodiment, the synchronization request for the second target document is sent to the main control equipment, and the synchronization content of the second target document is executed in the main control equipment under the condition of confirming synchronization, so that the processing content of the second target document is updated, and the user requirement is conveniently met.
Based on any of the foregoing embodiments, in one embodiment, the preset selection order is determined according to a sequence in which the target documents are received by the document task queue, or determined according to a host device identifier corresponding to the received target documents, or obtained by sorting according to attributes of the received target documents.
The method and the device provide various flexible selection sequences, are convenient for determining the current target document to be processed from the document task queue, meet the document processing requirements of users, and improve the document processing efficiency.
Based on any of the above embodiments, in one embodiment, the apparatus further comprises:
the iteration module is used for repeatedly executing the steps of determining the current target document to be processed from the document task queue based on a preset selection sequence or a selection instruction acquired in real time and processing the current target document to be processed according to the processing instruction until the target document in the document task queue is processed.
In this embodiment, the current target document to be processed is determined from the document task queue by repeatedly executing a selection instruction based on a preset selection order or acquired in real time, and the current target document to be processed is processed according to the processing instruction, so that the processing process of each target document in the document task queue is successfully completed.
Based on any of the above embodiments, in one embodiment, the apparatus further includes a communication module configured to:
the first communication module is used for establishing a local area network among the devices and is connected through the local area network communication;
or the second communication module is used for respectively connecting the devices with the server and communicating and connecting the devices through the server.
In the embodiment, a flexible communication connection mode is provided for each device, and the document processing efficiency is improved.
Fig. 7 illustrates a physical schematic diagram of an electronic device, as shown in fig. 7, which may include: processor 710, communication interface (Communications Interface) 720, memory 730, and communication bus 740, wherein processor 710, communication interface 720, memory 730 communicate with each other via communication bus 740. Processor 710 may invoke logic instructions in memory 730 to perform all or part of the steps of the document processing methods provided above, including: selecting at least two target documents on the master device that are co-processed with the slave device; associating at least two target documents from a master device to corresponding slave devices; the associated target document is processed on the slave device.
Further, the logic instructions in the memory 730 described above may be implemented in the form of software functional units and may be stored in a computer readable storage medium when sold or used as a stand alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform all or part of the steps of the document processing method provided above, the method comprising: selecting at least two target documents on the master device that are co-processed with the slave device; associating at least two target documents from a master device to corresponding slave devices; the associated target document is processed on the slave device.
In yet another aspect, the present invention also provides a computer-readable storage medium having stored thereon a computer program which when executed by a processor is implemented to perform all or part of the steps of the document processing methods provided above, the method comprising: selecting at least two target documents on the master device that are co-processed with the slave device; associating at least two target documents from a master device to corresponding slave devices; the associated target document is processed on the slave device.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (22)

1. A document processing method, comprising:
selecting at least two target documents on the master device that are co-processed with the slave device;
associating the at least two target documents from the master device to the corresponding slave devices;
processing the associated target document on the slave device.
2. The document processing method of claim 1, wherein said associating the at least two target documents from the master device to the corresponding slave devices comprises:
and associating the at least two target documents from the master device to the corresponding slave devices according to the authority relationship between the at least two target documents and the slave devices.
3. The document processing method according to claim 1, wherein there is one of the master devices and there are at least two of the slave devices;
the associating the at least two target documents from the master device to the corresponding slave devices includes:
determining the corresponding relation between the at least two target documents and the slave equipment; and according to the corresponding relation, the at least two target documents are associated from the master device to the corresponding slave devices.
4. A document processing method according to claim 3, wherein said determining correspondence between the at least two target documents and the slave device comprises:
determining the corresponding relation between the at least two target documents and the slave equipment according to preset conditions;
the preset conditions include: the master device determines the corresponding slave device for each target document according to a user instruction; or sequentially distributing the target documents according to the connection sequence of the slave devices to the master device; or determining the corresponding relation according to the matching relation between the equipment performance of the slave equipment and the target document.
5. The document processing method according to any one of claims 1 to 4, wherein said processing said associated target document on said slave device further comprises:
sending a data acquisition request to the master device, so that the master device determines a first slave device and acquires target data from the first slave device;
and receiving the target data sent by the main equipment, and processing the associated target document according to the target data.
6. The document processing method according to any one of claims 1 to 4, wherein said processing said associated target document on said slave device further comprises:
And any one slave device acquires target data from the other slave device according to the operation authority of the target document.
7. The document processing method according to any one of claims 1 to 4, wherein said processing said associated target document on said slave device further comprises:
the slave device sends a synchronization request for a first target document to the master device, so that the master device executes the synchronization content of the first target document; wherein the first target document is a target document associated with a current slave device.
8. The document processing method according to claim 1, characterized in that the document processing method further comprises:
and the number of the master devices is at least two, and the association relation between the at least two target documents and the slave devices is set according to the number of the slave devices.
9. The document processing method of claim 8, wherein there are at least two of said master devices and one of said slave devices;
the associating the at least two target documents from the master device to the corresponding slave devices includes:
determining a current target document to be processed, and associating the current target document to be processed to the slave device;
Correspondingly, processing the associated target document on the slave device comprises the following steps:
receiving a processing instruction sent by current main control equipment; the current main control equipment is the main equipment corresponding to the current target document to be processed;
and processing the current target document to be processed according to the processing instruction.
10. The document processing method of claim 7, wherein processing the associated target document on the slave device further comprises:
sending a data acquisition request to a first main device; wherein the first master device is one of a plurality of master devices;
and receiving target data returned by the first main equipment, and processing the received target document or the selected target document according to the target data.
11. The document processing method of claim 8, wherein there are at least two of said master devices and at least two of said slave devices;
the associating the at least two target documents from the master device to the corresponding slave devices includes:
determining a current target document to be processed, determining a master device corresponding to each current target document to be processed as a current master device, and determining slave devices of the current master device from other devices; associating the current target document to be processed to a slave device of the current master device;
Correspondingly, processing the associated target document on the slave device comprises the following steps:
receiving a processing instruction sent by current main control equipment;
and processing the at least one target document to be processed currently according to the processing instruction.
12. The document processing method of claim 11, wherein processing the associated target document on the slave device further comprises:
transmitting a data acquisition request to a second slave device; wherein the second slave device is one of a plurality of slave devices;
and receiving target data returned by the second slave equipment, and processing the received target document or the selected target document according to the target data.
13. The document processing method according to any one of claims 9 to 12, wherein the associating the target document currently to be processed to the slave device includes:
determining a target document to be processed currently from at least two associated target documents based on a preset selection sequence or an acquired selection instruction;
and associating the target document to be processed to the slave device.
14. The document processing method according to claim 13, wherein associating the currently pending target document to the slave device includes:
Respectively associating the at least two target documents from at least two main devices to a document task queue;
determining a current target document to be processed from the document task queue based on a preset selection sequence or an acquired selection instruction;
and associating the target document to be processed to the slave device.
15. The document processing method according to any one of claims 8 to 12, wherein processing the received target document on the slave device further comprises:
the slave device sends a synchronization request for a second target document to the master device, so that the master device executes the synchronization content of the second target document; wherein the second target document is one of the documents associated with the master device.
16. The method according to claim 13 or 14, wherein the predetermined selection order is determined according to the order in which the target documents are received by the document task queue, or is determined according to a master device identifier corresponding to the received target documents, or is obtained by sorting according to the attributes of the received target documents.
17. The document processing method according to any one of claims 8 to 12, wherein after the processing of the target document to be currently processed according to the processing instruction, the method further comprises:
And repeatedly executing the step of determining the current target document to be processed from the document task queue based on a preset selection sequence or a selection instruction acquired in real time, and processing the current target document to be processed according to the processing instruction until the target document in the document task queue is processed.
18. The document processing method according to claim 1, characterized in that the document processing method further comprises:
establishing a communication connection between devices, comprising:
a local area network is established among the devices and is connected through the local area network;
or, each device is respectively connected with a server and is in communication connection through the server.
19. A document processing apparatus, comprising:
a determining module, configured to select at least two target documents that are cooperatively processed with the slave device on the master device;
an association module for associating the at least two target documents from the master device to the corresponding slave devices;
and the processing module is used for processing the associated target document on the slave equipment.
20. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements all or part of the steps of the document processing method of any one of claims 1 to 18 when the program is executed.
21. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, carries out all or part of the steps of the document processing method according to any one of claims 1 to 18.
22. A computer program product comprising computer executable instructions for performing all or part of the steps of the document processing method according to any one of claims 1 to 18 when executed.
CN202210376603.6A 2022-04-11 2022-04-11 Document processing method, device, electronic equipment, medium and program Pending CN116957479A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210376603.6A CN116957479A (en) 2022-04-11 2022-04-11 Document processing method, device, electronic equipment, medium and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210376603.6A CN116957479A (en) 2022-04-11 2022-04-11 Document processing method, device, electronic equipment, medium and program

Publications (1)

Publication Number Publication Date
CN116957479A true CN116957479A (en) 2023-10-27

Family

ID=88442984

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210376603.6A Pending CN116957479A (en) 2022-04-11 2022-04-11 Document processing method, device, electronic equipment, medium and program

Country Status (1)

Country Link
CN (1) CN116957479A (en)

Similar Documents

Publication Publication Date Title
US9891867B2 (en) Protocol for interaction between wireless devices and other devices
US10063660B1 (en) Collaborative editing of media in a mixed computing environment
US8965844B2 (en) Apparatuses and methods for sharing contents
US10579240B2 (en) Live-rendered and forkable graphic edit trails
US10296514B2 (en) Information processing system, method for acquiring information, information processing apparatus and recording medium
JP2011203894A (en) Information processing apparatus, business form data producing method and computer program
US20160094753A1 (en) Control device and image processing system
JP2017033143A (en) Image forming apparatus, control method, and program
US11119712B2 (en) Image processing apparatus executing image process in accordance with setting including setting value specified for each setting category
US9692608B2 (en) Communication management apparatus, program, communication management method, and communication management system
US9179034B2 (en) Information processing system and information processing method for distributing job data among plurality of first information processing devices
CN105577746A (en) Information Sharing System, and Information Sharing Method
US6961144B2 (en) Image data transmission device and method, computer-readable storage medium storing program for transmitting image data, and image data transmission and reception system and method
JP2006209490A (en) Program for synchronization of set information
US10749866B2 (en) Communication system, non-transitory computer-readable recording medium storing computer-readable instructions for registration mediating server, and non-transitory computer-readable recording medium storing computer-readable instructions for service providing server
CN116957479A (en) Document processing method, device, electronic equipment, medium and program
JP6597314B2 (en) File sharing support system, network storage device, file sharing support method, and file sharing support program
CN113452727A (en) Equipment cloudization service processing method and device
JP2007207027A (en) Information management device, terminal equipment, information management system and information management method
US9602562B2 (en) Terminal apparatus, information processing system and information processing method
JP6843415B1 (en) Data transmission method between devices and storage medium
JP7119463B2 (en) Information processing device, terminal device and information processing system
JP6988065B2 (en) Image forming apparatus, image forming system, and image forming program
CN116760810A (en) Page configuration method, system, device, electronic equipment and storage medium
CN117134913A (en) Equipment shadow processing method and device, electronic equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination