CN112434041A - Cross-tenant and cross-bucket retrieval method, device, medium and equipment based on index alias - Google Patents

Cross-tenant and cross-bucket retrieval method, device, medium and equipment based on index alias Download PDF

Info

Publication number
CN112434041A
CN112434041A CN202011383039.8A CN202011383039A CN112434041A CN 112434041 A CN112434041 A CN 112434041A CN 202011383039 A CN202011383039 A CN 202011383039A CN 112434041 A CN112434041 A CN 112434041A
Authority
CN
China
Prior art keywords
index
alias
bucket
cross
tenant
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
CN202011383039.8A
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.)
China Life Insurance Co Ltd China
Original Assignee
China Life Insurance Co Ltd China
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 China Life Insurance Co Ltd China filed Critical China Life Insurance Co Ltd China
Priority to CN202011383039.8A priority Critical patent/CN112434041A/en
Publication of CN112434041A publication Critical patent/CN112434041A/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/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • 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/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • 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
    • 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/248Presentation of query results

Landscapes

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

Abstract

The exemplary embodiment of the invention provides a cross-tenant and cross-bucket retrieval method, a device, a medium and equipment based on an index alias, wherein the method comprises the following steps: dividing system objects stored in a bucket according to specific service scenes, and generating a corresponding index name for each specific service scene; inserting an index alias, and establishing a comparison relation table of the index alias and the index name; and searching a query result corresponding to the query information across the buckets in the plurality of buckets by combining the input query information and the index alias, wherein the query result comprises a system object matched with the query information. The invention can expand the index in query from single bucket under single tenant to multi-bucket operation under multi-tenant, and can provide better support for the system containing various service operations, thereby realizing cross-tenant and cross-bucket data sharing.

Description

Cross-tenant and cross-bucket retrieval method, device, medium and equipment based on index alias
Technical Field
The exemplary embodiment of the invention relates to the technical field of data processing, in particular to a cross-tenant and cross-bucket retrieval method, a cross-tenant and cross-bucket retrieval device, a cross-tenant and cross-bucket retrieval medium and a cross-tenant and cross-bucket retrieval device based on index aliases.
Background
For different services, at present, separate inquiry, statistics and analysis are performed, however, the association between services is larger and more complex, and the problem that the service needs to be solved by only one service cannot be met, so that data sharing between services is more and more important, for example, the data of the service to be guaranteed is needed for the underwriting service, and the underwriting and the insurance belong to different services, but the data between the underwriting service and the underwriting service is separate, so that sharing cannot be realized.
When a business problem relates to a plurality of business departments, a great deal of manpower needs to be coordinated for analysis and processing, which undoubtedly causes great manpower consumption, and communication among the business departments is not timely, information omission is caused, and communication cost is increased.
The existing storage system can store mass data, and can be divided into objects, buckets, tenants, users and the like in architecture, wherein the objects can be understood as stored data contents, the tenants are used for isolating storage resources, the buckets are logical containers for containing the data contents, when a user writes data in one bucket, the users of other buckets cannot access or analyze the data contents of the bucket and the other buckets, and how to realize simultaneous query, statistics, analysis and summarization of multiple business departments (corresponding buckets) is realized, so as to solve the problem that the existing business data cannot be shared, which is an important problem to be solved urgently in the industry at present.
Disclosure of Invention
In view of this, an object of the exemplary embodiments of the present invention is to provide a cross-tenant and cross-bucket retrieval method, apparatus, medium, and device based on an index alias, so as to solve a problem that data cannot be queried in a cross-bucket or a cross-tenant manner.
Based on the above purpose, an exemplary embodiment of the present invention provides a cross-tenant and cross-bucket retrieval method based on an index alias, including:
dividing system objects stored in a bucket according to specific service scenes, and generating a corresponding index name for each specific service scene;
inserting index aliases, and establishing a comparison relation table between the index aliases and the index names, wherein the index aliases are preset defined service types, and one index alias corresponds to a plurality of index names;
and searching a query result corresponding to the query information across the buckets in the plurality of buckets by combining the input query information and the index alias, wherein the query result comprises a system object matched with the query information.
In another possible implementation manner of the embodiment of the present invention, in combination with the above description, the method further includes:
and generating an alias certificate of the index alias in combination with the index alias according to the application certificate corresponding to each specific service scene, wherein the alias certificate is used for authorization management during inquiry through the index alias.
In another possible implementation manner of the embodiment of the present invention, in combination with the above description, the method further includes:
associating, by the alias credential, a tenant to which the bucket belongs and at least one bucket of other tenants of a level parallel to the tenant.
In another possible implementation manner of the embodiment of the present invention, in combination with the above description, the method further includes:
when the access authority of the index alias changes, the authorization management of the index alias is configured to be modified corresponding to the change.
In another possible implementation manner of the embodiment of the present invention, in combination with the above description, the method further includes:
more than two of the index aliases correspond to a bucket;
and selecting the alias of the index of the bucket according to different service scenes.
In a second aspect, an exemplary embodiment of the present invention further provides an index alias-based cross-tenant cross-bucket retrieval apparatus, including:
the index name creating module is used for dividing the system objects stored in the bucket according to specific service scenes and generating corresponding index names for each specific service scene;
the index alias creating module is used for inserting index aliases and establishing a comparison relation table of the index aliases and the index names, wherein the index aliases are preset and defined service types, and one index alias corresponds to a plurality of index names;
and the query module is used for searching a query result corresponding to the query information in the plurality of buckets in a cross bucket mode by combining the input query information and the index alias, wherein the query result comprises a system object matched with the query information.
The above apparatus further includes an alias authorization module, configured to generate, according to an application credential corresponding to each specific service scenario, an alias credential of the index alias in combination with the index alias, where the alias credential is used for authorization management when queried by the index alias.
The above apparatus, further comprising:
and the parallel association module is used for associating the tenant to which the bucket belongs and associating at least one bucket of other tenants at a level parallel to the tenant through the alias certificate.
In a third aspect, an exemplary embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the cross-tenant and cross-bucket retrieval method based on the index alias when executing the program.
In a fourth aspect, exemplary embodiments of the present invention also provide a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the index alias based cross-tenant cross-bucket retrieval method.
As can be seen from the foregoing, according to the cross-tenant and cross-bucket retrieval method, apparatus, medium, and device based on the index alias provided in the exemplary embodiment of the present invention, by creating the index alias, an association is established between the index alias and an existing index name, so that not only can an index in query be extended from a single bucket under a single tenant to a multi-bucket operation under multiple tenants, but also a better support can be provided for a system including multiple service operations, and data sharing across tenants and buckets is achieved.
Drawings
In order to more clearly illustrate the exemplary embodiments of the present invention or the technical solutions in 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 exemplary embodiments of the present invention, and for those skilled in the art, other drawings may be obtained based on these drawings without inventive effort.
FIG. 1 is a basic flowchart illustration of a cross-tenant and cross-bucket retrieval method based on index aliases in an exemplary embodiment of the invention;
FIG. 2 is a diagram of an indexing alias for an exemplary embodiment of the present invention;
FIG. 3 is a schematic diagram of a cross-tenant, cross-bucket retrieval apparatus based on index aliases in an exemplary embodiment of the invention;
fig. 4 is a schematic diagram of the basic structure of the apparatus according to the exemplary embodiment of the present invention.
Detailed Description
For the purpose of promoting a better understanding of the objects, aspects and advantages of the present disclosure, reference is made to the following detailed description taken in conjunction with the accompanying drawings.
It should be noted that technical terms or scientific terms used in the exemplary embodiments of the present invention should have a general meaning as understood by those having ordinary skill in the art to which the present disclosure pertains, unless otherwise defined. The word "comprising" or "comprises", and the like, means that the element or item listed before the word covers the element or item listed after the word and its equivalents, but does not exclude other elements or items.
In the underlying distributed storage system or cloud storage system of the insurance system, generally, a plurality of tenants exist under the root authority, each tenant corresponds to a plurality of buckets for storing various types of data objects, the tenant may correspond to a certain large department in the insurance system, the bucket may correspond to a middle-level department in the insurance system, and the bucket may include multiple types of application data or various types of subsystem storage data.
The invention relates to a cross-tenant and cross-bucket retrieval method, a device, a medium and equipment based on index aliases, which are mainly applied to scenes, and the basic idea is as follows: by creating the cross-tenant and cross-bucket index alias and establishing the comparison relation table between the index alias and the index name, the problem that a certain application under a certain tenant needs to access data of different buckets under other tenants is solved, and the data query scheme of the cross-business type system is realized.
Fig. 1 is a basic flowchart of a cross-tenant and cross-bucket retrieval method based on an index alias according to an embodiment of the present invention, which is applicable to a situation that data query needs to be performed across buckets and tenants in a data distributed storage system of an insurance system in the present embodiment, and the method can be executed by a central processing module of the insurance system, and specifically includes the following steps:
in step 110, dividing the system objects stored in the bucket according to specific service scenes, and generating a corresponding index name for each specific service scene;
the bucket is a concept of a data distributed storage system of the insurance system in a logical sense, the bucket belongs to a tenant, one tenant can correspond to two or more buckets to store data, subsystems can be arranged in the bucket, and each subsystem can be used for separately managing one category of insurance services.
Specifically, a storage device may be disposed in the bucket for storing data related to an n3s system and an o2s system, respectively, the n3s system may be data of a life insurance or car insurance business type, and the o2s system may be insurance data related to a human body.
The system objects in the bucket are data of specific types, such as insurance data of insurance type of insurance, insurance data of insurance type of insurance, etc., and specific business scenes can be life, car insurance, insurance application, insurance of insurance, etc.
The index name generally corresponds to the subsystem name, and may also be a certain type of data, in an implementation manner of the exemplary embodiment of the present invention, the index name corresponding to the n3s system may be i-n3 s-insture, and the index name corresponding to the o2s system may be i-o2 s-insture, and the data types can be distinguished by the index names.
In step 120, inserting index aliases, and establishing a table of a comparison relationship between the index aliases and the index names, where the index aliases are service types defined in advance, and one index alias corresponds to a plurality of index names;
the index alias is an alias defined for one type or more than two types of index names, for example, when the n3s system corresponds to the index name i-n3 s-insture and the o2s system corresponds to the index name i-o2 s-insture, two systems may correspond to one index alias a-insture.
And inserting an index alias, wherein in the implementation of the exemplary embodiment of the present invention, the index alias can be inserted between the bucket and the tenant, so that the query can be performed across tenants and buckets through the index alias when the query is performed.
A mapping table of the index alias and the index name is established, and may be generally established in a manner of establishing a mapping table, specifically, the mapping table is shown in fig. 2, where a-cause and a-close in fig. 2 are index aliases, the three i-x-cause and five i-y-close below are specific index names, and each index name corresponds to a predefined application or data object or subsystem, and the like.
Referring to fig. 2, the index alias is generally a higher-level concept defined according to a type, for example, both the n3s system and the o2s system are insurance-type insurance application services, and a new index alias a-insurance is defined or newly established according to the higher-level concept; if the shcdplp system and zjzzzdep are both claim services of a container type, a new index alias a-container is defined or newly set up according to the generic concept container thereof.
In step 130, combining the input query information and the index alias, finding a query result corresponding to the query information across buckets in the plurality of buckets, where the query result includes a system object matching the query information.
The input query information is generally keywords existing in each subsystem of the insurance system, such as identity card information, mobile phone number information and the like, and when the query is performed through the identity card information, the unified query of the insurance information can be performed in the insurance system for the service with the index alias as the insurance class (a-insurance).
In one implementation of the exemplary embodiment of the present invention, for example, if mr. li buys two insurance products in the n3s and o2s systems, respectively, and after a long time it is unclear what kind of insurance they have purchased or it is unclear whether they have purchased insurance, mr. li can query on line, according to the conventional query method, only when mr. li queries in n3s and o2s, it can output correct query results, i.e., it buys a corresponding insurance product in the n3s and o2s systems, respectively, and queries in other types of subsystems, e.g., nabps system, it can only output results that they have not purchased the insurance product, and therefore, when mr. li is not querying in the correct subsystem, it cannot obtain correct query results.
By the method, when the identity card information is input, the background establishes association with the insurance policies of all insurance classes through the index alias, such as through a-insure, so that when Mr. Li can inquire that the Mr. Li has been applied to the two insurance class services in the background through the n3s system and the o2s system which belong to the index alias of the a-insure through the identity card information; for another example, mr. li buys 10 groups of risk, and at this time, it does not need to query additionally, and only needs to associate with an index alias, so that the risk insurance policy bought by mr. li can be queried in the risk system belonging to the index alias.
According to the method, through the association of the index alias and the index name, the retrieval speed can be improved, the time is saved for a user, the comprehensiveness of index data can be ensured, and the output efficiency of the retrieval result is greatly improved.
In one implementation manner of the exemplary embodiment of the present invention, the method further includes a process of establishing an alias credential according to the application credential and performing authorization management, where the process includes:
and generating an alias certificate of the index alias in combination with the index alias according to the application certificate corresponding to each specific service scene, wherein the alias certificate is used for authorization management during inquiry through the index alias.
For example, in combination with the above example, when mr. li buys insurance in both the n3s system and the o2s system, mr. li can obtain the authorized application credential of the n3s system in one of the n3s system and the query, and according to the application credential, an alias credential based on an index alias, i.e., alias credential of the other system under the a-instance index alias to which the n3s system belongs, can be generated, and the alias credential can be used for managing whether mr. li has authorization when querying in the parallel other system of the same level, i.e., associating the tenant to which the bucket belongs through the alias credential The claim settlement service.
In one implementation of the exemplary embodiments of this invention, the method further comprises:
when the access authority of the index alias changes, the authorization management of the index alias is configured to be modified corresponding to the change.
For example, when a service scenario changes, if the access right of the same index alias discovers the change, configuration and modification can be performed through the authorization management of the index alias, so that the index management efficiency is improved, and a user can not perceive modification and update of maintenance data, specifically, when a shcdplp claims system needs to access to the insurance information of a client during claim settlement, that means that n3s needs to be authorized to shcdplp to allow the shcdplp to access its own data, that is, after a subsystem under one index alias triggers a claims settlement mechanism, that is, a service scenario changes, and a shcdplp claims subsystem can access to the insurance information of the client corresponding to a keyword, such as id information, through authorization of an n3s subsystem.
In one implementation of the exemplary embodiments of this invention, the method further includes a mechanism for establishing a plurality of index aliases, including:
more than two of the index aliases correspond to a bucket; and selecting the alias of the index of the bucket according to different service scenes.
Specifically, the indexing alias of the n3s system is generally a-instance, which can establish a new indexing alias, such as a-include, and when the customer of the n3s system relates to a specific service type, such as fraud, the specific service scenario (fraud) can be selected, and at the same time, the system with the same service scenario is associated.
It is to be appreciated that the method can be performed by any apparatus, device, platform, cluster of devices having computing and processing capabilities.
Fig. 3 is a schematic structural diagram of a cross-tenant and cross-bucket retrieval apparatus based on an index alias according to an embodiment of the present invention, where the apparatus may be implemented by software and/or hardware, is generally integrated in an intelligent terminal, and may be implemented by a cross-tenant and cross-bucket retrieval method based on an index alias. As shown in the figure, the present embodiment may provide an index alias-based cross-tenant cross-bucket retrieval apparatus based on the above embodiments, which mainly includes an index name creating module 310, an index alias creating module 320, and a query module 330.
The index name creating module 310 is configured to divide the system objects stored in the bucket according to specific service scenarios, and generate a corresponding index name for each specific service scenario;
the index alias creating module 320 is configured to insert an index alias, and create a table of a comparison relationship between the index alias and the index name, where the index alias is a service type defined in advance, and one index alias corresponds to a plurality of index names;
the query module 330 is configured to, in combination with the input query information and the index alias, find a query result corresponding to the query information across buckets in the plurality of buckets, where the query result includes a system object matching the query information.
In one implementation of the exemplary embodiments of this invention, the apparatus further comprises:
and the alias authorization module is used for generating an alias certificate of the index alias by combining the index alias according to the application certificate corresponding to each specific service scene, wherein the alias certificate is used for authorization management when the alias certificate is inquired through the index alias.
In one implementation of the exemplary embodiments of this invention, the apparatus further comprises:
and the parallel association module is used for associating the tenant to which the bucket belongs and associating at least one bucket of other tenants at a level parallel to the tenant through the alias certificate.
In an implementation manner of the exemplary embodiment of the present invention, the apparatus further includes an authorization configuration module, configured to, when the access right of the index alias is changed, perform a modification configuration corresponding to the change on authorization management of the index alias.
In an implementation manner of the exemplary embodiment of the present invention, the method further includes selecting a module for when more than two of the index aliases correspond to a bucket; and selecting the alias of the index of the bucket according to different service scenes.
The apparatus provided in the foregoing embodiments may execute the cross-tenant and cross-bucket retrieval method based on the index alias provided in any embodiment of the present invention, and has a corresponding functional module and an advantageous effect for executing the method.
It should be noted that the method of the exemplary embodiment of the present invention may be executed by a single device, such as a computer or a server. The method of the embodiment can also be applied to a distributed scene and completed by the mutual cooperation of a plurality of devices. In such a distributed scenario, one of the devices may perform only one or more steps of the method of the exemplary embodiments of the present invention, and the devices may interact with each other to complete the method.
The foregoing description has been directed to specific embodiments of this disclosure. 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.
For convenience of description, the above devices are described as being divided into various modules by functions, and are described separately. Of course, the functionality of the various modules may be implemented in the same one or more software and/or hardware in implementing the exemplary embodiments of this invention.
The apparatus of the foregoing embodiment is used to implement the corresponding method in the foregoing embodiment, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
Fig. 4 is a schematic diagram illustrating a more specific hardware structure of an electronic device according to this embodiment, where the electronic device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. Wherein the processor 1010, memory 1020, input/output interface 1030, and communication interface 1040 are communicatively coupled to each other within the device via bus 1050.
The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present disclosure.
The Memory 1020 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 1020 may store an operating system and other application programs, and when the technical solution provided by the embodiment of the present disclosure is implemented by software or firmware, the relevant program codes are stored in the memory 1020 and called by the processor 1010 to execute the cross-tenant and cross-bucket retrieval method based on the index alias according to the embodiment of the present disclosure.
The input/output interface 1030 is used for connecting an input/output module to input and output information. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 1040 is used for connecting a communication module (not shown in the drawings) to implement communication interaction between the present apparatus and other apparatuses. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
Bus 1050 includes a path that transfers information between various components of the device, such as processor 1010, memory 1020, input/output interface 1030, and communication interface 1040.
It should be noted that although the above-mentioned device only shows the processor 1010, the memory 1020, the input/output interface 1030, the communication interface 1040 and the bus 1050, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
Computer-readable media of the present embodiments, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, programs, modules of the programs themselves, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device to perform the above-described aspects of embodiments of the present invention.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, is limited to these examples; within the idea of the present disclosure, also technical features in the above embodiments or in different embodiments may be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the exemplary embodiments of the present invention as described above, which are not provided in detail for the sake of brevity.
In addition, well-known power/ground connections to Integrated Circuit (IC) chips and other components may or may not be shown within the provided figures for simplicity of illustration and discussion, and so as not to obscure the exemplary embodiments of the invention. Furthermore, devices may be shown in block diagram form in order to avoid obscuring exemplary embodiments of the present invention, and this also takes into account the fact that specifics with respect to implementation of such block diagram devices are highly dependent upon the platform within which the exemplary embodiments of the present invention are to be implemented (i.e., specifics should be well within purview of one skilled in the art). Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the disclosure, it should be apparent to one skilled in the art that the example embodiments of the disclosure can be practiced without, or with variation of, these specific details. Accordingly, the description is to be regarded as illustrative instead of restrictive.
While the present disclosure has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of these embodiments will be apparent to those of ordinary skill in the art in light of the foregoing description. For example, other memory architectures (e.g., dynamic ram (dram)) may use the discussed embodiments.
The exemplary embodiments of the invention are intended to embrace all such alternatives, modifications and variances that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the exemplary embodiments of the invention are intended to be included within the scope of the disclosure.

Claims (10)

1. A cross-tenant and cross-bucket retrieval method based on index aliases is characterized by comprising the following steps:
dividing system objects stored in a bucket according to specific service scenes, and generating a corresponding index name for each specific service scene;
inserting index aliases, and establishing a comparison relation table between the index aliases and the index names, wherein the index aliases are preset defined service types, and one index alias corresponds to a plurality of index names;
and searching a query result corresponding to the query information across the buckets in the plurality of buckets by combining the input query information and the index alias, wherein the query result comprises a system object matched with the query information.
2. The method of claim 1, further comprising:
and generating an alias certificate of the index alias in combination with the index alias according to the application certificate corresponding to each specific service scene, wherein the alias certificate is used for authorization management during inquiry through the index alias.
3. The method of claim 2, further comprising:
associating, by the alias credential, a tenant to which the bucket belongs and at least one bucket of other tenants of a level parallel to the tenant.
4. The method of claim 2, further comprising:
when the access authority of the index alias changes, the authorization management of the index alias is configured to be modified corresponding to the change.
5. The method of claim 1, further comprising:
more than two of the index aliases correspond to a bucket;
and selecting the alias of the index of the bucket according to different service scenes.
6. A cross-tenant and cross-bucket retrieval device based on index aliases is characterized by comprising:
the index name creating module is used for dividing the system objects stored in the bucket according to specific service scenes and generating corresponding index names for each specific service scene;
the index alias creating module is used for inserting index aliases and establishing a comparison relation table of the index aliases and the index names, wherein the index aliases are preset and defined service types, and one index alias corresponds to a plurality of index names;
and the query module is used for searching a query result corresponding to the query information in the plurality of buckets in a cross bucket mode by combining the input query information and the index alias, wherein the query result comprises a system object matched with the query information.
7. The apparatus of claim 6, further comprising:
and the alias authorization module is used for generating an alias certificate of the index alias by combining the index alias according to the application certificate corresponding to each specific service scene, wherein the alias certificate is used for authorization management when the alias certificate is inquired through the index alias.
8. The apparatus of claim 7, further comprising:
and the parallel association module is used for associating the tenant to which the bucket belongs and associating at least one bucket of other tenants at a level parallel to the tenant through the alias certificate.
9. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the index alias based cross-tenant cross-bucket retrieval method of any one of claims 1 through 5.
10. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1 to 5 for index alias based cross-tenant cross-bucket retrieval.
CN202011383039.8A 2020-11-30 2020-11-30 Cross-tenant and cross-bucket retrieval method, device, medium and equipment based on index alias Pending CN112434041A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011383039.8A CN112434041A (en) 2020-11-30 2020-11-30 Cross-tenant and cross-bucket retrieval method, device, medium and equipment based on index alias

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011383039.8A CN112434041A (en) 2020-11-30 2020-11-30 Cross-tenant and cross-bucket retrieval method, device, medium and equipment based on index alias

Publications (1)

Publication Number Publication Date
CN112434041A true CN112434041A (en) 2021-03-02

Family

ID=74699087

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011383039.8A Pending CN112434041A (en) 2020-11-30 2020-11-30 Cross-tenant and cross-bucket retrieval method, device, medium and equipment based on index alias

Country Status (1)

Country Link
CN (1) CN112434041A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866513A (en) * 2014-02-26 2015-08-26 国际商业机器公司 System and method for cross-tenant data access
CN105069366A (en) * 2015-07-06 2015-11-18 无锡天脉聚源传媒科技有限公司 Account registration and management method and device
CN110019200A (en) * 2017-09-30 2019-07-16 阿里巴巴集团控股有限公司 A kind of foundation of index, application method and device
CN110222054A (en) * 2019-05-22 2019-09-10 福建大屏网络科技有限公司 A kind of method, apparatus, terminal device and storage medium improving retrieval rate
CN110515953A (en) * 2019-08-29 2019-11-29 百度在线网络技术(北京)有限公司 Querying method, device, equipment and the storage medium of data
CN110691089A (en) * 2019-09-29 2020-01-14 星环信息科技(上海)有限公司 Authentication method applied to cloud service, computer equipment and storage medium
US20200143001A1 (en) * 2018-11-01 2020-05-07 EMC IP Holding Company LLC Indexing structure with size bucket indexes
CN111159134A (en) * 2019-12-17 2020-05-15 复旦大学 Multi-tenant-oriented distributed file system security access control method and system
CN111382226A (en) * 2018-12-29 2020-07-07 北京神州泰岳软件股份有限公司 Database query retrieval method and device and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866513A (en) * 2014-02-26 2015-08-26 国际商业机器公司 System and method for cross-tenant data access
CN105069366A (en) * 2015-07-06 2015-11-18 无锡天脉聚源传媒科技有限公司 Account registration and management method and device
CN110019200A (en) * 2017-09-30 2019-07-16 阿里巴巴集团控股有限公司 A kind of foundation of index, application method and device
US20200143001A1 (en) * 2018-11-01 2020-05-07 EMC IP Holding Company LLC Indexing structure with size bucket indexes
CN111382226A (en) * 2018-12-29 2020-07-07 北京神州泰岳软件股份有限公司 Database query retrieval method and device and electronic equipment
CN110222054A (en) * 2019-05-22 2019-09-10 福建大屏网络科技有限公司 A kind of method, apparatus, terminal device and storage medium improving retrieval rate
CN110515953A (en) * 2019-08-29 2019-11-29 百度在线网络技术(北京)有限公司 Querying method, device, equipment and the storage medium of data
CN110691089A (en) * 2019-09-29 2020-01-14 星环信息科技(上海)有限公司 Authentication method applied to cloud service, computer equipment and storage medium
CN111159134A (en) * 2019-12-17 2020-05-15 复旦大学 Multi-tenant-oriented distributed file system security access control method and system

Similar Documents

Publication Publication Date Title
CN109145025B (en) Multi-data-source integrated data query method and device and service server
CN107798038B (en) Data response method and data response equipment
US8775425B2 (en) Systems and methods for massive structured data management over cloud aware distributed file system
US10528528B2 (en) Supporting multi-tenant applications on a shared database using pre-defined attributes
US9483515B2 (en) Managing a table of a database
US9996888B2 (en) Obtaining software asset insight by analyzing collected metrics using analytic services
US20210263887A1 (en) Composite storage of objects in multi-tenant devices
US11269844B2 (en) Automated data labeling
CN111475162A (en) Page generation method, device, server and storage medium
US11409724B2 (en) Hashed balanced tree data structure
US20180081920A1 (en) Generating and accessing a data table
US9679014B2 (en) Generating and accessing a data table
CN107784091B (en) Operation authority query method and terminal device
US11762859B2 (en) Database query with index leap usage
US11194805B2 (en) Optimization of database execution planning
US9230022B1 (en) Customizable result sets for application program interfaces
CN112434041A (en) Cross-tenant and cross-bucket retrieval method, device, medium and equipment based on index alias
CN112437079B (en) Intranet access method and device
US11640414B2 (en) Generating workflow, report, interface, conversion, enhancement, and forms (WRICEF) objects for enterprise software
CN114493799A (en) Method and system for managing special vehicle order data in warehouse and table dividing manner
US11868349B2 (en) Row secure table plan generation
CN114157662A (en) Cloud platform parameter adaptation method and device, terminal equipment and storage medium
US20210342468A1 (en) Record-level sensitivity-based data storage in a hybrid multi cloud environment
US11593511B2 (en) Dynamically identifying and redacting data from diagnostic operations via runtime monitoring of data sources
US20230222107A1 (en) Database record bit

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