WO2022062888A1 - 一种文档编辑方法、装置、计算机设备和存储介质 - Google Patents

一种文档编辑方法、装置、计算机设备和存储介质 Download PDF

Info

Publication number
WO2022062888A1
WO2022062888A1 PCT/CN2021/116695 CN2021116695W WO2022062888A1 WO 2022062888 A1 WO2022062888 A1 WO 2022062888A1 CN 2021116695 W CN2021116695 W CN 2021116695W WO 2022062888 A1 WO2022062888 A1 WO 2022062888A1
Authority
WO
WIPO (PCT)
Prior art keywords
content
document
target
address information
link address
Prior art date
Application number
PCT/CN2021/116695
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 EP21871260.2A priority Critical patent/EP4131054A4/en
Publication of WO2022062888A1 publication Critical patent/WO2022062888A1/zh
Priority to US17/978,908 priority patent/US20230046716A1/en

Links

Images

Classifications

    • 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
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/176Support for shared access to files; File sharing support
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • 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
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus

Definitions

  • the present application relates to the field of computer technology, and in particular, to a document editing method, apparatus, computer device, and storage medium.
  • Online documents are often used for multi-person collaboration to produce and manage some rich media resources, such as pictures, audio recordings, videos, etc. After all the collaborators have finished processing the online document, the online document can be saved in the server for the user to use.
  • a document editing method, apparatus, computer device and storage medium are provided.
  • a document editing method executed by a computer device, the method comprising:
  • a shared document page is displayed, the shared document page includes the document content of the target shared document and the description information of the document insertion content, the target shared document can be operated by at least two authorized users at the same time or not at the same time, the target shared document
  • the document and the content inserted into the document originate from different content platforms;
  • the document insertion content is updated to the target content corresponding to the target link address information.
  • An embodiment of the present invention provides a document editing device, the device comprising:
  • the shared document page display unit is used to display the shared document page, the shared document page includes the document content of the target shared document and the description information of the document insertion content, and the target shared document can be used by at least two authorized users at the same time or not. Performing operations simultaneously, the target shared document and the document insertion content originate from different content platforms;
  • an editing triggering unit configured to display a link editing page of the document insertion content in response to an editing operation for the description information of the document insertion content
  • a link obtaining unit used for obtaining the target link address information edited through the link editing page
  • a content updating unit configured to update the document insertion content to target content corresponding to the target link address information.
  • a computer device includes a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.
  • a computer program product or computer program comprising computer instructions stored in a computer-readable storage medium; from which a processor of a computer device reads and writes The computer instructions, when executed, cause the computer device to perform the steps of the method as described above.
  • FIG. 1a is a schematic structural diagram of a document editing system provided by an embodiment of the present invention.
  • FIG. 1b is a flowchart of a document editing method provided by an embodiment of the present invention.
  • FIG. 2a is a schematic diagram of inserting content of a document on a shared document page according to an embodiment of the present invention
  • 2b is another schematic diagram of inserting content into a document on a shared document page according to an embodiment of the present invention
  • 2c is another schematic diagram of inserting content into a document on a shared document page provided by an embodiment of the present invention.
  • 2d is a schematic diagram of updating document insertion content on a shared document page according to an embodiment of the present invention
  • 2e is a schematic diagram of jumping to a content website page by sharing a document page according to an embodiment of the present invention
  • 3a is a schematic flowchart of inserting content of a document on a shared document page according to an embodiment of the present invention
  • Figure 3b is a schematic flow chart of updating the content inserted in a document on a shared document page according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a document editing device provided by an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a computer device provided by an embodiment of the present invention.
  • Embodiments of the present invention provide a document editing method, apparatus, computer device, and storage medium.
  • This embodiment provides a document editing system, including a terminal, a shared document server that provides a shared document service for the terminal, and a third-party content server, wherein the terminal can be integrated with a shared document client, and a user can use the shared document client
  • the terminal solution shares the document server, and edits the shared document stored in the shared document server.
  • the user can access the shared document server through a web page or the like on the terminal.
  • the third-party content server is the server of the content platform, and the content platform can provide users with content, including but not limited to: video, audio, images, shopping services, and the like.
  • the third-party content server in this embodiment is a content server that is different from the shared document server.
  • the terminal may be a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, and a smart vehicle, or a fixed terminal such as a smart TV and a desktop computer.
  • the server in this embodiment may be an independent physical server, or a server cluster or a distributed system composed of multiple physical servers, or may provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, and network services , cloud communications, middleware services, domain name services, security services, CDN, and cloud servers for basic cloud computing services such as big data and artificial intelligence platforms, but not limited to this.
  • the document editing system provided in this embodiment includes a terminal 10, a shared document server 20, a third-party content server 30 (the number of third-party content servers is not limited, and there may be multiple), etc.; the terminal 10, the shared document server 20 and the third-party content server 30 are connected through a network, for example, through a wired or wireless network connection.
  • the terminal 10 can be used to display a shared document page.
  • the shared document page includes the document content of the target shared document and the description information of the document insertion content.
  • the target shared document can be operated by at least two authorized users simultaneously or non-simultaneously.
  • the document and the inserted content of the document come from different content platforms; in response to the editing operation for the description information of the inserted content of the document, the link editing page of the inserted content of the document is displayed; the target link address information edited through the link editing page is obtained; the document is inserted into the content Update the target content corresponding to the target link address information.
  • the shared document page may be generated based on page information provided by the shared document server 20 for the terminal 10 .
  • the target shared document is stored in the shared document server 20 .
  • the terminal 10 may access the third-party content server 30 corresponding to the link address information based on the target link address information, and obtain the target content from the third-party content server 30 For the target content corresponding to the link address information, the document insertion content is updated to the target content corresponding to the target link address information.
  • a document editing method provided in an embodiment of the present invention may be executed by a terminal, or may be executed jointly by a terminal and a server. This embodiment of the present invention is described by taking the method executed by a terminal as an example. As shown in FIG. 1b, the The flow of the document editing method can be as follows:
  • the target shared document can be operated by at least two authorized users at the same time or not at the same time.
  • the related functions of the shared document are provided by the shared document platform
  • the shared document client program can be installed on the terminal side
  • the user can log in to the shared document platform through the shared document client program, and operate the shared document in the platform account .
  • the user can log in to the shared document platform through a browser, and operate the shared document in his own platform account.
  • the shared document platform corresponds to a shared document server
  • the shared document server can be used to provide users with services related to shared documents. All shared documents of users of the shared document platform can be stored in the shared document server. Users can create a new shared document in the shared document server by logging in to the shared document platform, or edit the shared document in the shared document server.
  • the shared document platform in this embodiment may be a cloud platform
  • the shared document server may be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud service, cloud database, cloud Computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and cloud servers for basic cloud computing services such as big data and artificial intelligence platforms.
  • Cloud technology refers to a hosting technology that unifies a series of resources such as hardware, software, and network in a wide area network or a local area network to realize the calculation, storage, processing and sharing of data.
  • the realization of the shared document and the online operation of the shared document in this embodiment may be realized based on the cloud storage technology in the cloud computing technology, and the cloud storage is an extension and development of the cloud computing concept.
  • a new concept of the distributed cloud storage system (hereinafter referred to as the storage system) refers to a large number of different types of storage devices (also called storage devices) in the network through the functions of cluster applications, grid technology and distributed storage file systems. It is a storage system that works together through application software or application interfaces to provide data storage and business access functions to the outside world.
  • the shared document platform can store the shared documents created by its platform users based on cloud storage technology, and various storage devices in the shared document server of the shared document platform can be assembled based on cloud storage technology to work together.
  • a large cloud storage system is formed to jointly provide document storage and business access functions to users of the shared document platform.
  • the shared document platform can allocate corresponding user storage space for platform users in the cloud storage system.
  • the distance between the storage device and the login location of the cloud platform user can be used as a reference for allocation. information, and allocate the storage space corresponding to the storage device that is closer (for example, the closest distance) to the login location for the platform user.
  • the shared document in this embodiment can actually be understood as an online document, and the editing mode of the shared document includes online editing.
  • Users can log in to the shared document platform through the client or browser, and then create a shared document. After the shared document is created, the created shared document is stored on the shared document platform. Users can perform operations in the shared document, such as editing, in During the editing process of the shared document, the information edited by the user in the shared document will be transmitted to the shared document platform in real time to update the shared document, thereby realizing the online editing of the shared document.
  • an authorized user refers to a user who has an online operation right to the shared document.
  • the online operation authority includes but is not limited to editing authority.
  • the target shared document in this embodiment can be operated by at least two authorized users at the same time or not at the same time, but it can be understood that the authorized users corresponding to the target shared document are not limited to at least two. When there are at least two authorized users to share a document, these authorized users can operate on the target shared document at the same time or not at the same time.
  • the shared document A on the shared document platform is created by user A, and user A is a user who has operation authority to share document A.
  • user A is the only user with operation authority of the shared document A.
  • the shared document may be operated by all the authorized users simultaneously or non-simultaneously. For example, if user A in the previous example shared the shared document A with users B and C on the shared document platform, then users A, B, and C are all users who have operation rights to share document A, and users A, B, and C are all authorized users of the shared document A. Both C and C can log in to their own shared document platform account, and then enter the editing page of shared document A through this account, and edit the shared document A. It is understandable that each user can update the shared document A when editing the shared document A.
  • the document content of the shared document A on the document platform if users A, B, and C edit the shared document A at the same time, the information edited by users A, B, and C in the shared document A can simultaneously update the shared document A. After the update, The shared document A displayed on the terminal of each user includes the content edited by the three users.
  • the document type of the shared document is not limited, for example, it may be a document of graphic type, a document of table type, or a document of PPT (PowerPoint, slideshow) type.
  • the type of content that can be added to the document is not limited, and the type includes but is not limited to: text, image, video, audio, or multimedia content and so on.
  • the multimedia content refers to the content obtained by combining two or more media forms, and the media forms may include forms such as text, images, and audio.
  • the content of the document can be understood as the content input by the user in the target shared document by means of text editing, image copying, image drawing, etc., while the content inserted in the document can be understood as the content obtained from a content platform different from the shared document platform content.
  • the form of the document insertion content is not limited, and the document insertion content may be a video, a word file, a web page, a code file, or the like.
  • the description information of the document insertion content may include the document insertion content itself and link address information of the document insertion content, wherein the link address information may be linked to the document insertion content.
  • the link address information may be understood as link address information of the document insertion content on its content platform. For example, a video A from the XX video platform, the link address information on the XX video platform.
  • the shared document page may be a document editing page of the target shared document, where the user can perform operations on the target shared document, such as modifying document content in the target shared document.
  • step 101 content from other content platforms may be inserted into the target shared document through a content insertion operation.
  • step 101 it may further include:
  • the content insertion sub-page may be displayed in the form of a window, a floating layer, a sidebar, etc., which is not limited in this embodiment.
  • the candidate content platform in this embodiment is a content platform that is different from a shared document platform.
  • the type of the content platform is not limited, and it may be a platform for providing users with multimedia content (such as video, audio, etc.), or a platform using It is a platform for users to conduct transactions with platform merchants, and it can also be a platform for users to edit professional files, such as application code editing.
  • the description information of the document insertion content may include the document insertion content itself, link address information of the document insertion content, and text description information of the document insertion content, that is, the document insertion content is described in text form Information.
  • the description information of the inserted content of the document is inserted on the shared document page, which may include:
  • the text description information of the document insertion content when the description information of the document insertion content includes text description information, the text description information may not be inserted into the target shared document by means of an embedded component, but the link address information corresponding to the document insertion content is added to the text description information, and then the link Text description information with link address information is added to the target shared document. Specifically, the text description information can be displayed near the embedded component.
  • the method of this embodiment further includes: in response to a link triggering operation for the text description information, jumping to display a web page corresponding to the link address information linked by the text description information. It can be understood that the displayed webpage is a webpage on the content platform corresponding to the link address information.
  • the link triggering operation may be an operation such as clicking, double-clicking, long-pressing, etc., which is not limited in this embodiment.
  • the document insertion content itself may be content such as web pages, videos, and images.
  • the display area of the embedded component can be recorded as the insert content display area, and the document insert content in the embedded component can provide users with the functions of the document insert content on the content platform in the insert content display area.
  • the document insert content is a web page, then In the target shared document, the user can perform the web page operations supported by the content platform of the web page in the embedded component.
  • the method of this embodiment further includes: when a content display operation for the description information of the document insertion content is detected, displaying the document insertion content in the insertion content display area.
  • the inserted content of the document is a video
  • the video is played in the display area of the inserted content.
  • the sub-page in this embodiment may be displayed in the form of a window, a floating layer, a sidebar, etc., which is not limited in this embodiment.
  • the content insertion operation may be an operation composed of a series of operations, wherein the name of the candidate content platform may be displayed in the content platform list.
  • the shared document page includes a document editing toolbar area that can be displayed at the top of the shared document page, or displayed in the shared document page in the form of a sidebar or the like.
  • the document editing toolbar area includes a plurality of document editing controls, wherein the functions of different document editing controls are different.
  • the document editing control includes a content insertion control that can be used for content insertion management.
  • the step "in response to the content insertion operation for the target shared document, display a list of content platforms on the shared document page" may include:
  • the content management control list In response to a content insertion operation for the content insertion control, displaying a content management control list on the shared document page, the content management control list including a content platform selection control;
  • a list of content platforms is displayed on the shared document page in response to a triggering operation for the content platform selection control.
  • the shared document page may further include a sidebar control area, and the area may include some commonly used (or user-defined) controls.
  • the optional sidebar control area includes: Content platform selection control.
  • the step of "displaying the content platform list on the shared document page in response to the content insertion operation for the target shared document” may include: in response to the triggering operation for the content platform selection control, displaying the content platform list on the shared document page.
  • the content platform selection control may also be displayed through shortcut key operations, where shortcut key operations include but are not limited to keyboard shortcut key operations, or mouse shortcut key operations, and the like.
  • display a list of content platforms on the shared document page may include:
  • a function control list is displayed, and the function control list includes a content platform selection control;
  • a list of content platforms is displayed on the shared document page in response to a triggering operation for the content platform selection control.
  • 201 indicates a shared document page
  • the top of the page includes a document editing toolbar area 2011 and a target shared document 2012
  • the document editing toolbar area includes files named "file”, "edit”, Controls for Insert, Format, etc.
  • the content insertion control is a control named "Insert”.
  • the content insertion management control list 20111 is displayed, and the content insertion management control list includes content platform selection controls, such as a "third-party service”.
  • the content platform list 201111 is displayed, and the content platform list displays the names of the candidate content platforms provided by the shared document platform, such as "XX video”, “YY” Video", and "XX Website”, etc.
  • a content insertion sub-page (refer to 2021 of page 202 in Figure 2a) is displayed, which is displayed in a window on the shared document page.
  • the content insertion sub-page 2021 includes a link input control (which can be an input box), a cancel control, and a confirmation control.
  • the user can enter the link address information in the link input control, and when a trigger operation for the confirmation control is detected, the user can obtain the link through the link. Enter the link address information input in the control, obtain the description information of the document insertion content based on the link address information, and insert the description information of the document insertion content in the shared document page (refer to the shared document page indicated by 203).
  • the process of inserting the description information of the document insertion content in the target shared document may include:
  • the shared document platform accesses the content website corresponding to the link address information based on the link address information, and obtains the embedded link address information corresponding to the link address information from the content website;
  • the shared document platform generates embedded components and inserts embedded components into the target shared document
  • the embedded link address information Converting the embedded link address information into document embedded link address information, wherein the embedded component can be an iframe component; the document embedded link address information is link address information that can be responded, parsed and processed by the proxy server;
  • the proxy server parses the embedded link address information of the content platform from the document embedded link address information
  • the proxy server determines whether the embedded link address information is the embedded link address information that meets the constraints based on the preset embedded link filtering rule, and when the determination result is yes, obtains the embedded component from the content platform based on the embedded link address information what needs to be inserted;
  • the proxy server sends the content that the embedded component needs to insert to the shared document platform
  • the shared document platform receives the content and inserts the content and link address information of the content in the embedded component.
  • the content insertion sub-page may also include a display property setting control of the document insertion content.
  • the user can set the display property of the document insertion content through the display property setting control.
  • the display property includes but is not limited to display size, insertion method (such as Tight type, wrap type, etc. in word), where the document insertion content is displayed in the embedded component, so the display property of the document insertion content can also be understood as the display property of the embedded component.
  • the shared document platform before the shared document platform accesses the content website corresponding to the link address information based on the link address information, it can also detect whether the link address information is the link information of the target content platform of the shared document platform, and when the detection result is yes, continue to perform the steps " The shared document platform accesses the content website corresponding to the link address information based on the link address information", otherwise, the content insertion failure prompt message will be displayed on the shared document platform.
  • the target content platform may be a preset platform that provides content such as text, images, and videos that meet the constraints.
  • Texts that meet the constraints can refer to articles that do not discriminate, slander and endanger public safety.
  • the link address information is the link information of the target content platform of the shared document platform can be detected by string matching. For example, based on the link address information of the target content platform of the shared document platform, a preset matching string is set.
  • the link address information is determined to be the link address information of the target content platform of the shared document platform only when the preset matching string is included in the document; otherwise, it is determined that the link address information is not the link address information of the target content platform of the shared document platform.
  • the detection process of the link address information may specifically include: detecting whether the link address information is the target content platform in the target content platform of the shared document platform link address information.
  • whether the link address information is the link address information of the target content platform of the shared document platform can also be detected by means of a regular expression.
  • a corresponding regular expression can be set for the issued link information of each target content platform to detect whether the link address information meets the requirements of the regular expression, and if so, the link address information is detected as the target content platform of the shared document platform. If the link address information does not match, it is detected that the link address information is not the link address information of the target content platform of the shared document platform.
  • the preset inline link filtering rule may be set based on the above-mentioned preset matching string and regular expression, which is not limited in this embodiment.
  • the content on the content platform may also be inserted into the target shared document in other ways, such as a div tag, which is not limited in this embodiment.
  • the step "obtaining the link address information edited by inserting the content into the sub-page, and obtaining the description information of the document insertion content linked by the link address information" it may further include:
  • the loading prompt information of the inserted content of the document is displayed in the inserted content display area of the target shared document.
  • the inserted content display area may be generated based on the display attribute of the document inserted content input through the content insertion sub-page, for example, the inserted content display area is generated based on the display size.
  • an embedded component in the solution of inserting the document insertion content through the embedded component, an embedded component can be generated in the shared document based on the link address information and display properties of the document insertion content, and the document insertion content can be displayed in the display area of the embedded component. Loading prompt information.
  • the shared document page is shown as 204 in Fig. 2b, and 2041 represents an embedded component, and a loading prompt is displayed in the display area of the embedded component Information such as "video parsing", the process of video parsing is the process of acquiring content from the content platform in Figure 3a.
  • the shared document platform receives the content returned by the proxy server, it is in the embedded component of the target shared document. Adding this content, the shared document page indicated by 204 becomes the shared document page indicated by 203, and in the page 203, the document insertion content, that is, the "Alps" video, is added to the embedded component.
  • the content insertion sub-page may further include a text description information editing control, and the control may be used for the user to set the text description information linked to the link address information.
  • the description information of the document insertion content includes the document insertion content itself, link address information, and text description information linked to the link address information.
  • the step "obtaining the link address information edited through the content insertion sub-page, and obtaining the description information of the document insertion content linked by the link address information" may include:
  • page 205 in Fig. 2c corresponds to page 202 in Fig. 2a
  • page 2051 in Fig. 2c is another content insertion sub-page
  • the sub-page 2051 includes link input controls and text description information editing controls
  • the link input control displays link input prompt information such as "Please enter the link address information of the XX video”
  • the text description information can display text input prompt information such as "Please enter the display text of the link to”.
  • the shared document page as shown in 206 can be displayed. Video displayed in component 2061.
  • a webpage corresponding to the link address information linked to the text description information can be displayed in a jump. For example, jump to the webpage corresponding to the link address information on the XX video platform.
  • the above-mentioned editing operation may be operations such as clicking, double-clicking, long-pressing, etc., which is not limited in this embodiment.
  • the step "in response to an editing operation for the description information of the inserted content of the document, display a link editing page of the inserted content of the document”, may include:
  • a link edit page of the document insert is displayed.
  • the link editing page may be displayed in the form of a window, a floating layer, etc., which is not limited in this embodiment.
  • the link editing page in this embodiment is a page where the user can input target link address information.
  • the link editing page may be displayed by means of a shortcut key operation, and the step "in response to an editing operation on the description information of the inserted content of the document, display the link editing page of the inserted content of the document", which may include:
  • a list of edit controls is displayed, and the list of edit controls includes link edit trigger controls;
  • a link edit page of the document insert is displayed.
  • the preset shortcut editing operation may be triggered by an information input device such as a keyboard or a mouse, and an optional preset shortcut editing operation may be a right mouse click operation on the target shared document.
  • the step "in response to an editing operation for the description information of the document insertion, display a link editing page of the document insertion”, may further include:
  • a link edit page of the document insert is displayed.
  • the editing trigger operation may be operations such as clicking, double-clicking, and long-pressing on the description information of the inserted content of the document.
  • the page indicated by 207 is a shared document page
  • the page includes a target shared document 2012
  • the target shared document 2012 includes document insertion content 2072 .
  • a content edit sub-page 2071 is displayed on the shared document page 207, and the content edit sub-page 2071 includes content edit controls for the document insert, such as the one named "Link Edit”.
  • the control 20711 when detecting a trigger operation for the content editing control 20711, displays the link editing page of the document insertion content (refer to the window indicated by 2081 in the shared document page indicated by 208 in FIG. 2d).
  • the link editing page may include a link address input control, or may further include a text editing control and an editing completion control.
  • the user may input target link address information through a link address input control, and input target text description information through a text editing control.
  • step 103 may specifically include: acquiring target link address information edited through the link address input control.
  • the link editing page may include an edit completion control
  • obtaining the target link address information edited through the link address input control may include: when an input operation for editing the link address input control is detected, obtaining the input information of the input link address input control ; When the confirmation operation for the editing completion control is detected, the obtained input information is determined as the target link address information.
  • the link editing page may further include a text editing control and an editing completion control, and the method further includes:
  • Update the document insertion content to the target content corresponding to the target link address information including:
  • the document insertion content is updated to the target content corresponding to the target link address information, and the description information is updated according to the target text description information.
  • updating the description information according to the target text description information may include: replacing the text description information displayed in the target shared document with the text description information displayed in the target shared document. is the target text description information (linked to the target link address information); if the text description information (linked to the link address information) of the embedded content of the document is not displayed in the target shared document, the description information is updated according to the target text description information, which can include : Display the target text description information (linked to the target link address information) in the target shared document.
  • a link editing page 2081 is displayed in the shared document page 208 in FIG. 2d, and the link editing page 2081 includes a link address input control 20811 and a text editing control 20812 and a confirmation completion control such as a control named "Confirm” , obtain the target link address information edited by the link address input control 20811, such as http://v.qq.com/x/page/ , and obtain the target link in response to the editing operation of the text description information for the text editing control 20812
  • the target text description information linked to by the address information such as "starry sky scenery of the Alps"
  • the target text description information may not be displayed in the shared document page (refer to the page indicated by 209).
  • the shared document page after setting the target text description information and target link address information, the shared document page, as shown in 210 in FIG. 2e, includes target text description information 2101 corresponding to the target content linked to the target link address information, And target content 2102 that replaces the document insert.
  • a page indicated by 211 is displayed, and the page is a web page corresponding to the target link address information linked by the target text description information.
  • the content editing sub-page further includes a link display area, and the link display area includes link address information of the content inserted into the document; in this embodiment, the link address information in the link display area can be edited directly to realize the document An update of the inserted content.
  • the method of this embodiment may further include: when detecting an information editing operation for the link address information of the inserted content of the document, acquiring the target link address information input in the link display area through the information editing operation;
  • the document insertion content is updated to the target content corresponding to the target link address information.
  • the content editing sub-page indicated at 2071 also includes a link display area 20712, which includes the link address information of the inserted content of the document.
  • the user can select the link address information in the link display area and directly replace it with The target link address information, or the link address information can be deleted first, and then the target link address information can be input.
  • the shared document platform updates the document insertion content to the target content corresponding to the target link address information.
  • step 104 may specifically include:
  • acquiring the target embedded link address information of the target link address information on the corresponding content platform may include: converting the target link address information by type according to the rules for generating embedded links of the content platform to which the target link address information belongs. It is the target embedded link address information of the content platform that can be inserted into other platforms (eg, shared document platform).
  • the target link address information can be sent to the corresponding content platform, triggering the content platform to convert the target link address information into the content platform according to its own embedded link generation rules, which can be inserted into other platforms (such as shared document platforms)
  • the target inline link address information can be sent to the corresponding content platform, triggering the content platform to convert the target link address information into the content platform according to its own embedded link generation rules, which can be inserted into other platforms (such as shared document platforms)
  • the target inline link address information can be sent to the corresponding content platform, triggering the content platform to convert the target link address information into the content platform according to its own embedded link generation rules, which can be inserted into other platforms (such as shared document platforms)
  • the target inline link address information can be sent to the corresponding content platform, triggering the content platform to convert the target link address information into the content platform according to its own embedded link generation rules, which can be inserted into other platforms (such as shared document platforms)
  • the target inline link address information can be sent to the corresponding content platform, triggering the
  • the step of acquiring the target content corresponding to the target embedded link address information may include:
  • the step "obtaining the target embedded link address information of the target link address information on the corresponding content platform;” it may further include:
  • the content insertion failure prompt message will be displayed on the shared document page.
  • the target embedded link address information and the embedded link address information may be limited to the embedded link address information of the same content platform. If the target embedded link address information and the content platform corresponding to the embedded link address information are different, Then, it can be considered that the target embedded link address information is not the link address information of the target content platform, so as to ensure that the content comes from the same content platform before and after the document insertion content is updated.
  • the corresponding content platforms of the target embedded link address information and the embedded link address information may be different.
  • the content of the content platform such as a document
  • the target content is inserted into the shared document through an embedded component.
  • the document insertion content in the embedded component can be replaced directly.
  • the step "update the document insertion content to the target content corresponding to the target embedded link address information" may include:
  • the document insertion content is updated to the target content corresponding to the target embedded link address information.
  • the link address information of the document insertion content in the embedded component is also replaced with the target link address information of the target content.
  • the inline component where the document insertion content is located can be deleted, and a new inline component can be generated to insert the target content.
  • the step "update the document insertion content to the target content corresponding to the target embedded link address information” may include:
  • a new embedded component is generated in the target shared document, and description information of the target content corresponding to the target embedded link address information is inserted into the new embedded component.
  • the description information of the target content may include the target content, target link address information of the target content, source information of the target content, and the like.
  • the shared document platform may be provided with a proxy server through which the content platform is accessed.
  • the description information of the document insertion content in the embedded component may include: the document insertion content and the link address information of the document insertion content;
  • the step "obtaining the target content corresponding to the target embedded link address information" may include:
  • Target embedded link address information into the target document embedded link address information, and the target document embedded link address information is the address information responded by the proxy server;
  • the step "update the document insertion content in the embedded component to the target content corresponding to the target embedded link address information" may include:
  • the link address information of the document insertion content is updated to the target link address information, and the document insertion content is updated to the target content.
  • converting the target embedded link address information into the target document embedded link address information may be adding the pointing information of the proxy server to the target embedded link address information, and the pointing information can be used to instruct the terminal to insert the target document embedded link
  • the address information is sent to the proxy server.
  • the proxy server may also perform certain filtering on the received embedded link address information according to certain rules, so as to avoid inserting content not supported by the relational document platform into the shared document.
  • the step "sends a content acquisition request containing the embedded link address information of the target document to the proxy server, triggering the proxy server to obtain the target embedded link address information from the embedded link address information of the target document, and based on the target embedded link address information to obtain target content from the corresponding content platform", which can include:
  • the preset embedded filtering rules can refer to the descriptions in the foregoing content, and the preset embedded filtering rules can be set according to the target content platform supported by the shared document platform, for example, the embedded link address information of the target content platform is determined to meet the constraints Conditional embedded link address information, the embedded link address information that does not belong to the target content platform is determined as the embedded link address information that does not meet the constraints.
  • the proxy server intercepts illegal embedded link address information. , after intercepting, send link exception information to the terminal, triggering the terminal to display link exception prompt information on the document sharing page, the link exception prompt information is used to prompt that the target content is not the content that the shared document platform supports to be inserted into the target shared document.
  • the update scheme of the document insertion content may include:
  • the shared document platform accesses the content platform corresponding to the target link address information based on the target link address information, and obtains the target embedded link address information corresponding to the target link address information from the content platform;
  • the shared document platform converts the target embedded link address information into the target document embedded link address information;
  • the target document embedded link address information is the link address information that can be responded, parsed and processed by the proxy server;
  • the proxy server parses the target embedded link address information of the content platform from the target document embedded link address information
  • the proxy server determines whether the target embedded link address information is the embedded link address information that meets the constraints, and when the determination result is yes, obtains the embedded link address information from the content platform based on the target embedded link address information.
  • the proxy server sends the target content that the embedded component needs to insert to the shared document platform
  • the shared document platform receives the target content, replaces the document insertion content with the target content in the embedded component where the document insertion content is located, and replaces the link address information of the document insertion content with the target link address information of the content.
  • the shared document platform can send the data of the shared document page to the terminal, so that the terminal can display the updated shared document page.
  • a shared document page can be displayed, and the shared document page includes the document content of the target shared document and the description information of the document insertion content.
  • the target shared document can be operated by at least two authorized users simultaneously or not simultaneously.
  • the shared document and the content inserted in the document originate from different content platforms; in response to the editing operation for the description information of the inserted content in the document, the link editing page of the inserted content in the document is displayed; the target link address information edited through the link editing page is obtained; The content is updated to the target content corresponding to the target link address information.
  • the user can update the inserted content of the document without deleting the inserted content of the document, which avoids the problem of deleting the inserted content of the document first and then adding it in the related art.
  • the tedious operation also reduces the possibility of erroneous deletion due to the deletion operation.
  • an embodiment of the present invention further provides a document editing apparatus.
  • the document editing apparatus includes:
  • the shared document page display unit 401 is configured to display a shared document page, the shared document page includes the document content of the target shared document and the description information of the document insertion content, and the target shared document can be used by at least two authorized users at the same time or Non-simultaneous operations, the target shared document and the document insertion content originate from different content platforms;
  • an editing triggering unit 402 configured to display a link editing page of the document insertion content in response to an editing operation for the description information of the document insertion content
  • a link obtaining unit 403, configured to obtain the target link address information edited through the link editing page
  • the content updating unit 404 is configured to update the document insertion content to the target content corresponding to the target link address information.
  • edit the trigger unit to:
  • a link editing page of the document insertion content is displayed.
  • the content editing sub-page further includes a link display area, and the link display area includes link address information of the content inserted into the document; the apparatus further includes:
  • a link address information obtaining unit configured to obtain the target link address information input in the link display area through the information editing operation when an information editing operation for the link address information of the inserted content of the document is detected;
  • a target content updating unit configured to update the document insertion content to target content corresponding to the target link address information.
  • the link editing page includes: a link address input control
  • the link acquisition unit is used to:
  • the link editing page further includes a text editing control and an editing completion control
  • the apparatus further includes:
  • a text description information obtaining unit configured to obtain the target text description information to which the target link address information is linked in response to the text description information editing operation for the text editing control;
  • the document insertion content is updated to target content corresponding to the target link address information, and the description information is updated according to the target text description information.
  • the shared document page includes an inserted content display area
  • the inserted content display area includes: description information of the inserted content of the document
  • the device also includes:
  • a content display unit configured to display the document inserted content in the inserted content display area when a content display operation for the description information of the inserted content of the document is detected.
  • the shared document page display unit is used for:
  • the shared document page includes a content insertion control
  • the shared document page display unit is used for:
  • the content insertion management control list including a content platform selection control
  • a list of content platforms is displayed on the shared document page.
  • a content update unit for:
  • the document insertion content is updated to the target content corresponding to the target embedded link address information.
  • the content update unit is configured to, if the target link address information is the link address information of the target content platform, continue to execute the target of obtaining the target link address information on the corresponding content platform The step of embedding link address information; if the target link address information is not the link address information of the target content platform, displaying content insertion failure prompt information on the shared document page.
  • the target shared document includes an embedded component, and the description information of the inserted content of the document is inserted into the target shared document through the embedded component;
  • the content updating unit is used for:
  • the document insertion content is updated to the target content corresponding to the target embedded link address information.
  • the description information of the document insertion content in the embedded component includes: the document insertion content and link address information of the document insertion content;
  • the content updating unit is used for:
  • Target embedded link address information Converting the target embedded link address information into target document embedded link address information, where the target document embedded link address information is the address information responded by the proxy server;
  • the link address information of the document insertion content is updated to the target link address information, and the document insertion content is updated to the target content.
  • a content update unit for:
  • the embedded link filtering rule determines whether the target embedded link address information is link address information that meets the constraints, and when the determination result is yes, acquires the target content from the corresponding content platform based on the target embedded link address information.
  • the user can update the inserted content of the document without deleting the inserted content of the document, which avoids the tedious operation caused by deleting the inserted content of the document first and then adding it in the related art, and also reduces the need for Delete operations create the possibility of erroneous deletions.
  • an embodiment of the present invention also provides a computer device, which may be a terminal or a server, as shown in FIG. 5 , which shows a schematic structural diagram of the computer device involved in the embodiment of the present invention, specifically:
  • the computer device may include a processor 501 of one or more processing cores, a memory 502 of one or more computer-readable storage media, a power supply 503 and an input unit 504 and other components.
  • a processor 501 of one or more processing cores may include a processor 501 of one or more processing cores, a memory 502 of one or more computer-readable storage media, a power supply 503 and an input unit 504 and other components.
  • FIG. 5 does not constitute a limitation on the computer device, and may include more or less components than the one shown, or combine some components, or arrange different components. in:
  • the processor 501 is the control center of the computer equipment, using various interfaces and lines to connect various parts of the entire computer equipment, by running or executing the software programs and/or modules stored in the memory 502, and calling the software programs stored in the memory 502. Data, perform various functions of computer equipment and process data, so as to conduct overall monitoring of computer equipment.
  • the processor 501 may include one or more processing cores; preferably, the processor 501 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc. , the modem processor mainly deals with wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 501 .
  • the memory 502 can be used to store software programs and modules, and the processor 501 executes various functional applications and data processing by running the software programs and modules stored in the memory 502 .
  • the memory 502 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program (such as a sound playback function, an image playback function, etc.) required for at least one function, and the like; Data created by the use of computer equipment, etc.
  • memory 502 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 502 may also include a memory controller to provide processor 501 access to memory 502 .
  • the computer equipment also includes a power supply 503 for supplying power to various components.
  • the power supply 503 can be logically connected to the processor 501 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.
  • Power source 503 may also include one or more DC or AC power sources, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and any other components.
  • the computer device may also include an input unit 504 that may be used to receive input numerical or character information and generate keyboard, mouse, joystick, optical, or trackball signal input related to user settings and functional control.
  • an input unit 504 may be used to receive input numerical or character information and generate keyboard, mouse, joystick, optical, or trackball signal input related to user settings and functional control.
  • the computer device may also include a display unit and the like, which will not be described herein again.
  • the processor 501 in the computer device loads the executable files corresponding to the processes of one or more application programs into the memory 502 according to the following instructions, and the processor 501 executes them and stores them in the memory 502.
  • a shared document page is displayed, where the shared document page includes the document content of the target shared document and the description information of the document insertion content, the target shared document can be operated by at least two authorized users at the same time or not at the same time, the target shared document
  • the document and the content inserted into the document originate from different content platforms;
  • the document insertion content is updated to the target content corresponding to the target link address information.
  • an embodiment of the present invention further provides a storage medium in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the document editing method provided by the embodiment of the present invention.
  • a computer program product or computer program comprising computer instructions stored in a computer-readable storage medium.
  • the processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in the various optional implementations in the above-mentioned embodiments.
  • the storage medium may include: a read-only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and the like.
  • ROM Read Only Memory
  • RAM Random Access Memory
  • magnetic disk or an optical disk and the like.
  • the instructions stored in the storage medium can execute the steps in the document editing method provided by the embodiment of the present invention, the beneficial effects that can be achieved by the document editing method provided by the embodiment of the present invention can be realized. embodiments, which are not repeated here.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)
  • Document Processing Apparatus (AREA)

Abstract

本申请公开了一种文档编辑方法、装置、计算机设备和存储介质,显示共享文档页面,共享文档页面包括目标共享文档的文档内容、文档***内容的描述信息,目标共享文档与文档***内容来源于不同的内容平台;响应于针对文档***内容的描述信息的编辑操作,显示文档***内容的链接编辑页面;获取通过链接编辑页面编辑的目标链接地址信息;将文档***内容更新为目标链接地址信息对应的目标内容。

Description

一种文档编辑方法、装置、计算机设备和存储介质
本申请要求于2020年09月28日提交中国专利局,申请号为2020110458609,发明名称为“一种文档编辑方法、装置、计算机设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及计算机技术领域,具体涉及一种文档编辑方法、装置、计算机设备和存储介质。
背景技术
在线文档经常被用作多人协作来生产、管理一些富媒体资源,如图片、录音、视频等。待协同人员都完成对在线文档的处理后,在线文档可以保存在服务器中,供用户使用。
目前,在在线文档***其他内容平台的内容后,用户如果想要修改该内容,一般是删除该内容,然后重新进行内容***操作,在在线文档中***新的内容。
发明内容
根据本申请的各种实施例,提供了一种文档编辑方法、装置、计算机设备和存储介质。
一种文档编辑方法,由计算机设备执行,所述方法包括:
显示共享文档页面,所述共享文档页面包括目标共享文档的文档内容、文档***内容的描述信息,所述目标共享文档可供至少两个有权限的用户同时或非同时进行操作,所述目标共享文档与所述文档***内容来源于不同的内容平台;
响应于针对所述文档***内容的描述信息的编辑操作,显示所述文档***内容的链接编辑页面;
获取通过所述链接编辑页面编辑的目标链接地址信息;
将所述文档***内容更新为所述目标链接地址信息对应的目标内容。
本发明实施例提供一种文档编辑装置,该装置包括:
共享文档页面显示单元,用于显示共享文档页面,所述共享文档页面包括目标共享文档的文档内容、文档***内容的描述信息,所述目标共享文档可供至少两个有权限的用户同时或非同时进行操作,所述目标共享文档与所述文档***内容来源于不同的内容平台;
编辑触发单元,用于响应于针对所述文档***内容的描述信息的编辑操作,显示所述文档***内容的链接编辑页面;
链接获取单元,用于获取通过所述链接编辑页面编辑的目标链接地址信息;
内容更新单元,用于将所述文档***内容更新为所述目标链接地址信息对应的目标内容。
一种计算机设备,包括存储器,处理器及存储在存储器上并可在处理器上运行的计算机程序,其中, 所述处理器执行所述计算机程序时实现如上所述方法的步骤。
一种存储介质,其上存储有计算机程序,当计算机程序在计算机设备上运行时,使得所述计算机设备执行如上所述方法的步骤。
一种计算机程序产品或计算机程序,所述计算机程序产品或计算机程序包括计算机指令,所述计算机指令存储在计算机可读存储介质中;计算机设备的处理器从所述计算机可读存储介质读取并执行所述计算机指令时,使得所述计算机设备执行如上所述方法的步骤。
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征和优点将从说明书、附图以及权利要求书变得明显。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1a是本发明实施例提供的文档编辑***的结构示意图;
图1b是本发明实施例提供的文档编辑方法的流程图;
图2a是本发明实施例提供的一种在共享文档页面,***文档***内容的示意图;
图2b是本发明实施例提供的另一种在共享文档页面,***文档***内容的示意图;
图2c是本发明实施例提供的另一种在共享文档页面,***文档***内容的示意图;
图2d是本发明实施例提供的一种在共享文档页面,更新文档***内容的示意图;
图2e是本发明实施例提供的一种通过共享文档页面,跳转内容网站页面的示意图;
图3a是本发明实施例提供的一种在共享文档页面,***文档***内容的流程示意图;
图3b是本发明实施例提供一种在共享文档页面,更新文档***内容的流程示意图;
图4是本发明实施例提供的文档编辑装置的结构示意图;
图5是本发明实施例提供的计算机设备的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明实施例提供一种文档编辑方法、装置、计算机设备和存储介质。
本实施例提供一种文档编辑***,包括终端,以及为该终端提供共享文档服务的共享文档服务器,以及第三方内容服务器,其中,终端可以集成有共享文档客户端,用户可以通过该共享文档客户端方案共享文档服务器,对该共享文档服务器中存储的共享文档进行编辑。或者用户在终端上可以通过网页等 形式访问共享文档服务器。
其中,第三方内容服务器是内容平台的服务器,内容平台可以为用户提供内容,该内容包括但不限于:视频、音频、图像、购物服务等等。本实施例的第三方内容服务器为区别于共享文档服务器的内容服务器。
其中,终端可以是手机、平板电脑、笔记本电脑、智能车载等移动终端,也可以为智能电视、台式电脑等固定终端。
本实施例中的服务器可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式***,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、CDN、以及大数据和人工智能平台等基础云计算服务的云服务器,但并不局限于此。
参考图1a,本实施例提供的文档编辑***,包括终端10和共享文档服务器20和第三方内容服务器30(第三方内容服务器的数量不限,可以有多个)等;终端10、共享文档服务器20和第三方内容服务器30之间通过网络连接,比如,通过有线或无线网络连接等。
终端10,可以用于显示共享文档页面,共享文档页面包括目标共享文档的文档内容、文档***内容的描述信息,目标共享文档可供至少两个有权限的用户同时或非同时进行操作,目标共享文档与文档***内容来源于不同的内容平台;响应于针对文档***内容的描述信息的编辑操作,显示文档***内容的链接编辑页面;获取通过链接编辑页面编辑的目标链接地址信息;将文档***内容更新为目标链接地址信息对应的目标内容。
其中,共享文档页面可以是基于共享文档服务器20为终端10提供的页面信息生成的。目标共享文档存储于共享文档服务器20中。
在将文档***内容更新为目标链接地址信息对应的目标内容的步骤中,终端10可以基于目标链接地址信息访问该链接地址信息对应的第三方内容服务器30,从该第三方内容服务器30中获取目标链接地址信息对应的目标内容,将文档***内容更新为目标链接地址信息对应的目标内容。
以下分别进行详细说明。需说明的是,以下实施例的描述顺序不作为对实施例优选顺序的限定。
本发明实施例提供的一种文档编辑方法,该方法可以由终端执行,也可以由终端和服务器共同执行,本发明实施例以该方法由终端执行为例进行说明,如图1b所示,该文档编辑方法的流程可以如下:
101、显示共享文档页面,共享文档页面包括目标共享文档的文档内容、文档***内容的描述信息,目标共享文档与文档***内容来源于不同的内容平台;
该目标共享文档可供至少两个有权限的用户同时或非同时进行操作。
在本实施例中,共享文档的相关功能由共享文档平台提供,在终端侧可以安装共享文档客户端程序,用户可以通过共享文档客户端程序登录共享文档平台,对平台账户中的共享文档进行操作。在另一个示例中,用户可以通过浏览器登录共享文档平台,对自身的平台账户中的共享文档进行操作。
本实施例中,共享文档平台对应有共享文档服务器,该共享文档服务器可以用于为用户提供共享文 档相关的服务。共享文档服务器中可以存储有共享文档平台用户的所有共享文档。用户可以通过登录共享文档平台在共享文档服务器中新建共享文档,或者编辑共享文档服务器中的共享文档。
本实施例中的共享文档平台可以是云平台,共享文档服务器可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式***,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、CDN、以及大数据和人工智能平台等基础云计算服务的云服务器等。
本实施例中的共享文档平台,以及共享文档的多用户同时或非同时操作,可以是基于云技术实现的。云技术(Cloud technology)是指在广域网或局域网内将硬件、软件、网络等系列资源统一起来,实现数据的计算、储存、处理和共享的一种托管技术。
具体的,本实施例中共享文档的实现以及对共享文档的在线操作等,可以是基于云计算技术中的云存储(cloud storage)技术实现的,云存储是在云计算概念上延伸和发展出来的一个新的概念,分布式云存储***(以下简称存储***)是指通过集群应用、网格技术以及分布存储文件***等功能,将网络中大量各种不同类型的存储设备(存储设备也称之为存储节点)通过应用软件或应用接口集合起来协同工作,共同对外提供数据存储和业务访问功能的一个存储***。
本实施例中,共享文档平台对其平台用户创建的共享文档的存储,可以基于云存储技术实现,共享文档平台的共享文档服务器中的各种存储设备,可以基于云存储技术集合起来协同工作,形成一个大的云存储***,共同对共享文档平台用户提供文档存储和业务访问功能。
如共享文档平台可以在云存储***中为平台用户分配对应的用户存储空间,可选的,在分配用户存储空间的时候,可以基于存储设备和云平台用户的登录地点的距离作为分配所需参考的信息,为平台用户分配距离登录地点距离较近(例如距离最近)的存储设备对应的存储空间。
本实施例中的共享文档其实也可以理解为在线文档,该共享文档的编辑模式包括在线编辑。用户可以通过客户端或者浏览器等方式,登录共享文档平台,然后创建共享文档,在共享文档创建后,创建的共享文档存储于共享文档平台上,用户可以在共享文档中进行操作如编辑,在共享文档的编辑过程中,用户在共享文档中编辑的信息,会实时传输至共享文档平台中对共享文档进行更新,由此就实现了共享文档的在线编辑。
本实施例中,有权限的用户指的是具有对共享文档的在线操作权限的用户。该在线操作权限包括但不限于编辑权限。
本实施例的目标共享文档可供至少两个有权限的用户同时或非同时进行操作,但是可以理解的是,目标共享文档对应的有权限的用户并不限定为至少两个,而是在目标共享文档的有权限的用户为至少两个时,这些有权限的用户可以同时或非同时对目标共享文档进行操作。
在一个示例中,目标共享文档的有权限的用户可以只有一个,例如,共享文档平台上的共享文档A由用户A创建,用户A为共享文档A的有操作权限的用户,在用户A未通过共享文档平台将共享文档分享给该共享文档平台上的其他用户的时候,用户A为共享文档A仅有的有操作权限的用户。
在其他的示例中,共享文档的有权限的用户可以有至少两个,当共享文档的有权限的用户为至少两 个时,共享文档可以供所有的有权限的用户同时或者非同时操作。例如,若前一个示例中的用户A将共享文档A分享给了共享文档平台上的用户B和C,则用户A、B和C都是共享文档A的有操作权限的用户,用户A、B和C都可以登陆自身的共享文档平台账号,然后通过该账号进入共享文档A的编辑页面,对共享文档A进行编辑,可以理解的是,每个用户对共享文档A的编辑,都可以更新共享文档平台上共享文档A的文档内容,若用户A、B和C同时对共享文档A进行编辑,则用户A、B和C在共享文档A中编辑的信息可以同时更新共享文档A,更新后,每个用户的终端显示的共享文档A中都包括三个用户编辑的内容。
本实施例中,共享文档的文档类型不限,例如,可以是图文类型的文档,表格类型的文档,或者是PPT(PowerPoint,幻灯片)类型的文档。其中,对于不同文档类型的共享文档而言,文档中可以添加的内容的类型不限,该类型包括但不限于:文本、图像、视频、音频、或多媒体内容等等。其中,多媒体内容是指组合两种或者两种以上媒体形式内容得到的内容,该媒体形式可以包括文字、图像以及音频等形式。
在一个示例中,文档内容可以理解为用户文字编辑、图像复制、图像绘制等方式在目标共享文档中输入的内容,而文档***内容,则可以理解为从区别于共享文档平台的内容平台获取的内容。
其中,文档***内容的形式不限,文档***内容可以是视频、word文件、网页、代码文件等等。
本实施例中,文档***内容的描述信息,可以包括文档***内容本身以及文档***内容的链接地址信息,其中,该链接地址信息可以链接到该文档***内容上。其中,该链接地址信息可以理解为文档***内容在其内容平台上的链接地址信息。如一个来源于XX视频平台的视频A,在XX视频平台上的链接地址信息。
在一个示例中,共享文档页面,可以是目标共享文档的文档编辑页面,在该文档编辑页面中,用户可以对目标共享文档进行操作,例如对目标共享文档中的文档内容进行修改等。
其中,在步骤101之前,可以通过内容***操作,在目标共享文档中***来自其他内容平台的内容。
可选的,步骤101之前,还可以包括:
显示共享文档页面,共享文档页面包括目标共享文档的文档内容;
响应于针对目标共享文档的内容***操作,在共享文档页面显示内容平台列表,内容平台列表包括至少一个候选内容平台;
响应于针对目标内容平台的选定操作,显示内容***子页面;
获取通过内容***子页面编辑的链接地址信息,获取链接地址信息链接到的文档***内容的描述信息;
在共享文档页面***文档***内容的描述信息。
本实施例中,内容***子页面可以以窗口、浮层、侧边栏等形式显示,本实施例对此没有限制。
本实施例中的候选内容平台是区别于共享文档平台的内容平台,该内容平台的类型不限,可以是用于为用户提供多媒体内容(如视频,音频等信息)的平台,也可以是用于供用户与平台商家进行交易的平台,还可以是供用户进行专业文件编辑,如应用程序代码编辑等的平台。
在一个示例中,文档***内容的描述信息可以包括文档***内容本身,也可以包括文档***内容的链接地址信息,还可以包括文档***内容的文本描述信息,即以文本形式对文档***内容进行描述的信息。
在一个示例中,在共享文档页面***文档***内容的描述信息,可以包括:
生成内嵌组件,将该内嵌组件***到目标共享文档中;
在该内嵌组件中***文档***内容的描述信息。
其中,在文档***内容的描述信息包括文本描述信息时,文本描述信息可以不通过内嵌组件的方式***目标共享文档,而是为文本描述信息添加文档***内容对应的链接地址信息,然后将链接有链接地址信息的文本描述信息添加到目标共享文档中,具体的,文本描述信息可以显示在内嵌组件附近。
在一个实例中,本实施例的方法还包括:响应于针对文本描述信息的链接触发操作,跳转显示文本描述信息链接的链接地址信息对应的网页。可以理解的是,该显示的网页是链接地址信息对应的内容平台上的网页。
其中,该链接触发操作,可以是点击、双击、长按等操作,本实施例对此没有限制。
本实施例中,文档***内容本身可以是网页、视频、图像等内容。内嵌组件的显示区域可以记为***内容展示区域,内嵌组件中的文档***内容可以在***内容展示区域为用户提供内容平台上该文档***内容具有的功能,例如文档***内容为网页,则目标共享文档中,用户可以在内嵌组件中进行该网页的内容平台所支持的网页操作。
可选的,本实施例的方法还包括:当检测到针对文档***内容的描述信息的内容展示操作时,在***内容展示区域内展示文档***内容。
例如,当文档***内容为视频时,当检测到针对视频的播放操作,在***内容展示区域内播放视频。
可选的,本实施例的子页面可以以窗口、浮层、侧边栏等形式展现,本实施例对此没有限制。
本实施例中,内容***操作可以是一系列操作组成而成的操作,其中,内容平台列表中可以显示候选内容平台的名称。
在一个示例中,共享文档页面包括文档编辑工具栏区域,该文档编辑工具栏区域可以显示在共享文档页面的顶部,或以侧边栏等形式显示在共享文档页面中。其中,该文档编辑工具栏区域包括多个文档编辑控件,其中,不同文档编辑控件的功能不同。
可选的,文档编辑控件包括可以用于进行内容***管理的内容***控件。
步骤“响应于针对目标共享文档的内容***操作,在共享文档页面显示内容平台列表”,可以包括:
响应于针对内容***控件的内容***操作,在共享文档页面显示内容管理控件列表,内容管理控件列表包括内容平台选择控件;
响应于针对内容平台选择控件的触发操作,在共享文档页面显示内容平台列表。
可选的,在另一个示例中,共享文档页面还可以包括侧边栏控件区域,该区域中可以包括一些常用的(或用户自定义选择的)控件,可选的侧边栏控件区域包括:内容平台选择控件。
其中,步骤“响应于针对目标共享文档的内容***操作,在共享文档页面显示内容平台列表”,可 以包括:响应于针对内容平台选择控件的触发操作,在共享文档页面显示内容平台列表。
在一个示例中,内容平台选择控件还可以通过快捷键操作显示,该快捷键操作包括但不限于键盘快捷键操作,或者鼠标快捷键操作等等。
可选的,“响应于针对目标共享文档的内容***操作,在共享文档页面显示内容平台列表”,可以包括:
响应于针对目标共享文档的预设快捷键操作,显示功能控件列表,功能控件列表包括内容平台选择控件;
响应于针对内容平台选择控件的触发操作,在共享文档页面显示内容平台列表。
下面结合图2a和图3a,对通过共享文档页面顶部的文档编辑工具栏区域,在目标共享文档中***内容的方案进行详细的描述。
参考图2a,图2a中,201指示的是共享文档页面,该页面顶部包括文档编辑工具栏区域2011和目标共享文档2012,该文档编辑工具栏区域中包括名为“文件”、“编辑”、“***”、“格式”等的控件。其中,内容***控件为名为“***”的控件。当检测到针对该“***”控件的触发操作(如点击、双击等操作)时,显示内容***管理控件列表20111,内容***管理控件列表包括内容平台选择控件,如名为“第三方服务”的控件;当检测到针对该“第三方服务”控件的触发操作时,显示内容平台列表201111,该内容平台列表中显示有共享文档平台提供的候选内容平台的名称,如“XX视频”、“YY视频”,以及“XX网站”等等。
响应于针对“XX视频”的选定操作,显示内容***子页面(参考图2a中202页面中的2021),该内容***子页面以窗口的形式在共享文档页面上显示。内容***子页面2021中包括链接输入控件(可以是输入框)和取消控件以及确认控件,用户可以在链接输入控件中输入链接地址信息,当检测到针对确认控件的触发操作时,获取用户通过链接输入控件中输入的链接地址信息,基于该链接地址信息获取文档***内容的描述信息,在共享文档页面***文档***内容的描述信息(参考203指示的共享文档页面)。
其中,在获取用户通过链接输入控件中输入的链接地址信息,到基于该链接地址信息获取文档***内容的描述信息的过程,可以参考图3a所示的流程图。
参考图3a,在目标共享文档中***文档***内容的描述信息的过程可以包括:
在用户通过终端输入链接地址信息后,共享文档平台基于链接地址信息访问该链接地址信息对应的内容网站,从内容网站获取链接地址信息对应的内嵌链接地址信息;
共享文档平台生成内嵌组件,在目标共享文档中***内嵌组件;
将内嵌链接地址信息转换为文档内嵌链接地址信息,其中,内嵌组件可以是iframe组件;该文档内嵌链接地址信息是可以由代理服务器响应、解析和处理的链接地址信息;
向代理服务器发送包含文档内嵌链接地址信息的内容获取请求;
代理服务器从文档内嵌链接地址信息中解析出内容平台的内嵌链接地址信息;
代理服务器基于预设内嵌链接过滤规则确定内嵌链接地址信息是否为符合约束条件的内嵌链接地 址信息,并在确定结果为是时,基于该内嵌链接地址信息从内容平台获取内嵌组件需要***的内容;
代理服务器将内嵌组件需要***的内容发送给共享文档平台;
共享文档平台接收该内容,并在在内嵌组件中***该内容,以及该内容的链接地址信息。
其中,内容***子页面中还可以包括文档***内容的显示属性设置控件,用户可以通过该显示属性设置控件,设置文档***内容的显示属性,该显示属性包括但不限于显示尺寸,***方式(如word中的紧密型、环绕型等等),其中,该文档***内容在内嵌组件中显示,所以文档***内容的显示属性也可以理解为内嵌组件的显示属性。
其中,共享文档平台基于链接地址信息访问该链接地址信息对应的内容网站前,还可以检测链接地址信息是否为共享文档平台的目标内容平台的链接信息,在检测结果为是时,继续执行步骤“共享文档平台基于链接地址信息访问该链接地址信息对应的内容网站”,否则,在共享文档平台上显示内容***失败提示信息。
其中,目标内容平台可以是预设的提供满足约束条件的文本、图像和视频等内容的平台。如满足约束条件的文本可以指没有歧视、诬蔑和危害公共安全等言论的文章。
可以以字符串匹配的方式检测链接地址信息是否为共享文档平台的目标内容平台的链接信息,例如,基于共享文档平台的目标内容平台的链接地址信息,设置预设匹配字符串,当链接地址信息中包含预设匹配字符串时,才确定链接地址信息为共享文档平台的目标内容平台的链接地址信息,否则,确定链接地址信息不是共享文档平台的目标内容平台的链接地址信息。
其中,鉴于内容***子页面是通过对目标内容平台的选定操作触发的,链接地址信息的性检测过程,具体可以包括:检测链接地址信息是否为共享文档平台的目标内容平台中的目标内容平台的链接地址信息。
在一个示例中,也可以通过正则表达式的方式检测链接地址信息是否为共享文档平台的目标内容平台的链接地址信息。其中,可以为每个目标内容平台的核发链接信息设置一个对应的正则表达式,检测链接地址信息是否符合正则表达式的要求,若符合,则检测链接地址信息为共享文档平台的目标内容平台的链接地址信息,若不符合,则检测链接地址信息不是共享文档平台的目标内容平台的链接地址信息。
其中,预设内嵌链接过滤规则,可以是基于上述的预设匹配字符串和正则表达式设置的,本实施例对此没有限制。
本实施例中,除了内嵌组件,还可以通过其他方式如div标签的方式在目标共享文档中***内容平台上的内容,本实施例对此没有限制。
在一个示例中,在步骤“获取通过内容***子页面编辑的链接地址信息,以及获取链接地址信息链接到的文档***内容的描述信息”后,还可以包括:
在目标共享文档的***内容展示区域显示文档***内容的加载提示信息。
其中,***内容展示区域可以是基于通过内容***子页面输入的文档***内容的显示属性生成的,如***内容展示区域基于显示尺寸生成。
其中,在通过内嵌组件***文档***内容的方案中,可以先基于文档***内容的链接地址信息和显 示属性在共享文档中生成内嵌组件,以及在内嵌组件的显示区域中显示文档***内容的加载提示信息。
例如,在用户通过图2a中202指示的共享文档页面输入链接地址信息后,共享文档页面如图2b中的204所示,2041表示内嵌组件,该内嵌组件的显示区域中显示有加载提示信息如“视频解析中”,该视频解析的过程,是图3a中,从内容平台上获取内容的过程,当共享文档平台接收到代理服务器返回的内容后,在目标共享文档的内嵌组件中添加该内容,204指示的共享文档页面变为203指示的共享文档页面,203页面中,内嵌组件中添加了文档***内容,即“阿尔卑斯山”视频。
在一个可选的示例中,内容***子页面还可以包括文本描述信息编辑控件,该控件可以用于供用户设置链接到链接地址信息的文本描述信息。该方案中,文档***内容的描述信息包括文档***内容本身、链接地址信息,以及链接到该链接地址信息的文本描述信息。
可选的,步骤“获取通过内容***子页面编辑的链接地址信息,以及获取链接地址信息链接到的文档***内容的描述信息”,可以包括:
获取通过内容***子页面编辑的链接地址信息;
获取通过文本描述信息编辑控件输入的文本描述信息,将该文本描述信息链接到该链接地址信息;
获取链接地址信息对应的内容作为文档***内容;
在共享文档页面***该文本描述信息和该文档***内容。
例如,参考图2c,图2c中的205页面对应于图2a中的202页面,图2c中的2051为另一种内容***子页面,该子页面2051中包括链接输入控件和文本描述信息编辑控件,链接输入控件中显示有链接输入提示信息如“请输入XX视频的链接地址信息”,文本描述信息中可以显示有文本输入提示信息如“请输入链接到的显示文本”。
当获取到通过2051子页面输入链接地址信息和文本描述信息后,可以显示如206所示的共享文档页面,该页面中,包括链接有链接地址信息的文本描述信息“阿尔卑斯山脉”,以及内嵌组件2061中显示的视频。
其中,当检测到针对文本描述信息如“阿尔卑斯山脉”的触发操作如点击操作时,可以跳转显示链接到文本描述信息的链接地址信息对应的网页。如跳转到XX视频平台上链接地址信息对应的网页。
在一个示例中,即使通过2051子页面设置了链接地址信息和文本描述信息,也可以只显示如203指示的共享文档页面。
102、响应于针对文档***内容的描述信息的编辑操作,显示文档***内容的链接编辑页面;
可选的,上述编辑操作可以是点击、双击、长按等操作,本实施例对此没有限制。
在一个示例中,可选的,步骤“响应于针对文档***内容的描述信息的编辑操作,显示文档***内容的链接编辑页面”,可以包括:
响应于针对文档***内容的描述信息的编辑触发操作,在共享文档页面上显示内容编辑子页面,内容编辑子页面包括文档***内容的内容编辑控件;
响应于针对内容编辑控件的触发操作,显示文档***内容的链接编辑页面。
其中,链接编辑页面可以通过窗口、浮层等形式显示,本实施例对此没有限制。
本实施例的链接编辑页面是可以供用户输入目标链接地址信息的页面。
可选的,在一个示例中,可以通过快捷键操作的方式显示链接编辑页面,步骤“响应于针对文档***内容的描述信息的编辑操作,显示文档***内容的链接编辑页面”,可以包括:
响应于针对文档***内容的描述信息的预设快捷编辑操作,显示编辑控件列表,编辑控件列表包括链接编辑触发控件;
响应于针对链接编辑触发控件的触发操作,显示文档***内容的链接编辑页面。
其中,预设快捷编辑操作可以是通过键盘或鼠标等信息输入设备触发的,可选的预设快捷编辑操作可以是针对目标共享文档的鼠标右键点击操作。
在一个示例中,步骤“响应于针对文档***内容的描述信息的编辑操作,显示文档***内容的链接编辑页面”,还可以包括:
响应于针对文档***内容的描述信息的编辑触发操作,在共享文档页面上显示内容编辑子页面,内容编辑子页面包括文档***内容的内容编辑控件;
响应于针对内容编辑控件的触发操作,显示文档***内容的链接编辑页面。
其中,编辑触发操作可以是针对文档***内容的描述信息的点击、双击、长按等操作。
例如,参考图2d,207指示的页面为共享文档页面,页面中包括目标共享文档2012,目标共享文档2012包括文档***内容2072。响应于针对文档***内容2072的编辑触发操作如点击等操作,在共享文档页面207上显示内容编辑子页面2071,内容编辑子页面2071包括文档***内容的内容编辑控件如名为“链接编辑”的控件20711,当检测到针对该内容编辑控件20711的触发操作时,显示文档***内容的链接编辑页面(参考图2d中,208指示的共享文档页面中2081指示的窗口)。
该链接编辑页面可以包括链接地址输入控件,或者还可以包括文本编辑控件和编辑完成控件。
其中,用户可以通过链接地址输入控件输入目标链接地址信息,通过文本编辑控件输入目标文本描述信息。
103、获取通过链接编辑页面编辑的目标链接地址信息;
在链接编辑页面包括:链接地址输入控件的方案中,步骤103具体可以包括:获取通过链接地址输入控件编辑的目标链接地址信息。
其中,链接编辑页面可以包括编辑完成控件,获取通过链接地址输入控件编辑的目标链接地址信息,可以包括:当检测到针对链接地址输入控件编辑的输入操作时,获取输入链接地址输入控件的输入信息;当检测到针对编辑完成控件的确认操作时,将获取的输入信息确定为目标链接地址信息。
在一个可选的示例中,链接编辑页面还可以包括文本编辑控件和编辑完成控件,方法还包括:
响应于针对文本编辑控件的文本描述信息编辑操作,获取目标链接地址信息链接到的目标文本描述信息;
将文档***内容更新为目标链接地址信息对应的目标内容,包括:
响应于针对编辑完成控件的触发操作,将文档***内容更新为目标链接地址信息对应的目标内容,以及根据目标文本描述信息更新描述信息。
其中,若目标共享文档中原本显示有文档嵌入内容的(链接到链接地址信息的)文本描述信息,则根据目标文本描述信息更新描述信息,可以包括:将目标共享文档中显示的文本描述信息替换为(链接到目标链接地址信息的)目标文本描述信息;若目标共享文档中未显示文档嵌入内容的(链接到链接地址信息的)文本描述信息,则根据目标文本描述信息更新描述信息,可以包括:在目标共享文档中显示(链接到目标链接地址信息的)目标文本描述信息。
例如,还是参考图2d,图2d中共享文档页面208中显示有链接编辑页面2081,该链接编辑页面2081包括链接地址输入控件20811和文本编辑控件20812以及确认完成控件如名为“确认”的控件,获取通过链接地址输入控件20811编辑的目标链接地址信息如http://v.qq.com/x/page/···,响应于针对文本编辑控件20812的文本描述信息编辑操作,获取目标链接地址信息链接到的目标文本描述信息如“阿尔卑斯山的星空美景”,响应于针对“确认”控件的触发操作,将2072中的文档***内容更新为目标链接地址信息对应的目标内容(参考209指示的页面中的2091)。
在一个示例中,即使设置了目标文本描述信息,也可以不在共享文档页面中显示该目标文本描述信息(参考209指示的页面)。
在另一个示例中,设置了目标文本描述信息和目标链接地址信息后,共享文档页面如图2e中的210所示,包括目标内容对应的链接到目标链接地址信息的)目标文本描述信息2101,以及替换文档***内容的目标内容2102。
其中,当检测到针对目标文本描述信息的内容显示操作时,显示如211指示的页面,该页面是目标文本描述信息链接到的目标链接地址信息对应的网页。
在一个示例中,内容编辑子页面还包括链接展示区域,链接展示区域包括文档***内容的链接地址信息;本实施例中,可以直接对该链接展示区域中的链接地址信息进行编辑,以实现文档***内容的更新。
可选的,本实施例的方法还可以包括:当检测到针对文档***内容的链接地址信息的信息编辑操作时,获取通过信息编辑操作在链接展示区域输入的目标链接地址信息;
将文档***内容更新为目标链接地址信息对应的目标内容。
例如,参考图2d,在2071指示的内容编辑子页面还包括链接展示区域20712,该链接展示区域20712包括文档***内容的链接地址信息,用户可以在链接展示区域选中该链接地址信息,直接替换为目标链接地址信息,或者可以先删除该链接地址信息,再输入目标链接地址信息,之后,共享文档平台将文档***内容更新为目标链接地址信息对应的目标内容。
104、将文档***内容更新为目标链接地址信息对应的目标内容。
可选的,本实施例中,步骤104具体可以包括:
获取目标链接地址信息在对应的内容平台上的目标内嵌链接地址信息;
获取目标内嵌链接地址信息对应的目标内容;
将文档***内容更新为目标内嵌链接地址信息对应的目标内容。
其中,获取目标链接地址信息在对应的内容平台上的目标内嵌链接地址信息,可以包括:则根据目 标链接地址信息所属的内容平台的生成内嵌链接的规则,按类型将目标链接地址信息转换为内容平台的可以被***其他平台(如共享文档平台)内的目标内嵌链接地址信息。
具体的,可以将目标链接地址信息发送给对应的内容平台,触发内容平台按照自己的内嵌链接生成规则,将目标链接地址信息转换为内容平台的可以被***其他平台(如共享文档平台)内的目标内嵌链接地址信息。
本实施例中,获取目标内嵌链接地址信息对应的目标内容的步骤可以包括:
通过目标内嵌链接地址信息访问目标内嵌链接地址信息对应的内容平台;
从该内容平台获取目标内嵌链接地址信息对应的目标内容。
在一个示例中,步骤“获取目标链接地址信息在对应的内容平台上的目标内嵌链接地址信息;”之前,还可以包括:
检测目标链接地址信息,是否为目标内容平台的链接地址信息;
若是,则继续执行获取目标链接地址信息在对应的内容平台上的目标内嵌链接地址信息的步骤;
若否,则在共享文档页面显示内容***失败提示信息。
其中,检测目标链接地址信息,是否为目标内容平台的链接地址信息的具体方案,可以参考前述内容中“检测链接地址信息,是否为目标内容平台的链接地址信息”的方案,在此不再赘述。
在一个示例中,目标内嵌链接地址信息和内嵌链接地址信息,可以限定为同一内容平台的内嵌链接地址信息,若目标内嵌链接地址信息与内嵌链接地址信息对应的内容平台不同,则可以认为目标内嵌链接地址信息不是目标内容平台的链接地址信息,以此来保证文档***内容更新前后,内容都来自于相同内容平台。
在另一个示例中,目标内嵌链接地址信息和内嵌链接地址信息,对应的内容平台可以不同。
可选的,本实施例中,对于通过内嵌组件将内容平台的内容如文档***内容,目标内容等***共享文档的方案。可以直接对内嵌组件中的文档***内容进行替换,可选的,步骤“将文档***内容更新为目标内嵌链接地址信息对应的目标内容”,可以包括:
在内嵌组件中将文档***内容更新为目标内嵌链接地址信息对应的目标内容。
可以理解的是,还将内嵌组件中文档***内容的链接地址信息替换为目标内容的目标链接地址信息。
在另一个示例中,可以将文档***内容所在的内嵌组件删除,然后生成新的内嵌组件来***目标内容。
可选的,骤“将文档***内容更新为目标内嵌链接地址信息对应的目标内容”,可以包括:
删除文档***内容的内嵌组件;
在目标共享文档中生成新内嵌组件,在该新内嵌组件中***目标内嵌链接地址信息对应的目标内容的描述信息。
其中,目标内容的描述信息可以包括目标内容和目标内容的目标链接地址信息、目标内容的来源信息等。
在另一个示例中,共享文档平台可以设置有代理服务器,通过代理服务器访问内容平台。内嵌组件中文档***内容的描述信息可以包括:文档***内容和文档***内容的链接地址信息;
可选的,步骤“获取目标内嵌链接地址信息对应的目标内容”,可以包括:
将目标内嵌链接地址信息转换为目标文档内嵌链接地址信息,目标文档内嵌链接地址信息为代理服务器响应的地址信息;
向代理服务器发送包含目标文档内嵌链接地址信息的内容获取请求,触发代理服务器从目标文档内嵌链接地址信息中获取目标内嵌链接地址信息,并基于目标内嵌链接地址信息从对应的内容平台获取目标内容;
接收代理服务器发送的目标内容。
对应的,步骤“在内嵌组件中将文档***内容更新为目标内嵌链接地址信息对应的目标内容”,可以包括:
在内嵌组件中将文档***内容的链接地址信息更新为目标链接地址信息,将文档***内容更新为目标内容。
其中,将目标内嵌链接地址信息转换为目标文档内嵌链接地址信息,可以是在目标内嵌链接地址信息中添加代理服务器的指向信息,该指向信息可以用于指示终端将目标文档内嵌链接地址信息发送至代理服务器。
可选的,代理服务器还可以根据一定的规则对接收到的内嵌链接地址信息进行一定的过滤,避免关系文档平台不支持的内容***共享文档中。
可选的,步骤“向代理服务器发送包含目标文档内嵌链接地址信息的内容获取请求,触发代理服务器从目标文档内嵌链接地址信息中获取目标内嵌链接地址信息,并基于目标内嵌链接地址信息从对应的内容平台获取目标内容”,可以包括:
向代理服务器发送包含目标文档内嵌链接地址信息的内容获取请求,触发代理服务器从目标文档内嵌链接地址信息中获取目标内嵌链接地址信息,基于预设内嵌链接过滤规则确定目标内嵌链接地址信息是否为符合约束条件的内嵌链接地址信息,并在确定结果为是时,基于目标内嵌链接地址信息从对应的内容平台获取目标内容。
其中,预设内嵌过滤规则可以参考前述内容中的描述,预设内嵌过滤规则可以根据共享文档平台支持的目标内容平台设置,例如将目标内容平台的内嵌链接地址信息,确定为符合约束条件的内嵌链接地址信息,将不属于目标内容平台的内嵌链接地址信息,确定为不符合约束条件的内嵌链接地址信息,本实施例中,代理服务器对于非法内嵌链接地址信息进行拦截,拦截后,向终端发送链接异常信息,触发终端在文档共享页面显示链接异常提示信息,该链接异常提示信息用于提示目标内容不是共享文档平台支持***目标共享文档的内容。
下面结合图3b,对文档***内容的更新步骤进行详细的描述。
参考图3b,在目标共享文档中通过链接地址输入控件更新目标链接地址信息后,文档***内容的更新方案可以包括:
在用户通过链接地址输入控件输入目标链接地址信息后,共享文档平台基于目标链接地址信息访问该目标链接地址信息对应的内容平台,从内容平台获取目标链接地址信息对应的目标内嵌链接地址信息;
共享文档平台将目标内嵌链接地址信息,转换为目标文档内嵌链接地址信息;该目标文档内嵌链接地址信息是可以由代理服务器响应、解析和处理的链接地址信息;
向代理服务器发送包含目标文档内嵌链接地址信息的内容获取请求;
代理服务器从目标文档内嵌链接地址信息中解析出内容平台的目标内嵌链接地址信息;
代理服务器基于预设内嵌链接过滤规则确定目标内嵌链接地址信息是否为符合约束条件的内嵌链接地址信息,并在确定结果为是时,基于该目标内嵌链接地址信息从内容平台获取内嵌组件需要***的目标内容;
代理服务器将内嵌组件需要***的目标内容发送给共享文档平台;
共享文档平台接收该目标内容,并在文档***内容所在的内嵌组件中以该目标内容替换文档***内容,以该内容的目标链接地址信息替换文档***内容的链接地址信息。
其中,共享文档平台将内嵌组件更新后,可以将共享文档页面的数据发送给终端,以便终端显示更新后的共享文档页面。
采用本申请实施例,可以显示共享文档页面,共享文档页面包括目标共享文档的文档内容、文档***内容的描述信息,目标共享文档可供至少两个有权限的用户同时或非同时进行操作,目标共享文档与文档***内容来源于不同的内容平台;响应于针对文档***内容的描述信息的编辑操作,显示文档***内容的链接编辑页面;获取通过链接编辑页面编辑的目标链接地址信息;将文档***内容更新为目标链接地址信息对应的目标内容,由此,用户无需删除文档***内容,就可以实现对该文档***内容的更新,避免了相关技术中,对文档***内容先删除后添加带来的繁琐操作,也降低了由于删除操作产生错误删除的可能性。
为了更好地实施以上方法,相应的,本发明实施例还提供一种文档编辑装置。参考图4,该文档编辑装置包括:
共享文档页面显示单元401,用于显示共享文档页面,所述共享文档页面包括目标共享文档的文档内容、文档***内容的描述信息,所述目标共享文档可供至少两个有权限的用户同时或非同时进行操作,所述目标共享文档与所述文档***内容来源于不同的内容平台;
编辑触发单元402,用于响应于针对所述文档***内容的描述信息的编辑操作,显示所述文档***内容的链接编辑页面;
链接获取单元403,用于获取通过所述链接编辑页面编辑的目标链接地址信息;
内容更新单元404,用于将所述文档***内容更新为所述目标链接地址信息对应的目标内容。
在一些可选的示例中,编辑触发单元,用于:
响应于针对所述文档***内容的描述信息的编辑触发操作,在所述共享文档页面上显示内容编辑子 页面,所述内容编辑子页面包括所述文档***内容的内容编辑控件;
响应于针对所述内容编辑控件的触发操作,显示所述文档***内容的链接编辑页面。
在一些可选的示例中,所述内容编辑子页面还包括链接展示区域,所述链接展示区域包括所述文档***内容的链接地址信息;所述装置还包括:
链接地址信息获取单元,用于当检测到针对所述文档***内容的链接地址信息的信息编辑操作时,获取通过所述信息编辑操作在所述链接展示区域输入的目标链接地址信息;
目标内容更新单元,用于将所述文档***内容更新为所述目标链接地址信息对应的目标内容。
在一些可选的示例中,所述链接编辑页面包括:链接地址输入控件;
所述链接获取单元,用于:
获取通过所述链接地址输入控件编辑的目标链接地址信息。
在一些可选的示例中,所述链接编辑页面还包括文本编辑控件和编辑完成控件,所述装置还包括:
文本描述信息获取单元,用于响应于针对所述文本编辑控件的文本描述信息编辑操作,获取目标链接地址信息链接到的目标文本描述信息;
内容更新单元,用于:
响应于针对所述编辑完成控件的触发操作,将所述文档***内容更新为所述目标链接地址信息对应的目标内容,以及根据所述目标文本描述信息更新所述描述信息。
在一些可选的示例中,所述共享文档页面包括***内容展示区域,所述***内容展示区域包括:所述文档***内容的描述信息;
所述装置还包括:
内容展示单元,用于当检测到针对所述文档***内容的描述信息的内容展示操作时,在所述***内容展示区域内展示所述文档***内容。
在一些可选的示例中,所述共享文档页面显示单元,用于:
显示共享文档页面,所述共享文档页面包括目标共享文档的文档内容;
响应于针对所述目标共享文档的内容***操作,在所述共享文档页面显示内容平台列表,所述内容平台列表包括至少一个候选内容平台;
响应于针对目标内容平台的选定操作,显示内容***子页面;
获取通过所述内容***子页面编辑的链接地址信息,以及获取所述链接地址信息链接到的文档***内容的描述信息;
在所述共享文档页面***所述文档***内容的描述信息。
在一些可选的示例中,所述共享文档页面包括内容***控件;
所述共享文档页面显示单元,用于:
响应于针对所述内容***控件的内容***操作,在所述共享文档页面显示内容***管理控件列表,所述内容***管理控件列表包括内容平台选择控件;
响应于针对所述内容平台选择控件的触发操作,在所述共享文档页面显示内容平台列表。
在一些可选的示例中,内容更新单元,用于:
获取所述目标链接地址信息在对应的内容平台上的目标内嵌链接地址信息;
获取所述目标内嵌链接地址信息对应的目标内容;
将所述文档***内容更新为所述目标内嵌链接地址信息对应的目标内容。
在一些可选的示例中,内容更新单元,用于若所述目标链接地址信息为目标内容平台的链接地址信息,则继续执行所述获取所述目标链接地址信息在对应的内容平台上的目标内嵌链接地址信息的步骤;若所述目标链接地址信息不是目标内容平台的链接地址信息,则在所述共享文档页面显示内容***失败提示信息。
在一些可选的示例中,所述目标共享文档包括内嵌组件,所述文档***内容的描述信息通过所述内嵌组件***所述目标共享文档;
所述内容更新单元,用于:
在所述内嵌组件中将所述文档***内容更新为所述目标内嵌链接地址信息对应的目标内容。
在一些可选的示例中,所述内嵌组件中所述文档***内容的描述信息包括:所述文档***内容和所述文档***内容的链接地址信息;
所述内容更新单元,用于:
将所述目标内嵌链接地址信息转换为目标文档内嵌链接地址信息,所述目标文档内嵌链接地址信息为代理服务器响应的地址信息;
向所述代理服务器发送包含所述目标文档内嵌链接地址信息的内容获取请求,触发所述代理服务器从所述目标文档内嵌链接地址信息中获取所述目标内嵌链接地址信息,并基于所述目标内嵌链接地址信息从对应的内容平台获取目标内容;
接收所述代理服务器发送的目标内容;
在所述内嵌组件中将所述文档***内容的链接地址信息更新为所述目标链接地址信息,将所述文档***内容更新为所述目标内容。
在一些可选的示例中,内容更新单元,用于:
向所述代理服务器发送包含所述目标文档内嵌链接地址信息的内容获取请求,触发所述代理服务器从所述目标文档内嵌链接地址信息中获取所述目标内嵌链接地址信息,基于预设内嵌链接过滤规则确定所述目标内嵌链接地址信息是否为符合约束条件的链接地址信息,并在确定结果为是时,基于所述目标内嵌链接地址信息从对应的内容平台获取目标内容。
采用本申请实施例的装置,用户无需删除文档***内容,就可以实现对该文档***内容的更新,避免了相关技术中,对文档***内容先删除后添加带来的繁琐操作,也降低了由于删除操作产生错误删除的可能性。
此外,本发明实施例还提供一种计算机设备,该计算机设备可以为终端或者服务器,如图5所示,其示出了本发明实施例所涉及的计算机设备的结构示意图,具体来讲:
该计算机设备可以包括一个或者一个以上处理核心的处理器501、一个或一个以上计算机可读存储介质的存储器502、电源503和输入单元504等部件。本领域技术人员可以理解,图5中示出的计算机设备结构并不构成对计算机设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:
处理器501是该计算机设备的控制中心,利用各种接口和线路连接整个计算机设备的各个部分,通过运行或执行存储在存储器502内的软件程序和/或模块,以及调用存储在存储器502内的数据,执行计算机设备的各种功能和处理数据,从而对计算机设备进行整体监控。可选的,处理器501可包括一个或多个处理核心;优选的,处理器501可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作***、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器501中。
存储器502可用于存储软件程序以及模块,处理器501通过运行存储在存储器502的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器502可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据计算机设备的使用所创建的数据等。此外,存储器502可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器502还可以包括存储器控制器,以提供处理器501对存储器502的访问。
计算机设备还包括给各个部件供电的电源503,优选的,电源503可以通过电源管理***与处理器501逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。电源503还可以包括一个或一个以上的直流或交流电源、再充电***、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。
该计算机设备还可包括输入单元504,该输入单元504可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。
尽管未示出,计算机设备还可以包括显示单元等,在此不再赘述。具体在本实施例中,计算机设备中的处理器501会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行文件加载到存储器502中,并由处理器501来运行存储在存储器502中的应用程序,从而实现各种功能,如下:
显示共享文档页面,所述共享文档页面包括目标共享文档的文档内容、文档***内容的描述信息,所述目标共享文档可供至少两个有权限的用户同时或非同时进行操作,所述目标共享文档与所述文档***内容来源于不同的内容平台;
响应于针对所述文档***内容的描述信息的编辑操作,显示所述文档***内容的链接编辑页面;
获取通过所述链接编辑页面编辑的目标链接地址信息;
将所述文档***内容更新为所述目标链接地址信息对应的目标内容。
以上各个操作的具体实施可参见前面的实施例,在此不再赘述。
本领域普通技术人员可以理解,上述实施例的各种方法中的全部或部分步骤可以通过指令来完成,或通过指令控制相关的硬件来完成,该指令可以存储于一计算机可读存储介质中,并由处理器进行加载 和执行。
为此,本发明实施例还提供一种存储介质,其中存储有多条指令,该指令能够被处理器进行加载,以执行本发明实施例所提供的文档编辑方法。
根据本申请的一个方面,还提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述实施例中的各种可选实现方式中提供的方法。
以上各个操作的具体实施可参见前面的实施例,在此不再赘述。
其中,该存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。
由于该存储介质中所存储的指令,可以执行本发明实施例所提供的文档编辑方法中的步骤,因此,可以实现本发明实施例所提供的文档编辑方法所能实现的有益效果,详见前面的实施例,在此不再赘述。
以上对本发明实施例所提供的一种文档编辑方法、装置、计算机设备和存储介质进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上,本说明书内容不应理解为对本发明的限制。

Claims (20)

  1. 一种文档编辑方法,由计算机设备执行,其特征在于,包括:
    显示共享文档页面,所述共享文档页面包括目标共享文档的文档内容、文档***内容的描述信息,所述目标共享文档与所述文档***内容来源于不同的内容平台;
    响应于针对所述文档***内容的描述信息的编辑操作,显示所述文档***内容的链接编辑页面;
    获取通过所述链接编辑页面编辑的目标链接地址信息;
    将所述文档***内容更新为所述目标链接地址信息对应的目标内容。
  2. 根据权利要求1所述的文档编辑方法,其特征在于,所述响应于针对所述文档***内容的描述信息的编辑操作,显示所述文档***内容的链接编辑页面,包括:
    响应于针对所述文档***内容的描述信息的编辑触发操作,在所述共享文档页面上显示内容编辑子页面,所述内容编辑子页面包括所述文档***内容的内容编辑控件;
    响应于针对所述内容编辑控件的触发操作,显示所述文档***内容的链接编辑页面。
  3. 根据权利要求2所述的文档编辑方法,其特征在于,所述内容编辑子页面还包括链接展示区域,所述链接展示区域包括所述文档***内容的链接地址信息;所述方法还包括:
    当检测到针对所述文档***内容的链接地址信息的信息编辑操作时,获取在所述链接展示区域输入的目标链接地址信息;
    将所述文档***内容更新为所述目标链接地址信息对应的目标内容。
  4. 根据权利要求1所述的文档编辑方法,其特征在于,所述链接编辑页面包括:链接地址输入控件;
    所述获取通过所述链接编辑页面编辑的目标链接地址信息,包括:
    获取通过所述链接地址输入控件编辑的目标链接地址信息。
  5. 根据权利要求4所述的文档编辑方法,其特征在于,所述链接编辑页面还包括文本编辑控件和编辑完成控件,所述方法还包括:
    响应于针对所述文本编辑控件的文本描述信息编辑操作,获取目标链接地址信息链接到的目标文本描述信息;
    所述将所述文档***内容更新为所述目标链接地址信息对应的目标内容,包括:
    响应于针对所述编辑完成控件的触发操作,将所述文档***内容更新为所述目标链接地址信息对应的目标内容,以及根据所述目标文本描述信息更新所述文档***内容的描述信息。
  6. 根据权利要求1所述的文档编辑方法,其特征在于,所述显示共享文档页面,包括:
    显示共享文档页面,所述共享文档页面包括目标共享文档的文档内容;
    响应于针对所述目标共享文档的内容***操作,在所述共享文档页面显示内容平台列表,所述内容平台列表包括至少一个候选内容平台;
    响应于针对目标内容平台的选定操作,显示内容***子页面;
    获取通过所述内容***子页面编辑的链接地址信息,以及获取所述链接地址信息链接到的文档*** 内容的描述信息;
    在所述共享文档页面***所述文档***内容的描述信息。
  7. 根据权利要求6所述的文档编辑方法,其特征在于,所述共享文档页面包括内容***控件;
    所述响应于针对所述目标共享文档的内容***操作,在所述共享文档页面显示内容平台列表,包括:
    响应于针对所述内容***控件的内容***操作,在所述共享文档页面显示内容***管理控件列表,所述内容***管理控件列表包括内容平台选择控件;
    响应于针对所述内容平台选择控件的触发操作,在所述共享文档页面显示内容平台列表。
  8. 根据权利要求1所述的文档编辑方法,其特征在于,所述将所述文档***内容更新为所述目标链接地址信息对应的目标内容,包括:
    获取所述目标链接地址信息在对应的内容平台上的目标内嵌链接地址信息;
    获取所述目标内嵌链接地址信息对应的目标内容;
    将所述文档***内容更新为所述目标内嵌链接地址信息对应的目标内容。
  9. 根据权利要求8所述的文档编辑方法,其特征在于,所述获取所述目标链接地址信息在对应的内容平台上的目标内嵌链接地址信息之前,该方法还包括:
    若所述目标链接地址信息为目标内容平台的链接地址信息,则继续执行所述获取所述目标链接地址信息在对应的内容平台上的目标内嵌链接地址信息的步骤;
    若所述目标链接地址信息不是所述目标内容平台的链接地址信息,则在所述共享文档页面显示内容***失败提示信息。
  10. 根据权利要求8所述的文档编辑方案,其特征在于,所述目标共享文档包括内嵌组件,所述文档***内容的描述信息通过所述内嵌组件***所述目标共享文档;
    所述将所述文档***内容更新为所述目标内嵌链接地址信息对应的目标内容,包括:
    在所述内嵌组件中将所述文档***内容更新为所述目标内嵌链接地址信息对应的目标内容。
  11. 根据权利要求8所述的文档编辑方案,其特征在于,所述内嵌组件中所述文档***内容的描述信息包括:所述文档***内容和所述文档***内容的链接地址信息;
    所述获取所述目标内嵌链接地址信息对应的目标内容,包括:
    将所述目标内嵌链接地址信息转换为目标文档内嵌链接地址信息,所述目标文档内嵌链接地址信息为代理服务器响应的地址信息;
    向所述代理服务器发送包含所述目标文档内嵌链接地址信息的内容获取请求,触发所述代理服务器从所述目标文档内嵌链接地址信息中获取所述目标内嵌链接地址信息,并基于所述目标内嵌链接地址信息从对应的内容平台获取目标内容;
    接收所述代理服务器发送的目标内容;
    所述在所述内嵌组件中将所述文档***内容更新为所述目标内嵌链接地址信息对应的目标内容,包括:
    在所述内嵌组件中将所述文档***内容的链接地址信息更新为所述目标链接地址信息,将所述文档 ***内容更新为所述目标内容。
  12. 根据权利要求11所述的文档编辑方法,其特征在于,所述向所述代理服务器发送包含所述目标文档内嵌链接地址信息的内容获取请求,触发所述代理服务器从所述目标文档内嵌链接地址信息中获取所述目标内嵌链接地址信息,并基于所述目标内嵌链接地址信息从对应的内容平台获取目标内容,包括:
    向所述代理服务器发送包含所述目标文档内嵌链接地址信息的内容获取请求,触发所述代理服务器从所述目标文档内嵌链接地址信息中获取所述目标内嵌链接地址信息,基于预设内嵌链接过滤规则确定所述目标内嵌链接地址信息是否为符合约束条件的内嵌链接地址信息,并在确定结果为是时,基于所述目标内嵌链接地址信息从对应的内容平台获取目标内容。
  13. 一种文档编辑装置,其特征在于,包括:
    共享文档页面显示单元,用于显示共享文档页面,所述共享文档页面包括目标共享文档的文档内容、文档***内容的描述信息,所述目标共享文档可供至少两个有权限的用户同时或非同时进行操作,所述目标共享文档与所述文档***内容来源于不同的内容平台;
    编辑触发单元,用于响应于针对所述文档***内容的描述信息的编辑操作,显示所述文档***内容的链接编辑页面;
    链接获取单元,用于获取通过所述链接编辑页面编辑的目标链接地址信息;
    内容更新单元,用于将所述文档***内容更新为所述目标链接地址信息对应的目标内容。
  14. 根据权利要求13所述的文档编辑装置,其特征在于,所述编辑触发单元,还用于:
    响应于针对所述文档***内容的描述信息的编辑触发操作,在所述共享文档页面上显示内容编辑子页面,所述内容编辑子页面包括所述文档***内容的内容编辑控件;
    响应于针对所述内容编辑控件的触发操作,显示所述文档***内容的链接编辑页面。
  15. 根据权利要求14所述的文档编辑装置,其特征在于,所述内容编辑子页面还包括链接展示区域,所述链接展示区域包括所述文档***内容的链接地址信息;所述装置还包括:
    链接地址信息获取单元,用于当检测到针对所述文档***内容的链接地址信息的信息编辑操作时,获取在所述链接展示区域输入的目标链接地址信息;
    目标内容更新单元,用于将所述文档***内容更新为所述目标链接地址信息对应的目标内容。
  16. 根据权利要求13所述的文档编辑装置,其特征在于,所述链接编辑页面包括:链接地址输入控件;
    所述链接获取单元,还用于获取通过所述链接地址输入控件编辑的目标链接地址信息。
  17. 根据权利要求16所述的文档编辑装置,其特征在于,所述链接编辑页面还包括文本编辑控件和编辑完成控件,所述装置还包括:
    文本描述信息获取单元,用于响应于针对所述文本编辑控件的文本描述信息编辑操作,获取目标链接地址信息链接到的目标文本描述信息;
    所述内容更新单元,还用于响应于针对所述编辑完成控件的触发操作,将所述文档***内容更新为 所述目标链接地址信息对应的目标内容,以及根据所述目标文本描述信息更新所述文档***内容的描述信息。
  18. 根据权利要求13所述的文档编辑装置,其特征在于,所述共享文档页面显示单元,还用于:
    显示共享文档页面,所述共享文档页面包括目标共享文档的文档内容;
    响应于针对所述目标共享文档的内容***操作,在所述共享文档页面显示内容平台列表,所述内容平台列表包括至少一个候选内容平台;
    响应于针对目标内容平台的选定操作,显示内容***子页面;
    获取通过所述内容***子页面编辑的链接地址信息,以及获取所述链接地址信息链接到的文档***内容的描述信息;
    在所述共享文档页面***所述文档***内容的描述信息。
  19. 一种计算机设备,其特征在于,包括存储器,处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现如权利要求1-13任一项所述方法的步骤。
  20. 一种存储介质,其特征在于,其上存储有计算机程序,当计算机程序在计算机设备上运行时,使得所述计算机设备执行如权利要求1-13任一项所述方法的步骤。
PCT/CN2021/116695 2020-09-28 2021-09-06 一种文档编辑方法、装置、计算机设备和存储介质 WO2022062888A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP21871260.2A EP4131054A4 (en) 2020-09-28 2021-09-06 DOCUMENT EDITING METHOD AND APPARATUS, COMPUTER DEVICE AND INFORMATION MEDIUM
US17/978,908 US20230046716A1 (en) 2020-09-28 2022-11-01 Document editing method and apparatus, computer device, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011045860.9A CN112632919B (zh) 2020-09-28 2020-09-28 一种文档编辑方法、装置、计算机设备和存储介质
CN202011045860.9 2020-09-28

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/978,908 Continuation US20230046716A1 (en) 2020-09-28 2022-11-01 Document editing method and apparatus, computer device, and storage medium

Publications (1)

Publication Number Publication Date
WO2022062888A1 true WO2022062888A1 (zh) 2022-03-31

Family

ID=75302727

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/116695 WO2022062888A1 (zh) 2020-09-28 2021-09-06 一种文档编辑方法、装置、计算机设备和存储介质

Country Status (4)

Country Link
US (1) US20230046716A1 (zh)
EP (1) EP4131054A4 (zh)
CN (2) CN112632919B (zh)
WO (1) WO2022062888A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112632919B (zh) * 2020-09-28 2022-03-08 腾讯科技(深圳)有限公司 一种文档编辑方法、装置、计算机设备和存储介质
CN113158619B (zh) * 2021-04-16 2022-05-17 腾讯科技(深圳)有限公司 文档处理方法、装置、计算机可读存储介质及计算机设备
CN114189530A (zh) * 2021-12-14 2022-03-15 南京讯天游科技有限公司 基于互联网的资源协同方法及***
CN116662685A (zh) * 2022-02-17 2023-08-29 腾讯科技(深圳)有限公司 信息处理方法、装置和存储介质及电子设备
CN114564267B (zh) * 2022-02-28 2024-03-26 北京字跳网络技术有限公司 信息处理方法、装置、电子设备和存储介质
CN114780187A (zh) * 2022-04-11 2022-07-22 北京有竹居网络技术有限公司 提示方法及设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101454774A (zh) * 2006-03-31 2009-06-10 谷歌公司 协作在线电子表格应用
US20140344658A1 (en) * 2013-05-15 2014-11-20 Microsoft Corporation Enhanced links in curation and collaboration applications
CN109918345A (zh) * 2019-02-22 2019-06-21 腾讯科技(深圳)有限公司 文档处理方法、装置、终端及存储介质
CN111651418A (zh) * 2020-05-29 2020-09-11 腾讯科技(深圳)有限公司 一种文档内容下载方法、装置、计算机设备和存储介质
CN112632919A (zh) * 2020-09-28 2021-04-09 腾讯科技(深圳)有限公司 一种文档编辑方法、装置、计算机设备和存储介质

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9606972B2 (en) * 2011-11-09 2017-03-28 Microsoft Technology Licensing, Llc Document collaboration with collaboration context data
US9760803B2 (en) * 2013-05-15 2017-09-12 Google Inc. Associating classifications with images
CN104750739A (zh) * 2013-12-27 2015-07-01 珠海金山办公软件有限公司 一种用于实现用户组之间共享文档的方法及装置
CN104978325B (zh) * 2014-04-03 2019-06-25 腾讯科技(深圳)有限公司 一种网页处理方法、装置及用户终端
US10409901B2 (en) * 2015-09-18 2019-09-10 Microsoft Technology Licensing, Llc Providing collaboration communication tools within document editor
KR101815924B1 (ko) * 2016-12-02 2018-01-08 주식회사 한글과컴퓨터 복수의 유저들이 온라인으로 전자 문서의 작성이 가능하도록 협업 환경을 제공하는 온라인 문서 작성 서비스 장치 및 그 동작 방법
CN109492210A (zh) * 2018-10-26 2019-03-19 天津字节跳动科技有限公司 一种在线文档内容展示方法、装置、存储介质及电子设备
CN109815200B (zh) * 2019-01-14 2021-05-07 腾讯科技(深圳)有限公司 一种文件分享方法、装置及存储介质
CN110046309A (zh) * 2019-04-02 2019-07-23 北京字节跳动网络技术有限公司 文档输入内容的处理方法、装置、电子设备和存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101454774A (zh) * 2006-03-31 2009-06-10 谷歌公司 协作在线电子表格应用
US20140344658A1 (en) * 2013-05-15 2014-11-20 Microsoft Corporation Enhanced links in curation and collaboration applications
CN109918345A (zh) * 2019-02-22 2019-06-21 腾讯科技(深圳)有限公司 文档处理方法、装置、终端及存储介质
CN111651418A (zh) * 2020-05-29 2020-09-11 腾讯科技(深圳)有限公司 一种文档内容下载方法、装置、计算机设备和存储介质
CN112632919A (zh) * 2020-09-28 2021-04-09 腾讯科技(深圳)有限公司 一种文档编辑方法、装置、计算机设备和存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ANONYMOUS: "How to Add A Link to Tencent Docs Slides", IEFANS.NET, 5 August 2020 (2020-08-05), pages 1 - 3, XP055915155, Retrieved from the Internet <URL:https://www.iefans.net/a/v1055881.html> [retrieved on 20220425] *

Also Published As

Publication number Publication date
CN112632919A (zh) 2021-04-09
EP4131054A1 (en) 2023-02-08
US20230046716A1 (en) 2023-02-16
CN112632919B (zh) 2022-03-08
CN114564922A (zh) 2022-05-31
EP4131054A4 (en) 2023-09-27

Similar Documents

Publication Publication Date Title
WO2022062888A1 (zh) 一种文档编辑方法、装置、计算机设备和存储介质
US11740891B2 (en) Providing access to a hybrid application offline
US10673932B2 (en) System and method for abstraction of objects for cross virtual universe deployment
US9705946B2 (en) Method to initiate server based collaboration on e-mail attachments
AU2017387668B2 (en) Content management features for messaging services
US9060007B2 (en) System and methods for facilitating the synchronization of data
US11080344B2 (en) Cloud-native documents integrated with legacy tools
US9729672B2 (en) Collaborative editing
US20210048928A1 (en) Contact cards with dynamic interaction information
US20200004809A1 (en) Referential gestures within content items
CN114895901A (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: 21871260

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021871260

Country of ref document: EP

Effective date: 20221101

NENP Non-entry into the national phase

Ref country code: DE