CN115391327A - Data processing method, device and system - Google Patents

Data processing method, device and system Download PDF

Info

Publication number
CN115391327A
CN115391327A CN202110567926.9A CN202110567926A CN115391327A CN 115391327 A CN115391327 A CN 115391327A CN 202110567926 A CN202110567926 A CN 202110567926A CN 115391327 A CN115391327 A CN 115391327A
Authority
CN
China
Prior art keywords
client
online data
data
static resource
target online
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110567926.9A
Other languages
Chinese (zh)
Inventor
黄宝华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shizhen Information Technology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shizhen Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shizhen Information Technology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN202110567926.9A priority Critical patent/CN115391327A/en
Publication of CN115391327A publication Critical patent/CN115391327A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a data processing method, device and system. Wherein, the method comprises the following steps: a client receives a request instruction of target online data; the client sends a first data request of target online data to a static resource server according to a request instruction, wherein the static resource server is used for storing static resources corresponding to a plurality of online data; the client receives the latest static resource corresponding to the target online data, wherein the static resource server returns the latest static resource corresponding to the target online data to the client after receiving the first data request; the client displays the latest static resource of the target online data. The invention solves the technical problem that in the prior art, under the scene of multi-person collaborative editing of the online data, the time consumed for displaying the online data on the first screen is longer when the data is requested.

Description

Data processing method, device and system
Technical Field
The present invention relates to the field of data processing, and in particular, to a method, an apparatus, and a system for processing data.
Background
Under the scene of multi-person collaborative editing of the online form, when a client sends and receives a large amount of data of the online form, the current processing scheme is as follows: the client sends the table data to the background for multiple times; after receiving all messages of the client, the background production end stores the messages into a message queue; and the background consumption end consumes the queue messages of the N production ends at one time until all the messages in the message queue of the production end are consumed, and persistently stores the consumed messages.
The scheme separates the production and consumption of the background message and makes the background message independent from each other, so that the robustness of the service is better, but when the data volume of the message queue is large, the problem of time delay can occur. For example, when the client a is sending a large amount of online form data, the data amount of the background production end rapidly increases, which causes the processing pressure of the background consumption end on the message queue to be too large, and thus may cause a part of messages to queue up at the production end and wait for consumption. If a client B requests data of the same online form, two users return the requested form data to the client B, and one mode is to wait for the background to consume all the messages of the production end and then return complete form data to the client B; the other way is that the background immediately returns the data containing consumed and unconsumed data, the client B receives all the data and consumes the unconsumed data. However, in any case, when the amount of data is large, it takes a long time for the user to display the online form requested by the user for the first time.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a data processing method, a device and a system, which are used for at least solving the technical problem that in the prior art, under the scene of multi-person collaborative editing of online data, the time consumed for displaying the online data on a first screen is long when the online data is requested.
According to an aspect of an embodiment of the present invention, there is provided a data processing method, including: a client receives a request instruction of target online data; the client sends a first data request of target online data to a static resource server according to a request instruction, wherein the static resource server is used for storing static resources corresponding to a plurality of online data; the client receives the latest static resource corresponding to the target online data, wherein the static resource server returns the latest static resource corresponding to the target online data to the client after receiving the first data request; the client displays the latest static resource of the target online data.
According to another aspect of the embodiments of the present invention, there is also provided a data processing system, including: the first client is used for receiving a request instruction of first online data, and the first client sends a first data request of the first online data to the static resource server according to the request instruction; the static resource server is communicated with the first client, and is used for storing static resources corresponding to a plurality of online data and returning first static resources corresponding to the first online data to the first client after receiving the first data request; and the first client receives and displays the first static resource corresponding to the first online data.
According to another aspect of the embodiments of the present invention, there is also provided a data processing apparatus, including: the first receiving module is used for receiving a request instruction of target online data by a client; the sending module is used for sending a first data request of target online data to a static resource server by the client according to the request instruction, wherein the static resource server is used for storing static resources corresponding to a plurality of online data; a third receiving module, configured to receive, by the client, a latest static resource corresponding to the target online data, where the static resource server returns the latest static resource corresponding to the target online data to the client after receiving the first data request; and the display module is used for displaying the latest static resource of the target online data by the client.
According to yet another aspect of embodiments of the present invention, there is also provided a computer storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor and to carry out the above-mentioned method steps.
According to still another aspect of the embodiments of the present invention, there is also provided an electronic device including: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the above-mentioned method steps.
In the embodiment of the invention, a client receives a request instruction of target online data; the client sends a first data request of target online data to a static resource server according to the request instruction, wherein the static resource server is used for storing static resources corresponding to a plurality of online data; the client receives the latest static resource corresponding to the target online data, wherein the static resource server returns the latest static resource corresponding to the target online data to the client after receiving the first data request; and the client displays the latest static resource of the target online data. In the above scheme, after receiving the request instruction of the target online data, the client sends the corresponding data request to the static resource server, so that the static resource of the target online data can be obtained and displayed. The client acquires the static resources, and the static resource server does not need to do a large amount of consumption calculation or other time-consuming expenses before returning the static data, so the returning efficiency is relatively high compared with the method of directly returning the target online data, and the rendering speed of the static resources is high, so the client can quickly complete the first screen display of the target online data.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of a method of processing data according to an embodiment of the invention;
FIG. 2 is a flow diagram of an online data process according to an embodiment of the invention;
FIG. 3 is a block diagram of a data processing system according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a data processing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
In accordance with an embodiment of the present invention, there is provided an embodiment of a method for processing data, it being noted that the steps illustrated in the flowchart of the figure may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in an order different than that presented herein.
Fig. 1 is a flowchart of a data processing method according to an embodiment of the present invention, and as shown in fig. 1, the method includes the following steps:
step S102, the client receives a request instruction of the target online data.
Specifically, the client may be an application client installed in the electronic device, for example, a video conference client. The request instruction may be issued by a user on the client side. The data type of the online data may be a table, a document, or the like, the online data is data that allows multi-client cooperative processing, and the online data may be stored in a remote server, so that a client participating in the cooperation may obtain the online data from the remote server by sending a request instruction.
And step S104, the client sends a first data request of the target online data to a static resource server according to the request instruction, wherein the static resource server is used for storing static resources corresponding to the plurality of online data.
Specifically, the first data request may be generated according to a request instruction. For example, a client receives a request instruction sent by a user, where the request instruction includes identification information of target online data, and generates a first data request carrying the identification information based on the identification information of the target online data, and sends the first data request to a static resource server.
The static resource can be used for representing a fixed page of a front end, such as HTML, CSS, JS, pictures and the like, the static resource is a page which can be directly displayed only by reading in a cache/database without performing complex logic processing, and the client sends a first data request to the static resource server, so that the response speed is high.
It should be noted that, the steps in this embodiment may be executed in a data processing system, where the data processing system may include a static resource server and a real-time processing server, and in the steps, the client sends the first data request to the static resource server according to a request instruction sent by a user.
And step S106, the client receives the latest static resource corresponding to the target online data, wherein the static resource server returns the latest static resource corresponding to the target online data to the client after receiving the first data request.
Since the target online data may be modified by other clients at any time, the static resource server needs to update the static resource corresponding to each online data according to the modification condition of each online data, for example, the static resource server may update the static resource of each data according to a preset period. The latest static resource corresponding to the target online data is the static resource obtained by updating the target online data by the static resource server for the last time.
And step S08, displaying the latest static resource of the target online data by the client.
In the above steps, the latest static resource of the target online data is displayed in the interface of the client.
In an alternative embodiment, taking an online meeting scenario as an example, multiple people are in a parameter meeting and share a table in the meeting. When any user needs to check the form, the user selects the form through a client participating in the online conference, and the client receives a request instruction of the form. And then the client sends a first data request to the static resource server, and after the static resource server receives the first data request, the static resource server returns the static data obtained by updating the table last time to the client, so that the client can display the table.
As can be seen from the above, in the above embodiments of the present application, the client receives a request instruction of the target online data; the client sends a first data request of target online data to a static resource server according to a request instruction, wherein the static resource server is used for storing static resources corresponding to a plurality of online data; the client receives the latest static resource corresponding to the target online data, wherein the static resource server returns the latest static resource corresponding to the target online data to the client after receiving the first data request; the client displays the latest static resource of the target online data. In the above scheme, after receiving the request instruction of the target online data, the client sends the corresponding data request to the static resource server, so that the static resource of the target online data can be obtained and displayed. The client acquires the static resources, and the static resource server does not need to do a large amount of consumption calculation or other time-consuming expenses before returning the static data, so the returning efficiency is relatively high compared with the method of directly returning the target online data, and the rendering speed of the static resources is high, so the client can quickly complete the first screen display of the target online data.
It should be noted that, in the above solution, the latest static resource of the target online data obtained by the client can only be used for displaying, but not for editing. If the user needs to edit the target online data, there are various optional methods, for example, an editing control may be provided on the client interface, when the user triggers the editing control, the client requests the real-time processing server for the target online data, and after the client receives the target online data returned by the real-time processing server, the target online data may be edited. For another example, the client interface may detect an operation of the user, and if a preset operation (e.g., a double-click operation, a long-press operation, etc.) is detected, the client requests the real-time processing server for the target online data, and after receiving the target online data returned by the real-time processing server, the client may edit the target online data. Of course, there may be other ways, one of which is provided in the following examples.
As an optional embodiment, while the client sends the first data request of the target online data to the static resource server according to the request instruction, the method further includes: the client sends a second data request of the target online data to the real-time processing server according to the request instruction, wherein the real-time processing server is used for processing the target online data in real time; after the client displays the latest static resource of the target online data, the method further comprises the following steps: the client receives the target online data returned by the real-time processing server, wherein the real-time processing server continues to process the target online data after receiving the second data request and returns the target online data to the client after the target online data is processed; and the client displays the target online data.
Specifically, the second data request is used to request the real-time processing server for the target online data itself. After the client obtains the target online data itself returned by the real-time processing server, the target online data can be rendered, and static resources of the target online data are cleared. And editing the target online data at the client under the condition that the client displays the target online data.
The online data allows multi-user collaborative editing, and after the client edits the online data, the client sends the edited variable quantity to the real-time processing server, and the real-time processing server processes the online data according to the variable quantity. Based on the above situation, when the real-time processing server receives the second data request sent by the client, it may be difficult to immediately return the target online data to the client after processing the target online data according to the variation sent by the other clients, and therefore the real-time processing server may return the target online data to the client after completing the current processing of the target online data.
Because the time when the client receives the target online data is later than the time when the client receives the static resource, the real-time processing server may receive the modification of the target online data by other clients between the time difference of the two times, and therefore the target online data received by the client and the received static resource are not necessarily identical.
In the above scheme, the client sends the first data request of the target online data to the static resource server and simultaneously sends the second data request of the target online data to the real-time processing server, so that the client can obtain the target online data which is allowed to be edited after the static resource is displayed.
As an optional embodiment, after the client receives the target online data returned by the real-time processing server, the method further includes: the client discards the latest static resource of the target online data.
According to the scheme, after the client receives the target online data, the latest static resource obtained before can be discarded, so that the storage space is saved.
As an alternative embodiment, the method further includes: the client receives editing information, wherein the editing information is used for editing and processing the target online data; and the client sends the editing information to the real-time processing server, wherein the real-time processing server modifies the target online data according to the editing information.
In the above solution, when the user edits the target online data at the client, the client receives the editing information, where the editing information may be a variation of the target online data caused by the editing operation. After receiving the editing information, the client sends the editing information to the real-time processing server, and the real-time processing server can modify the target online data according to the editing information.
In an optional embodiment, after requesting the target online data from the real-time processing server, the client edits the target online data, and after detecting the edit information, the client sends the edit information to the real-time processing server, and the real-time processing server modifies the target online data according to the received edit information. In this way, all clients participating in collaboration can edit the target online data.
Of course, different editing permissions may also be set for different clients according to actual requirements, which is not described herein again.
In another alternative embodiment, the client may create a target online data online, and similarly, the client sends the editing information generated by creating the target online data to the real-time processing server, and the real-time processing server may create the target online data synchronously according to the editing information.
As an optional embodiment, after the client receives the editing information, the method further includes: the client generates static resources of the target online data according to the editing information; and the client sends the static resources to the static resource server, wherein the static resource server updates the static resources in front of the target online data according to the static resources sent by the client.
In the above scheme, after receiving the edit information, the client generates the latest static resource of the target online data according to the edit information, and sends the generated latest static resource to the static resource server, so that the latest static resource of each online data is always maintained in the static resource server. After the static resource server updates the static resource before the target online data according to the static resource sent by the client, the static resource before the target online data can be cleared.
Fig. 2 is a flowchart of online data processing according to an embodiment of the present application, and the above solution is described below by taking an example in which the client a generates an online form and the client B requests the online form.
S1, a client A creates an online form and edits the online form.
S2, the client a sends the form edit data (i.e. the amount of change of the form generated during editing) to the real-time processing server. The real-time processing server is used for producing and consuming online table data sent by the client in real time.
And S3, the client A updates the latest static resource of the current online form to the online form static resource server at a certain frequency. The method of updating the frequency may include: updating at regular time (such as every 10 seconds), or updating after a period of time (such as no data change within 5 seconds) when the user inputs data, and the like.
And S4, the online form static resource server efficiently stores the latest static resource of the online form, and can delete the static resource data stored before so as to reduce the storage space of the server. The reason that the online form static resource server can efficiently store the latest static resource is as follows: the static resource server only receives the static data rendered by the online form, does not need to consume a large amount of time to consume all data variable quantities of the online form like a real-time processing server, and is only similar to storing a plurality of static files to the server, so that the logic is simple, and the processing is efficient.
And S5, the client B requests to load the client A to create online form data, requests the online form static resource server for data and synchronously requests the real-time processing server for data.
And S6, the online form static resource server returns the latest online form static resource of the object according to the requested form object.
And S7, immediately rendering the static resources after the client B successfully acquires the static resources of the online form. Because the client side obtains the static resources, the static resource server does not need to do a large amount of consumption calculation or other time-consuming expenses before returning the static data, and the server returning efficiency is very high compared with that of a real-time processing server. Meanwhile, after the client B acquires the corresponding static table resources, a large amount of dynamic operation is not needed, and the static resources are directly rendered, so that the rendering efficiency of the client is very high. The client B realizes the quick display of the first screen of the online form through the efficient return of the static resource server and the data rendering of the client, but because the first screen displays static resources, a user can only check the form data, and cannot edit the online form rendered by the static resources.
And S8, returning all consumed online form data by the real-time processing server according to the requested form object.
And S9, after the client B successfully acquires the data returned by the real-time processing server, removing the original static resource data, and rendering the newly acquired table data. The user may edit the online form returned by the real-time processing server.
Example 2
According to an embodiment of the present invention, an embodiment of a data processing system is provided, and fig. 3 is a structural diagram of a data processing system according to an embodiment of the present invention, as shown in fig. 3, the system includes:
the first client 30 is configured to receive a request instruction of the first online data, and the first client sends a first data request of the first online data to the static resource server according to the request instruction.
Specifically, the first client may be an application client installed in the electronic device, for example, a video conference client. The request instruction may be issued by the user on the first client side. The data type of the online data can be a table, a document or the like, the online data is data allowing multi-client cooperative processing, and the online data can be stored in a remote server, so that the clients participating in the cooperation can obtain the online data from the remote server by sending a request instruction.
And a static resource server 32, which is in communication with the first client, and is configured to store static resources corresponding to the plurality of online data, and return a first static resource corresponding to the first online data to the first client after receiving the first data request.
The first client receives and displays a first static resource corresponding to the first online data.
Specifically, the first data request may be generated according to a request instruction. For example, a first client receives a request instruction sent by a user, where the request instruction includes identification information of first online data, and the first client generates a first data request carrying the identification information based on the identification information of the first online data, and sends the first data request to a static resource server.
The first static resource can be used for representing a fixed page of the front end, such as HTML, CSS, JS, pictures and the like, the static resource can directly display the page without searching a database or processing programs, and the first client sends the first data request to the static resource server, so that the response speed is high.
It should be noted that, in the steps in this embodiment, the steps may be executed in a data processing system, where the data processing system may include a static resource server and a real-time processing server, and in the steps, the first client sends the first data request to the static resource server according to a request instruction sent by a user.
In the above scheme, after receiving the request instruction of the first online data, the first client sends the corresponding data request to the static resource server, so that the static resource of the first online data can be obtained and displayed. Because the first client acquires the static resource, the static resource server does not need to do a large amount of consumption calculation or other time-consuming expenses before returning the static data, the returning efficiency is relatively high compared with the efficiency of directly returning the target online data, and because the rendering speed of the static resource is high, the first client can quickly complete the first screen display of the first online data.
As an optional embodiment, the first client is further configured to send a second data request of the first online data to the real-time processing server according to the request instruction, and the system further includes: the real-time processing server is communicated with the first client and is used for processing the first online data in real time, wherein the first online data is continuously processed after the second data request is received, and the first online data is returned to the first client after the first online data is processed; the first client is also used for receiving and displaying the first online data returned by the real-time processing server.
Specifically, the second data request is used to request the first online data itself from the real-time processing server. After the first client obtains the first online data itself returned by the real-time processing server, the first online data can be rendered, and the static resources of the first online data are cleared. And under the condition that the first client displays the first online data, the first client can edit the first online data.
The online data is allowed to be edited cooperatively by multiple persons, and after the online data is edited by the first client, the variation of the editing is sent to the real-time processing server, and the real-time processing server processes the online data according to the variation. Based on the above situation, when the real-time processing server receives the second data request sent by the first client, it may be difficult to immediately return the first online data to the first client after processing the first online data according to the variation sent by the other clients, and therefore the real-time processing server may return the first online data to the first client after completing the current processing of the first online data.
Because the time when the first client receives the first online data is later than the time when the static resource is received, the real-time processing server may receive the modification of the first online data by the other client between the time difference of the two times, and therefore the first online data received by the first client and the received static resource are not necessarily identical.
In the above scheme, the first client sends the first data request of the first online data to the static resource server, and simultaneously sends the second data request of the first online data to the real-time processing server, so that the first client can obtain the first online data which is allowed to be edited after the static resource is displayed.
As an optional embodiment, the system further includes: the second client is used for creating second online data, receiving editing information of the second online data and sending the editing information to the real-time processing server; the real-time processing server is also used for generating second online data, receiving editing information sent by the second client and modifying the second online data according to the editing information.
Specifically, the second client may be a different client in the same collaboration scenario as the first client.
In an alternative embodiment, the second client may create the second online data online, and the second client sends edit information generated by creating the second online data to the real-time processing server, and the real-time processing server may create the second online data synchronously according to the edit information.
As an optional embodiment, the second client is further configured to generate a second static resource of the second online data according to the editing information, and send the second static resource to the static resource server; the static resource processor is further used for updating the static resource before the second online data according to a second static resource sent by the second client.
In the above scheme, after receiving the editing information, the second client generates the second static resource of the second online data according to the editing information, and sends the generated second static resource to the static resource server, so that the latest static resource of each online data is always maintained in the static resource server. After the static resource server updates the second static resource before the second online data according to the second static resource sent by the second client, the previous second static resource may be cleared.
Example 3
According to an embodiment of the present invention, there is provided an embodiment of a data processing apparatus, and fig. 4 is a schematic diagram of a data processing apparatus according to an embodiment of the present invention, as shown in fig. 4, the apparatus includes:
a first receiving module 40, configured to receive, by a client, a request instruction of target online data;
a sending module 42, configured to send, by the client, a first data request of the target online data to the static resource server according to the request instruction, where the static resource server is configured to store static resources corresponding to the multiple online data;
a second receiving module 44, configured to receive, by the client, the latest static resource corresponding to the target online data, where the static resource server returns the latest static resource corresponding to the target online data to the client after receiving the first data request;
and a display module 46, configured to display the latest static resource of the target online data by the client.
As an alternative embodiment, the apparatus further comprises: the second sending module is used for sending a second data request of the target online data to the real-time processing server according to the request instruction while the client sends the first data request of the target online data to the static resource server according to the request instruction, wherein the real-time processing server is used for processing the target online data in real time; the third receiving module is used for receiving the target online data returned by the real-time processing server after the client displays the latest static resource of the target online data, wherein the real-time processing server continues to process the target online data after receiving the second data request and returns the target online data to the client after the target online data is processed; and the second display module is used for displaying the target online data by the client.
As an optional embodiment, the apparatus further comprises: and the discarding module is used for discarding the latest static resource of the target online data by the client after the client receives the target online data returned by the real-time processing server.
As an optional embodiment, the apparatus further comprises: the fourth receiving module is used for the client to receive the editing information, wherein the editing information is used for editing the target online data; and the third sending module is used for sending the editing information to the real-time processing server by the client, wherein the real-time processing server modifies the target online data according to the editing information.
As an alternative embodiment, the apparatus further comprises: the production module is used for generating static resources of the target online data by the client according to the editing information after the client receives the editing information; and the fourth sending module is used for sending the static resources to the static resource server by the client, wherein the static resource server updates the static resources before the target online data according to the static resources sent by the client.
Example 4
According to an embodiment of the present invention, there is provided a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the method steps as described in embodiment 1.
Example 5
According to an embodiment of the present invention, there is provided an electronic apparatus including: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps according to embodiment 1.
The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (12)

1. A method of processing data, comprising:
a client receives a request instruction of target online data;
the client sends a first data request of target online data to a static resource server according to the request instruction, wherein the static resource server is used for storing static resources corresponding to a plurality of online data;
the client receives the latest static resource corresponding to the target online data, wherein the static resource server returns the latest static resource corresponding to the target online data to the client after receiving the first data request;
and the client displays the latest static resource of the target online data.
2. The method of claim 1, wherein while the client sends a first data request for target online data to a static resource server according to the request instruction, the method further comprises:
the client sends a second data request of the target online data to a real-time processing server according to the request instruction, wherein the real-time processing server is used for processing the target online data in real time;
after the client displays the latest static resource of the target online data, the method further comprises:
the client receives the target online data returned by the real-time processing server, wherein the real-time processing server continues to process the target online data after receiving the second data request, and returns the target online data to the client after the target online data is processed;
and the client displays the target online data.
3. The method of claim 2, wherein after the client receives the target online data returned by the real-time processing server, the method further comprises: and the client discards the latest static resource of the target online data.
4. The method of claim 2, further comprising:
the client receives editing information, wherein the editing information is used for editing the target online data;
and the client sends the editing information to the real-time processing server, wherein the real-time processing server modifies the target online data according to the editing information.
5. The method of claim 4, wherein after the client receives the edit information, the method further comprises:
the client generates static resources of the target online data according to the editing information;
and the client sends the static resource to the static resource server, wherein the static resource server updates the static resource before the target online data according to the static resource sent by the client.
6. A data processing system, comprising:
the first client is used for receiving a request instruction of first online data, and the first client sends a first data request of the first online data to the static resource server according to the request instruction;
the static resource server is communicated with the first client, and is used for storing static resources corresponding to a plurality of online data and returning first static resources corresponding to the first online data to the first client after receiving the first data request;
and the first client receives and displays the first static resource corresponding to the first online data.
7. The system of claim 6, wherein the first client is further configured to send a second data request of the first online data to the real-time processing server according to the request instruction, and the system further comprises:
the real-time processing server is communicated with the first client and is used for processing the first online data in real time, wherein after the second data request is received, the first online data is continuously processed, and after the first online data is processed, the first online data is returned to the first client;
the first client is also used for receiving and displaying the first online data returned by the real-time processing server.
8. The system of claim 7, further comprising:
the second client is used for creating second online data, receiving editing information of the second online data and sending the editing information to the real-time processing server;
the real-time processing server is further configured to generate the second online data, receive edit information sent by the second client, and modify the second online data according to the edit information.
9. The system of claim 8,
the second client is further used for generating a second static resource of the second online data according to the editing information and sending the second static resource to the static resource server;
and the static resource processor is further used for updating the static resources before the second online data according to the second static resources sent by the second client.
10. An apparatus for processing data, comprising:
the first receiving module is used for the client to receive a request instruction of target online data;
the sending module is used for sending a first data request of target online data to a static resource server by the client according to the request instruction, wherein the static resource server is used for storing static resources corresponding to a plurality of online data;
a third receiving module, configured to receive, by the client, a latest static resource corresponding to the target online data, where the static resource server returns the latest static resource corresponding to the target online data to the client after receiving the first data request;
and the display module is used for displaying the latest static resource of the target online data by the client.
11. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to perform the method steps of any of claims 1 to 5.
12. An electronic device, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1 to 5.
CN202110567926.9A 2021-05-24 2021-05-24 Data processing method, device and system Pending CN115391327A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110567926.9A CN115391327A (en) 2021-05-24 2021-05-24 Data processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110567926.9A CN115391327A (en) 2021-05-24 2021-05-24 Data processing method, device and system

Publications (1)

Publication Number Publication Date
CN115391327A true CN115391327A (en) 2022-11-25

Family

ID=84114488

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110567926.9A Pending CN115391327A (en) 2021-05-24 2021-05-24 Data processing method, device and system

Country Status (1)

Country Link
CN (1) CN115391327A (en)

Similar Documents

Publication Publication Date Title
CN106453572B (en) Method and system based on Cloud Server synchronous images
CN106708623B (en) Object resource processing method, device and system
CN111460038A (en) Quasi-real-time data synchronization method and device
CN105610849B (en) Method and device for generating sharing label and method and device for displaying attribute information
CN106570060B (en) Random extraction method and device for data in information flow
CN109213955B (en) Data processing method and related equipment
CN107368376B (en) Message sending method and device, expansion method and terminal
CN115391327A (en) Data processing method, device and system
CN107154067B (en) Head portrait generation method and device
CN114253664A (en) Method, device, equipment and storage medium for generating configuration template of virtualization system
CN114117178A (en) Information processing method and device and electronic equipment
CN115373831A (en) Data processing method, device and computer readable storage medium
CN113568687A (en) Method for displaying Web page, related equipment and computer readable storage medium
CN114338709B (en) User head portrait synchronization method and device, storage medium and electronic equipment
CN116385597B (en) Text mapping method and device
CN114302244B (en) Information interaction method, device, server and storage medium
CN115065866B (en) Video generation method, device, equipment and storage medium
CN114157917B (en) Video editing method and device and terminal equipment
CN113065061B (en) Information display method, device and server
CN113805919B (en) Rendering special effect updating method and device, electronic equipment and storage medium
CN117934685A (en) Rendering task processing method, device, equipment and storage medium
CN102651720A (en) On-line group photo taking method and device
CN107656800B (en) Method and equipment for determining service
CN106708870B (en) Background information display method and device
CN113836405A (en) Information query method, device and computer readable storage medium

Legal Events

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