Information search method, resource information forming method, information search device, terminal
By identifying the user's office type and using office type tags to filter the resource database, the problem of low information acquisition accuracy was solved, achieving the dual goals of accurate information search and corporate information confidentiality.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HENAN YUZHAN PRECISION TECH CO LTD
- Filing Date
- 2022-12-24
- Publication Date
- 2026-06-19
AI Technical Summary
The existing information acquisition methods have vague filtering conditions, resulting in low information accuracy and failing to meet the information needs of accurately locating users.
By receiving search requests from users, the system determines the user's office type based on user identifiers and preset data information, and uses office type tags to filter relevant information from a preset resource database to form the target search results.
It improved the accuracy and efficiency of information retrieval and ensured the confidentiality and control of corporate information.
Smart Images

Figure CN116226325B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing technology, specifically to an information search method, a resource information formation method, an information search device, a terminal, a computer device, and a readable storage medium. Background Technology
[0002] There are generally two ways to obtain information: one is to obtain the geographic coordinates through the user's public IP address and then publish the information to the user based on the geographic coordinates; the other is to first directly obtain the user's IP address and process the data by region, then establish an IP address business interest point lookup table, when the user uses the search service, obtain the corresponding user's IP address, and finally query the IP address business interest point lookup table to obtain the user's interest point ranking sequence.
[0003] However, the filtering criteria used in the above information acquisition methods are vague, resulting in low accuracy of the information and failing to meet the information needs of accurately targeting users. Summary of the Invention
[0004] In view of the above, it is necessary to provide an information search method, a resource information formation method, an information search device, a terminal, a computer device, and a readable storage medium to improve the accuracy of information acquisition.
[0005] This application provides an information search method, including:
[0006] Receive a search request sent by a user, wherein the search request includes search keywords and user identifier;
[0007] Based on the user identifier and preset data information, the user's office type is determined;
[0008] Based on the search keywords, initial search results are obtained from a preset resource database, wherein each resource information in the preset resource database is identified by an office type tag;
[0009] Based on the user's office type and the office type tag, resource information identified with the office type tag is filtered from the initial search results to form the target search results.
[0010] When the aforementioned information search method receives a search request from a user, it determines the user's office type corresponding to the user identifier from the preset data information. Based on the user's office type, it filters the initial search results obtained from the preset resource library for the search keywords, thereby obtaining target search results that the user has permission to access, identified by office type tags corresponding to the user's office type. By introducing office type to assist in searching with keywords, and obtaining data information that the user has permission to access based on their office type, the search results are accurate, ensuring enterprise information confidentiality and control while improving the user's information search efficiency.
[0011] In some embodiments, the preset data information includes a preset network management database, a preset personnel database, and a word segmentation module; the user's work type includes the user's job function type; and the step of determining the user's work type based on the user identifier and the preset data information includes:
[0012] Based on the user identifier, the user's network management information is obtained from the preset network management database;
[0013] Based on the user's network management information, obtain the user's functional information from the preset personnel database;
[0014] The word segmentation module segments the user's job information to obtain job-related terms, thereby forming the user's job type corresponding to the job information.
[0015] In some embodiments, the user's office type includes the security level of the user's office area, and the preset data information also includes a preset area control type. The step of determining the user's office type based on the user identifier and the preset data information further includes:
[0016] Based on the user's network management information, obtain the user's office location from the preset personnel database;
[0017] Based on the user's office location and the preset area control type, the security level of the user's office area is determined.
[0018] In some embodiments, the user's office type includes the security level of the user's office area, and the step of determining the user's office type based on the user identifier and preset data information further includes:
[0019] Based on the user identifier, the security level of the user's office area is obtained from the preset network management database.
[0020] In some embodiments, the office type tag includes an office area security level tag and a function type tag. The step of filtering resource information identified with the office type tag from the initial search results based on the user's office type and the office type tag to form the target search results includes:
[0021] Based on the user's office area security level, resource information marked with the office area security level tag is filtered from the initial search results to form regional search results;
[0022] Based on the user's job function type, resource information labeled with the job function type is filtered from the regional search results to form the target search results.
[0023] In some embodiments, the office type tag includes an office area security level tag and a function type tag. The step of filtering resource information identified with the office type tag from the initial search results based on the user's office type and the office type tag to form the target search results includes:
[0024] Based on the user's job type, resource information labeled with the job type is filtered from the initial search results to form job search results;
[0025] Based on the security level of the user's office area, resource information marked with the security level tag of the office area is filtered from the functional search results to form the target search results.
[0026] In some embodiments, the information search method further includes:
[0027] Determine whether the office type tag in the information in the initial search results matches the user's job type;
[0028] If the initial search results do not contain information matching the user's job type, then based on the job-related terms corresponding to the user's job type, resource information containing the job-related terms will be searched in the preset resource database.
[0029] The resource information containing the aforementioned functional terms is labeled with the corresponding functional type tags, and the preset resource database is updated.
[0030] This application also provides a method for forming resource information, including:
[0031] The platform is automatically crawled according to preset crawling rules to obtain website information;
[0032] The website information is processed to form multiple resource information;
[0033] Obtain the user's office type from preset data information;
[0034] Based on the user's office type, multiple resource information items are tagged with office type labels to form a preset resource database, so that the user can search for matching target search results based on the office type.
[0035] In some embodiments, the preset data information includes a preset personnel database and a word segmentation module, the user's office type includes the user's job type, the office type tag includes a job type tag, and the step of obtaining the user's office type from the preset data information includes:
[0036] Obtain the user's job information from the preset personnel database;
[0037] The word segmentation module segments the user's job information to obtain job-related terms, thereby forming the user's job type corresponding to the job information.
[0038] In some embodiments, the step of identifying office type tags for multiple resource information items based on the user's office type includes:
[0039] Search among the multiple resource information to find the resource information associated with the functional term;
[0040] Based on the resource information associated with the functional terms, the corresponding functional type label is identified.
[0041] In some embodiments, the preset data information further includes a preset area control type, and the user's office type includes the security level of the user's office area. The step of obtaining the user's office type from the preset data information includes:
[0042] Obtain the user's office location from the preset personnel database;
[0043] Based on the user's office location and the preset area control type, the security level of the user's office area is determined.
[0044] In some embodiments, the office type label further includes an office area security level label, and the resource information is identified by an information security level label. The step of identifying office type labels for multiple resource information items based on the user's office type further includes:
[0045] Based on the user's office area security level and the preset office area security level and information security level mapping table, search for resource information with the information security level tag among multiple resource information;
[0046] Based on the preset mapping table of office area security level and document security level, resource information marked with the document security level label is further labeled with the corresponding office area security level label.
[0047] In some embodiments, the resource information forming method further includes:
[0048] Resource information labeled with the aforementioned office type is sorted by access volume so that it is presented in order of access volume when users search using keywords.
[0049] In some embodiments, the step of automatically crawling the platform to obtain website information according to preset crawling rules includes:
[0050] The platform is automatically crawled according to preset crawling rules to obtain the website homepage and multi-level links within the homepage.
[0051] Based on the website homepage and its multi-level links, the website information is formed by acquiring the content, documents, and videos of the website homepage and the content, documents, and videos of each level of the multi-level links.
[0052] In some embodiments, the step of processing the website information to form multiple resource information includes:
[0053] The content, documents, and videos of the website homepage are associated with the website homepage to form multiple initial information items, and the content, documents, and videos of each level of the multi-level links are associated with the links to form multiple initial information items;
[0054] Clean the initial information from multiple sources;
[0055] Each of the cleaned initial information items is assigned a title to form multiple resource information items.
[0056] This application embodiment also provides an information search device, including:
[0057] A receiving module is used to receive a search request sent by a user terminal, wherein the search request includes search keywords and user identifier;
[0058] The type determination module is used to determine the user's office type based on the user identifier and preset data information;
[0059] The search module is used to obtain initial search results from a preset resource database based on the key search information, wherein each resource information in the preset resource database is identified by an office type tag;
[0060] The filtering module is used to filter the initial search results based on the user's office type and the office type tag, so as to obtain target search results that match the user's office type.
[0061] When the aforementioned information search device receives a search request from a user, it determines the user's office type corresponding to the user identifier from the preset data information. Based on the user's office type, it filters the initial search results obtained from the preset resource library for the search keywords, thereby obtaining target search results that the user has permission to access, labeled with the office type tag corresponding to the user's office type. By introducing office type to assist in searching with keywords, and obtaining data information that the user has permission to access based on their office type, the search results are accurate, ensuring enterprise information confidentiality and control while improving the user's information search efficiency.
[0062] This application embodiment also provides a terminal, including a communicator, the communicator being used for:
[0063] Send a search request, which includes search keywords and user identifier;
[0064] Receive the target search result based on the search keyword and the user identifier, wherein the target search result is the target search result obtained by the information search method described in the above embodiments.
[0065] This application also provides a computer device, including a memory and a processor. The memory stores a computer program, and the processor is coupled to the memory for calling the computer program in the memory to execute the computer program to implement the steps of the information search method described in the above embodiments, or to implement the steps of the resource information formation method described in the above embodiments.
[0066] This application also provides a readable storage medium storing a computer program executable by a computer device. When the computer program is run on the computer device, it causes the computer device to perform the steps of the information search method described in the above embodiments, or to implement the steps of the resource information formation method described in the above embodiments. Attached Figure Description
[0067] Figure 1 A flowchart of an information search method provided in an embodiment of this application.
[0068] Figure 2 for Figure 1 A flowchart of one implementation of step S200.
[0069] Figure 3 for Figure 1Flowchart of another implementation of step S200.
[0070] Figure 4 for Figure 1 A flowchart of one implementation of step S400.
[0071] Figure 5 for Figure 1 Flowchart of another implementation of step S400.
[0072] Figure 6 A flowchart of an information search method provided in another embodiment of this application.
[0073] Figure 7 A flowchart illustrating a method for forming resource information according to an embodiment of this application.
[0074] Figure 8 for Figure 7 A flowchart of one implementation of step S10.
[0075] Figure 9 for Figure 7 A flowchart of one implementation of step S20.
[0076] Figure 10 for Figure 7 A flowchart of one implementation of step S30.
[0077] Figure 11 for Figure 7 Flowchart of another implementation of step S30.
[0078] Figure 12 for Figure 7 A flowchart of one implementation of step S40.
[0079] Figure 13 for Figure 7 Flowchart of another implementation of step S40.
[0080] Figure 14 This is a diagram illustrating the composition of an information search device provided in an embodiment of this application.
[0081] Figure 15 This is a schematic diagram of a terminal provided in an embodiment of this application.
[0082] Figure 16 An architectural diagram of a computer device provided in an embodiment of this application.
[0083] Explanation of main component symbols
[0084] Information search device 10
[0085] Receiver module 11
[0086] Type Determination Module 12
[0087] Search module 13
[0088] Filtering Module 14
[0089] Computer equipment 20
[0090] Processor 21
[0091] Memory 22
[0092] Terminal 30
[0093] Communicator 31 Detailed Implementation
[0094] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.
[0095] In the description of this application, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," and "counterclockwise," etc., indicating orientation or positional relationships based on the orientation or positional relationships shown in the accompanying drawings, are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this application. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of the stated features. In the description of this application, "a plurality of" means two or more, unless otherwise explicitly specified.
[0096] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection, an electrical connection, or a connection that allows communication between them; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication between two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.
[0097] The embodiments of this case will be described in detail below with reference to the accompanying drawings.
[0098] Please see Figure 1 This application provides an information search method, which is applied to an information search device 10 (hereinafter referred to as...). Figure 14 (As will be explained), the information search device 10 can be a server. The following will illustrate the application of this method to a server as an example. The information search method includes:
[0099] S100 receives a search request sent by the user, wherein the search request includes search keywords and user identifier.
[0100] Specifically, in step S100, the user terminal can provide a unified search interface for the user, who can enter search keywords in the search box of the search interface.
[0101] For example, a user can enter search keywords through a search interface on their client device. The client then generates a search request based on the user's input and sends it to the server. The search request includes the search keywords and the user's identifier. The client and server can communicate via a network. The client can be a desktop computer, laptop, tablet, or mobile phone, while the server can be a standalone server or a server cluster.
[0102] For example, search keywords can be single words or phrases composed of multiple words, and can be Chinese characters, English, Pinyin, etc.
[0103] For example, user identification can include basic information such as the user's name, employee ID, IP address, and MAC address, where the name, employee ID, IP address, and MAC address are one-to-one correspondences. The name, employee ID, and IP address refer to the name, employee ID, and IP address registered in the company's office, respectively.
[0104] S200 determines the user's office type based on user identification and preset data information.
[0105] Specifically, in step S200, the user identifier includes at least the user's IP address and MAC address, and the user's work type includes the work content type and the work area type.
[0106] S300 retrieves initial search results from a preset resource database based on search keywords. Each resource in the preset resource database is labeled with an office type tag.
[0107] Specifically, in step S300, for example, if the user enters the search keyword "mobile phone chip", the server will search for data information related to "mobile phone chip" from the preset resource library, which is the initial search result.
[0108] Furthermore, each resource information in the preset resource database is labeled with an office type tag, meaning that each data information in the initial search results for "mobile phone chip" is labeled with an office type tag.
[0109] S400, based on the user's office type and office type tags, filters out resource information marked with office type tags from the initial search results to form the target search results.
[0110] Specifically, in step S400, based on the user's office type obtained in step S200, resource information marked with the user's office type tag obtained in step S200 is filtered from the initial search results obtained in step S300, thereby forming the target search results.
[0111] In some embodiments, the preset data information includes a preset network management database, a preset personnel database, and a word segmentation module, and the user's office type includes the user's job function. The network management database includes at least user permission groups, and the preset personnel database includes at least the user's job function information and office location.
[0112] For more details, please refer to [link / reference]. Figure 2 Step S200, based on the user identifier and preset data information, determines the user's office type, including:
[0113] S210 retrieves the user's network management information from a pre-set network management database based on the user's identifier.
[0114] Specifically, in step S210, the preset network management database stores the IP address, MAC address, and network management information of each user terminal. The server can search for the corresponding network management information in the preset network management database based on the user's IP address or MAC address. The user's network management information may include employee ID, office area security level, etc.
[0115] S211, based on the user's network management information, obtains the user's functional information from the preset personnel database.
[0116] Specifically, in step S211, the preset personnel database stores each user's employee number, name, job information, office location, etc. When the network management information is the employee number, the server retrieves the corresponding user's job information from the preset personnel database based on the user's employee number.
[0117] Among them, the user's functional information refers to an overview of the user's job position and functional work content, such as: test engineer, whose job responsibility is: to test the quality of products.
[0118] S212, the user's functional information is segmented by the word segmentation module to obtain functional terms, so as to form the corresponding functional type.
[0119] Specifically, in step S212, the word segmentation module can be the jieba word segmentation software. The server uses the word segmentation module to segment the user's job information to obtain job-related words, thereby forming the corresponding job type.
[0120] For example, the server uses a word segmentation module to segment the phrase "test engineer, job responsibility is: to test the quality of products" into words such as "test, test, quality", which forms three corresponding job types: test, test, and quality.
[0121] In some embodiments, a user's office type includes the security level of their office area, and the preset data information also includes preset area control types. The security levels of a user's office area include Level 1 Special Security Zone, Level 2 Special Security Zone, and Non-Special Security Zone, as shown in Table 1 below. The preset area control types include different security levels for different office locations.
[0122] Table 1. Preset Data Information (Combining Preset Personnel Database and Preset Regional Control Type)
[0123]
[0124]
[0125] For more details, please refer to [link / reference]. Figure 3 Step S200, based on the user identifier and preset data information, determines the user's office type, and also includes:
[0126] S220 retrieves the user's office location from a pre-set personnel database based on the user's network management information.
[0127] Specifically, in step S220, the user's network management information includes their employee ID. The server retrieves the user's office location from a pre-set personnel database based on the user's employee ID. For example, the user with employee ID G0011's office location is B201, Building 3, Area B.
[0128] S221, based on the user's office location and preset area control type, determines the security level of the user's office area.
[0129] Specifically, in step S221, the server matches the user's office location with the preset area control type to obtain the security level of the office area to which the user's office location belongs. For example, after querying the preset data information table 1 and obtaining that the user's office location is B201, Building 3, Zone B, it can be found that the user's office area security level is Level 2 Special Security Zone. Different user office locations result in different security levels for their office areas, and consequently, different user permissions. For instance, in Level 1 Special Security Zones, the data on the computers used by employees and the websites they access are classified as Top Secret; they do not have root rights to send data to the external network, nor the right to receive or access external network data, nor the right to view shared data within the Level 1 Special Security Zone. In Level 2 Special Security Zones, the data on the computers used by employees and the websites they access are classified as Sub-Security; they do not have root rights to send data to the external network, but they can receive or access external network data and have the right to view shared data within the Level 2 Special Security Zone. Computers used by employees outside of Special Security Zones can exchange data between the internal and external networks, but they do not have the right to send, receive, or view data on the computers of employees in Level 1 or Level 2 Special Security Zones.
[0130] In some embodiments, step S200, obtaining user office information based on a user identifier from preset data information, further includes:
[0131] Based on the user identifier, the security level of the user's office area is obtained from the preset network management database.
[0132] Specifically, in the above steps, the preset network management database stores the employee ID, name, and office area security level corresponding to each employee's computer IP address or MAC address. At this time, the user's office type only includes the user's office area security level. The server can directly obtain the user's office area security level from the preset network management database based on the user identifier, so as to filter out resource information with the identifier of that office area security level from the initial search results, thereby forming the target search results.
[0133] In one embodiment, the preset personnel database and preset regional control types can be stored in the form of separate lookup tables, or they can be combined into a single lookup table, as shown in Table 1.
[0134] In some embodiments, the office type label includes an office area security classification label and a function type label.
[0135] For more details, please refer to [link / reference]. Figure 4 Step S400: Based on the user's office type and office type tags, filter resource information identified with office type tags from the initial search results to form the target search results, including:
[0136] S410, based on the user's office area security level, filters out resource information marked with office area security level tags from the initial search results to form regional search results.
[0137] Specifically, in step S410, the office area security classification labels include Level 1 Special Security Zone labels, Level 2 Special Security Zone labels, and non-Special Security Zone labels. Based on the user's office area security classification obtained in step S221, the server filters resource information marked with office area security classification labels from the initial search results obtained in step S300 to form area search results.
[0138] S411, based on the user's job type, filters resource information with job type tags from the regional search results to form the target search results.
[0139] Specifically, in step S411, the job types include testing, inspection, quality, sales, design, legal, and administration, etc. Correspondingly, the job type tags include testing tags, inspection tags, quality tags, sales tags, design tags, legal tags, and administration tags, etc. Based on the user's job type obtained in step S212, the server filters out resource information marked with job type tags from the regional search results obtained in step S410 to form the target search results.
[0140] In some embodiments, the security level of the office area can be obtained first from steps S220-S221, and then the user's job type can be obtained from steps S211-S212.
[0141] In some embodiments, resource information marked with a function type label may be filtered first from the initial search results obtained in step S300, and then resource information marked with an office area security level label may be filtered.
[0142] For more details, please refer to [link / reference]. Figure 5 Step S400: Based on the user's office type, filter resource information tagged with office type from the initial search results to form the target search results, including:
[0143] S420, based on the user's job type, filters resource information labeled with job type tags from the initial search results to form job search results.
[0144] Specifically, in step S420, the server filters out resource information labeled with function type tags from the initial search results obtained in step S300 based on the user's function type obtained in step S212, so as to form function search results.
[0145] S421, based on the security level of the user's office area, filter out resource information marked with the security level label of the office area from the functional search results to form the target search results.
[0146] Specifically, in step S421, the server filters out resource information marked with office area security level tags from the functional search results obtained in step S420 based on the user office area security level obtained in step S221, so as to form target search results.
[0147] The above embodiment describes an information search method that, upon receiving a search request from a user, determines the user's office type corresponding to the user identifier from preset data information. Based on the user's office type, it filters the initial search results obtained from the preset resource library for the search keywords, thereby obtaining target search results that the user has permission to access, identified by office type tags corresponding to the user's office type. By introducing office type to assist in searching with keywords, and obtaining data information that the user has permission to access based on their office type, the search results are accurate, ensuring enterprise information confidentiality and control while improving the user's information search efficiency.
[0148] Further integration Figure 6 As shown, in some embodiments, the information search method further includes:
[0149] S500: Determine if the office type tag in the initial search results matches the user's job type.
[0150] Specifically, the office type label includes the function type label. In this step, based on the function type obtained in step S212, and based on the function type labels of the resource information in the initial search results obtained in step S300, function type labels that match the function type are filtered.
[0151] S600, if the office type tag of the information in the initial search results does not have information matching the user's job type, then based on the job type corresponding to the job type, search the preset resource database for resource information with job type terms.
[0152] Specifically, if the user's job type obtained in step S212 is, for example, "detection", when searching for "mobile phone chip", although the initial search results have multiple resource information related to "mobile phone chip", if the resource information obtained in this initial search does not have the "detection" tag, the server will not execute and send this result to the user terminal for presentation. This means that the job type related to "detection" is not tagged with "detection" in the resource information in the preset resource database. At this time, the resource information related to it is searched in the preset resource database using "detection" as a keyword.
[0153] S700 marks resource information with functional terms with corresponding functional type labels and updates the preset resource database.
[0154] Specifically, the server tags resource information with functional terms with corresponding functional type labels, such as the "detection" label mentioned in step S600, and updates the preset resource database.
[0155] In this embodiment, by continuously storing the function types, more and more detailed function types are generated, and the preset resource library is continuously updated, thereby making the search results more accurate.
[0156] The above information search method incorporates office type and preset data information to assist in searching with keywords, thereby obtaining information related to the user's work. The search results are accurate, ensuring the confidentiality and control of corporate information and improving the user's work efficiency.
[0157] Please see Figure 7 This application also provides a method for forming resource information, the method including:
[0158] S10 automatically crawls the platform to obtain website information according to preset crawling rules.
[0159] Specifically, please see Figure 8 Step S10: Automatically crawl the platform to obtain website information according to preset crawling rules, including:
[0160] S11 automatically crawls the platform according to preset crawling rules to obtain the website homepage and multi-level links within it.
[0161] Specifically, the preset crawler rules in step S11 are, for example: upon finding a website requiring registration and verification, automatically input the preset account, password, and verification code. The platform can be any website within the company's local area network; specifically, it can be any website developed within the company group and / or any external website used by the company group. Websites developed within the company group include, but are not limited to, production management platforms, product design platforms, software development platforms, equipment management platforms, sales and marketing management and analysis platforms, human resources and administration platforms, legal management platforms, corporate culture platforms, and various technology learning and analysis platforms.
[0162] S12, based on the website homepage and its multi-level links, retrieves the content, documents, and videos from the website homepage and the content, documents, and videos from each level of the multi-level links to form website information.
[0163] Specifically, based on the website homepage and its multi-level links, content, documents, and videos are downloaded to form website-related information.
[0164] S20 processes website information to create multiple resource information.
[0165] For details, please see further. Figure 9Step S20 involves processing the website information to generate multiple resource information items, including:
[0166] S21, associate the content, documents, and videos of the website homepage with the corresponding information of the website homepage to form multiple initial information, and associate the content, documents, and videos of each level of the multi-level links with the corresponding links to form multiple initial information.
[0167] Specifically, a website homepage can form a resource information, and the website homepage and its text content can be associated to form an initial information, the website homepage and its documents can be associated to form an initial information, the website homepage and its videos can be associated to form an initial information, the website homepage and each level of links can be associated to form an initial information, and the content, documents and videos in each level of links can form the initial information of each link, thus forming multiple initial information.
[0168] S22, cleans multiple initial information.
[0169] Specifically, cleaning multiple initial information items includes removing advertisements when downloading the homepage, multi-level links on the homepage and their corresponding content, documents, and videos.
[0170] S23, create titles for each of the multiple initial pieces of information after cleaning, so as to form multiple resource information.
[0171] For example, if the initial cleaned information is the website homepage and its text content, then the title of this resource information is created based on the theme of the text content. If the initial cleaned information is the website homepage and its documents, then the title of this resource information is created based on the theme of the documents. If the initial cleaned information is the website homepage and its videos, then the title of this resource information is created based on the theme of the videos. Similarly, each level of links and their corresponding associated content, documents, and videos also have their own titles created.
[0172] S30 obtains the user's office type from preset data information.
[0173] In some embodiments, the preset data information includes a preset personnel database and a word segmentation module; the user's office type includes the user's job function type; and the office type tag includes the job function type tag. Optionally, the preset data information described in this embodiment is the same as the preset data information in the information search method described in any of the above embodiments, and will not be repeated here.
[0174] For more details, please refer to [link / reference]. Figure 10 Step S30: Obtain the user's office type from preset data information, including:
[0175] S31, retrieve the user's job information from the preset personnel database.
[0176] Specifically, functional information refers to an overview of the job duties, such as "Test Engineer, job responsibilities include: testing product quality".
[0177] S32, the user's functional information is segmented by the word segmentation module to obtain functional terms, so as to form the corresponding functional type.
[0178] For example, the word segmentation module can segment the phrase "test engineer, job responsibility is: to test the quality of products" to obtain "testing, quality", thus forming the corresponding job type: testing, quality.
[0179] Optionally, the preset personnel database and preset regional control types can be stored in separate lookup tables or combined into a single lookup table, as shown in Table 1.
[0180] In some embodiments, the preset data information also includes a preset area control type, and the user's office type includes the security level of the user's office area.
[0181] For more details, please refer to [link / reference]. Figure 11 Step S30, obtaining the user's office type from preset data information, also includes:
[0182] S33 retrieves the user's office location from the preset personnel database.
[0183] S34, based on the user's office location and preset area control type, determines the security level of the user's office area.
[0184] S40 identifies multiple resource information with office type tags based on the user's office type to form a preset resource database, so that the user can search for matching target search results based on the office type.
[0185] Optionally, the method by which the user terminal searches for matching target search results based on office type is the information search method described in any of the above embodiments.
[0186] For more details, please refer to [link / reference]. Figure 12 Step S40: Identify multiple resource information items with office type tags based on the user's office type, including:
[0187] S41, Search for resource information related to functional terms from multiple resource information sources.
[0188] For example, if the functional term is "detection", then search for resource information related to "detection" among multiple resource information.
[0189] S42, Based on resource information associated with functional terms, identify the corresponding functional type label.
[0190] For example, resource information related to "testing" is labeled with a functional type tag indicating "testing".
[0191] In some embodiments, the office type label also includes an office area security classification label, and the resource information identifier has an information security classification label. Information security classification labels include Top Secret, Secondary Secret, and No Label. Information security classification labels can be manually assigned or determined based on the security classification displayed on the website during web crawling. Specifically, when designing different websites, companies typically classify the website's security classification based on the usage of personnel with different functions. This application can use this to identify the information security classification label for each piece of resource information.
[0192] For more details, please refer to [link / reference]. Figure 13 Step S40, which involves labeling multiple resource information entries with office type tags based on the user's office type, also includes:
[0193] S43, based on the user's office area security level and the preset office area security level and information security level mapping table, search for resource information marked with information security level tags among multiple resource information.
[0194] Specifically, the pre-defined mapping table of office area security level and information security level is shown in Table 2 below.
[0195] Table 2 Mapping Table of Office Area Security Level and Information Security Level
[0196] Information security classification label Office area security level Top Secret Label Level 1 Special Protection Zone Top Secret Label Level II Special Protection Zone No tags Non-protected area
[0197] S44, based on the preset mapping table of office area security level and document security level, further label the resource information marked with document security level with the corresponding office area security level label.
[0198] For example, if the original information security classification label of the resource information is "Top Secret", after this step, based on the preset mapping table of office area security classification and document security classification in Table 2, the resource information with the "Top Secret" label will be further labeled with the "Level 1 Special Security Zone" label, or the "Top Secret" label will be replaced with the "Level 1 Special Security Zone" label.
[0199] It should be noted that when each of the above resource information is identified according to its actual function, some resource information may have one label, while others may have multiple labels. For example, if a resource information contains information on mobile phone chip testing methods and quality judgment, then its labels will at least include the "testing" label and the "quality" label.
[0200] In some embodiments, the resource information forming method further includes:
[0201] S50 sorts resource information labeled with office type by access volume so that it is presented in access volume order when users search by keywords.
[0202] In the above embodiments, the platform automatically crawls to obtain website information according to preset crawling rules, preprocesses the website information to obtain valuable resource information, and classifies the resource information to obtain a more detailed preset resource database, so that users can search for matching target search results based on office type.
[0203] Please see Figure 14 This application also provides an information search device 10.
[0204] In this embodiment, based on the same idea as the information search method in the above embodiments, the information search device 10 can be used to execute the above information search method. For ease of explanation, the composition diagram of the information search device 10 embodiment only shows the parts related to the embodiments of this application. Those skilled in the art will understand that the illustrated structure does not constitute a limitation on the information search device 10, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0205] Specifically, the information search device 10 includes: a receiving module 11, a type determination module 12, a search module 13, and a filtering module 14. The receiving module 11 receives search requests sent by a user, wherein the search request includes search keywords and a user identifier. The type determination module 12 determines the user's office type based on the user identifier and preset data information. The search module 13 retrieves initial search results from a preset resource database based on the search keywords, wherein each resource information in the preset resource database is labeled with an office type. The filtering module 14 filters the initial search results based on the user's office type to obtain target search results that match the user's office type.
[0206] When the aforementioned information search device receives a search request from a user, it determines the user's office type corresponding to the user identifier from the preset data information. Based on the user's office type, it filters the initial search results obtained from the preset resource library for the search keywords, thereby obtaining target search results that the user has permission to access, labeled with the office type tag corresponding to the user's office type. By introducing office type to assist in searching with keywords, and obtaining data information that the user has permission to access based on their office type, the search results are accurate, ensuring enterprise information confidentiality and control while improving the user's information search efficiency.
[0207] Please refer to further information. Figure 15This application embodiment also provides a terminal 30, including a communicator 31, which is used to: send a search request, the search request including search keywords and user identifier; and receive target search results based on the search keywords and user identifier, the target search results being the target search results obtained by the information search method of the above embodiment.
[0208] Please refer to further information. Figure 16 This application also provides a computer device 20, including a processor 21 and a memory 22. The memory 22 stores a computer program. The processor 21 is coupled to the memory 22 and is used to call the computer program in the memory 22 to execute the computer program to implement the steps of the information search method of the above embodiments, or to implement the steps of the resource information formation method of the above embodiments.
[0209] For example, a computer program can be divided into one or more modules / units, one or more of which are stored in memory 22 and executed by processor 21. The one or more modules / units can be a series of computer instructions capable of performing a specific function. For example, it can be divided into... Figure 14 The receiving module 11, type determination module 12, search module 13, and filtering module 14 are shown.
[0210] Computer device 20 can be a desktop computer, laptop, handheld computer, industrial computer, tablet computer, server, or other computing device. Those skilled in the art will understand that the schematic diagram is merely an example of computer device 20 and does not constitute a limitation on computer device 20. It may include more or fewer components than shown, or combine certain components, or different components. For example, computer device 20 may also include input / output devices, network access devices, buses, etc.
[0211] Processor 21 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor, a single-chip microcomputer, or any conventional processor.
[0212] The memory 22 can be used to store computer instructions and / or modules / units. The processor 21 implements various functions of the computer device 20 by running or executing the computer instructions and / or modules / units stored in the memory 22 and by calling the data stored in the memory 22. The memory 22 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function, etc.; the data storage area may store data created according to the use of the computer device 20, etc. In addition, the memory 22 may include high-speed random access memory, and may also include non-volatile memory, such as hard disk, RAM, plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, at least one disk storage device, flash memory device, or other non-volatile solid-state storage device.
[0213] This application also discloses a readable storage medium, characterized in that the readable storage medium stores a computer program executable by a computer device, which, when run on the computer device, causes the computer device to perform the steps of the information search method described in the above embodiments, or to implement the steps of the resource information formation method described in the above embodiments.
[0214] For example, the storage medium can be any medium that can store program code, such as a USB flash drive, a portable hard drive, a ROM (Read-Only Memory), a RAM (Random Access Memory), a magnetic disk, or an optical disk.
[0215] It will be apparent to those skilled in the art that this application is not limited to the details of the exemplary embodiments described above, and that this application can be implemented in other specific forms without departing from the spirit or essential characteristics of this application. Therefore, the embodiments should be regarded as exemplary and non-limiting in all respects, and the scope of this application is defined by the appended claims rather than the foregoing description. Thus, all variations falling within the meaning and scope of equivalents of the claims are intended to be embraced within this application.
[0216] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application and are not intended to limit it. Although this application has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of this application without departing from the spirit and scope of the technical solutions of this application.
Claims
1. An information search method, characterized in that, include: Receive a search request sent by a user, wherein the search request includes search keywords and user identifier; Based on the user identifier and preset data information, the user's office type is determined; wherein, the preset data information includes a preset network management database, a preset personnel database, and a word segmentation module, and the user's office type includes the user's job type, the step of determining the user's office type based on the user identifier and preset data information includes: based on the user identifier, obtaining the user's network management information from the preset network management database; based on the user's network management information, obtaining the user's job information from the preset personnel database; and segmenting the user's job information using the word segmentation module to obtain job-related terms, thereby forming the user's job type corresponding to the user's job information; Based on the search keywords, initial search results are obtained from a preset resource database, wherein each resource information in the preset resource database is identified by an office type tag; Based on the user's office type and the office type tag, resource information identified with the office type tag is filtered from the initial search results to form the target search results.
2. The information search method as described in claim 1, characterized in that, The user's office type includes the security level of the user's office area, and the preset data information also includes a preset area control type. The step of determining the user's office type based on the user identifier and the preset data information further includes: Based on the user's network management information, obtain the user's office location from the preset personnel database; Based on the user's office location and the preset area control type, the security level of the user's office area is determined.
3. The information search method as described in claim 1, characterized in that, The user's office type includes the security level of the user's office area. The step of determining the user's office type based on the user identifier and preset data information further includes: Based on the user identifier, the security level of the user's office area is obtained from the preset network management database.
4. The information search method as described in claim 2, characterized in that, The office type tags include office area security level tags and function type tags. The step of filtering resource information identified with the office type tags from the initial search results to form the target search results based on the user's office type and the office type tags includes: Based on the user's office area security level, resource information labeled with the office area security level is filtered from the initial search results to form regional search results; Based on the user's job function type, resource information labeled with the job function type is filtered from the regional search results to form the target search results.
5. The information search method as described in claim 2, characterized in that, The office type tags include office area security level tags and function type tags. The step of filtering resource information identified with the office type tags from the initial search results to form the target search results based on the user's office type and the office type tags includes: Based on the user's job type, resource information labeled with the job type is filtered from the initial search results to form job search results; Based on the user's office area security level, resource information labeled with the office area security level is filtered from the functional search results to form the target search results.
6. The information search method as described in claim 1, characterized in that, Also includes: Determine whether the office type tag in the resource information of the initial search results matches the user's job type; If the initial search results do not contain information matching the user's job type, then based on the job-related terms corresponding to the user's job type, resource information containing the job-related terms will be searched in the preset resource database. The resource information containing the aforementioned functional terms is labeled with the corresponding functional type tags, and the preset resource database is updated.
7. A method for forming resource information, characterized in that, The method includes: The platform is automatically crawled according to preset crawling rules to obtain website information; The website information is processed to form multiple resource information; The steps of obtaining a user's office type from preset data information, including a preset personnel database and a word segmentation module, are as follows: obtaining the user's job type from the preset data information; and segmenting the user's job type using the word segmentation module to obtain job-related words, thereby forming the user's job type corresponding to the user's job type. Based on the user's office type, multiple resource information items are tagged with office type labels to form a preset resource database, so that the user can search for matching target search results based on the office type.
8. The resource information formation method as described in claim 7, characterized in that, The office type label includes a function type label, and the step of identifying the office type labels of multiple resource information based on the user's office type includes: Search among the multiple resource information to find the resource information associated with the functional term; Based on the resource information associated with the functional terms, the corresponding functional type label is identified.
9. The resource information formation method as described in claim 8, characterized in that, The preset data information also includes a preset area control type, and the user's office type includes the security level of the user's office area. The step of obtaining the user's office type from the preset data information includes: Obtain the user's office location from the preset personnel database; Based on the user's office location and the preset area control type, the security level of the user's office area is determined.
10. The resource information formation method as described in claim 9, characterized in that, The office type label also includes an office area security level label, and the resource information is identified by an information security level label. The step of identifying office type labels for multiple resource information items based on the user's office type further includes: Based on the user's office area security level and the preset office area security level and information security level mapping table, search for resource information with the information security level tag among multiple resource information; Based on the preset mapping table of office area security level and information security level, resource information marked with the information security level label is further labeled with the corresponding office area security level label.
11. The resource information formation method as described in claim 7, characterized in that, Also includes: Resource information labeled with the aforementioned office type is sorted by access volume so that it is presented in order of access volume when users search using keywords.
12. The resource information formation method as described in claim 7, characterized in that, The step of automatically crawling the platform to obtain website information according to preset crawling rules includes: The platform is automatically crawled according to preset crawling rules to obtain the website homepage and multi-level links within the homepage. Based on the website homepage and its multi-level links, the website information is formed by acquiring the content, documents, and videos of the website homepage and the content, documents, and videos of each level of the multi-level links.
13. The resource information formation method as described in claim 12, characterized in that, The step of processing the website information to form multiple resource information includes: The content, documents, and videos of the website homepage are associated with the website homepage to form multiple initial information items, and the content, documents, and videos of each level of the multi-level links are associated with the links to form multiple initial information items. Clean the initial information from multiple sources; Each of the cleaned initial information items is assigned a title to form multiple resource information items.
14. An information search device, characterized in that, include: A receiving module is used to receive a search request sent by a user terminal, wherein the search request includes search keywords and user identifier; The type determination module is used to determine the user's office type based on the user identifier and preset data information. The preset data information includes a preset network management database, a preset personnel database, and a word segmentation module. The user's office type includes the user's job type. Determining the user's office type based on the user identifier and preset data information includes: obtaining the user's network management information from the preset network management database based on the user identifier; obtaining the user's job information from the preset personnel database based on the user's network management information; and segmenting the user's job information using the word segmentation module to obtain job-related terms, thereby forming the user's job type corresponding to the user's job information. The search module is used to obtain initial search results from a preset resource database based on the search keywords, wherein each resource information in the preset resource database is identified by an office type tag; The filtering module is used to filter the initial search results based on the user's office type and the office type tag, so as to obtain target search results that match the user's office type.
15. A terminal, characterized in that, Includes a communicator, the communicator being used for: Send a search request, which includes search keywords and user identifier; Receive the target search result based on the search keyword and the user identifier, wherein the target search result is the target search result obtained by the information search method according to any one of claims 1 to 6.
16. A computer device, characterized in that, The device includes a memory and a processor. The memory stores a computer program, and the processor is coupled to the memory for calling the computer program in the memory to execute the computer program to implement the steps of the information search method according to any one of claims 1 to 6, or to implement the steps of the resource information formation method according to any one of claims 7 to 13.
17. A readable storage medium, characterized in that, The readable storage medium stores a computer program executable by a computer device, which, when run on the computer device, causes the computer device to perform the steps of the information search method according to any one of claims 1 to 6, or to implement the steps of the resource information formation method according to any one of claims 7 to 13.
Citation Information
Patent Citations
Customer service-oriented enterprise knowledge base management method
CN112445782A