CN113220605B - Distributed cache management method and device and electronic equipment - Google Patents

Distributed cache management method and device and electronic equipment Download PDF

Info

Publication number
CN113220605B
CN113220605B CN202110605220.7A CN202110605220A CN113220605B CN 113220605 B CN113220605 B CN 113220605B CN 202110605220 A CN202110605220 A CN 202110605220A CN 113220605 B CN113220605 B CN 113220605B
Authority
CN
China
Prior art keywords
key value
repeated
item
management platform
distributed
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.)
Active
Application number
CN202110605220.7A
Other languages
Chinese (zh)
Other versions
CN113220605A (en
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.)
Changsha Daojia Youxiang Home Economics Service Co ltd
Original Assignee
Changsha Daojia Youxiang Home Economics Service Co ltd
Filing date
Publication date
Application filed by Changsha Daojia Youxiang Home Economics Service Co ltd filed Critical Changsha Daojia Youxiang Home Economics Service Co ltd
Priority to CN202110605220.7A priority Critical patent/CN113220605B/en
Publication of CN113220605A publication Critical patent/CN113220605A/en
Application granted granted Critical
Publication of CN113220605B publication Critical patent/CN113220605B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention belongs to the technical field of intelligent management, and provides a distributed cache management method, a distributed cache management device and electronic equipment, wherein the method comprises the following steps: initializing a current distributed project, and starting a cache detection service of a server executing the distributed project; detecting whether the key value identifier in the cache of the server is repeated with the key value identifier stored in the preset key value management platform; when the repetition of the key value identification is detected, the current distributed project is blocked, and the repeated key value identification in the current distributed project is modified; key information used in the current distributed item is stored in the key management platform. The invention adds the identification to the new key value used by the current item to be started, performs unified visual management, ensures the uniqueness of the key value and reduces the error rate.

Description

Distributed cache management method and device and electronic equipment
Technical Field
The invention belongs to the technical field of intelligent management, and particularly relates to a cleaning service, in particular to a distributed cache management method, a distributed cache management device, electronic equipment and a computer readable medium.
Background
In the rapidly-developed internet age, the rapid increase of mass network requests, how to reduce the request delay time and improve the throughput of the system while ensuring high availability and high-quality user experience of services, has always become a focus of attention in the industry.
At present, most servers of all websites are distributed, no communication exists between the servers, and when data are operated, where to use and write, cache key values (key-value) are scattered at all positions of the project, so that unified management is not facilitated. And the same cache cluster is used in different projects, and the same key is defined, so that the problem of violation of the uniqueness limit of a database due to misinformation when the cache cluster is used caused by different storage contents is difficult to check, and the program code of a background server throws out an exception, so that the uniqueness of the cache key is ensured to be the problem to be solved at present.
Disclosure of Invention
First, the technical problem to be solved
The invention aims to solve the technical problem of how to uniformly manage the distributed caches and avoid errors caused by cache key conflicts.
(II) technical scheme
In order to solve the above technical problems, an aspect of the present invention provides a distributed cache management method, including:
initializing a current distributed project, and starting a cache detection service of a server executing the distributed project;
detecting whether the key value identifier in the cache of the server is repeated with the key value identifier stored in the preset key value management platform;
when the repetition of the key value identification is detected, the current distributed project is blocked, and the repeated key value identification in the current distributed project is modified;
key information used in the current distributed item is stored in the key management platform.
According to a preferred embodiment of the present invention, the initializing the current distributed item, starting a cache detection service of a server of the distributed item, further includes:
and initializing the current distributed item, and calling an init function to start cache detection service of a server executing the distributed item when the initialization starts.
According to a preferred embodiment of the present invention, the key identification includes a current item name and a key type, the key type being a category of key content.
According to a preferred embodiment of the present invention, the detecting whether the key identifier in the cache of the server is repeated with the key identifier stored in the preset key management platform further includes:
acquiring new key value content and a corresponding new key value identifier required by a current distributed item;
and judging whether the item name and the key value type of the new key value identifier are repeated with the item name and the key value type of the key value identifier stored in the key value management platform, wherein the key value management platform stores the key value information in use in each item, and the key value information comprises key value content and the corresponding key value identifier.
According to a preferred embodiment of the present invention, when the repetition of the key identifier is detected, the method blocks the current distributed item from being started and modifies the repeated key identifier in the current distributed item, including:
when the repetition of the key value identifier is detected, sending an alarm notification to an administrator, and modifying the key value type of the repeated key value identifier in the current distributed item;
and detecting whether the modified key value identifier is repeated with the key value identifier stored in the key value management platform or not again.
According to a preferred embodiment of the present invention, the storing the key value information used in the current distributed item in the key value management platform further includes:
when detecting that the key value identifier cached by the server executing the current distributed item is not repeated with the key value identifier stored in the key value management platform, storing the key value information used in the current distributed item in the key value management platform;
and deleting the key value information when the completion key value is used in the distributed item, and deleting the key value information in the key value management platform.
According to a preferred embodiment of the invention, the method further comprises:
and repeatedly detecting whether the key value identifier cached by the server currently executing the distributed item is repeated with the key value identifier stored in the key value management platform, and operating the distributed item when the key value identifier is not repeated.
A second aspect of the present invention proposes a distributed cache management apparatus, including:
the detection service starting module is used for initializing a current distributed project and starting cache detection service of a server executing the distributed project;
the detection module is used for detecting whether the key value identifier in the cache of the server is repeated with the key value identifier stored in the preset key value management platform;
the processing module is used for blocking the starting of the current distributed item and modifying the repeated key value identification in the current distributed item when the repeated key value identification is detected;
and the storage module is used for storing the key value information used in the current distributed project in the key value management platform.
A third aspect of the invention proposes an electronic device comprising a processor and a memory for storing a computer executable program, which processor performs the method when the computer program is executed by the processor.
The fourth aspect of the present invention also proposes a computer readable medium storing a computer executable program, which when executed, implements the method.
(III) beneficial effects
The invention triggers a cache detection service in an initialization stage before the project is started, stores key values in caches used by all projects in a key value management platform, detects whether a new key value identifier used by the project to be started currently is repeated with the key value identifier in the key value management platform, blocks the starting of the project currently when the repeated key value identifier is detected, modifies the repeated new key value identifier in the distributed project currently, and finally stores new key value information used by the project to be started in the key value platform after the detection is finished. The invention adds the mark to the key value, performs unified visual management, ensures the uniqueness of the key value and reduces the error rate.
Drawings
FIG. 1 is a flow chart of a method for distributed cache management according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a distributed cache management apparatus according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of the architecture of an electronic device of one embodiment of the invention;
fig. 4 is a schematic diagram of a computer-readable recording medium of an embodiment of the present invention.
Detailed Description
In describing particular embodiments, specific details of construction, performance, effects, or other features are set forth in order to provide a thorough understanding of the embodiments by those skilled in the art. It is not excluded, however, that one skilled in the art may implement the present invention in a particular situation in a solution that does not include the structures, properties, effects, or other characteristics described above.
The flow diagrams in the figures are merely exemplary flow illustrations and do not represent that all of the elements, operations, and steps in the flow diagrams must be included in the aspects of the present invention, nor that the steps must be performed in the order shown in the figures. For example, some operations/steps in the flowcharts may be decomposed, some operations/steps may be combined or partially combined, etc., and the order of execution shown in the flowcharts may be changed according to actual situations without departing from the gist of the present invention.
The block diagrams in the figures generally represent functional entities and do not necessarily correspond to physically separate entities. That is, the functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different network and/or processing unit means and/or microcontroller means.
The same reference numerals in the drawings denote the same or similar elements, components or portions, and thus repeated descriptions of the same or similar elements, components or portions may be omitted hereinafter. It will be further understood that, although the terms first, second, third, etc. may be used herein to describe various devices, elements, components or portions, these devices, elements, components or portions should not be limited by these terms. That is, these phrases are merely intended to distinguish one from the other. For example, a first device may also be referred to as a second device without departing from the spirit of the invention. Furthermore, the term "and/or," "and/or" is meant to include all combinations of any one or more of the items listed.
In the prior art, for processing distributed projects, a plurality of servers are generally used for concurrent operation, no communication exists between the servers, when data is operated, where to write, cache key values (key-value) are scattered at various positions of the projects, identical keys are defined in different projects, so that on-line system faults occur, for example, two identical keys are defined in different projects, one of the keys stores course information, the other stores user information, and if the key storing the course information is used as the key storing the user information, the whole flow is wrong.
In order to solve the technical problems, the invention provides a distributed cache management method, which is characterized in that a cache detection service is triggered in an initialization stage before starting an item, key values in caches which are used by all the item are stored in a key value management platform, whether a new key value identifier used by the item to be started currently is repeated with the key value identifier in the key value management platform is detected, when the repeated key value identifier is detected, the starting of the item is blocked, the repeated new key value identifier in the distributed item is modified, and finally, the new key value information used by the item to be started is stored in the key value platform after the detection is completed. The invention adds the mark to the key value, performs unified visual management, ensures the uniqueness of the key value and reduces the error rate.
In the whole process, each time an item is started, whether a key value identifier used by the item and a key value identifier stored in a key value management platform are repeated or not is detected before the item is started, if not, the key value information used by the item is stored in the key value management platform, each time the item runs out of a key value, the key value is deleted, and meanwhile the key value management platform also deletes the key value, so that the key values stored in the key value management platform are all in use of each item, and therefore, the fact that two repeated key values are in use simultaneously is ensured not to occur.
The present invention will be further described in detail below with reference to specific embodiments and with reference to the accompanying drawings, in order to make the objects, technical solutions and advantages of the present invention more apparent.
FIG. 1 is a flow chart of a method for managing distributed caches according to an embodiment of the invention.
As shown in fig. 1, the method includes:
s101, initializing a current distributed project, and starting a cache detection service of a server executing the distributed project.
In some embodiments, when a distributed item needs to be started, firstly, initializing the item, triggering a cache detection service by using an init function when the item is initialized, and detecting a cache of a server running the item to be started currently.
Before detection, a key value management platform is preset in the management system and is used for storing key value (key) information used by each running item, wherein the key value information comprises key value content and corresponding key value identification. Before one project is operated, a plurality of new key values are generated according to the requirement, corresponding key value identifiers are added to each key value for convenience in management, the key value identifiers comprise the current project name and the key value type, and the key value type is the type of key value content. For example, an item is a new product on line, and the key value identifier can be set as "commodity on line+commodity number", wherein the item name is commodity on line, the key value type is commodity number, and the key value content is information of the commodity.
S102, detecting whether the key value identification in the cache of the server is repeated with the key value identification stored in the preset key value management platform.
In some embodiments, after the cache detection service is started, the cache of the server of the item to be started is detected, new key value content and corresponding new key value identifiers used by the current distributed item are obtained, the new key value identifiers are compared with the key value identifiers stored in the key value management platform, whether the item names of the key value identifiers are all repeated is judged, if so, whether the key value types of the key value identifiers are repeated is judged again, and if so, the new key value identifiers are already existing in the key value management platform, that is, other items are using the key value identifiers. The time of each detection is related to the number of key values used by the distributed item, for example, 100 key values are required for running a certain distributed item, and the corresponding detection time is about 10 seconds.
For example, the set new key value is identified as "commodity online+information storage", but a key value whose key value is identified as "commodity online+information storage" is also detected in the key value management platform, but the contents of two key values are stored in one storage and commodity information in the other storage, and if the key value storing commodity information is applied to the stored user information, an error occurs in the whole project operation.
And S103, when the repetition of the key value identification is detected, the starting of the current distributed item is blocked, and the repeated key value identification in the current distributed item is modified.
In some embodiments, if all the new key identifiers used in the distributed item to be started currently are detected, the distributed item is operated when no duplicate key identifier is detected.
If a certain new key value identifier is detected to be repeated with the key value identifier stored in the key value management platform, starting the current distributed item is blocked, meanwhile, an alarm notification is sent to an administrator in a mail or other forms, the notification content comprises the repeated key value identifier and a server where the key value identifier is located, after the administrator receives the notification, the administrator can check repeated key value information on an interface of the key value management platform and lock the position of the repeated key value identifier in a redis cache in the distributed item to be started, the administrator can modify the new key value identifier according to the locking position, and if the two repeated key value identifiers belong to different distributed items, the item names of the key value identifiers can be modified, and the type names can be modified so as to meet the uniqueness.
After the manager finishes modifying, uploading the modified new key value identifier to a detection service module, wherein the detection service can detect the new key value identifier used by the current distributed item again from the head, judge whether the new key value identifier is repeated with the key value identifier stored in the key value management platform, and repeat the modification process until the repeated key value identifier is not found after the completion of the detection if the repeated key value identifier is detected again.
Preferably, a worker wants to newly create a key value in the development process, but does not use the key value in a distributed project, at this time, a cache detection service can be started after the key value is set with an identifier, the cache detection service is matched with the key value identifier stored in the key value management platform, if no matching result is obtained, the newly created key value identifier is not repeated and can be used, when the key value information is stored in the key value management platform in use, and if other key value identifiers are repeated with the key value identifier in the follow-up process, the service can send an alarm to remind to modify the follow-up key value identifier.
S104, storing the key value information used in the current distributed project in the key value management platform.
In some embodiments, after the detection of the current distributed item to be started is finished, when the current new key value identifier is not repeated with the key value identifier stored in the key value management platform, the key value information used in the current distributed item is stored in the key value management platform, and then the distributed item is started and operates normally.
In the running process of the distributed project, if a certain link of the project is used to finish a cache key value and the key value is not used later by the distributed project, the key value information of the redis cache is deleted, and meanwhile, the key value information is also deleted in a key value management platform, so that the storage load of the cache can be reduced, the key value management platform is used as a transfer station for running the distributed project and other key value information needing to use the key value project, the key value information can be managed uniformly, and repeated key value identifiers can be locked and modified rapidly.
The invention triggers a cache detection service in an initialization stage before the project is started, stores key values in caches used by all projects in a key value management platform, detects whether a new key value identifier used by the project to be started currently is repeated with the key value identifier in the key value management platform, blocks the starting of the project currently when the repeated key value identifier is detected, modifies the repeated new key value identifier in the distributed project currently, and finally stores new key value information used by the project to be started in the key value platform after the detection is finished. The invention adds the mark to the key value, performs unified visual management, ensures the uniqueness of the key value and reduces the error rate.
Those skilled in the art will appreciate that all or part of the steps implementing the above-described embodiments are implemented as a program (computer program) executed by a computer data processing apparatus. The above-described method provided by the present invention can be implemented when the computer program is executed. Moreover, the computer program may be stored in a computer readable storage medium, which may be a readable storage medium such as a magnetic disk, an optical disk, a ROM, a RAM, or a storage array composed of a plurality of storage media, for example, a magnetic disk or a tape storage array. The storage medium is not limited to a centralized storage, but may be a distributed storage, such as cloud storage based on cloud computing.
The following describes apparatus embodiments of the invention that may be used to perform method embodiments of the invention. Details described in the embodiments of the device according to the invention should be regarded as additions to the embodiments of the method described above; for details not disclosed in the embodiments of the device according to the invention, reference may be made to the above-described method embodiments.
FIG. 2 is a distributed cache management apparatus according to one embodiment of the present invention, as shown in FIG. 2, the apparatus 200 includes:
a detection service starting module 201, configured to initialize a current distributed item, and start a cache detection service of a server that executes the distributed item;
the detection module 202 is configured to detect whether a key value identifier in a cache of the server is repeated with a key value identifier stored in a preset key value management platform;
the processing module 203 is configured to block a current distributed item from being started and modify a repeated key value identifier in the current distributed item when the repeated key value identifier is detected;
a storage module 204, configured to store key value information used in the current distributed item in the key value management platform.
The detection service starting module 201 is further configured to initialize a current distributed item, and call an init function to start a cache detection service of a server executing the distributed item when the initialization starts. The key value identification comprises a current project name and a key value type, wherein the key value type is the type of key value content.
The detection module 202 is further configured to obtain new key value content and a corresponding new key value identifier required by the current distributed item; and judging whether the item name and the key value type of the new key value identifier are repeated with the item name and the key value type of the key value identifier stored in the key value management platform, wherein the key value management platform stores the key value information in use in each item, and the key value information comprises key value content and the corresponding key value identifier.
The processing module 203 is further configured to send an alert notification to an administrator when the repetition of the key value identifier is detected, and modify a key value type of the repeated key value identifier in the current distributed item; and detecting whether the modified key value identifier is repeated with the key value identifier stored in the key value management platform or not again.
The storage module 204 is further configured to store key value information used in the current distributed item in the key value management platform when it is detected that neither the key value identifier cached by the server executing the current distributed item nor the key value identifier stored in the key value management platform is repeated; and deleting the key value information when the completion key value is used in the distributed item, and deleting the key value information in the key value management platform.
The apparatus 200 further includes an item running module, where the detecting module 202 repeatedly detects whether a key identifier cached by a server currently executing the distributed item is repeated with a key identifier stored in the key identifier management platform, and when none of the key identifiers is repeated, the running module runs the distributed item.
Fig. 3 is a schematic structural view of an electronic device according to an embodiment of the present invention, the electronic device including a processor and a memory for storing a computer-executable program, the processor executing a distributed cache management method when the computer program is executed by the processor.
As shown in fig. 3, the electronic device is in the form of a general purpose computing device. The processor may be one or a plurality of processors and work cooperatively. The invention does not exclude that the distributed processing is performed, i.e. the processor may be distributed among different physical devices. The electronic device of the present invention is not limited to a single entity, but may be a sum of a plurality of entity devices.
The memory stores a computer executable program, typically machine readable code. The computer readable program may be executable by the processor to enable an electronic device to perform the method, or at least some of the steps of the method, of the present invention.
The memory includes volatile memory, such as Random Access Memory (RAM) and/or cache memory, and may be non-volatile memory, such as Read Only Memory (ROM).
Optionally, in this embodiment, the electronic device further includes an I/O interface, which is used for exchanging data between the electronic device and an external device. The I/O interface may be a bus representing one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
It should be understood that the electronic device shown in fig. 3 is only one example of the present invention, and the electronic device of the present invention may further include elements or components not shown in the above examples. For example, some electronic devices further include a display unit such as a display screen, and some electronic devices further include a man-machine interaction element such as a button, a keyboard, and the like. The electronic device may be considered as covered by the invention as long as the electronic device is capable of executing a computer readable program in a memory for carrying out the method or at least part of the steps of the method.
Fig. 4 is a schematic diagram of a computer-readable recording medium of an embodiment of the present invention. As shown in fig. 4, a computer-readable recording medium stores a computer-executable program that, when executed, implements the above-described distributed cache management method of the present invention. The computer readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable storage medium may also be any readable medium that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
The computer-readable medium carries one or more programs, which when executed by one of the devices, cause the computer-readable medium to perform the functions of: initializing a current distributed project, and starting a cache detection service of a server executing the distributed project; detecting whether the key value identifier in the cache of the server is repeated with the key value identifier stored in the preset key value management platform; when the repetition of the key value identification is detected, the current distributed project is blocked, and the repeated key value identification in the current distributed project is modified; key information used in the current distributed item is stored in the key management platform.
Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
From the above description of embodiments, those skilled in the art will readily appreciate that the present invention may be implemented by hardware capable of executing a specific computer program, such as the system of the present invention, as well as electronic processing units, servers, clients, handsets, control units, processors, etc. included in the system. The invention may also be implemented by computer software for performing the method of the invention. It should be noted, however, that the computer software for performing the method of the present invention is not limited to being executed by one or a specific hardware entity, but may also be implemented in a distributed fashion by unspecified specific hardware, e.g., some of the method steps executed by the computer program may be executed on a mobile client, and another part may be executed on a smart meter, smart pen, etc. For computer software, the software product may be stored on a computer readable storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.), or may be stored distributed over a network, as long as it enables the electronic device to perform the method according to the invention.
In summary, the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that some or all of the functionality of some or all of the components in accordance with embodiments of the present invention may be implemented in practice using a general purpose data processing device such as a microprocessor or Digital Signal Processor (DSP). The present invention can also be implemented as an apparatus or device program (e.g., a computer program and a computer program product) for performing a portion or all of the methods described herein. Such a program embodying the present invention may be stored on a computer readable medium, or may have the form of one or more signals. Such signals may be downloaded from an internet website, provided on a carrier signal, or provided in any other form.
The above-described specific embodiments further describe the objects, technical solutions and advantageous effects of the present invention in detail, and it should be understood that the present invention is not inherently related to any particular computer, virtual device or electronic apparatus, and various general-purpose devices may also implement the present invention. The foregoing description of the embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, alternatives, and improvements that fall within the spirit and scope of the invention.

Claims (6)

1. A distributed cache management method, comprising:
presetting a key value management platform in a management system, wherein the key value management platform is used for storing key value information used by each running item, the key value information comprises key value content and corresponding key value identification, initializing a current distributed item, and calling an init function to start cache detection service of a server executing the distributed item when the initialization is started; the key value identifier comprises a current project name and a key value type, wherein the key value type is the type of key value content;
acquiring new key value content and corresponding new key value identifiers used by a current distributed item, comparing the new key value identifiers with the key value identifiers stored in the key value management platform, judging whether the item names of the key value identifiers are all repeated, if so, judging whether the key value types of the key value identifiers are repeated, and if so, indicating that the new key value identifiers exist in the key value management platform;
when the repetition of the key value identifier is detected, the current distributed item is blocked, an alarm notification is sent to an administrator, and the key value type of the repeated key value identifier in the current distributed item is modified; detecting whether the modified key value identifier is repeated with the key value identifier stored in the key value management platform again;
key information used in the current distributed item is stored in the key management platform.
2. The distributed cache management method according to claim 1, wherein the storing key information used in the current distributed item in the key management platform, further comprises:
when detecting that the key value identifier cached by the server executing the current distributed item is not repeated with the key value identifier stored in the key value management platform, storing the key value information used in the current distributed item in the key value management platform;
and deleting the key value information when the completion key value is used in the distributed item, and deleting the key value information in the key value management platform.
3. The method of distributed cache management according to claim 1, further comprising:
and repeatedly detecting whether the key value identifier cached by the server currently executing the distributed item is repeated with the key value identifier stored in the key value management platform, and operating the distributed item when the key value identifier is not repeated.
4. A distributed cache management apparatus, comprising:
the system comprises a detection service starting module, a management system management module and a control module, wherein the detection service starting module is used for presetting a key value management platform in the management system and used for storing key value information used by each running project, the key value information comprises key value content and a corresponding key value identifier, initializing a current distributed project, and calling an init function to start a cache detection service of a server executing the distributed project when the initialization is started; the key value identifier comprises a current project name and a key value type, wherein the key value type is the type of key value content;
the detection module is used for acquiring new key value content and corresponding new key value identifiers used by the current distributed project, comparing the new key value identifiers with the key value identifiers stored in the key value management platform, judging whether the project names of the key value identifiers are all repeated, judging whether the key value types of the key value identifiers are repeated again if the project names are repeated, and indicating that the new key value identifiers exist in the key value management platform if the key value types of the key value identifiers are repeated again;
the processing module is used for blocking the starting of the current distributed item when the repetition of the key value identification is detected, sending an alarm notification to an administrator and modifying the key value type of the repeated key value identification in the current distributed item; detecting whether the modified key value identifier is repeated with the key value identifier stored in the key value management platform again;
and the storage module is used for storing the key value information used in the current distributed project in the key value management platform.
5. An electronic device comprising a processor and a memory for storing a computer executable program, characterized in that:
the computer program, when executed by the processor, performs the method of any of claims 1 to 3.
6. A computer readable medium storing a computer executable program, wherein the computer executable program when executed implements the method of any one of claims 1 to 3.
CN202110605220.7A 2021-05-31 Distributed cache management method and device and electronic equipment Active CN113220605B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110605220.7A CN113220605B (en) 2021-05-31 Distributed cache management method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110605220.7A CN113220605B (en) 2021-05-31 Distributed cache management method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN113220605A CN113220605A (en) 2021-08-06
CN113220605B true CN113220605B (en) 2023-09-05

Family

ID=

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102880557A (en) * 2012-09-13 2013-01-16 浙江金大科技有限公司 Multistage distribution type high-speed cache of heterogeneous data source
CN105653356A (en) * 2016-01-05 2016-06-08 世纪禾光科技发展(北京)有限公司 Method and device for processing multi-server concurrent operation
CN107948203A (en) * 2017-12-29 2018-04-20 平安科技(深圳)有限公司 A kind of container login method, application server, system and storage medium
CN109101528A (en) * 2018-06-21 2018-12-28 深圳市买买提信息科技有限公司 Data processing method, data processing equipment and electronic equipment
CN110264042A (en) * 2019-05-25 2019-09-20 深圳市元征科技股份有限公司 A kind of method and relevant apparatus of project management
CN112199923A (en) * 2020-10-20 2021-01-08 重庆紫光华山智安科技有限公司 Identification generation method, system, device and medium based on distributed system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102880557A (en) * 2012-09-13 2013-01-16 浙江金大科技有限公司 Multistage distribution type high-speed cache of heterogeneous data source
CN105653356A (en) * 2016-01-05 2016-06-08 世纪禾光科技发展(北京)有限公司 Method and device for processing multi-server concurrent operation
CN107948203A (en) * 2017-12-29 2018-04-20 平安科技(深圳)有限公司 A kind of container login method, application server, system and storage medium
CN109101528A (en) * 2018-06-21 2018-12-28 深圳市买买提信息科技有限公司 Data processing method, data processing equipment and electronic equipment
CN110264042A (en) * 2019-05-25 2019-09-20 深圳市元征科技股份有限公司 A kind of method and relevant apparatus of project management
CN112199923A (en) * 2020-10-20 2021-01-08 重庆紫光华山智安科技有限公司 Identification generation method, system, device and medium based on distributed system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
企业级大数据平台框架设计方法研究;尹航;谢汶姝;刘俊涛;单崇喆;何枫;;计算机与网络(第11期);71-74 *

Similar Documents

Publication Publication Date Title
US10637796B2 (en) Linking instances within a cloud computing environment
US6850938B1 (en) Method and apparatus providing optimistic locking of shared computer resources
US20210373878A1 (en) In-memory software package installation and testing
US11762763B2 (en) Orchestration for automated performance testing
US20130132556A1 (en) Providing status information for virtual resource images in a networked computing environment
US9910881B1 (en) Maintaining versions of control plane data for a network-based service control plane
CN114925084B (en) Distributed transaction processing method, system, equipment and readable storage medium
WO2019136812A1 (en) Electronic device, data calling log generation and query method, and storage medium
US20140006000A1 (en) Built-in response time analytics for business applications
US11595493B2 (en) System and method for namespace masking in an integration flow
CN113220605B (en) Distributed cache management method and device and electronic equipment
US11238017B2 (en) Runtime detector for data corruptions
US20230092948A1 (en) Pattern detection for tenant-specific performance data
US11023479B2 (en) Managing asynchronous analytics operation based on communication exchange
CN113238815B (en) Interface access control method, device, equipment and storage medium
CN116151631A (en) Service decision processing system, service decision processing method and device
US11500837B1 (en) Automating optimizations for items in a hierarchical data store
US11200138B1 (en) Policy-based request tracing using a computer
US8635331B2 (en) Distributed workflow framework
JP2006343848A (en) Work result management device
CN113220605A (en) Distributed cache management method and device and electronic equipment
CN113111066A (en) Automatic online method, device and system for database operation work order and computer equipment
CN115086047B (en) Interface authentication method and device, electronic equipment and storage medium
CN111506567B (en) Cross-database cleaning method and device for data, computer equipment and medium
US20220391374A1 (en) Identifying resource lock ownership across a clustered computing environment

Legal Events

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