CN113949750B - Handle identification analysis caching method, query method and handle identification analysis system - Google Patents
Handle identification analysis caching method, query method and handle identification analysis system Download PDFInfo
- Publication number
- CN113949750B CN113949750B CN202111494103.4A CN202111494103A CN113949750B CN 113949750 B CN113949750 B CN 113949750B CN 202111494103 A CN202111494103 A CN 202111494103A CN 113949750 B CN113949750 B CN 113949750B
- Authority
- CN
- China
- Prior art keywords
- value
- handle identification
- values
- handle
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/31—Indexing; Data structures therefor; Storage structures
- G06F16/316—Indexing structures
- G06F16/325—Hash tables
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/3331—Query processing
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Security & Cryptography (AREA)
- Computational Linguistics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本申请要求申请日为2020年12月9日、申请号为202011430641.2、发明名称为“句柄标识解析缓存方法,查询方法及句柄标识解析系统”的发明专利申请的优先权,其全部内容通过引用融入本文。This application requires the priority of an invention patent application with an application date of December 9, 2020, an application number of 202011430641.2, and an invention title of "Handle Identity Parsing Cache Method, Query Method and Handle Identity Parsing System", the entire content of which is incorporated by reference. This article.
技术领域Technical field
本发明涉及网络通信技术领域,具体地,涉及到一种句柄标识解析缓存方法,句柄标识解析查询方法及句柄标识解析系统。The present invention relates to the field of network communication technology. Specifically, it relates to a handle identification parsing cache method, a handle identification parsing query method and a handle identification parsing system.
背景技术Background technique
1994年,世界互联网之父、TCP/IP协议共同发明人罗伯特卡恩发明了句柄(handle)标识解析系统。句柄标识解析系统是一种(K,V)类型的分布式数据库系统,以句柄标识字符串(包括前缀,全标识,二级节点标识,企业节点标识等)作为关键字值(key,K),对其进行解析后,得到一组句柄值(Value,V)。接着,能够以句柄值中的索引值(index)、类型值(type)作为单独的二级key,依次查询索引值(index)、类型值(type),从而在检索到的句柄值中继续查询特定目标的句柄值,在最终确定句柄值后访问与该句柄值对应的数据。In 1994, Robert Kahn, the father of the world's Internet and co-inventor of the TCP/IP protocol, invented the handle identification parsing system. The handle identification parsing system is a (K, V) type distributed database system that uses the handle identification string (including prefix, full identification, secondary node identification, enterprise node identification, etc.) as the key value (key, K) , after parsing it, a set of handle values (Value, V) is obtained. Then, you can use the index value (index) and type value (type) in the handle value as separate secondary keys to query the index value (index) and type value (type) in sequence, thereby continuing to query the retrieved handle value. The handle value of a specific target, and the data corresponding to the handle value is accessed after the handle value is finalized.
为了实现高性能的标识解析系统,在现有技术中通常会匹配高速的缓存系统来对数据进行缓存。在高速缓存系统中通过以上方式查询一个句柄标识的解析结果时,即使在句柄值中的索引值只有一个条件值且类型值也只有一个条件值的情况下,也至少需要进行三次分别对句柄标识字符串、索引值、类型值对应结果的查询,才能获得特定目标值。在索引值和类型值有多个条件值时,则查询次数会更多。这种需要多次查询才能定位到最终句柄标识解析结果的方式效率较低,查询缓存的时延较长。In order to implement a high-performance identity parsing system, a high-speed cache system is usually used to cache data in the existing technology. When querying the parsing result of a handle identifier in the cache system through the above method, even if the index value in the handle value has only one condition value and the type value has only one condition value, it is necessary to perform at least three separate operations on the handle identifier. Only by querying the results corresponding to strings, index values, and type values can the specific target value be obtained. When the index value and type value have multiple condition values, the number of queries will be more. This method, which requires multiple queries to locate the final handle identification parsing result, is inefficient and requires a long query cache delay.
因此,亟待一种技术方案能够减少句柄标识解析结果的缓存查询次数,提高缓存效率,降低查询缓存时延,以达到提高整个系统业务处理的每秒查询率(qps)的效果。Therefore, there is an urgent need for a technical solution that can reduce the number of cache queries for handle identifier parsing results, improve cache efficiency, and reduce query cache latency, so as to improve the query rate per second (qps) of the entire system's business processing.
发明内容Contents of the invention
针对以上问题,本发明提供了一种句柄标识解析缓存方法、查询方法以及相应的句柄标识解析系统,能够有效地减少句柄标识解析结果的缓存查询次数。In response to the above problems, the present invention provides a handle identification parsing caching method, a query method and a corresponding handle identification parsing system, which can effectively reduce the number of cache queries for handle identification parsing results.
本发明提供的句柄标识解析缓存方法,具体包括:步骤S1,将句柄标识字符串、索引值和类型值排列形成的字符串作为关键字值,计算关键字值对应的哈希地址,从而建立哈希表;步骤S2,将句柄标识解析结果缓存到所述哈希地址对应的存储单元中。The handle identification parsing and caching method provided by the present invention specifically includes: step S1, taking the string formed by arranging the handle identification string, the index value and the type value as a keyword value, calculating the hash address corresponding to the keyword value, thereby establishing a hash Hash table; step S2, cache the handle identifier parsing result into the storage unit corresponding to the hash address.
根据上述技术方案,以句柄标识字符串、索引值、类型值排列形成的字符串作为关键字值(key)进行哈希查询,这样的查询方式只需要一次哈希查询就能精准地获得与关键字值对应的哈希地址,大大减少了查询的次数,提高了查询缓存的效率和精准度。According to the above technical solution, the string formed by the handle identification string, index value, and type value is used as the keyword value (key) to perform a hash query. This query method only requires one hash query to accurately obtain the key The hash address corresponding to the word value greatly reduces the number of queries and improves the efficiency and accuracy of query caching.
在本发明的较优技术方案中,关键字值中的索引值为多个索引值排序形成的索引列表中的索引列表值;关键字值中的类型值为多个类型值排序形成的类型列表中的类型列表值。In the preferred technical solution of the present invention, the index value in the keyword value is the index list value in the index list formed by sorting multiple index values; the type value in the keyword value is the type list formed by sorting multiple type values. Type list value in .
根据上述技术方案,对索引值和类型值进行转换处理,采用排序后分配列表值的方式,对于相同的索引列表值、类型列表值,即使输入时顺序不同,通过排序仍能够在哈希表中对应于唯一的关键字值。According to the above technical solution, the index value and type value are converted, and the list value is assigned after sorting. For the same index list value and type list value, even if the input order is different, it can still be sorted in the hash table through sorting Corresponds to a unique keyword value.
本发明还提供了一种句柄标识解析查询方法,包括:步骤S3,将句柄标识字符串、索引值和类型值排列形成的字符串作为关键字值,查询哈希表中与所述关键字值对应的哈希地址;步骤S4,从哈希地址对应的存储单元中读取句柄标识解析结果。The invention also provides a handle identification parsing and query method, which includes: step S3, using the string formed by arranging the handle identification string, the index value and the type value as a keyword value, and querying the hash table with the keyword value The corresponding hash address; step S4, read the handle identification parsing result from the storage unit corresponding to the hash address.
根据上述技术方案,以句柄标识字符串、索引值、类型值排列形成的字符串作为关键字值(key)进行哈希查询,这样的查询方式只需要一次哈希查询就能精准地获得句柄标识解析结果所在的哈希地址,大大减少了查询的次数,提高了查询缓存的效率和精准度。According to the above technical solution, the string formed by the arrangement of the handle identification string, index value, and type value is used as the keyword value (key) to perform a hash query. This query method only requires one hash query to accurately obtain the handle identification. The hash address where the parsing results are located greatly reduces the number of queries and improves the efficiency and accuracy of query caching.
在本发明的较优技术方案中,句柄标识解析查询方法还包括:步骤S5,根据生存时间值判断句柄标识解析结果是否过期:若过期,则删除句柄标识解析结果,并返回空值;若未过期,则返回句柄标识解析结果。根据上述较优技术方案,该句柄标识解析查询方法能够有效分辨过期数据,保证数据的时效性。In the preferred technical solution of the present invention, the handle identification parsing query method also includes: step S5, judging whether the handle identification parsing result has expired based on the survival time value: if it expires, delete the handle identification parsing result and return a null value; if not If expired, the handle identification resolution result will be returned. According to the above-mentioned superior technical solution, the handle identification parsing and query method can effectively distinguish expired data and ensure the timeliness of the data.
本发明提供的句柄标识解析系统包括:处理器;提供有缓存空间且与处理器通信连接的存储器;存储器中还存储有哈希表,哈希表经由处理器读取和执行,能够将关键字值转换为对应的哈希地址,其中,关键字值配置为句柄标识字符串、索引值和类型值排列形成的字符串,哈希地址配置为句柄标识解析结果在缓存空间中存储的地址。The handle identification parsing system provided by the present invention includes: a processor; a memory provided with a cache space and communicatively connected to the processor; a hash table is also stored in the memory, and the hash table is read and executed by the processor and can convert keywords The value is converted into the corresponding hash address, where the keyword value is configured as a string formed by the arrangement of the handle identification string, index value and type value, and the hash address is configured as the address where the handle identification parsing result is stored in the cache space.
附图说明Description of drawings
图1是本发明的一个实施方式中提供的句柄标识解析系统的总体结构图;Figure 1 is an overall structural diagram of a handle identification parsing system provided in one embodiment of the present invention;
图2是图1实施方式中句柄标识解析的总体处理流程图;Figure 2 is an overall processing flow chart of handle identifier parsing in the embodiment of Figure 1;
图3是图1实施方式中句柄标识解析缓存的流程图;Figure 3 is a flow chart of the handle identifier parsing cache in the embodiment of Figure 1;
图4是图1实施方式中句柄标识解析查询的流程图;Figure 4 is a flow chart of handle identifier parsing query in the embodiment of Figure 1;
图5是图1实施方式中提供的一种句柄标识解析系统的结构示意图。FIG. 5 is a schematic structural diagram of a handle identification parsing system provided in the embodiment of FIG. 1 .
附图标记:1-安全策略子系统,2-tcp/http(s)子系统,3-缓存系统,4-递归转发子系统,5-递归服务器,6-缓存自检子系统,7-业务管理子系统,8-日志子系统,9-哈希表,10-存储器,101、102-存储单元,11-处理器。Reference signs: 1-security policy subsystem, 2-tcp/http(s) subsystem, 3-caching system, 4-recursive forwarding subsystem, 5-recursive server, 6-cache self-checking subsystem, 7-business Management subsystem, 8-log subsystem, 9-hash table, 10-memory, 101, 102-storage unit, 11-processor.
具体实施方式Detailed ways
下面将结合本发明实施方式中的附图,对本发明实施方式中的技术方案进行清楚、完整地描述,显然,所描述的实施方式仅仅是本发明一部分实施方式,而不是全部的实施方式。基于本发明中的实施方式,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施方式,都属于本发明的保护范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
【系统架构】【system structure】
本实施方式中,句柄标识解析系统的总体结构如图1所示。优选地,该句柄标识解析系统包括安全策略子系统1、tcp/http(s)子系统2、缓存系统3、递归转发子系统4、缓冲自检子系统6、业务管理子系统7以及日志子系统8。其中,安全策略子系统1用以判断句柄标识解析请求/应答及请求/应答用户身份等信息的安全性。判断结果为无安全性问题的信息才能通过安全策略子系统1,从而进行下一步的传送或解析。安全策略子系统1与业务管理子系统7、日志子系统8之间分别存在信息交互,安全策略子系统1能够将日期、时间、使用者等信息存入日志子系统8,以备之后调用和查询。In this implementation, the overall structure of the handle identification parsing system is shown in Figure 1. Preferably, the handle identification parsing system includes a security policy subsystem 1, a tcp/http(s) subsystem 2, a cache system 3, a recursive forwarding subsystem 4, a buffering self-checking subsystem 6, a business management subsystem 7 and a log subsystem. System 8. Among them, the security policy subsystem 1 is used to determine the security of information such as handle identification resolution request/response and request/response user identity. Only information that is judged to have no security issues can pass through the security policy subsystem 1 for further transmission or analysis. There is information interaction between the security policy subsystem 1, the business management subsystem 7, and the log subsystem 8 respectively. The security policy subsystem 1 can store date, time, user and other information into the log subsystem 8 for subsequent calls and Inquire.
tcp/http(s)子系统2用以将从安全策略子系统1中传送过来的信息在进行tcp/http(s)协议转换之后传送到缓存系统3和递归转发子系统4中,另外tcp/http(s)子系统2也能够将后端返回信息传送给安全策略子系统1。tcp/http(s)子系统2与业务管理子系统7之间存在信息交互,而且tcp/http(s)子系统2能够将日期、时间、解析动作等信息存入日志子系统8以备之后调用和查询。The tcp/http(s) subsystem 2 is used to transmit the information transmitted from the security policy subsystem 1 to the cache system 3 and the recursive forwarding subsystem 4 after performing tcp/http(s) protocol conversion. In addition, the tcp/ http(s) subsystem 2 can also transmit backend return information to security policy subsystem 1. There is information interaction between tcp/http(s) subsystem 2 and business management subsystem 7, and tcp/http(s) subsystem 2 can store date, time, parsing actions and other information into log subsystem 8 for later use Calls and queries.
在对查询请求进行应答之后,应答结果可以被缓存在缓存系统3中,从而在下次接收到基本相同的查询请求时直接进行应答,可以提高应答速度。缓存系统3一方面与业务管理子系统7以及tcp/http(s)子系统2通信连接,从而便于在缓存系统3中查询调取需要的信息。另一方面,缓存系统3与缓存自检子系统6存在信息交互,从而及时利用递归查询获得的新的条目,对缓存系统3中的内容进行更新。After responding to the query request, the response result can be cached in the cache system 3, so that the next time a query request that is basically the same is received, a direct response can be made, which can improve the response speed. On the one hand, the cache system 3 is communicatively connected with the business management subsystem 7 and the tcp/http(s) subsystem 2, thereby facilitating the query and retrieval of required information in the cache system 3. On the other hand, there is information interaction between the cache system 3 and the cache self-checking subsystem 6, so that the content in the cache system 3 can be updated in a timely manner using the new entries obtained by the recursive query.
递归转发子系统4能够将tcp/http(s)子系统2中传来的信息递归转发到外部的递归服务器5,并且能够将递归服务器5返回的信息传送给缓存自检子系统6以供其查询判断。The recursive forwarding subsystem 4 can recursively forward the information from the tcp/http(s) subsystem 2 to the external recursive server 5, and can transmit the information returned by the recursive server 5 to the cache self-checking subsystem 6 for its use. Inquiry and judgment.
递归服务器5可以位于系统外部,用于本地无缓存结果时的递归查询,即接收到递归转发子系统4传来的查询请求后进行递归查询,若无应答信息,则将查询请求递归到下一级递归服务器5,直到某个递归服务器5传送回相应的应答信息,再将相应的应答信息传送回递归转发子系统4。递归服务器5与业务管理子系统7之间存在信息交互,而且递归服务器5会将递归查询相应产生的、包含服务器名称等内容的递归查询日志存入日志子系统8以备之后调用和查询。The recursive server 5 can be located outside the system and is used for recursive queries when there is no local cached result. That is, it performs a recursive query after receiving the query request from the recursive forwarding subsystem 4. If there is no response information, the query request is recursed to the next Level recursive server 5, until a certain recursive server 5 sends back the corresponding response information, and then sends the corresponding response information back to the recursive forwarding subsystem 4. There is information interaction between the recursive server 5 and the business management subsystem 7, and the recursive server 5 will store the recursive query log containing the server name and other contents generated by the recursive query into the log subsystem 8 for subsequent calls and queries.
缓存自检子系统6,用于接收递归转发子系统4传来的递归查询的应答结果,判断该应答结果是否需要被缓存在缓存系统3中。在一些实施方式中,若缓存系统3中未缓存相应的应答结果或者相应条目数据已经过期,并且应答结果满足预先规定的条件,则可以将应答结果缓存到缓存系统3中。若缓存系统3中已缓存相应的应答结果或者该应答结果不满足预先规定的条件,则返回递归查询得到的应答结果而不进行缓存系统3的更新。The cache self-checking subsystem 6 is used to receive the response result of the recursive query from the recursive forwarding subsystem 4 and determine whether the response result needs to be cached in the cache system 3 . In some implementations, if the corresponding response result is not cached in the caching system 3 or the corresponding entry data has expired, and the response result meets the predetermined conditions, the response result can be cached in the caching system 3 . If the corresponding response result has been cached in the cache system 3 or the response result does not meet the predetermined conditions, the response result obtained by the recursive query is returned without updating the cache system 3 .
业务管理子系统7与以上安全策略子系统1、tcp/http(s)子系统2、缓存系统3、递归服务器5及缓存自检子系统6均有信息交互,以便业务管理子系统7对整个句柄标识解析系统中的每个流程系统地管理和监控。The business management subsystem 7 has information interaction with the above security policy subsystem 1, tcp/http(s) subsystem 2, cache system 3, recursive server 5 and cache self-checking subsystem 6, so that the business management subsystem 7 can control the entire Each process in the handle identification resolution system is systematically managed and monitored.
日志子系统8与以上安全策略子系统1、tcp/http(s)子系统2及递归服务器5等均有信息交互,用于记录和存储安全策略子系统1、tcp/http(s)子系统2及递归服务器5等的日期、时间、动作等系统日志信息。Log subsystem 8 has information interaction with the above security policy subsystem 1, tcp/http(s) subsystem 2 and recursive server 5, etc., and is used to record and store security policy subsystem 1, tcp/http(s) subsystem 2 and recursive server 5, etc. system log information such as date, time, and actions.
【处理流程】【Processing Process】
进一步地,本实施方式中句柄标识解析系统的总体处理流程如图2所示。Furthermore, the overall processing flow of the handle identification parsing system in this embodiment is shown in Figure 2.
句柄标识解析系统开始运行,首先进行系统配置初始化,若系统配置初始化失败,则退出解析;若系统配置初始化成功,则继续进行解析。系统配置初始化成功后,进行日志初始化,若日志初始化失败,则退出解析;若日志初始化成功,则继续进行解析。日志初始化成功后,进行缓存初始化,若缓存初始化失败,则退出解析;若缓存初始化成功,则继续进行解析。缓存初始化成功后,进行日志统计初始化,若日志统计初始化失败,则退出解析;若日志统计初始化成功,则继续进行解析。上述初始化步骤是把变量赋为默认值,把控件设为默认状态的过程,从而保证系统的正常运行。When the handle identification parsing system starts to run, the system configuration is initialized first. If the system configuration initialization fails, the parsing will exit; if the system configuration is initialized successfully, the parsing will continue. After the system configuration is initialized successfully, the log is initialized. If the log initialization fails, parsing will exit; if the log initialization is successful, parsing will continue. After the log initialization is successful, cache initialization is performed. If cache initialization fails, parsing will exit; if cache initialization is successful, parsing will continue. After the cache initialization is successful, log statistics are initialized. If the log statistics initialization fails, parsing will exit; if log statistics are initialized successfully, parsing will continue. The above initialization step is the process of assigning variables to default values and setting controls to default states, thereby ensuring the normal operation of the system.
上述初始化步骤均成功完成后,系统开始监听请求信息,监听的信息类型分为tcpListen,http(s)Listen和realConfListen等。其中,tcp为传输层数据与连接方式的规范,不携带数据,仅用于连接通信;http(s)为超文本传输安全协议,http(s)必须建立在tcp连接的基础上,定义传输内容规范,并且传输数据;realConf为配置信息命令,用于配置的增加、删除和修改等。而Listen指令的作用为指定服务器在哪些端口或地址和端口的组合上监听接入请求。After the above initialization steps are successfully completed, the system begins to monitor request information. The types of information monitored are divided into tcpListen, http(s)Listen and realConfListen. Among them, tcp is the specification of the transport layer data and connection method. It does not carry data and is only used for connection communication; http(s) is the hypertext transmission security protocol. http(s) must be based on the tcp connection and defines the transmission content. Standardize and transmit data; realConf is a configuration information command, used to add, delete and modify configurations, etc. The function of the Listen instruction is to specify which ports or combinations of addresses and ports the server listens for access requests on.
当系统监听到来自特定的端口或者地址的请求信息时,即接收到外界信息触发时,系统能够判断外部事件类型。When the system monitors request information from a specific port or address, that is, when it is triggered by external information, the system can determine the type of external event.
当外部事件类型为基于tcp的句柄标识解析查询请求时,首先tcp/http(s)子系统2中的tcp子系统进行tcp服务收包和解包,接下来进行策略检查,在此所说的策略检查是指基于接收到的关键字值(key),代入特定函数后是否能够得到对应的哈希地址。若策略检查失败,即在哈希表中没有查找到关键字值所对应的哈希地址,则解析终止并将策略检查失败的结果返回给用户;若策略检查成功,即在哈希表中查找到了关键字值所对应的哈希地址,在缓存系统3的缓存数据库中寻找哈希地址对应的存储单元。若在缓存数据库内哈希地址对应的存储单元中缓存有对应的句柄标识解析结果,则将句柄标识解析结果返回给用户;若在缓存数据库内哈希地址对应的存储单元中没有缓存对应的句柄标识解析结果或者对应的句柄标识解析结果已经过期,则继续进行递归查询。递归服务器经过一次或多次递归查询得到句柄标识解析结果,则返回句柄标识解析结果给用户,并将句柄标识解析结果发送到缓存自检子系统6。缓存自检子系统6判断是否需要缓存该句柄标识解析结果,若缓存数据库中没有缓存该句柄标识解析结果,则将其缓存到缓存数据库中。When the external event type is a TCP-based handle identification parsing query request, first the TCP subsystem in the TCP/http(s) subsystem 2 performs TCP service packet collection and unpacking, and then performs policy checking. The strategy mentioned here Checking refers to whether the corresponding hash address can be obtained after substituting a specific function based on the received keyword value (key). If the policy check fails, that is, the hash address corresponding to the keyword value is not found in the hash table, the parsing is terminated and the result of the policy check failure is returned to the user; if the policy check is successful, the hash address corresponding to the keyword value is found in the hash table. When the hash address corresponding to the keyword value is reached, the storage unit corresponding to the hash address is searched for in the cache database of the cache system 3 . If there is a corresponding handle identification parsing result cached in the storage unit corresponding to the hash address in the cache database, the handle identification parsing result will be returned to the user; if there is no corresponding handle cached in the storage unit corresponding to the hash address in the cache database If the identification parsing result or the corresponding handle identification parsing result has expired, the recursive query will continue. The recursive server obtains the handle identification parsing result through one or more recursive queries, returns the handle identification parsing result to the user, and sends the handle identification parsing result to the cache self-checking subsystem 6. The cache self-checking subsystem 6 determines whether the handle identification parsing result needs to be cached. If the handle identification parsing result is not cached in the cache database, it will be cached in the cache database.
当外部事件类型为http(s)时,使用tcp/http(s)子系统2中的http(s)子系统进行http(s)服务收包和解包,其他处理方式与外部事件类型为tcp时类似,此处不再赘述。When the external event type is http(s), use the http(s) subsystem in tcp/http(s) subsystem 2 to receive and unpack http(s) service packets. Other processing methods are the same as when the external event type is tcp. Similar, will not be repeated here.
当外部事件类型为realConf时,crm命令下发。根据crm命令的具体内容,能够实现对哈希表和缓存数据库内信息对应地增加、删除和修改等操作。When the external event type is realConf, the crm command is issued. According to the specific content of the crm command, operations such as adding, deleting, and modifying information in the hash table and cache database can be implemented accordingly.
【句柄标识字符串、句柄值】[Handle identification string, handle value]
哈希表是根据(Key,Value)而直接进行访问的数据结构。也就是说,它通过哈希函数计算的方式,把关键字值(key)映射到表中一个哈希地址来访问记录,以加快查找的速度。现有技术的句柄标识解析系统中,建立哈希表时所使用的关键字值仅为句柄标识字符串,句柄标识字符串包括前缀和后缀,其中,前缀包括顶级国家节点标识、二级节点标识、企业节点标识。例如以下字符串,A hash table is a data structure that is directly accessed based on (Key, Value). That is to say, it uses hash function calculation to map the key value (key) to a hash address in the table to access the record to speed up the search. In the handle identification parsing system of the prior art, the key value used when establishing the hash table is only the handle identification string, and the handle identification string includes a prefix and a suffix, where the prefix includes a top-level country node identification and a secondary node identification. , enterprise node identification. For example, the following string,
10.1045.xxx/january99-bearman10.1045.xxx/january99-bearman
其中,10,代表顶级国家节点标识;1045,代表二级节点标识;xxx,代表企业节点标识;“.”为层级分隔符,分隔各级节点标识;“/”为前后缀分隔符,“/”之前的部分为前缀,“/”之后的部分为后缀;句柄标识字符串中不包括“.”和“/”。Among them, 10 represents the top-level national node identifier; 1045 represents the second-level node identifier; xxx represents the enterprise node identifier; "." is the hierarchical separator that separates node identifiers at each level; "/" is the prefix and suffix separator, "/ The part before " is the prefix, and the part after "/" is the suffix; the handle identification string does not include "." and "/".
在现有技术中,根据句柄标识字符串解析得到的一组句柄值的形式如下所示:In the prior art, the form of a set of handle values obtained by parsing the handle identification string is as follows:
以上仅示意性地显示出了一栏数据中一种类型值(type)的解析结果。一组句柄值实际可以包含多栏数据,每栏数据采用一个索引值(index)进行标引,以将本栏数据与其他栏数据区别开。每栏数据中还可以包含不同类型值的数据。其中,The above only schematically shows the analysis results of one type of value (type) in one column of data. A set of handle values can actually contain multiple columns of data. Each column of data is indexed by an index value to distinguish this column of data from other columns of data. Each column of data can also contain data of different types of values. in,
索引值(index),4字节无符号整型;Index value (index), 4-byte unsigned integer type;
类型值(type),一个UTF8字符串;Type value (type), a UTF8 string;
数据(data),用于描述句柄标识的数据资源;Data, used to describe the data resource identified by the handle;
生存时间(TTL),表示数据在缓存空间内保留的时间;Time to Live (TTL), which represents the time that data is retained in the cache space;
权限掩码(permission),8位权限掩码,用于句柄的访问权限控制;Permission mask (permission), an 8-bit permission mask, used for handle access control;
引用数(reference),表示对其他句柄的引用。Reference number (reference), indicating references to other handles.
其中,类型值(type)具体包含Among them, the type value (type) specifically includes
管理员(HS_ADMIN),表示句柄解析服务的一个或一组管理员;Administrator (HS_ADMIN), which represents one or a group of administrators of the handle resolution service;
服务站点(HS_SITE),表示提供句柄解析服务的服务站点;Service site (HS_SITE), which represents the service site that provides handle resolution services;
命名授权代理服务(HS_NA_DELEGATE),用于将命名管理权限分配到服务站点;Naming authorization agent service (HS_NA_DELEGATE), used to assign naming management rights to service sites;
服务(HS_SERV),表示句柄解析服务内容;Service (HS_SERV), which means the handle parses the service content;
别名(HS_ALIAS),句柄标识对象有多个名称的情况下,能够用别名表示;Alias (HS_ALIAS), when the handle identification object has multiple names, it can be represented by an alias;
主站点(HS_PRIMARY),指定主要服务站点;Primary site (HS_PRIMARY), specifies the main service site;
列表值(HS_VLIST),表示对其他句柄列表值的引用。List value (HS_VLIST), which represents a reference to a list value of another handle.
句柄标识必须在其type字段中指定一种类型值。类型值(type)不仅仅包括上述几种类型,句柄系统还提供了类型注册服务,该服务使用户或组织可以为其应用程序注册新的类型值。The handle identifier must specify a type value in its type field. Type values (type) not only include the above types, the handle system also provides a type registration service, which allows users or organizations to register new type values for their applications.
通过以上数据结构可知,若采用现有技术中的查询方式,为了准确定位到特定的句柄标识解析结果,除了上述哈希表的映射过程,还需要使用索引值和类型值,在一组句柄值中进一步查询,方可得到特定的句柄标识解析结果。It can be seen from the above data structure that if the query method in the existing technology is used, in order to accurately locate the specific handle identification parsing result, in addition to the above hash table mapping process, it is also necessary to use index values and type values, in a set of handle values Only by further querying can you get the specific handle identifier parsing results.
【缓存方法】【Caching method】
本实施方式提供了一种句柄标识解析缓存方法,包括以下步骤,如图3所示:This implementation mode provides a handle identifier parsing and caching method, which includes the following steps, as shown in Figure 3:
步骤S1,将句柄标识字符串、索引值和类型值排列形成的字符串作为关键字值,计算关键字值对应的哈希地址,从而建立哈希表;Step S1, use the string formed by arranging the handle identification string, index value and type value as the key value, calculate the hash address corresponding to the key value, and thereby establish a hash table;
步骤S2,将句柄标识解析结果缓存到哈希地址对应的存储单元中。Step S2: Cache the handle identification parsing result into the storage unit corresponding to the hash address.
在本实施方式中,由于建立哈希表时就已经使用了索引值和类型值作为关键字值的一部分,基于该编码方式的关键字值建立的哈希表可以直接解析出特定的句柄标识解析结果,而不需要进行多次查询。上述缓存方法大大方便了后续查询过程,减少了后续查询所需要的次数,提高了查询的效率和精准度。In this implementation, since the index value and type value have been used as part of the key value when establishing the hash table, the hash table established based on the key value of this encoding method can directly parse out the specific handle identification parsing results without the need for multiple queries. The above caching method greatly facilitates the subsequent query process, reduces the number of subsequent queries required, and improves the efficiency and accuracy of the query.
优选地,在本实施方式提出的句柄标识解析缓存方法中,索引值和类型值均是通过排序之后的列表值。换言之,关键字值中的索引值为多个索引值排序形成的索引列表中的索引列表值;关键字值中的类型值为多个类型值排序形成的类型列表中的类型列表值。Preferably, in the handle identifier parsing and caching method proposed in this embodiment, both the index value and the type value are list values after sorting. In other words, the index value in the key value is the index list value in the index list formed by sorting multiple index values; the type value in the key value is the type list value in the type list formed by sorting multiple type values.
举例而言,对于类型值,可以根据预先设定的规则,将可用的类型值排序后形成类型列表,并且为每种类型值赋予类型列表值。可用的类型值不仅包括之前列举的常见的类型值,也可以包含用户自定义的类型值,只要及时将其加入类型列表中并赋予相应的列表值即可适用查询功能。举例来说,类型值与类型列表值的对应关系可以参见下述表1.For example, for type values, the available type values can be sorted according to preset rules to form a type list, and each type value can be assigned a type list value. The available type values include not only the common type values listed previously, but also user-defined type values. As long as they are added to the type list in time and given the corresponding list value, the query function can be used. For example, the correspondence between type values and type list values can be seen in Table 1 below.
表1Table 1
赋予类型列表值的排序规则可以是有序的,例如采用名称的字母排序、类型排序或者其他任何合适的排序方式及其组合实现,也可以是无序的,只要类型值与类型列表值是一一对应的即可。对于索引值,也可以采用与上述方式相同的或者相似的方式实现,此处不再赘述。The sorting rules assigned to type list values can be ordered, such as alphabetical ordering of names, type sorting, or any other suitable sorting methods and their combinations, or unordered, as long as the type value and the type list value are the same. Just one corresponding one. The index value can also be implemented in the same or similar manner as above, and will not be described again here.
通过以上方式,将索引值和类型值分别按照一定规则进行排序,得到索引列表值和类型列表值;再将句柄标识字符串与索引列表值和类型列表值整合到一起,组成关键字值。Through the above method, the index values and type values are sorted according to certain rules respectively to obtain the index list value and type list value; then the handle identification string is integrated with the index list value and type list value to form the keyword value.
举例来说,若句柄标识字符串为10.1045.xxx/january99-bearman,索引值为2,类型值为HS_ADMIN,则在组成关键字值时,对索引值对应的索引列表值以及类型值对应的类型列表值进行查询。通过查询上述类型列表,可知HS_ADMIN的类型值对应的类型列表值为1,同理,查询索引值2对应的索引列表值为2。因此,若采用句柄标识字符串+indexList(索引列表值)+typeList(类型列表值)的方式编码关键字值,则关键字值应当为10.1045.xxx/january99-bearman 2 1。For example, if the handle identification string is 10.1045.xxx/january99-bearman, the index value is 2, and the type value is HS_ADMIN, then when composing the keyword value, the index list value corresponding to the index value and the type corresponding to the type value are Query list values. By querying the above type list, it can be seen that the type list value corresponding to the type value of HS_ADMIN is 1. Similarly, the index list value corresponding to the query index value 2 is 2. Therefore, if the keyword value is encoded using the method of handle identification string + indexList (index list value) + typeList (type list value), the keyword value should be 10.1045.xxx/january99-bearman 2 1.
采用排序后分配列表值的方式,可以使得,对于相同的索引列表值、类型列表值,即使输入时顺序不同,通过排序仍能够在哈希表中对应于唯一的关键字值。当然,在一些实施方式中,也可以直接将索引值或者类型值与句柄标识字符串排列后构成关键字值,来建立或者查询哈希表。此外,在另一些实施方式中,关键字值也可以允许一定的合理变形,只要其包含索引值、类型值、句柄标识字符串的信息即可。By assigning list values after sorting, the same index list value and type list value can still correspond to a unique key value in the hash table through sorting, even if the input order is different. Of course, in some implementations, the index value or type value and the handle identification string can also be directly arranged to form a key value to create or query the hash table. In addition, in other implementations, the keyword value may also allow certain reasonable deformations, as long as it contains information about the index value, type value, and handle identification string.
在确定了关键字值之后,能够利用哈希函数确定与该关键字值对应的哈希地址,利用哈希函数的计算过程能够将关键字值直接映射到对应于句柄标识解析结果的哈希地址,避免多次哈希查找造成的资源浪费。After the keyword value is determined, the hash function can be used to determine the hash address corresponding to the keyword value. The calculation process of the hash function can be used to directly map the keyword value to the hash address corresponding to the handle identification parsing result. , to avoid the waste of resources caused by multiple hash searches.
【查询方法】【Query method】
本实施方式提出的句柄标识解析缓存查询流程如图4所示。The handle identifier parsing cache query process proposed in this implementation mode is shown in Figure 4.
首先,执行步骤S3,将句柄标识字符串、索引值和类型值排列形成的字符串作为关键字值,查询哈希表中与所述关键字值对应的哈希地址。First, step S3 is performed to use the string formed by arranging the handle identification string, the index value and the type value as the key value, and query the hash address corresponding to the key value in the hash table.
本实施方式中,步骤S3进一步包括,调用查询程序(例如是hhdl_cache_get程序)查询关键字值,并且由关键字值计算得到对应的哈希地址的步骤。In this embodiment, step S3 further includes the step of calling a query program (for example, hhdl_cache_get program) to query the keyword value, and calculating the corresponding hash address from the keyword value.
接着,在步骤S3之后,执行步骤S4,从哈希地址对应的存储单元中读取句柄标识解析结果。Next, after step S3, step S4 is executed to read the handle identification parsing result from the storage unit corresponding to the hash address.
具体而言,根据哈希地址,在缓存系统3的缓存数据库中查询该哈希地址对应的存储单元中是否缓存了对应的句柄标识解析结果。若存有对应的句柄标识解析结果,则读取该句柄标识解析结果。若该哈希地址对应的存储单元中未缓存有对应的句柄标识解析结果,则向用户返回空值(NULL)。Specifically, according to the hash address, the cache database of the cache system 3 is queried to see whether the corresponding handle identifier parsing result is cached in the storage unit corresponding to the hash address. If there is a corresponding handle ID parsing result, read the handle ID parsing result. If the corresponding handle identifier parsing result is not cached in the storage unit corresponding to the hash address, a null value (NULL) will be returned to the user.
在执行步骤S4之后,还包括:步骤S5,根据生存时间值判断该哈希地址对应的句柄标识解析结果是否过期:若过期,则删除该句柄标识解析结果,并返回空值;若未过期,则返回该句柄标识解析结果。After executing step S4, it also includes: step S5, judging whether the handle identification parsing result corresponding to the hash address has expired based on the survival time value: if it expires, delete the handle identification parsing result and return a null value; if it has not expired, The result of parsing the handle identifier is returned.
具体而言,在步骤S5中,若该哈希地址对应的存储单元中缓存有对应的句柄标识解析结果,则根据句柄标识解析结果对应的生存时间值(TTL),检验该句柄标识解析结果是否已经过期。若该句柄标识解析结果已经过期,则向用户返回空值(NULL);若该句柄标识解析结果未过期,则向用户返回对应的句柄标识解析结果。Specifically, in step S5, if the corresponding handle identification parsing result is cached in the storage unit corresponding to the hash address, it is checked whether the handle identification parsing result is based on the time-to-live value (TTL) corresponding to the handle identification parsing result. already expired. If the handle identification parsing result has expired, a null value (NULL) will be returned to the user; if the handle identification parsing result has not expired, the corresponding handle identification parsing result will be returned to the user.
另外地,在执行步骤S3时,若将句柄标识字符串、索引值和类型值排列形成的字符串作为关键字值,查询哈希表,但未查询到所述关键字值对应的哈希地址时,可以根据句柄标识字符串查找到对应的一组句柄值,再使用索引值和类型值,在一组句柄值中进一步查询,以获得特定的句柄标识解析结果In addition, when performing step S3, if the string formed by the handle identification string, index value and type value is used as the key value, the hash table is queried, but the hash address corresponding to the key value is not queried. When, you can find the corresponding set of handle values according to the handle identification string, and then use the index value and type value to further query in the set of handle values to obtain a specific handle identification parsing result.
【句柄标识解析系统】[Handle identification analysis system]
另外,本实施方式提出了一种句柄标识解析系统,其结构如图5所示,具体包括处理器11以及与处理器11通信连接,至少部分用于提供缓存空间的存储器10。存储器10中存储有哈希表9,哈希表9经由所述处理器11读取和执行,能够将关键字值转换为对应的哈希地址。其中,关键字值配置为句柄标识字符串、索引值和类型值排列形成的字符串,哈希地址配置为句柄标识解析结果在缓存系统3中存储的地址。存储器10的缓存系统3包含多个与哈希地址对应的存储单元101、102,用于缓存句柄标识解析结果。In addition, this embodiment proposes a handle identification parsing system, the structure of which is shown in Figure 5 , specifically including a processor 11 and a memory 10 that is communicatively connected to the processor 11 and is at least partially used to provide cache space. A hash table 9 is stored in the memory 10. The hash table 9 is read and executed by the processor 11 and can convert the key value into a corresponding hash address. Among them, the keyword value is configured as a string formed by the arrangement of the handle identification string, the index value and the type value, and the hash address is configured as the address where the handle identification parsing result is stored in the cache system 3 . The cache system 3 of the memory 10 includes a plurality of storage units 101 and 102 corresponding to the hash addresses, and is used to cache the handle identification parsing results.
在哈希表9中,可以由关键字值计算出对应的哈希地址,将句柄标识解析结果缓存在缓存系统3的缓存数据库中该哈希地址对应的存储单元101、102中或者到哈希地址对应的存储单元101、102中读取相应的句柄标识解析结果。In the hash table 9, the corresponding hash address can be calculated from the key value, and the handle identification parsing result is cached in the storage units 101, 102 corresponding to the hash address in the cache database of the cache system 3 or to the hash table 9. The corresponding handle identification parsing result is read from the storage units 101 and 102 corresponding to the address.
综上所述,以上述方式缓存和查询句柄标识解析结果,在查询时能够用关键字值计算出对应的哈希地址,以哈希地址直接查询到对应的句柄标识解析结果。只需要一次哈希查询即可实现原本需要三次以上哈希查询方可达到的效果,有效地减少了句柄标识解析结果的缓存查询次数,降低了查询缓存时延,从而提高了整个系统业务处理的每秒查询率。In summary, by caching and querying the handle identifier parsing results in the above manner, the corresponding hash address can be calculated using the keyword value during query, and the corresponding handle identifier parsing result can be directly queried with the hash address. Only one hash query is needed to achieve the effect that originally required more than three hash queries, effectively reducing the number of cache queries for handle identification parsing results, reducing the query cache delay, thereby improving the business processing efficiency of the entire system. Query rate per second.
在本发明的实施方式中,存储器10和处理器11可以处于同一存储介质如DNS服务器、计算机存储介质等中,也可以分设与不同的硬件、软件或云端网络之中,换言之,上述的句柄标识解析系统可以由一个独立的DNS服务器、计算机等设备组成,也可以由多个硬件、软件、硬件软件以云端网络等一种或多种组合而成。In the embodiment of the present invention, the memory 10 and the processor 11 can be in the same storage medium such as a DNS server, computer storage medium, etc., or they can be separately installed in different hardware, software or cloud networks. In other words, the above handle identifier The resolution system can be composed of an independent DNS server, computer and other equipment, or it can be composed of one or more combinations of multiple hardware, software, cloud network, etc.
另外,需要说明的是,存储器10可包含非易失性存储器,例如只读存储器(ROM)、可编程只读存储器(PROM)、可擦除可编程只读存储器(EPROM)、快闪存储器(FLASH)或能够在有或者没有应用电力的情况下存储程序指令或数据的任何其他装置。存储器10还可包括易失性存储器,例如随机存取存储器(RAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)和同步动态随机存取存储器(SDRAM),还可使用其他类型的RAM来实现存储器10。存储器10可使用单个存储器模块或多个存储器模块来实现。虽然存储器10被描绘为与处理器11本地互连,但本领域的技术人员将认识到,在不偏离主题技术的范围的情况下存储器10可与处理器11分离地设置在不同的计算机中。In addition, it should be noted that the memory 10 may include non-volatile memory, such as read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), flash memory ( FLASH) or any other device capable of storing program instructions or data with or without the application of power. Memory 10 may also include volatile memory such as random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), and synchronous dynamic random access memory (SDRAM), and may also be used Other types of RAM are used to implement memory 10. Memory 10 may be implemented using a single memory module or multiple memory modules. Although memory 10 is depicted as being locally interconnected with processor 11, those skilled in the art will recognize that memory 10 may be provided separately from processor 11 in a different computer without departing from the scope of the subject technology.
处理器11可以是通用处理器、处理器核心、多处理器、可重配置处理器、微控制器、数字信号处理器(DSP)、专用集成电路(ASIC)、图形处理单元(GPU)、现场可编程门阵列(FPGA)、可编程逻辑器件(PLD)、控制器、状态机、门控逻辑、离散硬件部件或者任何其他处理单元以及上述一个或多个处理器的组合。The processor 11 may be a general purpose processor, a processor core, a multiprocessor, a reconfigurable processor, a microcontroller, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a graphics processing unit (GPU), a field Programmable gate arrays (FPGAs), programmable logic devices (PLDs), controllers, state machines, gated logic, discrete hardware components, or any other processing unit and combinations of one or more of the above.
以上所述仅为本发明的较佳实施例而已,并不用于限制本发明,凡在本发明的原则和精神之内所作的任何修改、等同替换和改进等,均就包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the principles and spirit of the present invention are included in the protection of the present invention. within the range.
Claims (4)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011430641.2A CN112600823A (en) | 2020-12-09 | 2020-12-09 | Handle identifier analysis caching method, query method and handle identifier analysis system |
CN2020114306412 | 2020-12-09 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113949750A CN113949750A (en) | 2022-01-18 |
CN113949750B true CN113949750B (en) | 2023-09-19 |
Family
ID=75191387
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011430641.2A Pending CN112600823A (en) | 2020-12-09 | 2020-12-09 | Handle identifier analysis caching method, query method and handle identifier analysis system |
CN202111494103.4A Active CN113949750B (en) | 2020-12-09 | 2021-12-08 | Handle identification analysis caching method, query method and handle identification analysis system |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011430641.2A Pending CN112600823A (en) | 2020-12-09 | 2020-12-09 | Handle identifier analysis caching method, query method and handle identifier analysis system |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN112600823A (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1211842A1 (en) * | 2000-11-30 | 2002-06-05 | BRITISH TELECOMMUNICATIONS public limited company | Network management apparatus |
CN104516974A (en) * | 2014-12-26 | 2015-04-15 | 华为技术有限公司 | Management method and device for file system directory entry |
US9049117B1 (en) * | 2009-10-21 | 2015-06-02 | Narus, Inc. | System and method for collecting and processing information of an internet user via IP-web correlation |
CN105828017A (en) * | 2015-10-20 | 2016-08-03 | 广东亿迅科技有限公司 | Cloud storage access system and method for video conferences |
GB2534617A (en) * | 2015-01-28 | 2016-08-03 | Canon Kk | Improved client-driven push of resources by a server device |
CN107045530A (en) * | 2017-01-20 | 2017-08-15 | 华中科技大学 | A kind of method that object storage system is embodied as to local file system |
CN107197001A (en) * | 2017-05-05 | 2017-09-22 | 工业和信息化部电信研究院 | A kind of industry internet module information method |
CN108268509A (en) * | 2016-12-30 | 2018-07-10 | 迈普通信技术股份有限公司 | Configuration data management method and device |
CN108366356A (en) * | 2018-01-10 | 2018-08-03 | 广州中国科学院计算机网络信息中心 | The interoperability methods and device of M2M systems and identification (RNC-ID) analytic system |
CN111382341A (en) * | 2020-03-23 | 2020-07-07 | 湖南城市学院 | Scientific and technological information resource retrieval and query system and method based on big data |
CN111752804A (en) * | 2020-06-29 | 2020-10-09 | 中国电子科技集团公司第二十八研究所 | A Database Cache System Based on Database Log Scanning |
CN111917552A (en) * | 2020-06-23 | 2020-11-10 | 深圳奥联信息安全技术有限公司 | Handle authority control method, device and system based on identification key |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5678717B2 (en) * | 2011-02-24 | 2015-03-04 | 富士通株式会社 | Monitoring device, monitoring system, and monitoring method |
-
2020
- 2020-12-09 CN CN202011430641.2A patent/CN112600823A/en active Pending
-
2021
- 2021-12-08 CN CN202111494103.4A patent/CN113949750B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1211842A1 (en) * | 2000-11-30 | 2002-06-05 | BRITISH TELECOMMUNICATIONS public limited company | Network management apparatus |
US9049117B1 (en) * | 2009-10-21 | 2015-06-02 | Narus, Inc. | System and method for collecting and processing information of an internet user via IP-web correlation |
CN104516974A (en) * | 2014-12-26 | 2015-04-15 | 华为技术有限公司 | Management method and device for file system directory entry |
GB2534617A (en) * | 2015-01-28 | 2016-08-03 | Canon Kk | Improved client-driven push of resources by a server device |
CN105828017A (en) * | 2015-10-20 | 2016-08-03 | 广东亿迅科技有限公司 | Cloud storage access system and method for video conferences |
CN108268509A (en) * | 2016-12-30 | 2018-07-10 | 迈普通信技术股份有限公司 | Configuration data management method and device |
CN107045530A (en) * | 2017-01-20 | 2017-08-15 | 华中科技大学 | A kind of method that object storage system is embodied as to local file system |
CN107197001A (en) * | 2017-05-05 | 2017-09-22 | 工业和信息化部电信研究院 | A kind of industry internet module information method |
CN108366356A (en) * | 2018-01-10 | 2018-08-03 | 广州中国科学院计算机网络信息中心 | The interoperability methods and device of M2M systems and identification (RNC-ID) analytic system |
CN111382341A (en) * | 2020-03-23 | 2020-07-07 | 湖南城市学院 | Scientific and technological information resource retrieval and query system and method based on big data |
CN111917552A (en) * | 2020-06-23 | 2020-11-10 | 深圳奥联信息安全技术有限公司 | Handle authority control method, device and system based on identification key |
CN111752804A (en) * | 2020-06-29 | 2020-10-09 | 中国电子科技集团公司第二十八研究所 | A Database Cache System Based on Database Log Scanning |
Also Published As
Publication number | Publication date |
---|---|
CN112600823A (en) | 2021-04-02 |
CN113949750A (en) | 2022-01-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8073972B2 (en) | System and method for location discovery based on DNS | |
US6301614B1 (en) | System and method for efficient representation of data set addresses in a web crawler | |
Quan et al. | TB2F: Tree-bitmap and bloom-filter for a scalable and efficient name lookup in content-centric networking | |
KR101858542B1 (en) | Container Name Server and Container Name Interpretation Method | |
CN103685583B (en) | Domain name resolution method and system | |
CN112600868B (en) | Domain name resolution method, domain name resolution device and electronic equipment | |
US8874708B2 (en) | Location discovery based on DNS | |
US20070112803A1 (en) | Peer-to-peer semantic indexing | |
CN102971732A (en) | System architecture for integrated hierarchical query processing for key/value stores | |
US9697379B2 (en) | Database virtualization | |
CN110071986A (en) | A system for domain name resolution | |
US11303606B1 (en) | Hashing name resolution requests according to an identified routing policy | |
WO2014161261A1 (en) | Data storage method and apparatus | |
WO2021184580A1 (en) | Intelligent domain name resolution method and apparatus, electronic device and computer-readable storage medium | |
CN113821461B (en) | Domain name resolution caching method, DNS server and computer readable storage medium | |
CN103139314B (en) | Based on distributed Web services discover method and the system thereof of P2P | |
US8521696B2 (en) | Structure of an alternative evaluator for directory operations | |
CN113949750B (en) | Handle identification analysis caching method, query method and handle identification analysis system | |
CN116634017B (en) | Identification analysis data caching method and device based on digital object | |
CN112817983A (en) | Handle identifier analysis caching method, query method and handle identifier analysis system | |
CN109495525B (en) | Network component, method of resolving content identification, and computer-readable storage medium | |
CN113946587B (en) | Handle identifier resolution caching method, query method and handle identifier resolution system | |
JP6607044B2 (en) | Server device, distributed file system, distributed file system control method, and program | |
JP3570606B2 (en) | Data retrieval apparatus and method | |
CN115935101A (en) | A data processing method about MQTT-Topic |
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 |