CN110659418A - Content searching method and device, storage medium and computing equipment - Google Patents

Content searching method and device, storage medium and computing equipment Download PDF

Info

Publication number
CN110659418A
CN110659418A CN201910867233.4A CN201910867233A CN110659418A CN 110659418 A CN110659418 A CN 110659418A CN 201910867233 A CN201910867233 A CN 201910867233A CN 110659418 A CN110659418 A CN 110659418A
Authority
CN
China
Prior art keywords
search
content
user
server
access
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
CN201910867233.4A
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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN201910867233.4A priority Critical patent/CN110659418A/en
Publication of CN110659418A publication Critical patent/CN110659418A/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/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present disclosure provides a content search method, apparatus, storage medium, and computing device, which are used to solve the problem of low efficiency caused by the need of a user to repeatedly search for the same keyword in each content server during searching in the related art. Firstly, receiving a search request sent by a terminal, wherein the search request comprises a search keyword and a user identifier; searching an access address corresponding to the content server in the access authority corresponding to the user identifier from an access address list; distributing the search request to a corresponding content server through the access address; and receiving the search results returned by the content servers and returning the search results to the terminal for display. The method greatly improves the search efficiency, reduces the repeated development work of the search pages of each content server, reduces the operation that the user repeatedly inputs the search terms in each page, and can give the search results based on the access authority when accessing each website.

Description

Content searching method and device, storage medium and computing equipment
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a content search method, an apparatus, a storage medium, and a computing device.
Background
Based on the development of network technology and content services, the same organization may administer multiple internal websites. Each internal website typically supports keyword searches.
The inventor finds that the search efficiency needs to be improved because the user is required to repeatedly input the same keyword in each internal website during searching.
Disclosure of Invention
The present disclosure provides a content search method, apparatus, storage medium, and computing device, to at least solve the problem of low efficiency caused by the need for a user to repeatedly input the same keyword at each internal website during searching in the related art. The technical scheme of the disclosure is as follows:
according to a first aspect of embodiments of the present disclosure, there is provided a content search method, including:
receiving a search request sent by a terminal, wherein the search request comprises a search keyword and a user identifier;
searching access addresses respectively corresponding to the content servers in the access authority corresponding to the user identification from an access address list;
distributing the search request to a corresponding content server through the access address;
and receiving the search results returned by the content servers and returning the search results to the terminal for display.
In one embodiment, the user identification is user login credentials;
and the user login credentials are acquired by the terminal from a unified authentication platform.
In one embodiment, the terminal is provided with a unified search interface, and the unified search interface comprises a plurality of selectable content server identifications;
the user login certificate is generated after the unified authentication platform authenticates the login identity information of the terminal, the login identity information is used for the unified authentication platform to determine whether the user has access authority to a specified content server, and the specified content server is a content server corresponding to the content server identifier selected by the user on the unified search interface.
In one embodiment, generating the list of access addresses comprises:
receiving an access address of a search service provided by a content server and a corresponding content server identifier, which are input in a service registration page;
and correspondingly recording the access address and the content server identification into the access address list.
In one embodiment, the search service provided by the content server is a service supporting multiple development languages.
In one embodiment, each search result has a corresponding score, wherein the score is higher when the click rate of the user is larger in the search results aiming at the same keyword;
before the search result is returned to the terminal for display, the method further comprises the following steps:
and sorting the search results according to the scores.
According to a second aspect of the embodiments of the present disclosure, there is provided a content search method including:
receiving a search request sent by a centralized search server through an access address provided for the centralized search server, wherein the search request carries a search keyword and a user identifier;
searching a search result which is in the access authority corresponding to the user identification and corresponds to the search keyword;
and returning the search result to the centralized search server.
In one embodiment, the user identifier is a user login credential, and the user login credential is generated by the unified authentication platform after the terminal login identity information authentication is passed;
searching the search result which is in the access authority corresponding to the user identification and corresponds to the search keyword, wherein the search result comprises the following steps:
sending the user login certificate to the unified authentication platform for authority authentication;
receiving an authentication result returned by the unified authentication platform;
determining the access right based on the authentication result;
and searching a search result corresponding to the search keyword based on the access authority.
According to a third aspect of the embodiments of the present disclosure, there is provided a content search apparatus including:
the first receiving module of the search request is configured to execute the search request sent by the receiving terminal, and the search request comprises a search keyword and a user identification;
the access address searching module is configured to search the access addresses respectively corresponding to the content servers in the access authority corresponding to the user identification from an access address list;
a search request distribution module configured to perform distribution of a search request to a corresponding content server through the access address;
and the search result processing module is configured to receive the search results returned by the content servers and return the search results to the terminal for display.
In one embodiment, the user identification is user login credentials;
and the user login credentials are acquired by the terminal from a unified authentication platform.
In one embodiment, the terminal is provided with a unified search interface, and the unified search interface comprises a plurality of selectable content server identifications;
the user login certificate is generated after the unified authentication platform authenticates the login identity information of the terminal, the login identity information is used for the unified authentication platform to determine whether the user has access authority to a specified content server, and the specified content server is a content server corresponding to the content server identifier selected by the user on the unified search interface.
In one embodiment, the apparatus further comprises:
an access address list generation module configured to perform:
receiving an access address of a search service provided by a content server and a corresponding content server identifier, which are input in a service registration page;
and correspondingly recording the access address and the content server identification into the access address list.
In one embodiment, the search service provided by the content server is a service supporting multiple development languages.
In one embodiment, each search result has a corresponding score, wherein the score of the corresponding search result is higher when the click rate of the user is higher in the search results aiming at the same keyword;
before returning the search result to the terminal for display, the device further comprises:
a score ranking module configured to perform ranking of the search results according to the scores.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a content search apparatus including:
the second search request receiving module is configured to execute receiving of a search request sent by the centralized search server through an access address provided for the centralized search server, wherein the search request carries a search keyword and a user identifier;
the search result searching module is configured to execute searching for the search result which is in the access right corresponding to the user identification and corresponds to the search keyword;
a search result sending module configured to perform returning a search result to the centralized search server.
In one embodiment, the user identifier is a user login credential, and the user login credential is generated by the unified authentication platform after the terminal login identity information authentication is passed;
searching the search result which is in the access authority corresponding to the user identification and corresponds to the search keyword, wherein the search result comprises the following steps:
the search result searching module is configured to execute authority authentication of sending the user login credentials to the unified authentication platform;
receiving an authentication result returned by the unified authentication platform;
determining access rights of the user based on the authentication result;
and searching a search result corresponding to the search keyword based on the access authority.
According to a fifth aspect of embodiments of the present disclosure, there is provided an electronic device comprising at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute any content searching method provided by the embodiment of the application.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a storage medium, wherein the storage medium stores computer-executable instructions for causing a computer to execute any content searching method in the embodiments of the present disclosure.
According to a seventh aspect of embodiments of the present disclosure, there is provided a program product comprising program code for causing a computer device to perform any one of the content search methods in the embodiments of the present disclosure when the program product is run on the computer device.
The beneficial effects of the disclosed embodiment are as follows:
in the content searching method, the content searching device, the storage medium and the computing equipment, in implementation, after the centralized search server receives a search request sent by a terminal, an access address corresponding to a content server in an access right corresponding to the user identifier is searched from an access address list of the terminal, the search request is distributed to the corresponding content server through the access address, the content server returns a search result to the centralized search server for uniform sequencing processing after obtaining the search result, and the centralized search server further returns the result to the terminal for display. The method reduces the operation that the user repeatedly inputs the search terms in each page, improves the searching efficiency of the user among each content server, reduces the repeated development work of the search pages of the content servers, and can give the search results based on the access authority when each website is accessed.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is a scene diagram illustrating a content search method according to an exemplary embodiment of the present disclosure;
fig. 2 is a display diagram of a service registration page of a content search method according to an exemplary embodiment of the present disclosure;
FIG. 3 is a diagram illustrating an example relationship between a unified search page and a content server search page of a content search method according to an exemplary embodiment of the present disclosure;
FIG. 4 is a flow chart illustrating a content search method according to an exemplary embodiment of the present disclosure;
FIG. 5 is a timing diagram of a content search method according to an exemplary embodiment of the present disclosure;
FIG. 6 is a diagram of a content search device according to an exemplary embodiment of the present disclosure;
FIG. 7 is a diagram of another content search apparatus according to an exemplary embodiment of the present disclosure;
FIG. 8 is a schematic diagram of another apparatus for content searching according to an exemplary embodiment of the present disclosure;
FIG. 9 is a diagram of another example of a hardware configuration of a computing device according to an exemplary embodiment of the present disclosure;
FIG. 10 is a database system diagram of an exemplary embodiment of the present disclosure;
fig. 11 is a schematic diagram of a content search system according to an exemplary embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described below in detail and completely with reference to the accompanying drawings in the embodiments of the present disclosure.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein.
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are some, but not all embodiments of the present disclosure.
In the related art, there is a problem that the search efficiency is to be improved because a user repeatedly inputs the same keyword into each content server during a search. The content server may include an internal website of an enterprise, and may also include websites of different enterprises. For example, the number of internal websites is increased, and the amount of information is increased with the increase of internal websites of enterprises, so that if employees in an enterprise need to search for some information, all internal websites must be registered to use the search function of each internal website, which may cause the problem of repeated search of the employees in the enterprise on multiple internal websites.
In view of the above, the present disclosure provides a content search method. The method can be applied to a Database System (Database System). Database systems are an ideal data processing system developed to accommodate the needs of data processing. A database system generally consists of three parts: (1) database (DB) refers to an organized, sharable collection of data stored in a computer for a long period of time. The data in the database is organized, described and stored according to a certain mathematical model, has smaller redundancy, higher data independence and easy expansibility, and can be shared by various users. (2) Hardware, including data storage such as memory and/or disk, as needed to store data. (3) Software including a DBMS (database management system), which is core software of a database system and is system software for scientifically organizing and storing data and efficiently acquiring and maintaining data, and a database engine, which is core contents of the DBMS. Each of the content servers providing search contents and the apparatuses collectively providing a centralized search service for a search service in the present disclosure may constitute a database system, and a content search method provided by the present disclosure will be described below with reference to the drawings.
Referring to fig. 1, an application scenario of the content search method provided by the embodiment of the present disclosure includes a user 10, a terminal 11, a centralized search server 12, a content server N1 … Nn, an operation and maintenance person 14, and a terminal 15.
The method can provide a unified search interface, a user only needs to input a search keyword once in a search box of the interface, a centralized search server interacting with the interface can distribute a search request to each content server with access authority according to an access address, and after the content server searches according to the access authority of the user, a search result is returned to the centralized search server and returned to the terminal by the server. Therefore, the terminal can obtain the search results with access rights in the plurality of content servers.
For example, the user 10 may input a search keyword through the unified search interface on the terminal 11, and may select a certain number of content servers to search at the content server N1 … Nn. The terminal 11 generates a search request according to an operation of a user and transmits the search request to the centralized search server 12. The centralized search server 12 searches the access addresses corresponding to the selected content servers from the access address list, and distributes the search request to the corresponding content servers through the addresses.
After receiving the search request, the content server searches the server. The search results that the user 10 has access right are returned to the centralized search server 12.
Then, the centralized search server 12 sorts the results returned by all the content servers according to the scores of the search results, and returns the sorted search results to the terminal 11 for display. Thus, the user 10 can obtain a final search result through the terminal 11.
Wherein the terminal 11 and the centralized search server 12 can be communicatively connected through a communication network, and the centralized search server 12 and the content server N1 … Nn can also be communicatively connected through a communication network, which can be a local area network, a wide area network, etc.
The terminal 11 may also be referred to as a User Equipment (UE). The user equipment can be a smart phone, a tablet computer, various wearable devices, vehicle-mounted devices and the like. Various applications may be installed in the user device, such as a camera, a browser, and so on.
The centralized search server 12 and the content server N1 … Nn may be any server device capable of supporting the processing of the corresponding databases.
In implementation, the content server access address may be configured by the operation and maintenance personnel 14 through the terminal 15, and the configuration result may be stored in the access address list. In one embodiment, registration may be based on a service registration page as shown in FIG. 2. Fig. 2 is a schematic diagram of a service registration page according to an embodiment of the disclosure. Referring to documents of the search system for implementing the service interface, the content server provides a service including multiple development languages of the specified interface. The service will provide an interface whose key parameters include: search keywords and user identification such as Token(s) that initiated the search, the user identification representing the access rights of the user; the return value is a search result in a specified format and may include 0 to a plurality of pieces.
When a new content server is added, the service address of the multi-development language service and the corresponding content server identification of the content server can be written into the corresponding input box of the page in the service registration page, and then the centralized search server can acquire the multi-development language service registered in the service registration page in real time.
In addition, in combination with the display diagram of the service registration page of the content search method according to the exemplary embodiment of the disclosure shown in fig. 2, in order to avoid confusion of information, it should be noted that the names of the content servers are not repeated during registration.
In the method, the multiple development language service is, for example, a gRPC service (Google Remote Procedure Protocol), and the gRPC service is a high-performance and strong-versatility RPC (Remote Procedure call) open-source framework, and is mainly developed for mobile applications and can be used as the multiple development language service.
After the content server is registered, the present disclosure provides the unified search interface as described above as a front-end application of the search system, as shown in fig. 3, which is a relationship example between the interface of the unified search interface and each internal website interface in the related art, where the internal website interfaces are two interfaces, i.e., "internal news web" and "internal forum" in fig. 3. The unified search interface is equivalent to the function of realizing the access interface of each internal website. In fig. 3, the unified search interface includes a plurality of content server identifiers having access rights, and further includes an input box for a user to input a search keyword. For example, the content server identification includes: an internal news web, an internal forum, an internal shared document, and an internal encyclopedia. If the user selects the internal news web and the internal forum, the search for the "company profile" keyword is performed. The method is equivalent to the search operation of repeatedly inputting the company brief introduction in the internal news network and the internal forum respectively. Because the centralized search server distributes the search request about the company profile to the respective servers of the "inside news web" and the "inside forum" to complete the search, the centralized search server distributes the search request, and the user is unaware. Thereby achieving the purpose of simplifying the operation of the user.
In addition, the unified search interface comprises the identifiers of the various content servers which can be selected, and a user can set which content servers to search in based on own requirements. Moreover, each content server is searched based on the access authority of the user, so that the fed back search result is more accurate.
In the above method, the authentication of the user may be completed before the search request is sent to each content server. For example, the login authentication is implemented by the user sending login identity information to the unified authentication platform through the terminal 11 for login authentication; and then the unified authentication platform sends the user login credentials to a centralized search server or a terminal after authentication, and then the centralized search server sends the user login credentials to each content server so as to facilitate the content servers to determine the access authority.
In one embodiment, a portal for entering login identity information may be provided in the interface shown in FIG. 3. For example, when the user equipment sends a request for logging in the same search interface, the background jumps to the authentication interface and is displayed by the user equipment. And after the user inputs login identity information on the authentication interface and completes authentication, the user equipment displays the unified search interface shown in the figure 3. At this time, the identifiers of the content servers displayed in the unified search interface are the identifiers of the content servers with the access right of the user. That is, the content server identifier of the unified search interface viewed by the users with different access rights is the identifier of the server with access rights.
In one embodiment, the entry to the authentication interface may also be provided in the unified search interface, as shown in fig. 3, and the content server identifications may be in an inoperable state prior to authentication. The login interface can be entered through a "login" control as shown in fig. 3 to complete the input of login identity information to achieve user authentication. Of course, when the identity information is not logged in, the user can completely register through the "register" control in the interface shown in fig. 3. The login identity information may include a user name and a password, or include a employee number and a corresponding password. Of course, in specific implementation, the parameters included in the login identity information may be set according to actual requirements, as long as the parameters can be used for verifying the access right.
After obtaining the user login credentials based on the user identity information, referring to fig. 4, a schematic flow chart of a content search performed by the centralized search server according to an exemplary embodiment of the present disclosure may include the following steps:
step 401: receiving a search request sent by a terminal, wherein the search request comprises a search keyword and a user identifier;
step 402: searching access addresses respectively corresponding to the content servers in the access authority corresponding to the user identification from an access address list;
step 403: distributing the search request to a corresponding content server through the access address;
step 404: and receiving the search results returned by the content servers and returning the search results to the terminal for display.
The content searching method can integrate the searching pages of all the content servers into one unified searching interface, and can realize content searching in a plurality of content servers only by inputting keyword searching once. Moreover, the content server meeting the requirement of the user can be independently selected from the registered content server access list in the unified search page, and then the centralized server can find the access address of the content server selected by the user and send a search request to the content server. Therefore, the content searching method can greatly improve the searching efficiency of the user among the content servers and reduce the repeated development work of the searching page of the content server.
Referring to fig. 5, a timing diagram of a content search method according to an exemplary embodiment of the disclosure, which can be further explained, includes the following steps:
step 501: and the terminal sends login identity information to the unified authentication platform.
Step 502: and the unified authentication platform authenticates the login identity information, and if the login identity information passes the authentication, a Token is generated and sent to the terminal.
Step 503: and the terminal sends a search request to the centralized search server and carries Token.
After obtaining the search request, the centralized search server first accesses the unified authentication platform to verify Token validity, and if Token validity is valid, the centralized search server continues to process the search request, that is, step 504 is continuously executed.
Step 504: and the centralized search platform acquires a gPC service list which is currently registered.
Step 505: distributing the search request to a content server selected by the user;
after receiving the search request, each content server firstly sends Token verification to the terminal; after the Token effective information is obtained, because the Token corresponds to the user one by one, the content server can uniquely determine the corresponding access user according to the Token so as to determine the access authority of the access user. In addition, the content server searches according to the search keyword, and after obtaining the search result, filters out the search result that the user does not have the access right, and then executes step 506.
Step 506: each content server returns the search result to the centralized search server;
step 507: and the centralized search server returns the sorted search results to the terminal.
In the method, each search result has a corresponding score, and the centralized search server can sort the search results according to the scores, wherein the scores of the search results are higher when the click quantity of the user is larger in the search results aiming at the same keyword.
For example, in practice, the centralized search server may maintain a search result score table, and the key values in the table may include the search keywords and the scores of the search results corresponding to the search keywords. For different keywords, there may be an intersection of their search results, e.g., search result a1 for keyword 1 in table 1 and search result B1 for keyword 2 in table 2 are the same search result. However, in the case of keyword 1, the score a1 of the search result a1 is higher than the score B1, i.e., the click volume of the same search result under different search keywords is different, and thus the score may be different. In implementation, the scores corresponding to the search results of the corresponding search keywords need to be sorted.
TABLE 1
Figure BDA0002201620930000121
TABLE 2
Figure BDA0002201620930000122
By sequencing the search results according to the scores, the search results closely related to the search keywords can be obtained, and the user can select to view the search results according to the degree of correlation with the keywords and the requirement of the user. In addition, the same search result may correspond to a plurality of search keywords.
Based on the same inventive concept, the disclosure also provides a content searching device. Referring to fig. 6, a content search apparatus according to an exemplary embodiment of the disclosure is shown. The device includes:
a first search request receiving module 601 configured to execute a search request sent by a receiving terminal, where the search request includes a search keyword and a user identifier;
an access address lookup module 602 configured to perform lookup of access addresses respectively corresponding to the content servers in the access right corresponding to the user identifier from an access address list;
a search request distribution module 603 configured to perform distribution of a search request to a corresponding content server through the access address;
and the search result processing module 604 is configured to receive the search results returned by the content servers and return the terminal display.
In one embodiment, the user identification is user login credentials;
and the user login credentials are acquired by the terminal from a unified authentication platform.
In one embodiment, the terminal is provided with a unified search interface, and the unified search interface comprises a plurality of selectable content server identifications;
the user login certificate is generated after the unified authentication platform authenticates the login identity information of the terminal, the login identity information is used for the unified authentication platform to determine whether the user has access authority to a specified content server, and the specified content server is a content server corresponding to the content server identifier selected by the user on the unified search interface.
In one embodiment, the apparatus further comprises:
an access address list generation module configured to perform:
receiving an access address of a search service provided by a content server and a corresponding content server identifier, which are input in a service registration page;
and correspondingly recording the access address and the content server identification into the access address list.
In one embodiment, the search service provided by the content server is a service supporting multiple development languages.
In one embodiment, each search result has a corresponding score, wherein the score of the corresponding search result is higher when the click rate of the user is higher in the search results aiming at the same keyword;
before returning the search result to the terminal for display, the device further comprises:
a score ranking module configured to perform ranking of the search results according to the scores.
Based on the same inventive concept, the disclosure also provides a content searching device. Referring to fig. 7, a content search apparatus according to an exemplary embodiment of the disclosure is shown. The device includes:
a second search request receiving module 701, configured to execute receiving, by an access address provided to the centralized search server, a search request sent by the centralized search server, where the search request carries a search keyword and a user identifier;
a search result searching module 702 configured to execute searching for a search result which is within the access right corresponding to the user identifier and corresponds to the search keyword;
a search result sending module 703 configured to perform returning the search result to the centralized search server.
In one embodiment, the user identifier is a user login credential, and the user login credential is generated by the unified authentication platform after the terminal login identity information authentication is passed;
searching the search result which is in the access authority corresponding to the user identification and corresponds to the search keyword, wherein the search result comprises the following steps:
a search result searching module 702 configured to perform authority authentication by sending the user login credential to the unified authentication platform;
receiving an authentication result returned by the unified authentication platform;
determining access rights of the user based on the authentication result;
and searching a search result corresponding to the search keyword based on the access authority.
Based on the same inventive concept, as shown in fig. 8, for a device for content search provided in the embodiment of the present application, the device 800 may be a terminal or a centralized search server providing a unified search interface, or may be a content server, and the device 800 may perform the content search method shown in fig. 4 and/or fig. 5.
The apparatus 800 includes at least one processor 801 and a memory 802. The processor 801 and the memory 802 are connected by a communication bus. Processor 801 may be a general purpose Central Processing Unit (CPU), microprocessor, application specific ASIC, or one or more integrated circuits for controlling the execution of programs in accordance with the teachings of the present application. The communication bus may include a path that transfers information between the devices.
The memory 802 may be, but is not limited to, a ROM or other type of static storage device that can store static information and instructions, a RAM or other type of dynamic storage device that can store information and instructions, an EEPROM, a CD-ROM or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory 802 may be self-contained and coupled to the processor 801 via a communication bus. The memory 802 may also be integrated with the processor. The memory 802 stores therein computer programs or instructions implementing aspects of embodiments of the present disclosure. The processor 801 is configured to execute application program code stored in the memory 802.
In particular implementations, processor 801 may include one or more CPUs such as CPU0 and CPU1 in fig. 8, for example, as an example.
In particular implementations, apparatus 800 may include multiple processors, such as processor 801 and processor 808 of fig. 8, for example, as an example. Each of these processors may be a single-Core (CPU) processor or a multi-Core (CPU) processor, where a processor may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer programs or instructions). In the apparatus 800, the memory 802 is used to store program instructions, and the processor 801 executes any one of the possible embodiments in fig. 2 to fig. 5 by calling the program in the memory 802, for example, when the apparatus implements a unified interface search function, the processor 801 may perform a search request sent by a receiving terminal, where the search request includes a search keyword; searching access addresses respectively corresponding to the content servers with the access rights of the terminal from an access address list; distributing the search request to a corresponding content server through the access address; and receiving the search results returned by the content servers and returning to the process of terminal display. For a specific detailed implementation process, reference may be made to the description of the above method embodiment, which is not described herein in too much detail. The processor 801 directly receives the content search method in which the backup flag is set from the other device, and then sends the search keyword to the centralized search server.
In addition, the embodiment of the application also provides a concrete example of another hardware structure of the computing device. As shown in fig. 9, the unified search interface hardware structure includes a hard disk, a memory, a CPU, and a network interface, such as a Transmission Control Protocol (TCP) network interface, where a program instruction is stored in the hard disk, and when the unified search interface obtains a search keyword, the CPU loads the program instruction in the hard disk to the memory, and executes the content search method provided in the embodiment of the present application according to the program instruction loaded to the memory.
The present application may perform the division of the functional units for the apparatus according to the method example described above, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated module can be realized in a form of hardware or a form of a software functional unit. It should be noted that the division of the units in the present application is schematic, and is only one division of logic functions, and there may be another division manner in actual implementation.
Embodiments of the present application further provide a computer-readable storage medium, in which a computer program is stored, and when the program is run on a computer, the computer is enabled to implement the method steps described in the above method embodiments.
Embodiments of the present application also provide a computer program product containing instructions which, when run on a computer, cause the computer to carry out the method steps described in the above-mentioned method embodiments.
Referring to fig. 10, an embodiment of the present application further provides a database system 1000, as shown in fig. 10, the database system 1000 includes a hardware layer 1007 and a Virtual Machine Monitor (VMM)1001 running on top of the hardware layer 1007, and a plurality of virtual machines 1002. One of the virtual machines is a privileged virtual machine and can serve as a master node (e.g., a centralized search server) of the database system 1000, and the other virtual machines serve as query nodes (e.g., content servers) of the distributed database.
Specifically, the virtual machine 1002 is a virtual computer simulated on a common hardware resource by virtual machine software, and an operating system and an application program can be installed on the virtual machine, and the virtual machine can also access network resources. For applications running in a virtual machine, the virtual machine operates as if it were a real computer.
Hardware layer 1007: the hardware platform on which the virtualized environment operates may be abstracted from the hardware resources of one or more physical hosts. The hardware layer may include various hardware, including, for example, a processor 1004 (e.g., CPU) and a memory 1005, and may also include a network card 1003 (e.g., RDMA network card), high-speed/low-speed Input/Output (I/O) devices, and other devices with specific processing functions.
Virtual machine 1002 runs an executable program based on VMM1001 and hardware resources provided by hardware layer 1007 to implement the functionality implemented by the query node. For brevity, no further description is provided herein.
Further, the database system 1000 may further include a Host (Host): as management layer, it is used to complete the management and allocation of hardware resources; presenting a virtual hardware platform for a virtual machine; and the scheduling and isolation of the virtual machine are realized. Wherein, the Host may be a Virtual Machine Monitor (VMM); it is also possible to have a combination of the VMM and 1 privileged virtual machine. The virtual hardware platform provides various hardware resources for each virtual machine running thereon, such as a virtual processor (e.g., VCPU), a virtual memory, a virtual disk, a virtual network card, and the like. The virtual disk may correspond to a file of the Host or a logical block device. The virtual machine runs on a virtual hardware platform prepared for the Host, and one or more virtual machines run on the Host. The VCPU of the virtual machine 1002 executes the executable program stored in the corresponding virtual memory to implement or execute the content search method described in the foregoing method embodiments of the present application.
Referring to fig. 11, an embodiment of the present application further provides a content search system, including: database server 1100 (e.g., the centralized search server and content server in the present disclosure) is based on client device 900 connected to database server 1100 via a communication network. Wherein the content of the first and second substances,
a client operating system 904 runs on the hardware layer 909 of the client device 900, and an application 902 runs on the operating system 904; the database server 1100 has an operating system 1114 running on a hardware layer 1116 and a database management system 1112 running on the operating system 1114. The application 902 interfaces with a database management system 1112 running on the database server 1100 via a communication network and accesses or manipulates the database stored in the data store 1118, for example, by querying, updating, or deleting data in the database through Structured Query Language (SQL) statements, or importing new data to the database.
The hardware layers 909 and 1116 contain basic hardware elements required for the operation of an operating system and application programs, such as a processor, e.g., a CPU, a Memory (Memory), an input/output device, a network interface, and the like.
The data storage 1118 may be external storage to the database server 1100, such as a hard disk, a magnetic disk, a storage array, or a storage server, etc., and is communicatively coupled to the database server 1100. Alternatively, the data store 1118 may be integrated within the database server 1100 to interact with the processor and I/O devices via a bus or other internal communication means.
Database server 1100 may be comprised of one or more physical hosts having stored in memory executable code that, when executed by a processor, is configured to implement the components and functions of database management system 1112. The database management system 1112 may specifically implement the content search method described in the foregoing method embodiments of the present application.
It should be understood that in various embodiments of the present application, "executable programs" and "computer programs" should be construed broadly to include, but are not limited to: instructions, instruction sets, code segments, subroutines, software modules, applications, software packages, threads, processes, functions, firmware, middleware, and the like. The sequence numbers of the method steps described in the above embodiments do not mean the execution sequence, and the execution sequence of each process should be determined by the function and the inherent logic of the process, and should not constitute any limitation to the actual implementation process of the embodiments of the present application.
The various illustrative logical units and circuits described in this application may be implemented or operated upon by design of a general purpose processor, a digital signal processor, an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof. A general-purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a digital signal processor and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a digital signal processor core, or any other similar configuration.
The steps of a method or algorithm described in the embodiments herein may be embodied directly in hardware, in a software element executed by a processor, or in a combination of the two. The software cells may be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. For example, a storage medium may be coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC, which may be disposed in a terminal device. In the alternative, the processor and the storage medium may reside as discrete components in a terminal device.
These computer programs may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

Claims (10)

1. A method for searching for content, the method comprising:
receiving a search request sent by a terminal, wherein the search request comprises a search keyword and a user identifier;
searching access addresses respectively corresponding to the content servers in the access authority corresponding to the user identification from an access address list;
distributing the search request to a corresponding content server through the access address;
and receiving the search results returned by the content servers and returning the search results to the terminal for display.
2. The method of claim 1, wherein the user identification is user login credentials;
and the user login credentials are acquired by the terminal from a unified authentication platform.
3. The method according to claim 2, wherein the terminal has a unified search interface including a plurality of selectable content server identifiers;
the user login certificate is generated after the unified authentication platform authenticates the login identity information of the terminal, the login identity information is used for the unified authentication platform to determine whether the user has access authority to a specified content server, and the specified content server is a content server corresponding to the content server identifier selected by the user on the unified search interface.
4. The method of claim 1, wherein generating the list of access addresses comprises:
receiving an access address of a search service provided by a content server and a corresponding content server identifier, which are input in a service registration page;
and correspondingly recording the access address and the content server identification into the access address list.
5. A method for searching for content, the method comprising:
receiving a search request sent by a centralized search server through an access address provided for the centralized search server, wherein the search request carries a search keyword and a user identifier;
searching a search result which is in the access authority corresponding to the user identification and corresponds to the search keyword;
and returning the search result to the centralized search server.
6. The method according to claim 5, wherein the user identifier is a user login credential, and the user login credential is generated by the unified authentication platform after the login identity information authentication of the terminal is passed;
searching the search result which is in the access authority corresponding to the user identification and corresponds to the search keyword, wherein the search result comprises the following steps:
sending the user login certificate to the unified authentication platform for authority authentication;
receiving an authentication result returned by the unified authentication platform;
determining the access right based on the authentication result;
and searching a search result corresponding to the search keyword based on the access authority.
7. A content search apparatus, comprising:
the first receiving module of the search request is configured to execute the search request sent by the receiving terminal, and the search request comprises a search keyword and a user identification;
the access address searching module is configured to search the access addresses respectively corresponding to the content servers in the access authority corresponding to the user identification from an access address list;
a search request distribution module configured to perform distribution of a search request to a corresponding content server through the access address;
and the search result processing module is configured to receive the search results returned by the content servers and return the search results to the terminal for display.
8. A content search apparatus, comprising:
the second search request receiving module is configured to execute receiving of a search request sent by the centralized search server through an access address provided for the centralized search server, wherein the search request carries a search keyword and a user identifier;
the search result searching module is configured to execute searching for the search result which is in the access right corresponding to the user identification and corresponds to the search keyword;
a search result sending module configured to perform returning a search result to the centralized search server.
9. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the content search method of any one of claims 1-6.
10. A storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the content search method of any one of claims 1-6.
CN201910867233.4A 2019-09-12 2019-09-12 Content searching method and device, storage medium and computing equipment Pending CN110659418A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910867233.4A CN110659418A (en) 2019-09-12 2019-09-12 Content searching method and device, storage medium and computing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910867233.4A CN110659418A (en) 2019-09-12 2019-09-12 Content searching method and device, storage medium and computing equipment

Publications (1)

Publication Number Publication Date
CN110659418A true CN110659418A (en) 2020-01-07

Family

ID=69038163

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910867233.4A Pending CN110659418A (en) 2019-09-12 2019-09-12 Content searching method and device, storage medium and computing equipment

Country Status (1)

Country Link
CN (1) CN110659418A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111625701A (en) * 2020-05-25 2020-09-04 Oppo广东移动通信有限公司 Search method, search device, server and storage medium
CN113824804A (en) * 2021-11-24 2021-12-21 飞狐信息技术(天津)有限公司 Keyword detection method and related device
CN114726907A (en) * 2022-05-18 2022-07-08 北京结慧科技有限公司 Access method, system, equipment and storage medium of mobile terminal product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040139057A1 (en) * 2002-12-31 2004-07-15 International Business Machines Corporation System and method for searching a plurality of databases distributed across a multi server domain
CN1852150A (en) * 2005-10-20 2006-10-25 华为技术有限公司 Personal data searching system and method in network
CN101042699A (en) * 2007-04-28 2007-09-26 华中科技大学 Safety search engine system based on accessing control
CN101221584A (en) * 2008-02-01 2008-07-16 北大方正集团有限公司 Search engine, search method and system
CN109857754A (en) * 2018-11-29 2019-06-07 华迪计算机集团有限公司 A kind of information text searching method and system based on information access rights in domain

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040139057A1 (en) * 2002-12-31 2004-07-15 International Business Machines Corporation System and method for searching a plurality of databases distributed across a multi server domain
CN1852150A (en) * 2005-10-20 2006-10-25 华为技术有限公司 Personal data searching system and method in network
CN101042699A (en) * 2007-04-28 2007-09-26 华中科技大学 Safety search engine system based on accessing control
CN101221584A (en) * 2008-02-01 2008-07-16 北大方正集团有限公司 Search engine, search method and system
CN109857754A (en) * 2018-11-29 2019-06-07 华迪计算机集团有限公司 A kind of information text searching method and system based on information access rights in domain

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111625701A (en) * 2020-05-25 2020-09-04 Oppo广东移动通信有限公司 Search method, search device, server and storage medium
CN111625701B (en) * 2020-05-25 2024-01-26 Oppo广东移动通信有限公司 Searching method, searching device, server and storage medium
CN113824804A (en) * 2021-11-24 2021-12-21 飞狐信息技术(天津)有限公司 Keyword detection method and related device
CN114726907A (en) * 2022-05-18 2022-07-08 北京结慧科技有限公司 Access method, system, equipment and storage medium of mobile terminal product

Similar Documents

Publication Publication Date Title
CN111698228B (en) System access authority granting method, device, server and storage medium
EP3726411B1 (en) Data desensitising method, server, terminal, and computer-readable storage medium
US10757106B2 (en) Resource access control method and device
CN112564916A (en) Access client authentication system applied to micro-service architecture
US20110302277A1 (en) Methods and apparatus for web-based migration of data in a multi-tenant database system
US20120330924A1 (en) Method and system for querying an on demand database service
CN109033406B (en) Method, apparatus and storage medium for searching blockchain data
CN109063077B (en) Data access method and device based on elastic search
US9934310B2 (en) Determining repeat website users via browser uniqueness tracking
CN110659418A (en) Content searching method and device, storage medium and computing equipment
WO2017131857A1 (en) Reducing latency
CN107515879B (en) Method and electronic equipment for document retrieval
CN109101607B (en) Method, apparatus and storage medium for searching blockchain data
CN108154024B (en) Data retrieval method and device and electronic equipment
Nguyen et al. Prefetching-based metadata management in advanced multitenant hadoop
CN113282591B (en) Authority filtering method, authority filtering device, computer equipment and storage medium
Zhang et al. Quegel: A general-purpose system for querying big graphs
US8938520B2 (en) Methods and systems for smart adapters in a social media content analytics environment
CN109274681B (en) Information synchronization method and device, storage medium and server
CN112817997B (en) Method and device for accessing S3 object storage by using dynamic user by distributed computing engine
US11727022B2 (en) Generating a global delta in distributed databases
CN108959952A (en) data platform authority control method, device and equipment
CN107517177B (en) Interface authorization method and device
CN109828983A (en) PG data base processing method, device, electronic equipment and storage medium
US10708253B2 (en) Identity information including a schemaless portion

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200107

RJ01 Rejection of invention patent application after publication