CN115391327A - Data processing method, device and system - Google Patents
Data processing method, device and system Download PDFInfo
- 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
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2282—Tablespace storage structures; Management thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/248—Presentation 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 includes: the client receives a request instruction of the target online data; the client sends the first data request of the target online data to the static resource server according to the request instruction, wherein the static resource server is used to store the static data corresponding to the plurality of online data. Resource; 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 present invention solves the technical problem in the prior art that in the scenario where multiple people collaboratively edit online data, when data is requested, it takes a long time to display online data on the first screen.
Description
技术领域technical field
本发明涉及数据处理领域,具体而言,涉及一种数据的处理方法、装置和系统。The present invention relates to the field of data processing, in particular to a data processing method, device and system.
背景技术Background technique
多人协同编辑在线表格的场景下,客户端在大量发送与接收在线表格的数据时,目前的处理方案为:客户端分多次向后台发送表格数据;后台的生产端接收到客户端的所有消息后,将消息存储到消息队列中;后台的消费端一次性消费N条生产端的队列消息,直到消费完生产端消息队列中的所有消息,并将消费后的消息持久化存储起来。In the scenario of multi-person collaborative editing of online forms, when the client sends and receives a large amount of data in the online form, the current solution is: the client sends the form data to the background multiple times; the production end in the background receives all the messages from the client Finally, the message is stored in the message queue; the consumer in the background consumes N queue messages of the producer at one time, until all the messages in the message queue of the producer are consumed, and the consumed messages are stored persistently.
上述方案将后台消息的生产与消费分离,相互独立,使得服务的健壮性较好,但在消息队列数据量大时,可能会有时延问题。例如,当客户端A正在发送大量的在线表格数据时,后台生产端的数据量快速增长,导致后台消费端对消息队列的处理压力过大,从而会造成部分消息在生产端排队,等待消费。这时如果有客户端B请求同一个在线表格的数据,则有两种用户向客户端B返回其所请求的表格数据,一种方式是等待后台消费完所有生产端的消息后,再向客户端B返回完整的表格数据;另一种方式是后台立即返回包含了已消费与未消费的数据,由客户端B接收所有数据,并对未消费的数据进行消费。但无论是哪一种方案,在数据量大时,用户首次显示出其所请求的在线表格,都需要消耗较长的时间。The above solution separates the production and consumption of background messages and makes them independent of each other, which makes the service more robust. However, when the amount of data in the message queue is large, there may be delay problems. For example, when client A is sending a large amount of online form data, the data volume of the background production end increases rapidly, which causes the background consumer end to process too much pressure on the message queue, which will cause some messages to queue up at the production end and wait for consumption. At this time, if client B requests the data of the same online form, there are two types of users returning the requested form data to client B. One way is to wait for the background to consume all the messages from the production end, and then send the data to the client. B returns the complete table data; another way is that the background immediately returns the consumed and unconsumed data, and the client B receives all the data and consumes the unconsumed data. But no matter which solution is used, when the amount of data is large, it will take a long time for the user to display the requested online form for the first time.
针对上述的问题,目前尚未提出有效的解决方案。For the above problems, no effective solution has been proposed yet.
发明内容Contents of the invention
本发明实施例提供了一种数据的处理方法、装置和系统,以至少解决现有技术中在多人协同编辑在线数据的场景下,在请求数据时,首屏显示在线数据所消耗的时间较长的技术问题。Embodiments of the present invention provide a data processing method, device, and system to at least solve the problem that in the prior art, in the scenario where multiple people edit online data collaboratively, when requesting data, the time consumed by displaying online data on the first screen is relatively long. Long technical question.
根据本发明实施例的一个方面,提供了一种数据的处理方法,包括:客户端接收目标在线数据的请求指令;客户端根据请求指令向静态资源服务器发送目标在线数据的第一数据请求,其中,静态资源服务器用于存储多个在线数据对应的静态资源;客户端接收目标在线数据对应的最新静态资源,其中,静态资源服务器在接收到第一数据请求后向客户端返回目标在线数据对应的最新静态资源;客户端显示目标在线数据的最新静态资源。According to an aspect of an embodiment of the present invention, a data processing method is provided, including: the client receives a request instruction for target online data; the client sends a first data request for target online data to a static resource server according to the request instruction, wherein , the static resource server is used to store static resources corresponding to multiple online data; the client receives the latest static resource corresponding to the target online data, wherein the static resource server returns to the client the latest static resource corresponding to the target online data after receiving the first data request The latest static resource; the client displays the latest static resource of the target's online data.
根据本发明实施例的另一方面,还提供了一种数据处理系统,包括:第一客户端,用于接收第一在线数据的请求指令,所述第一客户端根据所述请求指令向静态资源服务器发送第一在线数据的第一数据请求;静态资源服务器,与所述第一客户端通信,所述静态资源服务器用于存储多个在线数据对应的静态资源,并在接收到所述第一数据请求后向所述第一客户端返回所述第一在线数据对应的第一静态资源;其中,所述第一客户端接收并显示所述第一在线数据对应的第一静态资源。According to another aspect of the embodiments of the present invention, there is also provided a data processing system, including: a first client, configured to receive a request instruction for first online data, and the first client sends a static The resource server sends a first data request for the first online data; the static resource server communicates with the first client, and the static resource server is used to store a plurality of static resources corresponding to the online data, and upon receiving the first After a data request, return the first static resource corresponding to the first online data to the first client; wherein, the first client receives and displays the first static resource corresponding to the first online data.
根据本发明实施例的又一方面,还提供了一种数据的处理装置,包括:第一接收模块,用于客户端接收目标在线数据的请求指令;发送模块,用于所述客户端根据所述请求指令向静态资源服务器发送目标在线数据的第一数据请求,其中,所述静态资源服务器用于存储多个在线数据对应的静态资源;第三接收模块,用于所述客户端接收所述目标在线数据对应的最新静态资源,其中,所述静态资源服务器在接收到所述第一数据请求后向所述客户端返回所述目标在线数据对应的最新静态资源;显示模块,用于所述客户端显示所述目标在线数据的最新静态资源。According to still another aspect of the embodiments of the present invention, there is also provided a data processing device, including: a first receiving module, used for the client to receive the request instruction of the target online data; The request instruction sends the first data request of the target online data to the static resource server, wherein the static resource server is used to store a plurality of static resources corresponding to the online data; the third receiving module is used for the client to receive the 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 display module is used for the The client side displays the latest static resource of the online data of the target.
根据本发明实施例的又一方面,还提供了一种计算机存储介质,所述计算机存储介质存储有多条指令,所述指令适于由处理器加载并执行上述的方法步骤。According to still another aspect of the embodiments of the present invention, a computer storage medium is also provided, the computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the above 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, and the computer program is adapted to be loaded by the processor and execute the above-mentioned method steps.
在本发明实施例中,客户端接收目标在线数据的请求指令;所述客户端根据所述请求指令向静态资源服务器发送目标在线数据的第一数据请求,其中,所述静态资源服务器用于存储多个在线数据对应的静态资源;所述客户端接收所述目标在线数据对应的最新静态资源,其中,所述静态资源服务器在接收到所述第一数据请求后向所述客户端返回所述目标在线数据对应的最新静态资源;所述客户端显示所述目标在线数据的最新静态资源。上述方案中,客户端在接收到目标在线数据的请求指令后,向静态资源服务器发送对应的数据请求,从而可以获得并显示目标在线数据的静态资源。由于客户端获取的是静态资源,静态资源服务器在返回静态数据前无需做大量的消费运算或其他耗时的开销,所以返回效率相对于直接返回目标在线上数据本身相比,较为高效,且由于静态资源的渲染速度快,因此客户端可以快速的完成目标在线数据的首屏显示,相比于现有技术中直接请求目标在线数据本身,极大的缩小了首屏显示数据所消耗的时间,解决了现有技术中在多人协同编辑在线数据的场景下,在请求数据时,首屏显示在线数据所消耗的时间较长的技术问题。In this embodiment of the present invention, the client receives a request instruction for target online data; the client sends a first data request for target online data to a static resource server according to the request instruction, wherein the static resource server is used to store 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 client to the client after receiving the first data request The latest static resource corresponding to the target online data; the client displays the latest static resource of the target online data. In the above solution, after receiving the request instruction of the target online data, the client sends a corresponding data request to the static resource server, so that the static resource of the target online data can be obtained and displayed. Since the client obtains static resources, the static resource server does not need to do a lot of consumption calculations or other time-consuming overhead before returning the static data, so the return efficiency is more efficient than directly returning the target online data itself, and because The rendering speed of static resources is fast, so the client can quickly complete the first-screen display of the target online data. Compared with the prior art that directly requests the target online data itself, it greatly reduces the time consumed by the first-screen display data. It solves the technical problem in the prior art that it takes a long time to display the online data on the first screen when the data is requested in the scenario where multiple people collaboratively edit the online data.
附图说明Description of drawings
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached picture:
图1是根据本发明实施例的一种数据的处理方法的流程图;Fig. 1 is a flowchart of a data processing method according to an embodiment of the present invention;
图2是根据本发明实施例的一种在线数据处理的流程图;Fig. 2 is a flow chart of online data processing according to an embodiment of the present invention;
图3是根据本发明实施例的一种数据的处理系统的结构图;3 is a structural diagram of a data processing system according to an embodiment of the present invention;
图4是根据本发明实施例的一种数据的处理装置的示意图。Fig. 4 is a schematic diagram of a data processing device according to an embodiment of the present invention.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a sequence of steps or elements is not necessarily limited to the expressly listed instead, may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus.
实施例1Example 1
根据本发明实施例,提供了一种数据的处理方法的实施例,需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。According to an embodiment of the present invention, an embodiment of a data processing method is provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and, Although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.
图1是根据本发明实施例的一种数据的处理方法的流程图,如图1所示,该方法包括如下步骤:Fig. 1 is a flow chart of a data processing method according to an embodiment of the present invention. As shown in Fig. 1, the method includes the following steps:
步骤S102,客户端接收目标在线数据的请求指令。In step S102, the client receives a request instruction of the target online data.
具体的,上述客户端可以为安装在电子设备的应用客户端,例如,视频会议客户端等。上述请求指令可以由用户在客户端侧发出。上述在线数据的数据类型可以是表格或文档等,在线数据为允许多客户端协同处理的数据,该在线数据可以存储于远端的服务器中,从而使得参与协同的客户端可以通过发送请求指令来从远端服务器中获取在线数据。Specifically, the foregoing client may be an application client installed on an electronic device, for example, a video conferencing client and the like. The above request instruction may be sent by the user on the client side. The data type of the above-mentioned online data can be a form or a document, etc. The online data is data that allows multi-clients to coordinate processing. The online data can be stored in a remote server, so that the clients participating in the collaboration can send request instructions to Get online data from remote server.
步骤S104,客户端根据请求指令向静态资源服务器发送目标在线数据的第一数据请求,其中,静态资源服务器用于存储多个在线数据对应的静态资源。Step S104, the client sends a first data request of the target online data to the static resource server according to the request instruction, wherein the static resource server is used to store static resources corresponding to a plurality of online data.
具体的,上述第一数据请求可以根据请求指令生成。例如,客户端接收到用户发送的请求指令,该请求指令中包含目标在线数据的标识信息,客户端基于目标在线数据的标识信息,生成携带该标识信息的第一数据请求,并将该第一数据请求发送至静态资源服务器。Specifically, the above-mentioned first data request may be generated according to a request instruction. For example, the client receives a request instruction sent by the user, the request instruction includes the identification information of the target online data, based on the identification information of the target online data, the client generates a first data request carrying the identification information, and sends the first The data request is sent to the static resource server.
上述静态资源可以用于表示前端的固定页面,例如HTML、CSS、JS、图片等,静态资源是只需在缓存/数据库中读取,而无需进行复杂的逻辑处理就能够直接显示的页面,客户端向静态资源服务器发送第一数据请求,获得响应的速度较快。The above static resources can be used to represent fixed front-end pages, such as HTML, CSS, JS, pictures, etc. Static resources are pages that can be displayed directly without complex logical processing by simply reading them from the cache/database. The end sends the first data request to the static resource server, and the response speed is relatively fast.
需要注意的是,本实施例中的步骤可以运行于数据处理系统,该数据处理系统可以包括静态资源服务器和实时处理服务器,上述步骤中,客户端根据用户发送的请求指令,向静态资源服务器发送第一数据请求。It should be noted that the steps in this embodiment can be run on a data processing system, and the data processing system can include a static resource server and a real-time processing server. In the above steps, the client sends a First data request.
步骤S106,客户端接收目标在线数据对应的最新静态资源,其中,静态资源服务器在接收到第一数据请求后向客户端返回目标在线数据对应的最新静态资源。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 of each online data. For example, the static resource server can update each data according to the preset cycle to update the static resources. The latest static resource corresponding to the above target online data is the static resource obtained by the static resource server updating the target online data last time.
步骤S08,客户端显示目标在线数据的最新静态资源。Step S08, the client terminal displays the latest static resource of the target online data.
上述步骤中,在客户端的界面中显示目标在线数据的最新静态资源。In the above steps, the latest static resource of the target online data is displayed on the interface of the client.
在一种可选的实施例中,以在线会议场景为例,多人参数会议,并在会议中共享一表格。当任意一个用户需要查看该表格时,该用户通过参与在线会议的客户端选中上述表格,其客户端接收到表格的请求指令。此后其客户端向静态资源服务器发送第一数据请求,静态资源服务器接收到第一数据请求后,将上述表格最近一次更新得到的静态数据返回给上述客户端,上述客户端即可显示上述表格。In an optional embodiment, taking an online meeting scenario as an example, multiple people set up a meeting and share a table in the meeting. When any user needs to view the form, the user selects the above form through the client terminal participating in the online meeting, and the client terminal receives the form request instruction. Afterwards, the client sends the first data request to the static resource server. After receiving the first data request, the static resource server returns the static data obtained by the latest update of the above table to the above client, and the above client can display the above table.
由上可知,本申请上述实施例中,客户端接收目标在线数据的请求指令;客户端根据请求指令向静态资源服务器发送目标在线数据的第一数据请求,其中,静态资源服务器用于存储多个在线数据对应的静态资源;客户端接收目标在线数据对应的最新静态资源,其中,静态资源服务器在接收到第一数据请求后向客户端返回目标在线数据对应的最新静态资源;客户端显示目标在线数据的最新静态资源。上述方案中,客户端在接收到目标在线数据的请求指令后,向静态资源服务器发送对应的数据请求,从而可以获得并显示目标在线数据的静态资源。由于客户端获取的是静态资源,静态资源服务器在返回静态数据前无需做大量的消费运算或其他耗时的开销,所以返回效率相对于直接返回目标在线上数据本身相比,较为高效,且由于静态资源的渲染速度快,因此客户端可以快速的完成目标在线数据的首屏显示,相比于现有技术中直接请求目标在线数据本身,极大的缩小了首屏显示数据所消耗的时间,解决了现有技术中在多人协同编辑在线数据的场景下,在请求数据时,首屏显示在线数据所消耗的时间较长的技术问题。As can be seen from the above, in the above-mentioned embodiments of the present application, the client receives the request instruction of the target online data; the client sends the first data request of the target online data to the static resource server according to the request instruction, wherein the static resource server is used to store multiple The static resource corresponding to the 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 target online The latest static resource for data. In the above solution, after receiving the request instruction of the target online data, the client sends a corresponding data request to the static resource server, so that the static resource of the target online data can be obtained and displayed. Since the client obtains static resources, the static resource server does not need to do a lot of consumption calculations or other time-consuming overhead before returning the static data, so the return efficiency is more efficient than directly returning the target online data itself, and because The rendering speed of static resources is fast, so the client can quickly complete the first-screen display of the target online data. Compared with the prior art that directly requests the target online data itself, it greatly reduces the time consumed by the first-screen display data. It solves the technical problem in the prior art that it takes a long time to display the online data on the first screen when the data is requested in the scenario where multiple people collaboratively edit the 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 display, but not for editing. If the user needs to edit the target online data, there are many optional methods. For example, an edit control can be provided on the client interface. When the user triggers the edit control, the client requests the target online data from the real-time processing server. After receiving the target online data returned by the real-time processing server, the terminal can edit the target online data. For another example, the client interface can detect the user's operation. If a preset operation (for example: double-click operation, long press operation, etc.) is detected, the client will request the target online data from the real-time processing server, and the real-time processing server will receive the real-time processing data at the client. After the target online data is returned, the target online data can be edited. Certainly, there may still be other ways, and the following embodiment provides one of them.
作为一种可选的实施例,在客户端根据请求指令向静态资源服务器发送目标在线数据的第一数据请求的同时,上述方法还包括:客户端根据请求指令向实时处理服务器发送目标在线数据的第二数据请求,其中,实时处理服务器用于对目标在线数据进行实时处理;在客户端显示目标在线数据的最新静态资源之后,方法还包括:客户端接收实时处理服务器返回的目标在线数据,其中,实时处理服务器在接收到第二数据请求后,继续对目标在线数据进行处理,并在对目标在线数据处理完成后,向客户端返回目标在线数据;客户端显示目标在线数据。As an optional embodiment, when the client sends the first data request of the target online data to the static resource server according to the request instruction, the above method further includes: the client sends the target online data request to the real-time processing server according to the request instruction The second data request, wherein the real-time processing server is used to process the target online data in real time; after the client displays the latest static resource of the target online data, the method further includes: 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 processing the target online data; the client displays the target online data.
具体的,上述第二数据请求用于向实时处理服务器请求目标在线数据本身。在客户端获得实时处理服务器返回的目标在线数据本身之后,可以将目标在线数据渲染出来,并清除目标在线数据的静态资源。在客户端显示目标在线数据的情况下,即可在客户端对目标在线数据进行编辑。Specifically, the above-mentioned second data request is used to request the target online data itself from the real-time processing server. After the client obtains the target online data returned by the real-time processing server, it can render the target online data and clear the static resources of the target online data. When the client terminal displays the target online data, the target online data can be edited on the client terminal.
在线数据允许多人协同编辑,且客户端对在线数据进行编辑后,会将此次编辑的变化量发送给实时处理服务器,由实时处理服务器根据该变化量对在线数据进行处理。基于上述情况,当实时处理服务器在收到客户端发送的第二数据请求时,可能在根据其他客户端发送的变化量对目标在线数据进行处理,难以立刻向客户端返回目标在线数据,因此实时处理服务器会在完成当前对目标在线数据进行的处理后,再向客户端返回目标在线数据。Online data allows multiple people to edit collaboratively, and after the client edits the online data, it will send the edited change to the real-time processing server, and the real-time processing server will process the online data according to the change. Based on the above situation, when the real-time processing server receives the second data request sent by the client, it may process the target online data according to the variation sent by other clients, and it is difficult to immediately return the target online data to the client. Therefore, the real-time The processing server will return the target online data to the client after completing the current processing of the target online data.
由于客户端接收到目标在线数据的时刻晚于接收到静态资源的时刻,实时处理服务器在两个时刻的时间差之间可能接收到其他客户端对目标在线数据的修改,因此客户端接收到的目标在线数据与接收到的静态资源之间并不一定会完全相同。Since the time when the client receives the target online data is later than the time when the static resource is received, the real-time processing server may receive other clients’ modifications to the target online data between the time difference between the two times, so the target received by the client There will not necessarily be an exact match between the live data and the received static resource.
上述方案中,由于客户端向静态资源服务器发送目标在线数据的第一数据请求的同时,还向实时处理服务器发送了目标在线数据的第二数据请求,因此客户端在显示了静态资源后,可以得到允许编辑的目标在线数据本身。In the above scheme, since the client sends the first data request of the target online data to the static resource server, it also sends the second data request of the target online data to the real-time processing server, so after displaying the static resource, the client can Get permission to edit the target online data itself.
作为一种可选的实施例,在客户端接收实时处理服务器返回的目标在线数据之后,上述方法还包括:客户端丢弃目标在线数据的最新静态资源。As an optional embodiment, after the client receives the target online data returned by the real-time processing server, the above method further includes: the client discards the latest static resource of the target online data.
上述方案中,客户端在接收到目标在线数据后,即可丢弃之前获取到的最新静态资源,从而节省存储空间。In the above solution, after receiving the online data of the target, the client can discard the latest static resource obtained before, thereby saving storage space.
作为一种可选的实施例,上述方法还包括:客户端接收编辑信息,其中,编辑信息用于对目标在线数据进行编辑处理;客户端将编辑信息发送至实时处理服务器,其中,实时处理服务器根据编辑信息对目标在线数据进行修改。As an optional embodiment, the above method further includes: the client receives editing information, wherein the editing information is used to edit and process the target online data; the client sends the editing information to a real-time processing server, wherein the real-time processing server Modify the target online data according to the editing information.
在上述方案中,用户在客户端编辑目标在线数据时,客户端即收到编辑信息,该编辑信息可以是编辑操作所引起的目标在线数据的变化量。客户端在接收到编辑信息后,将编辑信息发送至实时处理服务器,实时处理服务器即可以根据编辑信息对目标在线数据进行修改。In the above solution, when the user edits the target online data at the client terminal, the client terminal receives editing information, and the editing information may be the amount of change 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 the client requests the target online data from the real-time processing server, it edits the target online data, and after the client detects the editing information, it sends the editing information to the real-time processing server for real-time processing The server modifies the target online data according to the received editing information. In this way, all clients participating in the collaboration can edit the target online data.
当然,也可以根据实际需求对不同客户端设置不同的编辑权限,此处不再赘述。Of course, different editing permissions can also be set for different clients according to actual needs, which will not be repeated here.
在另一种可选的实施例中,客户端可以在线创建一目标在线数据,类似的,客户端将创建目标在线数据所产生的编辑信息发送至实时处理服务器,实时处理服务器即可以根据这一编辑信息同步创建目标在线数据。In another optional embodiment, the client can create a target online data online. 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 can Edit information and create target online data synchronously.
作为一种可选的实施例,在客户端接收编辑信息之后,上述方法还包括:客户端根据编辑信息生成目标在线数据的静态资源;客户端将静态资源发送至静态资源服务器,其中,静态资源服务器根据客户端发送的静态资源对目标在线数据之前的静态资源进行更新。As an optional embodiment, after the client receives the editing information, the above method further includes: the client generates a static resource of the target online data according to the editing information; the client sends the static resource to the static resource server, wherein the static resource The server updates the static resources before the target online data according to the static resources sent by the client.
在上述方案中,客户端接收到编辑信息后,会根据编辑信息生成目标在线数据的最新静态资源,并将生成的最新静态资源发送至静态资源服务器,从而使得静态资源服务器中始终保持着每个在线数据的最新静态资源。静态资源服务器根据客户端发送的静态资源对目标在线数据之前的静态资源进行更新之后,可以清除之前的静态资源。In the above solution, after receiving the editing information, the client will generate the latest static resource of the target online data according to the editing information, and send the generated latest static resource to the static resource server, so that each An up-to-date static resource for online data. After the static resource server updates the static resource before the target online data according to the static resource sent by the client, the previous static resource can be cleared.
图2是根据本申请实施例的一种在线数据处理的流程图,下面,以客户端A生成一在线表格,客户端B请求该在线表格为例,对上述方案进行说明。FIG. 2 is a flow chart of online data processing according to an embodiment of the present application. Below, the above solution will be described by taking client A generating an online form and client B requesting the online form as an example.
S1,客户端A创建在线表格,并对在线表格进行编辑。S1. Client A creates an online form and edits the online form.
S2,客户端A向实时处理服务器发送表格编辑数据(即编辑时所产生的表格的变化量)。实时处理服务器用于实时生产与消费客户端发送过来的在线表格数据。S2, the client A sends the form editing data (that is, the change amount of the form generated during editing) to the real-time processing server. The real-time processing server is used for real-time production and consumption of online form data sent by the client.
S3,客户端A以一定的频率向在线表格静态资源服务器更新当前在线表格的最新静态资源。更新频率的方法可以包括:定时(如每隔10秒)更新,或用户输入数据一段时间后(如5秒内无数据变化)更新等。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 for updating the frequency may include: updating at regular intervals (for example, every 10 seconds), or updating after the user inputs data for a period of time (for example, there is no data change within 5 seconds).
S4,在线表格静态资源服务器高效存储在线表格的最新静态资源,并且可以删除之前存储的静态资源数据,以减少服务器存储空间。在线表格静态资源服务器能够高效存储最新静态资源的原因是:静态资源服务器只接收在线表格渲染后的静态数据,无需像实时处理服务器一样耗费大量的时间消费在线表格的所有数据变化量,而只是类似于存储多份静态文件到服务器,逻辑简单,所以处理起来显得高效。S4, the online form static resource server efficiently stores the latest static resource of the online form, and can delete the previously stored static resource data to reduce server storage space. The reason why the online form static resource server can efficiently store the latest static resources is that the static resource server only receives the static data after the online form is rendered, and does not need to spend a lot of time consuming all the data changes of the online form like the real-time processing server, but just like For storing multiple static files to the server, the logic is simple, so the processing is efficient.
S5,客户端B请求加载上述客户端A创建在线表格数据,客户端B向在线表格静态资源服务器请求数据,并同步向实时处理服务器请求数据。S5, the client B requests to load the online form data created by the above-mentioned client A, and the client B requests the data from the online form static resource server, and simultaneously requests the data from the real-time processing server.
S6,在线表格静态资源服务器根据请求的表格对象,返回此对象最新的在线表格静态资源。S6. The online form static resource server returns the latest online form static resource of the object according to the requested form object.
S7,客户端B成功获取到在线表格的静态资源后,立即将静态资源渲染出来。因为客户端获取的是静态资源,静态资源服务器在返回静态数据前无需做大量的消费运算或其他耗时的开销,所以服务器返回效率相对于实时处理服务器而言,非常高效。同时客户端B获取对应的表格静态资源后,也不需进行大量的动态运算,而是直接将静态资源渲染出来,所以客户端的渲染效率也非常高。客户端B通过静态资源服务器的高效返回及客户端的数据渲染,从而实现在线表格首屏的快速显示,不过因为首屏显示的是静态资源,所以用户只能查看表格数据,而无法对此静态资源渲染出来的在线表格进行编辑。S7, after the client B successfully obtains the static resource of the online form, it immediately renders the static resource. Because the client obtains static resources, the static resource server does not need to do a lot of consumption calculations or other time-consuming overhead before returning the static data, so the return efficiency of the server is very efficient compared with the real-time processing server. At the same time, after client B obtains the corresponding table static resources, it does not need to perform a lot of dynamic calculations, but directly renders the static resources, so the rendering efficiency of the client is also very high. Client B realizes the fast 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. However, because the first screen displays static resources, users can only view the table data, but not the static resources. The rendered online form can be edited.
S8,实时处理服务器根据请求的表格对象,返回全部消费后的在线表格数据。S8. The real-time processing server returns all consumed online form data according to the requested form object.
S9,客户端B成功获取实时处理服务器返回的数据后,移除原先的静态资源数据,并渲染最新获取的表格数据。用户可对实时处理服务器返回的在线表格进行编辑。S9, after successfully obtaining the data returned by the real-time processing server, the client B removes the original static resource data and renders the newly obtained form data. Users can edit the online form returned by the real-time processing server.
实施例2Example 2
根据本发明实施例,提供了一种数据的处理系统的实施例,图3是根据本发明实施例的一种数据的处理系统的结构图,如图3所示,该系统包括:According to an embodiment of the present invention, an embodiment of a data processing system is provided. 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:
第一客户端30,用于接收第一在线数据的请求指令,第一客户端根据请求指令向静态资源服务器发送第一在线数据的第一数据请求。The first client 30 is configured to receive a request instruction for the first online data, and the first client sends a first data request for the first online data to the static resource server according to the request instruction.
具体的,上述第一客户端可以为安装在电子设备的应用客户端,例如,视频会议客户端等。上述请求指令可以由用户在第一客户端侧发出。上述在线数据的数据类型可以是表格或文档等,在线数据为允许多客户端协同处理的数据,该在线数据可以存储于远端的服务器中,从而使得参与协同的客户端可以通过发送请求指令来从远端服务器中获取在线数据。Specifically, the above-mentioned first client may be an application client installed on the electronic device, for example, a video conferencing client and the like. The above request instruction may be sent by the user at the first client side. The data type of the above-mentioned online data can be a form or a document, etc. The online data is data that allows multi-clients to coordinate processing. The online data can be stored in a remote server, so that the clients participating in the collaboration can send request instructions to Get online data from remote server.
静态资源服务器32,与第一客户端通信,静态资源服务器用于存储多个在线数据对应的静态资源,并在接收到第一数据请求后向第一客户端返回第一在线数据对应的第一静态资源。The static resource server 32 communicates with the first client. The static resource server is used to store static resources corresponding to a plurality of online data, and returns the first client corresponding to the first online data to the first client after receiving the first data request. static resources.
其中,第一客户端接收并显示第一在线数据对应的第一静态资源。Wherein, the first client receives and displays the first static resource corresponding to the first online data.
具体的,上述第一数据请求可以根据请求指令生成。例如,第一客户端接收到用户发送的请求指令,该请求指令中包含第一在线数据的标识信息,第一客户端基于第一在线数据的标识信息,生成携带该标识信息的第一数据请求,并将该第一数据请求发送至静态资源服务器。Specifically, the above-mentioned first data request may be generated according to a request instruction. For example, the first client receives a request instruction sent by the user, the request instruction includes the identification information of the first online data, and the first client generates the first data request carrying the identification information based on the identification information of the first online data , and send the first data request to the static resource server.
上述第一静态资源可以用于表示前端的固定页面,例如HTML、CSS、JS、图片等,静态资源无需查数据库,也不需要程序处理,直接就能够显示的页面,第一客户端向静态资源服务器发送第一数据请求,获得响应的速度较快。The above-mentioned first static resource can be used to represent the fixed page of the front end, such as HTML, CSS, JS, pictures, etc. The static resource does not need to search the database, nor does it require program processing, and the page can be displayed directly. The first client sends the static resource The server sends the first data request, and the response speed is relatively fast.
需要注意的是,本实施例中的步骤可以运行于数据处理系统,该数据处理系统可以包括静态资源服务器和实时处理服务器,上述步骤中,第一客户端根据用户发送的请求指令,向静态资源服务器发送第一数据请求。It should be noted that the steps in this embodiment can run on a data processing system, and the data processing system can include a static resource server and a real-time processing server. In the above steps, the first client sends the static resource The server sends a first data request.
上述方案中,第一客户端在接收到第一在线数据的请求指令后,向静态资源服务器发送对应的数据请求,从而可以获得并显示第一在线数据的静态资源。由于第一客户端获取的是静态资源,静态资源服务器在返回静态数据前无需做大量的消费运算或其他耗时的开销,所以返回效率相对于直接返回目标在线上数据本身相比,较为高效,且由于静态资源的渲染速度快,因此第一客户端可以快速的完成第一在线数据的首屏显示,相比于现有技术中直接请求第一在线数据本身,极大的缩小了首屏显示数据所消耗的时间,解决了现有技术中在多人协同编辑在线数据的场景下,在请求数据时,首屏显示在线数据所消耗的时间较长的技术问题。In the above solution, after receiving the request instruction for the first online data, the first client sends a corresponding data request to the static resource server, so that the static resource of the first online data can be obtained and displayed. Since the first client obtains static resources, the static resource server does not need to do a lot of consumption calculations or other time-consuming overhead before returning the static data, so the return efficiency is more efficient than directly returning the target online data itself. And because the rendering speed of static resources is fast, the first client can quickly complete the first screen display of the first online data. Compared with the prior art that directly requests the first online data itself, the first screen display is greatly reduced The time consumed by the data solves the technical problem in the prior art that it takes a long time to display the online data on the first screen when requesting data in the scenario where multiple people collaboratively edit the online data.
作为一种可选的实施例,第一客户端还用于根据请求指令向实时处理服务器发送第一在线数据的第二数据请求,上述系统还包括:实时处理服务器,与第一客户端通信,用于对第一在线数据进行实时处理,其中,在接收到第二数据请求后,继续对第一在线数据进行处理,并在对第一在线数据处理完成后,向第一客户端返回第一在线数据;第一客户端还用于接收并显示实时处理服务器返回的第一在线数据。As an optional embodiment, the first client is further configured to send a second data request for 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 communicates with the first client, It is used to process the first online data in real time, where after receiving the second data request, continue to process the first online data, and return the first online data to the first client after the processing of the first online data is completed. Online data; the first client is also used to receive and display the first online data returned by the real-time processing server.
具体的,上述第二数据请求用于向实时处理服务器请求第一在线数据本身。在第一客户端获得实时处理服务器返回的第一在线数据本身之后,可以将第一在线数据渲染出来,并清除第一在线数据的静态资源。在第一客户端显示第一在线数据的情况下,即可在第一客户端对第一在线数据进行编辑。Specifically, the above-mentioned 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 returned by the real-time processing server, it can render the first online data and clear the static resources of the first online data. When the first client displays the first online data, the first online data can be edited on the first client.
在线数据允许多人协同编辑,且第一客户端对在线数据进行编辑后,会将此次编辑的变化量发送给实时处理服务器,由实时处理服务器根据该变化量对在线数据进行处理。基于上述情况,当实时处理服务器在收到第一客户端发送的第二数据请求时,可能在根据其他客户端发送的变化量对第一在线数据进行处理,难以立刻向第一客户端返回第一在线数据,因此实时处理服务器会在完成当前对第一在线数据进行的处理后,再向第一客户端返回第一在线数据。Online data allows multiple people to edit it collaboratively, and after the first client edits the online data, it will send the edited change to the real-time processing server, and the real-time processing server will process the online data according to the change. Based on the above situation, when the real-time processing server receives the second data request sent by the first client, it may process the first online data according to the variation sent by other clients, and it is difficult to immediately return the second data request to the first client. Therefore, the real-time processing server will return the first online data to the first client after completing the current processing of the first online data.
由于第一客户端接收到第一在线数据的时刻晚于接收到静态资源的时刻,实时处理服务器在两个时刻的时间差之间可能接收到其他客户端对第一在线数据的修改,因此第一客户端接收到的第一在线数据与接收到的静态资源之间并不一定会完全相同。Since 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 modifications to the first online data from other clients between the time difference between the two times, so the first The first online data received by the client may not necessarily be exactly the same as the static resource received.
上述方案中,由于第一客户端向静态资源服务器发送第一在线数据的第一数据请求的同时,还向实时处理服务器发送了第一在线数据的第二数据请求,因此第一客户端在显示了静态资源后,可以得到允许编辑的第一在线数据本身。In the above solution, since the first client sends the first data request of the first online data to the static resource server, it also sends the second data request of the first online data to the real-time processing server, so the first client displays After downloading the static resources, you can get the first online data itself that allows editing.
作为一种可选的实施例,上述系统还包括:第二客户端,第二客户端用于创建第二在线数据,接收对第二在线数据的编辑信息,并将编辑信息发送至实时处理服务器;实时处理服务器还用于生成第二在线数据,并接收第二客户端发送的编辑信息,根据编辑信息对第二在线数据进行修改。As an optional embodiment, the above system further includes: a second client, the second client is used to create the second online data, receive editing information on the second online data, and send the editing information to the real-time processing server ; The real-time processing server is also used to generate the second online data, receive the editing information sent by the second client, and modify the second online data according to the editing information.
具体的,上述第二客户端可以是与第一客户端在同一协同场景下的不同客户端。Specifically, the above-mentioned second client may be a different client in the same collaboration scenario as the first client.
在一种可选的实施例中,第二客户端可以在线创建第二在线数据,第二客户端将创建第二在线数据所产生的编辑信息发送至实时处理服务器,实时处理服务器即可以根据这一编辑信息同步创建第二在线数据。In an optional embodiment, the second client can create the second online data online, and the second client sends the editing information generated by creating the second online data to the real-time processing server, and the real-time processing server can An editing information synchronously creates second online data.
作为一种可选的实施例,第二客户端还用于根据编辑信息生成第二在线数据的第二静态资源,并将第二静态资源发送至静态资源服务器;静态资源处理器还用于根据第二客户端发送的第二静态资源对第二在线数据之前的静态资源进行更新。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 configured to The second static resource sent by the second client updates the static resource before the second online data.
在上述方案中,第二客户端接收到编辑信息后,会根据编辑信息生成第二在线数据的第二静态资源,并将生成的第二静态资源发送至静态资源服务器,从而使得静态资源服务器中始终保持着每个在线数据的最新静态资源。静态资源服务器根据第二客户端发送的第二静态资源对第二在线数据之前的第二静态资源进行更新之后,可以清除之前的第二静态资源。In the above solution, after the second client receives the editing information, it will generate the second static resource of the second online data according to the editing information, and send the generated second static resource to the static resource server, so that the static resource server Always maintain the latest static resources for each online data. 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.
实施例3Example 3
根据本发明实施例,提供了一种数据的处理装置的实施例,图4是根据本发明实施例的一种数据的处理装置的示意图,如图4所示,该装置包括:According to an embodiment of the present invention, an embodiment of a data processing device is provided. FIG. 4 is a schematic diagram of a data processing device according to an embodiment of the present invention. As shown in FIG. 4 , the device includes:
第一接收模块40,用于客户端接收目标在线数据的请求指令;The first receiving module 40 is used for the client to receive the request instruction of the target online data;
发送模块42,用于客户端根据请求指令向静态资源服务器发送目标在线数据的第一数据请求,其中,静态资源服务器用于存储多个在线数据对应的静态资源;The sending module 42 is used for the client to send the first data request of the target online data to the static resource server according to the request instruction, wherein the static resource server is used to store static resources corresponding to a plurality of online data;
第二接收模块44,用于客户端接收目标在线数据对应的最新静态资源,其中,静态资源服务器在接收到第一数据请求后向客户端返回目标在线数据对应的最新静态资源;The second receiving module 44 is used for the client to receive 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;
显示模块46,用于客户端显示目标在线数据的最新静态资源。The display module 46 is used for the client to display the latest static resources of the target online data.
作为一种可选的实施例,上述装置还包括:第二发送模块,用于在客户端根据请求指令向静态资源服务器发送目标在线数据的第一数据请求的同时,客户端根据请求指令向实时处理服务器发送目标在线数据的第二数据请求,其中,实时处理服务器用于对目标在线数据进行实时处理;第三接收模块,用于在客户端显示目标在线数据的最新静态资源之后,客户端接收实时处理服务器返回的目标在线数据,其中,实时处理服务器在接收到第二数据请求后,继续对目标在线数据进行处理,并在对目标在线数据处理完成后,向客户端返回目标在线数据;第二显示模块,用于客户端显示目标在线数据。As an optional embodiment, the above-mentioned device further includes: a second sending module, configured to send the first data request of the target online data to the static resource server according to the request instruction at the same time that the client sends the real-time The processing server sends the second data request of the target online data, wherein the real-time processing server is used to process the target online data in real time; the third receiving module is used to receive the client after the client displays the latest static resource of the target online data Real-time processing of the target online data returned by the 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 processing of the target online data is completed; the second The second display module is used for the client to display the target online data.
作为一种可选的实施例,上述装置还包括:丢弃模块,用于在客户端接收实时处理服务器返回的目标在线数据之后,客户端丢弃目标在线数据的最新静态资源。As an optional embodiment, the above device further includes: a discarding module, configured to discard 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 above device further includes: a fourth receiving module, used for the client to receive editing information, where the editing information is used to edit the target online data; a third sending module, used for the client The editing information is sent to the real-time processing server, wherein the real-time processing server modifies the target online data according to the editing information.
作为一种可选的实施例,上述装置还包括:生产模块,用于在客户端接收编辑信息之后,客户端根据编辑信息生成目标在线数据的静态资源;第四发送模块,用于客户端将静态资源发送至静态资源服务器,其中,静态资源服务器根据客户端发送的静态资源对目标在线数据之前的静态资源进行更新。As an optional embodiment, the above-mentioned device further includes: a production module, configured to generate a static resource of the target online data according to the edited information after the client receives the edited information; a fourth sending module, configured to send the The static resource is sent 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.
实施例4Example 4
根据本发明实施例,提供了一种计算机存储介质,所述计算机存储介质存储有多条指令,所述指令适于由处理器加载并执行如实施例1所述的方法步骤。According to an embodiment of the present invention, a computer storage medium is provided, the computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method steps described in Embodiment 1.
实施例5Example 5
根据本发明实施例,提供了一种电子设备,包括:处理器和存储器;其中,所述存储器存储有计算机程序,所述计算机程序适于由所述处理器加载并执行如实施例1所述的方法步骤。According to an embodiment of the present invention, an electronic device is provided, including: a processor and a memory; wherein, the memory stores a computer program, and the computer program is adapted to be loaded and executed by the processor as described in Embodiment 1 method steps.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.
在本发明的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments of the present invention, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的技术内容,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,可以为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed technical content can be realized in other ways. Wherein, the device embodiments described above are only illustrative. For example, the division of the units may be a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or may be Integrate into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of units or modules may be in electrical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk, etc., which can store program codes. .
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is only a preferred embodiment of the present invention, it should be pointed out that, for those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications can also be made. It should be regarded as the protection scope of the present invention.
Claims (12)
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) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106202547A (en) * | 2016-07-26 | 2016-12-07 | 努比亚技术有限公司 | A kind of station field signal method, device and a kind of web station system |
CN108132991A (en) * | 2017-12-20 | 2018-06-08 | 上海斐讯数据通信技术有限公司 | A kind of H5 pages loading method and system |
CN110022296A (en) * | 2019-03-01 | 2019-07-16 | 口口相传(北京)网络技术有限公司 | Real-time data processing method, device, storage medium and computer equipment |
CN110442811A (en) * | 2019-08-14 | 2019-11-12 | 广州虎牙科技有限公司 | A kind of processing method of the page, device, computer equipment and storage medium |
CN111553132A (en) * | 2020-04-21 | 2020-08-18 | 广州视源电子科技股份有限公司 | Data cooperative processing method, device and system |
-
2021
- 2021-05-24 CN CN202110567926.9A patent/CN115391327A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106202547A (en) * | 2016-07-26 | 2016-12-07 | 努比亚技术有限公司 | A kind of station field signal method, device and a kind of web station system |
CN108132991A (en) * | 2017-12-20 | 2018-06-08 | 上海斐讯数据通信技术有限公司 | A kind of H5 pages loading method and system |
CN110022296A (en) * | 2019-03-01 | 2019-07-16 | 口口相传(北京)网络技术有限公司 | Real-time data processing method, device, storage medium and computer equipment |
CN110442811A (en) * | 2019-08-14 | 2019-11-12 | 广州虎牙科技有限公司 | A kind of processing method of the page, device, computer equipment and storage medium |
CN111553132A (en) * | 2020-04-21 | 2020-08-18 | 广州视源电子科技股份有限公司 | Data cooperative processing method, device and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111814089B (en) | Page rendering method and device, rendering server and storage medium | |
CN111614547B (en) | Message display method, device, terminal and medium | |
CN108848173A (en) | A kind of data-updating method, device, equipment and readable storage medium storing program for executing | |
CN108449409B (en) | Animation pushing method, device, equipment and storage medium | |
CN102708192B (en) | A kind of method and system of document sharing, equipment | |
CN104936032A (en) | Method and device for playing network video | |
CN108197210B (en) | User interactive reading method based on friend relationship and computing equipment | |
CN106951493A (en) | Automatic figure methods of exhibiting and device without figure news | |
CN116385597B (en) | Text mapping method and device | |
CN109213955B (en) | Data processing method and related equipment | |
CN113655895B (en) | Information recommendation method and device applied to input method and electronic equipment | |
CN104050204A (en) | Method for merging network data and mobile device | |
WO2025093005A1 (en) | Information display method and apparatus, device, and storage medium | |
WO2018210113A1 (en) | Method for displaying dynamic information, computer device, and storage medium | |
CN106201461A (en) | Generation method, system and the background server at a kind of interface | |
CN105677699A (en) | Method and apparatus for generating news pages for user | |
CN115391327A (en) | Data processing method, device and system | |
CN107368376B (en) | Message sending method and device, expansion method and terminal | |
CN114095469B (en) | Information processing method, device, equipment and storage medium | |
CN116661657A (en) | Message transmission method, apparatus, computer device, storage medium, and computer program product | |
CN114969603A (en) | 5G message-based picture acquisition and picture generation method and system | |
WO2011160468A1 (en) | Method and apparatus for creating independent message page | |
CN115002137B (en) | Offline message processing method, apparatus, computer equipment and storage medium | |
CN114338709B (en) | User head portrait synchronization method and device, storage medium and electronic equipment | |
CN101281516A (en) | Method and device for making electronic newspaper layout |
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 |