CN116226325A - Information search method, resource information forming method, information search device, and terminal - Google Patents

Information search method, resource information forming method, information search device, and terminal Download PDF

Info

Publication number
CN116226325A
CN116226325A CN202211669183.7A CN202211669183A CN116226325A CN 116226325 A CN116226325 A CN 116226325A CN 202211669183 A CN202211669183 A CN 202211669183A CN 116226325 A CN116226325 A CN 116226325A
Authority
CN
China
Prior art keywords
user
information
office
type
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211669183.7A
Other languages
Chinese (zh)
Inventor
司蕊
张东良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fulian Yuzhan Technology Henan Co Ltd
Original Assignee
Fulian Yuzhan Technology Henan Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fulian Yuzhan Technology Henan Co Ltd filed Critical Fulian Yuzhan Technology Henan Co Ltd
Priority to CN202211669183.7A priority Critical patent/CN116226325A/en
Publication of CN116226325A publication Critical patent/CN116226325A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/334Query execution
    • G06F16/3344Query execution using natural language analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/34Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/289Phrasal analysis, e.g. finite state techniques or chunking
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application provides an information searching method, which comprises the following steps: receiving a search request sent by a user side, wherein the search request comprises a search keyword and a user identifier; determining the office type of the user based on the user identification and preset data information; acquiring an initial search result from a preset resource database based on the search keyword, wherein each resource information mark in the preset resource database is provided with an office type label; and screening the resource information marked with the office type label from the initial search result based on the office type and the office type label of the user to form a target search result. The application also provides a resource information forming method, an information searching device, a terminal, computer equipment and a readable storage medium. According to the method and the device, the office type is introduced to assist the search keyword to search, the search result is accurate, and the information search efficiency of the user is improved while the enterprise information security management and control is ensured.

Description

Information search method, resource information forming method, information search device, and terminal
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to an information searching method, a resource information forming method, an information searching apparatus, a terminal, a computer device, and a readable storage medium.
Background
The information is generally obtained in two ways: the method comprises the steps of obtaining geographic coordinates through a public network address of a user, and then publishing information to the user through the geographic coordinates; the other is that firstly, the user directly obtains the IP subarea to process data, then establishes the IP address service interest point comparison table, when the user uses the search service, obtains the IP address of the corresponding user, finally, inquires the IP address service interest point comparison table to obtain the interest point ordering sequence of the user.
However, the information of the screening conditions according to the information acquisition mode is fuzzy, the accuracy of the obtained information is low, and the information requirement of the accurate positioning user cannot be met.
Disclosure of Invention
In view of the above, it is necessary to provide an information search method, a resource information forming method, an information search apparatus, a terminal, a computer device, and a readable storage medium to improve accuracy of information acquisition.
The embodiment of the application provides an information searching method, which comprises the following steps:
receiving a search request sent by a user side, wherein the search request comprises a search keyword and a user identifier;
determining the office type of the user based on the user identification and preset data information;
Acquiring an initial search result from a preset resource database based on the search keyword, wherein each resource information mark in the preset resource database is provided with an office type label;
and screening resource information identified with the office type label from the initial search result based on the office type of the user and the office type label to form a target search result.
When receiving a search request of a user side, the information search method determines the office type of the user corresponding to the user identification from the preset data information, screens the initial search result obtained from the preset resource library by the search keyword according to the office type of the user, and further obtains a target search result which is authorized to access by the user and is marked with an office type label corresponding to the office type of the user. The office type is introduced to assist the search keyword to search, so that the data information which is authorized to be accessed by the office type of the user is obtained, the search result is accurate, the enterprise information confidentiality control is ensured, and the information search efficiency of the user is improved.
In some embodiments, the preset data information includes a preset network management database, a preset personnel database and a word segmentation module, the office type of the user includes a function type of the user, and the step of determining the office type of the user based on the user identifier and the preset data information includes:
Acquiring network management and control information of a user from the preset network management and control database based on the user identification;
based on the network management and control information of the user, acquiring the function information of the user from the preset personnel database;
and performing word segmentation on the function information of the user through the word segmentation module to obtain function words so as to form the function type of the user corresponding to the function information of the user.
In some embodiments, the office type of the user includes an office area security of the user, the preset data information further includes a preset area management type, and the step of determining the office type of the user based on the user identifier and the preset data information further includes:
acquiring the office location of the user from the preset personnel database based on the network management and control information of the user;
and determining the office area security of the user based on the office location of the user and the preset area management and control type.
In some embodiments, the office type of the user includes an office area security of the user, and the step of determining the office type of the user based on the user identification and the preset data information further includes:
And based on the user identification, acquiring the office area security of the user from the preset network management and control database.
In some embodiments, the office type tag includes an office area security tag and a function type tag, and the step of screening the resource information identified with the office type tag from the initial search result based on the office type of the user and the office type tag to form a target search result includes:
screening out resource information marked with the office area security label from the initial search result based on the office area security of the user to form an area search result;
and screening out resource information marked with the function type label from the area search result based on the function type of the user to form a target search result.
In some embodiments, the office type tag includes an office area security tag and a function type tag, and the step of screening the resource information identified with the office type tag from the initial search result based on the office type of the user and the office type tag to form a target search result includes:
Screening resource information marked with the function type label from the initial search result based on the function type of the user to form a function search result;
and screening out resource information marked with the office area security label from the job function search result based on the user office area security to form a target search result.
In some embodiments, the information search method further comprises:
judging whether the office type label of the information in the initial search result has information matched with the function type of the user or not;
if the initial search result does not have the information of the function type matching of the user, searching out resource information with the function words in the preset resource database based on the function words corresponding to the function types of the user;
and marking the corresponding function type label for the resource information with the function words, and updating the preset resource database.
The embodiment of the application also provides a resource information forming method, which comprises the following steps:
automatically crawling the platform according to a preset crawler rule to acquire website information;
processing the website information to form a plurality of resource information;
Acquiring the office type of a user from preset data information;
and marking office type labels on a plurality of resource information based on the office type of the user to form a preset resource database, so that the user side searches out a matched target search result based on the office type.
In some embodiments, the preset data information includes a preset personnel database and a word segmentation module, the office type of the user includes a function type of the user, the office type tag includes a function type tag, and the step of acquiring the office type of the user from the preset data information includes:
acquiring the function information of the user from the preset personnel database;
and performing word segmentation on the function information of the user through the word segmentation module to obtain function words so as to form the function type of the user corresponding to the function information of the user.
In some embodiments, the step of identifying an office type tag for a plurality of the resource information based on the user's office type includes:
searching out the resource information associated with the job words from a plurality of resource information;
based on the resource information associated with the job terms, a corresponding job type tag is identified.
In some embodiments, the preset data information further includes a preset area management type, the office type of the user includes a security class of the office area of the user, and the step of obtaining the office type of the user from the preset data information includes:
acquiring the office location of the user from the preset personnel database;
and determining the office area security of the user based on the office location of the user and the preset area management and control type.
In some embodiments, the office type tag further includes an office area security tag, the resource information identifies an information security tag, and the step of identifying the office type tag for a plurality of the resource information based on the office type of the user further includes:
searching out resource information marked with the information security label from a plurality of resource information based on the office area security of the user and a preset office area security and information security mapping table;
and further identifying the corresponding office area security label for the resource information identified with the data security label based on the preset office area security and data security mapping table.
In some embodiments, the resource information forming method further includes:
The resource information identified with the office type label is ordered by access amount so that the user can present in order of access amount when searching with the keyword.
In some embodiments, the step of automatically crawling the platform according to the preset crawler rule to obtain the website information includes:
automatically crawling the platform according to a preset crawler rule to acquire a website homepage and multi-level links in the homepage;
and acquiring the content, the document and the video of the website homepage and the content, the document and the video in each level of links in the multi-level links based on the website homepage and the multi-level links in the homepage so as to form the website information.
In some embodiments, the step of processing the website information to form a plurality of resource information includes:
respectively and correspondingly associating the content, the document and the video of the website homepage with the website homepage to form a plurality of initial information, and correspondingly associating the content, the document and the video in each level of links in the multi-level links with the links to form a plurality of initial information;
washing a plurality of initial information;
and establishing titles for the cleaned initial information one by one to form resource information.
The embodiment of the application also provides an information searching device, which comprises:
the receiving module is used for receiving a search request sent by a user side, wherein the search request comprises a search keyword and a user identifier;
the type determining module is used for determining the office type of the user based on the user identification and the preset data information;
the searching module is used for acquiring initial searching results from a preset resource database based on the searching key information, wherein each piece of resource information in the preset resource database is marked with an office type label;
and the screening module is used for screening the initial search result based on the office type of the user and the office type label so as to obtain a target search result matched with the office type of the user.
When the information searching device receives a searching request of a user side, determining the office type of the user corresponding to the user identifier from the preset data information, screening the initial searching result obtained from the preset resource library by the searching keyword according to the office type of the user, and further obtaining a target searching result which is authorized to access by the user and is marked with an office type label corresponding to the office type of the user. The office type is introduced to assist the search keyword to search, so that the data information which is authorized to be accessed by the office type of the user is obtained, the search result is accurate, the enterprise information confidentiality control is ensured, and the information search efficiency of the user is improved.
The embodiment of the application also provides a terminal, which comprises a communicator, wherein the communicator is used for:
sending a search request, wherein the search request comprises a search keyword and a user identifier;
and receiving target search results fed back based on the search keywords and the user identification, wherein the target search results are obtained by the information search method in the embodiment.
The embodiment of the application further provides a computer device, which comprises a memory and a processor, wherein the memory stores a computer program, and the processor is coupled with the memory and is used for calling the computer program in the memory to realize the steps of the information searching method described in the embodiment or realize the steps of the resource information forming method described in the embodiment when the computer program is executed.
The embodiment of the present application also provides a readable storage medium storing a computer program executable by a computer device, where the computer program when executed on the computer device causes the computer device to perform the steps of the information searching method described in the foregoing embodiment, or implement the steps of the resource information forming method described in the foregoing embodiment.
Drawings
Fig. 1 is a flowchart of an information searching method according to an embodiment of the present application.
Fig. 2 is a flowchart of an embodiment of step S200 in fig. 1.
Fig. 3 is a flowchart of another embodiment of step S200 in fig. 1.
Fig. 4 is a flowchart of an embodiment of step S400 in fig. 1.
Fig. 5 is a flowchart of another embodiment of step S400 in fig. 1.
Fig. 6 is a flowchart of an information searching method according to another embodiment of the present application.
Fig. 7 is a flowchart of a method for forming resource information according to an embodiment of the present application.
Fig. 8 is a flowchart of an embodiment of step S10 in fig. 7.
Fig. 9 is a flowchart of an embodiment of step S20 in fig. 7.
Fig. 10 is a flowchart of an embodiment of step S30 in fig. 7.
Fig. 11 is a flowchart of another embodiment of step S30 in fig. 7.
Fig. 12 is a flowchart of an embodiment of step S40 in fig. 7.
Fig. 13 is a flowchart of another embodiment of step S40 in fig. 7.
Fig. 14 is a composition diagram of an information search apparatus provided in an embodiment of the present application.
Fig. 15 is a schematic diagram of a terminal according to an embodiment of the present application.
Fig. 16 is a schematic diagram of a computer device according to an embodiment of the present application.
Description of the main reference signs
Information search apparatus 10
Receiving module 11
Type determination module 12
Search module 13
Screening module 14
Computer device 20
Processor 21
Memory 22
Terminal 30
Communicator 31
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.
In the description of the present application, it should be understood that the terms "center," "longitudinal," "transverse," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," etc. indicate or are based on the orientation or positional relationship shown in the drawings, merely for convenience of description and to simplify the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present application. Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more of the described features. In the description of the present application, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
In the description of the present application, it should be noted that, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be mechanically connected, electrically connected or can be communicated with each other; can be directly connected or indirectly connected through an intermediate medium, and can be communicated with the inside of two elements or the interaction relationship of the two elements. The specific meaning of the terms in this application will be understood by those of ordinary skill in the art as the case may be.
The embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
Referring to fig. 1, an embodiment of the present application provides an information searching method applied to an information searching apparatus 10 (to be described below in fig. 14), the information searching apparatus 10 may be a server, and the information searching method is applied to the server in the following to be described by way of example, and includes:
s100, receiving a search request sent by a user terminal, wherein the search request comprises a search keyword and a user identifier.
Specifically, in step S100, the user side may provide a unified search interface for the user, and the user inputs the search keyword in the search box of the search interface.
For example, a user may input a search keyword through a search interface on the user side, and the user side generates a search request according to an operation of the user and transmits the search request to the server. The search request comprises a search keyword and a user identifier. The user terminal and the server can be in communication connection through a communication network. The user end can be a desktop computer, a notebook computer, a tablet personal computer, a mobile phone and the like, and the server can be an independent server or a server cluster formed by a plurality of servers.
For example, the search keyword may be a single word and a phrase set or sentence composed of a plurality of words, and may be a Chinese character, english, pinyin, or the like.
For example, the user identifier may include basic information of a name, a job number, an IP address, a MAC address, etc. of the user, where the name, the job number, the IP address, the MAC address are in one-to-one correspondence. Name, job number, IP address refer to the name, job number, and IP address of the business employee office registration, respectively.
S200, determining the office type of the user based on the user identification and preset data information.
Specifically, in step S200, the user identifier includes at least an IP address and a MAC address of the user, and the office type of the user includes a work content type and a work area type.
S300, acquiring initial search results from a preset resource database based on the search keywords, wherein each resource information mark in the preset resource database is provided with an office type label.
Specifically, in step S300, for example, the search keyword input by the user is "mobile phone chip", and the server searches the data information related to "mobile phone chip" from the preset resource library according to "mobile phone chip", that is, the initial search result.
Further, each piece of resource information in the preset resource database is identified with an office type label, that is, each piece of data information in the initial search result about the 'mobile phone chip' at the search is identified with an office type label.
S400, based on the office type and the office type label of the user, resource information marked with the office type label is screened out from the initial search result to form a target search result.
Specifically, in step S400, according to the office type of the user obtained in step S200, resource information identified with the office type tag of the user obtained in step S200 is screened from the initial search result obtained in step S300, so as to form a target search result.
In some embodiments, the preset data information includes a preset network management database, a preset personnel database, and a word segmentation module, and the office type of the user includes a function type of the user. The network management and control database at least comprises user authority groups, and the preset personnel database at least comprises function information and office places of the users.
Specifically, with further reference to fig. 2, step S200, determining the office type of the user based on the user identifier and the preset data information, includes:
s210, based on the user identification, acquiring network management and control information of the user from a preset network management and control database.
Specifically, in step S210, the preset network management and control database stores the IP address, the MAC address, and the network management and control information of each user terminal, and the server may search the preset network management and control database for the corresponding network management and control information according to the IP address or the MAC address of the user. The network management information of the user may include job number, office area security class, etc.
S211, acquiring the function information of the user from a preset personnel database based on the network management and control information of the user.
Specifically, in step S211, the preset personnel database stores the job number, name, job information, office location, etc. of each user, and when the network management information is the job number, the server obtains the job information of the corresponding user from the preset personnel database according to the job number of the user.
The job information of the user refers to a summary of the job position and job content of the user, for example: test engineers, job duty is: and detecting the quality of the product.
S212, the function information of the user is segmented through the segmentation module to obtain function words so as to form corresponding function types.
Specifically, in step S212, the word segmentation module may be jieba word segmentation software, and the server performs word segmentation on the function information of the user through the word segmentation module to obtain function words, so as to form corresponding function types.
For example, the server will "test engineers, job responsibilities are: detecting the quality of a product, namely performing word segmentation to obtain word segmentation test, detection and quality so as to form 3 corresponding function types, wherein the method specifically comprises the following steps of: testing, detecting and quality.
In some embodiments, the user's office type includes a user's office area security level, and the preset data information further includes a preset area management type. The office area security level of the user comprises a primary special protection area, a secondary special protection area and a non-special protection area, as shown in the following table 1, and the preset area management and control type comprises different office area security levels of different office places.
TABLE 1 preset data information (two-in-one of preset personnel database and preset zone control type)
Figure BDA0004015468980000091
Figure BDA0004015468980000101
Specifically, referring further to fig. 3, step S200, determining the office type of the user based on the user identifier and the preset data information, further includes:
s220, based on the network management and control information of the user, acquiring the office place of the user from a preset personnel database.
Specifically, in step S220, the network management information of the user here includes a job number. And the server acquires the office location of the user from a preset personnel database according to the work number of the user. For example, the office place of the user with the job number G0011 is in B area 3B 201.
S221, determining the office area security level of the user based on the office location of the user and the preset area management and control type.
Specifically, in step S221, the server matches the office location of the user with the preset area management and control type, so as to obtain the office area security class to which the office location of the user belongs. For example, after the preset data information table 1 is queried to obtain 3B 201 of the office location of the user, the office area security of the user can be found to be the secondary special protection area. The office location of the user is different, the office area security level of the user is different, and the user authority is different, for example, the data in the computer used by the staff in the first-level special insurance area and the website authority used by the staff are in a security level, the root authority of the data sent to the external network is not available, the authority of the data received from the external network is not available, and the authority of the shared data in the first-level special insurance area is not available; the data in the computer used by office staff in the secondary special insurance zone and the used website are secondary secret, and the data is not sent to the external network, but the external network data authority can be received, and the authority for consulting the shared data of the secondary special insurance zone is provided; computers used by office staff in the non-special-protection area can exchange data between the internal and external networks, but have no authority to transmit and receive the computer data of staff in the primary special-protection area and the secondary special-protection area.
In some embodiments, step S200, based on the user identifier, obtains the office information of the user from the preset data information, and further includes:
based on the user identification, the office area security level of the user is obtained from a preset network management and control database.
Specifically, in the above step, the preset network management and control database pre-stores the job number, name and office area security corresponding to each employee computer IP address or MAC address, where the user's office type only includes the user's office area security. The server can directly acquire the office area security level of the user from a preset network management and control database according to the user identification, so that the resource information with the office area security level identified is screened out from the initial search result to form a target search result.
In an embodiment, the preset personnel database and the preset area management type may be stored in the form of separate comparison tables, or may be stored in the form of a combination of the two comparison tables, as shown in table 1.
In some embodiments, the office type label includes an office area security label and a function type label.
Specifically, with further reference to fig. 4, step S400, based on the office type and the office type tag of the user, screens the resource information identified with the office type tag from the initial search result to form a target search result, includes:
S410, screening out resource information marked with office area security labels from the initial search results based on the office area security of the user to form area search results.
Specifically, in step S410, the office area security label includes a primary security label, a secondary security label, a non-security label, and the like. And the server screens the resource information marked with the office area security label from the initial search result obtained in the step S300 according to the office area security of the user obtained in the step S221 so as to form an area search result.
S411, based on the function type of the user, screening out the resource information with the function type label from the area search result to form a target search result.
Specifically, in step S411, the function types include test, detection, quality, sales, design, law, administration, and the like, and correspondingly, the function type label includes test label, detection label, quality label, sales label, design label, law label, administration label, and the like, and the server screens the resource information identified with the function type label from the area search result obtained in step S410 according to the function type of the user obtained in step S212, so as to form the target search result.
In some embodiments, the office area security may be obtained from steps S220-S221, and then the user' S function type may be obtained from steps S211-S212.
In some embodiments, the resource information with the function type tag may be screened out from the initial search result obtained in step S300, and then the resource information with the office area security tag may be screened out.
Specifically, with further reference to fig. 5, step S400, based on the office type of the user, screens resource information identified with the office type tag from the initial search result to form a target search result, includes:
s420, screening resource information with function type labels from the initial search results based on the function types of the users to form function search results.
Specifically, in step S420, the server screens the resource information identified with the function type tag from the initial search result obtained in step S300 according to the function type of the user obtained in step S212, so as to form a function search result.
S421, screening out resource information marked with office area security tags from the function search results based on the office area security of the user to form target search results.
Specifically, in step S421, the server screens the resource information identified with the office area security label from the function search result obtained in step S420 according to the office area security of the user obtained in step S221, so as to form a target search result.
When receiving a search request of a user side, the information search method determines the office type of the user corresponding to the user identifier from the preset data information, screens initial search results obtained from the preset resource library by the search keywords according to the office type of the user, and further obtains target search results which are authorized to access by the user and are identified with office type labels corresponding to the office type of the user. The office type is introduced to assist the search keyword to search, so that the data information which is authorized to be accessed by the office type of the user is obtained, the search result is accurate, the enterprise information confidentiality control is ensured, and the information search efficiency of the user is improved.
As further shown in conjunction with fig. 6, in some embodiments, the information search method further comprises:
s500, judging whether the office type label of the information in the initial search result has information matched with the function type of the user.
Specifically, the office type label includes a function type label, and in this step, according to the function type obtained in step S212, the function type label matching the function type is screened according to the function type label of the resource information in the initial search result obtained in step S300.
S600, if the office type label of the information in the initial search result does not have the information of the function type matching of the user, searching the resource information with the function words in the preset resource database based on the function words corresponding to the function types of the user.
Specifically, the function type of the user obtained in step S212 is, for example, detection, when searching with the "mobile phone chip", although the obtained initial search result has a plurality of pieces of resource information related to the "mobile phone chip", if the resource information obtained by the initial search is not identified by the "detection" tag, the server will not execute the search, and then the result is sent to the user side for presentation.
S700, marking the corresponding function type label of the resource information with the function words, and updating the preset resource database.
Specifically, the server marks the corresponding function type tag, for example, the "detection" tag described in step S600, on the resource information having the function word, and updates the preset resource database.
In this embodiment, more and more detailed function types are generated by continuously storing the function types, and the preset resource library is continuously updated, so that the search result is more accurate.
The information searching method introduces office type and preset data information to assist in searching keywords so as to acquire information related to the office of a user, and the searching result is accurate, so that enterprise information data confidentiality management and control is ensured, and the office efficiency of the user is improved.
Referring to fig. 7, an embodiment of the present application further provides a method for forming resource information, where the method includes:
s10, automatically crawling the platform according to a preset crawler rule to acquire website information.
Specifically, referring to fig. 8, step S10, automatically crawling the platform according to a preset crawler rule to obtain website information includes:
s11, automatically crawling the platform according to preset crawler rules to acquire a website homepage and multi-level links in the homepage.
Specifically, the preset crawler rule in step S11 is, for example: searching a website needing registration verification, and automatically inputting a preset account number, a preset password and a preset verification code. The platform may be all websites within the corporate local area network, in particular all websites developed inside the corporate group and/or all external websites applied to the corporate group. Websites developed inside the corporate group include, but are not limited to, production management platforms, product design platforms, software development platforms, equipment management platforms, sales market management analysis platforms, personnel administration, legal management platforms, enterprise culture platforms, various technology learning and analysis platforms, and the like.
S12, acquiring the content, the document and the video of the website homepage and the content, the document and the video in each level of links in the multi-level links based on the website homepage and the multi-level links in the homepage so as to form website information.
Specifically, based on the website homepage and multi-level links in the homepage, downloading content, documents and videos therein is performed to form website-related information.
S20, processing the website information to form a plurality of resource information.
Specifically, referring further to fig. 9, in step S20, processing the website information to form a plurality of resource information includes:
S21, respectively and correspondingly associating the content, the document and the video of the website homepage with the website homepage to form a plurality of initial information, and correspondingly associating the content, the document and the video in each level of links in the multi-level links with the links to form a plurality of initial information.
Specifically, the website homepage can form a piece of resource information, the website homepage and the text content in the website homepage are correspondingly associated to form an initial information, the website homepage and the document in the website homepage are correspondingly associated to form an initial information, the website homepage and the video in the website homepage are correspondingly associated to form an initial information, the website homepage and each level of link in the website homepage are correspondingly associated to form an initial information, and the content, the document and the video in each level of link are correspondingly associated to form initial information of each link, so that a plurality of initial information are formed.
S22, cleaning the plurality of initial information.
Specifically, the washing of the plurality of initial information includes: when downloading homepage, multi-level links in homepage and corresponding content, document and video, advertisement is cleared.
S23, titles are built for the cleaned initial information one by one to form resource information.
For example, if the cleaned initial information is a website homepage and text content therein, the title of the resource information is established by the theme in the text content, if the cleaned initial information is a website homepage and a document therein, the title of the resource information is established by the theme in the document, and if the cleaned initial information is a website homepage and a video therein, the title of the resource information is established by the theme in the video, and similarly, the title is established by each level of links and the initial information formed by the corresponding associated content, document and video.
S30, acquiring the office type of the user from the preset data information.
In some embodiments, the preset data information comprises a preset personnel database and a word segmentation module, the office type of the user comprises a function type of the user, and the office type tag comprises a function type tag. Optionally, the preset data information in this embodiment is the same as the preset data information in the information searching method in any one of the foregoing embodiments, which is not described herein.
Specifically, with further reference to fig. 10, step S30 of acquiring the office type of the user from the preset data information includes:
s31, acquiring the function information of the user from a preset personnel database.
Specifically, the job information refers to a summary of job contents of the job, for example, "test engineer, job responsibilities are: and detecting the quality of the product.
S32, word segmentation is carried out on the function information of the user through the word segmentation module to obtain function words so as to form corresponding function types.
For example, by the word segmentation module pair "test engineer, work responsibilities are: detecting the quality of the product, and performing word segmentation to obtain detection and quality so as to form corresponding function types: detecting and quality.
Alternatively, the preset personnel database and the preset area management type may be stored in the form of separate look-up tables, or may be stored in the form of a look-up table, such as table 1.
In some embodiments, the preset data information further comprises a preset area management type, and the user's office type comprises a user's office area security level.
Specifically, with further reference to fig. 11, step S30, obtaining the office type of the user from the preset data information, further includes:
s33, acquiring the office place of the user from a preset personnel database.
S34, determining the office area security level of the user based on the office location of the user and the preset area management and control type.
S40, marking office type labels on the plurality of resource information based on the office type of the user to form a preset resource database, so that the user side searches out a matched target search result based on the office type.
Optionally, the method for searching the matched target search result by the user side based on the office type is the information searching method described in any one of the embodiments.
Specifically, with further reference to fig. 12, step S40 of identifying an office type tag for a plurality of resource information based on the office type of the user includes:
and S41, searching out resource information associated with the functional words from the plurality of resource information.
For example, if the function word is "detection", the resource information related to "detection" is searched for among the plurality of resource information.
S42, based on the resource information associated with the function words, corresponding function type labels are identified.
For example, the "detect" related resource information identifies a "detect" function type tag.
In some embodiments, the office type label further comprises an office area security label, and the resource information identifies the information security label. Information security labels include those that are super-secure, sub-secure, and unlabeled. The information security label can be a manual identification or can be determined based on the security displayed on the website when the website crawlers are designing different websites, and particularly, the information security label can be used for identifying the website based on the security of the website by personnel with different functions when general enterprises design different websites.
Specifically, with further reference to fig. 13, step S40 of identifying office type tags for a plurality of resource information based on the office type of the user further includes:
s43, searching out resource information marked with the information security label from the plurality of resource information based on the office area security of the user and a preset office area security and information security mapping table.
Specifically, the preset office area security and information security mapping table is shown in table 2 below.
Table 2 office area security and information security mapping table
Information security label Office area security level
Secret label First-class special security area
Secondary secret label Second-level special protection area
Label-free Non-special security area
S44, further identifying the corresponding office area security label for the resource information identified with the data security label based on a preset office area security and data security mapping table.
For example, the information security label of the original identifier of the resource information is an "secret-proof" label, and the step is executed to further identify the "primary special-protection area" label of the resource information with the "secret-proof" label or replace the "secret-proof" label with the "primary special-protection area" label based on the office area secret-level and data secret-level mapping table preset in table 2.
It should be noted that when each piece of resource information is identified according to the actual function, some pieces of resource information may be a tag, some pieces of resource information may be a plurality of tags, for example, one piece of resource information includes content of a mobile phone chip detection method and quality judgment, and then the tag at least includes a "detection" tag and a "quality" tag.
In some embodiments, the resource information forming method further includes:
And S50, sorting the resource information marked with the office type label according to the access quantity so as to enable the user to display according to the access quantity when searching by using the keywords.
In the above embodiment, the platform is automatically crawled according to the preset crawler rule to obtain the website information, the website information is preprocessed to obtain valuable resource information, and the resource information is classified, so that a more detailed preset resource database is obtained, and the user side searches out the matched target search result based on the office type.
Referring to fig. 14, an information searching apparatus 10 is further provided in the embodiment of the present application.
In the present embodiment, the information search apparatus 10 can be used to perform the information search method described above based on the same idea as the information search method in the above embodiment. For ease of illustration, only those portions relevant to embodiments of the information search apparatus 10 are shown in the constituent drawings, and those skilled in the art will appreciate that the illustrated structure is not limiting of the information search apparatus 10 and may include more or fewer components than illustrated, or certain components may be combined, or a different arrangement of components.
Specifically, the information search apparatus 10 includes: a receiving module 11, a type determining module 12, a searching module 13 and a screening module 14. The receiving module 11 is configured to receive a search request sent by a user terminal, where the search request includes a search keyword and a user identifier. The type determining module 12 is configured to determine an office type of the user based on the user identification and the preset data information. The search module 13 is configured to obtain an initial search result from a preset resource database based on the search key information, where each resource information in the preset resource database is identified by an office type tag. The filtering module 14 is configured to filter the initial search result based on the office type of the user to obtain a target search result matching the office type of the user.
When the information searching device receives a searching request of a user side, determining the office type of the user corresponding to the user identifier from the preset data information, screening the initial searching result obtained from the preset resource library by the searching keyword according to the office type of the user, and further obtaining a target searching result which is authorized to access by the user and is marked with an office type label corresponding to the office type of the user. The office type is introduced to assist the search keyword to search, so that the data information which is authorized to be accessed by the office type of the user is obtained, the search result is accurate, the enterprise information confidentiality control is ensured, and the information search efficiency of the user is improved.
Referring further to fig. 15, the embodiment of the present application further provides a terminal 30, including a communicator 31, where the communicator 30 is configured to: sending a search request, wherein the search request comprises a search keyword and a user identifier; and receiving target search results based on the search keywords and user identification feedback, wherein the target search results are obtained by the information search method in the embodiment.
With further reference to fig. 16, the embodiment of the present application further provides a computer device 20, including a processor 21 and a memory 22, where the memory 22 stores a computer program, and the processor 21 is coupled to the memory 22 and configured to invoke the computer program in the memory 22 to implement the steps of the method for searching information in the embodiment or implement the steps of the method for forming resource information in the embodiment when the computer program is executed.
By way of example, a computer program may be divided into one or more modules/units, which are stored in the memory 22 and executed by the processor 21. One or more modules/units may be a series of computer instructions capable of performing a specified function. For example, the system may be divided into a receiving module 11, a type determining module 12, a searching module 13, and a screening module 14 shown in fig. 14.
The computer device 20 may be a desktop computer, a notebook computer, a palm top computer, an industrial computer, a tablet computer, a server, or the like. It will be appreciated by those skilled in the art that the schematic diagram is merely an example of the computer device 20 and is not limiting of the computer device 20, and may include more or fewer components than shown, or may combine certain components, or different components, e.g., the computer device 20 may also include input and output devices, network access devices, buses, etc.
The processor 21 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The general purpose processor may be a microprocessor, a single-chip microcomputer or the processor 21 may be any conventional processor or the like.
The memory 22 may be used to store computer instructions and/or modules/units, and the processor 21 implements the various functions of the computer device 20 by executing or executing the computer instructions and/or modules/units stored within the memory 22 and invoking data stored within the memory 22. The memory 22 may mainly include a storage program area that may store an operating system, application programs required for at least one function, and the like, and a storage data area; the storage data area may store data created according to the use of the computer device 20, or the like. In addition, the memory 22 may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card), at least one disk storage device, flash memory device, or other non-volatile solid state storage device.
The present application also discloses a readable storage medium, wherein 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 above-described embodiment information search method, or to implement the steps of the resource information forming method of the above-described embodiment.
For example, the storage medium may be a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc. which may store the program code.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein.
Finally, it should be noted that the above embodiments are merely for illustrating the technical solution of the present application and not for limiting, and although the present application has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that the technical solution of the present application may be modified or substituted without departing from the spirit and scope of the technical solution of the present application.

Claims (19)

1. An information search method, comprising:
Receiving a search request sent by a user side, wherein the search request comprises a search keyword and a user identifier;
determining the office type of the user based on the user identification and preset data information;
acquiring an initial search result from a preset resource database based on the search keyword, wherein each resource information mark in the preset resource database is provided with an office type label;
and screening resource information identified with the office type label from the initial search result based on the office type of the user and the office type label to form a target search result.
2. The information searching method of claim 1, wherein the preset data information comprises a preset network management database, a preset personnel database and a word segmentation module, the office type of the user comprises a function type of the user, and the step of determining the office type of the user based on the user identification and the preset data information comprises:
acquiring network management and control information of a user from the preset network management and control database based on the user identification;
based on the network management and control information of the user, acquiring the function information of the user from the preset personnel database;
And performing word segmentation on the function information of the user through the word segmentation module to obtain function words so as to form the function type of the user corresponding to the function information of the user.
3. The information searching method of claim 2, wherein the user's office type includes a user's office area security, the preset data information further includes a preset area management type, and the step of determining the user's office type based on the user identification and the preset data information further includes:
acquiring the office location of the user from the preset personnel database based on the network management and control information of the user;
and determining the office area security of the user based on the office location of the user and the preset area management and control type.
4. The information searching method of claim 2, wherein the user's office type includes a user's office area security, and the step of determining the user's office type based on the user identification and the preset data information further includes:
and based on the user identification, acquiring the office area security of the user from the preset network management and control database.
5. The information searching method of claim 3, wherein the office type label includes an office area security label and a function type label, and the step of screening resource information identified with the office type label from the initial search result based on the office type of the user and the office type label to form a target search result includes:
Screening out resource information marked with the office area security label from the initial search result based on the office area security of the user to form an area search result;
and screening out resource information marked with the function type label from the area search result based on the function type of the user to form a target search result.
6. The information searching method of claim 3, wherein the office type label includes an office area security label and a function type label, and the step of screening resource information identified with the office type label from the initial search result based on the office type of the user and the office type label to form a target search result includes:
screening resource information marked with the function type label from the initial search result based on the function type of the user to form a function search result;
and screening out resource information marked with the office area security label from the job function search result based on the user office area security to form a target search result.
7. The information search method of claim 2, further comprising:
Judging whether the office type label of the information in the initial search result has information matched with the function type of the user;
if the initial search result does not have the information of the function type matching of the user, searching out resource information with the function words in the preset resource database based on the function words corresponding to the function types of the user;
and marking the corresponding function type label for the resource information with the function words, and updating the preset resource database.
8. A method for forming resource information, the method comprising:
automatically crawling the platform according to a preset crawler rule to acquire website information;
processing the website information to form a plurality of resource information;
acquiring the office type of a user from preset data information;
and marking office type labels on a plurality of resource information based on the office type of the user to form a preset resource database, so that the user side searches out a matched target search result based on the office type.
9. The resource information forming method as claimed in claim 8, wherein the preset data information includes a preset personnel database, a word segmentation module, the office type of the user includes a function type of the user, the office type tag includes a function type tag, and the step of acquiring the office type of the user from the preset data information includes:
Acquiring the function information of the user from the preset personnel database;
and performing word segmentation on the function information of the user through the word segmentation module to obtain function words so as to form the function type of the user corresponding to the function information of the user.
10. The resource information forming method as claimed in claim 9, wherein the step of identifying a plurality of the resource information based on the office type of the user includes:
searching out the resource information associated with the job words from a plurality of resource information;
based on the resource information associated with the job terms, a corresponding job type tag is identified.
11. The resource information forming method as claimed in claim 10, wherein the preset data information further includes a preset area management type, the user's office type includes a user's office area security, and the step of acquiring the user's office type from the preset data information includes:
acquiring the office location of the user from the preset personnel database;
and determining the office area security of the user based on the office location of the user and the preset area management and control type.
12. The resource information forming method as claimed in claim 11, wherein the office type label further includes an office area security label, the resource information is identified with an information security label, and the step of identifying a plurality of the resource information based on the office type of the user further includes:
searching out resource information marked with the information security label from a plurality of resource information based on the office area security of the user and a preset office area security and information security mapping table;
and further identifying the corresponding office area security label for the resource information identified with the data security label based on the preset office area security and data security mapping table.
13. The resource information forming method as claimed in claim 8, further comprising:
the resource information identified with the office type label is ordered by access amount so that the user can present in order of access amount when searching with the keyword.
14. The resource information forming method as claimed in claim 8, wherein the step of automatically crawling the platform according to the preset crawler rule to acquire the website information comprises:
Automatically crawling the platform according to a preset crawler rule to acquire a website homepage and multi-level links in the homepage;
and acquiring the content, the document and the video of the website homepage and the content, the document and the video in each level of links in the multi-level links based on the website homepage and the multi-level links in the homepage so as to form the website information.
15. The resource information forming method as claimed in claim 14, wherein the step of processing the website information to form a plurality of resource information includes:
the content, the document and the video of the website homepage are correspondingly associated with the website homepage to form a plurality of initial information, and the content, the document and the video in each level of links in the multi-level links are correspondingly associated with the links to form a plurality of initial information;
washing a plurality of initial information;
and establishing titles for the cleaned initial information one by one to form resource information.
16. An information search apparatus, comprising:
the receiving module is used for receiving a search request sent by a user side, wherein the search request comprises a search keyword and a user identifier;
the type determining module is used for determining the office type of the user based on the user identification and the preset data information;
The searching module is used for acquiring initial searching results from a preset resource database based on the searching key information, wherein each piece of resource information in the preset resource database is marked with an office type label;
and the screening module is used for screening the initial search result based on the office type of the user and the office type label so as to obtain a target search result matched with the office type of the user.
17. A terminal comprising a communicator for:
sending a search request, wherein the search request comprises a search keyword and a user identifier;
receiving target search results fed back based on the search keywords and the user identification, wherein the target search results are obtained by the information search method according to any one of claims 1 to 7.
18. A computer device comprising a memory and a processor, the memory storing a computer program, the processor being coupled to the memory for invoking the computer program in the memory to perform the steps of the information search method of any of claims 1-7 or the steps of the resource information formation method of any of claims 8-15 when the computer program is executed.
19. 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 of any one of claims 1 to 7 or to implement the steps of the resource information forming method of any one of claims 8 to 15.
CN202211669183.7A 2022-12-24 2022-12-24 Information search method, resource information forming method, information search device, and terminal Pending CN116226325A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211669183.7A CN116226325A (en) 2022-12-24 2022-12-24 Information search method, resource information forming method, information search device, and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211669183.7A CN116226325A (en) 2022-12-24 2022-12-24 Information search method, resource information forming method, information search device, and terminal

Publications (1)

Publication Number Publication Date
CN116226325A true CN116226325A (en) 2023-06-06

Family

ID=86588233

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211669183.7A Pending CN116226325A (en) 2022-12-24 2022-12-24 Information search method, resource information forming method, information search device, and terminal

Country Status (1)

Country Link
CN (1) CN116226325A (en)

Similar Documents

Publication Publication Date Title
EP3745276A1 (en) Discovering a semantic meaning of data fields from profile data of the data fields
US8335799B2 (en) Automatic website generator
US7657519B2 (en) Forming intent-based clusters and employing same by search
US8190556B2 (en) Intellegent data search engine
US7747601B2 (en) Method and apparatus for identifying and classifying query intent
US8781813B2 (en) Intent management tool for identifying concepts associated with a plurality of users' queries
US8645385B2 (en) System and method for automating categorization and aggregation of content from network sites
US7296012B2 (en) Method of and apparatus for multimedia processing, and computer product
US20170109454A1 (en) Identifying an industry associated with a web page
US20020114522A1 (en) System and method for compiling images from a database and comparing the compiled images with known images
US20060026114A1 (en) Data gathering and distribution system
US9646246B2 (en) System and method for using a statistical classifier to score contact entities
US20050192948A1 (en) Data harvesting method apparatus and system
US20080005080A1 (en) Interactive facsimile directory
CN112597147A (en) Method for generating scene configuration strategy, scene configuration method and device thereof
Wu et al. Bootstrapping domain ontology for semantic web services from source web sites
CN109214362A (en) Bill processing method and relevant device
JP2015103035A (en) Name card data verification system
CN116226325A (en) Information search method, resource information forming method, information search device, and terminal
US20030120614A1 (en) Automated e-commerce authentication method and system
CN111429110B (en) Store standardized auditing method, store standardized auditing device, store standardized auditing equipment and store medium
KR20010103230A (en) System and Method of Searching and Registering Domain Name
JP2007299093A (en) Document management system
US20230401646A1 (en) Document Uniqueness Verification
KR101983103B1 (en) Method for providing customized information to machine industry through behavior pattern analysis

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination