Method and apparatus for processing data using cloud document components

The method and apparatus facilitate the use of cloud document components in non-browser environments by authenticating clients and providing cross-domain communication, enabling versatile data processing and rendering capabilities.

JP2024542862AInactive Publication Date: 2024-11-15BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2024536197
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-12-17
Filing Date
2022-12-13
Publication Date
2024-11-15
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Cloud document components are currently only applicable to browsers and lack technical enablement for application in other scenes.

Method used

A method and apparatus that enable cloud document components to authenticate clients, load documents, and provide functionality for rendering web pages across different platforms using access tokens, custom configuration information, and cross-domain communication.

Benefits of technology

Enables the application of cloud document components beyond browsers, allowing for seamless data processing and rendering of cloud documents across various clients and platforms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024542862000001_ABST
    Figure 2024542862000001_ABST
Patent Text Reader

Abstract

The present application discloses a method for processing data by a cloud document component. The method can be executed by a first client. The first client can send an access token to the cloud document component, and the access token is used to allow the cloud document component to authenticate the first client. When the cloud document component receives the access token, it can use the access token to authenticate the first client. After the cloud document component verifies that the first client has passed the authentication, the first client can load a cloud document on the first client using the cloud document component in response to the cloud document component determining that the first client has passed the authentication. The cloud document component can load a cloud document using a first component provided by the first client, and the first component can provide a function for rendering a web page. As can be seen, according to the present invention, the cloud document component can be applied to the first client, and the first client can also apply a cloud document.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This application claims priority to a Chinese patent application bearing application number 202111554270.3 and title "Data processing method and device with cloud document component" filed with the China Intellectual Property Patent Office on December 17, 2021, the entire contents of which are incorporated herein by reference.

[0002] The present application relates to the data processing field, and in particular to a method and apparatus for data processing with a cloud document component. [Background technology]

[0003] Cloud documents can be edited by multiple users simultaneously, which can effectively promote information sharing. Currently, cloud document components open up cloud documents in the form of components, allowing system developers to develop applications at the web level, and realize products based on cloud documents in the browser.

[0004] Currently, the cloud documents component is only applicable to the browser and lacks the technical enablement to apply it to other scenes. Summary of the Invention

[0005] The technical problem that the present application aims to solve is that the cloud document component cannot be applied to other scenes other than browsers, and to provide a method and apparatus for data processing using the cloud document component.

[0006] According to a first aspect, an embodiment of the present application provides a method for data processing by a cloud document component, the method being applied to a first client, the method comprising: sending an access token to a cloud documents component that authenticates the first client to the cloud documents component; In response to the cloud document component determining that the first client has passed authentication, loading a cloud document at the first client using the cloud document component, wherein the cloud document component loads the cloud document using a first component provided by the first client, the first component being used to provide functionality for rendering a web page.

[0007] Preferably, the method comprises the steps of: The first client further includes sending custom setting information to the cloud document component to customize a function of the cloud document.

[0008] Preferably, the method comprises the steps of: The method further includes a step in which the first client obtains event data returned by a second client via an interface provided to the first client by the cloud document component, wherein the cloud document component obtains the event data returned by the second client by invoking an interface in the second client via the interface provided by the first client, the interface being used to provide cross-domain communication functionality.

[0009] Preferably, the step of the first client obtaining the event data returned by the second client through an interface provided to the first client by the cloud document component includes: The first client obtains the event data via a callback function and an interface provided to the first client by the cloud document component.

[0010] According to a second aspect, an embodiment of the present application provides a method for processing data by a cloud document component, the method comprising: The cloud document component receives an access token sent from the first client; the cloud document component authenticating the first client using the access token; The cloud document component includes a step of loading the cloud document using a first component provided by the first client after determining that the first client has passed authentication, the first component being used to provide functionality for rendering a web page.

[0011] Preferably, the method comprises the steps of: The method further includes a step in which the cloud document component receives custom setting information sent by the first client, the custom setting information being used to customize a function of the cloud document.

[0012] Preferably, the method comprises the steps of: The cloud document component receives a handshake message sent by a second client, and sends a response message to the second client in response to the handshake message; The cloud document component further includes sending the access token to the second client.

[0013] Preferably, when the cloud document component receives custom setting information sent by the first client, the method includes: The cloud document component further includes sending the custom setting information to the second client.

[0014] Preferably, the method comprises the steps of: the cloud document component obtaining event data returned by the second client by invoking an interface in the second client via an interface provided by the first client, the interface being used to provide cross-domain communication functionality; The cloud documents component further includes sending the event data returned by the second client to the first client via an interface provided by the cloud documents component to the first client.

[0015] Preferably, the step of the cloud documents component sending the event data returned by the second client to the first client via an interface provided by the cloud documents component to the first client comprises: The cloud document component includes a step of sending event data returned by the cloud document to the first client via a callback function of the first client that monitors events and an interface provided by the cloud document component to the first client.

[0016] According to a third aspect, an embodiment of the present application provides a method for processing data by a cloud document component, the method comprising: The second client retrieves a cloud document webpage in response to a request for a cloud document component that loads the cloud document using the first component provided by the applet application; The second client sends the cloud document webpage to the cloud document component.

[0017] Preferably, the method comprises the steps of: the second client sending a handshake message to the cloud document component; The method further includes the step of: receiving, by the second client, a response message to the handshake message sent by the cloud document component.

[0018] Preferably, the method comprises the steps of: The method further includes a step in which the second client receives an access token and custom setting information sent by the cloud document component, wherein the access token is used by the cloud document component to authenticate the applet application and the custom setting information is used to customize functionality of cloud documents.

[0019] Preferably, the step of obtaining the cloud document webpage comprises: The second client then sends a HyperText Transfer Protocol (http) request carrying the access token and / or custom setting information to obtain the cloud document webpage.

[0020] Preferably, the method comprises the steps of: The second client further includes registering an interface to be called by the cloud document component.

[0021] Preferably, the method comprises the steps of: The method further includes a step in which the second client, in response to a monitored event being triggered, sends event data to the cloud document component via an interface on the second client and an interface provided by the applet application.

[0022] According to a fourth aspect, an embodiment of the present application provides a data processing device with a cloud document component, the data processing device being applied to a first client, comprising: The apparatus comprises: a first sending means for sending an access token to the cloud documents component that authenticates the first client to the cloud documents component; and a loading means for loading a cloud document using the cloud document component at the first client in response to the cloud document component determining that the first client has passed authentication, wherein the cloud document component loads the cloud document using a first component provided by the first client, the first component being used to provide functionality for rendering a web page.

[0023] Preferably, the apparatus comprises: The cloud document component further includes a second sending means for sending custom setting information for customizing a function of the cloud document to the cloud document component.

[0024] Preferably, the apparatus comprises: The system further includes an acquisition means for acquiring event data returned by a second client via an interface provided to the first client by the cloud document component, wherein the cloud document component acquires the event data returned by the second client by invoking an interface in the second client via the interface provided by the first client, the interface being used to provide cross-domain communication functionality.

[0025] Preferably, the acquiring means comprises: Used to obtain the event data via a callback function and an interface provided by the cloud document component to the first client.

[0026] According to a fifth aspect, an embodiment of the present application provides a data processing device with a cloud document component, the data processing device being applied to the cloud document component, comprising: The apparatus comprises: a first receiving means for receiving an access token transmitted from a first client; an authentication means for authenticating the first client by using the access token; and a loading means for loading the cloud document using a first component provided by the first client after determining that the first client has passed authentication, the first component being used to provide functionality for rendering a web page.

[0027] Preferably, the apparatus comprises: The method further comprises a second receiving means for receiving custom setting information sent by the first client, the custom setting information being used to customize a function of a cloud document.

[0028] Preferably, the apparatus comprises: a third receiving means for receiving a handshake message sent by a second client and sending a response message to the second client in response to the handshake message; and a first sending means for sending the access token to the second client.

[0029] Preferably, when the cloud document component receives custom setting information sent by the first client, the device: The system further comprises a second sending means for sending the custom setting information to the second client.

[0030] Preferably, the apparatus comprises: a calling means for obtaining event data returned by the second client by calling an interface in the second client via an interface provided by the first client, the interface being used to provide a function for cross-domain communication; and a third sending means for sending the event data returned by the second client to the first client via an interface provided by the cloud documents component to the first client.

[0031] Preferably, the third transmission means It is used to send event data returned by the cloud document to the first client via the first client's callback function that monitors events and the interface provided to the first client by the cloud document component.

[0032] According to a sixth aspect, an embodiment of the present application provides a data processing device with a cloud document component, adapted for a second client, the device comprising: an acquiring means for acquiring a cloud document webpage in response to a request from a cloud document component that loads a cloud document using a first component provided by an applet application; and a first sending means for sending the cloud documents webpage to the cloud documents component.

[0033] Preferably, the apparatus comprises: A second sending means for sending a handshake message to the cloud document component; and a first receiving means for receiving a response message to the handshake message sent by the cloud document component.

[0034] Preferably, the apparatus comprises: The system further includes a second receiving means for receiving an access token and custom setting information sent by the cloud document component, wherein the access token is used by the cloud document component to authenticate the applet application and the custom setting information is used to customize functionality of cloud documents.

[0035] Preferably, the acquiring means comprises: In response to a request from the cloud document component to load a cloud document using a first component provided by an applet application, a HyperText Transfer Protocol (HTTP) request carrying the access token and / or custom configuration information is sent to obtain the cloud document webpage.

[0036] Preferably, the apparatus comprises: The method further comprises: registering means for registering an interface to be invoked by the cloud document component.

[0037] Preferably, the apparatus comprises: The method further comprises a third sending means for sending event data to the cloud document component via an interface at the second client and an interface provided by the applet application in response to a monitored event being triggered.

[0038] According to a seventh aspect, an embodiment of the present application provides an apparatus, the apparatus comprising a processor and a memory; The processor is adapted to execute instructions stored in the memory in order for the device to perform the method according to any one of the first aspect above, or any one of the second aspect above, or any one of the third aspect above.

[0039] According to an eighth aspect, an embodiment of the present application provides a computer readable storage medium comprising instructions for causing an apparatus to perform a method according to any one of the first aspect above, or any one of the second aspect above, or any one of the third aspect above.

[0040] According to a ninth aspect, an embodiment of the present application provides a computer program product which, when executed by a computer, causes the computer to perform a method according to any one of the first aspect above, or any one of the second aspect above, or any one of the third aspect above.

[0041] Compared with the prior art, the embodiments of the present application have the following advantages:

[0042] An embodiment of the present application provides a method for processing data by a cloud document component. In one example, the method can be executed by a first client. In one example, the first client can send an access token to the cloud document component, and the access token is used to have the cloud document component authenticate the first client. After the cloud document component receives the access token, the access token can be used to authenticate the first client. After the cloud document component verifies that the first client has passed authentication, the first client loads a cloud document on the first client using the cloud document component in response to the cloud document component determining that the first client has passed authentication. The cloud document component can load the cloud document using a first component provided by the first client, and the first component can provide a function for rendering a web page. As can be seen, according to the present invention, the cloud document component can be applied to a first client, and the first client can also apply a cloud document.

[0043] An embodiment of the present application provides a method for processing data by a cloud document component. The method is executable by the cloud document component. In one example, the cloud document component can receive an access token sent by a first client. The cloud document component then uses the access token to authenticate the first client. After determining that the first client has passed the authentication, the cloud document component uses a first component provided by the first client to load the cloud document. The first component can provide a function for rendering a web page. As can be seen, according to the present proposal, the cloud document component can use a first component provided by the first client to load the cloud document. In this way, the cloud document component is applicable to the first client, and the first client can also apply the cloud document.

[0044] An embodiment of the present application provides a data processing method by a cloud document component. The method can be executed by a second client. In one example, the cloud document component can send a request to the second client to load a first component cloud document provided by a first client, and the second client can obtain a cloud document webpage in response to the request and send the cloud document webpage to the cloud document component. As can be seen, according to the present proposal, the cloud document component can apply the cloud document component to the first client by utilizing the first component provided by the first client to realize the purpose of loading the cloud document, and the first client can also apply the cloud document. [Brief description of the drawings]

[0045] In order to more clearly describe the technical solutions of the embodiments or prior art of the present disclosure, the accompanying drawings necessary for describing the embodiments or prior art are briefly introduced. It is clear that the accompanying drawings in the following description are only some of the embodiments described in this application. It is clear that those skilled in the art can obtain other accompanying drawings from these accompanying drawings without requiring creative ingenuity.

[0046] [Figure 1] FIG. 2 is a signaling interaction diagram of a data processing method by a cloud document component according to an embodiment of the present application. [Diagram 2] FIG. 2 is a schematic diagram of a data processing device with a cloud document component according to an embodiment of the present application. [Diagram 3] FIG. 2 is a schematic diagram of a data processing device with a cloud document component according to an embodiment of the present application. [Figure 4] FIG. 2 is a schematic diagram of a data processing device with a cloud document component according to an embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0047] In order to make those skilled in the art better understand the present application, the technical solutions of the embodiments of the present application will be described clearly and completely with reference to the accompanying drawings of the embodiments of the present application. It is clear that the described embodiments are only some embodiments, not all embodiments of the present disclosure. Based on the embodiments of the present application, those skilled in the art can obtain other embodiments without creative ingenuity, and all of them are included in the protection scope of the present disclosure.

[0048] Various non-limiting embodiments of the present application will now be described in detail with reference to the accompanying drawings.

[0049] 1 is a signaling interaction diagram of a data processing method by a cloud document component according to an embodiment of the present application. In this embodiment, the method may include, for example, the following steps S101-S105:

[0050] Regarding the first client and the second client shown in FIG. 1, the first client may have a software, application or applet application, and the second client may have a multi-person collaborative document application, which may include a cloud document application, a shared document application or an online document application.

[0051] In one example, the first client may include an applet application and the second client may include a cloud document application. In this case, the first client and the second client may be the same client. For example, the applet application and the cloud document application may be integrated into a particular application. For example, the target application may provide not only applet functionality but also cloud document functionality.

[0052] S101: A first client sends an access token to a cloud document component to allow the cloud document component to authenticate the first client.

[0053] In the embodiment of the present application, an access token refers to a token capable of representing the authenticated identity of a user.

[0054] In one example, in addition to sending an access token to the cloud documents component, the first client can also send custom configuration information to the cloud documents component, where the custom configuration information is used to customize the functionality of the cloud documents.

[0055] Cloud document features include, but are not limited to, likes, images, shares, comments, directory, sidebar, full screen button in the bottom right corner, contact list to the right of the cloud document, and details menu to the right of the cloud document.

[0056] S102: The cloud document component authenticates the first client using the access token.

[0057] After receiving the access token, the cloud document component can use the access token to authenticate the first client to verify the identity of the first client. The embodiments of the present application are not specifically limited to a specific implementation manner in which the cloud document component uses the access token to authenticate the first client.

[0058] S103: The cloud document component sends a request to a second client to load a cloud document using the first component provided by the first client after the first client passes authentication.

[0059] S104: The second client retrieves the cloud document web page in response to the request.

[0060] S105: A second client sends the cloud document webpage to the cloud document component.

[0061] In an embodiment of the present application, when the cloud document component determines that the first client has passed authentication, the cloud document component can apply the cloud document component to the first client to indicate that the first client identity is valid. In this case, the first client can load a cloud document using the cloud document component. When loading a cloud document, the cloud document component can load the cloud document using a first component provided by the first client. The first component can provide a function for rendering a web page. The embodiment of the present application is not specifically limited to the first component. In one example, the first component can be a tt-iframe component.

[0062] In a particular embodiment where the cloud documents component loads the cloud documents using a first component provided by a first client, the cloud documents component can mount the cloud documents in the form of the first component to a mount node of the first client. In one example, the cloud documents component can send a request to a second client to load the cloud documents using the first component provided by the first client. After the second client receives the request, a cloud documents webpage can be obtained in response to the request. Furthermore, the second client sends the cloud documents webpage to the cloud documents component.

[0063] In one example, the step of obtaining a cloud document webpage may include two stages, where the first stage can obtain a first page including HyperText Markup Language (HTML) and send the first page to a cloud document component. The second stage can perform a handshake between the cloud document component and a second client after obtaining the first page, and after the handshake is successful, the second client can further obtain and return a cloud document page content to the cloud document component. The first page and the cloud document page content constitute a cloud document webpage.

[0064] Regarding the handshake being able to be performed between the cloud documents component and the second client, in one example, the second client can send a handshake message to the cloud documents component. After the cloud documents component receives the handshake message, it can send a response message to the handshake message to the second client. Thus, the cloud documents component and the second client have successfully completed the handshake.

[0065] After the cloud document component and the second client successfully handshake, the cloud document component can send an access token of the first client to the second client, and when the cloud document component receives custom setting information from the first client, the cloud document component can send the custom setting information to the second client, so as to provide the first client with a cloud document suitable for the custom setting.

[0066] The second client can also register an interface to be called by the cloud document component, so that the cloud document component can then call the interface, obtain data returned by the interface on the second client, and return the data to the first client. In one example, the second client can determine that an interface needs to be registered via an access file of the cloud document, and register the interface that needs to be registered.

[0067] In one example, the second client sends a HyperText Transfer Protocol (HTTP) request to obtain page content of the cloud document. In one example, the HTTP request can carry the access token of the first client. In yet another example, if the second client receives custom setting information from a cloud document component, the HTTP request can include the custom setting information to obtain a cloud document webpage that matches the custom setting information by obtaining page content that matches the custom setting information.

[0068] In one example, the second client can send the first page and the page content of the cloud document to the cloud document component via postMessage, which is a cross-domain communication function provided by the web.

[0069] As can be seen from the above description, according to the present invention, the cloud document component uses the first component provided by the first client to achieve the purpose of loading the cloud document, so that the cloud document component can be applied to the first client, and the first client can also apply the cloud document.

[0070] In one example, the first client may also monitor cloud document events. The embodiments of the present application are not specifically limited to the cloud document events. The cloud document events may include, for example, a title change event, a user permission change event, etc.

[0071] In an embodiment of the present application, the cloud document component can provide an interface to be called by a first client, and a second client also has an interface registered to be called by the cloud document component. Thus, the first client can monitor events of the second client. In a specific embodiment, the cloud document component can obtain event data returned by the second client by calling an interface in the second client through the interface provided by the first client, and further, the cloud document component sends the event data to the first client using the interface called by the first client.

[0072] In one example, when a monitored event is triggered, the second client can send event data to the cloud document component via an interface at the second client and an interface provided by the first client.

[0073] Regarding the interface, the interface provides a cross-domain communication function, and the interface can be used to transmit information between two information domains, the cloud document component and the second client. Although the embodiment of the present application is not specifically limited to the interface, in one example, the interface may be a message manager.

[0074] In one example, with respect to "the first client obtains the event data returned by the second client via an interface provided to the first client by the cloud document component," in a particular embodiment, the cloud document component can add the event data to a callback function of the first client and return the callback function to the first client via an interface provided to the first client by the cloud document component.

[0075] According to the method according to the above embodiment, the embodiment of the present application further provides a corresponding apparatus, which will be described below with reference to the accompanying drawings.

[0076] 2 is a schematic diagram of a data processing device according to an embodiment of the present application, the device 200 is applicable to a first client, and the device 200 includes a first sending unit 201 and a loading unit 202.

[0077] The first sending means 201 is used for sending an access token to the cloud document component, which allows the cloud document component to authenticate the first client; The loading means 202 is used to load a cloud document using the cloud document component at the first client in response to the cloud document component determining that the first client has passed authentication, and the cloud document component loads the cloud document using a first component provided by the first client, and the first component is used to provide functionality for rendering a web page.

[0078] Preferably, the apparatus comprises: The cloud document component further includes a second sending means for sending custom setting information for customizing a function of the cloud document to the cloud document component.

[0079] Preferably, the apparatus comprises: The method further includes an acquisition means for acquiring event data returned by a second client via an interface provided by the cloud document component to the first client, wherein the cloud document component acquires the event data returned by the second client by invoking an interface in the second client via the interface provided by the first client, the interface being used to provide cross-domain communication functionality.

[0080] Preferably, the obtaining means is adapted to obtain the event data via a callback function and an interface provided by the cloud document component to the first client.

[0081] The device 200 is an device corresponding to the method executed by the first client in the above method embodiment, and the specific forms of each means of the device 200 are all the same concept as those of the above method embodiments. Therefore, for the specific forms of each means of the device 200, please refer to the relevant descriptions of the above method embodiments, and the redundant descriptions will not be repeated here.

[0082] 3 is a schematic diagram of a data processing device according to an embodiment of the present application. The device 300 shown in FIG. 3 is applied to the cloud document component, and the device 300 includes a first receiving means 301, an authenticating means 302 and a loading means 303.

[0083] The first receiving means 301 is used to receive an access token transmitted from a first client, an authentication means for authenticating the first client by using the access token; A loading means 303 is used to load the cloud document using a first component provided by the first client after determining that the first client has passed authentication, and the first component is used to provide a function of rendering a web page.

[0084] Preferably, the apparatus comprises: The method further comprises a second receiving means for receiving custom setting information sent by the first client, the custom setting information being used to customize a function of a cloud document.

[0085] Preferably, the apparatus comprises: a third receiving means for receiving a handshake message sent by a second client and sending a response message to the second client in response to the handshake message; and a first sending means for sending the access token to the second client.

[0086] Preferably, when the cloud document component receives custom setting information sent by the first client, the device: The system further comprises a second sending means for sending the custom setting information to the second client.

[0087] Preferably, the apparatus comprises: a calling means for obtaining event data returned by the second client by calling an interface in the second client via an interface provided by the first client, the interface being used to provide a function for cross-domain communication; and a third sending means for sending the event data returned by the second client to the first client via an interface provided by the cloud documents component to the first client.

[0088] Preferably, the third sending means is used to send event data returned by the cloud document to the first client via a callback function of the first client that monitors events and an interface provided to the first client by the cloud document component.

[0089] Since the device 300 corresponds to the method performed by the cloud document component in the above method embodiment, the specific form of each unit of the device 300 is the same as the above method embodiment. Therefore, the specific form of each unit of the device 300 can refer to the relevant description of the above method embodiment. Here, the duplicated description will not be repeated.

[0090] 4 is a schematic diagram of a data processing device according to an embodiment of the present application. The device 400 shown in FIG. 4 is applied to a second client, and the device 400 includes an acquiring unit 401 and a first sending unit 402.

[0091] The obtaining means 401 is used for obtaining a cloud document webpage in response to a request from a cloud document component to load a cloud document using a first component provided by an applet application; A first sending means 402 is used for sending the cloud document webpage to the cloud document component.

[0092] Preferably, the apparatus comprises: A second sending means for sending a handshake message to the cloud document component; and a first receiving means for receiving a response message to the handshake message sent by the cloud document component.

[0093] Preferably, the apparatus comprises: The system further includes a second receiving means for receiving an access token and custom setting information sent by the cloud document component, wherein the access token is used by the cloud document component to authenticate the applet application and the custom setting information is used to customize functionality of cloud documents.

[0094] Preferably, the obtaining means is used to send a HyperText Transfer Protocol (HTTP) request carrying the access token and / or custom setting information in response to a request from a cloud document component to load a cloud document using a first component provided by an applet application to obtain the cloud document webpage.

[0095] Preferably, the apparatus comprises: The method further comprises: registering means for registering an interface to be invoked by the cloud document component.

[0096] Preferably, the apparatus comprises: The method further comprises a third sending means for sending event data to the cloud document component via an interface at the second client and an interface provided by the applet application in response to a monitored event being triggered.

[0097] The device 400 corresponds to the method performed by the second client according to the above method embodiment, so the specific form of each unit of the device 400 is the same as the above method embodiment. Therefore, the specific form of each unit of the device 400 can refer to the relevant description of the above method embodiment. Here, the redundant description will not be repeated.

[0098] An embodiment of the present application further provides an apparatus, the apparatus comprising a processor and a memory, The processor is used to execute instructions stored in the memory, causing the device to perform a method performed by a first client or a cloud document component or a second client provided by the method embodiments above.

[0099] An embodiment of the present application provides a computer-readable storage medium including instructions for instructing an apparatus to perform a method performed by a first client or a cloud document component or a second client provided by the above method embodiment.

[0100] Those skilled in the art can easily conceive of other embodiments of the present application after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or modifications of the present application. These variations, uses or modifications of the present application follow the general principles of the present application and include common knowledge or customary technical means in the art that are not disclosed in this disclosure. The specification and embodiments are considered as exemplary only, with the true scope and spirit of the present application being indicated by the following claims.

[0101] It should be understood that the present application is not limited to the exact construction previously described and illustrated in the accompanying drawings, but various modifications and changes can be made without departing from the scope thereof, which is limited only by the appended claims.

[0102] The above description is merely a preferred embodiment of the present application, and is not intended to limit the present application. Any amendments, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method of processing data by a cloud document component, comprising: Applied to the first client, sending an access token to a cloud documents component that authenticates the first client to the cloud documents component; 22. A method for processing data using a cloud document component, comprising: in response to the cloud document component determining that the first client has passed authentication, loading a cloud document at the first client using the cloud document component, wherein the cloud document component loads the cloud document using a first component provided by the first client, the first component being used to provide functionality for rendering a web page.

2. The method comprises: The method of claim 1 , further comprising the first client sending custom setting information to a cloud documents component to customize a functionality of the cloud documents.

3. The method comprises:

2. The method of claim 1, further comprising: the first client obtaining event data returned by a second client via an interface provided to the first client by the cloud document component, wherein the cloud document component obtains the event data returned by the second client by invoking an interface in the second client via the interface provided by the first client, the interface being used to provide cross-domain communication functionality.

4. The step of the first client obtaining the event data returned by the second client via an interface provided to the first client by the cloud document component includes: The method of claim 3 , comprising: the first client obtaining the event data via a callback function and an interface provided to the first client by the cloud document component.

5. A method of processing data by a cloud document component, comprising: The method comprises: A cloud document component receives an access token sent from the first client; the cloud document component authenticating the first client using the access token; A method for processing data by a cloud document component, comprising: a step in which the cloud document component loads a cloud document using a first component provided by the first client after determining that the first client has passed authentication, the first component being used to provide functionality for rendering a web page.

6. The method comprises:

6. The method of claim 5, further comprising: the cloud document component receiving custom setting information sent by the first client, the custom setting information being used to customize a function of cloud documents.

7. The method comprises: The cloud document component receives a handshake message sent by a second client, and sends a response message to the second client in response to the handshake message; The method of claim 5 , further comprising: the cloud documents component sending the access token to the second client.

8. When the cloud document component receives the custom setting information sent by the first client, the method further comprises: The method of claim 7 , further comprising: the cloud document component sending the custom setting information to the second client.

9. The method comprises: the cloud document component obtains event data returned by the second client by invoking an interface in a second client through an interface provided by the first client, the interface being used to provide cross-domain communication functionality; 6. The method of claim 5, further comprising: the cloud documents component sending the event data returned by the second client to the first client via an interface provided by the cloud documents component to the first client.

10. The cloud documents component sending the event data returned by the second client to the first client via an interface provided by the cloud documents component to the first client, 10. The method of claim 9, further comprising: the cloud document component sending event data returned by the cloud document to the first client via a callback function of the first client that monitors events and an interface provided by the cloud document component to the first client.

11. A method of processing data by a cloud document component, comprising: The method comprises: The second client retrieves a cloud document webpage in response to a request for a cloud document component that loads the cloud document using the first component provided by the applet application; the second client sending the cloud document webpage to the cloud document component.

12. The method comprises: the second client sending a handshake message to the cloud document component; The method of claim 11 , further comprising: the second client receiving a response message to the handshake message sent by the cloud document component.

13. The method comprises:

12. The method of claim 11, further comprising: the second client receiving an access token and custom setting information sent by the cloud documents component, wherein the access token is used by the cloud documents component to authenticate the applet application and the custom setting information is used to customize functionality of cloud documents.

14. The step of obtaining a cloud document web page includes: The method of claim 13 , comprising the second client sending a HyperText Transfer Protocol http request carrying the access token and / or custom setting information to obtain the cloud document web page.

15. The method comprises: The method of claim 11 , further comprising the second client registering an interface to be called by a cloud document component.

16. The method comprises:

12. The method of claim 11, further comprising: the second client, in response to a monitored event being triggered, sending event data to the cloud document component via an interface at the second client and an interface provided by the applet application.

17. A data processing device with a cloud document component, the data processing device being applied to a first client, The apparatus comprises: a first sending means for sending an access token to the cloud documents component that authenticates the first client to the cloud documents component; A data processing device using a cloud document component, comprising: a loading means for loading a cloud document using the cloud document component at the first client in response to the cloud document component determining that the first client has passed authentication, the cloud document component loading the cloud document using a first component provided by the first client, the first component being used to provide a function for rendering a web page.

18. A data processing device using a cloud document component, the data processing device being applied to the cloud document component, The apparatus comprises: a first receiving means for receiving an access token transmitted from a first client; an authentication means for authenticating the first client by using the access token; A data processing device using a cloud document component, comprising: a loading means for loading a cloud document using a first component provided by the first client after determining that the first client has passed authentication, the first component being used to provide a function for rendering a web page.

19. A data processing device with a cloud document component, the data processing device being applied to a second client, The apparatus comprises: An acquisition means for acquiring a cloud document webpage in response to a request from a cloud document component that loads a cloud document using a first component provided by an applet application; and a first sending means for sending the cloud documents webpage to the cloud documents component.

20. An apparatus comprising: A processor and a memory, An apparatus, wherein the processor is adapted to execute instructions stored in the memory to cause the apparatus to perform the method of any one of claims 1 to 16.

21. A computer readable storage medium comprising instructions for directing an apparatus to carry out the method according to any one of claims 1 to 16.

22. A computer program product which, when executed on a computer, causes the computer to carry out the method according to any one of claims 1 to 16.

Citation Information

Patent Citations

  • Service provider apparatus, program, and service providing method

    JP2016071561A

  • Document management and collaboration system

    JP2017504857A

  • Client device, server device, control method and program thereof, and remote browser system

    JP2021009492A

  • Document management and collaboration system

    US20150134600A1

  • Security model for live applications in a cloud collaboration platform

    US20200133650A1