Data screening method and system

By screening and caching high-frequency resources, the problems of high IO consumption and database downtime in the resource management system during high-frequency access are solved, and the security and availability of the system are improved.

CN115186154BActive Publication Date: 2025-09-26CORELAND
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210860777.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-21
Publication Date
2025-09-26
Estimated Expiration
2042-07-21

AI Technical Summary

Technical Problem

Existing resource management systems consume large amounts of system IO resources when accessed frequently, and can even cause database downtime during peak hours, impacting system security and availability.

Method used

By periodically obtaining a list of historical resource accesses, the target information type and data type are screened out, and it is determined whether they conform to the preset data type. The conforming data is identified as the target resource, and high-frequency resources are cached in memory, and the access method is changed to reduce system pressure.

Benefits of technology

It effectively reduces system pressure and server occupancy time, improves system security and availability, and especially reduces server load during peak hours.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115186154B_ABST
    Figure CN115186154B_ABST
Patent Text Reader

Abstract

The present application provides a resource screening method and system, which includes: regularly obtaining a historical resource access list; obtaining a target information type based on the historical resource access list; obtaining each type of target data based on the target information type; determining whether the data type of the target data meets a preset data type; wherein the preset data type is the data type corresponding to the target resource; if the target data meets the preset data type, the target data is determined to be a target resource. The resource screening method provided in the embodiment of the present application can accurately screen out high-frequency resources. After screening out, the access method of the high-frequency resources can be changed to reduce the pressure on the system and the length of time the server is occupied.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing, and in particular, to a data screening method and system. Background Art

[0002] Currently, some resource management systems, such as the EIP system, require users to go through a series of rigid steps when requesting resources. Regardless of the number of requests, these steps must be repeated each time to access the resource. As a result, system I / O resources are often consumed at high rates, and database downtime may even occur during peak system access periods. Summary of the Invention

[0003] In view of the above problems, the purpose of the embodiments of the present application is to provide a resource screening method for periodically obtaining a historical resource access list and searching for a target information type in the historical resource access list; further, from the target information type, searching for target data in a target data type that meets a preset data type, and determining the target data as the target resource to be found. The resource screening method provided by the embodiments of the present application can accurately screen out high-frequency resources. After screening out high-frequency resources, the access method of the high-frequency resources can be changed, reducing the pressure on the system and the length of time the server is occupied.

[0004] In a first aspect, embodiments of the present application provide a resource screening method, comprising: periodically obtaining a historical resource access list; obtaining a target information type based on the historical resource access list; obtaining target data of each type based on the target information type; determining whether the data type of the target data meets a preset data type; wherein the preset data type is the data type corresponding to the target resource; if the target data meets the preset data type, determining the target data as a target resource. A target resource list is then generated, and a resource access method is determined based on the target resource list when accessing the resource.

[0005] In the above implementation process, by periodically obtaining a list of historical resource accesses, the target information type is searched within the list; further, from the target information type, target data within a target data type that matches a preset data type is searched, and the target data is identified as the target resource to be sought. The resource screening method provided in the embodiment of the present application can accurately screen out high-frequency resources. After screening out these resources, the access method for these high-frequency resources can be changed, reducing system pressure and server occupancy time.

[0006] Optionally, in an embodiment of the present application, obtaining the target information type according to the historical resource access list includes: obtaining type attributes of all information types according to the historical resource access list; wherein all information types include text information, picture information, and audio information; type attributes include name and number; and filtering the type attributes of all information types to obtain the target information type.

[0007] In the above implementation process, the target information type is screened out from all information types, thus achieving preliminary screening of the information; by screening the information types through the attribute information of the information types, not only can the target information type be accurately screened out, but the screening efficiency is also high.

[0008] Optionally, in an embodiment of the present application, obtaining each type of target data according to the target information type includes: determining whether permission is required to obtain all data of the target information type; if permission is not required to obtain all data of the target information type, obtaining all data of the target information type according to the target information type; and screening all data of the target information type to obtain the target data of the target information type.

[0009] In the above implementation process, after finding the target data type, all data in the target data type are screened; data that does not meet the requirements is filtered out, so as to obtain the desired target data; in the process of searching for high-frequency resources, the target resources can be accurately found, such as finding the top data in the picture, video and / or voice data, the data that has been set as a carousel, the data that has been set as published, and the currently valid data.

[0010] Optionally, in an embodiment of the present application, obtaining target data of each type according to the target information type further includes: if obtaining all data of the target information type requires permission, obtaining all data of the target information type according to the permission information; and filtering all data of the target information type to obtain the target data of the target information type.

[0011] In the above implementation process, when permissions are required to obtain data, all data under the target data type is obtained through permission information such as the user's department number, company number, user number, etc.; after all the data is obtained, the data is further filtered to obtain the target data, so that the target resource can be accurately found.

[0012] Optionally, in an embodiment of the present application, determining whether the data type of the target data conforms to a preset data type includes: determining whether the target data includes picture data, sound data and / or video data; if the target data includes picture data, sound data and / or video data, determining that the target data conforms to the preset data type.

[0013] In the above implementation process, if high-frequency resources are to be found, the image data, sound data and / or video data or other data belonging to the cache resources are identified as preset data types; thereby, the image data, sound data and / or video data or other data belonging to the cache resources in the resources are found and identified as high-frequency resources; when accessing, if it is a high-frequency access list resource, the resource information is obtained through the memory, thereby improving the resource utilization of the server.

[0014] Optionally, in an embodiment of the present application, the resource screening method further includes: obtaining a dynamic resource list; wherein the dynamic resource list includes resources that are modified in real time; obtaining the modified content according to the dynamic resource list; determining whether the modified content affects the target information type; if the modified content affects the target information type, obtaining each type of target data separately according to the modified target information type; and determining whether the data type of the target data conforms to a preset data type; if the target data conforms to the preset data type, determining the target data as a target resource.

[0015] In the above implementation process, the modified data content is also judged in real time. If the modified data can affect the original target data type; for example, modifying the background of the EIP system affects the EIP homepage data; if the modified data causes the target data type to be affected, the modified data will be identified as a high-frequency resource.

[0016] Optionally, in an embodiment of the present application, determining whether the modified content affects the target information type includes: comparing the modified content with the influencing factors that affect the target information type; wherein the influencing factors include newly added, modified or deleted data as target data; if the modified content includes at least one influencing factor, it is determined that the modified content affects the target information type.

[0017] In the above implementation process, high-frequency resources are screened through the resource screening method provided in the embodiment of the present application, and memory caching is performed through high-frequency access resources; the pressure on the server caused by high-frequency access resources during system peak periods (especially in the case of single data) is effectively solved; a list of high-frequency access resources is used to effectively improve the security and availability of the system.

[0018] In the second aspect, an embodiment of the present application provides a resource screening system, which includes: a resource list acquisition module, a target data search module, and a target resource determination module; the resource list acquisition module is used to periodically obtain a historical resource access list; the target data search module is used to obtain a target information type based on the historical resource access list; the target data search module is also used to obtain each type of target data separately according to the target information type; the target resource determination module is used to determine whether the data type of the target data meets the preset data type; wherein the preset data type is the data type corresponding to the target resource; if the target data meets the preset data type, the target data is determined to be a target resource.

[0019] In a third aspect, an embodiment of the present application provides an electronic device, which includes a memory and a processor, wherein program instructions are stored in the memory, and when the processor reads and runs the program instructions, it executes the steps in any of the above implementation methods.

[0020] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer program instructions are stored in the computer-readable storage medium. When the computer program instructions are read and executed by a processor, the steps in any of the above implementation methods are executed. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without creative work.

[0022] Figure 1 A resource screening flow chart provided for an embodiment of the present application;

[0023] Figure 2 A flowchart for obtaining target information type provided in an embodiment of the present application;

[0024] Figure 3 A first flow chart for acquiring target data provided in an embodiment of the present application;

[0025] Figure 4 A second flow chart for obtaining target data provided in an embodiment of the present application;

[0026] Figure 5 A flowchart of real-time resource screening provided in an embodiment of the present application;

[0027] Figure 6 A schematic diagram of a resource screening system module provided in an embodiment of the present application;

[0028] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0029] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings in the embodiments of the present application. For example, the flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of the systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each box in the flowchart or block diagram may represent a module, program segment, or portion of code, which contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the boxes may also occur in an order different from that marked in the drawings. For example, two consecutive boxes may actually be executed substantially in parallel, or they may sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, as well as the combination of boxes in the block diagram and / or flowchart, may be implemented using a dedicated hardware-based system that performs the specified functions or actions, or may be implemented using a combination of dedicated hardware and computer instructions. In addition, the functional modules in the various embodiments of the present invention may be integrated together to form a separate part, or each module may exist separately, or two or more modules may be integrated to form a separate part.

[0030] During the research process, the applicant found that the current content management system is mainly used in the EIP system architecture to uniformly store pictures, videos, and rich text content. It is a system for unified resource management. The process of user access to resources is as follows: the user initiates a resource access request; the content management system receives the request; the content management system uses the resource identifier to query the resource file stream through the database; and returns the resource file stream to the user. For resources that are frequently accessed in the system, in the current caching method, most of the resources are fully cached; users requesting resources need to go through the above series of solidified steps; a resource request needs to go through this series of steps once, and multiple requests still need to go through this system step; there is repeated processing, and querying resources through the database consumes a lot of system IO resources; causing database downtime during peak system access periods.

[0031] Based on this, the resource screening method provided in the embodiment of the present application obtains the historical resource access list at regular intervals, and searches for the target information type in the historical resource access list; further, the target data in the target data type that meets the preset data type is searched from the target information type, and the target data is determined as the target resource to be found. The resource screening method provided in the embodiment of the present application is used for screening high-frequency access resources; by using high-frequency access resources for memory caching, the pressure on the server caused by high-frequency access resources during system peak periods is effectively solved, especially in the case of single data, the pressure on the server can be significantly reduced; the use of a high-frequency access resource list effectively improves the security and availability of the system. By performing high-frequency classification calculations on resources, the server resource usage is effectively reduced while ensuring the normal operation of the system.

[0032] Please see Figure 1 , Figure 1 The resource screening flow chart provided in the embodiment of the present application includes:

[0033] Step S100: periodically obtain a historical resource access list.

[0034] In step S100, a historical resource access list is obtained at a fixed time. For example, the historical resource access list can be obtained at any time of the day, such as 7:00 AM, 9:00 AM, or 2:00 PM. At this time, a list of resources accessed by the system up to the current time is submitted to the system, thereby obtaining the historical resource access list before this time. For example, the historical resource access list can be obtained at 12:00 PM. This not only avoids the peak browsing period of the system, but also allows a complete resource access list for the previous day to be obtained, which is beneficial for later data processing.

[0035] Step S102: Obtain target information types according to the historical resource access list; obtain target data of each type according to the target information types.

[0036] In the above step S102, all possible target information types are obtained according to the historical resource access list; and then the target data in each data type is further obtained.

[0037] Step S103: Determine whether the data type of the target data conforms to the preset data type.

[0038] In the above step S103, during the resource screening process, data types that meet the screening requirements will be set up; after obtaining the target data in each data type, it is determined whether this data type meets the preset data type; the preset data type includes image data, sound data and / or video data.

[0039] Step S104: If the data type of the target data meets the preset data type, the target data is determined to be a target resource and a target resource list is generated, so as to determine the resource access method based on the target resource list when accessing the resource.

[0040] In the above step S104, if the data type of the target data meets the preset data type, then this target data is the target resource. The next time the resource is accessed, a specific method is used to access the target resource. If the screened target resource is a high-frequency access resource, the high-frequency access resource is cached, and the next time the high-frequency resource is accessed, it is accessed in the form of a cache.

[0041] pass Figure 1 As can be seen, by periodically obtaining a list of historical resource accesses, the target information type is searched within the list; further, from the target information type, target data within a target data type that matches a preset data type is searched, and the target data is identified as the target resource to be sought. The resource screening method provided in the embodiments of the present application can accurately screen out high-frequency resources. After screening out these resources, the access method for these high-frequency resources can be changed, reducing system pressure and server occupancy time.

[0042] Please see Figure 2 , Figure 2 The target information type acquisition flow chart provided in the embodiment of the present application includes:

[0043] Step S200: Acquire type attributes of all information types according to the historical resource access list.

[0044] In step S200, the type attributes of all information types are obtained based on the historical resource access list. For example, in the EIP system, data types such as information and new media often exist. When searching for information types, all information type attributes are first obtained. It should be noted that information type attributes can include information name, information number, column number, column name, etc.; data types can include text data, image data, audio data, etc.; it is understood that different information types correspond to different information type attributes.

[0045] Step S201: Filter the type attributes of all information types to obtain the target information type.

[0046] In the above step S201, the acquired information type attributes are filtered to obtain the target information type; for example, if high-frequency access resources are to be filtered, the type attributes of picture, video and audio information need to be filtered out from all type attribute information; to facilitate the subsequent screening of target resources, the access mode of the target resources is set to access cache; thereby reducing the consumption of system IO resources and the pressure on the server.

[0047] It can be seen that the target information type acquisition flowchart provided in the embodiment of the present application filters out the target information type from all information types, thereby realizing preliminary screening of the information; by filtering the information type through the attribute information of the information type, not only can the target information type be accurately screened out, but the screening efficiency is also high.

[0048] See Figure 3 , Figure 3 The first flow chart of target data acquisition provided in the embodiment of the present application; the method includes:

[0049] Step S300: Determine whether permission is required to obtain all data of the target information type.

[0050] In the above step S300, it is determined whether permission is required to obtain all data of the target information type; it is understandable that in order to achieve data management and control, permission is required to obtain certain data types of the target system.

[0051] Step S301: If obtaining all data of the target information type does not require permission, then obtaining all data of the target information type according to the target information type.

[0052] In the above step S301 , if no permission is required to obtain all data of the target data type, all data of the target data type is directly obtained according to the target information type.

[0053] Step S302: Screen all data of the target information type to obtain target data of the target information type.

[0054] In step S302, after all data of the target data type are acquired, all data are filtered to obtain target data. For example, the target data may be top data, data set as carousel data, data set as published data, and currently valid data.

[0055] pass Figure 3It can be seen that after finding the target data type, all data in the target data type are screened; data that does not meet the requirements is filtered out, so as to obtain the desired target data; in the process of searching for high-frequency resources, the target resources can be accurately found. In a specific implementation scheme, the top data, data set as carousel data, data set as published data, and currently valid data in the picture, video and / or voice data can be found according to the data suffix type in the system or server based on the specific data type. For example, first determine that the data is picture data based on the data type being .png or .jpg, then determine whether the picture data has been set as carousel data, and perform corresponding operations, such as: setting the access mode of the data to access cache; thereby reducing the consumption of system IO resources and the pressure on the server.

[0056] Please see Figure 4 , Figure 4 A second flow chart for obtaining target data provided in an embodiment of the present application; the method includes:

[0057] Step S400: If obtaining all data of the target information type requires permission, then obtaining all data of the target information type according to the permission information.

[0058] In the above step S400, if obtaining data in the target data type requires permission, the data is obtained according to permission information; the permission information may include the department number, company number, user number, etc. of the user.

[0059] Step S401: Screen all data of the target information type to obtain target data of the target information type.

[0060] In step S401, after acquiring all data of the target data type, all data are filtered to obtain target data. For example, the target data may be top data, data set as carousel data, data set as published data, and currently valid data.

[0061] pass Figure 4 It can be seen that when permissions are required to obtain data, all data under the target data type is obtained through permission information such as the user's department number, company number, user number, etc.; after all the data is obtained, the data is further filtered to obtain the target data, so that the target resource can be accurately found.

[0062] In an optional embodiment, determining whether the data type of the target data conforms to a preset data type includes: determining whether the target data includes image data, sound data, and / or video data; if the target data includes image data, sound data, and / or video data, then determining that the target data conforms to the preset data type. If a high-frequency resource is to be found, the image data, sound data, and / or video data, or other data belonging to a cached resource, is identified as a preset data type; thereby, the image data, sound data, and / or video data, or other data belonging to a cached resource in the resource is searched and identified as a high-frequency resource; when accessing a resource, if it is a high-frequency access list resource, the resource information is obtained through the memory, thereby improving the resource utilization of the server.

[0063] Please see Figure 5 , Figure 5 A flowchart of real-time resource screening provided in an embodiment of the present application; the method includes:

[0064] Step S500: Obtain a dynamic resource list.

[0065] In the above step S500, a dynamic resource list is obtained; it is understandable that when the target system has information added, deleted, or modified, the system's resource access list will change, and the high-frequency access list will be dynamically adjusted in real time.

[0066] Step S501: Acquire modification content according to the dynamic resource list.

[0067] In the above step S501, the modified content is obtained according to the dynamic resource list.

[0068] Step S502: Determine whether the modified content affects the target information type.

[0069] In the above step S502, it is determined whether the modified content will affect the target information type; for example, if the newly added, modified or deleted data is an information column, and the data has been set as top data, set as carousel data, set as published data, is currently valid data, etc., it affects the EIP homepage data; it will affect the access to the target information type.

[0070] Step S503: If the modified content affects the target information type, then obtain each type of target data according to the modified target information type; and determine whether the data type of the target data complies with the preset data type.

[0071] In the above step S503, if the target information type is affected, each type of target data is obtained according to the modified target information type; and it is determined whether the data type of the target data conforms to the preset data type.

[0072] Step S504: If the target data conforms to the preset data type, the target data is determined to be a target resource.

[0073] In the above step S504 , if the data type of the target data conforms to the preset data type, then the target data is the target resource.

[0074] pass Figure 5 It can be seen that the modified data content is also judged in real time. If the modified data can affect the original target data type; for example, modifying the background of the EIP system affects the EIP homepage data; if the modified data causes the target data type to be affected, the modified data will be identified as a high-frequency resource.

[0075] In an optional embodiment, determining whether the modified content affects the target information type includes: comparing the modified content with influencing factors that affect the target information type; wherein the influencing factors include newly added, modified, or deleted data as the target data; if the modified content includes at least one influencing factor, then determining that the modified content affects the target information type. The resource screening method provided in the embodiment of the present application is used to screen high-frequency resources, and memory caching is performed using high-frequency access resources; effectively solving the pressure on the server caused by high-frequency access resources during system peak hours (especially in the case of single data); using a list of high-frequency access resources to effectively improve the security and availability of the system.

[0076] Please see Figure 6 , Figure 6 Schematic diagram of resource screening system modules provided in an embodiment of the present application; the resource screening system 600 includes: a resource list acquisition module 601, a target data search module 602, and a target resource determination module 603.

[0077] The resource list acquisition module 601 is used to periodically acquire a historical resource access list.

[0078] The target data search module 602 is used to obtain the target information type according to the historical resource access list.

[0079] The target data search module 602 is further configured to obtain target data of each type according to the target information type.

[0080] The target resource determination module 603 is used to determine whether the data type of the target data meets the preset data type; wherein the preset data type is the data type corresponding to the target resource; if the target data meets the preset data type, the target resource determination module 603 determines the target data as the target resource.

[0081] In an optional embodiment, the target data search module 602 obtains the target information type according to the historical resource access list, including: obtaining type attributes of all information types according to the historical resource access list; wherein all information types include text information, picture information, and audio information; type attributes include name and number; the target data search module 602 filters the type attributes of all information types to obtain the target information type.

[0082] In an optional embodiment, the target data search module 602 obtains each type of target data according to the target information type, including: the target data search module 602 determines whether permission is required to obtain all data of the target information type; if permission is not required to obtain all data of the target information type, the target data search module 602 obtains all data of the target information type according to the target information type; the target data search module 602 filters all data of the target information type to obtain the target data of the target information type.

[0083] In an optional embodiment, the target data search module 602 obtains each type of target data according to the target information type and further includes: if obtaining all data of the target information type requires permission, then obtaining all data of the target information type according to the permission information; the target data search module 602 filters all data of the target information type to obtain the target data of the target information type.

[0084] In an optional embodiment, the target resource determination module 603 determines whether the data type of the target data conforms to the preset data type, including: the target resource determination module 603 determines whether the target data includes picture data, sound data and / or video data; if the target data includes picture data, sound data and / or video data, the target resource determination module 603 determines that the target data conforms to the preset data type.

[0085] In an optional embodiment, the resource screening method also includes: the resource list acquisition module 601 acquires a dynamic resource list; wherein the dynamic resource list includes resources that are modified in real time; the resource list acquisition module 601 acquires the modified content according to the dynamic resource list; determines whether the modified content affects the target information type; if the modified content affects the target information type, the target data search module 602 obtains each type of target data according to the modified target information type; the target resource determination module 603 determines whether the data type of the target data meets the preset data type; if the target data meets the preset data type, the target resource determination module 603 determines the target data as the target resource.

[0086] In an optional embodiment, the target resource determination module 603 determines whether the modified content affects the target information type, including: the target resource determination module 603 compares the modified content with the influencing factors that affect the target information type; wherein the influencing factors include newly added, modified or deleted data as target data; if the modified content includes at least one influencing factor, the target resource determination module 603 determines that the modified content affects the target information type.

[0087] See Figure 7 , Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. An electronic device 700 provided in an embodiment of the present application includes: a processor 701 and a memory 702, wherein the memory 702 stores machine-readable instructions executable by the processor 701, and when the machine-readable instructions are executed by the processor 701, the above method is performed.

[0088] Based on the same inventive concept, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer program instructions. When the computer program instructions are read and executed by a processor, the steps in any of the above implementation methods are executed.

[0089] The computer-readable storage medium may be any medium capable of storing program code, such as a random access memory (RAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), or an electrically erasable programmable read-only memory (EEPROM). The storage medium is used to store a program, and the processor executes the program upon receiving an execution instruction. The method executed by the electronic terminal defined by the process disclosed in any embodiment of the present invention may be applied to or implemented by the processor.

[0090] In the embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interface, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0091] In addition, the units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0092] Furthermore, the functional modules in each embodiment of the present application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.

[0093] Alternatively, the present invention may be implemented in whole or in part through software, hardware, firmware, or any combination thereof. When implemented using software, the present invention may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present invention are generated in whole or in part.

[0094] The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means.

[0095] In this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or device comprising the elements.

[0096] The above description is merely an embodiment of the present application and is not intended to limit the scope of protection of the present application. For those skilled in the art, various modifications and variations of the present application are possible. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A resource screening method, characterized in that: The method comprises: Get the historical resource access list regularly; Acquiring target information type according to the historical resource access list; Obtain target data of each type respectively according to the target information type; Determine whether the data type of the target data conforms to a preset data type; wherein the preset data type is the data type corresponding to the target resource; If the data type of the target data conforms to the preset data type, the target data is determined to be a target resource and a target resource list is generated, so that a resource access method is determined based on the target resource list when accessing the resource.

2. The method according to claim 1, characterized in that The acquiring target information type according to the historical resource access list includes: Acquiring type attributes of all information types according to the historical resource access list; wherein all information types include text information, image information and / or audio information; and the type attributes include name and / or number; The type attributes of all the information types are screened to obtain the target information type.

3. The method according to claim 1, characterized in that The obtaining of each type of target data according to the target information type includes: Determine whether permission is required to obtain all data of the target information type; If obtaining all data of the target information type does not require permission, obtaining all data of the target information type according to the target information type; All the data of the target information type are screened to obtain target data of the target information type.

4. The method according to claim 3, characterized in that The obtaining of each type of target data according to the target information type further includes: If obtaining all data of the target information type requires permission, obtaining all data of the target information type according to the permission information; All the data of the target information type are screened to obtain target data of the target information type.

5. The method according to claim 1, wherein The determining whether the data type of the target data conforms to a preset data type includes: Determining whether the target data includes image data, sound data and / or video data; If the target data includes picture data, sound data and / or video data, it is determined that the target data meets the preset data type.

6. The method according to claim 1, wherein The method further comprises: Obtaining a dynamic resource list; wherein the dynamic resource list includes resources that are modified in real time; Acquire modification content according to the dynamic resource list; Determining whether the modified content affects the target information type; If the modification affects the target information type, obtaining target data of each type according to the modified target information type; and determining whether the data type of the target data conforms to the preset data type; If the target data conforms to the preset data type, the target data is determined to be a target resource.

7. The method according to claim 6, characterized in that The determining whether the modified content affects the target information type includes: Comparing the modified content with the influencing factors affecting the target information type; wherein the influencing factors include newly added, modified or deleted data as the target data; If the modified content includes at least one of the influencing factors, it is determined that the modified content affects the target information type.

8. A resource screening system, characterized in that: The resource screening system includes: a resource list acquisition module, a target data search module, and a target resource determination module; The resource list acquisition module is used to periodically acquire a historical resource access list; The target data search module is used to obtain the target information type according to the historical resource access list; The target data search module is further configured to obtain target data of each type according to the target information type; and The target resource determination module is used to determine whether the data type of the target data conforms to a preset data type; wherein the preset data type is the data type corresponding to the target resource; if the target data conforms to the preset data type, the target data is determined to be a target resource.

9. An electronic device, characterized in that: The electronic device includes a memory and a processor, wherein program instructions are stored in the memory, and when the processor runs the program instructions, the steps of the method according to any one of claims 1 to 7 are executed.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the steps of the method according to any one of claims 1 to 7 are executed.

Citation Information

Patent Citations

  • Resource management method, system and resource manager

    CN102137014A

  • Cache configuration method, device, computer equipment and storage medium

    CN110472169A