CN112988391B - Data processing method, device, device and storage medium - Google Patents
Data processing method, device, device and storage medium Download PDFInfo
- Publication number
- CN112988391B CN112988391B CN202110341058.2A CN202110341058A CN112988391B CN 112988391 B CN112988391 B CN 112988391B CN 202110341058 A CN202110341058 A CN 202110341058A CN 112988391 B CN112988391 B CN 112988391B
- Authority
- CN
- China
- Prior art keywords
- data
- identifier
- target
- target data
- boundary
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5011—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
- G06F9/5016—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0641—Electronic shopping [e-shopping] utilising user interfaces specially adapted for shopping
- G06Q30/0643—Electronic shopping [e-shopping] utilising user interfaces specially adapted for shopping graphically representing goods, e.g. 3D product representation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Finance (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Accounting & Taxation (AREA)
- General Engineering & Computer Science (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本公开实施例涉及一种数据处理方法、装置、设备和存储介质。该方法包括:接收客户端发送的数据获取请求;基于所述数据获取请求,确定数据集中的目标数据分界标识,并基于所述数据集中不超过所述目标数据分界标识的各所述数据确定目标数据;其中,数据分界标识用于表征相应数据存储至所述数据集时的存储顺序;将所述目标数据作为数据获取响应发送至所述客户端。通过上述技术方案,实现了同一会话中每次均从相同数据集中获取数据,避免了新增数据的干扰,达到数据去重的效果,降低了数据去重过程对内存的消耗,且提高了设备性能。
Embodiments of the present disclosure relate to a data processing method, device, device, and storage medium. The method includes: receiving a data acquisition request sent by a client; determining a target data boundary identifier in a data set based on the data acquisition request, and determining a target based on each of the data in the data set that does not exceed the target data boundary identifier data; wherein, the data demarcation identifier is used to characterize the storage order of the corresponding data stored in the data set; and the target data is sent to the client as a data acquisition response. Through the above technical solution, it is possible to obtain data from the same data set each time in the same session, avoiding the interference of new data, achieving the effect of data deduplication, reducing the memory consumption of the data deduplication process, and improving equipment performance.
Description
技术领域technical field
本公开涉及计算机技术领域,尤其涉及一种数据处理方法、装置、设备和存储介质。The present disclosure relates to the field of computer technology, and in particular, to a data processing method, device, device and storage medium.
背景技术Background technique
在互联网产品中,存在多种多样的实时数据分页展示场景,比如电商系统中的商品信息展示场景、搜索引擎中的搜索结果展示场景等,其中涉及的数据均是实时修改、实时添加、总量不断变化的实时数据。这些实时数据受限于客户端设备的显示屏幕大小,多是以分页形式来加载和展示的。在分页展示实时数据的过程中,由于服务端中的数据是实时变化的,导致前一页加载的数据与后续页加载的数据之间很可能存在重复,导致用户体验度低。In Internet products, there are a variety of real-time data pagination display scenarios, such as product information display scenarios in e-commerce systems, search results display scenarios in search engines, etc., and the data involved are all real-time modification, real-time addition, summary, etc. Constantly changing real-time data. These real-time data are limited by the size of the display screen of the client device, and are mostly loaded and displayed in the form of pages. In the process of displaying real-time data by paging, because the data in the server changes in real time, there may be duplication between the data loaded on the previous page and the data loaded on subsequent pages, resulting in low user experience.
目前,针对分页展示的实时数据去重复的方法主要是:在客户端或服务端中,缓存已显示分页的数据以及待显示分页的数据,然后对这些数据进行比较,并剔除重复的数据。但是,这种去重复方法对内存的消耗较高,且会降低客户端或服务端的性能。At present, the method for deduplication of real-time data displayed by paging is mainly: in the client or server, cache the data of the displayed paging and the data of the pagination to be displayed, then compare these data, and eliminate duplicate data. However, this deduplication method consumes a lot of memory and reduces the performance of the client or server.
发明内容Contents of the invention
为了解决上述技术问题或者至少部分地解决上述技术问题,本公开提供了一种数据处理方法、装置、设备和存储介质。In order to solve the above technical problem or at least partly solve the above technical problem, the present disclosure provides a data processing method, device, device and storage medium.
本公开实施例提供了一种数据处理方法,该方法包括:An embodiment of the present disclosure provides a data processing method, the method comprising:
接收客户端发送的数据获取请求;Receive the data acquisition request sent by the client;
基于所述数据获取请求,确定数据集中的目标数据分界标识,并基于所述数据集中不超过所述目标数据分界标识的各所述数据确定目标数据;其中,数据分界标识用于表征相应数据存储至所述数据集时的存储顺序;Based on the data acquisition request, determine the target data boundary identifier in the data set, and determine the target data based on each of the data in the data set that does not exceed the target data boundary identifier; wherein, the data boundary identifier is used to represent the corresponding data storage The order of storage when arriving at said data set;
将所述目标数据作为数据获取响应发送至所述客户端。sending the target data to the client as a data acquisition response.
本公开实施例还提供了一种数据处理装置,该装置包括:An embodiment of the present disclosure also provides a data processing device, which includes:
数据获取请求接收模块,用于接收客户端发送的数据获取请求;The data acquisition request receiving module is used to receive the data acquisition request sent by the client;
目标数据确定模块,用于基于所述数据获取请求,确定数据集中的目标数据分界标识,并基于所述数据集中不超过所述目标数据分界标识的各所述数据确定目标数据;其中,数据分界标识用于表征相应数据存储至所述数据集时的存储顺序;A target data determination module, configured to determine the target data boundary identifier in the data set based on the data acquisition request, and determine target data based on each of the data in the data set that does not exceed the target data boundary identifier; wherein, the data boundary The identifier is used to characterize the storage sequence when the corresponding data is stored in the data set;
数据获取响应发送模块,用于将所述目标数据作为数据获取响应发送至所述客户端。A data acquisition response sending module, configured to send the target data to the client as a data acquisition response.
本公开实施例还提供了一种的电子设备,该电子设备包括:An embodiment of the present disclosure also provides an electronic device, the electronic device includes:
处理器和存储器;processor and memory;
所述处理器通过调用所述存储器存储的程序或指令,用于执行本公开任意实施例中所述方法的步骤。The processor is used to execute the steps of the method in any embodiment of the present disclosure by invoking the programs or instructions stored in the memory.
本公开实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储程序或指令,所述程序或所述指令使计算机执行本公开任意实施例中所述方法的步骤。An embodiment of the present disclosure also provides a computer-readable storage medium, where the computer-readable storage medium stores a program or an instruction, and the program or the instruction causes a computer to execute the steps of the method described in any embodiment of the present disclosure.
本公开实施例提供的技术方案与现有技术相比具有如下优点:本公开实施例提供的数据处理方案,基于客户端发送的数据获取请求,从服务端存储实时数据的数据集中确定出目标数据分界标识,以借助该目标数据分界标识将数据集划分为两部分,一部分为数据集中目标数据分界标识及其之前存储的数据,称为已存储数据;另一部分是数据集中目标数据分界标识之后存储的数据,称为新添加数据。并且,根据数据获取请求从数据集中的已存储数据部分中确定出目标数据,将其作为数据获取响应发送给客户端。实现了同一会话中每次均从数据集中的已存储数据中获取数据,避免了新添加数据的干扰,达到数据去重的效果,因避免了数据缓存操作,故降低了数据去重过程对内存的消耗,且因省去了数据比较操作,故提高了服务端或客户端的性能。Compared with the prior art, the technical solution provided by the embodiment of the present disclosure has the following advantages: the data processing solution provided by the embodiment of the present disclosure, based on the data acquisition request sent by the client, determines the target data from the data set storing real-time data at the server Demarcation mark, with the help of the target data demarcation mark to divide the data set into two parts, one part is the target data demarcation mark in the data set and the data stored before it, which is called stored data; the other part is the target data demarcation mark in the dataset and stored The data of is called newly added data. And, according to the data acquisition request, the target data is determined from the stored data in the data set, and sent to the client as a data acquisition response. It realizes the acquisition of data from the stored data in the data set every time in the same session, avoids the interference of newly added data, and achieves the effect of data deduplication. Because the data cache operation is avoided, the memory impact of the data deduplication process is reduced. consumption, and because the data comparison operation is omitted, the performance of the server or client is improved.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, In other words, other drawings can also be obtained from these drawings without paying creative labor.
图1为本公开实施例提供的一种数据处理方法的流程示意图;FIG. 1 is a schematic flowchart of a data processing method provided by an embodiment of the present disclosure;
图2为本公开实施例提供的一种基于数据处理方法的交互过程示意图;FIG. 2 is a schematic diagram of an interactive process based on a data processing method provided by an embodiment of the present disclosure;
图3为本公开实施例提供的另一种数据处理方法的流程示意图;FIG. 3 is a schematic flowchart of another data processing method provided by an embodiment of the present disclosure;
图4为本公开实施例提供的一种数据处理装置的结构示意图;FIG. 4 is a schematic structural diagram of a data processing device provided by an embodiment of the present disclosure;
图5为本公开实施例提供的一种电子设备的结构示意图。FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
为了能够更清楚地理解本公开的上述目的、特征和优点,下面将对本公开的方案进行进一步的详细描述。需要说明的是,在不冲突的情况下,本公开的实施例及实施例中的特征可以相互组合。In order to more clearly understand the above objects, features and advantages of the present disclosure, the solutions of the present disclosure will be further described in detail below. It should be noted that, in the case of no conflict, the embodiments of the present disclosure and the features in the embodiments can be combined with each other.
在下面的描述中阐述了很多具体细节以便于充分理解本公开,但本公开还可以采用其他不同于在此描述的方式来实施;显然,说明书中的实施例只是本公开的一部分实施例,而不是全部的实施例。In the following description, many specific details are set forth in order to fully understand the present disclosure, but the present disclosure can also be implemented in other ways than described here; obviously, the embodiments in the description are only some of the embodiments of the present disclosure, and Not all examples.
本公开实施例提供的数据处理方法,主要适用于按照某种粒度(如分页或分块等)来获取无重复性的实时数据的场景,例如电商系统中的商品信息展示场景、搜索引擎中的搜索结果展示场景、feed流数据展示场景等。该方法可以由数据获取装置来执行,该装置可以由软件和/或硬件的方式实现,该装置可以集成在具有数据存储功能的电子设备中,例如笔记本电脑、台式电脑或服务器等。The data processing method provided by the embodiments of the present disclosure is mainly applicable to scenarios where non-repetitive real-time data is acquired according to a certain granularity (such as pagination or block, etc.), such as commodity information display scenarios in e-commerce systems, search engine The search result display scene, the feed stream data display scene, etc. The method can be executed by a data acquisition device, which can be realized by software and/or hardware, and the device can be integrated in an electronic device with a data storage function, such as a notebook computer, a desktop computer, or a server.
图1是本公开实施例提供的一种数据处理方法的流程图。参见图1,该数据处理方法具体包括:Fig. 1 is a flowchart of a data processing method provided by an embodiment of the present disclosure. Referring to Figure 1, the data processing method specifically includes:
S110、接收客户端发送的数据获取请求。S110. Receive a data acquisition request sent by the client.
客户端向数据处理装置发送数据获取请求,以请求获取需要展示的数据。该数据获取请求中至少包含请求参数,即要请求的数据的相关信息,例如请求的数据量、已请求的数据的信息等。The client sends a data acquisition request to the data processing device, so as to request to acquire the data to be displayed. The data acquisition request includes at least request parameters, that is, information about the data to be requested, such as the amount of requested data, information about the requested data, and the like.
S120、基于数据获取请求,确定数据集中的目标数据分界标识,并基于数据集中不超过目标数据分界标识的各数据确定目标数据。S120. Based on the data acquisition request, determine a target data boundary identifier in the data set, and determine target data based on each data in the data set that does not exceed the target data boundary identifier.
其中,数据集是用于存储各条数据的集合,其中的数据会实时变化,如添加新的数据、数据存储位置变化等。数据分界标识用于表征相应数据存储至数据集时的存储顺序。数据集中的每条数据在插入数据集时,均会先为相应数据确定存储顺序,然后将该数据及其存储顺序一起插入数据集中。这里的存储顺序是能够表征数据插入数据集的先后顺序。在一些实施例中,数据分界标识为相应数据存储至数据集时的系统时间点或存储顺序编号。目标数据分界标识是对应于本次会话连接的数据分界标识,其用于隔离数据集中的新旧数据,即将数据集划分为两部分,一部分为数据集中目标数据分界标识及其之前存储的数据,称为已存储数据(旧数据);另一部分是数据集中目标数据分界标识之后存储的数据,称为新添加数据(新数据)。Among them, the data set is a collection used to store various pieces of data, and the data in it will change in real time, such as adding new data, changing the location of data storage, and so on. The data demarcation mark is used to characterize the storage sequence when the corresponding data is stored in the data set. When each piece of data in the dataset is inserted into the dataset, the storage sequence will be determined for the corresponding data first, and then the data and its storage sequence will be inserted into the dataset together. The storage order here is the order in which data can be inserted into the data set. In some embodiments, the data demarcation identifier is the system time point or storage sequence number when the corresponding data is stored in the data set. The target data demarcation identifier is the data demarcation identifier corresponding to this session connection, which is used to isolate the old and new data in the data set, that is, the data set is divided into two parts, one part is the target data demarcation identifier in the data set and the data stored before it, called It is the stored data (old data); the other part is the data stored after the target data boundary mark in the data set, which is called newly added data (new data).
数据处理装置根据数据获取请求中的信息,从数据集中各条数据的数据分界标识中确定出适配当前会话连接的目标数据分界标识。然后,数据处理装置以目标数据分界标识为界限,从已存储数据中获取与数据获取请求对应的数据,作为目标数据。According to the information in the data acquisition request, the data processing device determines the target data boundary identifier suitable for the current session connection from the data boundary identifiers of each piece of data in the data set. Then, the data processing device obtains the data corresponding to the data acquisition request from the stored data as the target data, taking the target data demarcation mark as the boundary.
在一些实施例中,S120中基于数据获取请求,确定数据集中的目标数据分界标识包括:In some embodiments, in S120, based on the data acquisition request, determining the target data boundary identifier in the data set includes:
步骤A、判断数据获取请求是否为当前会话的首次请求。Step A, judging whether the data acquisition request is the first request of the current session.
数据处理装置在接收到数据获取请求后,根据该数据获取请求对应的会话连接(即当前会话)中保留的会话信息(如会话ID、会话中执行的请求次数等),判断该数据获取请求是否为首次请求。例如,当前会话的会话信息中的请求次数为0,则判断该数据获取请求为首次请求;反之,若请求次数大于0,则判断数据获取请求为非首次请求,称为后续请求、翻页请求等。After receiving the data acquisition request, the data processing device judges whether the data acquisition request is for the first request. For example, if the number of requests in the session information of the current session is 0, it is judged that the data acquisition request is the first request; otherwise, if the number of requests is greater than 0, it is judged that the data acquisition request is not the first request, which is called a follow-up request or a page turning request wait.
在一些实施例中,步骤A包括:若数据获取请求中携带的初始数据分界标识的取值处于数据分界标识的取值范围之外,则确定数据获取请求为当前会话的首次请求;若初始数据分界标识的取值处于取值范围之内,则确定数据获取请求为当前会话的非首次请求。数据处理装置处理利用当前会话的会话信息来判断是否首次请求之外,还可以利用数据获取请求中携带的数据分界标识(即初始数据分界标识)来判断。该初始数据分界标识可以是预先设定的、不同于任一数据分界标识的某个缺省值,也可以是数据处理装置传输给客户端的目标数据分界标识。具体地,可以预先确定数据分界标识的取值范围,并且预先规定数据获取请求中需包含初始数据分界标识。如果数据获取请求中携带的初始数据分界标识为缺省值或者空值等无效值,那么其取值处于数据分界标识的取值范围之外,认为数据处理装置未向客户端反馈过数据分界标识,则判断该数据获取请求为当前会话的首次请求。如果数据获取请求中携带的初始数据分界标识的取值处于数据分界标识的取值范围之内,认为数据处理装置向客户端反馈过数据分界标识,则判断该数据获取请求为当前会话的非首次请求。这样设置的好处在于,通过将目标数据分界标识作为交互数据进行交互传输,能够更加便捷地判断是否首次请求,以及更加快速地确定目标数据分界标识。In some embodiments, step A includes: if the value of the initial data demarcation identifier carried in the data acquisition request is outside the value range of the data demarcation identifier, then determining that the data acquisition request is the first request of the current session; if the initial data If the value of the boundary identifier is within the value range, it is determined that the data acquisition request is not the first request of the current session. In addition to using the session information of the current session to determine whether the request is the first, the data processing device may also use the data boundary identifier (ie, the initial data boundary identifier) carried in the data acquisition request to determine. The initial data demarcation identifier may be a preset default value different from any data demarcation identifier, or may be a target data demarcation identifier transmitted by the data processing device to the client. Specifically, the value range of the data demarcation identifier may be predetermined, and it is predetermined that the initial data demarcation identifier must be included in the data acquisition request. If the initial data demarcation identifier carried in the data acquisition request is a default value or an invalid value such as a null value, then its value is outside the value range of the data demarcation identifier, and it is considered that the data processing device has not fed back the data demarcation identifier to the client , it is judged that the data acquisition request is the first request of the current session. If the value of the initial data demarcation identifier carried in the data acquisition request is within the value range of the data demarcation identifier, it is considered that the data processing device has fed back the data demarcation identifier to the client, and it is judged that the data acquisition request is not the first time of the current session ask. The advantage of this setting is that by interactively transmitting the target data demarcation mark as interactive data, it can be more convenient to determine whether it is the first request, and to determine the target data demarcation mark more quickly.
步骤B、基于判断结果确定数据集中的目标数据分界标识。Step B. Determine the target data boundary mark in the data set based on the judgment result.
数据处理装置可以根据是否首次请求来决定确定目标数据分界标识的合适方式,进而确定出正确的目标数据分界标识。The data processing device may determine an appropriate way to determine the target data boundary identifier according to whether the request is for the first time, and then determine the correct target data boundary identifier.
在一些实施例中,步骤B包括:若数据获取请求为当前会话的首次请求,则确定当前时刻数据集中最后存储的数据的数据分界标识为目标数据分界标识。如果数据获取请求为当前会话的首次请求,那么获取当前时刻的数据集中最后插入的一条数据的数据分界标识,并将其确定为当前会话的目标数据分界标识。In some embodiments, step B includes: if the data acquisition request is the first request of the current session, determining the data boundary identifier of the last data stored in the data set at the current moment as the target data boundary identifier. If the data acquisition request is the first request of the current session, then obtain the data boundary identifier of the last inserted piece of data in the data set at the current moment, and determine it as the target data boundary identifier of the current session.
在一些实施例中,步骤B包括:若数据获取请求为当前会话的非首次请求,则将数据获取请求中携带的初始数据分界标识确定为目标数据分界标识。考虑到已存储数据中没有新数据的插入,能够确保数据之间相对无变动,故本公开实施例设定同一次会话连接中的数据均从相同的数据子集中获取,即均从由目标数据分界标识划定的已存储数据中获取,以此来确保一次会话连接中多次请求所获的数据之间不重复。鉴于此,在数据获取请求中携带初始数据分界标识的实施例中,目标数据分界标识会作为一次会话连接中的固定交互数据在客户端和数据处理装置对应的服务端之间传输。所以,如果数据获取请求为当前会话的非首次请求,那么该初始数据分界标识便为目标数据分界标识。In some embodiments, step B includes: if the data acquisition request is not the first request of the current session, determining the initial data boundary identifier carried in the data acquisition request as the target data boundary identifier. Considering that there is no insertion of new data in the stored data, it can ensure that there is relatively no change between the data, so the embodiments of the present disclosure set that the data in the same session connection are all obtained from the same data subset, that is, they are all obtained from the target data. Obtained from the stored data delimited by the demarcation identifier, so as to ensure that the data obtained by multiple requests in one session connection are not duplicated. In view of this, in the embodiment where the initial data boundary identifier is carried in the data acquisition request, the target data boundary identifier will be transmitted between the client and the server corresponding to the data processing device as fixed interaction data in a session connection. Therefore, if the data acquisition request is not the first request of the current session, then the initial data boundary identifier is the target data boundary identifier.
S130、将目标数据作为数据获取响应发送至客户端。S130. Send the target data to the client as a data acquisition response.
数据处理装置将目标数据作为对数据获取响应发送至客户端。The data processing device sends the target data to the client as a response to data acquisition.
在一些实施例中,S130包括:将目标数据和目标数据分界标识确定为数据获取响应,并将数据获取响应发送至客户端。在数据获取请求需包含初始数据分界标识的实施例中,数据处理装置还需将目标数据分界标识和目标数据一同作为数据获取响应发送至客户端。In some embodiments, S130 includes: determining the target data and the target data boundary identifier as a data acquisition response, and sending the data acquisition response to the client. In the embodiment where the data acquisition request needs to include the initial data demarcation identifier, the data processing device also needs to send the target data demarcation identifier and the target data together as a data acquisition response to the client.
参见图2,针对数据获取响应中包含目标数据分界标识的实施方式,数据处理过程中客户端与数据处理装置的交互过程为:当前会话的首次请求中,客户端携带取值为缺省值的初始数据分界标识和请求参数,向数据处理装置发送数据获取请求。数据处理装置按照S110~130的处理后,将目标数据和目标数据分界标识作为数据获取响应发送至客户端。客户端在后续的数据获取请求发送过程中,同样携带初始数据分界标识,但是该初始数据分界标识的内容不再是缺省值,而是目标数据分界标识。然后重复上述交互过程,直至当前会话结束。当客户端和数据处理装置对应的服务端之间建立新的会话时,需要再重新按照上述过程确定新的目标数据分界标识。Referring to FIG. 2 , for the embodiment in which the target data demarcation identifier is included in the data acquisition response, the interaction process between the client and the data processing device during data processing is as follows: in the first request of the current session, the client carries the default value The initial data boundary identifier and request parameters are used to send a data acquisition request to the data processing device. The data processing device sends the target data and the target data boundary identifier as a data acquisition response to the client after processing according to S110-130. In the process of sending the subsequent data acquisition request, the client also carries the initial data demarcation identifier, but the content of the initial data demarcation identifier is no longer the default value, but the target data demarcation identifier. Then repeat the above interaction process until the current session ends. When a new session is established between the client and the server corresponding to the data processing device, the new target data demarcation identifier needs to be determined again according to the above process.
本公开实施例的上述技术方案,通过基于客户端发送的数据获取请求,从服务端存储实时数据的数据集中确定出目标数据分界标识,以借助该目标数据分界标识将数据集划分为两部分,一部分为数据集中目标数据分界标识及其之前存储的数据,称为已存储数据;另一部分是数据集中目标数据分界标识之后存储的数据,称为新添加数据。并且,根据数据获取请求从数据集中的已存储数据部分中确定出目标数据,将其作为数据获取响应发送给客户端。实现了同一会话中每次均从数据集中的已存储数据中获取数据,避免了新添加数据的干扰,达到数据去重的效果,因避免了数据缓存操作,故降低了数据去重过程对内存的消耗,且因省去了数据比较操作,故提高了服务端或客户端的性能。In the above technical solution of the embodiment of the present disclosure, based on the data acquisition request sent by the client, the target data demarcation identifier is determined from the data set storing real-time data at the server, and the data set is divided into two parts by means of the target data demarcation identifier. One part is the target data boundary identifier in the dataset and the data stored before it, called stored data; the other part is the data stored after the target data boundary identifier in the dataset, called newly added data. And, according to the data acquisition request, the target data is determined from the stored data in the data set, and sent to the client as a data acquisition response. It realizes the acquisition of data from the stored data in the data set every time in the same session, avoids the interference of newly added data, and achieves the effect of data deduplication. Because the data cache operation is avoided, the memory impact of the data deduplication process is reduced. consumption, and because the data comparison operation is omitted, the performance of the server or client is improved.
图3是本公开实施例提供的又一种数据处理方法的流程图。其对“基于数据获取请求,确定数据集中的目标数据分界标识”进行了进一步优化。其中与上述各实施例相同或相应的术语的解释在此不再赘述。参见图3,该数据处理方法包括:Fig. 3 is a flowchart of another data processing method provided by an embodiment of the present disclosure. It further optimizes "determining the target data demarcation mark in the data set based on the data acquisition request". The explanations of terms that are the same as or corresponding to the above-mentioned embodiments will not be repeated here. Referring to Figure 3, the data processing method includes:
S210、接收客户端发送的数据获取请求。S210. Receive a data acquisition request sent by the client.
S220、基于数据获取请求确定当前会话标识。S220. Determine the current session identifier based on the data acquisition request.
数据处理装置根据数据获取请求确定当前会话的会话信息,并从会话信息中确定出会话标识(即当前会话标识)。The data processing device determines the session information of the current session according to the data acquisition request, and determines the session identifier (ie, the current session identifier) from the session information.
S230、基于当前会话标识、会话标识和数据分界标识之间的对应关系,确定数据集中的目标数据分界标识。S230. Based on the current session identifier, the correspondence between the session identifier and the data boundary identifier, determine a target data boundary identifier in the data set.
对于上述将目标数据分界标识作为交互信息进行交互传输的实施方式,考虑到客户端与服务端交互过程,因网络等原因存在交互信息丢失或信息篡改等情况,其可能造成当前会话对应的目标数据分界标识有误,进而造成同一会话中不同请求获取的数据之间有可能重复。所以,在一些实施例中,可以在服务端一侧存储每次会话中确定的目标数据分界标识,即存储会话标识和数据分界标识之间的对应关系。这样,数据处理装置在确定当前会话标识之后,便可从该存储的对应关系中查找出当前会话标识对应的数据分界标识,并将查找到的数据分界标识确定为当前会话对应的目标数据分界标识。For the above-mentioned implementation method that uses the target data demarcation mark as interactive information for interactive transmission, considering the interaction process between the client and the server, there may be situations such as loss of interactive information or information tampering due to reasons such as the network, which may cause the target data corresponding to the current session to The demarcation mark is wrong, which may cause duplication of data obtained by different requests in the same session. Therefore, in some embodiments, the target data demarcation identifier determined in each session may be stored on the server side, that is, the corresponding relationship between the session identifier and the data demarcation identifier is stored. In this way, after the data processing device determines the current session identifier, it can find out the data demarcation identifier corresponding to the current session identifier from the stored correspondence, and determine the found data demarcation identifier as the target data demarcation identifier corresponding to the current session .
在一些实施例中,S230包括:若当前会话标识和对应关系满足设定条件,则确定当前时刻数据集中最后存储的数据的数据分界标识为目标数据分界标识;将当前会话标识和目标数据分界标识,对应存储于对应关系中;其中,设定条件为对应关系中没有当前会话标识、对应关系中没有当前会话标识对应的数据分界标识、或者对应关系中当前会话标识对应的数据分界标识的取值处于数据分界标识的取值范围之外。数据处理装置以当前会话标识为索引,对会话标识和数据分界标识之间的对应关系进行查询。如果该对应关系中不存在当前会话标识,或者对应关系中虽存在当前会话标识、但其没有对应的数据分界标识,或者对应关系中存在当前会话标识及其对应的数据分界标识、但该数据分界标识的取值处于数据集的数据分界标识的取值范围之外,那么认为对应关系中不存在当前会话对应的目标数据分界标识。此时,获取当前时刻的数据集中最后插入的一条数据的数据分界标识,并将其确定为当前会话的目标数据分界标识。同时,需要将当前会话标识和该目标数据分界标识对应存储至上述对应关系中。In some embodiments, S230 includes: if the current session identifier and the corresponding relationship meet the set conditions, then determine the data boundary identifier of the last stored data in the data set at the current moment as the target data boundary identifier; set the current session identifier and the target data boundary identifier , correspondingly stored in the corresponding relationship; where the set condition is that there is no current session identifier in the corresponding relationship, there is no data boundary identifier corresponding to the current session identifier in the corresponding relationship, or the value of the data boundary identifier corresponding to the current session identifier in the corresponding relationship It is outside the value range of the data boundary identifier. The data processing device queries the corresponding relationship between the session identifier and the data boundary identifier by using the current session identifier as an index. If there is no current session identifier in the corresponding relationship, or there is a current session identifier in the corresponding relationship, but there is no corresponding data boundary identifier, or there is a current session identifier and its corresponding data boundary identifier in the corresponding relationship, but the data boundary If the value of the identifier is outside the value range of the data boundary identifier of the data set, then it is considered that there is no target data boundary identifier corresponding to the current session in the corresponding relationship. At this time, the data boundary identifier of the last inserted piece of data in the data set at the current moment is obtained, and determined as the target data boundary identifier of the current session. At the same time, the current session identifier and the target data demarcation identifier need to be correspondingly stored in the above correspondence.
在一些实施例中,S230包括:若对应关系中当前对话标识对应的数据分界标识的取值处于数据分界标识的取值范围之内,则将当前对话标识对应的数据分界标识确定为目标数据分界标识。如果数据处理装置从对应关系中查找到当前会话标识对应的数据分界标识,且其处于数据集中的数据分界标识的取值范围之内,则将查找到的数据分界标识确定为当前会话对应的目标数据分界标识。In some embodiments, S230 includes: if the value of the data boundary identifier corresponding to the current dialogue identifier in the corresponding relationship is within the value range of the data boundary identifier, determining the data boundary identifier corresponding to the current dialogue identifier as the target data boundary logo. If the data processing device finds the data demarcation identifier corresponding to the current session identifier from the corresponding relationship, and it is within the value range of the data demarcation identifier in the data set, then determine the found data demarcation identifier as the target corresponding to the current session Data demarcation mark.
S240、基于数据集中不超过目标数据分界标识的各数据确定目标数据。S240. Determine the target data based on each data in the data set that does not exceed the boundary mark of the target data.
S250、将目标数据作为数据获取响应发送至客户端。S250. Send the target data to the client as a data acquisition response.
本实施例中,只需将目标数据作为数据获取响应发送至客户端即可,目标数据分界标识则将存储于服务端中的对应关系中。In this embodiment, it is only necessary to send the target data to the client as a data acquisition response, and the target data boundary identifier will be stored in the corresponding relationship in the server.
本公开实施例的上述技术方案,通过基于客户端发送的数据获取请求确定当前会话标识;基于当前会话标识、会话标识和数据分界标识之间的对应关系,确定数据集中的目标数据分界标识。实现了在服务端中存储每次会话连接的会话标识及其对应的数据分界标识,进而根据当前会话标识确定目标数据分界标识,以对数据集进行数据划分,从而使得同一次会话中的各数据获取请求均从目标数据分界标识及其之前的已存储数据中获取数据,避免了数据重复,也能简化客户端和服务端的交互信息,避免了因交互过程中目标数据分界标识出错而导致的数据拉取重复,进一步提高数据去重效率。In the above technical solution of the embodiment of the present disclosure, the current session identifier is determined based on the data acquisition request sent by the client; based on the current session identifier, the correspondence between the session identifier and the data boundary identifier, the target data boundary identifier in the data set is determined. It realizes storing the session ID of each session connection and its corresponding data demarcation ID in the server, and then determines the target data demarcation ID according to the current session ID to divide the data set, so that each data in the same session The acquisition request obtains data from the target data demarcation mark and its previous stored data, which avoids data duplication, simplifies the interaction information between the client and the server, and avoids data loss caused by errors in the target data demarcation mark during the interaction process. Pull duplicates to further improve data deduplication efficiency.
图4为本公开实施例提供的一种数据处理装置的结构示意图,该装置可通过执行数据处理方法来确保每次按照相同粒度(分页或分块等)获取的数据之间无重复数据。如图4所示,该装置包括:FIG. 4 is a schematic structural diagram of a data processing device provided by an embodiment of the present disclosure. The device can ensure that there is no duplicate data between data acquired at the same granularity (page or block, etc.) each time by executing a data processing method. As shown in Figure 4, the device includes:
数据获取请求接收模块410,用于接收客户端发送的数据获取请求;A data acquisition request receiving module 410, configured to receive a data acquisition request sent by the client;
目标数据确定模块420,用于基于数据获取请求,确定数据集中的目标数据分界标识,并基于数据集中不超过目标数据分界标识的各数据确定目标数据;其中,数据分界标识用于表征相应数据存储至数据集时的存储顺序;The target data determination module 420 is configured to determine the target data demarcation mark in the data set based on the data acquisition request, and determine the target data based on each data in the data set that does not exceed the target data demarcation mark; wherein, the data demarcation mark is used to represent the corresponding data storage The storage order when entering the data set;
数据获取响应发送模块430,用于将目标数据作为数据获取响应发送至客户端。A data acquisition response sending module 430, configured to send the target data to the client as a data acquisition response.
在一些实施例中,目标数据确定模块420包括:In some embodiments, target data determination module 420 includes:
首次请求判断子模块,用于判断数据获取请求是否为当前会话的首次请求;The first request judging sub-module is used to judge whether the data acquisition request is the first request of the current session;
目标数据分界标识确定子模块,用于基于判断结果确定数据集中的目标数据分界标识。The target data demarcation mark determining submodule is configured to determine the target data demarcation mark in the data set based on the judgment result.
在一些实施例中,目标数据分界标识确定子模块具体用于:In some embodiments, the target data demarcation identifier determining submodule is specifically used for:
若数据获取请求为当前会话的首次请求,则确定当前时刻数据集中最后存储的数据的数据分界标识为目标数据分界标识。If the data acquisition request is the first request of the current session, determine the data boundary identifier of the last data stored in the data set at the current moment as the target data boundary identifier.
在一些实施例中,目标数据分界标识确定子模块具体用于:In some embodiments, the target data demarcation identifier determining submodule is specifically used for:
若数据获取请求为当前会话的非首次请求,则将数据获取请求中携带的初始数据分界标识确定为目标数据分界标识。If the data acquisition request is not the first request of the current session, the initial data boundary identifier carried in the data acquisition request is determined as the target data boundary identifier.
在一些实施例中,首次请求判断子模块具体用于:In some embodiments, the first request judgment submodule is specifically used for:
若数据获取请求中携带的初始数据分界标识的取值处于数据分界标识的取值范围之外,则确定数据获取请求为当前会话的首次请求;If the value of the initial data demarcation identifier carried in the data acquisition request is outside the value range of the data demarcation identifier, then determine that the data acquisition request is the first request of the current session;
若初始数据分界标识的取值处于取值范围之内,则确定数据获取请求为当前会话的非首次请求。If the value of the initial data boundary identifier is within the value range, it is determined that the data acquisition request is not the first request of the current session.
在一些实施例中,数据获取响应发送模块430具体用于:In some embodiments, the data acquisition response sending module 430 is specifically used to:
将目标数据和目标数据分界标识确定为数据获取响应,并将数据获取响应发送至客户端。Determine the target data and the target data boundary identifier as a data acquisition response, and send the data acquisition response to the client.
在一些实施例中,目标数据确定模块420包括:In some embodiments, target data determination module 420 includes:
当前会话标识确定子模块,用于基于数据获取请求确定当前会话标识;The current session identifier determination submodule is used to determine the current session identifier based on the data acquisition request;
目标数据分界标识确定子模块,用于基于当前会话标识、会话标识和数据分界标识之间的对应关系,确定数据集中的目标数据分界标识。The target data demarcation identifier determining submodule is configured to determine the target data demarcation identifier in the data set based on the current session identifier, the correspondence between the session identifier and the data demarcation identifier.
在一些实施例中,目标数据分界标识确定子模块具体用于:In some embodiments, the target data demarcation identifier determining submodule is specifically used for:
若当前会话标识和对应关系满足设定条件,则确定当前时刻数据集中最后存储的数据的数据分界标识为目标数据分界标识;If the current session identifier and the corresponding relationship meet the set conditions, then determine the data boundary identifier of the last data stored in the data set at the current moment as the target data boundary identifier;
将当前会话标识和目标数据分界标识,对应存储于对应关系中;Correspondingly store the current session identifier and the target data demarcation identifier in the corresponding relationship;
其中,设定条件为对应关系中没有当前会话标识、对应关系中没有当前会话标识对应的数据分界标识、或者对应关系中当前会话标识对应的数据分界标识的取值处于数据分界标识的取值范围之外。Wherein, the setting condition is that there is no current session identifier in the corresponding relationship, there is no data demarcation identifier corresponding to the current session identifier in the corresponding relationship, or the value of the data demarcation identifier corresponding to the current session identifier in the corresponding relationship is within the value range of the data demarcation identifier outside.
在一些实施例中,目标数据分界标识确定子模块具体用于:In some embodiments, the target data demarcation identifier determining submodule is specifically used for:
若对应关系中当前对话标识对应的数据分界标识的取值处于数据分界标识的取值范围之内,则将当前对话标识对应的数据分界标识确定为目标数据分界标识。If the value of the data boundary identifier corresponding to the current dialogue identifier in the corresponding relationship is within the value range of the data boundary identifier, then the data boundary identifier corresponding to the current dialogue identifier is determined as the target data boundary identifier.
在一些实施例中,数据分界标识为相应数据存储至数据集时的系统时间点或存储顺序编号。In some embodiments, the data demarcation identifier is the system time point or storage sequence number when the corresponding data is stored in the data set.
通过本公开实施例提供的一种数据处理装置,基于客户端发送的数据获取请求,从服务端存储实时数据的数据集中确定出目标数据分界标识,以借助该目标数据分界标识将数据集划分为两部分,一部分为数据集中目标数据分界标识及其之前存储的数据,称为已存储数据;另一部分是数据集中目标数据分界标识之后存储的数据,称为新添加数据。并且,根据数据获取请求从数据集中的已存储数据部分中确定出目标数据,将其作为数据获取响应发送给客户端。实现了同一会话中每次均从数据集中的已存储数据中获取数据,避免了新添加数据的干扰,达到数据去重的效果,因避免了数据缓存操作,故降低了数据去重过程对内存的消耗,且因省去了数据比较操作,故提高了服务端或客户端的性能。According to a data processing device provided by an embodiment of the present disclosure, based on the data acquisition request sent by the client, the target data boundary identifier is determined from the data set storing real-time data at the server, so that the data set can be divided into There are two parts, one part is the target data demarcation mark in the data set and the data stored before it, called stored data; the other part is the data stored after the target data demarcation mark in the data set, called newly added data. And, according to the data acquisition request, the target data is determined from the stored data in the data set, and sent to the client as a data acquisition response. It realizes the acquisition of data from the stored data in the data set every time in the same session, avoids the interference of newly added data, and achieves the effect of data deduplication. Because the data cache operation is avoided, the memory impact of the data deduplication process is reduced. consumption, and because the data comparison operation is omitted, the performance of the server or client is improved.
本公开实施例所提供的数据处理装置可执行本公开任意实施例所提供的数据处理方法,具备执行方法相应的功能模块和有益效果。值得注意的是,上述数据处理装置的实施例中,所包括的各个模块和子模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能模块、子模块的具体名称也只是为了便于相互区分,并不用于限制本公开的保护范围。The data processing device provided by the embodiments of the present disclosure can execute the data processing method provided by any embodiment of the present disclosure, and has corresponding functional modules and beneficial effects for executing the method. It is worth noting that, in the embodiments of the data processing device above, the included modules and sub-modules are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be realized; in addition, each The specific names of the functional modules and sub-modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present disclosure.
图5为本公开实施例提供的一种电子设备的结构示意图。如图5所示,电子设备500包括一个或多个处理器501和存储器502。FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. As shown in FIG. 5 , an electronic device 500 includes one or more processors 501 and a memory 502 .
处理器501可以是中央处理单元(CPU)或者具有数据处理能力和/或指令执行能力的其他形式的处理单元,并且可以控制电子设备500中的其他组件以执行期望的功能。The processor 501 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device 500 to perform desired functions.
存储器502可以包括一个或多个计算机程序产品,所述计算机程序产品可以包括各种形式的计算机可读存储介质,例如易失性存储器和/或非易失性存储器。所述易失性存储器例如可以包括随机存取存储器(RAM)和/或高速缓冲存储器(cache)等。所述非易失性存储器例如可以包括只读存储器(ROM)、硬盘、闪存等。在所述计算机可读存储介质上可以存储一个或多个计算机程序指令,处理器501可以运行所述程序指令,以实现上文所说明的本公开实施例的数据处理方法以及/或者其他期望的功能。在所述计算机可读存储介质中还可以存储诸如数据集、数据分界标识、会话标识等各种内容。Memory 502 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and/or cache memory (cache). The non-volatile memory may include, for example, a read-only memory (ROM), a hard disk, a flash memory, and the like. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 501 may execute the program instructions to implement the data processing methods of the embodiments of the present disclosure described above and/or other desired Function. Various contents such as data sets, data boundary identifiers, and session identifiers may also be stored in the computer-readable storage medium.
在一个示例中,电子设备500还可以包括:输入装置503和输出装置504,这些组件通过总线系统和/或其他形式的连接机构(未示出)互连。该输入装置503可以包括例如键盘、鼠标等等。该输出装置504可以向外部输出各种信息。该输出装置504可以包括例如显示器、扬声器、打印机、以及通信网络及其所连接的远程输出设备等等。In an example, the electronic device 500 may further include: an input device 503 and an output device 504, and these components are interconnected through a bus system and/or other forms of connection mechanisms (not shown). The input device 503 may include, for example, a keyboard, a mouse, and the like. The output device 504 can output various information to the outside. The output device 504 may include, for example, a display, a speaker, a printer, a communication network and remote output devices connected thereto, and the like.
当然,为了简化,图5中仅示出了该电子设备500中与本公开有关的组件中的一些,省略了诸如总线、输入/输出接口等等的组件。除此之外,根据具体应用情况,电子设备500还可以包括任何其他适当的组件。Of course, for simplicity, only some components related to the present disclosure in the electronic device 500 are shown in FIG. 5 , and components such as bus, input/output interface, etc. are omitted. In addition, according to specific application conditions, the electronic device 500 may further include any other appropriate components.
除了上述方法和设备以外,本公开的实施例还提供一种计算机程序产品,其包括计算机程序/指令,所述计算机程序/指令在被处理器运行时使得所述处理器执行本公开实施例所提供的数据处理方法的步骤。In addition to the above methods and devices, the embodiments of the present disclosure also provide a computer program product, which includes computer programs/instructions, and when the computer programs/instructions are executed by a processor, the processor executes the computer programs described in the embodiments of the present disclosure. Steps of the data processing method provided.
所述计算机程序产品可以以一种或多种程序设计语言的任意组合来编写用于执行本公开实施例操作的程序代码,所述程序设计语言包括面向对象的程序设计语言,诸如Java、C++等,还包括常规的过程式程序设计语言,诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。The computer program product can be written in any combination of one or more programming languages to execute the program codes for performing the operations of the embodiments of the present disclosure, and the programming languages include object-oriented programming languages, such as Java, C++, etc. , also includes conventional procedural programming languages, such as the "C" language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server to execute.
此外,本公开的实施例还可以是计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令在被处理器运行时使得所述处理器执行本公开实施例所提供的数据处理方法的步骤。In addition, the embodiments of the present disclosure may also be a computer-readable storage medium on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the processor performs the data processing provided by the embodiments of the present disclosure. method steps.
所述计算机可读存储介质可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以包括但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The computer readable storage medium may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may include, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof, for example. More specific examples (non-exhaustive list) of readable storage media include: electrical connection with one or more conductors, portable disk, hard disk, random access memory (RAM), read only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
需要说明的是,本公开所用术语仅为了描述特定实施例,而非限制本申请范围。如本公开说明书和权利要求书中所示,除非上下文明确提示例外情形,“一”、“一个”、“一种”和/或“该”等词并非特指单数,也可包括复数。术语“和/或”包括一个或多个相关所列条目的任何一个和所有组合。术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法或者设备中还存在另外的相同要素。It should be noted that the terms used in the present disclosure are only used to describe specific embodiments, but not to limit the scope of the present application. As indicated in the present disclosure and claims, the words "a", "an", "an" and/or "the" are not specific to the singular and may include the plural unless the context clearly suggests an exception. The term "and/or" includes any and all combinations of one or more of the associated listed items. The term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method or apparatus comprising a set of elements includes not only those elements but also other elements not expressly listed, Alternatively, elements inherent in such a process, method, or apparatus are also included. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method or apparatus comprising said element.
以上所述仅是本公开的具体实施方式,使本领域技术人员能够理解或实现本公开。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本公开的精神或范围的情况下,在其它实施例中实现。因此,本公开将不会被限制于本文所述的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above descriptions are only specific implementation manners of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110341058.2A CN112988391B (en) | 2021-03-30 | 2021-03-30 | Data processing method, device, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110341058.2A CN112988391B (en) | 2021-03-30 | 2021-03-30 | Data processing method, device, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112988391A CN112988391A (en) | 2021-06-18 |
CN112988391B true CN112988391B (en) | 2023-08-01 |
Family
ID=76339114
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110341058.2A Active CN112988391B (en) | 2021-03-30 | 2021-03-30 | Data processing method, device, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112988391B (en) |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20120068824A (en) * | 2009-08-13 | 2012-06-27 | 소니 주식회사 | Data processing device, data processing method, program conversion processing device, program conversion processing method, program analysis processing device, program analysis processing method, history preservation device, program, compilation processing device, and compilation processing method |
US9330119B2 (en) * | 2013-04-11 | 2016-05-03 | Oracle International Corporation | Knowledge intensive data management system for business process and case management |
CN103984779A (en) * | 2014-06-06 | 2014-08-13 | 北京联时空网络通信设备有限公司 | Data updating method and device |
CN105653474B (en) * | 2015-12-29 | 2018-11-06 | 东南大学—无锡集成电路技术研究所 | A kind of allocating cache controller towards coarseness dynamic reconfigurable processor |
CN106385322B (en) * | 2016-09-07 | 2019-11-15 | 海能达通信股份有限公司 | A kind of data group calling method, apparatus and system |
CN107146133A (en) * | 2017-04-28 | 2017-09-08 | 柳州市啪啪微订网络科技有限公司 | Order system based on wechat platform |
CN111723124B (en) * | 2019-03-20 | 2023-03-28 | 杭州海康威视数字技术股份有限公司 | Data collision analysis method and device, electronic equipment and storage medium |
US11669805B2 (en) * | 2019-05-23 | 2023-06-06 | Capital One Services, Llc | Single sign-on through customer authentication systems |
CN112528274B (en) * | 2020-12-24 | 2023-09-22 | 微医云(杭州)控股有限公司 | Data processing method, device, electronic equipment and storage medium |
-
2021
- 2021-03-30 CN CN202110341058.2A patent/CN112988391B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN112988391A (en) | 2021-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107948314B (en) | Business processing method and device based on rule file and server | |
WO2019154353A1 (en) | System running parameter query method, matching method and apparatus, and node device | |
CN108334517A (en) | A kind of webpage rendering intent and relevant device | |
EP2947582A1 (en) | Computing device and method for executing database operation command | |
CN112100092B (en) | Information caching method, device, equipment and medium | |
CN109815430B (en) | Request processing method and device, data processing server and readable storage medium | |
CN111737564A (en) | Information query method, device, equipment and medium | |
CN114238391B (en) | Data paging query method, device, electronic device and storage medium | |
WO2022135410A1 (en) | Method and apparatus for loading source file | |
CN111444235A (en) | Django-based data serialization method, device, computer equipment and storage medium | |
CN115686663A (en) | Online file preview method and device and computer equipment | |
CN116756152A (en) | Block chain-based data processing method and device, electronic equipment and storage medium | |
US11762687B2 (en) | Processing of messages and documents carrying business transactions | |
CN112988391B (en) | Data processing method, device, device and storage medium | |
CN117193907B (en) | Page processing method and device | |
CN118250206A (en) | High concurrency pressure testing method and related device based on flow playback | |
CN111400051A (en) | Resource scheduling method, device and system | |
US12314759B1 (en) | Timer object management for a multiprocessor virtual environment | |
CN110858240A (en) | Front-end module loading method and device | |
CN114547090A (en) | Data query method and device, electronic equipment and storage medium | |
CN118916307B (en) | Descriptor transmission method, device, equipment and storage medium | |
US20250088718A1 (en) | Content transmission method and apparatus, device and storage medium | |
CN115150349B (en) | Message processing method, device, equipment and storage medium | |
CN115168019A (en) | Negative feedback content determining method, negative feedback content determining apparatus, electronic device, and storage medium | |
WO2025199706A1 (en) | Method and apparatus for presenting content, and device and 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |