CN114490734A - Object retrieval method, terminal, server and storage medium - Google Patents

Object retrieval method, terminal, server and storage medium Download PDF

Info

Publication number
CN114490734A
CN114490734A CN202011269278.0A CN202011269278A CN114490734A CN 114490734 A CN114490734 A CN 114490734A CN 202011269278 A CN202011269278 A CN 202011269278A CN 114490734 A CN114490734 A CN 114490734A
Authority
CN
China
Prior art keywords
object retrieval
server
retrieval result
information
retrieved
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
CN202011269278.0A
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202011269278.0A priority Critical patent/CN114490734A/en
Publication of CN114490734A publication Critical patent/CN114490734A/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/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2453Query optimisation
    • G06F16/24532Query optimisation of parallel queries

Landscapes

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

Abstract

The invention provides an object retrieval method, a terminal, a server and a storage medium, and relates to the technical field of cloud security, wherein the method comprises the following steps: responding to an object retrieval request carrying a field to be retrieved, locally retrieving a result of the object retrieval to be first, and sending the object retrieval request to a server; local organization information in the total organization information of the organization in which the object is located is locally stored; displaying a first object retrieval result on a target page; receiving a filtered second object retrieval result returned by the server; the filtered second object retrieval result is obtained by filtering a hidden object which sets invisible authority for an object corresponding to the client by the server; the second object retrieval result is obtained by the server through retrieval in the full-amount organization information of the server based on the field to be retrieved; and updating the first object retrieval result displayed in the target page based on the filtered second object retrieval result. The invention can improve the user experience and ensure the safety and the integrity of data retrieval.

Description

Object retrieval method, terminal, server and storage medium
Technical Field
The invention belongs to the technical field of computers, and particularly relates to an object retrieval method, a terminal, a server and a storage medium.
Background
With the development of communication technology and the improvement of high-efficiency communication requirements of enterprises, the application of enterprise unified communication software is more and more extensive. The enterprise unified communication software comprises an enterprise address book, the enterprise address book displays the department information of the enterprise, the affiliation among the departments and the contact information of the staff in the departments, and the contact information comprises names, jobs, electronic mailboxes, fixed telephone numbers, fax numbers, mobile phone numbers and the like.
In the prior art, when an adult member in an enterprise logs in for the first time or equipment is changed for logging in, an enterprise address book needs to be initialized in a manner of pulling a full member list, so that the related capabilities (such as group chat, office application and the like) based on the address book can be further used. When the member needs to find other contacts within the enterprise, a search needs to be made in the full pull member list by entering keywords. However, the pulling of the whole address book not only reduces the address book pulling speed, but also affects the data security of part of sensitive data. In the prior art, the keyword is directly used for pulling the corresponding member list to the cloud server, but the cloud retrieval speed is slower than the local retrieval speed of the client, the client cannot display the pulled member list in time, the user experience is poor, and the cloud retrieval may retrieve hidden users which are invisible to the user corresponding to the client, so that the privacy security of the user is influenced.
Disclosure of Invention
In order to solve the technical problem, the invention provides an object retrieval method, a terminal, a server and a storage medium.
In one aspect, the present invention provides an object retrieval method, including:
responding to an object retrieval request carrying a field to be retrieved, locally retrieving a first object retrieval result corresponding to the field to be retrieved, and sending the object retrieval request to a server; the local storage stores local organization information in the total organization information of the organization of the object;
displaying the first object retrieval result on a target page;
receiving a filtered second object retrieval result returned by the server; the filtered second object retrieval result is obtained by filtering a hidden object in the second object retrieval result by the server, wherein the hidden object is an object for setting an invisible authority for an object corresponding to the client; the second object retrieval result is obtained by the server based on the field to be retrieved and retrieval is carried out in the full amount of organization information of the server;
updating the first object retrieval result displayed in the target page based on the filtered second object retrieval result.
In another aspect, an embodiment of the present invention provides an object retrieval method, where the method includes:
receiving an object retrieval request sent by a client, wherein the object retrieval request carries a field to be retrieved;
retrieving a second object retrieval result corresponding to the field to be retrieved in the total organization information of the organization in which the object is located;
determining a hidden object which sets invisible permission for an object corresponding to the client from the second object retrieval result;
filtering the hidden object in the second object retrieval result to obtain a filtered second object retrieval result;
sending the filtered second object retrieval result to the client, so that the client updates the first object retrieval result displayed in the target page based on the filtered second object retrieval result; and the first object retrieval result is obtained by the client side in response to the object retrieval request and is retrieved at the client side, and the client side stores local organization information in the full amount of organization information.
In another aspect, an embodiment of the present invention provides an object retrieval terminal, where the terminal includes:
the response module is used for responding to an object retrieval request carrying a field to be retrieved, locally retrieving a first object retrieval result corresponding to the field to be retrieved and sending the object retrieval request to a server; the local storage stores local organization information in the total organization information of the organization of the object;
the display module is used for displaying the first object retrieval result on a target page;
the filtering receiving module is used for receiving a filtered second object retrieval result returned by the server; the filtered second object retrieval result is obtained by filtering a hidden object in the second object retrieval result by the server, wherein the hidden object is an object for setting an invisible authority for an object corresponding to the client; the second object retrieval result is obtained by the server based on the field to be retrieved and retrieval is carried out in the full amount of organization information of the server;
and the updating module is used for updating the first object retrieval result displayed in the target page based on the filtered second object retrieval result.
In another aspect, an embodiment of the present invention provides an object retrieval server, where the server includes:
the response module is used for responding to an object retrieval request carrying a field to be retrieved, locally retrieving a first object retrieval result corresponding to the field to be retrieved and sending the object retrieval request to a server; the local storage stores local organization information in the total organization information of the organization of the object;
the display module is used for displaying the first object retrieval result on a target page;
the filtering receiving module is used for receiving a filtered second object retrieval result returned by the server; the filtered second object retrieval result is obtained by filtering a hidden object in the second object retrieval result by the server, wherein the hidden object is an object for setting an invisible authority for an object corresponding to the client; the second object retrieval result is obtained by the server through retrieval in the full-amount organization information of the server based on the field to be retrieved;
and the updating module is used for updating the first object retrieval result displayed in the target page based on the filtered second object retrieval result.
In another aspect, the present invention provides an electronic device, which includes a processor and a memory, where at least one instruction or at least one program is stored in the memory, and the at least one instruction or the at least one program is loaded by the processor and executed to implement the object retrieval method as described above.
In another aspect, the present invention provides a computer-readable storage medium, in which at least one instruction or at least one program is stored, and the at least one instruction or the at least one program is loaded and executed by a processor to implement the object retrieval method as described above.
According to the object retrieval method, the terminal, the server and the storage medium provided by the embodiment of the invention, the client stores not the whole organization information of the organization where the object is located, but only the local organization information used for displaying the list in the whole organization information, so that the pulling speed of the client for pulling the organization information can be improved, the local storage of part of sensitive fields in the client can be avoided, and the data security is improved. The object retrieval process adopts a retrieval mode that client retrieval and server retrieval are carried out concurrently, namely, a first object retrieval result is retrieved from local organization information stored by a client, and the first object retrieval result is displayed on a target page in time after the first object retrieval result is obtained, so that a user corresponding to the client can view the result at the first time, and the user experience is better. And simultaneously, retrieving a second object retrieval result in the full organization information stored in the server, wherein the hidden object which is invisible to the user corresponding to the client can be retrieved by the cloud retrieval of the server, so as to ensure the privacy security of the hidden object, the server can filter the hidden object, the filtered second object retrieval result is sent to the client, and finally, the client updates the first object retrieval result displayed in the target page based on the filtered second object retrieval result. Therefore, by means of a retrieval mode in which the client retrieval and the server retrieval are carried out concurrently, user experience can be improved, privacy security of a hidden object is guaranteed, failure of partial retrieval fields caused by the fact that retrieval is carried out only in local organization information stored in the client can be avoided, and integrity and security of retrieval data are guaranteed.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions and advantages of the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic diagram of an implementation environment of an object retrieval method according to an embodiment of the present invention.
Fig. 2 is a schematic flowchart of an object retrieval method according to an embodiment of the present invention.
Fig. 3 is a schematic flowchart of another object retrieval method according to an embodiment of the present invention.
Fig. 4 is a schematic flowchart of another object retrieval method according to an embodiment of the present invention.
Fig. 5 is a schematic flowchart of another object retrieval method according to an embodiment of the present invention.
Fig. 6 is a schematic structural diagram of an object retrieval terminal according to an embodiment of the present invention.
Fig. 7 is a schematic structural diagram of an object retrieval server according to an embodiment of the present invention.
Fig. 8 is a block diagram of a hardware configuration of a server according to an embodiment of the present invention.
Detailed Description
Cloud technology refers to a hosting technology for unifying serial resources such as hardware, software, network and the like in a wide area network or a local area network to realize calculation, storage, processing and sharing of data.
The cloud technology is a general name of a network technology, an information technology, an integration technology, a management platform technology, an application technology and the like based on cloud computing business model application, can form a resource pool, is used as required, and is flexible and convenient. Background services of the technical network system require a large amount of computing and storage resources, such as video websites, picture-like websites and more web portals. With the high development and application of the internet industry, each article may have its own identification mark and needs to be transmitted to a background system for logic processing, data in different levels are processed separately, and various industrial data need strong system background support and can only be realized through cloud computing. Specifically, cloud technologies include the technical fields of security, big data, databases, industrial applications, networks, storage, management tools, computing, and the like.
Specifically, the embodiment of the invention relates to a cloud security technology in a cloud technology.
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above 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 invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or server that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Fig. 1 is a schematic diagram of an implementation environment of an object retrieval method according to an embodiment of the present invention. As shown in fig. 1, the implementation environment may include at least a terminal 01 and a server 02, and the terminal 01 and the server 02 may be directly or indirectly connected through wired or wireless communication, and the present invention is not limited herein. For example, the terminal 01 may send an address book information pull request or an object search request to the server 02 through a wired or wireless communication method, and the server 02 may return local organization information or an object search result to the terminal 01 through a wired or wireless communication method.
Specifically, the terminal 01 may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, and the like. The server 02 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a network service, cloud communication, middleware service, a domain name service, a security service, a CDN, a big data and artificial intelligence platform, and the like.
It should be noted that fig. 1 is only an example.
Fig. 2 is a schematic flowchart of an object retrieval method according to an embodiment of the present invention. The method may be used in the implementation environment of fig. 1. The present specification provides method steps as described in the examples or flowcharts, but may include more or fewer steps based on routine or non-inventive labor. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. In practice, the system or server product may be implemented in a sequential or parallel manner (e.g., parallel processor or multi-threaded environment) according to the embodiments or methods shown in the figures. Specifically, as shown in fig. 2, the method may include:
s101, a client responds to an object retrieval request carrying a field to be retrieved, locally retrieves a first object retrieval result corresponding to the field to be retrieved, and sends the object retrieval request to a server; the local storage stores local organization information in the total organization information of the organization in which the object is located.
The organization in the embodiment of the present invention may be a group or a group, such as a party organization, an association organization, an enterprise, a military organization, etc., which are cooperatively combined with each other to achieve a certain goal. The organization information may be data that records the architectural relationships of the organization member information, consisting of members, departments, and their organizational structure relationships within the organization. The object may be a specific person or service account in the organization information. The local organization information may be partial information or condensed information used for list presentation in the organization information, rather than the full organization information of the organization.
When an object (i.e., a user performing retrieval) corresponding to a client needs to retrieve an object from organization information, a field to be retrieved may be input in a corresponding retrieval input interface, so as to trigger the object retrieval request, and the client responds to the object retrieval request and obtains a first object retrieval result corresponding to the field to be retrieved from locally stored local organization information. Because the client stores not the full organization information but only the local organization information (namely only part of simplified information) used for list display in the organization information, the storage of part of sensitive fields in the local of the client is effectively avoided, and the data security is improved.
Taking the organization as an enterprise as an example, the full amount of organization information may be an enterprise address book in the instant messaging software. Specifically, the enterprise address book refers to data for recording enterprise member information and architecture relationship, which is composed of members, departments, tags and their organization architecture relationship in the enterprise, and generally consists of a member information table and an organization architecture. The member information table can be used for recording detailed information of each enterprise object, such as gender, mailbox, work place, mobile phone number, landline number, Chinese name, English name and the like, and the member information table contains more service attribute information and has larger data volume. The organization framework can contain limited built-in fields such as the relationship between members and departments, the departments and the like, and the data volume is small. The department refers to a certain department in the enterprise address book, and the department may include a plurality of objects and a plurality of sub-departments.
The object may be a member of an enterprise. Specifically, a member may refer to a specific person or service account in the enterprise address book. The local organization information may be information used for list presentation in the enterprise repository, such as image information (which may specifically include avatar information), identification information (which may specifically include name information), and the like.
In the embodiment of the invention, when the client responds to the object retrieval request, the object retrieval request is sent to the server at the same time, namely, the cloud retrieval request is sent to the server at the same time.
In the following, taking an example in which an organization is an enterprise, organization information is an enterprise address book in instant messaging software, and an object is a member in the enterprise address book, S101 is described:
when a user corresponding to a client needs to retrieve a certain member, corresponding instant messaging software can be opened, a field to be retrieved is input in an instant messaging software interface, so that an object retrieval request is triggered, the client responds to the object retrieval request, a first object retrieval result (namely a first member list) corresponding to the field to be retrieved is obtained from local organization information stored locally, and meanwhile, the client sends the object retrieval request to the server, so that the server responds to the object retrieval request.
It should be noted that, in order to ensure data security, the user corresponding to the client and the member to be retrieved should belong to the same enterprise.
In this embodiment of the present invention, as shown in fig. 3, before S101, the method may further include: s100, address book information is pulled.
Specifically, S100 may include:
s1001, the client sends an organization information pulling request to the server, and the organization information pulling request carries identification information of an organization.
S1003, when the server determines that the number of the objects in the organization is larger than a preset number threshold value based on the identification information, the server simplifies the total organization information to obtain local organization information.
Specifically, the full amount of organization information includes object information and organization architecture information, S1003 may include:
and when the server determines that the number of the objects in the organization is greater than a preset number threshold value based on the identification information, the server acquires object image information and object identification information from the object information.
The server takes the organization architecture information, the object image information and the object identification information as the local organization information.
And S1005, the server sends the local organization information to the client.
S1007, the client stores the local organization information.
In the embodiment of the invention, when a server receives an organization information pulling request sent by a client, if the organization is judged to be a large organization of which the object number is greater than a preset number threshold according to identification information carried in the organization information pulling request, the stored full organization information is simplified instead of being issued to the client, and only information for list display and organization architecture information are issued, so that the data size of the organization information pulled by the client is reduced, and the organization information pulling speed is increased. In addition, since the local organization information including the image information and the identification information can reflect the proprietary attribute characteristics of the user better, the client pulling the local organization information including the image information and the identification information can facilitate the user to quickly identify the object in the pulled organization information.
S100 will be described below by taking an example in which an organization is an enterprise, organization information is enterprise address book information in instant messaging software, and an object is a member in an enterprise address book:
the server stores the whole enterprise communication information, and when the client pulls the enterprise address book, the client firstly pulls the organization architecture and then pulls the member information of the corresponding member in the architecture. And then locally saving a copy of the address book for local retrieval and query of other application functions (such as chatting, office application and the like).
For a large enterprise (for example, an enterprise with the number of members in an address book being more than 20 ten thousand), when a user first installs or changes a device to log in, the time consumed for pulling the address book of the enterprise in the whole amount is large, and the time consumed by research and analysis is generally concentrated on pulling the object information table, so that the member information table can be simplified for the large enterprise and a part of the large enterprise with frequent pulling.
In order to simplify the address book information of a large enterprise, the large enterprise needs to be marked at first, and the marking process of the large enterprise can be as follows: when the number of members of the enterprise reaches a preset number threshold (e.g., 20 ten thousand), the large enterprise tags are automatically added to the enterprise, although tools may be used to manually add large enterprise tags to portions of the enterprise.
It should be noted that once an enterprise has a large enterprise tag, the tag cannot be automatically canceled without human intervention. The advantage of not being able to cancel the mark automatically is that: the method can avoid the defect of low object retrieval accuracy caused by the fact that in a critical range, an enterprise switches back and forth between two sets of strategies (local retrieval and cloud retrieval) and the situation that the enterprise is locally simplified but does not go through the cloud retrieval is caused.
Specifically, as described in S1001, after the client installs or changes the device to log in for the first time, the corporate unified configuration (i.e., corporate configuration) may be pulled, and an address book information pulling request of the enterprise where the client is located may be sent to the server, where the address book information pulling request may carry identification information of the enterprise where the client is located, where the identification information is used to uniquely identify the enterprise, and the identification information may be an Identity identification number (ID) of the enterprise.
As described in S1003 to S1005, when the server receives the address book information pull request, it may be determined whether the number of members in the address book information of the enterprise is greater than a preset number threshold (that is, whether the enterprise is a large enterprise) according to the identification information carried in the address book information, if so, the server condenses the member information in the address book of the enterprise, acquires only image information (for example, head portrait of a member) and identification information (for example, name information) that need to be list-displayed from the member information, and then returns the organization structure information, the image information that need only be list-displayed, and the identification information to the client as the simplified address book information. In the process of pulling the address book information, the client does not pull the whole address book information, and only pulls the simplified address book information (namely local organization information), so that the data size of the address book information pulling is reduced, and the address book pulling speed is increased (from 10min to 5min when the 180 w-order enterprise address book whole pulling consumes time after verification). In addition, the client stores not the full amount of enterprise address book information but only the local organization information used for list display in the enterprise address book information, so that partial sensitive fields are effectively prevented from being stored locally at the client, and the data security is improved.
As shown in S1007, after receiving the simplified address book information (i.e. local organization information), the client stores the local organization information locally for local retrieval and query of other application functions (e.g. chat, office application, etc.).
For the local retrieval of the client in S101, in order to quickly and accurately retrieve the corresponding first object retrieval result using the field to be retrieved, a mapping relationship between the retrieval field and the members may be established in advance, and during the retrieval, the retrieval is performed according to the mapping relationship. The method specifically comprises the following steps: since the local organization information includes image information (e.g., member head portrait) and identification information (e.g., name information), which is not conveniently described in text, a mapping relationship between the locally stored identification information (e.g., name information) and the corresponding member may be established. When the retrieval is performed locally at the client, if the keyword to be retrieved is a keyword related to the identification information (e.g., name information), the member list corresponding to the keyword to be retrieved may be retrieved from the local organization information directly according to the mapping relationship, and if the keyword to be retrieved is not a keyword related to the identification information (e.g., name information), the member retrieval result may be null if the corresponding member may not be retrieved according to the mapping relationship.
Because the client locally stores the simplified address book information, when a user corresponding to the client wants to view details of a certain retrieved member, the user can pull the complete information of the member from the server in real time, and the detailed information may be: the user corresponding to the client can click the head portrait information or the name information of the member to enter a detailed information acquisition interface, a detailed information acquisition option can be set on the detailed information acquisition interface, the user corresponding to the client can click the detailed information acquisition option to trigger a detailed information acquisition request carrying the member ID, the client sends the detailed information acquisition request to the server, and the server acquires the detailed information of the member according to the member ID and sends the detailed information of the member to the client.
S103, the client displays a first object retrieval result on the target page.
After the client retrieves the first object retrieval result locally, the client can further judge whether the first object retrieval result is empty, if not, the client indicates that the corresponding object is retrieved locally at the client, the first object retrieval result can be immediately displayed on a target page, and the client retrieves the first object retrieval result locally at a relatively high speed, so that the object corresponding to the client can view the retrieval result within the first time without waiting for a long time, and the user experience is good. If so, indicating that the corresponding object is not retrieved locally at the client, displaying the current target page as empty, and waiting for the object retrieval result of the server.
In a possible embodiment, if the client finds that the first object retrieval result has reached the list exposable length of the target page of the client after the target page exposes the first object retrieval result, a retrieval termination request may be immediately sent to the server, so that the server stops the cloud retrieval process, thereby saving cloud retrieval resources. The list exposable length of the target page of the client refers to the maximum length of the list which can be exposed in the target page of the client.
And S105, the server searches a second object search result corresponding to the field to be searched in the local total organization information.
And after receiving the object retrieval request, the server retrieves a second object retrieval result corresponding to the field to be retrieved from the locally stored full-amount organization information.
In the embodiment of the present invention, in order to achieve that the second object retrieval result corresponding to the field to be retrieved can be retrieved conveniently from the locally stored full-amount organization information, a background search system may be established in advance, that is, before S101, the method further includes: and establishing a mapping relation between the retrieval field and the object corresponding to the object information.
Specifically, the establishing of the mapping relationship between the retrieval field and the object corresponding to the object information may include:
and the server carries out word segmentation processing on the object information to obtain a plurality of candidate retrieval fields.
The server determines a constraint condition corresponding to each of the plurality of candidate retrieval fields.
And the server filters the candidate retrieval fields based on the constraint conditions corresponding to the candidate retrieval fields to obtain a plurality of target candidate retrieval fields.
The server establishes a mapping relation between a plurality of target retrieval fields and objects corresponding to corresponding object information.
When a mapping relation between a retrieval field and an object corresponding to object information is constructed, word segmentation processing can be carried out on the object information, so that a plurality of candidate retrieval fields are obtained. And then establishing a mapping relation between the filtered retrieval fields meeting the conditions and the objects corresponding to the corresponding object information, and storing the mapping relation so as to construct and obtain the background search system.
It should be noted that, not every candidate search field may be set with a corresponding constraint condition, and for a candidate search field without a constraint condition, a mapping relationship between the candidate search field and the object may be directly established.
S001 will be described below by taking an example in which an organization is an enterprise, total organization information is enterprise address book information in instant messaging software, and an object is a member in an enterprise address book:
when the address book of the enterprise is added or deleted or the retrievable field data of the members in the enterprise is changed, the data are asynchronously synchronized to the server. The server establishes a mapping relationship between the retrieved field and the object by segmenting the retrievable field, and specifically may be:
the enterprise may select a search field and constraint rules for that field that may be subject to member search within the configuration provided by the system. The member information in the enterprise address book information may generally include: user Chinese name, Chinese phonetic alphabet, English name, mobile phone number, mail box and fixed telephone number. Constraint rules need to be added for partial fields, for example:
1) the mobile phone number can be searched only when the number of the pure numeric strings and the number of the numeric characters are more than 6 and less than 11.
2) The telephone number can be searched only if the number of the pure numeric string and the number of the numeric characters is more than 3.
Since the optional fields and rules belong to the business logic and change frequently, the search system includes all the fields related to retrieval in the search scope.
After the logic screening, finally filtering out the retrieval fields meeting the conditions, establishing a mapping relation between the filtered retrieval fields meeting the conditions and the members corresponding to the corresponding member information, and storing the mapping relation, thereby obtaining the background search system.
It should be noted that, not every field needs to be added with a constraint condition, and for a field without added with a constraint condition, a mapping relationship with a corresponding member may be directly established.
In the following, taking the member information as the mobile phone number as an example, the mapping relationship between the searched field and the member is established:
assuming that the mobile phone number of the object "zhang san" is 12345678901, the mobile phone number is participled to obtain the following candidate search fields: 12. 34, 56, 12345, 123456, 1234567, 12345678, 234, 23456, 234567, 345678, 4567890, and the like.
Since the number of words of the mobile phone number is more, in order to improve the efficiency and accuracy of the search system, the constraint condition (that is, the mobile phone number can be searched only when the number of the numeric characters is greater than 6 and less than 11) is set for the mobile phone number, the candidate search fields are filtered through the constraint condition to obtain a plurality of target candidate search fields (123456, 1234567, 12345678, 234567, 345678, 4567890), and the mapping relationship between the target candidate search fields and the object (zhang) is established.
Accordingly, as shown in fig. 3, the S105 may include:
and S10501, the server carries out word segmentation processing on the fields to be retrieved to obtain a plurality of target fields to be retrieved.
S10503, the server filters the plurality of target fields to be retrieved based on preset constraint conditions corresponding to the plurality of target fields to be retrieved, and a plurality of filtered target fields to be retrieved are obtained.
And S10505, the server retrieves the object retrieval results corresponding to the filtered multiple target fields to be retrieved in the local full organization information.
And S10507, the server takes the object retrieval results corresponding to the filtered multiple target fields to be retrieved as second object retrieval results.
In this embodiment, after receiving the object retrieval request, the server may input the field to be retrieved to a pre-established search system, where the search system may perform word segmentation on the field to be retrieved to obtain a plurality of target fields to be retrieved, then filter the plurality of target fields to be retrieved according to a constraint condition used in constructing a background retrieval system to obtain a plurality of filtered target fields to be retrieved, and finally retrieve object retrieval results corresponding to the plurality of filtered target fields to be retrieved in the full-amount organization information stored in the local server according to a pre-established mapping relationship to obtain a second object retrieval result.
In a possible embodiment, in order to improve the retrieval accuracy and efficiency of the object retrieval result, in addition to inputting the field to be retrieved into the pre-established search system, a field range to be retrieved may also be input into the search system, where the field range to be retrieved refers to a field range of the object to be retrieved. Because the number of hit members is possibly large by searching the field to be searched, the field range needing to be searched is input into the search system together, the number of hit members can be reduced, and the search efficiency and accuracy are improved.
In a possible embodiment, since the number of members hit in a single field to be retrieved may be large, when the server performs the retrieval, the maximum number of results of the second object retrieval result that can be returned by the search system may be determined based on the exposable length of the list of the target pages of the client. For example, the maximum number of results is determined to be 50 based on the list exposable length of the client.
The maximum result return number is set through the server based on the list displayable length of the client, the return result can be matched with the client, the situations that the return number is too large and the client cannot be displayed are avoided, and the user experience is improved.
S105 will be described below by taking the example where the organization is an enterprise, the total organization information is enterprise address book information in the instant messenger, the object is a member in an enterprise address book, and the second object search result is a second member list:
after the server receives the field to be retrieved, word segmentation processing can be performed on the field to be retrieved in advance to obtain a plurality of target fields to be retrieved.
Assuming that the field to be retrieved is "12345678", the server performs word segmentation on the field to be retrieved to obtain a plurality of target fields to be retrieved (e.g., "1", "2", "12", "56", "123", "456", "1234", "12345", "123456", "234567", "12345678", etc.).
Since all the target fields to be retrieved are pure numbers, the plurality of target fields to be retrieved can be filtered by referring to a constraint rule (for example, a pure number string can be searched by a mobile phone number only if the number of the digital characters is greater than 6 and less than 11, and a landline number only if the number of the digital characters is greater than 3) used for constructing a search system, and the search fields meeting conditions are filtered, for example: and filtering out target fields to be retrieved (such as '123456', '234567', '12345678') capable of being retrieved by mobile phone numbers and target fields to be retrieved (such as '123', '456', '1234', '12345', '123456', '234567', '12345678') capable of being retrieved by fixed phone numbers.
Then, the server searches the member list corresponding to each of the filtered multiple fields to be retrieved in the locally stored full address book information according to the pre-established mapping relationship (for example, two members of zhang san and lie are searched through "123456", two members of wang di and cheng wu are searched through "234567", etc.). And finally, the server combines the member lists corresponding to the fields to be retrieved to obtain the retrieval result of the second member object.
As described above, in the embodiment of the present invention, the object retrieval process adopts a retrieval mode in which the client retrieval and the server retrieval are performed concurrently, that is, the first object retrieval result is preferentially retrieved from the local organization information stored in the client, and the first object retrieval result is displayed on the target page in time, so that the user corresponding to the client can view the result at the first time, and the user experience is better. And simultaneously, searching a second object searching result in the full amount of organization information stored in the server. By means of a retrieval mode in which the client retrieval and the server retrieval are carried out concurrently, not only can failure of partial retrieval fields caused by retrieval only in local organization information stored in the client be avoided, but also objects can be retrieved in the whole organization information stored in the server through sensitive fields, and integrity and safety of retrieved data are guaranteed.
And S107, the server determines a hidden object which sets invisible authority for the object corresponding to the client from the second object retrieval result.
S109, the server filters the hidden object in the second object retrieval result to obtain the filtered second object retrieval result.
Because the organization information locally pulled by the client is filtered by the hidden rule, an object which is invisible to a user cannot appear in the local organization information. Thus, objects hidden from the user are generally not searched for when retrieved locally at the client. Since a certain object may be hidden to the user a but visible to the user B, theoretically, objects searched by different users performing search should be different, but since cloud search cannot determine the visibility of the object in the search system, the cloud search may search for a hidden object that sets an invisible right for the user performing search (i.e., an object corresponding to the client), and if the hidden user that sets the invisible right is sent to the client, the user performing search must acquire information of the hidden object, thereby affecting the privacy security of the hidden object.
In order to improve the accuracy of object retrieval and the security of data privacy, after cloud search is completed, the visible or invisible permission set by a hit object to a user performing the search (i.e., an object corresponding to a client) can be further checked according to the setting information of the object, so that whether the hit object is visible to the user performing the search is determined, and the hit object with the invisible permission set to the user is filtered. For example, the second object retrieval result hit by the cloud retrieval includes the object: A. b, C, D, E …, N, confirming that object C, D, E sets invisible rights to the user performing the search, object C, D, E is filtered from the second object search results, resulting in filtered second object search results.
As described above, since the server may determine the maximum number of result returns based on the list exposable length of the client, the hidden object filtering may cause the number of results returned by the cloud retrieval to be inconsistent with the expectation. For example, for the keyword "clear", the number of visible objects for the user is 10 and the number of invisible objects is 200. The maximum number of returned objects during cloud retrieval is 50, and if 50 returned objects are just invisible to the user, the number of lists finally returned by the request is null and does not accord with the expected 10 objects.
Therefore, in order to ensure that the result data returned by the cloud end conforms to the expectation, so as to meet the list display length of the client end, for the organization configured with the hidden rule, the maximum object return number of the retrieval can be doubled, and if the default value is 50, 100 can be output when the cloud end retrieves. Then, hidden rule filtering is performed.
In one possible embodiment, if the maximum number of object returns retrieved is doubled and the maximum number of object returns returned after filtering the hidden objects is still greater than the maximum number of returns (e.g., 50), the first 50 filtered records may be retained, and if the number of server search system returns 100 records and less than 50 records after filtering, the above flow continues based on the last location until 50 records are met or the full amount of data has been filtered.
Specifically, the objects retrieved and output by the cloud of the server may be sorted according to a preset rule to obtain an object sequence, for example, the objects may be sorted in a reverse order according to a matching degree between the output object and a field to be retrieved, or sorted in a reverse order according to a frequency (for example, a number of calls) of recent contact between the output object and an object corresponding to the client, or sorted in a reverse order according to an affinity between the output object and an object corresponding to the client. Finally, the first preset number of objects (e.g., the first 50 objects) in the sequence of objects is retained.
And S1011, the server sends the filtered second object retrieval result to the client.
And S1013, the client updates the first object retrieval result displayed in the target page based on the filtered second object retrieval result.
Specifically, the S1013 may include:
and the client determines an object retrieval result which is not overlapped with the first object retrieval result from the filtered second object retrieval results.
The client displays the first object retrieval result and the non-overlapping object retrieval result on the target page.
In the embodiment of the invention, after the cloud retrieval of the server is completed, the second object retrieval result can be sent to the client, and because the simplified address book information (mainly comprising the head portrait information and the name information for list display) is stored in the local storage of the client and the full address book information is stored in the server, the retrieval results are overlapped when the local retrieval and the cloud retrieval of the client are performed. In order to improve the simplicity and accuracy of the object retrieval result, the first object retrieval result displayed on the target page can be updated through the filtered second object retrieval result, namely, the overlapped part of the filtered second object retrieval result and the first object retrieval result is removed, the part which is not overlapped with the first object retrieval result is reserved, and the first object retrieval result and the object retrieval result which is not overlapped with each other are displayed in the target page.
For example, the first object search result retrieved locally by the client includes object A, B, C, and the filtered second object search result retrieved by the server cloud includes A, B, C, D, E, then object D, E is a search result that does not overlap with each other, and object D, E is added to the target page and displayed together with the first object search result, so that the first object search result is updated.
The object search method is described below with the client as the execution subject:
fig. 4 is a schematic flowchart illustrating another object retrieval method according to an embodiment of the present invention, and as shown in fig. 4, the method may include:
s201, responding to an object retrieval request carrying a field to be retrieved, locally retrieving a first object retrieval result corresponding to the field to be retrieved, and sending the object retrieval request to a server; the local storage stores local organization information among the total organization information of the organization in which the object is located.
S203, displaying the first object retrieval result on the target page.
S205, receiving a filtered second object retrieval result returned by the server; the filtered second object retrieval result is obtained by filtering a hidden object in the second object retrieval result by the server, wherein the hidden object is an object which sets an invisible right for an object corresponding to the client; and the second object retrieval result is obtained by the server based on the field to be retrieved and retrieval is carried out in the full amount of organization information of the server.
And S207, updating the first object retrieval result displayed in the target page based on the filtered second object retrieval result.
Specifically, before S201, the method may further include:
and sending an organization information pulling request to the server so that the server carries out simplification processing on the total organization information to obtain local organization information when determining that the number of objects in the organization is greater than a preset number threshold value based on the identification information of the organization carried in the organization information pulling request.
And receiving local organization information returned by the server.
Local tissue information is stored.
Specifically, the sending of the organization information pulling request to the server if the total organization information includes object information and organization architecture information, so that the server performs simplification processing on the total organization information to obtain local organization information when determining that the number of objects in the organization is greater than a preset number threshold based on identification information of the organization carried in the organization information pulling request, may include:
sending an organization information pulling request to a server so that the server acquires object image information and object identification information from the object information when determining that the number of objects in an organization is greater than a preset number threshold value based on the identification information; and causing the server to use the organization architecture information, the object image information, and the object identification information as local organization information.
Specifically, S203 may include: and when the first object retrieval result is determined not to be empty, displaying the first object retrieval result on the target page.
Specifically, S207 may include:
and determining an object retrieval result which does not overlap with the first object retrieval result from the filtered second object retrieval results.
And displaying the first object retrieval result and the object retrieval results which do not overlap with each other on the target page.
The object search method is described below with a server as an execution subject:
fig. 5 is a schematic flowchart of another object retrieval method according to an embodiment of the present invention, and as shown in fig. 5, the method may include:
s301, receiving an object retrieval request sent by a client, wherein the object retrieval request carries a field to be retrieved.
And S303, retrieving a second object retrieval result corresponding to the field to be retrieved from the full organization information of the organization in which the object is located.
S305, determining a hidden object which sets invisible authority for the object corresponding to the client from the second object retrieval result.
And S307, filtering hidden objects in the second object retrieval result to obtain a filtered second object retrieval result.
S309, sending the filtered second object retrieval result to the client, so that the client updates the first object retrieval result displayed in the target page based on the filtered second object retrieval result; and the first object retrieval result is obtained by the client-side responding to the object retrieval request and retrieving at the client-side, and the client-side stores local organization information in the full organization information.
Specifically, S303 may include:
and performing word segmentation processing on the fields to be retrieved to obtain a plurality of target fields to be retrieved.
And filtering the plurality of target fields to be retrieved based on the preset constraint conditions corresponding to the plurality of target fields to be retrieved respectively to obtain the plurality of filtered target fields to be retrieved.
And in the full organization information, retrieving object retrieval results corresponding to the filtered multiple target fields to be retrieved respectively.
And taking the object retrieval results corresponding to the filtered multiple target fields to be retrieved as second object retrieval results.
As shown in fig. 6, an embodiment of the present invention further provides an object retrieval terminal, where the object retrieval terminal may include:
the response module 401 may be configured to respond to an object retrieval request carrying a field to be retrieved, retrieve a first object retrieval result corresponding to the field to be retrieved locally, and send the object retrieval request to the server; local organization information in the total organization information of the organization in which the object is located is locally stored.
The presentation module 403 may be configured to present the first object search result on the target page.
The filtering receiving module 405 may be configured to receive a filtered second object retrieval result returned by the server; the filtered second object retrieval result is obtained by filtering a hidden object in the second object retrieval result by the server, wherein the hidden object is an object which sets an invisible right for an object corresponding to the client; and the second object retrieval result is obtained by the server based on the field to be retrieved and retrieval is carried out in the full amount of organization information of the server.
The updating module 407 may be configured to update the first object search result shown in the target page based on the filtered second object search result.
Specifically, the terminal may further include:
the organization information pulling request sending module may be configured to send an organization information pulling request to the server, so that when the server determines that the number of objects in the organization is greater than a preset number threshold based on the identification information of the organization carried in the organization information pulling request, the server performs simplification processing on the full amount of organization information to obtain the local organization information.
The local organization information receiving module can be used for receiving the local organization information returned by the server.
And the local organization information storage module can be used for storing the local organization information.
Specifically, the total organization information includes object information and organization architecture information, and the organization information pulling request sending module may be configured to send an organization information pulling request to the server, so that the server obtains object image information and object identification information from the object information when determining that the number of objects in the organization is greater than a preset number threshold based on the identification information; and causing the server to use the organization architecture information, the object image information, and the object identification information as local organization information.
Specifically, the presenting module 403 may be configured to present the first object search result on the target page when it is determined that the first object search result is not empty.
Specifically, the update module 407 may include:
and the duplication removing unit can be used for determining an object retrieval result which does not overlap with the first object retrieval result from the filtered second object retrieval results.
And the duplicate removal presentation unit can be used for presenting the first object retrieval result and the object retrieval results which are not overlapped with each other on the target page.
It should be noted that the server embodiment provided by the embodiment of the present invention is based on the same inventive concept as the method embodiment described above.
As shown in fig. 7, an embodiment of the present invention further provides an object retrieval server, where the object retrieval server may include:
the object retrieval request receiving module 501 may be configured to receive an object retrieval request sent by a client, where the object retrieval request carries a field to be retrieved.
The second object search result obtaining module 503 may be configured to search, in the full organization information of the organization in which the object is located, a second object search result corresponding to the field to be searched.
The hidden object determining module 505 may be configured to determine, from the second object retrieval result, a hidden object that sets an invisible right for an object corresponding to the client.
The filtering module 507 may be configured to filter the hidden object in the second object search result to obtain a filtered second object search result.
A filtering and sending module 509, configured to send the filtered second object search result to the client, so that the client updates the first object search result shown in the target page based on the filtered second object search result; and the first object retrieval result is obtained by responding to the object retrieval request by the client and retrieving at the client, wherein the client stores local organization information in the full organization information.
Specifically, the second object search result obtaining module 503 may include:
and the word segmentation unit can be used for performing word segmentation processing on the field to be retrieved to obtain a plurality of target fields to be retrieved.
And the constraint filtering unit can be used for filtering the multiple target fields to be retrieved based on the preset constraint conditions corresponding to the multiple target fields to be retrieved respectively to obtain the multiple filtered target fields to be retrieved.
And the filtering retrieval unit can be used for retrieving object retrieval results corresponding to the filtered multiple target fields to be retrieved in the full amount of organization information.
The second object retrieval result determining unit may be configured to use an object retrieval result corresponding to each of the filtered multiple target fields to be retrieved as a second object retrieval result.
It should be noted that the terminal embodiment provided by the embodiment of the present invention is based on the same inventive concept as the above-mentioned method embodiment.
An embodiment of the present invention further provides an object retrieval system, where the object retrieval system may include: a server and a client side, wherein the server side and the client side are connected,
the client side can be used for responding to an object retrieval request carrying a field to be retrieved, locally retrieving a first object retrieval result corresponding to the field to be retrieved, and sending the object retrieval request to the server; the local storage stores local organization information in the organization information of the organization in which the object is positioned; and the first object retrieval result is displayed on the target page; the server is used for receiving a filtered second object retrieval result returned by the server; and updating the first object retrieval result displayed in the target page based on the filtered second object retrieval result.
The server is used for receiving an object retrieval request sent by a client and retrieving a second object retrieval result corresponding to a field to be retrieved from local full-amount organization information; and a hidden object used for determining that invisible permission is set for an object corresponding to the client from the second object retrieval result; the hidden object in the second object retrieval result is filtered to obtain a filtered second object retrieval result; and the client is used for sending the filtered second object retrieval result to the client.
The embodiment of the present invention further provides an electronic device for object retrieval, where the electronic device includes a processor and a memory, where the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the object retrieval method provided in the foregoing method embodiment.
Embodiments of the present invention also provide a computer-readable storage medium, which may be disposed in a terminal to store at least one instruction or at least one program for implementing an object retrieval method in the method embodiments, where the at least one instruction or the at least one program is loaded and executed by a processor to implement the object retrieval method provided in the method embodiments.
Alternatively, in the present specification embodiment, the storage medium may be located at least one network server among a plurality of network servers of a computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
The memory of the embodiments of the present disclosure may be used to store software programs and modules, and the processor may execute various functional applications and data processing by operating the software programs and modules stored in the memory. The memory can mainly comprise a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs needed by functions and the like; the storage data area may store data created according to use of the device, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory may also include a memory controller to provide the processor access to the memory.
The object retrieval method, the terminal, the server and the storage medium provided by the embodiment of the invention have the following beneficial effects:
1) based on a field simplified pulling mode introduced by combining client local search and server cloud search, the client does not pull the whole organization information, but only pulls the simplified organization information (namely local organization information), so that the data size of the organization information pulling is reduced, and the address book pulling speed is increased. Taking an organization as an enterprise and a new organization as an enterprise address book as an example, the verified 180 w-magnitude enterprise address book total pulling time is increased from 10min to 5 min.
2) Because the client stores not the full amount of organization information but only the local organization information used for list display in the organization information (namely only partial simplified information), the field simplification mode effectively avoids the storage of partial sensitive fields in the local client, and the data security is improved.
3) Because the speed of local retrieval of the client is relatively high, the first object retrieval result is retrieved from the local organization information stored in the client, and the first object retrieval result is displayed on the target page in time, so that a user corresponding to the client can view the result at the first time, and the user experience is good. And because only searching in the local organization information stored in the client causes the failure of partial search fields or the incomplete search data, the method can ensure that objects which cannot be searched locally by the client are searched in the whole organization information stored in the server through sensitive fields in combination with a concurrent search mode of the server, thereby ensuring the integrity and the safety of the search data.
4) Through the mode of combining local search and cloud search, the server stores the whole amount of organization information, so that a user can search and retrieve objects in the organization through the cloud before the local address book is loaded, and a session is initiated to the objects.
5) Because the server filters the hidden object from the retrieved second object retrieval result and then sends the second object retrieval result to the client, the server can be prevented from sending the invisible object of the user corresponding to the client, and the privacy safety of the invisible object is ensured.
Embodiments of the present invention also provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to enable the computer device to execute the object retrieval method provided by the method embodiment.
The embodiment of the object retrieval method provided by the embodiment of the invention can be executed in a terminal, a computer terminal, a server or a similar operation device. Taking the example of running on a server, fig. 8 is a hardware structure block diagram of the server of the object retrieval method according to the embodiment of the present invention. As shown in fig. 8, the server 600 may have a relatively large difference due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 610 (the CPU 610 may include but is not limited to a Processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 630 for storing data, and one or more storage media 620 (e.g., one or more mass storage devices) for storing applications 623 or data 622. Memory 630 and storage medium 620 may be, among other things, transient or persistent storage. The program stored on the storage medium 620 may include one or more modules, each of which may include a series of instruction operations for the server. Still further, the central processor 610 may be configured to communicate with the storage medium 620 to execute a series of instruction operations in the storage medium 620 on the server 600. The Server 600 may also include one or more power supplies 660, one or more wired or wireless network interfaces 650, one or more input-output interfaces 640, and/or one or more operating systems 621, such as a Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTMAnd so on.
The input/output interface 640 may be used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the server 600. In one example, i/o Interface 640 includes a Network adapter (NIC) that may be coupled to other Network devices via a base station to communicate with the internet. In one example, the input/output interface 640 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
It will be understood by those skilled in the art that the structure shown in fig. 8 is only an illustration and is not intended to limit the structure of the electronic device. For example, server 600 may also include more or fewer components than shown in FIG. 8, or have a different configuration than shown in FIG. 8.
It should be noted that: the precedence order of the above embodiments of the present invention is only for description, and does not represent the merits of the embodiments. And specific embodiments thereof have been described above. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
All the embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, as for the device and server embodiments, since they are substantially similar to the method embodiments, the description is simple, and the relevant points can be referred to the partial description of the method embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The present invention is not limited to the above preferred embodiments, and any modifications, equivalent replacements, improvements, etc. within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. An object retrieval method, the method comprising:
responding to an object retrieval request carrying a field to be retrieved, locally retrieving a first object retrieval result corresponding to the field to be retrieved, and sending the object retrieval request to a server; the local storage stores local organization information in the total organization information of the organization of the object;
displaying the first object retrieval result on a target page;
receiving a filtered second object retrieval result returned by the server; the filtered second object retrieval result is obtained by filtering a hidden object in the second object retrieval result by the server, wherein the hidden object is an object for setting an invisible authority for an object corresponding to the client; the second object retrieval result is obtained by the server based on the field to be retrieved and retrieval is carried out in the full amount of organization information of the server;
updating the first object retrieval result displayed in the target page based on the filtered second object retrieval result.
2. The method according to claim 1, wherein before the responding to the object retrieval request carrying the field to be retrieved, locally retrieving the first object retrieval result corresponding to the field to be retrieved, and sending the object retrieval request to the server, the method comprises:
sending an organization information pulling request to the server, so that when the server determines that the number of objects in the organization is greater than a preset number threshold value based on identification information of the organization carried in the organization information pulling request, the server carries out simplification processing on the full organization information to obtain the local organization information;
receiving the local organization information returned by the server;
storing the local tissue information.
3. The method according to claim 2, wherein if the total organization information includes object information and organization architecture information, the sending of an organization information pulling request to the server is performed, so that when the server determines that the number of objects in the organization is greater than a preset number threshold based on identification information of the organization carried in the organization information pulling request, the simplifying processing is performed on the total organization information to obtain the local organization information, and includes:
sending the organization information pulling request to the server so that the server acquires object image information and object identification information from the object information when determining that the number of objects in the organization is greater than the preset number threshold value based on the identification information; and causing the server to take the organization architecture information, the object image information, and the object identification information as the local organization information.
4. The method of claim 1, wherein the presenting the first object search result on the target page comprises:
and when the first object retrieval result is determined not to be empty, displaying the first object retrieval result on the target page.
5. The method of claim 1, wherein updating the first object search result shown in the target page based on the filtered second object search result comprises:
determining an object retrieval result which is not overlapped with the first object retrieval result from the filtered second object retrieval results;
and displaying the first object retrieval result and the non-overlapping object retrieval result on the target page.
6. An object retrieval method, the method comprising:
receiving an object retrieval request sent by a client, wherein the object retrieval request carries a field to be retrieved:
and in the full organization information of the organization in which the object is located, retrieving a second object retrieval result corresponding to the field to be retrieved:
determining a hidden object which sets invisible authority for the object corresponding to the client from the second object retrieval result:
filtering the hidden object in the second object retrieval result to obtain a filtered second object retrieval result:
sending the filtered second object retrieval result to the client, so that the client updates the first object retrieval result displayed in the target page based on the filtered second object retrieval result; and the first object retrieval result is obtained by the client side in response to the object retrieval request and is retrieved at the client side, and the client side stores local organization information in the full amount of organization information.
7. The method according to claim 6, wherein the retrieving, in the full organization information of the organization in which the object is located, the second object retrieval result corresponding to the field to be retrieved includes:
performing word segmentation processing on the fields to be retrieved to obtain a plurality of target fields to be retrieved;
filtering the plurality of target fields to be retrieved based on preset constraint conditions corresponding to the plurality of target fields to be retrieved respectively to obtain a plurality of filtered target fields to be retrieved;
retrieving object retrieval results corresponding to the filtered multiple target fields to be retrieved in the full organization information;
and taking the object retrieval results corresponding to the filtered multiple target fields to be retrieved as the second object retrieval results.
8. An object retrieval terminal, characterized in that the terminal comprises:
the response module is used for responding to an object retrieval request carrying a field to be retrieved, locally retrieving a first object retrieval result corresponding to the field to be retrieved and sending the object retrieval request to a server; the local storage stores local organization information in the total organization information of the organization of the object;
the display module is used for displaying the first object retrieval result on a target page;
the filtering receiving module is used for receiving a filtered second object retrieval result returned by the server; the filtered second object retrieval result is obtained by filtering a hidden object in the second object retrieval result by the server, wherein the hidden object is an object for setting an invisible authority for an object corresponding to the client; the second object retrieval result is obtained by the server based on the field to be retrieved and retrieval is carried out in the full amount of organization information of the server;
and the updating module is used for updating the first object retrieval result displayed in the target page based on the filtered second object retrieval result.
9. An object retrieval server, the server comprising:
the object retrieval request receiving module is used for receiving an object retrieval request sent by a client, wherein the object retrieval request carries a field to be retrieved;
the second object retrieval result acquisition module is used for retrieving a second object retrieval result corresponding to the field to be retrieved from the full organization information of the organization in which the object is located;
a hidden object determining module, configured to determine, from the second object retrieval result, a hidden object that sets an invisible right for an object corresponding to the client;
the filtering module is used for filtering the hidden object in the second object retrieval result to obtain a filtered second object retrieval result;
the filtering and sending module is used for sending the filtered second object retrieval result to the client so that the client can update the first object retrieval result displayed in the target page based on the filtered second object retrieval result; and the first object retrieval result is obtained by the client side in response to the object retrieval request and is retrieved at the client side, and the client side stores local organization information in the full amount of organization information.
10. A computer-readable storage medium, in which at least one instruction or at least one program is stored, the at least one instruction or the at least one program being loaded and executed by a processor to implement the object retrieval method according to any one of claims 1 to 7.
CN202011269278.0A 2020-11-13 2020-11-13 Object retrieval method, terminal, server and storage medium Pending CN114490734A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011269278.0A CN114490734A (en) 2020-11-13 2020-11-13 Object retrieval method, terminal, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011269278.0A CN114490734A (en) 2020-11-13 2020-11-13 Object retrieval method, terminal, server and storage medium

Publications (1)

Publication Number Publication Date
CN114490734A true CN114490734A (en) 2022-05-13

Family

ID=81489831

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011269278.0A Pending CN114490734A (en) 2020-11-13 2020-11-13 Object retrieval method, terminal, server and storage medium

Country Status (1)

Country Link
CN (1) CN114490734A (en)

Similar Documents

Publication Publication Date Title
US11681654B2 (en) Context-based file selection
RU2343537C2 (en) Computer search with help of associative links
US8914720B2 (en) Method and system for constructing a document redundancy graph
US10078781B2 (en) Automatically organizing images
US11409775B2 (en) Recommending documents sets based on a similar set of correlated features
US8831951B2 (en) Verbal labels for electronic messages
CN107168599B (en) Instant messaging method and device
US20230222116A1 (en) Custom metadata tag inheritance based on a filesystem directory tree or object storage bucket
JP5127272B2 (en) Workflow management system
CN113326363B (en) Searching method and device, prediction model training method and device and electronic equipment
CN112364051B (en) Data query method and device
CN111930891A (en) Retrieval text expansion method based on knowledge graph and related device
WO2017080198A1 (en) Memo update method and device
CN114490734A (en) Object retrieval method, terminal, server and storage medium
CN115544050A (en) Operation log recording method, device, equipment and storage medium
CN114238745A (en) Method and device for providing search result, electronic equipment and medium
JP4718897B2 (en) E-mail and file management method, program, and computer system
US10628264B1 (en) Context-driven data backup and recovery
CN109885542A (en) Item file management method, device and storage medium
CN113239258B (en) Method, device, electronic equipment and storage medium for providing query suggestion
JP2023057658A (en) Information processing device, method executed by computer to provide information, and program
CN117610059A (en) Authority data storage method, device, equipment and storage medium
US20210216538A1 (en) Assist system and assist method
CN116383145A (en) File management method, device, electronic equipment and computer readable storage medium
CN111966666A (en) Data integration management and development method and platform

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