[go: up one dir, main page]

CN111309254B - Data processing method, device, readable medium and electronic device - Google Patents

Data processing method, device, readable medium and electronic device Download PDF

Info

Publication number
CN111309254B
CN111309254B CN202010079099.4A CN202010079099A CN111309254B CN 111309254 B CN111309254 B CN 111309254B CN 202010079099 A CN202010079099 A CN 202010079099A CN 111309254 B CN111309254 B CN 111309254B
Authority
CN
China
Prior art keywords
data
storage
target data
target
type
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
Application number
CN202010079099.4A
Other languages
Chinese (zh)
Other versions
CN111309254A (en
Inventor
董宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202010079099.4A priority Critical patent/CN111309254B/en
Publication of CN111309254A publication Critical patent/CN111309254A/en
Application granted granted Critical
Publication of CN111309254B publication Critical patent/CN111309254B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • G06F3/0635Configuration or reconfiguration of storage systems by changing the path, e.g. traffic rerouting, path reconfiguration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0643Management of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The disclosure relates to a data processing method, a data processing device, a readable medium and electronic equipment. The method comprises the following steps: if a data storage request carrying first target data is received, determining a data type of the first target data, wherein the data type comprises a first type and a second type, and the first type of data has higher heat than the second type of data; and if the data type of the first target data is the first type, storing the first target data, and sending the first target data to other storage nodes of the data storage network so that the other storage nodes store the first target data, wherein the other storage nodes at least comprise a central storage node. Therefore, when the data has higher heat, the data is not only stored locally at the edge storage node, but also pushed to the central storage node of the data storage network for storage, and the access response speed of the data when accessed is improved.

Description

数据处理方法、装置、可读介质及电子设备Data processing method, device, readable medium and electronic device

技术领域Technical Field

本公开涉及计算机技术领域,具体地,涉及一种数据处理方法、装置、可读介质及电子设备。The present disclosure relates to the field of computer technology, and in particular, to a data processing method, device, readable medium and electronic device.

背景技术Background Art

目前,数据存储方式一般有两种。一种是将数据传到中心进行存储,占用中心资源,成本消耗较大,并且,对于一些访问量不高的数据,会造成对中心资源的极大浪费。另一种则是将数据存储到边缘,若某一边缘节点需要访问非该边缘节点的资源时,需要通过中心实现数据访问,这样,当数据具有较高的热度时,各个边缘节点都需要访问中心,导致中心的数据处理负担加大,响应速度不佳。At present, there are generally two ways to store data. One is to transfer data to the center for storage, which occupies center resources and consumes a lot of costs. In addition, for some data with low access volume, it will cause a great waste of center resources. The other is to store data at the edge. If an edge node needs to access resources other than the edge node, it needs to access the data through the center. In this way, when the data has a high popularity, each edge node needs to access the center, resulting in an increased data processing burden for the center and poor response speed.

发明内容Summary of the invention

提供该发明内容部分以便以简要的形式介绍构思,这些构思将在后面的具体实施方式部分被详细描述。该发明内容部分并不旨在标识要求保护的技术方案的关键特征或必要特征,也不旨在用于限制所要求的保护的技术方案的范围。This summary is provided to introduce concepts in a brief form that will be described in detail in the detailed description below. This summary is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.

第一方面,本公开提供一种数据处理方法,应用于数据存储网络的边缘存储节点,所述数据存储网络由中心存储节点和边缘存储节点构成,所述方法包括:In a first aspect, the present disclosure provides a data processing method, which is applied to an edge storage node of a data storage network, wherein the data storage network is composed of a central storage node and an edge storage node, and the method comprises:

若接收到携带有第一目标数据的数据存储请求,确定所述第一目标数据的数据类型,所述数据类型包括第一类型和第二类型,以及,第一类型的数据比第二类型的数据具有更高的热度;If a data storage request carrying first target data is received, determining a data type of the first target data, the data type includes a first type and a second type, and the first type of data has a higher heat than the second type of data;

若所述第一目标数据的数据类型为所述第一类型,存储所述第一目标数据,并且,将所述第一目标数据发送至所述数据存储网络的其他存储节点,以使所述其他存储节点存储所述第一目标数据,所述其他存储节点至少包括中心存储节点。If the data type of the first target data is the first type, the first target data is stored, and the first target data is sent to other storage nodes of the data storage network so that the other storage nodes store the first target data, and the other storage nodes include at least a central storage node.

第二方面,本公开提供一种数据处理方法,应用于数据存储网络的中心存储节点,所述数据存储网络由中心存储节点和边缘存储节点构成,所述方法包括:In a second aspect, the present disclosure provides a data processing method, which is applied to a central storage node of a data storage network, wherein the data storage network is composed of a central storage node and an edge storage node, and the method comprises:

若接收到目标边缘存储节点发送的用于访问第二目标数据的数据访问请求,确定本地是否存储有所述第二目标数据;If a data access request for accessing second target data sent by the target edge storage node is received, determining whether the second target data is stored locally;

若本地存储有所述第二目标数据,将所述第二目标数据发送至所述目标边缘存储节点;If the second target data is stored locally, sending the second target data to the target edge storage node;

若本地未存储有所述第二目标数据,从数据存储信息中确定用于指示所述第二目标数据的存储位置的第二存储信息,并将所述第二存储信息发送至所述目标边缘存储节点,其中,所述数据存储信息用于指示所述数据存储网络中各数据的存储位置。If the second target data is not stored locally, second storage information for indicating the storage location of the second target data is determined from the data storage information, and the second storage information is sent to the target edge storage node, wherein the data storage information is used to indicate the storage location of each data in the data storage network.

第三方面,本公开提供一种数据处理装置,应用于数据存储网络的边缘存储节点,所述数据存储网络由中心存储节点和边缘存储节点构成,所述装置包括:In a third aspect, the present disclosure provides a data processing device, applied to an edge storage node of a data storage network, wherein the data storage network is composed of a central storage node and an edge storage node, and the device includes:

第一确定模块,用于若接收到携带有第一目标数据的数据存储请求,确定所述第一目标数据的数据类型,所述数据类型包括第一类型和第二类型,以及,第一类型的数据比第二类型的数据具有更高的热度;A first determination module is configured to determine a data type of the first target data if a data storage request carrying first target data is received, the data type comprising a first type and a second type, and the first type of data has a higher heat than the second type of data;

第一存储模块,用于若所述第一目标数据的数据类型为所述第一类型,存储所述第一目标数据,并且,将所述第一目标数据发送至所述数据存储网络的其他存储节点,以使所述其他存储节点存储所述第一目标数据,所述其他存储节点至少包括中心存储节点。A first storage module is used to store the first target data if the data type of the first target data is the first type, and to send the first target data to other storage nodes of the data storage network so that the other storage nodes store the first target data, and the other storage nodes include at least a central storage node.

第四方面,本公开提供一种数据处理装置,应用于数据存储网络的中心存储节点,所述数据存储网络由中心存储节点和边缘存储节点构成,所述装置包括:In a fourth aspect, the present disclosure provides a data processing device, applied to a central storage node of a data storage network, wherein the data storage network is composed of a central storage node and an edge storage node, and the device includes:

第二确定模块,用于若接收到目标边缘存储节点发送的用于访问第二目标数据的数据访问请求,确定本地是否存储有所述第二目标数据;A second determination module, configured to determine whether the second target data is stored locally upon receiving a data access request for accessing second target data sent by a target edge storage node;

第四发送模块,用于若本地存储有所述第二目标数据,将所述第二目标数据发送至所述目标边缘存储节点;a fourth sending module, configured to send the second target data to the target edge storage node if the second target data is stored locally;

第五发送模块,用于若本地未存储有所述第二目标数据,从数据存储信息中确定用于指示所述第二目标数据的存储位置的第二存储信息,并将所述第二存储信息发送至所述目标边缘存储节点,其中,所述数据存储信息用于指示所述数据存储网络中各数据的存储位置。The fifth sending module is used to determine the second storage information for indicating the storage location of the second target data from the data storage information if the second target data is not stored locally, and send the second storage information to the target edge storage node, wherein the data storage information is used to indicate the storage location of each data in the data storage network.

第五方面,本公开提供一种计算机可读介质,其上存储有计算机程序,该程序被处理装置执行时实现本公开第一方面所述方法的步骤,或者,该程序被处理装置执行时实现本公开第二方面所述方法的步骤。In a fifth aspect, the present disclosure provides a computer-readable medium having a computer program stored thereon, which, when executed by a processing device, implements the steps of the method described in the first aspect of the present disclosure; or, when executed by a processing device, implements the steps of the method described in the second aspect of the present disclosure.

第六方面,本公开提供一种电子设备,包括:In a sixth aspect, the present disclosure provides an electronic device, including:

存储装置,其上存储有计算机程序;a storage device having a computer program stored thereon;

处理装置,用于执行所述存储装置中的所述计算机程序,以实现本公开第一方面所述方法的步骤,或者,实现本公开第二方面所述方法的步骤。A processing device is used to execute the computer program in the storage device to implement the steps of the method described in the first aspect of the present disclosure, or to implement the steps of the method described in the second aspect of the present disclosure.

通过上述技术方案,若接收到携带有第一目标数据的数据存储请求,确定第一目标数据的数据类型,若第一目标数据的数据类型为第一数据类型,存储第一目标数据,并将第一目标数据发送至数据存储网络的其他存储节点,以使其他存储节点存储该第一目标数据。其中,其他存储节点至少包括中心存储节点。这样,在数据上传至边缘存储节点时,首先对该数据的热度高低进行判断,以及,在上传数据具有较高的热度时,不仅将该数据存储在边缘存储节点本地,还会将该数据推送到数据存储网络的中心存储节点进行存储,能够提升该数据被访问时的访问响应速度。Through the above technical solution, if a data storage request carrying first target data is received, the data type of the first target data is determined, and if the data type of the first target data is the first data type, the first target data is stored, and the first target data is sent to other storage nodes of the data storage network, so that other storage nodes store the first target data. Among them, other storage nodes include at least central storage nodes. In this way, when data is uploaded to the edge storage node, the popularity of the data is first judged, and when the uploaded data has a high popularity, the data is not only stored locally in the edge storage node, but also pushed to the central storage node of the data storage network for storage, which can improve the access response speed when the data is accessed.

本公开的其他特征和优点将在随后的具体实施方式部分予以详细说明。Other features and advantages of the present disclosure will be described in detail in the following detailed description.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

在附图中:In the attached picture:

图1是根据本公开的一种实施方式提供的数据处理方法的流程图;FIG1 is a flow chart of a data processing method provided according to an embodiment of the present disclosure;

图2是根据本公开提供的数据处理方法中,确定第一目标数据的数据类型的步骤的一种示例性的流程图;FIG2 is an exemplary flowchart of a step of determining a data type of first target data in a data processing method provided by the present disclosure;

图3是根据本公开的一种实施方式提供的数据处理方法的流程图;FIG3 is a flow chart of a data processing method provided according to an embodiment of the present disclosure;

图4是根据本公开的一种实施方式提供的数据处理装置的框图;FIG4 is a block diagram of a data processing device provided according to an embodiment of the present disclosure;

图5是根据本公开的一种实施方式提供的数据处理装置的框图;FIG5 is a block diagram of a data processing device provided according to an embodiment of the present disclosure;

图6是本公开提供的一电子设备的框图。FIG. 6 is a block diagram of an electronic device provided by the present disclosure.

具体实施方式DETAILED DESCRIPTION

下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and/or in parallel. In addition, the method embodiments may include additional steps and/or omit the steps shown. The scope of the present disclosure is not limited in this respect.

本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

图1是根据本公开的一种实施方式提供的数据处理方法的流程图。该方法可以应用于数据存储网络的边缘存储节点,对于数据存储网络中的每一边缘存储节点,均可应用本公开提供的数据处理方法。Figure 1 is a flow chart of a data processing method provided according to an embodiment of the present disclosure. The method can be applied to edge storage nodes of a data storage network, and the data processing method provided by the present disclosure can be applied to each edge storage node in the data storage network.

其中,数据存储网络由中心存储节点和边缘存储节点构成,中心存储节点作为数据存储网络的数据存储中心,边缘存储节点则作为网络的边缘,分布在各地。Among them, the data storage network is composed of central storage nodes and edge storage nodes. The central storage node serves as the data storage center of the data storage network, and the edge storage node serves as the edge of the network and is distributed in various places.

如图1所示,该方法可以包括以下步骤。As shown in FIG. 1 , the method may include the following steps.

在步骤11中,若接收到携带有第一目标数据的数据存储请求,确定第一目标数据的数据类型。In step 11, if a data storage request carrying first target data is received, the data type of the first target data is determined.

其中,数据类型包括第一类型和第二类型,以及,第二类型的数据比第二类型的数据具有更高的热度。数据的热度越高,表示该数据可能被访问的次数越多。从更加通俗的意义来讲,属于第一类型的数据可以理解为热数据,在数据存储网络中具有较高的访问量,属于第二类型的数据可以理解为冷数据,其访问量不如热数据高。The data types include a first type and a second type, and the data of the second type has a higher heat than the data of the second type. The higher the heat of the data, the more times the data may be accessed. In a more popular sense, the data belonging to the first type can be understood as hot data, which has a higher access volume in the data storage network, and the data belonging to the second type can be understood as cold data, which has a lower access volume than the hot data.

若接收到携带有第一目标数据的数据存储请求,首先确定第一目标数据的数据类型,以确定待存储的第一目标数据属于第一类型还是属于第二类型。If a data storage request carrying first target data is received, the data type of the first target data is first determined to determine whether the first target data to be stored belongs to the first type or the second type.

在步骤12中,若第一目标数据的数据类型为第一类型,存储第一目标数据,并且,将第一目标数据发送至数据存储网络的其他存储节点,以使其他存储节点存储第一目标数据。In step 12, if the data type of the first target data is the first type, the first target data is stored, and the first target data is sent to other storage nodes of the data storage network so that the other storage nodes store the first target data.

如果第一目标数据的数据类型为第一类型,存储第一目标数据,这里所述的存储第一目标数据是将第一目标数据存储在边缘存储节点的本地。并且,若第一目标数据的数据类型为第一类型,说明待存储的第一目标数据具有较高的热度,因此,在将第一目标数据存储在本地的同时,还将第一目标数据发送至数据存储网络的其他存储节点,以使其他存储节点存储第一目标数据。其中,其他存储节点至少包括中心存储节点。这样,在第一目标数据具有较高的热度时,不仅存储在接收该第一目标数据的边缘存储节点本地,还会将第一目标数据推送到数据存储网络的中心存储节点,提升后续针对第一目标数据的访问响应速度。另外,其他存储节点还可以包括其他的边缘存储节点。If the data type of the first target data is the first type, the first target data is stored, and the storing of the first target data described here is to store the first target data locally in the edge storage node. In addition, if the data type of the first target data is the first type, it means that the first target data to be stored has a higher popularity. Therefore, while storing the first target data locally, the first target data is also sent to other storage nodes of the data storage network so that other storage nodes store the first target data. Among them, the other storage nodes include at least a central storage node. In this way, when the first target data has a higher popularity, it is not only stored locally in the edge storage node that receives the first target data, but also pushed to the central storage node of the data storage network, thereby improving the subsequent access response speed to the first target data. In addition, other storage nodes may also include other edge storage nodes.

通过上述技术方案,若接收到携带有第一目标数据的数据存储请求,确定第一目标数据的数据类型,若第一目标数据的数据类型为第一数据类型,存储第一目标数据,并将第一目标数据发送至数据存储网络的其他存储节点,以使其他存储节点存储该第一目标数据。其中,其他存储节点至少包括中心存储节点。这样,在数据上传至边缘存储节点时,首先对该数据的热度高低进行判断,以及,在上传数据具有较高的热度时,不仅将该数据存储在边缘存储节点本地,还会将该数据推送到数据存储网络的中心存储节点进行存储,能够提升该数据被访问时的访问响应速度。Through the above technical solution, if a data storage request carrying first target data is received, the data type of the first target data is determined, and if the data type of the first target data is the first data type, the first target data is stored, and the first target data is sent to other storage nodes of the data storage network, so that other storage nodes store the first target data. Among them, other storage nodes include at least central storage nodes. In this way, when data is uploaded to the edge storage node, the popularity of the data is first judged, and when the uploaded data has a high popularity, the data is not only stored locally in the edge storage node, but also pushed to the central storage node of the data storage network for storage, which can improve the access response speed when the data is accessed.

在一种可能的实施方式中,步骤11中,确定第一目标数据的数据类型,可以包括以下步骤,如图2所示。In a possible implementation, in step 11, determining the data type of the first target data may include the following steps, as shown in FIG. 2 .

在步骤21中,确定第一目标数据的第一热度值。In step 21, a first heat value of the first target data is determined.

其中,热度值与数据热度呈正相关关系,也就是说,数据的热度越高,该数据就具有越高的热度值。以及,热度值可以通过以下中的至少一者计算:数据标题、数据标签、数据属性、数据大小。The heat value is positively correlated with the heat of the data, that is, the higher the heat of the data, the higher the heat value of the data. And the heat value can be calculated by at least one of the following: data title, data label, data attribute, data size.

数据标题为数据所对应的标题。数据标签为数据被上传时所携带的标签。数据属性为数据对应的文件类型,例如,视频类、音频类、图片类、文档类等。数据大小为数据所占存储空间的大小。示例地,若第一目标数据是题目为“食品A”的视频,其大小为14M,且第一目标数据被上传时带有“食品”标签,则第一目标数据对应的数据标题为“食品A”,对应的数据标签为“食品”,对应的数据属性为“视频”,对应的数据大小为“14M”。The data title is the title corresponding to the data. The data tag is the tag carried by the data when it is uploaded. The data attribute is the file type corresponding to the data, for example, video, audio, picture, document, etc. The data size is the size of the storage space occupied by the data. For example, if the first target data is a video titled "Food A" and its size is 14M, and the first target data is uploaded with the tag "Food", then the data title corresponding to the first target data is "Food A", the corresponding data tag is "Food", the corresponding data attribute is "Video", and the corresponding data size is "14M".

下面以通过数据标题、数据标签、数据属性以及数据大小这四者计算热度值为例,说明热度值的计算方式。示例地,热度值可以通过如下算式计算:The following example uses the data title, data label, data attribute and data size to calculate the heat value to illustrate how to calculate the heat value. For example, the heat value can be calculated using the following formula:

热度值=(第一权重*数据标题热度)+(第二权重*数据标签热度)+(第三权重*数据属性热度)+(第四权重*数据大小热度)Heat value = (first weight * data title heat) + (second weight * data label heat) + (third weight * data attribute heat) + (fourth weight * data size heat)

其中,第一权重至第四权重可根据经验值设定。数据标题热度可以通过标题所包含的文字确定,示例地,可以预先设置热词列表,包括多个访问量高的热词,并确定数据标题中包含多少这样的热词,并将数据标题中包含的热词占热词列表中所有热词的百分比确定为数据标题热度。数据标签热度可以通过预先设定的标签与热度的对应关系确定,例如,预先为每一标签设置对应的热度,从而根据数据标签就可以确定出数据标签热度。数据属性热度可以通过预先设定的属性与热度的对应关系确定,例如,预先为每一种属性设置对应的热度,从而根据数据属性确定出数据属性热度。数据大小热度可以通过预先设定的大小与热度的对应关系确定,例如,按照一般数据的大小分为几个档位并确定每个档位与热度的对应关系,从而根据数据大小所属的档位确定数据大小热度。另外,对于数据标题、数据标签、数据属性、数据大小这几者的其他组合方式计算热度值,均可参考上述算式。Among them, the first weight to the fourth weight can be set according to the experience value. The heat of the data title can be determined by the text contained in the title. For example, a hot word list can be pre-set, including multiple hot words with high access volume, and the number of such hot words contained in the data title can be determined, and the percentage of the hot words contained in the data title to all the hot words in the hot word list is determined as the heat of the data title. The heat of the data tag can be determined by the correspondence between the pre-set label and the heat. For example, the corresponding heat is set for each label in advance, so that the heat of the data tag can be determined according to the data label. The heat of the data attribute can be determined by the correspondence between the pre-set attribute and the heat. For example, the corresponding heat is set for each attribute in advance, so that the heat of the data attribute is determined according to the data attribute. The heat of the data size can be determined by the correspondence between the pre-set size and the heat. For example, the size of the general data is divided into several gears and the correspondence between each gear and the heat is determined, so that the heat of the data size is determined according to the gear to which the data size belongs. In addition, for calculating the heat value of other combinations of data titles, data tags, data attributes, and data sizes, the above formula can be referred to.

因此,参照上述方式,可以确定出第一目标数据的第一热度值。Therefore, referring to the above method, the first heat value of the first target data can be determined.

在步骤22中,根据第一热度值,确定第一目标数据的数据类型。In step 22, the data type of the first target data is determined according to the first heat value.

根据计算所得的第一热度值,可以确定出第一目标数据的数据类型,也就是确定第一目标数据是属于冷数据,还是属于热数据。According to the calculated first heat value, the data type of the first target data can be determined, that is, whether the first target data is cold data or hot data can be determined.

在一种可能的实施例中,步骤22可以包括以下步骤:In a possible embodiment, step 22 may include the following steps:

根据第一热度值和已存储在数据存储网络中的各数据对应的第二热度值,按照热度值由大到小的顺序确定热度值排名;Determine a heat value ranking in descending order of heat values according to the first heat value and the second heat values corresponding to each data stored in the data storage network;

若第一热度值处于热度值排名的前N位,确定第一目标数据属于第一类型;If the first popularity value is in the top N positions of the popularity value ranking, it is determined that the first target data belongs to the first type;

若第一热度值未处于热度值排名的前N位,确定第一目标数据属于第二类型。If the first popularity value is not in the top N positions of the popularity value ranking, it is determined that the first target data belongs to the second type.

已存储在数据存储网络中的数据具有各自对应的第二热度值,因此,根据各个第二热度值以及第一目标数据对应的第一热度值,按照从大到小的顺序排序后,可以得到第一目标数据对应的热度值排名,从而可以确定第一热度值在热度值排名中所处的位置。第一热度值在热度值排名中所处的位置能够反映第一目标数据的热度,从而,若第一热度值处于热度值排名的前N位,说明第一目标数据热度较高,可以确定第一目标数据属于第一类型,以及,若第一热度值未处于热度值排名的前N位,说明第一目标数据热度不高,可以确定第一目标数据属于第二类型。其中,N为正整数,可以根据经验值确定。需要说明的是,第一热度值和第二热度值采用相同的计算方式,以保证热度值的标准统一。The data stored in the data storage network have their respective corresponding second heat values. Therefore, according to each second heat value and the first heat value corresponding to the first target data, after sorting in order from large to small, the heat value ranking corresponding to the first target data can be obtained, so that the position of the first heat value in the heat value ranking can be determined. The position of the first heat value in the heat value ranking can reflect the heat of the first target data. Therefore, if the first heat value is in the top N positions of the heat value ranking, it means that the heat of the first target data is relatively high, and it can be determined that the first target data belongs to the first type, and if the first heat value is not in the top N positions of the heat value ranking, it means that the heat of the first target data is not high, and it can be determined that the first target data belongs to the second type. Among them, N is a positive integer, which can be determined according to an empirical value. It should be noted that the first heat value and the second heat value are calculated in the same way to ensure the standard uniformity of the heat value.

采用上述方式,首先计算第一目标数据的第一热度值,并根据第一目标数据的第一热度值,通过热度值比较的方式,确定其数据类型,使得到的结果更加客观,更能反映第一目标数据在整个数据存储网络中的热度情况。Using the above method, the first heat value of the first target data is first calculated, and based on the first heat value of the first target data, its data type is determined by heat value comparison, so that the obtained result is more objective and can better reflect the heat situation of the first target data in the entire data storage network.

在一种可能的实施例中,本公开提供的方法还包括:In a possible embodiment, the method provided by the present disclosure further includes:

若第一目标数据携带有对应于第一类型的标记信息,确定第一目标数据属于第一类型,否则再执行步骤21及步骤22。If the first target data carries the mark information corresponding to the first type, it is determined that the first target data belongs to the first type, otherwise, step 21 and step 22 are executed.

其中,对应于第一类型的标记信息是预先规定的,带有上述标记信息的数据会被自动默认为属于第一类型的数据。因此,若第一目标数据携带有对应于第一类型的标记信息,可以直接确定第一目标数据属于第一类型。而在第一目标数据未携带对应于第一类型的标记信息的情况下,再通过热度值计算的方式,确定第一目标数据的数据类型,其中,通过计算热度值的方式确定第一目标数据的数据类型的方式在上文中已有详细介绍,此处不再赘述。Among them, the tag information corresponding to the first type is pre-defined, and the data with the above tag information will be automatically defaulted to belong to the first type. Therefore, if the first target data carries the tag information corresponding to the first type, it can be directly determined that the first target data belongs to the first type. In the case where the first target data does not carry the tag information corresponding to the first type, the data type of the first target data is determined by calculating the heat value, wherein the method of determining the data type of the first target data by calculating the heat value has been introduced in detail above and will not be repeated here.

采用上述方式,若第一目标数据携带有对应于第一类型的标记信息,直接确定第一目标数据属于第一类型,无需计算第一目标数据的热度值,方式简单且快速。By adopting the above method, if the first target data carries tag information corresponding to the first type, it is directly determined that the first target data belongs to the first type without calculating the heat value of the first target data. The method is simple and fast.

在一种可能的实施方式中,边缘存储节点在向中心存储节点发送第一目标数据时,可能存在多条传输线路,此时,边缘存储节点可以从中选择一条传输线路用于传输第一目标数据。其中,边缘存储节点可以选择多条传输线路中选路消耗最少的传输线路进行数据传输。In a possible implementation, when the edge storage node sends the first target data to the central storage node, there may be multiple transmission lines, and the edge storage node may select a transmission line from among them for transmitting the first target data. The edge storage node may select the transmission line with the least routing consumption among the multiple transmission lines for data transmission.

示例地,选路消耗可以通过如下算式计算:For example, the routing cost can be calculated by the following formula:

选路消耗=带宽成本*网络延时/单位时间内平均延时Routing cost = bandwidth cost * network delay / average delay per unit time

其中,单位时间可以为1小时。The unit time may be 1 hour.

在一种可能的实施方式中,在图1所示的各步骤的基础上,本公开提供的方法还可以包括以下步骤:In a possible implementation, based on the steps shown in FIG. 1 , the method provided by the present disclosure may further include the following steps:

若第一目标数据的数据类型为第二类型,存储第一目标数据;If the data type of the first target data is the second type, storing the first target data;

生成第一存储信息,并将第一存储信息发送至中心存储节点。其中,第一存储信息用于指示第一目标数据的存储位置。Generate first storage information and send the first storage information to the central storage node, wherein the first storage information is used to indicate the storage location of the first target data.

若经步骤11确定第一目标数据的数据类型为第二类型,说明第一目标数据热度不高,因此,直接将第一目标数据存储在边缘存储节点本地即可。同时,还可以基于第一目标数据及其存储位置生成第一存储信息,并将第一存储信息发送至中心存储节点,以便中心存储节点存储。If the data type of the first target data is determined to be the second type in step 11, it means that the popularity of the first target data is not high, so the first target data can be directly stored locally in the edge storage node. At the same time, first storage information can also be generated based on the first target data and its storage location, and the first storage information can be sent to the central storage node for storage by the central storage node.

采用上述方式,若上传至边缘存储节点的数据的热度不高,则只将该数据存储在边缘存储节点,不将该数据推送至数据存储网络的中心存储节点,以节省中心存储节点的存储空间。同时,将有关于该数据存储的存储信息发送至中心存储节点,这样,若有针对该数据的访问请求,中心存储节点能够提供该数据的访问方式。In the above manner, if the popularity of the data uploaded to the edge storage node is not high, the data will only be stored in the edge storage node, and the data will not be pushed to the central storage node of the data storage network, so as to save the storage space of the central storage node. At the same time, the storage information about the data storage will be sent to the central storage node, so that if there is an access request for the data, the central storage node can provide the access method for the data.

在一种可能的实施方式中,在图1所示的各步骤的基础上,本公开提供的方法还可以包括以下步骤:In a possible implementation, based on the steps shown in FIG. 1 , the method provided by the present disclosure may further include the following steps:

若接收到数据访问方针对第二目标数据的数据访问请求、且本地未存储有第二目标数据,将针对第二目标数据的数据访问请求发送至中心存储节点,以获得中心存储节点的反馈结果;If a data access request for the second target data is received from the data access party and the second target data is not stored locally, the data access request for the second target data is sent to the central storage node to obtain a feedback result from the central storage node;

若中心存储节点的反馈结果指示第二目标数据的存储位置的第二存储信息,从第二存储信息所指示的边缘存储节点获取第二目标数据,并将第二目标数据发送至数据访问方;If the feedback result of the central storage node indicates the second storage information of the storage location of the second target data, the second target data is obtained from the edge storage node indicated by the second storage information, and the second target data is sent to the data access party;

若本地存储有第二目标数据,或者,若中心存储节点的反馈结果为第二目标数据,将第二目标数据发送至数据访问方。If the second target data is stored locally, or if the feedback result of the central storage node is the second target data, the second target data is sent to the data access party.

若接收到数据访问方针对第二目标数据的数据访问请求,首先确定边缘存储节点本地是否存储有第二目标数据,若边缘存储节点本地存储有第二目标数据,可以直接将第二目标数据发送至目标访问方。If a data access request for second target data is received from a data access party, it is first determined whether the edge storage node locally stores the second target data. If the edge storage node locally stores the second target data, the second target data can be directly sent to the target access party.

若确定边缘存储节点本地未存储有第二目标数据,说明边缘存储节点本地无法找到第二目标数据,此时,可以向中心存储节点求助,也就是将针对第二目标数据的数据访问请求发送至中心存储节点,以获得中心存储节点的反馈结果。If it is determined that the edge storage node does not store the second target data locally, it means that the edge storage node cannot find the second target data locally. At this time, you can ask the central storage node for help, that is, send a data access request for the second target data to the central storage node to obtain feedback from the central storage node.

中心存储节点可能存储有第二目标数据,也可能未存储有第二目标数据,因此,中心存储节点可能返回两种反馈结果。若中心存储节点存储有第二目标数据,反馈结果就是第二目标数据;若中心存储节点未存储有第二目标数据,反馈结果不是第二目标数据,而是第二目标数据所在的存储位置。The central storage node may store the second target data or may not store the second target data. Therefore, the central storage node may return two feedback results. If the central storage node stores the second target data, the feedback result is the second target data; if the central storage node does not store the second target data, the feedback result is not the second target data, but the storage location where the second target data is located.

若中心存储节点的反馈结果为第二目标数据,可以直接将第二目标数据发送至目标访问方。If the feedback result of the central storage node is the second target data, the second target data may be directly sent to the target access party.

若中心存储节点的反馈结果指示第二目标数据的存储位置的第二存储信息,则可以从第二存储信息所指示的边缘存储节点获取第二目标数据,并将第二目标数据发送至数据访问方。If the feedback result of the central storage node indicates the second storage information of the storage location of the second target data, the second target data can be obtained from the edge storage node indicated by the second storage information, and the second target data can be sent to the data access party.

采用上述方式,在接收到数据访问请求时,首先判断边缘存储节点本地是否有数据访问请求所请求的数据,若本地没有数据访问请求所请求的数据,则进一步请求中心存储节点,若中心存储节点也没有请数据访问请求所请求的数据,中心存储节点会返回数据访问请求所请求的数据在数据存储网络的存储位置,从而,边缘存储节点可以直接从其他边缘存储节点获取数据访问请求所请求的数据,数据响应速度得到提升。Using the above method, when a data access request is received, it is first determined whether the edge storage node has the data requested by the data access request locally. If the data requested by the data access request is not available locally, the central storage node is further requested. If the central storage node also does not have the data requested by the data access request, the central storage node will return the storage location of the data requested by the data access request in the data storage network. In this way, the edge storage node can directly obtain the data requested by the data access request from other edge storage nodes, and the data response speed is improved.

图3是根据本公开的一种实施方式提供的数据处理方法的流程图。该方法可以应用于数据存储网络的中心存储节点,对于数据存储网络中的每一中心存储节点,均可应用本公开提供的数据处理方法。如图3所示,该方法可以包括以下步骤。FIG3 is a flow chart of a data processing method provided according to an embodiment of the present disclosure. The method can be applied to a central storage node of a data storage network, and the data processing method provided by the present disclosure can be applied to each central storage node in the data storage network. As shown in FIG3 , the method can include the following steps.

在步骤31中,若接收到目标边缘存储节点发送的用于访问第二目标数据的数据访问请求,确定本地是否存储有第二目标数据。In step 31, if a data access request for accessing second target data sent by a target edge storage node is received, it is determined whether the second target data is stored locally.

在步骤32中,若本地存储有第二目标数据,将第二目标数据发送至目标边缘存储节点。In step 32, if the second target data is stored locally, the second target data is sent to the target edge storage node.

在步骤33中,若本地未存储有第二目标数据,从数据存储信息中确定用于指示第二目标数据的存储位置的第二存储信息,并将第二存储信息发送至目标边缘存储节点。In step 33, if the second target data is not stored locally, second storage information for indicating the storage location of the second target data is determined from the data storage information, and the second storage information is sent to the target edge storage node.

其中,数据存储信息用于指示数据存储网络中各数据的存储位置。如前文对于边缘存储节点的描述,每当有数据存储到数据存储网络中,中心存储节点会获取到已存储数据在数据存储网络中的存储位置。中心存储节点存储有数据存储网络中各数据的存储位置,相当于存储了数据的索引。The data storage information is used to indicate the storage location of each data in the data storage network. As described above for the edge storage node, whenever data is stored in the data storage network, the central storage node will obtain the storage location of the stored data in the data storage network. The central storage node stores the storage location of each data in the data storage network, which is equivalent to storing the index of the data.

通过上述技术方案,接收到目标边缘存储节点发送的用于访问第二目标数据的数据访问请求,确定本地是否存储有第二目标数据,若本地存储有第二目标数据,将第二目标数据发送至目标边缘存储节点,若本地未存储有第二目标数据,从数据存储信息中确定用于指示第二目标数据的存储位置的第二存储信息,并将第二存储信息发送至目标边缘存储节点。从而,中心存储节点总是能为目标边缘存储节点提供有关于第二目标数据的信息,以便目标边缘存储节点能够快速获取到第二目标数据。Through the above technical solution, a data access request for accessing the second target data sent by the target edge storage node is received, and it is determined whether the second target data is stored locally. If the second target data is stored locally, the second target data is sent to the target edge storage node. If the second target data is not stored locally, the second storage information indicating the storage location of the second target data is determined from the data storage information, and the second storage information is sent to the target edge storage node. Thus, the central storage node can always provide the target edge storage node with information about the second target data, so that the target edge storage node can quickly obtain the second target data.

在一种可能的实施方式中,在图3所示的步骤的基础上,本公开还可以包括以下步骤:In a possible implementation manner, based on the steps shown in FIG3 , the present disclosure may further include the following steps:

获取已存储在数据存储网络中的各数据的历史访问信息;Obtaining historical access information of each data stored in the data storage network;

根据历史访问信息,确定访问次数排名在前M位的高热度数据;According to the historical access information, determine the high-popularity data with the top M access times;

若在高热度数据中,存在未存储在本地的第三目标数据,根据数据存储信息,确定第三目标数据的存储位置;If there is third target data that is not stored locally in the high-hot data, the storage location of the third target data is determined according to the data storage information;

根据第三目标数据的存储位置获取第三目标数据,并将第三目标数据存储至本地。The third target data is acquired according to the storage location of the third target data, and the third target data is stored locally.

其中,数据的历史访问信息用于指示接收到针对该数据的数据访问请求的访问次数。The historical access information of the data is used to indicate the number of access times of the data access requests received for the data.

根据历史访问信息,能够确定访问次数排名在前M位的高热度数据。其中,M为正整数,且M可以根据经验值确定。According to the historical access information, the high popularity data with the top M access times can be determined, where M is a positive integer and can be determined according to an empirical value.

这些高热度数据具有较高的访问量,因此,应当存储在中心存储节点,以应对可能出现的多次访问的情况。从而,若高热度数据中存在未存储在中心存储节点本地的第三目标数据,就可以将这样的第三目标数据复制到中心存储节点中。采用的方式可以为:根据数据存储信息确定第三目标数据的存储位置,并根据第三目标数据的存储位置获取第三目标数据,并将第三目标数据存储至本地。示例地,若第三目标数据的存储位置为边缘存储节点K,则中心存储节点可以从边缘存储节点K获取第三目标数据,并存储至中心存储节点中。These high-heat data have a high number of accesses, and therefore should be stored in the central storage node to cope with possible multiple access situations. Therefore, if there is third target data in the high-heat data that is not stored locally in the central storage node, such third target data can be copied to the central storage node. The method adopted can be: determine the storage location of the third target data according to the data storage information, obtain the third target data according to the storage location of the third target data, and store the third target data locally. For example, if the storage location of the third target data is the edge storage node K, the central storage node can obtain the third target data from the edge storage node K and store it in the central storage node.

采用上述方式,若数据具有较高的热度、却没有存储在中心存储节点,中心存储节点会获取这样的数据,以便后续这样的数据被访问时能够较快地作出响应。In the above manner, if data has high popularity but is not stored in the central storage node, the central storage node will obtain such data so that it can respond more quickly when such data is accessed later.

图4是根据本公开的一种实施方式提供的数据处理装置的框图。应用于数据存储网络的边缘存储节点,所述数据存储网络由中心存储节点和边缘存储节点构成。如图4所示,该装置40可以包括:FIG4 is a block diagram of a data processing device provided according to an embodiment of the present disclosure. An edge storage node applied to a data storage network, wherein the data storage network is composed of a central storage node and an edge storage node. As shown in FIG4 , the device 40 may include:

第一确定模块41,用于若接收到携带有第一目标数据的数据存储请求,确定所述第一目标数据的数据类型,所述数据类型包括第一类型和第二类型,以及,第一类型的数据比第二类型的数据具有更高的热度;A first determination module 41 is configured to, if a data storage request carrying first target data is received, determine a data type of the first target data, the data type including a first type and a second type, and the first type of data has a higher heat than the second type of data;

第一存储模块42,用于若所述第一目标数据的数据类型为所述第一类型,存储所述第一目标数据,并且,将所述第一目标数据发送至所述数据存储网络的其他存储节点,以使所述其他存储节点存储所述第一目标数据,所述其他存储节点至少包括中心存储节点。The first storage module 42 is used to store the first target data if the data type of the first target data is the first type, and send the first target data to other storage nodes of the data storage network so that the other storage nodes store the first target data, and the other storage nodes include at least a central storage node.

可选地,所述第一确定模块41包括:Optionally, the first determining module 41 includes:

第一确定子模块,用于确定所述第一目标数据的第一热度值,其中,热度值与数据热度呈正相关关系,以及,热度值通过以下中的至少一者计算:数据标题、数据标签、数据属性、数据大小;A first determination submodule is used to determine a first heat value of the first target data, wherein the heat value is positively correlated with the heat of the data, and the heat value is calculated by at least one of the following: data title, data label, data attribute, data size;

第二确定子模块,用于根据所述第一热度值,确定所述第一目标数据的数据类型。A second determining submodule is configured to determine a data type of the first target data according to the first heat value.

可选地,所述第一确定子模块用于若所述第一目标数据携带有对应于所述第一类型的标记信息,确定所述第一目标数据属于所述第一类型,否则确定所述第一目标数据的第一热度值,以及根据所述第一热度值,确定所述第一目标数据的数据类型的步骤。Optionally, the first determination submodule is used to determine that the first target data belongs to the first type if the first target data carries tag information corresponding to the first type, otherwise determine the first heat value of the first target data, and determine the data type of the first target data based on the first heat value.

可选地,所述第二确定子模块用于根据所述第一热度值和已存储在所述数据存储网络中的各数据对应的第二热度值,按照热度值由大到小的顺序确定热度值排名;若所述第一热度值处于所述热度值排名的前N位,确定所述第一目标数据属于所述第一类型;若所述第一热度值未处于所述热度值排名的前N位,确定所述第一目标数据属于所述第二类型。Optionally, the second determination submodule is used to determine the heat value ranking in descending order according to the first heat value and the second heat value corresponding to each data stored in the data storage network; if the first heat value is in the top N positions of the heat value ranking, it is determined that the first target data belongs to the first type; if the first heat value is not in the top N positions of the heat value ranking, it is determined that the first target data belongs to the second type.

可选地,所述装置40还包括:Optionally, the device 40 further includes:

第二存储模块,用于若所述第一目标数据的数据类型为所述第二类型,存储所述第一目标数据;a second storage module, configured to store the first target data if the data type of the first target data is the second type;

信息生成模块,用于生成第一存储信息,并将所述第一存储信息发送至中心存储节点,所述第一存储信息用于指示所述第一目标数据的存储位置。The information generation module is used to generate first storage information and send the first storage information to a central storage node, where the first storage information is used to indicate a storage location of the first target data.

可选地,所述装置40还包括:Optionally, the device 40 further includes:

第一发送模块,用于若接收到数据访问方针对第二目标数据的数据访问请求、且本地未存储有所述第二目标数据,将所述针对第二目标数据的数据访问请求发送至中心存储节点,以获得所述中心存储节点的反馈结果;A first sending module is used for, if a data access request for second target data is received from a data access party and the second target data is not stored locally, sending the data access request for the second target data to a central storage node to obtain a feedback result from the central storage node;

第二发送模块,用于若所述中心存储节点的反馈结果指示所述第二目标数据的存储位置的第二存储信息,从所述第二存储信息所指示的边缘存储节点获取所述第二目标数据,并将所述第二目标数据发送至所述数据访问方;A second sending module is used to obtain the second target data from the edge storage node indicated by the second storage information if the feedback result of the central storage node indicates the second storage information of the storage location of the second target data, and send the second target data to the data access party;

第三发送模块,用于若本地存储有所述第二目标数据,或者,若所述中心存储节点的反馈结果为所述第二目标数据,将所述第二目标数据发送至所述数据访问方。The third sending module is used to send the second target data to the data access party if the second target data is stored locally or if the feedback result of the central storage node is the second target data.

图5是根据本公开的一种实施方式提供的数据处理装置的框图。应用于数据存储网络的中心存储节点,所述数据存储网络由中心存储节点和边缘存储节点构成。如图5所示,该装置50包括:FIG5 is a block diagram of a data processing device provided according to an embodiment of the present disclosure. The device 50 is applied to a central storage node of a data storage network, and the data storage network is composed of a central storage node and an edge storage node. As shown in FIG5 , the device 50 includes:

第二确定模块51,用于若接收到目标边缘存储节点发送的用于访问第二目标数据的数据访问请求,确定本地是否存储有所述第二目标数据;A second determination module 51 is configured to determine whether the second target data is stored locally upon receiving a data access request for accessing the second target data sent by the target edge storage node;

第四发送模块52,用于若本地存储有所述第二目标数据,将所述第二目标数据发送至所述目标边缘存储节点;A fourth sending module 52, configured to send the second target data to the target edge storage node if the second target data is stored locally;

第五发送模块53,用于若本地未存储有所述第二目标数据,从数据存储信息中确定用于指示所述第二目标数据的存储位置的第二存储信息,并将所述第二存储信息发送至所述目标边缘存储节点,其中,所述数据存储信息用于指示所述数据存储网络中各数据的存储位置。The fifth sending module 53 is used to determine the second storage information for indicating the storage location of the second target data from the data storage information if the second target data is not stored locally, and send the second storage information to the target edge storage node, wherein the data storage information is used to indicate the storage location of each data in the data storage network.

可选地,所述装置50还包括:Optionally, the device 50 further includes:

第一获取模块,用于获取已存储在所述数据存储网络中的各数据的历史访问信息,其中,数据的历史访问信息用于指示接收到针对该数据的数据访问请求的访问次数;A first acquisition module, configured to acquire historical access information of each data stored in the data storage network, wherein the historical access information of the data is used to indicate the number of access times of data access requests received for the data;

第三确定模块,用于根据所述历史访问信息,确定访问次数排名在前M位的高热度数据;A third determination module is used to determine the high popularity data with the top M access times according to the historical access information;

第四确定模块,用于若在所述高热度数据中,存在未存储在本地的第三目标数据,根据所述数据存储信息,确定所述第三目标数据的存储位置;A fourth determination module is used to determine the storage location of the third target data according to the data storage information if there is third target data that is not stored locally in the high-heat data;

第三存储模块,用于根据所述第三目标数据的存储位置获取所述第三目标数据,并将所述第三目标数据存储至本地。A third storage module is used to obtain the third target data according to the storage location of the third target data, and store the third target data locally.

关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

下面参考图6,其示出了适于用来实现本公开实施例的电子设备的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图6示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。Referring to FIG6 below, a schematic diagram of the structure of an electronic device suitable for implementing the embodiment of the present disclosure is shown. The terminal device in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. The electronic device shown in FIG6 is only an example and should not bring any limitation to the functions and scope of use of the embodiment of the present disclosure.

如图6所示,电子设备600可以包括处理装置(例如中央处理器、图形处理器等)601,其可以根据存储在只读存储器(ROM)602中的程序或者从存储装置608加载到随机访问存储器(RAM)603中的程序而执行各种适当的动作和处理。在RAM 603中,还存储有电子设备600操作所需的各种程序和数据。处理装置601、ROM 602以及RAM 603通过总线604彼此相连。输入/输出(I/O)接口605也连接至总线604。As shown in FIG6 , the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to the bus 604.

通常,以下装置可以连接至I/O接口605:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置606;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置607;包括例如磁带、硬盘等的存储装置608;以及通信装置609。通信装置609可以允许电子设备600与其他设备进行无线或有线通信以交换数据。虽然图6示出了具有各种装置的电子设备600,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。Typically, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 608 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 609. The communication device 609 may allow the electronic device 600 to communicate wirelessly or wired with other devices to exchange data. Although FIG. 6 shows an electronic device 600 with various devices, it should be understood that it is not required to implement or have all the devices shown. More or fewer devices may be implemented or have alternatively.

特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置609从网络上被下载和安装,或者从存储装置608被安装,或者从ROM 602被安装。在该计算机程序被处理装置601执行时,执行本公开实施例的方法中限定的上述功能。In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 609, or installed from a storage device 608, or installed from a ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

在一些实施方式中,服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。In some embodiments, the server can communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。The computer-readable medium may be included in the electronic device, or may exist independently without being installed in the electronic device.

上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:若接收到携带有第一目标数据的数据存储请求,确定所述第一目标数据的数据类型,所述数据类型包括第一类型和第二类型,以及,第一类型的数据比第二类型的数据具有更高的热度;若所述第一目标数据的数据类型为所述第一类型,存储所述第一目标数据,并且,将所述第一目标数据发送至所述数据存储网络的其他存储节点,以使所述其他存储节点存储所述第一目标数据,所述其他存储节点至少包括中心存储节点。The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: if receiving a data storage request carrying first target data, determines the data type of the first target data, the data type includes a first type and a second type, and the first type of data has a higher popularity than the second type of data; if the data type of the first target data is the first type, stores the first target data, and sends the first target data to other storage nodes of the data storage network so that the other storage nodes store the first target data, and the other storage nodes include at least a central storage node.

或者,上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:若接收到目标边缘存储节点发送的用于访问第二目标数据的数据访问请求,确定本地是否存储有所述第二目标数据;若本地存储有所述第二目标数据,将所述第二目标数据发送至所述目标边缘存储节点;若本地未存储有所述第二目标数据,从数据存储信息中确定用于指示所述第二目标数据的存储位置的第二存储信息,并将所述第二存储信息发送至所述目标边缘存储节点,其中,所述数据存储信息用于指示所述数据存储网络中各数据的存储位置。Alternatively, the computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: if a data access request for accessing second target data sent by a target edge storage node is received, determines whether the second target data is stored locally; if the second target data is stored locally, sends the second target data to the target edge storage node; if the second target data is not stored locally, determines second storage information for indicating the storage location of the second target data from the data storage information, and sends the second storage information to the target edge storage node, wherein the data storage information is used to indicate the storage location of each data in the data storage network.

可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言——诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)——连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and/or flow chart, and the combination of the square boxes in the block diagram and/or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

描述于本公开实施例中所涉及到的模块可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,模块的名称在某种情况下并不构成对该模块本身的限定,例如,第一确定模块还可以被描述为“确定第一目标数据的数据类型的模块”。The modules involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a module does not limit the module itself in some cases. For example, the first determination module may also be described as a "module for determining the data type of the first target data".

本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.

在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

根据本公开的一个或多个实施例,提供了一种数据处理方法,应用于数据存储网络的边缘存储节点,所述数据存储网络由中心存储节点和边缘存储节点构成,所述方法包括:According to one or more embodiments of the present disclosure, a data processing method is provided, which is applied to an edge storage node of a data storage network, wherein the data storage network is composed of a central storage node and an edge storage node, and the method includes:

若接收到携带有第一目标数据的数据存储请求,确定所述第一目标数据的数据类型,所述数据类型包括第一类型和第二类型,以及,第一类型的数据比第二类型的数据具有更高的热度;If a data storage request carrying first target data is received, determining a data type of the first target data, the data type includes a first type and a second type, and the first type of data has a higher heat than the second type of data;

若所述第一目标数据的数据类型为所述第一类型,存储所述第一目标数据,并且,将所述第一目标数据发送至所述数据存储网络的其他存储节点,以使所述其他存储节点存储所述第一目标数据,所述其他存储节点至少包括中心存储节点。If the data type of the first target data is the first type, the first target data is stored, and the first target data is sent to other storage nodes of the data storage network so that the other storage nodes store the first target data, and the other storage nodes include at least a central storage node.

根据本公开的一个或多个实施例,提供了一种数据处理方法,所述确定所述第一目标数据的数据类型,包括:According to one or more embodiments of the present disclosure, a data processing method is provided, wherein determining the data type of the first target data includes:

确定所述第一目标数据的第一热度值,其中,热度值与数据热度呈正相关关系,以及,热度值通过以下中的至少一者计算:数据标题、数据标签、数据属性、数据大小;Determine a first heat value of the first target data, wherein the heat value is positively correlated with the heat of the data, and the heat value is calculated by at least one of the following: data title, data label, data attribute, data size;

根据所述第一热度值,确定所述第一目标数据的数据类型。The data type of the first target data is determined according to the first heat value.

根据本公开的一个或多个实施例,提供了一种数据处理方法,所述方法还包括:According to one or more embodiments of the present disclosure, a data processing method is provided, the method further comprising:

若所述第一目标数据携带有对应于所述第一类型的标记信息,确定所述第一目标数据属于所述第一类型,否则执行所述确定所述第一目标数据的第一热度值,以及所述根据所述第一热度值,确定所述第一目标数据的数据类型的步骤。If the first target data carries tag information corresponding to the first type, it is determined that the first target data belongs to the first type; otherwise, the steps of determining the first heat value of the first target data and determining the data type of the first target data based on the first heat value are performed.

根据本公开的一个或多个实施例,提供了一种数据处理方法,所述根据所述第一热度值,确定所述第一目标数据的数据类型,包括:According to one or more embodiments of the present disclosure, a data processing method is provided, wherein determining the data type of the first target data according to the first heat value includes:

根据所述第一热度值和已存储在所述数据存储网络中的各数据对应的第二热度值,按照热度值由大到小的顺序确定热度值排名;Determining a heat value ranking in descending order of heat values according to the first heat value and the second heat values corresponding to each data stored in the data storage network;

若所述第一热度值处于所述热度值排名的前N位,确定所述第一目标数据属于所述第一类型;If the first popularity value is in the top N positions of the popularity value ranking, it is determined that the first target data belongs to the first type;

若所述第一热度值未处于所述热度值排名的前N位,确定所述第一目标数据属于所述第二类型。If the first popularity value is not in the top N positions of the popularity value ranking, it is determined that the first target data belongs to the second type.

根据本公开的一个或多个实施例,提供了一种数据处理方法,所述方法还包括:According to one or more embodiments of the present disclosure, a data processing method is provided, the method further comprising:

若所述第一目标数据的数据类型为所述第二类型,存储所述第一目标数据;If the data type of the first target data is the second type, storing the first target data;

生成第一存储信息,并将所述第一存储信息发送至中心存储节点,所述第一存储信息用于指示所述第一目标数据的存储位置。Generate first storage information and send the first storage information to a central storage node, where the first storage information is used to indicate a storage location of the first target data.

根据本公开的一个或多个实施例,提供了一种数据处理方法,所述方法还包括:According to one or more embodiments of the present disclosure, a data processing method is provided, the method further comprising:

若接收到数据访问方针对第二目标数据的数据访问请求、且本地未存储有所述第二目标数据,将所述针对第二目标数据的数据访问请求发送至中心存储节点,以获得所述中心存储节点的反馈结果;If a data access request for the second target data is received from the data access party, and the second target data is not stored locally, the data access request for the second target data is sent to the central storage node to obtain a feedback result from the central storage node;

若所述中心存储节点的反馈结果指示所述第二目标数据的存储位置的第二存储信息,从所述第二存储信息所指示的边缘存储节点获取所述第二目标数据,并将所述第二目标数据发送至所述数据访问方;If the feedback result of the central storage node indicates second storage information of the storage location of the second target data, obtain the second target data from the edge storage node indicated by the second storage information, and send the second target data to the data access party;

若本地存储有所述第二目标数据,或者,若所述中心存储节点的反馈结果为所述第二目标数据,将所述第二目标数据发送至所述数据访问方。If the second target data is stored locally, or if the feedback result of the central storage node is the second target data, the second target data is sent to the data access party.

根据本公开的一个或多个实施例,提供了一种数据处理方法,应用于数据存储网络的中心存储节点,所述数据存储网络由中心存储节点和边缘存储节点构成,所述方法包括:According to one or more embodiments of the present disclosure, a data processing method is provided, which is applied to a central storage node of a data storage network, wherein the data storage network is composed of a central storage node and an edge storage node, and the method includes:

若接收到目标边缘存储节点发送的用于访问第二目标数据的数据访问请求,确定本地是否存储有所述第二目标数据;If a data access request for accessing second target data sent by the target edge storage node is received, determining whether the second target data is stored locally;

若本地存储有所述第二目标数据,将所述第二目标数据发送至所述目标边缘存储节点;If the second target data is stored locally, sending the second target data to the target edge storage node;

若本地未存储有所述第二目标数据,从数据存储信息中确定用于指示所述第二目标数据的存储位置的第二存储信息,并将所述第二存储信息发送至所述目标边缘存储节点,其中,所述数据存储信息用于指示所述数据存储网络中各数据的存储位置。If the second target data is not stored locally, second storage information for indicating the storage location of the second target data is determined from the data storage information, and the second storage information is sent to the target edge storage node, wherein the data storage information is used to indicate the storage location of each data in the data storage network.

根据本公开的一个或多个实施例,提供了一种数据处理方法,所述方法还包括:According to one or more embodiments of the present disclosure, a data processing method is provided, the method further comprising:

获取已存储在所述数据存储网络中的各数据的历史访问信息,其中,数据的历史访问信息用于指示接收到针对该数据的数据访问请求的访问次数;Acquire historical access information of each data stored in the data storage network, wherein the historical access information of the data is used to indicate the number of access times of data access requests received for the data;

根据所述历史访问信息,确定访问次数排名在前M位的高热度数据;According to the historical access information, determine the high-heat data with the top M access times;

若在所述高热度数据中,存在未存储在本地的第三目标数据,根据所述数据存储信息,确定所述第三目标数据的存储位置;If there is third target data that is not stored locally in the high-hot data, determining a storage location of the third target data according to the data storage information;

根据所述第三目标数据的存储位置获取所述第三目标数据,并将所述第三目标数据存储至本地。The third target data is acquired according to the storage location of the third target data, and the third target data is stored locally.

根据本公开的一个或多个实施例,提供了一种数据处理装置,应用于数据存储网络的边缘存储节点,所述数据存储网络由中心存储节点和边缘存储节点构成,所述装置包括:According to one or more embodiments of the present disclosure, a data processing device is provided, which is applied to an edge storage node of a data storage network, wherein the data storage network is composed of a central storage node and an edge storage node, and the device includes:

第一确定模块,用于若接收到携带有第一目标数据的数据存储请求,确定所述第一目标数据的数据类型,所述数据类型包括第一类型和第二类型,以及,第一类型的数据比第二类型的数据具有更高的热度;A first determination module is configured to determine a data type of the first target data if a data storage request carrying first target data is received, the data type comprising a first type and a second type, and the first type of data has a higher heat than the second type of data;

第一存储模块,用于若所述第一目标数据的数据类型为所述第一类型,存储所述第一目标数据,并且,将所述第一目标数据发送至所述数据存储网络的其他存储节点,以使所述其他存储节点存储所述第一目标数据,所述其他存储节点至少包括中心存储节点。A first storage module is used to store the first target data if the data type of the first target data is the first type, and to send the first target data to other storage nodes of the data storage network so that the other storage nodes store the first target data, and the other storage nodes include at least a central storage node.

根据本公开的一个或多个实施例,提供了一种数据处理装置,所述第一确定模块包括:According to one or more embodiments of the present disclosure, a data processing device is provided, wherein the first determining module includes:

第一确定子模块,用于确定所述第一目标数据的第一热度值,其中,热度值与数据热度呈正相关关系,以及,热度值通过以下中的至少一者计算:数据标题、数据标签、数据属性、数据大小;A first determination submodule is used to determine a first heat value of the first target data, wherein the heat value is positively correlated with the heat of the data, and the heat value is calculated by at least one of the following: data title, data label, data attribute, data size;

第二确定子模块,用于根据所述第一热度值,确定所述第一目标数据的数据类型。A second determining submodule is configured to determine a data type of the first target data according to the first heat value.

根据本公开的一个或多个实施例,提供了一种数据处理装置,所述第一确定子模块用于若所述第一目标数据携带有对应于所述第一类型的标记信息,确定所述第一目标数据属于所述第一类型,否则确定所述第一目标数据的第一热度值,以及根据所述第一热度值,确定所述第一目标数据的数据类型的步骤。According to one or more embodiments of the present disclosure, a data processing device is provided, wherein the first determination submodule is used to determine that the first target data belongs to the first type if the first target data carries tag information corresponding to the first type, otherwise determine a first heat value of the first target data, and determine the data type of the first target data based on the first heat value.

根据本公开的一个或多个实施例,提供了一种数据处理装置,所述第二确定子模块用于根据所述第一热度值和已存储在所述数据存储网络中的各数据对应的第二热度值,按照热度值由大到小的顺序确定热度值排名;若所述第一热度值处于所述热度值排名的前N位,确定所述第一目标数据属于所述第一类型;若所述第一热度值未处于所述热度值排名的前N位,确定所述第一目标数据属于所述第二类型。According to one or more embodiments of the present disclosure, a data processing device is provided, wherein the second determination submodule is used to determine a heat value ranking in descending order of heat values based on the first heat value and the second heat values corresponding to each data stored in the data storage network; if the first heat value is in the top N positions of the heat value ranking, it is determined that the first target data belongs to the first type; if the first heat value is not in the top N positions of the heat value ranking, it is determined that the first target data belongs to the second type.

根据本公开的一个或多个实施例,提供了一种数据处理装置,所述装置还包括:According to one or more embodiments of the present disclosure, a data processing device is provided, the device further comprising:

第二存储模块,用于若所述第一目标数据的数据类型为所述第二类型,存储所述第一目标数据;a second storage module, configured to store the first target data if the data type of the first target data is the second type;

信息生成模块,用于生成第一存储信息,并将所述第一存储信息发送至中心存储节点,所述第一存储信息用于指示所述第一目标数据的存储位置。The information generation module is used to generate first storage information and send the first storage information to a central storage node, where the first storage information is used to indicate a storage location of the first target data.

根据本公开的一个或多个实施例,提供了一种数据处理装置,所述装置还包括:According to one or more embodiments of the present disclosure, a data processing device is provided, the device further comprising:

第一发送模块,用于若接收到数据访问方针对第二目标数据的数据访问请求、且本地未存储有所述第二目标数据,将所述针对第二目标数据的数据访问请求发送至中心存储节点,以获得所述中心存储节点的反馈结果;A first sending module is used for, if a data access request for second target data is received from a data access party and the second target data is not stored locally, sending the data access request for the second target data to a central storage node to obtain a feedback result from the central storage node;

第二发送模块,用于若所述中心存储节点的反馈结果指示所述第二目标数据的存储位置的第二存储信息,从所述第二存储信息所指示的边缘存储节点获取所述第二目标数据,并将所述第二目标数据发送至所述数据访问方;A second sending module is used to obtain the second target data from the edge storage node indicated by the second storage information if the feedback result of the central storage node indicates the second storage information of the storage location of the second target data, and send the second target data to the data access party;

第三发送模块,用于若本地存储有所述第二目标数据,或者,若所述中心存储节点的反馈结果为所述第二目标数据,将所述第二目标数据发送至所述数据访问方。The third sending module is used to send the second target data to the data access party if the second target data is stored locally or if the feedback result of the central storage node is the second target data.

根据本公开的一个或多个实施例,提供了一种数据处理装置,应用于数据存储网络的中心存储节点,所述数据存储网络由中心存储节点和边缘存储节点构成,所述装置包括:According to one or more embodiments of the present disclosure, a data processing device is provided, which is applied to a central storage node of a data storage network, wherein the data storage network is composed of a central storage node and an edge storage node, and the device includes:

第二确定模块,用于若接收到目标边缘存储节点发送的用于访问第二目标数据的数据访问请求,确定本地是否存储有所述第二目标数据;A second determination module, configured to determine whether the second target data is stored locally upon receiving a data access request for accessing second target data sent by a target edge storage node;

第四发送模块,用于若本地存储有所述第二目标数据,将所述第二目标数据发送至所述目标边缘存储节点;a fourth sending module, configured to send the second target data to the target edge storage node if the second target data is stored locally;

第五发送模块,用于若本地未存储有所述第二目标数据,从数据存储信息中确定用于指示所述第二目标数据的存储位置的第二存储信息,并将所述第二存储信息发送至所述目标边缘存储节点,其中,所述数据存储信息用于指示所述数据存储网络中各数据的存储位置。The fifth sending module is used to determine the second storage information for indicating the storage location of the second target data from the data storage information if the second target data is not stored locally, and send the second storage information to the target edge storage node, wherein the data storage information is used to indicate the storage location of each data in the data storage network.

根据本公开的一个或多个实施例,提供了一种数据处理装置,所述装置还包括:According to one or more embodiments of the present disclosure, a data processing device is provided, the device further comprising:

第一获取模块,用于获取已存储在所述数据存储网络中的各数据的历史访问信息,其中,数据的历史访问信息用于指示接收到针对该数据的数据访问请求的访问次数;A first acquisition module, configured to acquire historical access information of each data stored in the data storage network, wherein the historical access information of the data is used to indicate the number of access times of data access requests received for the data;

第三确定模块,用于根据所述历史访问信息,确定访问次数排名在前M位的高热度数据;A third determination module is used to determine the high popularity data with the top M access times according to the historical access information;

第四确定模块,用于若在所述高热度数据中,存在未存储在本地的第三目标数据,根据所述数据存储信息,确定所述第三目标数据的存储位置;A fourth determination module is used to determine the storage location of the third target data according to the data storage information if there is third target data that is not stored locally in the high-heat data;

第三存储模块,用于根据所述第三目标数据的存储位置获取所述第三目标数据,并将所述第三目标数据存储至本地。A third storage module is used to obtain the third target data according to the storage location of the third target data, and store the third target data locally.

以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other.

此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Although the subject matter has been described in language specific to structural features and/or method logic actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims. Regarding the device in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.

Claims (11)

1.一种数据处理方法,其特征在于,应用于数据存储网络的边缘存储节点,所述数据存储网络由中心存储节点和边缘存储节点构成,所述方法包括:1. A data processing method, characterized in that it is applied to an edge storage node of a data storage network, wherein the data storage network is composed of a central storage node and an edge storage node, and the method comprises: 若接收到携带有第一目标数据的数据存储请求,确定所述第一目标数据的数据类型,所述数据类型包括第一类型和第二类型,以及,第一类型的数据比第二类型的数据具有更高的热度;If a data storage request carrying first target data is received, determining a data type of the first target data, the data type includes a first type and a second type, and the first type of data has a higher heat than the second type of data; 若所述第一目标数据的数据类型为所述第一类型,存储所述第一目标数据,并且,将所述第一目标数据发送至所述数据存储网络的其他存储节点,以使所述其他存储节点存储所述第一目标数据,所述其他存储节点至少包括中心存储节点;If the data type of the first target data is the first type, storing the first target data, and sending the first target data to other storage nodes of the data storage network, so that the other storage nodes store the first target data, and the other storage nodes at least include a central storage node; 若所述第一目标数据的数据类型为所述第二类型,存储所述第一目标数据,并且,生成第一存储信息,并将所述第一存储信息发送至中心存储节点,所述第一存储信息用于指示所述第一目标数据的存储位置;If the data type of the first target data is the second type, the first target data is stored, and first storage information is generated and sent to a central storage node, where the first storage information is used to indicate a storage location of the first target data; 所述方法还包括:The method further comprises: 若接收到数据访问方针对第二目标数据的数据访问请求、且本地未存储有所述第二目标数据,将所述针对第二目标数据的数据访问请求发送至中心存储节点,以获得所述中心存储节点的反馈结果;If a data access request for the second target data is received from the data access party, and the second target data is not stored locally, the data access request for the second target data is sent to the central storage node to obtain a feedback result from the central storage node; 若所述中心存储节点的反馈结果指示所述第二目标数据的存储位置的第二存储信息,从所述第二存储信息所指示的边缘存储节点获取所述第二目标数据,并将所述第二目标数据发送至所述数据访问方。If the feedback result of the central storage node indicates second storage information of the storage location of the second target data, the second target data is obtained from the edge storage node indicated by the second storage information, and the second target data is sent to the data access party. 2.根据权利要求1所述的方法,其特征在于,所述确定所述第一目标数据的数据类型,包括:2. The method according to claim 1, wherein determining the data type of the first target data comprises: 确定所述第一目标数据的第一热度值,其中,热度值与数据热度呈正相关关系,以及,热度值通过以下中的至少一者计算:数据标题、数据标签、数据属性、数据大小;Determine a first heat value of the first target data, wherein the heat value is positively correlated with the heat of the data, and the heat value is calculated by at least one of the following: data title, data label, data attribute, data size; 根据所述第一热度值,确定所述第一目标数据的数据类型。The data type of the first target data is determined according to the first heat value. 3.根据权利要求2所述的方法,其特征在于,所述方法还包括:3. The method according to claim 2, characterized in that the method further comprises: 若所述第一目标数据携带有对应于所述第一类型的标记信息,确定所述第一目标数据属于所述第一类型,否则执行所述确定所述第一目标数据的第一热度值,以及所述根据所述第一热度值,确定所述第一目标数据的数据类型的步骤。If the first target data carries tag information corresponding to the first type, it is determined that the first target data belongs to the first type; otherwise, the steps of determining the first heat value of the first target data and determining the data type of the first target data based on the first heat value are performed. 4.根据权利要求2所述的方法,其特征在于,所述根据所述第一热度值,确定所述第一目标数据的数据类型,包括:4. The method according to claim 2, wherein determining the data type of the first target data according to the first heat value comprises: 根据所述第一热度值和已存储在所述数据存储网络中的各数据对应的第二热度值,按照热度值由大到小的顺序确定热度值排名;Determining a heat value ranking in descending order of heat values according to the first heat value and the second heat values corresponding to each data stored in the data storage network; 若所述第一热度值处于所述热度值排名的前N位,确定所述第一目标数据属于所述第一类型;If the first popularity value is in the top N positions of the popularity value ranking, it is determined that the first target data belongs to the first type; 若所述第一热度值未处于所述热度值排名的前N位,确定所述第一目标数据属于所述第二类型。If the first popularity value is not in the top N positions of the popularity value ranking, it is determined that the first target data belongs to the second type. 5.根据权利要求1所述的方法,其特征在于,所述方法还包括:5. The method according to claim 1, characterized in that the method further comprises: 若本地存储有所述第二目标数据,或者,若所述中心存储节点的反馈结果为所述第二目标数据,将所述第二目标数据发送至所述数据访问方。If the second target data is stored locally, or if the feedback result of the central storage node is the second target data, the second target data is sent to the data access party. 6.一种数据处理方法,其特征在于,应用于数据存储网络的中心存储节点,所述数据存储网络由中心存储节点和边缘存储节点构成,所述方法包括:6. A data processing method, characterized in that it is applied to a central storage node of a data storage network, the data storage network being composed of a central storage node and an edge storage node, the method comprising: 若接收到目标边缘存储节点发送的用于访问第二目标数据的数据访问请求,确定本地是否存储有所述第二目标数据,其中,所述数据访问请求是所述目标边缘存储节点本地未存储有所述第二目标数据的情况下由所述目标边缘存储节点发送至所述中心存储节点的;If a data access request for accessing second target data sent by the target edge storage node is received, determining whether the second target data is stored locally, wherein the data access request is sent by the target edge storage node to the central storage node when the target edge storage node does not store the second target data locally; 若本地存储有所述第二目标数据,将所述第二目标数据发送至所述目标边缘存储节点;If the second target data is stored locally, sending the second target data to the target edge storage node; 若本地未存储有所述第二目标数据,从数据存储信息中确定用于指示所述第二目标数据的存储位置的第二存储信息,并将所述第二存储信息发送至所述目标边缘存储节点,其中,所述数据存储信息用于指示所述数据存储网络中各数据的存储位置。If the second target data is not stored locally, second storage information for indicating the storage location of the second target data is determined from the data storage information, and the second storage information is sent to the target edge storage node, wherein the data storage information is used to indicate the storage location of each data in the data storage network. 7.根据权利要求6所述的方法,其特征在于,所述方法还包括:7. The method according to claim 6, characterized in that the method further comprises: 获取已存储在所述数据存储网络中的各数据的历史访问信息,其中,数据的历史访问信息用于指示接收到针对该数据的数据访问请求的访问次数;Acquire historical access information of each data stored in the data storage network, wherein the historical access information of the data is used to indicate the number of access times of data access requests received for the data; 根据所述历史访问信息,确定访问次数排名在前M位的高热度数据;According to the historical access information, determine the high-heat data with the top M access times; 若在所述高热度数据中,存在未存储在本地的第三目标数据,根据所述数据存储信息,确定所述第三目标数据的存储位置;If there is third target data that is not stored locally in the high-hot data, determining a storage location of the third target data according to the data storage information; 根据所述第三目标数据的存储位置获取所述第三目标数据,并将所述第三目标数据存储至本地。The third target data is acquired according to the storage location of the third target data, and the third target data is stored locally. 8.一种数据处理装置,其特征在于,应用于数据存储网络的边缘存储节点,所述数据存储网络由中心存储节点和边缘存储节点构成,所述装置包括:8. A data processing device, characterized in that it is applied to an edge storage node of a data storage network, wherein the data storage network is composed of a central storage node and an edge storage node, and the device comprises: 第一确定模块,用于若接收到携带有第一目标数据的数据存储请求,确定所述第一目标数据的数据类型,所述数据类型包括第一类型和第二类型,以及,第一类型的数据比第二类型的数据具有更高的热度;A first determination module is configured to determine a data type of the first target data if a data storage request carrying first target data is received, the data type comprising a first type and a second type, and the first type of data has a higher heat than the second type of data; 第一存储模块,用于若所述第一目标数据的数据类型为所述第一类型,存储所述第一目标数据,并且,将所述第一目标数据发送至所述数据存储网络的其他存储节点,以使所述其他存储节点存储所述第一目标数据,所述其他存储节点至少包括中心存储节点;a first storage module, configured to store the first target data if the data type of the first target data is the first type, and send the first target data to other storage nodes of the data storage network so that the other storage nodes store the first target data, wherein the other storage nodes at least include a central storage node; 第二存储模块,用于若所述第一目标数据的数据类型为所述第二类型,存储所述第一目标数据;a second storage module, configured to store the first target data if the data type of the first target data is the second type; 信息生成模块,用于生成第一存储信息,并将所述第一存储信息发送至中心存储节点,所述第一存储信息用于指示所述第一目标数据的存储位置;An information generation module, used to generate first storage information and send the first storage information to a central storage node, wherein the first storage information is used to indicate a storage location of the first target data; 第一发送模块,用于若接收到数据访问方针对第二目标数据的数据访问请求、且本地未存储有所述第二目标数据,将所述针对第二目标数据的数据访问请求发送至中心存储节点,以获得所述中心存储节点的反馈结果;A first sending module is used to send the data access request for the second target data to the central storage node if a data access request for the second target data is received from the data access party and the second target data is not stored locally, so as to obtain a feedback result of the central storage node; 第二发送模块,用于若所述中心存储节点的反馈结果指示所述第二目标数据的存储位置的第二存储信息,从所述第二存储信息所指示的边缘存储节点获取所述第二目标数据,并将所述第二目标数据发送至所述数据访问方。A second sending module is used to obtain the second target data from the edge storage node indicated by the second storage information if the feedback result of the central storage node indicates the second storage information of the storage location of the second target data, and send the second target data to the data access party. 9.一种数据处理装置,其特征在于,应用于数据存储网络的中心存储节点,所述数据存储网络由中心存储节点和边缘存储节点构成,所述装置包括:9. A data processing device, characterized in that it is applied to a central storage node of a data storage network, the data storage network is composed of a central storage node and an edge storage node, and the device comprises: 第二确定模块,用于若接收到目标边缘存储节点发送的用于访问第二目标数据的数据访问请求,确定本地是否存储有所述第二目标数据,其中,所述数据访问请求是所述目标边缘存储节点本地未存储有所述第二目标数据的情况下由所述目标边缘存储节点发送至所述中心存储节点的;a second determination module, configured to determine whether the second target data is stored locally upon receiving a data access request for accessing the second target data sent by the target edge storage node, wherein the data access request is sent by the target edge storage node to the central storage node when the target edge storage node does not store the second target data locally; 第四发送模块,用于若本地存储有所述第二目标数据,将所述第二目标数据发送至所述目标边缘存储节点;a fourth sending module, configured to send the second target data to the target edge storage node if the second target data is stored locally; 第五发送模块,用于若本地未存储有所述第二目标数据,从数据存储信息中确定用于指示所述第二目标数据的存储位置的第二存储信息,并将所述第二存储信息发送至所述目标边缘存储节点,其中,所述数据存储信息用于指示所述数据存储网络中各数据的存储位置。The fifth sending module is used to determine the second storage information for indicating the storage location of the second target data from the data storage information if the second target data is not stored locally, and send the second storage information to the target edge storage node, wherein the data storage information is used to indicate the storage location of each data in the data storage network. 10.一种计算机可读介质,其上存储有计算机程序,其特征在于,该程序被处理装置执行时实现权利要求1-5中任一项所述方法的步骤,或者,该程序被处理装置执行时实现权利要求6或7所述方法的步骤。10. A computer-readable medium having a computer program stored thereon, characterized in that when the program is executed by a processing device, the program implements the steps of the method described in any one of claims 1 to 5, or when the program is executed by a processing device, the program implements the steps of the method described in claim 6 or 7. 11.一种电子设备,其特征在于,包括:11. An electronic device, comprising: 存储装置,其上存储有计算机程序;a storage device having a computer program stored thereon; 处理装置,用于执行所述存储装置中的所述计算机程序,以实现权利要求1-5中任一项所述方法的步骤,或者,实现权利要求6或7所述方法的步骤。A processing device, used to execute the computer program in the storage device to implement the steps of the method described in any one of claims 1 to 5, or to implement the steps of the method described in claim 6 or 7.
CN202010079099.4A 2020-02-03 2020-02-03 Data processing method, device, readable medium and electronic device Active CN111309254B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010079099.4A CN111309254B (en) 2020-02-03 2020-02-03 Data processing method, device, readable medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010079099.4A CN111309254B (en) 2020-02-03 2020-02-03 Data processing method, device, readable medium and electronic device

Publications (2)

Publication Number Publication Date
CN111309254A CN111309254A (en) 2020-06-19
CN111309254B true CN111309254B (en) 2024-08-16

Family

ID=71145681

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010079099.4A Active CN111309254B (en) 2020-02-03 2020-02-03 Data processing method, device, readable medium and electronic device

Country Status (1)

Country Link
CN (1) CN111309254B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111753239B (en) * 2020-06-23 2023-09-05 北京奇艺世纪科技有限公司 Resource distribution method and device, electronic equipment and storage medium
CN114063888B (en) * 2020-07-31 2024-11-26 中移(苏州)软件技术有限公司 Data storage system, data processing method, terminal and storage medium
CN114691015A (en) * 2020-12-29 2022-07-01 华为技术有限公司 Storage system management method, storage system and computer program product
CN115033187B (en) * 2022-08-10 2022-11-08 蓝深远望科技股份有限公司 Big data based analysis management method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103747047A (en) * 2013-12-24 2014-04-23 乐视网信息技术(北京)股份有限公司 CDN file storage method, file distribution control center and system thereof
CN104580274A (en) * 2013-10-12 2015-04-29 中国电信股份有限公司 Content replacement method, system and node in CDN
CN107015884A (en) * 2016-01-28 2017-08-04 杭州海康威视数字技术股份有限公司 A kind of date storage method and device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101883012B (en) * 2010-07-09 2012-04-18 四川长虹电器股份有限公司 Method for processing storage resources in network edge node
US9465543B2 (en) * 2014-01-18 2016-10-11 International Business Machines Corporation Fine-grained data reorganization in tiered storage architectures
US10168917B2 (en) * 2016-04-05 2019-01-01 International Business Machines Corporation Hotness based data storage for facilitating garbage collection
CN107870877B (en) * 2016-09-23 2024-04-23 伊姆西Ip控股有限责任公司 Method and system for managing data access in a storage system
CN107645547A (en) * 2017-09-14 2018-01-30 郑州云海信息技术有限公司 Data temperature based on storage device determines method, equipment and system
CN108121512B (en) * 2017-12-22 2020-04-07 苏州大学 Edge computing service caching method, system and device and readable storage medium
CN109788025B (en) * 2018-12-12 2022-06-28 北京世纪互联宽带数据中心有限公司 Data grading method and device, electronic equipment and computer readable medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580274A (en) * 2013-10-12 2015-04-29 中国电信股份有限公司 Content replacement method, system and node in CDN
CN103747047A (en) * 2013-12-24 2014-04-23 乐视网信息技术(北京)股份有限公司 CDN file storage method, file distribution control center and system thereof
CN107015884A (en) * 2016-01-28 2017-08-04 杭州海康威视数字技术股份有限公司 A kind of date storage method and device

Also Published As

Publication number Publication date
CN111309254A (en) 2020-06-19

Similar Documents

Publication Publication Date Title
CN111309254B (en) Data processing method, device, readable medium and electronic device
CN112035529B (en) Caching method, caching device, electronic equipment and computer readable storage medium
CN114629882B (en) Information display method, apparatus, electronic device, storage medium, and program product
CN114443897B (en) Video recommendation method, device, electronic device and storage medium
WO2021190129A1 (en) Method and device for page processing, electronic device, and computer-readable storage medium
CN110825481A (en) Method and device for displaying page information corresponding to page tag and electronic equipment
CN110781373B (en) List updating method and device, readable medium and electronic equipment
CN110795446A (en) List updating method and device, readable medium and electronic equipment
CN113779461B (en) Data loading method and device and electronic equipment
CN115250295A (en) A media content processing method, apparatus, device and storage medium
WO2025092611A1 (en) Information display method and apparatus, and electronic device and storage medium
CN111262907B (en) Service instance access method and device and electronic equipment
CN111324258B (en) Method, device, equipment and medium for generating contents of configuration items of multilevel pull-down menu
CN111241137A (en) Data processing method and device, electronic equipment and storage medium
CN113240108B (en) Model training method, device and electronic equipment
CN111262744A (en) Multimedia information transmitting method, backup server and medium
CN112214665A (en) Content display method and device, electronic equipment and computer readable storage medium
CN112100211B (en) Data storage method, apparatus, electronic device, and computer readable medium
WO2025067187A1 (en) File downloading method and apparatus, electronic device, and storage medium
WO2024199349A1 (en) Object recommendation method and apparatus, medium, and electronic device
WO2024083149A1 (en) Media content processing method and apparatus, and electronic device
CN113760178B (en) Cache data processing method, device, electronic device and computer readable medium
CN113240107B (en) Image processing method and device and electronic equipment
CN116089756A (en) A page component rendering method, device, equipment and medium
CN114817409A (en) Label generation method, device, equipment and 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
TG01 Patent term adjustment
TG01 Patent term adjustment