WO2022252932A1 - 电子文档的编辑方法、装置、设备及存储介质 - Google Patents

电子文档的编辑方法、装置、设备及存储介质 Download PDF

Info

Publication number
WO2022252932A1
WO2022252932A1 PCT/CN2022/091790 CN2022091790W WO2022252932A1 WO 2022252932 A1 WO2022252932 A1 WO 2022252932A1 CN 2022091790 W CN2022091790 W CN 2022091790W WO 2022252932 A1 WO2022252932 A1 WO 2022252932A1
Authority
WO
WIPO (PCT)
Prior art keywords
client
electronic document
collaboration
entry
cooperation
Prior art date
Application number
PCT/CN2022/091790
Other languages
English (en)
French (fr)
Inventor
陈星耀
陈松
廖永滨
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Priority to JP2023537970A priority Critical patent/JP2023554519A/ja
Priority to EP22814979.5A priority patent/EP4235486A1/en
Priority to US18/072,495 priority patent/US20230118214A1/en
Publication of WO2022252932A1 publication Critical patent/WO2022252932A1/zh

Links

Images

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/101Collaborative creation, e.g. joint development of products or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/134Hyperlinking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/169Annotation, e.g. comment data or footnotes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • 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

Definitions

  • the present application relates to the field of office automation, in particular to an electronic document editing method, device, equipment and storage medium.
  • Electronic documents are the most widely used office applications in daily office use.
  • the word processing program Word the form processing program Excel and the presentation processing program PPT.
  • the above method not only requires the use of other transmission programs other than electronic documents, but also requires many human-computer interaction steps, and the human-computer interaction efficiency of the overall process is low.
  • Embodiments of the present application provide an electronic document editing method, device, device, and storage medium, and the method can quickly insert a picture into an electronic document.
  • the technical scheme is as follows.
  • a method for editing an electronic document executed by a second computer device, the method comprising:
  • the multimedia file is inserted into the first insertion position in the second editing interface.
  • a method for editing an electronic document executed by a first computer device, the method includes:
  • an insertion cooperation entry of the electronic document is generated, and the insertion cooperation entry is used to cooperate with the second client on the second computer device to insert the multimedia file in the electronic document;
  • a plug-in collaboration portal is provided to the second client.
  • an electronic document editing device comprising:
  • the access module is used for opening the second editing interface of the electronic document in the second client through the insertion collaboration portal provided by the first client on the first computer device, and inserting the collaboration portal for cooperating with the first client in the electronic Insert multimedia files into the document;
  • An acquisition module configured to acquire a multimedia file to be inserted
  • the insertion module is used for inserting the multimedia file into the first insertion position in the second editing interface.
  • an electronic document editing device comprising:
  • a display module configured to display the first editing interface of the electronic document in the first client
  • a generating module configured to generate an insert collaboration entry of the electronic document in response to the insert collaboration operation of the first editing interface, where the insert collaboration entry is used to cooperate with the second client on the second computer device to insert the multimedia file;
  • An output module configured to provide the second client with an insertion collaboration entry.
  • a computer device includes: a processor and a memory, at least one instruction, at least one section of program, code set or instruction set are stored in the memory, at least one instruction, at least one section of program The code set or instruction set is loaded and executed by the processor to implement the electronic document editing method as described above.
  • a computer storage medium is provided. At least one piece of program code is stored in the computer-readable storage medium. The program code is loaded and executed by a processor to implement the electronic document editing method as described above.
  • a computer program product (or computer program)
  • the above-mentioned computer program product includes computer instructions, and the above-mentioned computer instructions are stored in a computer-readable storage medium; the processing of the computer device
  • the processor reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the electronic document editing method as described in the above aspect.
  • the electronic document is opened in the first client on the first computer device, at this time, the insertion collaboration entry of the electronic document can be provided through the first client; the second client on the second computer device based on the above-mentioned insertion collaboration entry Synchronize the electronic documents, and then use the second client to insert multimedia files into the electronic documents, for example, the second client uses the multimedia files collected in real time on the mobile terminal or the multimedia files in the local files to quickly and accurately insert them into the first In an electronic document that is being edited by a client, the ability to quickly insert multimedia files is realized with only a few simple steps of operation.
  • FIG. 1 is a schematic diagram of the principle of an electronic document editing method provided by an exemplary embodiment of the present application
  • Fig. 2 is a schematic structural diagram of a computer system provided by an exemplary embodiment of the present application.
  • Fig. 3 is a schematic flowchart of an electronic document editing method provided by an exemplary embodiment of the present application.
  • Fig. 4 is a schematic interface diagram of an electronic document editing method provided by an exemplary embodiment of the present application.
  • Fig. 5 is a schematic flowchart of an electronic document editing method provided by an exemplary embodiment of the present application.
  • Fig. 6 is a schematic flowchart of an electronic document editing method provided by an exemplary embodiment of the present application.
  • Fig. 7 is a schematic interface diagram of an electronic document editing method provided by an exemplary embodiment of the present application.
  • Fig. 8 is a schematic interface diagram of an electronic document editing method provided by an exemplary embodiment of the present application.
  • Fig. 9 is a schematic interface diagram of an electronic document editing method provided by an exemplary embodiment of the present application.
  • Fig. 10 is a schematic flowchart of an electronic document editing method provided by an exemplary embodiment of the present application.
  • Fig. 11 is a schematic interface diagram of an electronic document editing method provided by another exemplary embodiment of the present application.
  • Fig. 12 is a schematic flowchart of an electronic document editing method provided by another exemplary embodiment of the present application.
  • Fig. 13 is a schematic flowchart of an electronic document editing method provided by another exemplary embodiment of the present application.
  • Fig. 14 is a schematic flowchart of an electronic document editing method provided by another exemplary embodiment of the present application.
  • Fig. 15 is a schematic structural diagram of an electronic document editing device provided by another exemplary embodiment of the present application.
  • Fig. 16 is a schematic structural diagram of an electronic document editing device provided by an exemplary embodiment of the present application.
  • Fig. 17 is a structural block diagram of a terminal provided by an exemplary embodiment of the present application.
  • Fig. 18 is a structural block diagram of a server provided by an exemplary embodiment of the present application.
  • this application provides a method for quickly inserting pictures into electronic documents.
  • a user uses a desktop client in a computer device 120 to edit an electronic document.
  • the user uses the desktop client to provide the mobile client with an insertion collaboration entry.
  • the insertion collaboration entry can be a two-dimensional code or a push message.
  • the user uses the mobile client in the mobile terminal 140 to access the electronic document through the insertion collaboration portal, and automatically locates the target insertion position where the multimedia file needs to be inserted.
  • the user uses the mobile terminal 140 to take a picture or select a picture in a local photo album, and insert the picture into the target insertion position.
  • the picture will be automatically synced to the desktop client for fast picture insertion.
  • Fig. 2 shows a block diagram of a computer system 100 provided by an exemplary embodiment of the present application.
  • the computer system 100 includes: a computer device 120 , a mobile terminal 140 and a server 160 .
  • the computer device 120 runs a first application program that supports editing functions of electronic documents.
  • the first application program may be a special application program, or a small program in an app (application, application program), or may be a webpage client.
  • the first application program is also called the first client.
  • computer device 120 is a computer device with limited or restricted camera capabilities, such as a desktop computer without a camera, a desktop computer with a fixed camera on a display screen, a laptop computer, or the like.
  • the computer device 120 is connected to the server 160 through a wireless network and a wired network.
  • the mobile terminal 140 runs a second application that supports editing functions of electronic documents.
  • the second application program may be a special application program, or a small program in an app (application, application program), or may be a webpage client.
  • the second application program is also called a second client.
  • the mobile terminal 140 is a computer device with limited or restricted camera capabilities, such as a desktop computer without a camera, a desktop computer with a fixed camera on a display screen, a notebook computer, or the like.
  • the first application program and the second application program are the same program or different programs.
  • the same type of application programs are programs developed for different operating systems, or programs developed for different terminal types.
  • the first application program is an application program on a desktop operating system
  • the second application program is an application program or a small program or a webpage program on a mobile operating system.
  • the applet is a program that depends on the parent application to run, and the mother application provides the basic operating platform, so the applet can be loaded in real time and does not need to be installed.
  • the mobile terminal 140 is connected to the server 160 through a wireless network and a wired network.
  • the server 160 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, and can also provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, Cloud servers for basic cloud computing services such as middleware services, domain name services, security services, CDN (Content Delivery Network, content distribution network), and big data and artificial intelligence platforms.
  • the server 160 includes a collaboration server and a push server.
  • the collaboration server is used to provide document collaboration capability between the first application program and the second application program.
  • the push server is used to provide a push capability for pushing messages. It should be noted that "multiple" in the embodiments of the present application refers to 2 or more than 2.
  • Fig. 3 shows a flow chart of an electronic document editing method provided by an exemplary embodiment of the present application.
  • the method is performed by a first computer device, or a first client, or a desktop client.
  • the methods include:
  • Step 302 Display a first editing interface of the electronic document in the first client.
  • the electronic document includes: at least one of a word processing program, a form processing program, a presentation processing program, a note processing program, and a collection form.
  • One or more editing functions are provided on the first editing interface of the first client.
  • the editing functions include but are not limited to: functions related to text format, functions related to paragraph format, functions related to inserting charts, functions related to inserting multimedia files, functions related to review, and related to viewing methods of electronic documents At least one of the functions of , and functions related to translation.
  • all or part of the electronic document editing function supports real-time collaboration on multiple terminals.
  • all editing functions of the electronic document support real-time collaboration on multiple terminals; in another example, some editing functions of the electronic document support real-time collaboration on multiple terminals, such as the function of inserting multimedia files.
  • the first client is an application program supporting electronic document editing.
  • a first client runs on a first computer device.
  • the first computer device is a computer device such as a desktop computer or a notebook computer with limited or limited shooting capabilities.
  • Step 304 In response to the insert collaboration operation on the first editing interface, generate an insert collaboration entry of the electronic document, and the insert collaboration entry is used to cooperate with the second client on the second computer device to insert the multimedia file in the electronic document.
  • the user triggers the insert collaboration operation on the first editing interface of the first client; after that, the access link of the electronic document can be added to the collaboration entry information of the electronic document, and a carrying collaboration entry is generated Information insertion collaboration entry.
  • an insert collaboration control is displayed on the first editing interface of the first client, and the first client considers that an insert collaboration operation has been received when the user triggers the insert collaboration control with a peripheral device such as a mouse or a touch screen.
  • the triggering manner of inserting the collaboration control includes but not limited to: single click, double click, drag, gesture trigger, voice trigger, and the like.
  • an insert button 22 is displayed on the first editing interface 20 of the electronic document in the first client.
  • an insert menu is displayed.
  • the insert menu displays: picture option 24, table option, link option, code block option, formula comment option, electronic signature option, dividing line option, header and footer option and other candidate insertion options.
  • a secondary insert menu is displayed with an insert collaboration control 26 displayed thereon.
  • the insertion cooperation control 26 is a button named "take a picture or select a picture from a mobile phone".
  • the inserted collaboration entry is an access entry generated based on the collaboration link of the electronic document.
  • the insertion cooperation entry includes: at least one of the insertion cooperation graphics code, the push message for starting the insertion cooperation, the short message for starting the insertion cooperation, the mail information for starting the insertion cooperation and the instant messaging message for starting the insertion cooperation A sort of.
  • the first client and the second client log in with the same user account (also called "object account”).
  • the first client and the second client log in with two different user accounts, and both user accounts have the editing authority of the electronic document.
  • Step 306 Provide the second client with an insertion collaboration entry.
  • inserting the collaboration entry includes inserting a collaboration graphic code
  • the first client provides the second client with the insertion collaboration entry by displaying the insert collaboration graphic code.
  • inserting the collaboration portal includes a push message
  • the first client sends a push message to the second client.
  • inserting a collaboration entry includes a short message
  • the first client sends a short message to the second computer device; for example, the first client sends a short message to the second computer device based on a phone number, and the phone number is in the electronic document. The phone number associated with the logged in user account.
  • the first client sends email information to the second computer device; for example, the second computer device runs a mailbox client, and the mailbox client is logged with a mailbox account, and the mailbox account is an account associated with the user account registered in the electronic document; the first client sends email information to the email client based on the email account.
  • the first client sends an instant messaging message to the second client; for example, the user account registered in the electronic document is the same user as the user account registered in the second client Account or associated user account, the first client sends an instant messaging message to the user account in the second client.
  • the first client provides the second client with an insertion collaboration portal, and the first client and the second client implement synchronous editing of electronic documents through the insertion collaboration portal, thereby
  • the second client can be used to insert multimedia documents into the electronic document, for example, the second client can use the multimedia files collected in real time on the mobile terminal or the multimedia files in the local files to quickly insert them into the document being edited in the first client.
  • the ability to quickly insert multimedia files is realized with only a few simple steps.
  • Fig. 5 shows a flow chart of an electronic document editing method provided by an exemplary embodiment of the present application.
  • the method is performed by a second computer device, or a second client, or a mobile client.
  • the methods include:
  • Step 402 Through the insert collaboration entry provided by the first client on the first computer device, open the second editing interface of the electronic document in the second client, and insert the collaboration entry for collaborating with the first client in the electronic document Insert multimedia files.
  • the second computer device reads and inserts the collaboration portal information carried by the collaboration portal through the second client, and the collaboration portal information includes the access link of the electronic document; based on the access link of the electronic document, the second editor of the electronic document is opened in the second client interface.
  • the insertion collaboration entry includes: insertion collaboration graphic code, push message for starting insertion collaboration, short message for starting insertion collaboration, email message for starting insertion collaboration, instant messaging message for starting insertion collaboration at least one of the
  • inserting the cooperation entry includes inserting the cooperation pattern code
  • identifying the cooperation entry information carried by the insertion cooperation pattern code For example, the camera is activated by the second client, and the camera is used to scan and identify the inserted collaboration graphic code to obtain the collaboration entry information carried by the collaborative graphic code.
  • inserting the collaboration entry includes a push message
  • display the push message in response to a trigger operation on the push message, read the collaboration entry information carried in the push message.
  • the second computer device receives a push message from the first client to the second client, uses a pop-up window to pop up the push message, and the push message includes an access link of the electronic document; in response to a trigger operation on the push message, read the obtained Access links to electronic documents.
  • the second computer device receives the short message sent by the first client based on the phone number.
  • This phone number can be the phone number associated with the user account registered in the electronic document, and the short message includes the access link of the electronic document; the response The trigger operation on the short message reads the access link of the electronic document.
  • the second computer device receives the email information sent by the first client based on the email account, the email account is the account associated with the user account registered in the electronic document, and the email information includes the access link of the electronic document; The trigger operation on the information reads the access link of the electronic document.
  • the inserted collaboration entry includes an instant messaging message
  • display the instant messaging message in response to a trigger operation on the instant messaging message, read the collaboration entry information carried in the instant messaging message.
  • the first client and the second client are the same client running on different computer devices; display instant messaging messages on the Internet, such as displaying instant messaging messages on the dialog interface of "My Computer” and “My Mobile Phone", and the instant messaging messages include access links to electronic documents; in response to trigger operations on the instant messaging messages, Read the access link to get the electronic document.
  • the second editing interface of the electronic document is displayed on the second client.
  • One or more editing functions are provided on the second editing interface.
  • the editing functions include but are not limited to: functions related to text format, functions related to paragraph format, functions related to inserting charts, functions related to inserting multimedia files, functions related to review, and related to viewing methods of electronic documents At least one of the functions of , and functions related to translation.
  • the editing function on the second editing interface is the same as the editing function on the first editing interface. In some embodiments, the editing functions on the second editing interface are a subset of the editing functions on the first editing interface.
  • all or part of the electronic document editing function supports real-time collaboration on multiple terminals.
  • all editing functions of the electronic document support real-time collaboration on multiple terminals; in another example, some editing functions of the electronic document support real-time collaboration on multiple terminals, such as the function of inserting multimedia files.
  • the second client is an application program supporting electronic document editing.
  • the second client runs on a second computer device or a mobile terminal.
  • the second computer device is a computer device with better camera capability than the first computer device, such as a tablet computer or a mobile phone, or a computer device with an external camera.
  • the first client and the second client log in with the same user account.
  • the first client and the second client log in with two different user accounts, and both user accounts have the editing authority of the electronic document.
  • Step 404 Obtain the multimedia file to be inserted.
  • the multimedia file includes: at least one of picture, video and audio.
  • the second client acquires the multimedia file to be inserted.
  • the second client uses a camera to capture the picture, or selects a picture from a local file.
  • the second client uses a camera to capture the video, or selects a video from a local file.
  • the second client uses a microphone to record the audio, or selects the audio from a local file.
  • the acquisition source of the multimedia file is not limited, and the second client can also acquire the multimedia file to be inserted by downloading, or acquire the multimedia file to be inserted through a communication message in an instant messaging program.
  • Step 406 Insert the multimedia file into the first insertion position in the second editing interface.
  • the first insertion position refers to a target insertion position of the multimedia file on the electronic document in the second client.
  • the second client inserts the multimedia file into the first insertion position in the second editing interface, and displays the multimedia file at the first insertion position.
  • the multimedia file inserted in the electronic document will be synchronized to the first client, and the multimedia file will also be displayed on the first editing interface of the first client.
  • the method provided by this embodiment is based on the insertion collaboration portal provided by the first client on the first computer device, and the second computer device synchronizes the electronic documents in the first client through the second client, and then uses The second client inserts the multimedia file into the electronic document, for example, the second client uses the multimedia file collected in real time on the mobile terminal or the multimedia file in the local file to quickly insert it into the electronic document being edited by the first client , realizing the ability to quickly insert multimedia files with only a few simple steps.
  • Fig. 6 shows a flowchart of a method for editing an electronic document provided by an exemplary embodiment of the present application. The method is executed cooperatively by the first client and the second client. The methods include:
  • Step 502 The first client displays a first editing interface of the electronic document.
  • step 502 For the detailed implementation of step 502, please refer to step 302, which will not be repeated here.
  • Step 504 In response to the insert collaboration operation on the first editing interface, the first client adds the access link of the electronic document, the second insertion location and the indicator to the collaboration entry information of the electronic document.
  • the user triggers an insertion collaboration operation on the first editing interface of the first client.
  • an insert collaboration control is displayed on the first editing interface of the first client, and when the user triggers the insert collaboration control with a peripheral device such as a mouse or a touch screen, the first client considers that an insert collaboration operation has been received.
  • the triggering manner of inserting the collaboration control includes but not limited to: single click, double click, drag, gesture trigger, voice trigger, and the like. Referring to FIG. 4 , the user clicks the insert collaboration control 26, and the first client receives the insert collaboration operation.
  • the first client adds the access link of the electronic document to the collaboration entry information of the electronic document.
  • the first client adds the second insertion position as the insertion position information to the collaboration entry information of the electronic document, the insertion position information is used to indicate the first insertion position of the multimedia file in the second editing interface, and the second editing The interface is an interface of the electronic document in the second client.
  • the first client adds the indicator to the collaboration entry information; the indicator is used to instruct the second client to automatically invoke the insertion menu, that is, the indicator is used to indicate the editing interface of the mobile terminal Insert menu in the auto-evoked logo.
  • the first client adds the user account to the collaboration entry information of the electronic document.
  • the user account may be an account registered in the electronic document.
  • the access link of the electronic document is an entry link for accessing the document content of the electronic document.
  • the document content of the electronic document is stored in the collaboration server, and the document content of the electronic document can be accessed on different computer devices through the portal link.
  • the second insertion position is the real-time position of the editing cursor of the electronic document in the first editing interface. For example, before the xx character in the xx line of the xx paragraph in the electronic document, or after the xx character.
  • the present application does not limit the numerical expression of the second insertion position.
  • a user account is a credential used to determine access rights to electronic documents.
  • the user account includes the user account logged in by the first client, or, the user account includes all user accounts with access and editing rights.
  • Step 506 The first client generates an inserted collaboration graphic code carrying the collaboration entry information.
  • the code for inserting a collaborative graphic is represented by a barcode or a two-dimensional code.
  • the first client encodes the collaboration entry information in a two-dimensional code encoding manner to obtain the inserted collaborative graphic code.
  • the first client maps the collaboration entry information to a short link using a short link mapping method, it generates an insertion collaboration graphic code; or, after the first client encrypts the collaboration entry information to obtain encrypted information, it generates an insertion code.
  • Collaborative graphics code After the first client maps the collaboration entry information to a short link using a short link mapping method, it generates an insertion collaboration graphic code; or, after the first client encrypts the collaboration entry information to obtain encrypted information, it generates an insertion code. Collaborative graphics code.
  • Step 508 The first client displays and inserts the collaborative graphics code.
  • the first client superimposes and displays a pop-up window on the first editing interface of the first client of the electronic document.
  • the pop-up window displays the code for inserting a collaborative graphic.
  • the first client displays and inserts a collaborative graphic code 28 on the first editing interface of the first client.
  • the inserted collaboration graphic code 28 is displayed in a pop-up window, and a close button is also provided at the upper right corner of the pop-up window.
  • the popup closes when the close button is clicked.
  • the collaboration server sends a scanning notification message to the first client, and the pop-up window is automatically closed according to the scanning notification message.
  • Step 510 The second client identifies and inserts the collaboration entry information carried by the collaboration graphic code.
  • the second client identifies the collaboration entry information carried by the inserted collaborative graphic code.
  • the second client itself has a code scanning capability, and the second client scans the inserted collaboration graphic code through the camera of the mobile terminal, and then recognizes and obtains the collaboration entry information carried by the inserted collaborative graphic code.
  • the user scans and inserts the collaborative graphic code with other programs capable of scanning codes on the mobile terminal, and then the other programs invoke the operation of the second client. Then other programs pass the collaboration entry information to the second client.
  • the second client needs to use the short link to obtain detailed information of the collaboration entry information from the collaboration server.
  • the collaboration entry information is encrypted, the second client needs to decrypt the encrypted information to obtain the collaboration entry information.
  • the collaboration entry information includes: the access link of the electronic document, the insertion position information and the indication mark. In some embodiments, inserting location information and indications are optional.
  • the user uses the code scanning function 30 of the second client to scan the inserted collaboration graphic code to identify the collaboration entry information inserted in the collaborative graphic code.
  • Step 512 The second client opens the second editing interface of the electronic document on the second client based on the collaboration entry information.
  • the second client opens the second editing interface of the electronic document in the second client according to the access link of the electronic document.
  • the second client acquires the document content of the electronic document according to the access link of the electronic document, and loads and displays the document content of the electronic document, so as to display a second editing interface of the electronic document on the second client.
  • the collaboration entry information also includes: user account.
  • the second client or server recognizes that its own user account matches the user account in the collaboration entry information (that is, the same user account), that is, when its own user account has the editing authority of the electronic document, it opens the electronic document.
  • the document is on the second editing interface of the second client.
  • the second client opens the electronic document in the second The second editing interface of the client.
  • Step 514 the second client displays the first insertion position in the second editing interface of the electronic document.
  • the first insertion position is the editing position where the multimedia file needs to be inserted in the second editing interface.
  • the first insertion position in the second editing interface is the same as the second insertion position in the first editing interface.
  • the second insertion position is the insertion position of the multimedia file on the first editing interface; for example, the second insertion position is the cursor position of the electronic document in the first editing interface of the first client.
  • the second client obtains the insertion position information from the collaboration entry information, and the insertion position information is used to indicate the first insertion position; then, in the second editing interface of the electronic document, the second client, The first insertion position indicated by the insertion position information is displayed.
  • the first insertion position is at line 21 on page 13 of the electronic document, and the second client automatically locates and displays the first insertion position based on the insertion position information.
  • the second client jumps to the first insertion position indicated by the insertion position information for display.
  • the second insertion position is synchronized; in the second editing interface of the electronic document to display the second caret position as the first caret position.
  • the collaboration server will synchronously save the second insertion position on the first client, and establish a link between the user account, the electronic document, and the second insertion position.
  • the second client After opening the second editing interface of the electronic document on the second client, based on the user account logged in on the second client, the second client synchronizes the second edit interface of the user account in the electronic document from the collaboration server. Insertion position, resulting in a real-time second insertion position. That is, even if the user changes the second insertion position on the first client after generating the code for inserting the collaborative graphic, the second client can also be synchronized to the real-time second insertion position, thereby keeping the displayed position on the first client.
  • the second insertion position is the same as the first insertion position displayed on the second client.
  • the collaboration server will synchronously save the second insertion position of each user account on the electronic document , and establish the corresponding relationship between the user account, the electronic document, and the second insertion position.
  • the same electronic document has three second insertion positions corresponding to user account 1, user account 2, and user account 3;
  • the second client After the second editing interface of the electronic document is opened on the second client, based on the user account 2 logged in on the second client, the second client synchronizes the second insertion position of the user account 2 in the electronic document from the collaboration server, thereby obtaining Live second caret position.
  • Step 516 The second client displays an insert menu on the second editing interface of the electronic document.
  • the insert menu includes at least one of: a shooting control 32 , a local file selection control 34 and a text extraction control 36 .
  • the shooting control 32 is a control for triggering the use of a camera to take a photo
  • the local file selection control 34 is a control for triggering the use of a file manager to select a local file, such as using a photo album program to select a local file in a local album.
  • the photo; text extraction control 36 is a control for recognizing text in a photograph or a local photo.
  • the mobile terminal when the mobile terminal receives the user's human-computer interaction operation, it displays the insertion menu on the second editing interface of the second client for the electronic document. In another example, when the collaboration entry information carries an indication mark, the mobile terminal automatically invokes and displays the insertion menu on the second editing interface of the electronic document.
  • Step 518 When the insertion menu includes a capture control, the second client responds to a trigger operation on the capture control, and captures the multimedia file to be inserted through the camera.
  • the triggering operation on the shooting control includes: at least one of a click operation, a double-tap operation, a pressure touch operation, a floating touch operation, a gesture operation, and a voice operation.
  • the second client responds to the trigger operation on the shooting control, and the second client shoots the multimedia file to be inserted through the camera.
  • Step 520 When the insertion menu includes a local file selection control, the second client selects the multimedia file to be inserted from the local file through the file manager in response to a trigger operation on the selection control.
  • the triggering operation on the selection control includes: at least one of a click operation, a double-click operation, a pressure touch operation, a floating touch operation, a gesture operation, and a voice operation.
  • the second client selects the multimedia file to be inserted in the local file through the file manager.
  • the second client displays local files as candidate files through the file manager.
  • the selected candidate file is used as the multimedia file to be inserted.
  • Step 522 The second client inserts the multimedia file into the first insertion position in the second editing interface.
  • the second client inserts the multimedia file into the first insertion position of the electronic document for display.
  • the second client in response to a trigger operation on the text extraction control, extracts the text content in the inserted multimedia file; inserts the text content into the first insertion position of the electronic document. After the text content is inserted into the first insertion position of the electronic document, the inserted multimedia file can be kept or replaced by the text content.
  • the second client in response to a trigger operation on the text extraction control, extracts the text content in the multimedia file selected by the user and has not been inserted; inserts the text content into the first insertion position of the electronic document.
  • Step 524 The second client synchronizes the electronic document inserted into the multimedia file to the first client.
  • the second client synchronizes the electronic document inserted into the multimedia file to the first client through the collaboration server.
  • the second client synchronizes the multimedia file and the insertion position of the multimedia file with the first client through the collaboration server.
  • the second client synchronizes the access address of the multimedia file and the insertion position of the multimedia file to the first client through the collaboration server.
  • the access address of the multimedia file may be provided by the collaboration server after storing the multimedia file.
  • Step 526 The first client displays the multimedia file inserted by the second client in the first editing interface of the electronic document.
  • the first client After obtaining the synchronized multimedia file, the first client displays the multimedia file inserted by the second client on the first editing interface of the electronic document.
  • the second client uses the multimedia files collected in real time on the mobile terminal or the multimedia files in the local files by providing the insertion collaboration entry to the second client by the first client, Quickly inserting into the electronic document being edited by the first client realizes the ability to quickly insert multimedia files with only a few simple operations.
  • the method provided in this embodiment automatically locates and displays the first insertion position through the second client, and does not require the user to use the second client to locate the first insertion position, which reduces the user's operation steps and improves the efficiency of human-computer interaction.
  • the second insertion position is acquired using the synchronization technology, the accuracy of the first insertion position can be guaranteed even if the first insertion position is changed after the insertion collaboration graphic code is generated.
  • the insertion menu is automatically invoked and displayed through the second client, without the need for the user to manually open the insertion menu, which reduces the user's operation steps and improves the efficiency of human-computer interaction.
  • Fig. 10 shows a flowchart of an electronic document editing method provided by an exemplary embodiment of the present application. The method is executed cooperatively by the first client and the second client. The methods include:
  • Step 602 The first client displays a first editing interface of the electronic document.
  • Step 604 In response to the insert collaboration operation on the first editing interface, the first client adds the access link of the electronic document, the second insertion position and the indicator to the collaboration entry information of the electronic document.
  • steps 502 to 504 Please refer to steps 502 to 504 for detailed implementation manners of steps 602 to 604, and details are not repeated here.
  • Step 606 The first client generates a push message carrying collaboration entry information.
  • a push message is a message sent to an application program in a mobile terminal using a push (push) service.
  • the first client generates a push message after mapping the collaboration entry information to a short link in a short link mapping manner; or, the first client encrypts the collaboration entry information to obtain encrypted information, and then generates a push message.
  • Step 608 the first client sends a push message to the second client through the server.
  • the first client sends a push message to the second client through the push capability of the push server.
  • the push message carries the user account
  • the first client sends the push message to the second client corresponding to the user account in the push message.
  • the first client sends a push message to the second client corresponding to the user account having the editing authority of the electronic document.
  • Step 610 the second client displays the push message.
  • the second client After receiving the push message, the second client displays the push message.
  • the operating system on the mobile terminal displays the push message in the form of a system message.
  • Step 612 The second client opens the second editing interface of the electronic document based on the collaboration entry information carried in the push message in response to the trigger operation on the push message.
  • the triggering operation for the push message includes: at least one of a click operation, a double-click operation, a pressure touch operation, a floating touch operation, a gesture operation, and a voice operation.
  • the second client opens the second editing interface of the electronic document on the second client based on the collaboration entry information carried in the push message.
  • the second client needs to use the short link to obtain detailed information of the collaboration entry information from the collaboration server.
  • the collaboration entry information is encrypted, the second client needs to decrypt the encrypted information to obtain the collaboration entry information.
  • the collaboration entry information includes: the access link of the electronic document, the insertion position information and the indication mark. In some embodiments, inserting location information and indications are optional.
  • the collaboration entry information at least includes: an access link of the electronic document.
  • the second client opens the second editing interface of the electronic document in the second client according to the access link of the electronic document.
  • the second client acquires the document content of the electronic document according to the access link of the electronic document, and loads and displays the document content of the electronic document, so as to display a second editing interface of the electronic document on the second client.
  • the collaboration entry information also includes: user account.
  • the second client recognizes that its own user account matches the user account in the collaboration entry information (that is, the same user account), that is, when its own user account has the editing authority of the electronic document, the second client Open the second editing interface of the electronic document in the terminal.
  • the second client opens the electronic document in the second The second editing interface of the client.
  • Step 614 The second client displays the first insertion position in the second editing interface.
  • Step 616 The second client displays an insert menu on the second editing interface.
  • Step 618 When the insertion menu includes a capture control, the second client responds to a trigger operation on the capture control, and captures the multimedia file to be inserted through the camera.
  • Step 620 When the insertion menu includes a local file selection control, the second client selects the multimedia file to be inserted from the local file through the file manager in response to a trigger operation on the selection control.
  • Step 622 The second client inserts the multimedia file into the first insertion position of the electronic document in the second editing interface of the electronic document.
  • Step 624 The second client synchronizes the electronic document inserted into the multimedia file to the first client.
  • Step 626 The first client displays the multimedia file inserted by the second client in the first editing interface of the electronic document.
  • step 514 to step 526 Please refer to step 514 to step 526 for the detailed implementation manner of step 614 to step 626, which will not be repeated here.
  • the second client uses the multimedia files collected in real time on the mobile terminal or the multimedia files in the local files by providing the insertion collaboration entry to the second client by the first client, Quickly inserting into the electronic document being edited by the first client realizes the ability to quickly insert multimedia files with only a few simple operations.
  • the method provided in this embodiment automatically locates and displays the first insertion position through the second client, and does not require the user to use the second client to locate the first insertion position, which reduces the user's operation steps and improves the efficiency of human-computer interaction.
  • the insertion menu is automatically invoked and displayed through the second client, without the need for the user to manually open the insertion menu, which reduces the user's operation steps and improves the efficiency of human-computer interaction.
  • step 41 the user clicks the image selection button on the first client to trigger the collaborative insertion process of the multimedia file.
  • a user can trigger the collaborative insertion process in at least one of two ways.
  • the first client generates a two-dimensional code, which carries a uniform resource locator (Uniform Resource Locator, URL) for accessing the electronic document.
  • the second client scans the two-dimensional code to acquire the access URL of the electronic document.
  • the second client parses the access URL of the electronic document to locate the first insertion position. Then the user uses the second client to take a photo for illustration, or selects a local file for illustration.
  • URL Uniform Resource Locator
  • step 45 the first client requests the server to send a push message, and the push message carries an access URL of the electronic document.
  • the server sends a push message to the second client.
  • the second client pushes a message to obtain the access URL of the electronic document.
  • the second client parses the access URL of the electronic document to locate the first insertion position. Then the user uses the second client to take a photo for illustration, or selects a local file for illustration.
  • the QR code Based on the generation ability of the QR code, it is used to generate the access link of this electronic document.
  • the access link is also accompanied by: inserting location information, indicating signs and at least one parameter in the user account, including clicking "from" in the electronic document.
  • the relevant information of the user account of the mobile phone to take pictures or select pictures” requires the identifier information of the mobile phone to select pictures and so on.
  • the two-dimensional code will inform the second client that the mobile phone needs to select the picture, and at the same time inform the user account that needs the mobile phone to select the picture, so as to ensure the correctness of the first insertion position when multiple people collaborate.
  • the two-dimensional code After the two-dimensional code is generated, it can be scanned by the parent application program, and directly jump to the second client (such as a small program) of the electronic document to execute the analysis of the two-dimensional code.
  • the QR code generation technology is mainly implemented based on the Quick Response Code (QRCode) library in the second client.
  • QRCode Quick Response Code
  • the second client will provide a document node for mounting the final generated QR code and relevant copywriting.
  • the second client generates a two-dimensional code without a program icon, and determines the size of the two-dimensional code and the occupied size of the program icon located in the center of the two-dimensional code.
  • the QRCode library generates a QR code carrying the collaboration entry information based on the collaboration entry information imported from the electronic document.
  • the second client After the loading of the QR code without the program icon is completed, the second client will create a canvas tag at the front end of the browser, and draw the QR code on the canvas tag.
  • the second client loads its own program icon, and uses the drawing capability of the canvas tag to draw the program icon to the center of the QR code.
  • the second client hangs the created canvas tag on the document node provided by the second client, and the browser renders the document node to present a QR code with the program icon .
  • the first client uses the message push technology to push the push message with the cooperation entry information instruction to the second client. That is, while generating the two-dimensional code, the first client also sends a push message to the server, and the server forwards the push message to the second client.
  • step 51 while generating the QR code, the first client invokes the background interface and passes notification parameters, so as to trigger the server to execute the message push service.
  • the notification parameters include various parameters in the collaboration entry information.
  • step 52 the server generates a push message according to the notification parameter, and notifies the second client of the push message.
  • step 53 after receiving the push message, the second client notifies the mobile device, and pops up a pop-up window of the push message in the mobile terminal to display the push text.
  • step 54 the user triggers the pop-up window to arouse the second client. After the second client is aroused, it will jump to the first insertion position in the electronic document according to the obtained collaboration entry information.
  • It is used for parsing parameters such as access URL, insertion position information, indicator and user account in the collaborative insertion information of the electronic document, so as to determine whether to execute cursor positioning and call-up display functions of the insertion menu according to these parameters.
  • the cursor position of the second client is synchronized with that of the first client, and at the same time, the insertion menu is automatically invoked for display.
  • the second client will analyze the collaboration entry information.
  • an identifier x will be saved as a variable of the second client, and the user account will be saved simultaneously.
  • the permission module of the electronic document will also be initialized to determine whether the visitor has the viewing permission of the electronic document, and if not, enter the application permission page of the electronic document.
  • the electronic document When you have permission to view or edit, the electronic document will be initialized as usual. During the initialization process, the electronic document will interact with the background server to obtain the information of the room layer (the server-side container for collaboration between different devices), including the current electronic document The second insertion position message of all collaborators in and recorded according to the user account.
  • the room layer the server-side container for collaboration between different devices
  • the camera module of the second client After the camera module of the second client is initialized, it will search whether the identifier x is included in the storage variable of the electronic document. If the identifier x is included, the first insertion position will be positioned.
  • the second client reads the previously saved user account, and obtains the second insertion position corresponding to the user account from the current cursor information saved in the initialization phase. At this time, it is judged whether the user account has the editing permission, and no operation is performed without the editing permission.
  • the user account has the editing permission, and no operation is performed without the editing permission.
  • gathering the cursor of the second client to the first insertion position and activate the editing state of the electronic document. Then a click event of the insert menu of the second client is triggered to automatically wake up the insert menu. Afterwards, the user can freely choose whether to select a picture from the local pictures to insert, or to take a new picture to insert according to their own needs.
  • Fig. 15 shows a block diagram of an electronic document editing device provided by an exemplary embodiment of the present application.
  • the devices include:
  • the access module 720 is configured to open the second editing interface of the electronic document in the second client through the insertion collaboration portal provided by the first client on the first computer device, and the insertion collaboration portal is used to cooperate with the first The client cooperates to insert a multimedia file into the electronic document;
  • Obtaining module 740 for obtaining the multimedia file to be inserted
  • Inserting module 760 configured to insert the multimedia file into the first insertion position in the second editing interface.
  • the access module 720 is configured to read the collaboration entry information carried by the inserted collaboration entry, where the collaboration entry information includes the access link of the electronic document;
  • the access link of the document is used to open the second editing interface of the electronic document in the second client.
  • the insertion collaboration entry includes: an insertion collaboration graphic code, a push message for starting the insertion collaboration, a short message for starting the insertion collaboration, an email message for starting the insertion collaboration, And at least one of an instant messaging message for initiating a plug-in collaboration.
  • the access module 720 is configured to identify the cooperation entry information carried by the insertion cooperation graphic code when the insertion cooperation entry includes the insertion cooperation graphic code ;
  • the insertion collaboration entry includes the push message
  • the insertion cooperation entry when the insertion cooperation entry includes the short message, display the short message; in response to a trigger operation on the short message, read the cooperation entry information carried in the short message;
  • the inserted collaboration entry includes the email information
  • the insertion collaboration entry includes the instant messaging message
  • displaying the instant messaging message in response to a trigger operation on the instant messaging message, reading the collaboration carried in the instant messaging message Entry information.
  • the access module 720 is configured to display the second editing interface of the electronic document on the second editing interface of the electronic document after the second editing interface of the electronic document is opened on the second client.
  • An insertion position wherein, the first insertion position is the same as the second insertion position, and the second insertion position is the insertion position of the multimedia file on the first editing interface, and the first editing interface is the first client The interface to electronic documents described in .
  • the insertion cooperation entry carries cooperation entry information
  • the access module 720 is configured to obtain insertion position information from the collaboration entry information, the insertion position information is used to indicate the first insertion position; in the second editing interface of the electronic document, display The first insertion position indicated by the insertion position information.
  • the access module 720 is configured to synchronize the second insertion position based on a user account logged in on the second client; the user account has editing authority for the electronic document; In the second editing interface of the electronic document, the second insertion position is displayed as the first insertion position.
  • the acquisition module 740 is configured to display an insert menu on the second editing interface of the electronic document, the insert menu includes at least one of a shooting control and a local file selection control A sort of;
  • the multimedia file to be inserted is photographed through a camera; or in response to the trigger operation of the selection control, the file manager is used to select the to-be-inserted multimedia file in the local file multimedia files.
  • the insertion cooperation entry carries cooperation entry information
  • the obtaining module 740 is configured to display the insertion menu on the second editing interface of the electronic document when the indication is carried in the collaboration entry information; wherein, the indication is used to indicate the The insertion menu is marked for automatic activation.
  • the insert menu further includes a text extraction control
  • the obtaining module 740 is further configured to extract text content in the multimedia file in response to a trigger operation on the text extraction control; insert the text content into the first insertion position of the electronic document.
  • the device also includes:
  • a synchronization module 780 configured to synchronize the electronic document inserted into the multimedia file to the first client.
  • Fig. 16 shows a block diagram of an electronic document editing device provided by an exemplary embodiment of the present application.
  • the devices include:
  • a display module 820 configured to display the first editing interface of the electronic document in the first client
  • the generating module 840 is configured to generate an insert collaboration entry of the electronic document in response to the insert collaboration operation on the first editing interface, and the insert collaboration entry is used to cooperate with the second client on the second computer device in the Inserting multimedia files into the above-mentioned electronic documents;
  • An output module 860 configured to provide the insertion collaboration entry to the second client.
  • the generating module 840 is configured to add the access link of the electronic document to the collaboration entry information of the electronic document; generate the insertion collaboration link carrying the collaboration entry information Entrance.
  • the insertion collaboration entry includes: an insertion collaboration graphic code, a push message for starting the insertion collaboration, a short message for starting the insertion collaboration, an email message for starting the insertion collaboration, And at least one of an instant messaging message for initiating a plug-in collaboration.
  • the insertion collaboration entry carries collaboration entry information;
  • the generation module 840 is configured to add the second insertion position of the electronic document as insertion position information to the electronic document Collaboration entry information of the document, the insertion position information is used to indicate the first insertion position of the multimedia file in the second editing interface, the second editing interface is the interface of the electronic document in the second client;
  • the second insertion position is synchronized to the second client; wherein, the second insertion position is the insertion of the multimedia file in the first editing interface Location.
  • the insertion cooperation entry carries cooperation entry information
  • the generating module 840 is configured to add an indication identifier to the collaboration entry information, where the indication identifier is an identifier used to instruct the second client to automatically invoke the insertion menu.
  • the display module 820 is further configured to display the multimedia file inserted by the second client in the first editing interface of the electronic document.
  • Fig. 17 shows a structural block diagram of a mobile terminal 1700 provided by an exemplary embodiment of the present application.
  • the mobile terminal 1700 can be a portable mobile terminal, such as: a smart phone, a tablet computer, a Moving Picture Experts Group Audio Layer III (MP3) player, a moving picture expert compression standard audio layer 4 (Moving Picture Experts Group Audio Layer IV, MP4) player.
  • MP3 Moving Picture Experts Group Audio Layer III
  • MP4 Moving Picture Experts Group Audio Layer IV
  • the mobile terminal 1700 may also be called user equipment, portable terminal and other names.
  • a mobile terminal 1700 includes: a processor 1701 and a memory 1702 .
  • the processor 1701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like.
  • the processor 1701 can adopt at least one hardware form in digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA) accomplish.
  • the processor 1701 may also include a main processor and a coprocessor, the main processor is a processor for processing data in the wake-up state, also called a central processing unit (Central Processing Unit, CPU); the coprocessor is Low-power processor for processing data in standby state.
  • CPU Central Processing Unit
  • the processor 1701 may be integrated with a graphics processor (Graphics Processing Unit, GPU), and the GPU is responsible for rendering and drawing the content that needs to be displayed on the display screen.
  • the processor 1701 may also include an artificial intelligence (Artificial Intelligence, AI) processor, and the AI processor is used to process computing operations related to machine learning.
  • AI Artificial Intelligence
  • Memory 1702 may include one or more computer-readable storage media, which may be tangible and non-transitory.
  • the memory 1702 may also include high-speed random access memory, and non-volatile memory, such as one or more magnetic disk storage devices and flash memory storage devices.
  • non-transitory computer-readable storage medium in the memory 1702 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 1701 to implement the method provided by the embodiment of the present application.
  • the mobile terminal 1700 may optionally further include: a peripheral device interface 1703 and at least one peripheral device.
  • the peripheral device includes: at least one of a radio frequency circuit 1704 , a touch screen 1705 , a camera assembly 1706 , an audio circuit 1707 and a power supply 1709 .
  • the peripheral device interface 1703 may be used to connect at least one peripheral device related to input/output (Input/Output, I/O) to the processor 1701 and the memory 1702 .
  • the processor 1701, memory 1702 and peripheral device interface 1703 are integrated on the same chip or circuit board; in some other embodiments, any one of the processor 1701, memory 1702 and peripheral device interface 1703 or The two can be implemented on a separate chip or circuit board, which is not limited in this embodiment.
  • the radio frequency circuit 1704 is used to receive and transmit radio frequency (Radio Frequency, RF) signals, also called electromagnetic signals.
  • the radio frequency circuit 1704 communicates with the communication network and other communication devices through electromagnetic signals.
  • the radio frequency circuit 1704 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals.
  • the radio frequency circuit 1704 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and the like.
  • the radio frequency circuit 1704 can communicate with other terminals through at least one wireless communication protocol.
  • the wireless communication protocol includes but is not limited to: World Wide Web, Metropolitan Area Network, Intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), wireless local area network and/or Wireless Fidelity (Wireless Fidelity, WiFi) network.
  • the radio frequency circuit 1704 may also include circuits related to Near Field Communication (NFC), which is not limited in this application.
  • NFC Near Field Communication
  • the touch screen 1705 is used to display a user interface (User Interface, UI).
  • the UI can include graphics, text, icons, video, and any combination thereof.
  • the touch display 1705 also has the capability to collect touch signals on or over the surface of the touch display 1705 .
  • the touch signal can be input to the processor 1701 as a control signal for processing.
  • the touch display screen 1705 is used to provide virtual buttons and/or virtual keyboards, also called soft buttons and/or soft keyboards.
  • touch display screen 1705 there may be one touch display screen 1705, which is set on the front panel of the mobile terminal 1700; in other embodiments, there may be at least two touch display screens 1705, which are respectively set on different surfaces or in the form of Folding design; in some other embodiments, the touch display screen 1705 may be a flexible display screen, which is arranged on the curved surface or the folding surface of the mobile terminal 1700 . Even, the touch display screen 1705 can also be set as a non-rectangular irregular figure, that is, a special-shaped screen.
  • the touch display screen 1705 can be made of liquid crystal display (Liquid Crystal Display, LCD), organic light-emitting diode (Organic Light-Emitting Diode, OLED) and other materials.
  • the camera assembly 1706 is used to capture images or video.
  • the camera component 1706 includes a front camera and a rear camera.
  • the front camera is used for video calling or taking selfies
  • the rear camera is used for taking photos or videos.
  • there are at least two rear cameras which are any one of the main camera, depth-of-field camera, and wide-angle camera respectively, so as to realize the fusion of the main camera and the depth-of-field camera to realize the background blur function, and the fusion of the main camera and the wide-angle camera Realize panoramic shooting and virtual reality (Virtual Reality, VR) shooting functions.
  • camera assembly 1706 may also include a flash.
  • the flash can be a single-color temperature flash or a dual-color temperature flash. Dual color temperature flash refers to the combination of warm light flash and cold light flash, which can be used for light compensation under different color temperatures.
  • the audio circuit 1707 is used to provide an audio interface between the user and the mobile terminal 1700 .
  • Audio circuitry 1707 may include a microphone and speakers.
  • the microphone is used to collect sound waves of the user and the environment, and convert the sound waves into electrical signals and input them to the processor 1701 for processing, or input them to the radio frequency circuit 1704 to realize voice communication.
  • the microphone can also be an array microphone or an omnidirectional collection microphone.
  • the speaker is used to convert the electrical signal from the processor 1701 or the radio frequency circuit 1704 into sound waves.
  • the loudspeaker can be a conventional membrane loudspeaker or a piezoelectric ceramic loudspeaker.
  • audio circuitry 1707 may also include a headphone jack.
  • the power supply 1709 is used to supply power to various components in the mobile terminal 1700 .
  • Power source 1709 may be alternating current, direct current, disposable batteries, or rechargeable batteries.
  • the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery.
  • a wired rechargeable battery is a battery charged through a wired line
  • a wireless rechargeable battery is a battery charged through a wireless coil.
  • the rechargeable battery can also be used to support fast charging technology.
  • the mobile terminal 1700 also includes one or more sensors 1710 .
  • the one or more sensors 1710 include, but are not limited to: an acceleration sensor 1711 , a gyro sensor 1712 , a pressure sensor 1713 , an optical sensor 1715 and a proximity sensor 1716 .
  • the acceleration sensor 1711 can detect the acceleration on the three coordinate axes of the coordinate system established by the mobile terminal 1700 .
  • the acceleration sensor 1711 can be used to detect the components of the acceleration of gravity on the three coordinate axes.
  • the processor 1701 may control the touch display screen 1705 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1711 .
  • the acceleration sensor 1711 can also be used for collecting game or user's motion data.
  • the gyro sensor 1712 can detect the body direction and rotation angle of the mobile terminal 1700 , and the gyro sensor 1712 can cooperate with the acceleration sensor 1711 to collect 3D actions of the user on the mobile terminal 1700 .
  • the processor 1701 can realize the following functions: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control and inertial navigation.
  • the pressure sensor 1713 may be disposed on the side frame of the mobile terminal 1700 and/or the lower layer of the touch display screen 1705 .
  • the pressure sensor 1713 can detect the user's grip signal on the mobile terminal 1700, and perform left and right hand recognition or shortcut operation according to the grip signal.
  • the pressure sensor 1713 is arranged on the lower layer of the touch display screen 1705 , it can control the operable controls on the UI interface according to the user's pressure operation on the touch display screen 1705 .
  • the operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
  • Optical sensor 1715 is used to collect ambient light intensity.
  • the processor 1701 can control the display brightness of the touch screen 1705 according to the ambient light intensity collected by the optical sensor 1715 . Specifically, when the ambient light intensity is high, the display brightness of the touch screen 1705 is increased; when the ambient light intensity is low, the display brightness of the touch screen 1705 is decreased.
  • the processor 1701 may also dynamically adjust shooting parameters of the camera assembly 1706 according to the ambient light intensity collected by the optical sensor 1715 .
  • the proximity sensor 1716 also known as a distance sensor, is usually disposed on the front of the mobile terminal 1700 .
  • the proximity sensor 1716 is used to collect the distance between the user and the front of the mobile terminal 1700 .
  • the processor 1701 controls the touch display screen 1705 to switch from the bright screen state to the off-screen state; when the proximity sensor 1716 When it is detected that the distance between the user and the front of the mobile terminal 1700 gradually increases, the processor 1701 controls the touch display screen 1705 to switch from the off-screen state to the on-screen state.
  • FIG. 17 does not constitute a limitation to the mobile terminal 1700, and may include more or less components than shown in the figure, or combine certain components, or adopt different component arrangements.
  • FIG. 18 shows a schematic structural diagram of a computer device provided by an embodiment of the present application, and the computer device may be used to implement the method for editing an electronic document performed by the computer device provided in the above embodiments.
  • the server 1800 includes a central processing unit (CPU, Central Processing unit) 1801, a system memory 1804 including a random access memory (RAM, Random Access Memory) 1802 and a read-only memory (ROM, Read-Only Memory) 1803, and a connection system memory 1804 and system bus 1805 of the central processing unit 1801 .
  • CPU Central Processing unit
  • RAM random access memory
  • ROM Read-Only Memory
  • the server 1800 also includes a basic input/output system (I/O, Input/Output) 1806 that helps to transmit information between various devices in the computer, and a storage system 1815 for storing operating systems 1813, application programs 1814 and other program modules 1815. mass storage device 1807 .
  • I/O Input/Output
  • storage system 1815 for storing operating systems 1813, application programs 1814 and other program modules 1815.
  • the basic input/output system 1806 includes a display 1808 for displaying information and input devices 1809 such as a mouse and a keyboard for users to input information. Both the display 1808 and the input device 1809 are connected to the central processing unit 1801 through the input/output controller 1810 connected to the system bus 1805 .
  • the basic input/output system 1806 may also include an input/output controller 1810 for receiving and processing input from a number of other devices such as a keyboard, mouse, or electronic stylus. Similarly, input/output controller 1810 also provides output to a display screen, printer, or other type of output device.
  • the mass storage device 1807 is connected to the central processing unit 1801 through a mass storage controller (not shown) connected to the system bus 1805 .
  • the mass storage device 1807 and its associated computer-readable media provide non-volatile storage for the server 1800 . That is to say, the mass storage device 1807 may include a computer-readable medium (not shown) such as a hard disk or a CD-ROM (Compact Disc Read-Only Memory, CD-ROM) drive.
  • a computer-readable medium such as a hard disk or a CD-ROM (Compact Disc Read-Only Memory, CD-ROM) drive.
  • Computer-readable media may comprise computer storage media and communication media.
  • Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data.
  • Computer storage media include RAM, ROM, EPROM (Erasable Programmable Read-Only Memory, Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory, electrically erasable Programmable Read-Only Memory), flash memory or Other solid-state storage technologies, CD-ROM, DVD (Digital Video Disc, high-density digital video disc) or other optical storage, tape cartridges, tapes, magnetic disk storage or other magnetic storage devices.
  • the computer storage medium is not limited to the above-mentioned ones.
  • the above-mentioned system memory 1804 and mass storage device 1807 may be collectively referred to as memory.
  • the server 1800 can also run on a remote computer connected to the network through a network such as the Internet. That is, the server 1800 can be connected to the network 1812 through the network interface unit 1811 connected to the system bus 1805, or in other words, the network interface unit 1811 can also be used to connect to other types of networks or remote computer systems (not shown) .
  • the memory also includes one or more programs stored in the memory and configured to be executed by one or more central processing units 1801 .
  • the embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores at least one instruction, and the at least one instruction is loaded and executed by a processor to implement the electronic document described in each of the above embodiments. edit method.
  • a computer program product or computer program comprising computer instructions stored in a computer readable storage medium.
  • the processor of the terminal reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the terminal executes the electronic document editing method provided in various optional implementation manners of the above aspect.

Abstract

本申请公开了一种电子文档的编辑方法、装置、设备及存储介质,运用于办公自动化领域。该方法包括:通过第一计算机设备上的第一客户端提供的插入协作入口,在第二客户端中打开电子文档的第二编辑界面,插入协作入口用于与第一客户端协作在电子文档中插入多媒体文件;获取待插入的多媒体文件;将多媒体文件插入至第二编辑界面中的第一插入位置。本申请实现了只需要简单的几步操作即可快速且精准插入多媒体文件的能力。

Description

电子文档的编辑方法、装置、设备及存储介质
本申请要求于2021年05月31日提交的申请号为202110604273.7、发明名称为“电子文档的编辑方法、装置、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及办公自动化领域,特别涉及一种电子文档的编辑方法、装置、设备及存储介质。
背景技术
电子文档是日常办公使用过程中,使用最为广泛的办公应用程序。比如,文字处理程序Word,表格处理程序Excel和演示文稿处理程序PPT。
在使用电脑编辑电子文档的过程中,存在将图片插入电子文档中的需求。比如用户在记录课堂笔记时,需要将教科书上的文字内容拍照后添加至课堂笔记中。相关技术中,用户使用手机对教科书上的文字内容进行拍照后,将照片通过即时通讯程序或数据线或局域网同步工具传递给电脑。然后用户在电脑中使用文件管理器查找到该照片,采用复制粘贴的方式将该照片插入至电子文档的指定位置中。
上述方法不仅需要使用电子文档之外的其他传输程序,也需要较多的人机交互步骤,整体流程的人机交互效率较低。
发明内容
本申请实施例提供了一种电子文档的编辑方法、装置、设备及存储介质,该方法能够在电子文档中快速插入图片。所述技术方案如下。
根据本申请的一个方面,提供了一种电子文档的编辑方法,由第二计算机设备执行,该方法包括:
通过第一计算机设备上的第一客户端提供的插入协作入口,在第二客户端中打开电子文档的第二编辑界面,插入协作入口用于与第一客户端协作在电子文档中插入多媒体文件;
获取待插入的多媒体文件;
将多媒体文件插入至第二编辑界面中的第一插入位置。
根据本申请的一个方面,提供了一种电子文档的编辑方法,由第一计算机设备执行,该方法包括:
在第一客户端中显示电子文档的第一编辑界面;
响应于第一编辑界面的插入协作操作,生成电子文档的插入协作入口,插入协作入口用于与第二计算机设备上的第二客户端协作在电子文档中插入多媒体文件;
向第二客户端提供插入协作入口。
根据本申请的另一方面,提供了一种电子文档的编辑装置,该装置包括:
访问模块,用于通过第一计算机设备上的第一客户端提供的插入协作入口,在第二客户端中打开电子文档的第二编辑界面,插入协作入口用于与第一客户端协作在电子文档中插入多媒体文件;
获取模块,用于获取待插入的多媒体文件;
插入模块,用于将多媒体文件插入至第二编辑界面中的第一插入位置。
根据本申请的另一方面,提供了一种电子文档的编辑装置,该装置包括:
显示模块,用于在第一客户端中显示电子文档的第一编辑界面;
生成模块,用于响应于第一编辑界面的插入协作操作,生成电子文档的插入协作入口,插入协作入口用于与第二计算机设备上的第二客户端协作插入多媒体文件;
输出模块,用于向第二客户端提供插入协作入口。
根据本申请的另一方面,提供了一种计算机设备,该计算机设备包括:处理器和存储器,存储器中存储有至少一条指令、至少一段程序、代码集或指令集,至少一条指令、至少一段程序、代码集或指令集由处理器加载并执行以实现如上方面所述的电子文档的编辑方法。
根据本申请的另一方面,提供了一种计算机存储介质,计算机可读存储介质中存储有至少一条程序代码,程序代码由处理器加载并执行以实现如上方面所述的电子文档的编辑方法。
根据本申请的另一方面,提供了一种计算机程序产品(或计算机程序),上述计算机程序产品(或计算机程序)包括计算机指令,上述计算机指令存储在计算机可读存储介质中;计算机设备的处理器从上述计算机可读存储介质读取上述计算机指令,上述处理器执行上述计算机指令,使得上述计算机设备执行如上方面所述的电子文档的编辑方法。
本申请实施例提供的技术方案带来的有益效果至少包括:
在第一计算机设备上的第一客户端中打开了电子文档,此时,可以通过第一客户端提供电子文档的插入协作入口;基于上述插入协作入口在第二计算机设备上的第二客户端同步电子文档,进而使用第二客户端在电子文档中插入多媒体文件,比如,将第二客户端使用移动终端上实时采集的多媒体文件、或本地文件中的多媒体文件,快速且精准地插入至第一客户端正在编辑状态的电子文档中,实现了只需要简单的几步操作即可快速插入多媒体文件的能力。
附图说明
图1是本申请一个示例性实施例提供的电子文档的编辑方法的原理示意图;
图2是本申请一个示例性实施例提供的计算机系统的结构示意图;
图3是本申请一个示例性实施例提供的电子文档的编辑方法的流程示意图;
图4是本申请一个示例性实施例提供的电子文档的编辑方法的界面示意图;
图5是本申请一个示例性实施例提供的电子文档的编辑方法的流程示意图;
图6是本申请一个示例性实施例提供的电子文档的编辑方法的流程示意图;
图7是本申请一个示例性实施例提供的电子文档的编辑方法的界面示意图;
图8是本申请一个示例性实施例提供的电子文档的编辑方法的界面示意图;
图9是本申请一个示例性实施例提供的电子文档的编辑方法的界面示意图;
图10是本申请一个示例性实施例提供的电子文档的编辑方法的流程示意图;
图11是本申请另一个示例性实施例提供的电子文档的编辑方法的界面示意图;
图12是本申请另一个示例性实施例提供的电子文档的编辑方法的流程示意图;
图13是本申请另一个示例性实施例提供的电子文档的编辑方法的流程示意图;
图14是本申请另一个示例性实施例提供的电子文档的编辑方法的流程示意图;
图15是本申请另一个示例性实施例提供的电子文档的编辑装置的结构示意图;
图16是本申请一个示例性实施例提供的电子文档的编辑装置的结构示意图;
图17是本申请一个示例性实施例提供的终端的结构框图;
图18是本申请一个示例性实施例提供的一种服务器的结构框图。
具体实施方式
由于用户在台式电脑、笔记本电脑等计算机设备上编辑电子文档的过程中,存在为电子文档快速插入图片的需求,本申请提供了一种在电子文档中快速插入图片的方法。如图1所示,用户使用计算机设备120中的桌面客户端进行电子文档的编辑工作。当电子文档中存在插入图片的需求时,用户使用桌面客户端向移动客户端提供插入协作入口。该插入协作入口 可以是二维码或者推送消息。
用户使用移动终端140中的移动客户端利用插入协作入口访问电子文档,并且自动定位到需要插入多媒体文件的目标插入位置。用户使用移动终端140拍摄图片或者在本地相册中选择图片,将图片插入至目标插入位置。该图片会自动同步至桌面客户端,从而实现快速的图片插入功能。
图2示出了本申请一个示例性实施例提供的计算机系统100的框图。该计算机系统100包括:计算机设备120、移动终端140和服务器160。
计算机设备120运行有支持电子文档的编辑功能的第一应用程序。该第一应用程序可以是专门的应用程序,也可以是app(application,应用程序)中的小程序,也可以是网页客户端。可选地,第一应用程序也称第一客户端。在一些示例中,计算机设备120是拍摄能力有限或受限的计算机设备,比如无摄像头的台式电脑、具有显示屏上的固定摄像头的台式电脑、笔记本电脑等。
计算机设备120通过无线网络和有线网络与服务器160相连。
移动终端140运行有支持电子文档的编辑功能的第二应用程序。该第二应用程序可以是专门的应用程序,也可以是app(application,应用程序)中的小程序,也可以是网页客户端。可选地,第二应用程序也称第二客户端。在一些示例中,移动终端140是拍摄能力有限或受限的计算机设备,比如无摄像头的台式电脑、具有显示屏上的固定摄像头的台式电脑、笔记本电脑等。第一应用程序和第二应用程序是相同的程序或不同的程序。比如,同一类应用程序分别为不同操作系统开发的程序,或者,分别为不同终端类型开发的程序。又比如,第一应用程序是桌面操作系统上的应用程序,第二应用程序是移动操作系统上的应用程序或小程序或网页程序。小程序是依赖于母应用程序运行的程序,由母应用程序提供基础的运行平台,因此小程序可以实现实时加载和无需安装。
移动终端140通过无线网络和有线网络与服务器160相连。
服务器160可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、CDN(Content Delivery Network,内容分发网络)、以及大数据和人工智能平台等基础云计算服务的云服务器。可选地,服务器160包括协作服务器和推送服务器。协作服务器用于提供第一应用程序和第二应用程序之间的文档协作能力。推送服务器用于提供推送消息的推送能力。需要说明的是,本申请实施例中的“多个”是指2个及2个以上。
图3示出了本申请一个示例性实施例提供的电子文档的编辑方法的流程图。该方法由第一计算机设备、或第一客户端、或桌面客户端执行。所述方法包括:
步骤302:在第一客户端中显示电子文档的第一编辑界面。
在用户使用第一客户端编辑电子文档的过程中,在第一客户端中显示电子文档的第一编辑界面。电子文档包括:文字处理程序、表格处理程序、演示文稿处理程序、笔记处理程序、收集表中的至少一种。
第一客户端的第一编辑界面上提供有一个或多个编辑功能。该编辑功能包括但不限于:与文字格式有关的功能、与段落格式有关的功能、与插入图表有关的功能、与插入多媒体文件有关的功能、与审阅有关的功能、与电子文档的查看方式有关的功能、与翻译有关的功能中的至少一种。
可选地,电子文档的全部或部分编辑功能支持多个终端上的实时协作。在一个示例中,电子文档的全部编辑功能均支持多个终端上的实时协作;在另一个示例中,电子文档的部分编辑功能支持多个终端上的实时协作,比如插入多媒体文件的功能。
可选地,第一客户端是支持电子文档编辑的应用程序。第一客户端运行在第一计算机设备上。在一些实施例中,第一计算机设备是台式电脑、笔记本电脑等拍摄能力有限或受限的计算机设备。
步骤304:响应于第一编辑界面的插入协作操作,生成电子文档的插入协作入口,插入协作入口用于与第二计算机设备上的第二客户端协作在电子文档中插入多媒体文件。
当需要在电子文档中插入多媒体文件的情况下,用户在第一客户端的第一编辑界面上触发插入协作操作;之后可以将电子文档的访问链接添加至电子文档的协作入口信息,生成携带协作入口信息的插入协作入口。可选地,第一客户端的第一编辑界面上显示有插入协作控件,在用户采用鼠标或触摸屏等外设对插入协作控件进行触发的情况下,第一客户端认为接收到插入协作操作。该插入协作控件的触发方式包括但不限于:单击、双击、拖动、手势触发、语音触发等。
参考图4,在第一客户端中的电子文档的第一编辑界面20上显示有插入按钮22。在用户点击该插入按钮22后显示出插入菜单。该插入菜单上显示有:图片选项24、表格选项、链接选项、代码块选项、公式批注选项、电子签名选项、分割线选项、页眉页脚选项等候选插入选项。用户点击图片选项24后,显示出次级插入菜单,该次级插入菜单上显示有插入协作控件26。示例性的,该插入协作控件26是名称为“从手机拍照或选图”的按钮。在用户点击该插入协作控件26后,第一客户端接收到插入协作操作。
插入协作入口是基于电子文档的协作链接生成的访问入口。该插入协作入口包括:插入协作图形码、用于启动插入协作的推送消息、用于启动插入协作的短消息、用于启动插入协作的邮件信息和用于启动插入协作的即时通信消息中的至少一种。
示意性的,第一客户端和第二客户端登录有同一用户帐号(也称“对象帐号”)。或者,第一客户端和第二客户端登录有不同的两个用户帐号,两个用户帐号都具有电子文档的编辑权限。
步骤306:向第二客户端提供插入协作入口。
在插入协作入口包括插入协作图形码的情况下,第一客户端以显示该插入协作图形码的方式,向第二客户端提供插入协作入口。或者,在插入协作入口包括推送消息的情况下,第一客户端向第二客户端发送推送消息。或者,在插入协作入口包括短消息的情况下,第一客户端向第二计算机设备发送短消息;比如,第一客户端基于电话号码向第二计算机设备发送短消息,电话号码是电子文档中登录的用户帐号所关联的电话号码。
或者,在插入协作入口包括邮件信息的情况下,第一客户端向第二计算机设备发送邮件信息;比如,第二计算机设备上运行有邮箱客户端,邮箱客户端上登录有邮箱帐号,邮箱帐号是电子文档中登录的用户帐号所关联的帐号;第一客户端基于邮箱帐号向邮箱客户端发送邮件信息。或者,在插入协作入口包括即时通信消息的情况下,第一客户端向第二客户端发送即时通信消息;比如,电子文档中登录的用户帐号与第二客户端中登录的用户帐号是同一用户帐号或者关联的用户帐号,第一客户端向第二客户端中的用户帐号发送即时通信消息。
综上所述,本实施例提供的方法,通过第一客户端向第二客户端提供插入协作入口,通过插入协作入口在第一客户端与第二客户端中实现电子文档的编辑同步,从而可以使用第二客户端在电子文档中插入多媒体文档,比如将第二客户端使用移动终端上实时采集的多媒体文件或本地文件中的多媒体文件,快速插入至第一客户端中处于正在编辑状态的电子文档中,实现了只需要简单的几步操作即可快速插入多媒体文件的能力。
图5示出了本申请一个示例性实施例提供的电子文档的编辑方法的流程图。该方法由第二计算机设备、或第二客户端、或移动客户端执行。所述方法包括:
步骤402:通过第一计算机设备上的第一客户端提供的插入协作入口,在第二客户端中打开电子文档的第二编辑界面,插入协作入口用于与第一客户端协作在电子文档中插入多媒 体文件。
第二计算机设备通过第二客户端读取插入协作入口携带的协作入口信息,协作入口信息包括电子文档的访问链接;基于电子文档的访问链接,在第二客户端中打开电子文档的第二编辑界面。
可选地,插入协作入口包括:插入协作图形码、用于启动插入协作的推送消息、用于启动插入协作的短消息、用于启动插入协作的邮件信息、用于启动插入协作的即时通信消息中的至少一种。
对于协作入口信息的读取,可以采用以下任意一种方式:
·在插入协作入口包括插入协作图形码的情况下,识别插入协作图形码携带的协作入口信息。比如,通过第二客户端调起摄像头,使用摄像头扫描识别插入协作图形码,得到协作图形码携带的协作入口信息。
·在插入协作入口包括推送消息的情况下,显示推送消息;响应于对推送消息的触发操作,读取推送消息中携带的协作入口信息。比如,第二计算机设备接收第一客户端推送给第二客户端的推送消息,使用弹窗弹出推送消息,推送消息中包括了电子文档的访问链接;响应于推送消息上的触发操作,读取得到电子文档的访问链接。
·在插入协作入口包括短消息的情况下,显示短消息;响应于对短消息的触发操作,读取短消息中携带的协作入口信息。比如,第二计算机设备接收第一客户端基于电话号码发送的短消息,这一电话号码可以是电子文档中登录的用户帐号所关联的电话号码,短消息中包括了电子文档的访问链接;响应于短消息上的触发操作,读取得到电子文档的访问链接。
·在插入协作入口包括邮件信息的情况下,显示邮件信息;响应于对邮件信息的触发操作,读取邮件信息中携带的协作入口信息。比如,第二计算机设备接收第一客户端基于邮箱帐号发送的邮件信息,这一邮箱帐号是电子文档中登录的用户帐号所关联的帐号,邮件信息中包括了电子文档的访问链接;响应于邮箱信息上的触发操作,读取得到电子文档的访问链接。
·在插入协作入口包括即时通信消息的情况下,显示即时通信消息;响应于对即时通信消息的触发操作,读取即时通信消息中携带的协作入口信息。比如,第一客户端与第二客户端是不同计算机设备上运行的相同客户端;第二客户端接收第一客户端发送的即时通信消息,在第一计算机设备与第二计算机设备的对话界面上显示即时通信消息,比如在“我的电脑”和“我的手机”的对话界面上显示即时通信消息,即时通信消息中包括了电子文档的访问链接;响应于即时通信消息上的触发操作,读取得到电子文档的访问链接。
在用户使用第二客户端编辑电子文档的过程中,在第二客户端中显示电子文档的第二编辑界面。
第二编辑界面上提供有一个或多个编辑功能。该编辑功能包括但不限于:与文字格式有关的功能、与段落格式有关的功能、与插入图表有关的功能、与插入多媒体文件有关的功能、与审阅有关的功能、与电子文档的查看方式有关的功能、与翻译有关的功能中的至少一种。
在一些实施例中,第二编辑界面上的编辑功能与第一编辑界面上的编辑功能相同。在一些实施例中,第二编辑界面上的编辑功能是第一编辑界面上的编辑功能的子集。
可选地,电子文档的全部或部分编辑功能支持多个终端上的实时协作。在一个示例中,电子文档的全部编辑功能均支持多个终端上的实时协作;在另一个示例中,电子文档的部分编辑功能支持多个终端上的实时协作,比如插入多媒体文件的功能。
可选地,第二客户端是支持电子文档编辑的应用程序。第二客户端运行在第二计算机设备或移动终端上。在一些实施例中,第二计算机设备是拍摄能力优于第一计算机设备的计算机设备,比如平板电脑或手机,或者具有外接摄像头的计算机设备。
示意性的,第一客户端和第二客户端登录有同一用户帐号。或者,第一客户端和第二客户端登录有不同的两个用户帐号,两个用户帐号都具有电子文档的编辑权限。
步骤404:获取待插入的多媒体文件。
多媒体文件包括:图片、视频、音频中的至少一种。
第二客户端获取待插入的多媒体文件。以多媒体文件是图片为例,第二客户端采用摄像头拍摄得到图片,或者从本地文件中选择图片。以多媒体文件是视频为例,第二客户端采用摄像头拍摄得到视频,或者从本地文件中选择视频。以多媒体文件是音频为例,第二客户端采用麦克风录制得到音频,或者从本地文件中选择音频。
本实施例对多媒体文件的获取来源不做限定,第二客户端也可以通过下载方式来获取待插入的多媒体文件,或者,通过即时通讯程序中的通讯消息来获取待插入的多媒体文件。
步骤406:将多媒体文件插入至第二编辑界面中的第一插入位置。
示例性的,第一插入位置是指第二客户端中的电子文档上多媒体文件的目标插入位置。
第二客户端将多媒体文件插入至第二编辑界面中的第一插入位置,在第一插入位置上显示多媒体文件。同时,电子文档中插入的多媒体文件会被同步至第一客户端,第一客户端的第一编辑界面上也会显示该多媒体文件。
综上所述,本实施例提供的方法,基于第一计算机设备上的第一客户端提供的插入协作入口,第二计算机设备通过第二客户端同步第一客户端中的电子文档,进而使用第二客户端在电子文档中插入多媒体文件,比如,将第二客户端使用移动终端上实时采集的多媒体文件或本地文件中的多媒体文件,快速插入至第一客户端正在编辑状态的电子文档中,实现了只需要简单的几步操作即可快速插入多媒体文件的能力。
针对插入协作入口是图形码的情况下:
图6示出了本申请一个示例性实施例提供的电子文档的编辑方法的流程图。该方法由第一客户端和第二客户端协作执行。所述方法包括:
步骤502:第一客户端显示电子文档的第一编辑界面。
步骤502的详细实现方式请参考步骤302,在此不再加以赘述。
步骤504:第一客户端响应于第一编辑界面上的插入协作操作,将电子文档的访问链接、第二插入位置和指示标识添加至电子文档的协作入口信息。
当需要在电子文档中插入多媒体文件的情况下,用户在第一客户端的第一编辑界面上触发插入协作操作。可选地,第一客户端的第一编辑界面上显示有插入协作控件,当用户采用鼠标或触摸屏等外设对插入协作控件进行触发的情况下,第一客户端认为接收到插入协作操作。该插入协作控件的触发方式包括但不限于:单击、双击、拖动、手势触发、语音触发等。参考图4,用户点击插入协作控件26,第一客户端接收到插入协作操作。
可选地,第一客户端将电子文档的访问链接添加至电子文档的协作入口信息。和/或,第一客户端将第二插入位置作为插入位置信息,添加至电子文档的协作入口信息,插入位置信息用于指示多媒体文件在第二编辑界面中的第一插入位置,第二编辑界面是电子文档在第二客户端中的界面。和/或,第一客户端将指示标识添加至协作入口信息;指示标识是用于指示第二客户端对插入菜单进行自动唤起的标识,也即,指示标识是用于指示对移动端编辑界面中的插入菜单进行自动唤起的标识。和/或,第一客户端将用户帐号添加至电子文档的协作入口信息。示例性的,该用户帐号可以是电子文档中登录的帐号。
其中,电子文档的访问链接是用于访问电子文档的文档内容的入口链接。示意性的,该电子文档的文档内容存储在协作服务器中,通过该入口链接可在不同的计算机设备上访问该电子文档的文档内容。
第二插入位置是电子文档在第一编辑界面中的编辑光标所处的实时位置。比如电子文档中的第xx段第xx行的第xx个字符之前,或者,第xx个字符之后。本申请对第二插入位置的数字表达方式不加以限定。
用户帐号是用于确定电子文档的访问权限的凭证。示意性的,该用户帐号包括第一客户 端登录的用户帐号,或者,该用户帐号包括所有具有访问编辑权限的用户帐号。
步骤506:第一客户端生成携带协作入口信息的插入协作图形码。
插入协作图形码采用条形码或二维码来表示。以插入协作图形码为二维码为例,第一客户端将协作入口信息采用二维码的编码方式进行编码,得到插入协作图形码。
在一些实施例中,第一客户端将协作入口信息采用短链接映射方式映射为短链接后,生成插入协作图形码;或者,第一客户端将协作入口信息进行加密得到加密信息后,生成插入协作图形码。
步骤508:第一客户端显示插入协作图形码。
第一客户端在电子文档的第一客户端的第一编辑界面中,叠加显示弹窗。该弹窗上显示有插入协作图形码。
参考图7,第一客户端在第一客户端的第一编辑界面上显示插入协作图形码28。该插入协作图形码28被显示在一个弹窗中,该弹窗的右上角还设置有关闭按钮。
在一个示例中,当关闭按钮被点击时,该弹窗会关闭。在另一个示例中,当该插入协作图形码28被扫描后,协作服务器向第一客户端发送扫描通知消息,该弹窗会根据扫描通知消息自动关闭。
步骤510:第二客户端识别插入协作图形码携带的协作入口信息。
以插入协作图形码是二维码为例,第二客户端识别插入协作图形码携带的协作入口信息。
在一个示例中,第二客户端本身具有扫码能力,第二客户端通过移动终端上的摄像头扫描插入协作图形码,进而识别得到插入协作图形码携带的协作入口信息。
在一个示例中,用户使用移动终端上具有扫码能力的其它程序扫描插入协作图形码,然后由其它程序调起第二客户端的运行。然后由其它程序将协作入口信息传递给第二客户端。
在协作入口信息采用短链接表示的情况下,第二客户端需要使用短链接向协作服务器获取协作入口信息的详细信息。在协作入口信息被加密的情况下,第二客户端需要对加密信息进行解密后,获得协作入口信息。
协作入口信息包括:电子文档的访问链接、插入位置信息和指示标识。在一些实施例中,插入位置信息和指示标识为可选项。
参考图8,用户使用第二客户端的扫码功能30对插入协作图形码进行扫码,识别出插入协作图形码中的协作入口信息。
步骤512:第二客户端基于协作入口信息打开电子文档在第二客户端的第二编辑界面。
第二客户端根据电子文档的访问链接,在第二客户端中打开电子文档的第二编辑界面。示意性的,第二客户端根据电子文档的访问链接获取电子文档的文档内容,将电子文档的文档内容进行加载显示,以在第二客户端中显示出电子文档的第二编辑界面。
可选地,协作入口信息还包括:用户帐号。第二客户端或服务器在识别到自身的用户帐号与协作入口信息中的用户帐号匹配(即同一用户帐号)的情况下,也即自身的用户帐号具有电子文档的编辑权限的情况下,打开电子文档在第二客户端的第二编辑界面。
或者,在第二客户端中的用户帐号与第一客户端中的用户帐号不同,第二客户端中的用户帐号具有电子文档的编辑权限的情况下,第二客户端打开电子文档在第二客户端的第二编辑界面。
步骤514:第二客户端在电子文档的第二编辑界面中显示第一插入位置。
第一插入位置是第二编辑界面中需要插入多媒体文件的编辑位置。第二编辑界面中的第一插入位置与第一编辑界面中的第二插入位置相同。第二插入位置是第一编辑界面上多媒体文件的插入位置;示例性的,第二插入位置是电子文档在第一客户端的第一编辑界面中的光标位置。
在一种可能的设计中,第二客户端从协作入口信息中获取插入位置信息,该插入位置信息用于指示第一插入位置;然后,第二客户端在电子文档的第二编辑界面中,显示该插入位 置信息所指示的第一插入位置。
比如,第一插入位置在电子文档的第13页第21行,第二客户端基于插入位置信息自动定位至第一插入位置进行显示。
在第一插入位置不在移动端编辑界面的当前显示范围内的情况下,第二客户端跳转至插入位置信息所指示的第一插入位置进行显示。
在另一种可能的设计中,第二客户端在打开电子文档的第二编辑界面后,基于第二客户端上登录的用户帐号,同步第二插入位置;在电子文档的第二编辑界面中,将第二插入位置显示为第一插入位置。
在第一客户端和第二客户端登录有同一用户帐号的情况下,协作服务器会同步保存第一客户端上的第二插入位置,并建立用户帐号、电子文档和第二插入位置三者之间的对应关系;在第二客户端上打开电子文档的第二编辑界面后,基于第二客户端上登录的用户帐号,第二客户端从协作服务器同步该用户帐号在电子文档中的第二插入位置,从而得到实时的第二插入位置。也即,即便在生成插入协作图形码之后,用户更改过第一客户端上的第二插入位置,第二客户端也能够同步到实时的第二插入位置,进而保持第一客户端上显示的第二插入位置和第二客户端上显示的第一插入位置是相同的。
在第一客户端和第二客户端登录有不同用户帐号的情况下,假设同时存在多个用户帐号在协作编辑电子文档,协作服务器会同步保存每个用户帐号在电子文档上的第二插入位置,并建立用户帐号、电子文档和第二插入位置三者之间的对应关系,比如,同一个电子文档有用户帐号1、用户帐号2和用户帐号3对应的三个第二插入位置;在第二客户端上打开电子文档的第二编辑界面后,基于第二客户端上登录的用户帐号2,第二客户端从协作服务器同步该用户帐号2在电子文档中的第二插入位置,从而得到实时的第二插入位置。
步骤516:第二客户端在电子文档的第二编辑界面上显示插入菜单。
参考图9,以多媒体文件是图片为例,插入菜单包括:拍摄控件32、本地文件的选择控件34和文字提取控件36中的至少一种。其中,拍摄控件32是用于触发使用摄像头进行拍摄得到拍摄照片的控件;本地文件的选择控件34是用于触发使用文件管理器进行本地文件选择的控件,比如使用相册程序选择本地相册中的本地照片;文字提取控件36是用于识别拍摄照片或本地照片中的文字的控件。
在一个示例中,移动终端在接收到用户的人机交互操作的情况下,在电子文档在第二客户端的第二编辑界面上显示插入菜单。在另一个示例中,移动终端在协作入口信息携带有指示标识的情况下,自动在电子文档的第二编辑界面上唤起显示插入菜单。
步骤518:第二客户端在插入菜单包括拍摄控件的情况下,响应于对拍摄控件的触发操作,通过摄像头拍摄待插入的多媒体文件。
对拍摄控件的触发操作包括:点击操作、双击操作、压力触控操作、悬浮触控操作、手势操作、语音操作中的至少一种。
第二客户端响应于对拍摄控件的触发操作,第二客户端通过摄像头拍摄待插入的多媒体文件。
步骤520:第二客户端在插入菜单包括本地文件的选择控件的情况下,响应于选择控件上的触发操作,通过文件管理器在本地文件中选择待插入的多媒体文件。
对选择控件的触发操作包括:点击操作、双击操作、压力触控操作、悬浮触控操作、手势操作、语音操作中的至少一种。
第二客户端响应于选择控件上的触发操作,第二客户端通过文件管理器在本地文件中选择待插入的多媒体文件。示意性的,第二客户端通过文件管理器显示本地文件作为候选文件。在接收到用户的选择操作后,将被选择的候选文件作为待插入的多媒体文件。
步骤522:第二客户端将多媒体文件插入至第二编辑界面中的第一插入位置。
第二客户端将多媒体文件插入至电子文档的第一插入位置进行显示。
在一些实施例中,响应于对文字提取控件的触发操作,第二客户端提取已插入的多媒体文件中的文字内容;将文字内容插入至电子文档的第一插入位置。在将文字内容插入至电子文档的第一插入位置后,已插入的多媒体文件可以保留,也可以被文字内容所替换。
在一些实施例中,响应于对文字提取控件的触发操作,第二客户端提取用户选择且尚未插入的多媒体文件中的文字内容;将文字内容插入至电子文档的第一插入位置。
步骤524:第二客户端将插入多媒体文件的电子文档,同步至第一客户端。
第二客户端通过协作服务器,将插入多媒体文件的电子文档,同步至第一客户端。示意性的,第二客户端通过协作服务器将多媒体文件和多媒体文件的插入位置,同步至第一客户端。或者,第二客户端通过协作服务器将多媒体文件的访问地址和多媒体文件的插入位置,同步至第一客户端。多媒体文件的访问地址可以是由协作服务器在存储多媒体文件后提供的。
步骤526:第一客户端在电子文档的第一编辑界面中,显示第二客户端插入的多媒体文件。
第一客户端在获得同步后的多媒体文件后,在电子文档的第一编辑界面中,显示第二客户端插入的多媒体文件。
综上所述,本实施例提供的方法,通过由第一客户端向第二客户端提供插入协作入口,将第二客户端使用移动终端上实时采集的多媒体文件或本地文件中的多媒体文件,快速插入至第一客户端正在编辑状态的电子文档中,实现了只需要简单的几步操作即可快速插入多媒体文件的能力。
本实施例提供的方法,通过第二客户端自动定位和显示第一插入位置,无需用户使用第二客户端来定位第一插入位置,减少了用户的操作步骤,提高了人机交互效率。特别地,在采用同步技术获取第二插入位置,即便在插入协作图形码生成之后对第一插入位置进行了更改,也能够保证第一插入位置的准确性。
本实施例提供的方法,还通过第二客户端自动唤起显示插入菜单,无需用户手动打开插入菜单,减少了用户的操作步骤,提高了人机交互效率。
针对插入协作入口是推送消息的情况下:
图10示出了本申请一个示例性实施例提供的电子文档的编辑方法的流程图。该方法由第一客户端和第二客户端协作执行。所述方法包括:
步骤602:第一客户端显示电子文档的第一编辑界面。
步骤604:第一客户端响应于第一编辑界面上的插入协作操作,将电子文档的访问链接、第二插入位置和指示标识添加至电子文档的协作入口信息。
步骤602至步骤604的详细实现方式请参考步骤502至步骤504,在此不再加以赘述。
步骤606:第一客户端生成携带协作入口信息的推送消息。
推送消息是采用推送(push)业务向移动终端中的应用程序发送的消息。
在一些实施例中,第一客户端将协作入口信息采用短链接映射方式映射为短链接后,生成推送消息;或者,第一客户端将协作入口信息进行加密得到加密信息后,生成推送消息。
步骤608:第一客户端通过服务器向第二客户端发送推送消息。
第一客户端通过推送服务器的推送能力向第二客户端发送推送消息。
可选地,推送消息中携带有用户帐号,第一客户端向推送消息中的用户帐号对应的第二客户端发送推送消息。或者,第一客户端向具有电子文档的编辑权限的用户帐号所对应的第二客户端发送推送消息。
步骤610:第二客户端显示推送消息。
第二客户端在接收到推送消息后,显示推送消息。或者,移动终端上的操作系统在接收到推送消息后,采用系统消息的方式显示推送消息。
步骤612:第二客户端响应于对推送消息的触发操作,基于推送消息中携带的协作入口 信息打开电子文档的第二编辑界面。
对推送消息的触发操作包括:点击操作、双击操作、压力触控操作、悬浮触控操作、手势操作、语音操作中的至少一种。
参考图11,用户点击推送消息38的情况下,第二客户端基于推送消息中携带的协作入口信息打开电子文档在第二客户端的第二编辑界面。
在协作入口信息采用短链接表示的情况下,第二客户端需要使用短链接向协作服务器获取协作入口信息的详细信息。在协作入口信息被加密的情况下,第二客户端需要对加密信息进行解密后,获得协作入口信息。
协作入口信息包括:电子文档的访问链接、插入位置信息和指示标识。在一些实施例中,插入位置信息和指示标识为可选项。
协作入口信息至少包括:电子文档的访问链接。
第二客户端根据电子文档的访问链接,在第二客户端中打开电子文档的第二编辑界面。示意性的,第二客户端根据电子文档的访问链接获取电子文档的文档内容,将电子文档的文档内容进行加载显示,以在第二客户端中显示出电子文档的第二编辑界面。
可选地,协作入口信息还包括:用户帐号。第二客户端在识别到自身的用户帐号与协作入口信息中的用户帐号匹配(即同一用户帐号)的情况下,也即自身的用户帐号具有电子文档的编辑权限的情况下,在第二客户端中打开电子文档的第二编辑界面。
或者,在第二客户端中的用户帐号与第一客户端中的用户帐号不同,第二客户端中的用户帐号具有电子文档的编辑权限的情况下,第二客户端打开电子文档在第二客户端的第二编辑界面。
步骤614:第二客户端在第二编辑界面中显示第一插入位置。
步骤616:第二客户端在第二编辑界面上显示插入菜单。
步骤618:第二客户端在插入菜单包括拍摄控件的情况下,响应于对拍摄控件的触发操作,通过摄像头拍摄待插入的多媒体文件。
步骤620:第二客户端在插入菜单包括本地文件的选择控件的情况下,响应于选择控件上的触发操作,通过文件管理器在本地文件中选择待插入的多媒体文件。
步骤622:第二客户端在电子文档的第二编辑界面中,将多媒体文件插入至电子文档的第一插入位置。
步骤624:第二客户端将插入多媒体文件的电子文档,同步至第一客户端。
步骤626:第一客户端在电子文档的第一编辑界面中,显示第二客户端插入的多媒体文件。
步骤614至步骤626的详细实现方式请参考步骤514至步骤526,在此不再加以赘述。
综上所述,本实施例提供的方法,通过由第一客户端向第二客户端提供插入协作入口,将第二客户端使用移动终端上实时采集的多媒体文件或本地文件中的多媒体文件,快速插入至第一客户端正在编辑状态的电子文档中,实现了只需要简单的几步操作即可快速插入多媒体文件的能力。
本实施例提供的方法,通过第二客户端自动定位和显示第一插入位置,无需用户使用第二客户端来定位第一插入位置,减少了用户的操作步骤,提高了人机交互效率。
本实施例提供的方法,还通过第二客户端自动唤起显示插入菜单,无需用户手动打开插入菜单,减少了用户的操作步骤,提高了人机交互效率。
在如图12所示的示意性例子中,在步骤41中,用户点击第一客户端上的选图按钮,触发多媒体文件的协作插入流程。用户可以使用两种方式中的至少一种来触发协作插入流程。
方式一.图形码协作;
在步骤42中,第一客户端生成二维码,该二维码携带有电子文档的访问统一资源定位符 (Uniform Resource Locator,URL)。在步骤43中,第二客户端扫描二维码获取电子文档的访问URL。在步骤44中,第二客户端解析电子文档的访问URL,定位到第一插入位置。然后用户使用第二客户端进行拍照插图,或者选择本地文件进行插图。
方式二.推送消息协作;
在步骤45中,第一客户端请求服务器发送推送消息,该推送消息携带有电子文档的访问URL。在步骤46中,服务器向第二客户端发送推送消息。在步骤43中,第二客户端推送消息获取电子文档的访问URL。在步骤44中,第二客户端解析电子文档的访问URL,定位到第一插入位置。然后用户使用第二客户端进行拍照插图,或者选择本地文件进行插图。
上述过程涉及如下三种技术:
1.二维码生成技术;
基于二维码的生成能力,用于生成此电子文档的访问链接,同时访问链接中还同时附带有:插入位置信息、指示标识和用户帐号中的至少一项参数,包含电子文档中点击“从手机拍照或选图”的用户帐号的相关信息,需要手机选图的标志符信息等等。该二维码将告知第二客户端需要手机选图,同时告知具体需要手机选图的用户帐号,以保证多人协同的时候的第一插入位置的正确性。在生成二维码之后可用母应用程序扫描,直接跳转到电子文档的第二客户端(比如小程序),执行二维码的解析。
二维码生成技术主要基于第二客户端中的快速反应码(Quick Response Code,QRCode)库实现。
第二客户端将提供一个文档节点,用于挂载最终生成的二维码以及相关文案。
可选地,首先第二客户端生成不带程序图标的二维码,确定二维码的大小和位于二维码中心的程序图标的占位尺寸。之后,QRCode库根据电子文档传入的协作入口信息生成携带有协作入口信息的二维码。
在不带程序图标的二维码加载完成后,第二客户端将创建一个浏览器前端的canvas标签,把该二维码绘制到该canvas标签上。第二客户端加载自身的程序图标,用canvas标签的绘图能力绘制程序图标到二维码的中心位置。待程序图标加载并绘制完成后,第二客户端将创建的这个canvas标签挂到第二客户端提供的文档节点上,浏览器渲染该文档节点,即可呈现一张带程序图标的二维码。
2.消息推送技术;
第一客户端使用消息推送技术将带有协作入口信息指令的推送消息推送给第二客户端。即在生成二维码的同时,第一客户端也将推送消息发送到服务器,服务器将推送消息转发给第二客户端。
参考图13,在步骤51中,第一客户端在生成二维码的同时,调用后台接口并传递通知参数,以触发服务器执行消息推送服务。通知参数包括协作入口信息中的各个参数。在步骤52中,服务器根据通知参数生成推送消息,将推送消息通知给第二客户端。
在步骤53中,第二客户端在收到推送消息后,将通知移动设备,并在移动终端中弹出推送消息的弹窗以显示推送文案。在步骤54中,用户触发该弹窗即可唤起第二客户端,第二客户端被唤起后,将根据拿到的协作入口信息跳转到电子文档中的第一插入位置。
3.链接解析技术;
用于解析电子文档的协作插入信息中的访问URL、插入位置信息、指示标识和用户帐号等参数,从而根据这些参数来确定是否执行光标定位以及插入菜单的呼起显示功能。当确认需要执行光标定位时,将同步第二客户端的光标位置与第一客户端同步,同时自动唤起插入菜单进行显示。
如图14所示,在电子文档在第二客户端的第二编辑界面拿到协作入口信息后,第二客户端将对协作入口信息做解析。当协作入口信息中存在有插入位置信息时,将会在保存一个标 志符x作为第二客户端的一个变量,同时将保存用户帐号。
在电子文档的初始化过程中,电子文档的权限模块也将初始化,判断访问者是否有该电子文档的查看权限,如果没有则进入该电子文档的申请权限页面。
在具有查看或编辑权限时,电子文档照常初始化,电子文档在初始化过程中会与后台的服务器做交互,获取房间层(不同设备间进行协作时的服务器侧容器)的信息,包括当前的电子文档中所有协作者的第二插入位置消息并根据用户帐号记录下来。
当第二客户端的拍照模块初始化后,会检索电子文档的存储变量中是否包含了这个标志符x,如果包含该标志符x,将对第一插入位置进行定位操作。
此时,第二客户端读取先前保存的用户帐号,从初始化阶段保存的当前光标信息中获取与该用户帐号对应的第二插入位置。此时判断用户帐号是否有编辑权限,没有编辑权限则不进行任何操作。有编辑权限时,将第二客户端的光标聚集到该第一插入位置,激活电子文档的编辑状态。接着触发第二客户端的插入菜单的点击事件,自动唤醒插入菜单。之后用户可以根据自己的需要,自由选择是从本地图片中选取一张图片进行插入,还是拍摄一张新图片进行插入。
图15示出了本申请一个示例性实施例提供的电子文档的编辑装置的框图。所述装置包括:
访问模块720,用于通过第一计算机设备上的第一客户端提供的插入协作入口,在第二客户端中打开电子文档的第二编辑界面,所述插入协作入口用于与所述第一客户端协作在所述电子文档中插入多媒体文件;
获取模块740,用于获取待插入的多媒体文件;
插入模块760,用于将所述多媒体文件插入至所述第二编辑界面中的第一插入位置。
在本实施例的一个可选设计中,所述访问模块720,用于读取所述插入协作入口携带的协作入口信息,所述协作入口信息包括所述电子文档的访问链接;基于所述电子文档的访问链接,在所述第二客户端中打开所述电子文档的所述第二编辑界面。
在本实施例的一个可选设计中,所述插入协作入口包括:插入协作图形码、用于启动插入协作的推送消息、用于启动插入协作的短消息、用于启动插入协作的邮件信息、以及用于启动插入协作的即时通信消息中的至少一种。
在本实施例的一个可选设计中,所述访问模块720,用于在所述插入协作入口包括所述插入协作图形码的情况下,识别所述插入协作图形码携带的所述协作入口信息;
或者,在所述插入协作入口包括所述推送消息的情况下,显示所述推送消息;响应于对所述推送消息的触发操作,读取所述推送消息中携带的所述协作入口信息;
或者,在所述插入协作入口包括所述短消息的情况下,显示所述短消息;响应于对所述短消息的触发操作,读取所述短消息中携带的所述协作入口信息;
或者,在所述插入协作入口包括所述邮件信息的情况下,显示所述邮件信息;响应于对所述邮件信息的触发操作,读取所述邮件信息中携带的所述协作入口信息;
或者,在所述插入协作入口包括所述即时通信消息的情况下,显示所述即时通信消息;响应于对所述即时通信消息的触发操作,读取所述即时通信消息中携带的所述协作入口信息。
在本实施例的一个可选设计中,所述访问模块720,用于在第二客户端中打开电子文档的第二编辑界面之后,在所述电子文档的第二编辑界面中显示所述第一插入位置;其中,所述第一插入位置与第二插入位置相同,所述第二插入位置是第一编辑界面上多媒体文件的插入位置,所述第一编辑界面是所述第一客户端中所述电子文档的界面。
在一个示例中,所述插入协作入口携带有协作入口信息;
所述访问模块720,用于从所述协作入口信息中获取插入位置信息,所述插入位置信息用于指示所述第一插入位置;在所述电子文档的所述第二编辑界面中,显示所述插入位置信 息所指示的第一插入位置。
在一个示例中,所述访问模块720,用于基于所述第二客户端上登录的用户帐号,同步所述第二插入位置;所述用户帐号具有所述电子文档的编辑权限;在所述电子文档的所述第二编辑界面中,将所述第二插入位置显示为所述第一插入位置。
在本实施例的一个可选设计中,所述获取模块740,用于在所述电子文档的第二编辑界面上显示插入菜单,所述插入菜单包括拍摄控件和本地文件的选择控件中的至少一种;
响应于对所述拍摄控件的触发操作,通过摄像头拍摄待插入的所述多媒体文件;或响应于对所述选择控件的触发操作,通过文件管理器在所述本地文件中选择待插入的所述多媒体文件。
在本实施例的一个可选设计中,所述插入协作入口携带有协作入口信息;
所述获取模块740,用于在所述协作入口信息中携带指示标识的情况下,在所述电子文档的第二编辑界面上显示所述插入菜单;其中,所述指示标识是用于指示对所述插入菜单进行自动唤起的标识。
在本实施例的一个可选设计中,所述插入菜单还包括文字提取控件;
所述获取模块740,还用于响应于对所述文字提取控件的触发操作,提取所述多媒体文件中的文字内容;将所述文字内容插入至所述电子文档的第一插入位置。
在本实施例的一个可选设计中,所述装置还包括:
同步模块780,用于将插入所述多媒体文件的所述电子文档,同步至所述第一客户端。
图16示出了本申请一个示例性实施例提供的电子文档的编辑装置的框图。所述装置包括:
显示模块820,用于在第一客户端中显示电子文档的第一编辑界面;
生成模块840,用于响应于所述第一编辑界面的插入协作操作,生成所述电子文档的插入协作入口,所述插入协作入口用于与第二计算机设备上的第二客户端协作在所述电子文档中插入多媒体文件;
输出模块860,用于向所述第二客户端提供所述插入协作入口。
在本实施例的一个可选设计中,所述生成模块840,用于将所述电子文档的访问链接添加至所述电子文档的协作入口信息;生成携带所述协作入口信息的所述插入协作入口。
在本实施例的一个可选设计中,所述插入协作入口包括:插入协作图形码、用于启动插入协作的推送消息、用于启动插入协作的短消息、用于启动插入协作的邮件信息、以及用于启动插入协作的即时通信消息中的至少一种。
在本实施例的一个可选设计中,所述插入协作入口携带有协作入口信息;所述生成模块840,用于将所述电子文档的第二插入位置作为插入位置信息,添加至所述电子文档的协作入口信息,所述插入位置信息用于指示多媒体文件在第二编辑界面中的第一插入位置,所述第二编辑界面是所述电子文档在所述第二客户端中的界面;
或者,基于所述第二客户端登录的对象帐号,将所述第二插入位置同步至所述第二客户端;其中,所述第二插入位置是所述第一编辑界面中多媒体文件的插入位置。
在本实施例的一个可选设计中,所述插入协作入口携带有协作入口信息;
所述生成模块840,用于将指示标识添加至所述协作入口信息,所述指示标识是用于指示所述第二客户端对插入菜单进行自动唤起的标识。
在本实施例的一个可选设计中,所述显示模块820,还用于在所述电子文档的第一编辑界面中,显示所述第二客户端插入的所述多媒体文件。
图17示出了本申请一个示例性实施例提供的移动终端1700的结构框图。该移动终端1700可以是便携式移动终端,比如:智能手机、平板电脑、动态影像专家压缩标准音频层面3 (Moving Picture Experts Group Audio Layer III,MP3)播放器、动态影像专家压缩标准音频层面4(Moving Picture Experts Group Audio Layer IV,MP4)播放器。移动终端1700还可能被称为用户设备、便携式终端等其他名称。
通常,移动终端1700包括有:处理器1701和存储器1702。
处理器1701可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器1701可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器1701也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称中央处理器(Central Processing Unit,CPU);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器1701可以在集成有图像处理器(Graphics Processing Unit,GPU),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器1701还可以包括人工智能(Artificial Intelligence,AI)处理器,该AI处理器用于处理有关机器学习的计算操作。
存储器1702可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是有形的和非暂态的。存储器1702还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器1702中的非暂态的计算机可读存储介质用于存储至少一个指令,该至少一个指令用于被处理器1701所执行以实现本申请实施例提供的方法。
在一些实施例中,移动终端1700还可选包括有:外围设备接口1703和至少一个外围设备。具体地,外围设备包括:射频电路1704、触摸显示屏1705、摄像头组件1706、音频电路1707和电源1709中的至少一种。
外围设备接口1703可被用于将输入/输出(Input/Output,I/O)相关的至少一个外围设备连接到处理器1701和存储器1702。在一些实施例中,处理器1701、存储器1702和外围设备接口1703被集成在同一芯片或电路板上;在一些其他实施例中,处理器1701、存储器1702和外围设备接口1703中的任意一个或两个可以在单独的芯片或电路板上实现,本实施例对此不加以限定。
射频电路1704用于接收和发射射频(Radio Frequency,RF)信号,也称电磁信号。射频电路1704通过电磁信号与通信网络以及其他通信设备进行通信。射频电路1704将电信号转换为电磁信号进行发送,或者,将接收到的电磁信号转换为电信号。可选地,射频电路1704包括:天线系统、RF收发器、一个或多个放大器、调谐器、振荡器、数字信号处理器、编解码芯片组、用户身份模块卡等等。射频电路1704可以通过至少一种无线通信协议来与其它终端进行通信。该无线通信协议包括但不限于:万维网、城域网、内联网、各代移动通信网络(2G、3G、4G及5G)、无线局域网和/或无线保真(Wireless Fidelity,WiFi)网络。在一些实施例中,射频电路1704还可以包括近距离无线通信(Near Field Communication,NFC)有关的电路,本申请对此不加以限定。
触摸显示屏1705用于显示用户界面(User Interface,UI)。该UI可以包括图形、文本、图标、视频及其它们的任意组合。触摸显示屏1705还具有采集在触摸显示屏1705的表面或表面上方的触摸信号的能力。该触摸信号可以作为控制信号输入至处理器1701进行处理。触摸显示屏1705用于提供虚拟按钮和/或虚拟键盘,也称软按钮和/或软键盘。在一些实施例中,触摸显示屏1705可以为一个,设置移动终端1700的前面板;在另一些实施例中,触摸显示屏1705可以为至少两个,分别设置在移动终端1700的不同表面或呈折叠设计;在再一些实施例中,触摸显示屏1705可以是柔性显示屏,设置在移动终端1700的弯曲表面上或折叠面上。甚至,触摸显示屏1705还可以设置成非矩形的不规则图形,也即异形屏。触摸显示屏1705可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等材质制备。
摄像头组件1706用于采集图像或视频。可选地,摄像头组件1706包括前置摄像头和后置摄像头。通常,前置摄像头用于实现视频通话或自拍,后置摄像头用于实现照片或视频的拍摄。在一些实施例中,后置摄像头为至少两个,分别为主摄像头、景深摄像头、广角摄像头中的任意一种,以实现主摄像头和景深摄像头融合实现背景虚化功能,主摄像头和广角摄像头融合实现全景拍摄以及虚拟现实(Virtual Reality,VR)拍摄功能。在一些实施例中,摄像头组件1706还可以包括闪光灯。闪光灯可以是单色温闪光灯,也可以是双色温闪光灯。双色温闪光灯是指暖光闪光灯和冷光闪光灯的组合,可以用于不同色温下的光线补偿。
音频电路1707用于提供用户和移动终端1700之间的音频接口。音频电路1707可以包括麦克风和扬声器。麦克风用于采集用户及环境的声波,并将声波转换为电信号输入至处理器1701进行处理,或者输入至射频电路1704以实现语音通信。出于立体声采集或降噪的目的,麦克风可以为多个,分别设置在移动终端1700的不同部位。麦克风还可以是阵列麦克风或全向采集型麦克风。扬声器则用于将来自处理器1701或射频电路1704的电信号转换为声波。扬声器可以是传统的薄膜扬声器,也可以是压电陶瓷扬声器。当扬声器是压电陶瓷扬声器时,不仅可以将电信号转换为人类可听见的声波,也可以将电信号转换为人类听不见的声波以进行测距等用途。在一些实施例中,音频电路1707还可以包括耳机插孔。
电源1709用于为移动终端1700中的各个组件进行供电。电源1709可以是交流电、直流电、一次性电池或可充电电池。当电源1709包括可充电电池时,该可充电电池可以是有线充电电池或无线充电电池。有线充电电池是通过有线线路充电的电池,无线充电电池是通过无线线圈充电的电池。该可充电电池还可以用于支持快充技术。
在一些实施例中,移动终端1700还包括有一个或多个传感器1710。该一个或多个传感器1710包括但不限于:加速度传感器1711、陀螺仪传感器1712、压力传感器1713、光学传感器1715以及接近传感器1716。
加速度传感器1711可以检测以移动终端1700建立的坐标系的三个坐标轴上的加速度大小。比如,加速度传感器1711可以用于检测重力加速度在三个坐标轴上的分量。处理器1701可以根据加速度传感器1711采集的重力加速度信号,控制触摸显示屏1705以横向视图或纵向视图进行用户界面的显示。加速度传感器1711还可以用于游戏或者用户的运动数据的采集。
陀螺仪传感器1712可以检测移动终端1700的机体方向及转动角度,陀螺仪传感器1712可以与加速度传感器1711协同采集用户对移动终端1700的3D动作。处理器1701根据陀螺仪传感器1712采集的数据,可以实现如下功能:动作感应(比如根据用户的倾斜操作来改变UI)、拍摄时的图像稳定、游戏控制以及惯性导航。
压力传感器1713可以设置在移动终端1700的侧边框和/或触摸显示屏1705的下层。当压力传感器1713设置在移动终端1700的侧边框时,可以检测用户对移动终端1700的握持信号,根据该握持信号进行左右手识别或快捷操作。当压力传感器1713设置在触摸显示屏1705的下层时,可以根据用户对触摸显示屏1705的压力操作,实现对UI界面上的可操作性控件进行控制。可操作性控件包括按钮控件、滚动条控件、图标控件、菜单控件中的至少一种。
光学传感器1715用于采集环境光强度。在一个实施例中,处理器1701可以根据光学传感器1715采集的环境光强度,控制触摸显示屏1705的显示亮度。具体地,当环境光强度较高时,调高触摸显示屏1705的显示亮度;当环境光强度较低时,调低触摸显示屏1705的显示亮度。在另一个实施例中,处理器1701还可以根据光学传感器1715采集的环境光强度,动态调整摄像头组件1706的拍摄参数。
接近传感器1716,也称距离传感器,通常设置在移动终端1700的正面。接近传感器1716用于采集用户与移动终端1700的正面之间的距离。在一个实施例中,当接近传感器1716检测到用户与移动终端1700的正面之间的距离逐渐变小时,由处理器1701控制触摸显示屏1705从亮屏状态切换为息屏状态;当接近传感器1716检测到用户与移动终端1700的正面之间的 距离逐渐变大时,由处理器1701控制触摸显示屏1705从息屏状态切换为亮屏状态。
本领域技术人员可以理解,图17中示出的结构并不构成对移动终端1700的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。
图18示出了本申请一个实施例提供的计算机设备的结构示意图,该计算机设备可以用于实施上述实施例中提供的计算机设备执行的电子文档的编辑方法。所述服务器1800包括中央处理单元(CPU,Central Processing unit)1801、包括随机存取存储器(RAM,Random Access Memory)1802和只读存储器(ROM,Read-Only Memory)1803的系统存储器1804,以及连接系统存储器1804和中央处理单元1801的系统总线1805。所述服务器1800还包括帮助计算机内的各个器件之间传输信息的基本输入/输出系统(I/O,Input/Output)1806,和用于存储操作系统1813、应用程序1814和其他程序模块1815的大容量存储设备1807。
所述基本输入/输出系统1806包括有用于显示信息的显示器1808和用于用户输入信息的诸如鼠标、键盘之类的输入设备1809。其中所述显示器1808和输入设备1809都通过连接到系统总线1805的输入/输出控制器1810连接到中央处理单元1801。所述基本输入/输出系统1806还可以包括输入/输出控制器1810以用于接收和处理来自键盘、鼠标、或电子触控笔等多个其他设备的输入。类似地,输入/输出控制器1810还提供输出到显示屏、打印机或其他类型的输出设备。
所述大容量存储设备1807通过连接到系统总线1805的大容量存储控制器(未示出)连接到中央处理单元1801。所述大容量存储设备1807及其相关联的计算机可读介质为服务器1800提供非易失性存储。也就是说,所述大容量存储设备1807可以包括诸如硬盘或者CD-ROM(Compact Disc Read-Only Memory,只读光盘)驱动器之类的计算机可读介质(未示出)。
不失一般性,所述计算机可读介质可以包括计算机存储介质和通信介质。计算机存储介质包括以用于存储诸如计算机可读指令、数据结构、程序模块或其他数据等信息的任何方法或技术实现的易失性和非易失性、可移动和不可移动介质。计算机存储介质包括RAM、ROM、EPROM(Erasable Programmable Read-Only Memory,可擦除可编程只读存储器)、EEPROM(Electrically Erasable Programmable Read-Only Memory,带电可擦除可编程只读存储器)、闪存或其他固态存储其技术,CD-ROM、DVD(Digital Video Disc,高密度数字视频光盘)或其他光学存储、磁带盒、磁带、磁盘存储或其他磁性存储设备。当然,本领域技术人员可知所述计算机存储介质不局限于上述几种。上述的系统存储器1804和大容量存储设备1807可以统称为存储器。
根据本申请的各种实施例,所述服务器1800还可以通过诸如因特网等网络连接到网络上的远程计算机运行。也即服务器1800可以通过连接在所述系统总线1805上的网络接口单元1811连接到网络1812,或者说,也可以使用网络接口单元1811来连接到其他类型的网络或远程计算机系统(未示出)。
所述存储器还包括一个或者一个以上的程序,所述一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上中央处理单元1801执行。
本申请实施例还提供了一种计算机可读存储介质,该计算机可读存储介质存储有至少一条指令,所述至少一条指令由处理器加载并执行以实现如上各个实施例所述的电子文档的编辑方法。
根据本申请的一个方面,提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。终端的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该终端执行上述方面的各种可选实现方式中提供的电子文档的编辑方法。

Claims (21)

  1. 一种电子文档的编辑方法,其特征在于,由第二计算机设备执行,所述方法包括:
    通过第一计算机设备上的第一客户端提供的插入协作入口,在第二客户端中打开电子文档的第二编辑界面,所述插入协作入口用于与所述第一客户端协作在所述电子文档中插入多媒体文件;
    获取待插入的多媒体文件;
    将所述多媒体文件插入至所述第二编辑界面中的第一插入位置。
  2. 根据权利要求1所述的方法,其特征在于,所述通过第一计算机设备上的第一客户端提供的插入协作入口,在第二客户端中打开电子文档的第二编辑界面,包括:
    读取所述插入协作入口携带的协作入口信息,所述协作入口信息包括所述电子文档的访问链接;
    基于所述电子文档的访问链接,在所述第二客户端中打开所述电子文档的所述第二编辑界面。
  3. 根据权利要求2所述的方法,其特征在于,所述插入协作入口包括:插入协作图形码、用于启动插入协作的推送消息、用于启动插入协作的短消息、用于启动插入协作的邮件信息、以及用于启动插入协作的即时通信消息中的至少一种。
  4. 根据权利要求3所述的方法,其特征在于,所述读取所述插入协作入口携带的协作入口信息,包括:
    在所述插入协作入口包括所述插入协作图形码的情况下,识别所述插入协作图形码携带的所述协作入口信息;
    或者,
    在所述插入协作入口包括所述推送消息的情况下,显示所述推送消息;响应于对所述推送消息的触发操作,读取所述推送消息中携带的所述协作入口信息;
    或者,
    在所述插入协作入口包括所述短消息的情况下,显示所述短消息;响应于对所述短消息的触发操作,读取所述短消息中携带的所述协作入口信息;
    或者,
    在所述插入协作入口包括所述邮件信息的情况下,显示所述邮件信息;响应于对所述邮件信息的触发操作,读取所述邮件信息中携带的所述协作入口信息;
    或者,
    在所述插入协作入口包括所述即时通信消息的情况下,显示所述即时通信消息;响应于对所述即时通信消息的触发操作,读取所述即时通信消息中携带的所述协作入口信息。
  5. 根据权利要求1至4任一所述的方法,其特征在于,所述在第二客户端中打开电子文档的第二编辑界面之后,还包括:
    在所述电子文档的所述第二编辑界面中显示所述第一插入位置;
    其中,所述第一插入位置与第二插入位置相同,所述第二插入位置是第一编辑界面上多媒体文件的插入位置,所述第一编辑界面是所述第一客户端中所述电子文档的界面。
  6. 根据权利要求5所述的方法,其特征在于,所述插入协作入口携带有协作入口信息;
    所述方法还包括:
    从所述协作入口信息中获取插入位置信息,所述插入位置信息用于指示所述第一插入位置;
    所述在所述电子文档的所述第二编辑界面中显示所述第一插入位置,包括:
    在所述电子文档的所述第二编辑界面中,显示所述插入位置信息所指示的所述第一插入位置。
  7. 根据权利要求5所述的方法,其特征在于,所述方法还包括:
    基于所述第二客户端上登录的对象帐号,同步所述第二插入位置;所述对象帐号具有所述电子文档的编辑权限;
    所述在所述电子文档的所述第二编辑界面中显示所述第一插入位置,包括:
    在所述电子文档的所述第二编辑界面中,将所述第二插入位置显示为所述第一插入位置。
  8. 根据权利要求1至4任一所述的方法,其特征在于,所述获取待插入的多媒体文件,包括:
    在所述电子文档的所述第二编辑界面上显示插入菜单,所述插入菜单包括拍摄控件和本地文件的选择控件中的至少一种;
    响应于针对所述拍摄控件的触发操作,通过摄像头拍摄待插入的所述多媒体文件;或
    响应于针对所述选择控件的触发操作,通过文件管理器在所述本地文件中选择待插入的所述多媒体文件。
  9. 根据权利要求8所述的方法,其特征在于,所述插入协作入口携带有协作入口信息;
    所述在所述电子文档的所述第二编辑界面上显示插入菜单,包括:
    在所述协作入口信息中携带指示标识的情况下,在所述电子文档的所述第二编辑界面上显示所述插入菜单;
    其中,所述指示标识是用于指示对所述插入菜单进行自动唤起的标识。
  10. 根据权利要求8所述的方法,其特征在于,所述插入菜单还包括文字提取控件;
    所述方法还包括:
    响应于对所述文字提取控件的触发操作,提取所述多媒体文件中的文字内容;
    将所述文字内容插入至所述电子文档的所述第一插入位置。
  11. 根据权利要求1至4任一所述的方法,其特征在于,所述方法还包括:
    将插入所述多媒体文件的所述电子文档,同步至所述第一客户端。
  12. 一种电子文档的编辑方法,其特征在于,由第一计算机设备执行,所述方法包括:
    在第一客户端中显示电子文档的第一编辑界面;
    响应于所述第一编辑界面的插入协作操作,生成所述电子文档的插入协作入口,所述插入协作入口用于与第二计算机设备上的第二客户端协作在所述电子文档中插入多媒体文件;
    向所述第二客户端提供所述插入协作入口。
  13. 根据权利要求12所述的方法,其特征在于,所述响应于所述第一编辑界面的插入协作操作,生成所述电子文档的插入协作入口,包括:
    将所述电子文档的访问链接添加至所述电子文档的协作入口信息;
    生成携带所述协作入口信息的所述插入协作入口。
  14. 根据权利要求13所述的方法,其特征在于,所述插入协作入口包括:插入协作图形 码、用于启动插入协作的推送消息、用于启动插入协作的短消息、用于启动插入协作的邮件信息、以及用于启动插入协作的即时通信消息中的至少一种。
  15. 根据权利要求12至14任一所述的方法,其特征在于,所述插入协作入口携带有协作入口信息;
    所述方法还包括:
    将第二插入位置作为插入位置信息,添加至所述电子文档的所述协作入口信息,所述插入位置信息用于指示多媒体文件在第二编辑界面中的第一插入位置,所述第二编辑界面是所述电子文档在所述第二客户端中的界面;
    或者,
    基于所述第二客户端登录的对象帐号,将所述第二插入位置同步至所述第二客户端;
    其中,所述第二插入位置是所述第一编辑界面中多媒体文件的插入位置。
  16. 根据权利要求12至14任一所述的方法,其特征在于,所述插入协作入口携带有协作入口信息;
    所述方法还包括:
    将指示标识添加至所述协作入口信息,所述指示标识是用于指示所述第二客户端对插入菜单进行自动唤起的标识。
  17. 一种电子文档的编辑装置,其特征在于,所述装置包括:
    访问模块,用于通过第一计算机设备上的第一客户端提供的插入协作入口,在第二客户端中打开电子文档的第二编辑界面,所述插入协作入口用于与所述第一客户端协作在所述电子文档中插入多媒体文件;
    获取模块,用于获取待插入的多媒体文件;
    插入模块,用于将所述多媒体文件插入至所述第二编辑界面中的第一插入位置。
  18. 一种电子文档的编辑装置,其特征在于,所述装置包括:
    显示模块,用于在第一客户端中显示电子文档的第一编辑界面;
    生成模块,用于响应于所述第一编辑界面的插入协作操作,生成所述电子文档的插入协作入口,所述插入协作入口用于与第二计算机设备上的第二客户端协作插入多媒体文件;
    输出模块,用于向所述第二客户端提供所述插入协作入口。
  19. 一种计算机设备,其特征在于,所述计算机设备包括:处理器和存储器,所述存储器中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现如权利要求1至16中任一项所述的电子文档的编辑方法。
  20. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有至少一条程序代码,所述程序代码由处理器加载并执行以实现如权利要求1至16中任一项所述的电子文档的编辑方法。
  21. 一种计算机程序产品,其特征在于,所述计算机程序产品包括计算机指令,所述计算机指令存储在计算机可读存储介质中;计算机设备的处理器从所述计算机可读存储介质读取所述计算机指令,所述处理器执行所述计算机指令,使得所述计算机设备执行如权利要求1至16中任一项所述的电子文档的编辑方法。
PCT/CN2022/091790 2021-05-31 2022-05-09 电子文档的编辑方法、装置、设备及存储介质 WO2022252932A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2023537970A JP2023554519A (ja) 2021-05-31 2022-05-09 電子文書の編集方法と装置及びコンピュータ機器とプログラム
EP22814979.5A EP4235486A1 (en) 2021-05-31 2022-05-09 Electronic document editing method and apparatus, and device and storage medium
US18/072,495 US20230118214A1 (en) 2021-05-31 2022-11-30 Method and apparatus for editing electronic document, device, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110604273.7 2021-05-31
CN202110604273.7A CN113191117B (zh) 2021-05-31 2021-05-31 电子文档的编辑方法、装置、设备及存储介质

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/072,495 Continuation US20230118214A1 (en) 2021-05-31 2022-11-30 Method and apparatus for editing electronic document, device, and storage medium

Publications (1)

Publication Number Publication Date
WO2022252932A1 true WO2022252932A1 (zh) 2022-12-08

Family

ID=76986099

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/091790 WO2022252932A1 (zh) 2021-05-31 2022-05-09 电子文档的编辑方法、装置、设备及存储介质

Country Status (5)

Country Link
US (1) US20230118214A1 (zh)
EP (1) EP4235486A1 (zh)
JP (1) JP2023554519A (zh)
CN (2) CN115481597A (zh)
WO (1) WO2022252932A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115481597A (zh) * 2021-05-31 2022-12-16 腾讯科技(深圳)有限公司 电子文档的编辑方法、装置、设备及存储介质
CN114564921A (zh) * 2022-02-18 2022-05-31 维沃移动通信有限公司 文档编辑方法及其装置
CN114741146A (zh) * 2022-03-28 2022-07-12 维沃移动通信有限公司 多设备协作方法、装置、电子设备及介质
CN114862376A (zh) * 2022-07-07 2022-08-05 深圳市泽维电子科技有限公司 一种多维信息采集协同管理方法、管理系统及存储介质
CN115328539B (zh) * 2022-08-05 2023-06-02 广州斯必得电子科技有限公司 一种可编程控制的文件控制方法及系统
CN116882370B (zh) * 2023-07-10 2024-04-26 广州开得联智能科技有限公司 一种内容处理方法、装置、电子设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105743973A (zh) * 2016-01-22 2016-07-06 上海科牛信息科技有限公司 一种多人多设备实时同步云协作方法及系统
CN106021202A (zh) * 2016-05-24 2016-10-12 珠海市魅族科技有限公司 一种数据传输方法以及接收设备
US20180129641A1 (en) * 2016-11-08 2018-05-10 Access eForms, L.P. Electronic form mobility hand-off
CN112667585A (zh) * 2019-11-19 2021-04-16 腾讯科技(深圳)有限公司 在线文档的同步管理方法、装置及设备
CN113191117A (zh) * 2021-05-31 2021-07-30 腾讯科技(深圳)有限公司 电子文档的编辑方法、装置、设备及存储介质

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111880858A (zh) * 2020-07-21 2020-11-03 腾讯科技(深圳)有限公司 文档处理和即时通信方法、装置、电子设备及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105743973A (zh) * 2016-01-22 2016-07-06 上海科牛信息科技有限公司 一种多人多设备实时同步云协作方法及系统
CN106021202A (zh) * 2016-05-24 2016-10-12 珠海市魅族科技有限公司 一种数据传输方法以及接收设备
US20180129641A1 (en) * 2016-11-08 2018-05-10 Access eForms, L.P. Electronic form mobility hand-off
CN112667585A (zh) * 2019-11-19 2021-04-16 腾讯科技(深圳)有限公司 在线文档的同步管理方法、装置及设备
CN113191117A (zh) * 2021-05-31 2021-07-30 腾讯科技(深圳)有限公司 电子文档的编辑方法、装置、设备及存储介质

Also Published As

Publication number Publication date
EP4235486A1 (en) 2023-08-30
CN113191117B (zh) 2022-04-05
US20230118214A1 (en) 2023-04-20
CN113191117A (zh) 2021-07-30
CN115481597A (zh) 2022-12-16
JP2023554519A (ja) 2023-12-27

Similar Documents

Publication Publication Date Title
WO2022252932A1 (zh) 电子文档的编辑方法、装置、设备及存储介质
US20200278949A1 (en) Method and apparatus for viewing previously used file, and terminal
US10097792B2 (en) Mobile device and method for messenger-based video call service
US20240053879A1 (en) Object Drag Method and Device
US9430500B2 (en) Method and device for operating image in electronic device
US11853730B2 (en) Mini program data binding method and apparatus, device, and storage medium
CN111078655A (zh) 文档内容分享方法、装置、终端及存储介质
US11954464B2 (en) Mini program production method and apparatus, terminal, and storage medium
CN112764607A (zh) 定时消息处理方法、装置、终端及存储介质
CN111191176B (zh) 网站内容更新方法、装置、终端及存储介质
CN113747199A (zh) 视频编辑方法、装置、电子设备、存储介质及程序产品
CN112257006A (zh) 页面信息的配置方法、装置、设备及计算机可读存储介质
CN109726379B (zh) 内容项编辑方法、装置、电子设备及存储介质
CN115858833A (zh) 图片显示方法、信息显示方法、装置及电子设备
CN111953852B (zh) 通话记录生成方法、装置、终端及存储介质
CN114816600B (zh) 会话消息显示方法、装置、终端及存储介质
CN112311661B (zh) 消息处理方法、装置、设备及存储介质
CN111399717B (zh) 发表内容的方法、装置、设备及存储介质
US11303464B2 (en) Associating content items with images captured of meeting content
CN113377271A (zh) 文本获取方法、装置、计算机设备及介质
CN115134316A (zh) 话题展示方法、装置、终端及存储介质
CN112242945A (zh) 电子互动信息的发送方法、装置、设备及可读存储介质
CN112230906B (zh) 列表控件的创建方法、装置、设备及可读存储介质
WO2022089276A1 (zh) 一种收藏处理的方法及相关装置
CN117150071A (zh) 语音评论展示方法和语音评论处理方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22814979

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2022814979

Country of ref document: EP

Effective date: 20230525

WWE Wipo information: entry into national phase

Ref document number: 2023537970

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE