CN117667144A - Annotating hot refreshing method, annotating hot refreshing device, annotating hot refreshing equipment and annotating hot refreshing medium - Google Patents

Annotating hot refreshing method, annotating hot refreshing device, annotating hot refreshing equipment and annotating hot refreshing medium Download PDF

Info

Publication number
CN117667144A
CN117667144A CN202311668612.3A CN202311668612A CN117667144A CN 117667144 A CN117667144 A CN 117667144A CN 202311668612 A CN202311668612 A CN 202311668612A CN 117667144 A CN117667144 A CN 117667144A
Authority
CN
China
Prior art keywords
configuration
item key
configuration information
annotation
remote
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
CN202311668612.3A
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.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of 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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202311668612.3A priority Critical patent/CN117667144A/en
Publication of CN117667144A publication Critical patent/CN117667144A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • G06F8/315Object-oriented languages
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/73Program documentation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Library & Information Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method, a device, equipment and a medium for annotating hot refreshing. Obtaining a configuration resource list by obtaining remote configuration information; comparing the local configuration information corresponding to the configuration item key cache list with the remote configuration information, and storing the configuration item key of the last acquired remote configuration information in the configuration item key cache list; triggering a configuration change monitor to start under the condition that the local configuration information is not matched with the remote configuration information, and updating a configuration item key cache list based on the remote configuration information, wherein the configuration change monitor is used for monitoring the configuration change of the configuration item key cache list; when the configuration change monitor monitors the configuration change of the configuration item key cache list, an environment change event is issued; and responding to the release of the environment change event, and updating the annotation Bean attribute based on the updated configuration item key cache list so as to realize the annotation heat refreshing. The embodiment of the invention can improve the annotation hot refreshing performance through the configuration item key cache list.

Description

Annotating hot refreshing method, annotating hot refreshing device, annotating hot refreshing equipment and annotating hot refreshing medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a medium for annotating hot refreshing.
Background
The Spring annotation is used as a declarative programming paradigm, so that the encoding workload is reduced, the program readability and expansibility are improved, and the annotation application range is wider and wider along with the addition of more and more third-party components into the Spring ecosystem. The @ configuration properties annotation can realize the mapping from configuration items to Bean type attributes, is widely used in a multi-attribute mapping scene, and a configuration center is required to ensure the availability of annotating hot refreshing and the reliability. As configuration center configuration hosts increase, annotating configuration refreshes increases in time and resource consumption, especially in high concurrency situations, which may lead to long response times and high CPU consumption.
In the prior art, when the configuration is required to be rebindd in the configuration refreshing process, and the configuration key set is required to be acquired for each attribute, the implementation manner is to traverse the configuration resource list, and the configuration key list is obtained from the resource list. And under the concurrent configuration release scene, the client uses multiple threads to carry out concurrent refreshing, and the multiple threads simultaneously execute refreshing operation.
However, the operation of acquiring the configuration item key list in the related art is long and is frequently performed, resulting in low efficiency of a single refresh.
Disclosure of Invention
The invention provides a method, a device, equipment and a medium for annotating hot refreshing, which are used for solving the problem of low annotating hot refreshing efficiency.
According to an aspect of the present invention, there is provided an annotation hot-refreshing method comprising:
acquiring remote configuration information to obtain a configuration resource list;
comparing the local configuration information corresponding to the configuration item key cache list with the remote configuration information, and storing the configuration item key of the last acquired remote configuration information in the configuration item key cache list;
triggering a configuration change monitor to start under the condition that the local configuration information is not matched with the remote configuration information, and updating a configuration item key cache list based on the remote configuration information, wherein the configuration change monitor is used for monitoring the configuration change of the configuration item key cache list;
when the configuration change monitor monitors the configuration change of the configuration item key cache list, an environment change event is issued; and responding to the release of the environment change event, and updating the annotation Bean attribute based on the updated configuration item key cache list so as to realize the annotation heat refreshing.
According to another aspect of the present invention there is provided an annotating hot refresh device comprising:
the configuration resource list generation module is used for acquiring remote configuration information to obtain a configuration resource list;
The local remote configuration information comparison module is used for configuring local configuration information and remote configuration information corresponding to the item key cache list, and the item key cache list stores the configuration item key of the last acquired remote configuration information;
the configuration change monitoring module is used for triggering the starting of the configuration change monitor and updating the configuration item key cache list based on the remote configuration information under the condition that the local configuration information is not matched with the remote configuration information, and the configuration change monitor is used for monitoring the configuration change of the configuration item key cache list;
the Bean attribute updating module is used for issuing an environment change event under the condition that the configuration change monitor monitors the configuration change of the configuration item key cache list; and responding to the release of the environment change event, and updating the annotation Bean attribute based on the updated configuration item key cache list so as to realize the annotation heat refreshing.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the annotation thermal refresh method of any of the embodiments of the invention.
According to another aspect of the invention there is provided a computer readable storage medium storing computer instructions for causing a processor to perform the annotation thermal refresh method of any embodiment of the invention.
According to the technical scheme, a configuration resource list is obtained by acquiring remote configuration information; comparing the local configuration information corresponding to the configuration item key cache list with the remote configuration information, and storing the configuration item key of the last acquired remote configuration information in the configuration item key cache list; triggering a configuration change monitor to start under the condition that the local configuration information is not matched with the remote configuration information, and updating a configuration item key cache list based on the remote configuration information, wherein the configuration change monitor is used for monitoring the configuration change of the configuration item key cache list; when the configuration change monitor monitors the configuration change of the configuration item key cache list, an environment change event is issued; in response to the release of the environment change event, the annotation Bean attribute is updated based on the updated configuration item key cache list so as to realize annotating and thermally refreshing, the configuration item key corresponding to the Bean attribute is obtained based on the configuration item key cache list, under the condition that the configuration item key cache list does not have the corresponding configuration item key, the configuration resource list is traversed again to obtain the corresponding configuration item instead of completely obtaining the corresponding configuration item key from the configuration resource list, the problem that the annotating and thermally refreshing efficiency is low due to the fact that the configuration item key in the configuration resource list is too many is solved, and the annotating and thermally refreshing performance is remarkably improved under the scene that the annotating and the modifying Bean is many, the attribute is many and complex.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method of annotating hot refreshes provided in accordance with a first embodiment of the present invention;
FIG. 2 is a flow chart of a method of annotating a hot refresh provided in a second embodiment of the present invention;
FIG. 3 is a flow chart of an annotation refresh task;
FIG. 4 is a flow chart for obtaining configuration information corresponding to Bean class attributes;
FIG. 5 is a schematic diagram of a single-threaded execution of a configuration annotation refresh task;
fig. 6 is a schematic structural diagram of an electronic device implementing an annotated hot refresh method according to an embodiment of the invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a detailed description of embodiments of the present invention will be provided below, with reference to the accompanying drawings, wherein it is apparent that the described embodiments are only some, but not all, embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above-described drawings are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise 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 apparatus 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.
Example 1
Fig. 1 is a flowchart of an annotation hot refreshing method provided in an embodiment of the present invention, where the embodiment is applicable to a case of hot refreshing @ @ configuration properties annotation in a high concurrence scenario, and the method may be performed by an annotation hot refreshing device, where the annotation hot refreshing device may be implemented in a form of hardware and/or software, and the annotation hot refreshing device may be configured in electronic devices such as a mobile phone, a computer, and a server.
In this embodiment, the @ configuration properties annotation is an annotation in the Spring framework for binding configuration items in configuration information to Bean classes of Java. The Spring framework is an open-source lightweight application framework and is used for constructing enterprise-level Java application programs. Bean classes are Java classes that are used to characterize data objects or business logic in Java applications. The Bean class includes a plurality of Bean class attributes, such as a scope of the Bean class (whether a single instance or a prototype), whether it is a primary Bean (primary) class, and description information.
As shown in fig. 1, the method includes:
s110, acquiring remote configuration information to obtain a configuration resource list.
In this embodiment, the remote configuration information is information stored by the server for updating the client configuration (e.g., network configuration, security configuration, and software configuration). The remote configuration information includes information of a plurality of configuration resources, wherein the configuration resources are various elements or parameters that the client needs to configure, such as environment variables, system variables, database connection information, API keys or access tokens of log configuration and third party services, and the like.
Specifically, the client sends a remote configuration information acquisition request to the server under the condition of triggering configuration acquisition operation. The remote configuration information acquisition request is a configuration information acquisition request based on a preset protocol (for example, HTTP protocol), and is used for establishing a connection between a client and a configuration acquisition service of a server. The configuration acquisition service is a service for acquiring remote configuration information and transmitting the remote configuration information to a client. The server side responds to the remote configuration information acquisition request, triggers the detection operation of the remote configuration information in the server side, starts the configuration acquisition service, and feeds back the remote configuration information acquisition request including the remote configuration information to the client side. The client analyzes the remote configuration information acquisition request response to obtain the remote configuration information.
The client generates a configuration item key list based on each piece of configuration information in the remote configuration information, wherein the configuration item key list takes a configuration resource attribute index as a list of elements, and the configuration resource attribute index is a unique identity of the configuration resource attribute. It will be appreciated that each configuration item key list corresponds to a Bean class annotated by @ configuration properties, each configuration item corresponds to a Bean class attribute in the Bean class, the configuration items exist in the form of key value pairs, the configuration item keys are configuration resource attribute indexes, the configuration item values are values of configuration resource attributes, for example, "database addresses" are configuration item keys, and "localhost" is a configuration item value.
The configuration item key list identifier is a unique identity identifier of the configuration item key list and is used for characterizing a unique configuration resource, for example, the configuration item key list identifier may be a name of the configuration resource such as a configuration file, a database table, a file path, a service endpoint, and the like. The client generates a configuration resource list based on all configuration item key lists corresponding to the remote configuration information, wherein the configuration resource list is a list taking the configuration item key list as an element and is used for managing and maintaining the configuration resource.
In some embodiments, the configuration acquisition operation is triggered based on a configuration update of the server. Optionally, sending a configuration state detection request to the server, so that the server returns a configuration state update response signal when detecting that the remote configuration information is updated; triggering a remote configuration information acquisition request based on the received configuration state updating response signal, and obtaining remote configuration information from a server based on the remote configuration information acquisition request; and/or triggering a remote configuration information acquisition request based on the preset interval time, and obtaining the remote configuration information from the server based on the remote configuration information acquisition request.
In this embodiment, the configuration state detection request is a request for detecting a server side configuration state, where the configuration state includes a configuration updated state and a configuration non-updated state.
Specifically, the client executes the configuration state detection task, generates a configuration state detection request, and sends the configuration state detection request to the server. And the server responds to the configuration state detection request and performs update detection of remote configuration information. In the event that a new configuration resource is detected, it is determined that there is an update in the remote configuration information and the server configuration state is a configuration update state, the configuration state detection service generates a configuration state update response signal (e.g., the configuration state update response signal is a high level signal) and feeds back the configuration state update response signal to the client that sent the configuration state detection request.
And after the configuration state detection service returns a configuration state update response signal to the client, the configuration state detection service is closed. Optionally, in response to the configuration state detection request, triggering the configuration state detection service to start, and scanning the configuration release information database based on a preset interval time; under the condition that new configuration release information exists in the configuration release information database, determining that remote configuration information is updated; and suspending the configuration state detection request within a preset waiting time under the condition that no new configuration release information exists in the configuration release information database.
In this embodiment, the configuration state detection service is a service in which the server detects the configuration state of the remote configuration information. The configuration release information database is a database in which configuration release information is stored. The configuration release information database is a database for storing configuration release information, wherein the configuration release information is information released by a development application terminal and comprises information of a plurality of configuration resources.
Specifically, the server receives the configuration release information through the configuration service management interface, and stores the configuration release information in the configuration release information database. Under the condition that a configuration state detection request is received, the server starts a configuration state detection service, the configuration state detection service records the starting time, and the detection operation of the configuration information is executed at regular time, so that the real-time performance of remote configuration information acquisition can be ensured.
And under the condition that the difference value between the current time and the starting time is smaller than or equal to the preset waiting time, the configuration state detection service scans the configuration release information database and traverses each configuration release information. Under the condition that new configuration release information is scanned, the remote configuration information can be considered to be updated, the configuration state of the server is determined to be a configuration update state, a configuration state update response signal is generated, and the configuration state detection service is closed; and under the condition that the new configuration release information is not scanned, the client suspends the configuration state detection request, so that the configuration state detection service scans the configuration release information database at intervals of preset scanning intervals until the client receives a configuration state update response signal. The preset scanning interval time is preset interval time of two adjacent scanning configuration release information database operations, and is 1 second in an exemplary mode.
And under the condition that the difference between the current time and the starting time is larger than the preset waiting time, the remote configuration information is considered to be not updated, the client stops suspending the configuration state detection request, and the configuration state detection service is closed.
In some embodiments, the configuration release information further includes a configuration information update notification. The configuration state detection service scans the configuration information update notification stored in the configuration release information database, and when the new configuration information update notification is scanned, the remote configuration information can be considered to be updated, and then the server configuration state is determined to be the configuration update state. The configuration state detection service determines the configuration state of the server based on the configuration information update notification instead of specific configuration information, and can timely detect that remote configuration information is updated, so that the configuration state update response signal is immediately fed back to the client.
The client triggers remote configuration information acquisition operation based on the received configuration state updating response signal, generates a remote configuration information acquisition request, and sends the remote configuration information acquisition request to the server. The server responds to the remote configuration information acquisition request, starts configuration acquisition service, and feeds back new remote configuration information to the client.
In some embodiments, optionally, the client triggers a state detection task based on the received configuration state update response signal, and sends the configuration state detection request to the server again.
The client side triggers remote configuration information acquisition operation at intervals of preset intervals. The preset interval time is interval time for generating remote configuration information acquisition requests twice. And triggering remote configuration information acquisition operation to generate a remote configuration information acquisition request under the condition that the difference between the current time and the generation time of the last remote configuration information acquisition request is larger than the preset interval time, and acquiring remote configuration information from a server based on the remote configuration information acquisition request. The preset interval is, for example, 5 minutes.
According to the technical scheme, based on the remote configuration information acquisition request, new remote configuration information is acquired from the server, and the remote configuration information acquisition operation can be triggered at intervals of preset intervals under the condition that the configuration state update response signal is not effective (for example, communication between the server and the client is interrupted, and the configuration state update response signal is missed), so that the reliability of the new remote configuration information acquisition is ensured.
S120, comparing the local configuration information corresponding to the configuration item key cache list with the remote configuration information, and storing the configuration item key of the last acquired remote configuration information in the configuration item key cache list.
In this embodiment, the configuration item key cache list is a list for caching configuration item keys in the client. The configuration item key cache list identifier is a unique identity identifier of each configuration item key cache list and is used for representing configuration resources corresponding to the configuration item key cache list. The local configuration information is the last remote configuration information corresponding to the plurality of configuration item key cache lists. Illustratively, the remote configuration information is acquired at a current time of 13:00:00, and the remote configuration information is acquired last time before the local configuration information is 13:00:00.
Specifically, each configuration item key list identifier of the configuration resource list is matched with the configuration item key cache list identifier. And under the condition that the corresponding configuration item key cache list identification is matched, the fact that the configuration item key cache list is matched with the configuration item key list can be determined, and then each configuration item key of the configuration item key list is matched with the configuration item key in the configuration item key cache list. In the event that each configuration item key of the list of configuration item keys matches a configuration item key in the cache list of configuration item keys, it may be determined that the local configuration information matches the remote configuration information.
And S130, triggering a configuration change monitor to start under the condition that the local configuration information is not matched with the remote configuration information, and updating the configuration item key cache list based on the remote configuration information, wherein the configuration change monitor is used for monitoring the configuration change of the configuration item key cache list.
In this embodiment, if the configuration item key list identifier of any configuration item key list in the configuration resource list is not matched with the configuration item key cache list identifier in the local configuration information; or any configuration item key in the configuration item key list is not matched with the configuration item key in the corresponding configuration item key cache list, and the fact that the local configuration information is not matched with the remote configuration information can be determined.
Specifically, the configuration change listener is a preset configuration properties refresh processor, and the configuration change listener is exemplified by one or more of HttpSessionAttributeListener, listener and servletrequest attributelistener, and the like. If the local configuration information does not match the remote configuration information, the configuration item key cache list is updated based on the remote configuration information, and configuration changes, such as addition, modification and deletion of configuration items, exist in the updated configuration item key cache list.
S140, when the configuration change monitor monitors the configuration change of the configuration item key cache list, an environment change event is issued; and responding to the release of the environment change event, and updating the annotation Bean attribute based on the updated configuration item key cache list so as to realize the annotation heat refreshing.
In this embodiment, the configuration information is a configuration item value corresponding to a configuration item key found in the configuration resource based on the configuration item key in the updated configuration item key cache list.
Specifically, the environment change event is an event that characterizes the Bean attribute to be updated. If the configuration change monitor monitors the configuration change of the configuration item key cache list, the Bean attribute can be considered to be required to be updated, and the client is triggered to issue an environment change event. Triggering @ configuration properties notes to rebind the configuration information corresponding to the updated configuration item key cache list and the Bean attribute under the condition that the configuration change monitor monitors the issued environment change event so as to realize annotation hot refreshing. The updated configuration items are mapped to the Bean attributes, so that when the configuration information is updated, the latest configuration information can be bound into the Bean attributes without restarting the client, and annotation hot refreshing is realized.
It should be noted that, the update operation of the configuration item key cache list is executed in synchronization with the issue operation of the environment change event. Illustratively, after the execution of the issuing operation of the environment change event is ended, the execution of the updating operation of the configuration item key cache list is ended.
According to the technical scheme, a configuration resource list is obtained by acquiring remote configuration information; comparing the local configuration information corresponding to the configuration item key cache list with the remote configuration information, and storing the configuration item key of the last acquired remote configuration information in the configuration item key cache list; triggering a configuration change monitor to start under the condition that the local configuration information is not matched with the remote configuration information, and updating a configuration item key cache list based on the remote configuration information, wherein the configuration change monitor is used for monitoring the configuration change of the configuration item key cache list; when the configuration change monitor monitors the configuration change of the configuration item key cache list, an environment change event is issued; in response to the release of the environment change event, the annotation Bean attribute is updated based on the updated configuration item key cache list so as to realize annotating and thermally refreshing, the configuration item key corresponding to the Bean attribute is obtained based on the configuration item key cache list, under the condition that the configuration item key cache list does not have the corresponding configuration item key, the configuration resource list is traversed again to obtain the corresponding configuration item instead of completely obtaining the corresponding configuration item key from the configuration resource list, the problem that the annotating and thermally refreshing efficiency is low due to the fact that the configuration item key in the configuration resource list is too many is solved, and the annotating and thermally refreshing performance is remarkably improved under the scene that the annotating and the modifying Bean is many, the attribute is many and complex.
Example two
Fig. 2 is a flowchart of an annotation hot refreshing method according to a second embodiment of the present invention, where the technical solution of the embodiment of the present invention is further optimized based on any of the foregoing embodiments. As shown in fig. 2, the method includes:
s210, acquiring remote configuration information to obtain a configuration resource list.
S220, comparing the local configuration information and the remote configuration information in the configuration item key cache list, and storing the acquired latest remote configuration information in the configuration item key cache list;
s230, triggering a configuration change monitor to start under the condition that the local configuration information is not matched with the remote configuration information, and updating a configuration item key cache list based on the remote configuration information, wherein the configuration change monitor is used for monitoring the configuration change of the configuration item key cache list;
s240, when the configuration change monitor monitors the configuration change of the configuration item key cache list, an environment change event is issued.
S250, responding to the release of the environment change event, generating an annotation refreshing task based on the updated configuration item key cache list, executing the annotation refreshing task, and updating the annotation Bean attribute.
In this embodiment, the annotation refresh task is a task of performing annotation refresh on the Bean attribute of the Bean of the annotation modification.
Specifically, under the condition that the configuration change monitor monitors that the environment change event is issued, a rebinding operation of notes and configuration information is triggered, and a note refreshing task of the Bean class decorated by the @ configuration properties notes is generated based on the updated configuration item key cache list. Traversing all the Bean classes, taking the traversed Bean class as the current Bean class, acquiring corresponding configuration information of the current Bean class from the configuration resource based on the configuration item key in the updated configuration item key cache list, and binding the acquired configuration information with Bean class attributes of the current Bean class in the annotation. And after the Bean class traversal modified by all @ configuration properties annotation is finished, the annotation refreshing task is completed, and the rebinding of the annotation and the configuration information is realized.
In some embodiments, the annotation Bean class includes a plurality of annotation Bean class attributes. Optionally, traversing the Bean class in the annotation to obtain Bean class attributes; traversing the Bean attribute of the Bean class to obtain configuration information corresponding to the Bean attribute, and binding the configuration information corresponding to the Bean attribute with the Bean attribute until the traversing is finished.
Specifically, under the condition of triggering the rebinding operation of the annotation and the configuration information, generating an annotation refreshing task of the Bean class for modifying the annotation based on the configuration information corresponding to the updated configuration item key cache list. Traversing all the Bean classes, taking the traversed Bean class as the current Bean class, acquiring all the Bean class attributes of the current Bean class, and traversing the Bean class attributes, wherein the traversed Bean class attributes are the current Bean class attributes. And acquiring configuration information corresponding to the current Bean attribute from the updated configuration item key cache list, and binding the acquired configuration information with the annotated current Bean attribute. After the traversal of each Bean attribute of the Bean class modified by the annotation is finished, the updating of the annotation Bean attribute of the current Bean class is realized, the next Bean class is traversed, and after the traversal of all Bean classes is finished, the annotation refreshing task is completed.
Illustratively, FIG. 3 is a flow chart annotating refresh tasks. As shown in fig. 3, when all @ configuration properties annotate modified beans are not traversed, all Bean attributes of the current Bean are obtained, each Bean attribute of the current Bean is traversed, when all Bean attributes are not traversed, configuration information corresponding to the current Bean attribute is obtained, when the obtained configuration information is empty, it can be considered that no configuration information corresponding to the current Bean attribute exists in the updated configuration information, and then the next Bean attribute is traversed; and under the condition that the acquired configuration information is not null, the updated configuration information can be considered to have the configuration information corresponding to the current Bean attribute, the acquired configuration information is bound with the current Bean attribute, and then the next Bean attribute is traversed. And traversing the next Bean class under the condition that all Bean class attribute traversal of the current Bean class is finished. In the case of the complete @ configuration properties annotating the end of the modified Bean class traversal, the annotation refresh task ends.
Acquiring configuration information corresponding to the Bean attribute based on the configuration item key cache list, and optionally traversing each configuration resource of the configuration resource list to determine the configuration item key cache list corresponding to the configuration resource; under the condition that the configuration item key set is obtained based on the configuration item key cache list, the Bean type attribute is used as a configuration key, and the configuration value corresponding to the configuration key in the configuration item key set is determined to be the configuration information corresponding to the Bean type attribute.
Specifically, each configuration resource of the configuration resource list is traversed, the traversed configuration resource is taken as the current configuration resource, based on the configuration item key list identifier of the configuration item key list corresponding to the current configuration resource, under the condition that the configuration item key cache list identifier matched with the configuration item key list identifier exists, the configuration item key cache list corresponding to the matched configuration item key cache list identifier is determined as the configuration item key cache list corresponding to the configuration resource, the configuration item keys in the configuration item key cache list are acquired, and the acquired configuration item keys are collected to obtain the configuration item key set.
In some embodiments, the configuration information of the server is updated multiple times in a short time, and the configuration item key cache list is asynchronous with the configuration resource update. Optionally, in the case that the configuration item key set is not obtained based on the configuration item key cache list, the configuration item key set is obtained based on the configuration resource, the configuration item key cache list is updated, and the configuration item key set is obtained based on the updated configuration item key cache list.
Specifically, under the condition that the configuration item key cache list identifier matched with the configuration item key list identifier does not exist, the configuration item key cache list is considered to be not updated, the configuration item key set cannot be obtained from the configuration item key cache list, the configuration item key set is obtained based on the current configuration resource, the configuration item key cache list is updated based on the configuration item key set, and the configuration item key set is obtained based on the updated configuration item key cache list.
Based on the acquired configuration item key set, matching the Bean attribute with the configuration keys in the configuration item key set, and determining the configuration value corresponding to the matched configuration key as the configuration information corresponding to the Bean attribute under the condition of matching the corresponding configuration key; and traversing the next configuration resource in case of not matching the corresponding configuration key.
Illustratively, FIG. 4 is a flow chart for obtaining configuration information corresponding to Bean class attributes. As shown in fig. 4, when all configuration resources of the configuration resource list are not traversed, attempting to obtain a configuration item key set corresponding to the current configuration resource from the configuration item key cache list, and when the configuration item key set corresponding to the current configuration resource is obtained, directly obtaining a configuration item key corresponding to the Bean attribute from the configuration item key set; under the condition that the configuration item key set corresponding to the current configuration resource is not obtained, obtaining the corresponding configuration item key set from the current configuration resource, updating a configuration item key cache list based on the obtained configuration item key set, obtaining the configuration item key set corresponding to the current configuration resource from the updated configuration item key cache list, and obtaining the configuration item key corresponding to the Bean attribute from the configuration item key set. Under the condition that a configuration item key corresponding to the Bean attribute is obtained, obtaining a corresponding configuration item value in the current configuration resource based on the configuration item key, taking the configuration item value as configuration information corresponding to the Bean attribute, ending traversing the configuration resource list, and returning the configuration information to the annotation refreshing task; and traversing the next configuration resource under the condition that the configuration item key corresponding to the Bean attribute is not acquired. And returning a null to the annotation refresh task when all configuration resources of the configuration resource list are traversed.
And S260, when a new annotation refreshing task is detected in the process of executing the annotation refreshing task, the executing annotation refreshing task is abandoned, the new annotation refreshing task is executed, and the annotation Bean attribute is updated.
Specifically, the client side single thread executes the annotation refreshing task, and under the condition that the configuration change monitor monitors multiple configuration item key cache list updating events in a short time, multiple annotation refreshing tasks can be determined to be detected, and the annotation refreshing task corresponding to the latest configuration item key cache list updating event is used as a new annotation refreshing task. And giving up the annotation refreshing task currently being executed, executing a new annotation refreshing task based on the latest remote configuration information, and acquiring the configuration information updated by the annotation Bean attribute.
By way of example, FIG. 5 is a schematic diagram of a single thread executing a configuration annotation refresh task. As shown in fig. 3, in the case that the configuration change monitor monitors 3 configuration item key cache list update events within 1 second, three annotation refresh tasks are triggered, and the thread 1 sequentially executes the annotation refresh tasks.
According to the technical scheme, remote configuration information is obtained, and a configuration resource list is obtained; comparing the local configuration information corresponding to the configuration item key cache list with the remote configuration information, and storing the configuration item key of the last acquired remote configuration information in the configuration item key cache list; triggering a configuration change monitor to start under the condition that the local configuration information is not matched with the remote configuration information, and updating a configuration item key cache list based on the remote configuration information, wherein the configuration change monitor is used for monitoring the configuration change of the configuration item key cache list; when the configuration change monitor monitors the configuration change of the configuration item key cache list, an environment change event is issued; responding to the release of the environment change event, generating an annotation refreshing task based on the updated configuration item key cache list, executing the annotation refreshing task, and updating the annotation Bean attribute; in the process of executing the annotation refreshing task, under the condition that a new annotation refreshing task is detected, the executing annotation refreshing task is abandoned, the new annotation refreshing task is executed, the annotation Bean attribute is updated, the annotation refreshing task is executed through a single thread instead of the multi-thread Cheng Zhujie refreshing task, the fact that the Bean attribute can be bound to the latest configuration information each time is ensured, and CPU consumption is reduced.
Example III
Fig. 3 is a schematic structural diagram of a hot-refreshing device for annotating a book according to a third embodiment of the present invention. As shown in fig. 3, the apparatus includes:
the configuration resource list generation module is used for acquiring remote configuration information to obtain a configuration resource list;
the local remote configuration information comparison module is used for configuring local configuration information and remote configuration information corresponding to the item key cache list, and the item key cache list stores the configuration item key of the last acquired remote configuration information;
the configuration change monitoring module is used for triggering the starting of the configuration change monitor and updating the configuration item key cache list based on the remote configuration information under the condition that the local configuration information is not matched with the remote configuration information, and the configuration change monitor is used for monitoring the configuration change of the configuration item key cache list;
the Bean attribute updating module is used for issuing an environment change event under the condition that the configuration change monitor monitors the configuration change of the configuration item key cache list; and responding to the release of the environment change event, and updating the annotation Bean attribute based on the updated configuration item key cache list so as to realize the annotation heat refreshing.
According to the technical scheme, a configuration resource list is obtained by acquiring remote configuration information; comparing the local configuration information corresponding to the configuration item key cache list with the remote configuration information, and storing the configuration item key of the last acquired remote configuration information in the configuration item key cache list; triggering a configuration change monitor to start under the condition that the local configuration information is not matched with the remote configuration information, and updating a configuration item key cache list based on the remote configuration information, wherein the configuration change monitor is used for monitoring the configuration change of the configuration item key cache list; when the configuration change monitor monitors the configuration change of the configuration item key cache list, an environment change event is issued; in response to the release of the environment change event, the annotation Bean attribute is updated based on the updated configuration item key cache list so as to realize annotating and thermally refreshing, the configuration item key corresponding to the Bean attribute is obtained based on the configuration item key cache list, under the condition that the configuration item key cache list does not have the corresponding configuration item key, the configuration resource list is traversed again to obtain the corresponding configuration item instead of completely obtaining the corresponding configuration item key from the configuration resource list, the problem that the annotating and thermally refreshing efficiency is low due to the fact that the configuration item key in the configuration resource list is too many is solved, and the annotating and thermally refreshing performance is remarkably improved under the scene that the annotating and the modifying Bean is many, the attribute is many and complex.
On the basis of the above embodiment, optionally, the resource list generating module is configured specifically for: sending a configuration state detection request to the server so that the server returns a configuration state update response signal when detecting that the remote configuration information is updated; triggering a remote configuration information acquisition request based on the received configuration state updating response signal, and obtaining remote configuration information from a server based on the remote configuration information acquisition request; and/or triggering a remote configuration information acquisition request based on the preset interval time, and obtaining the remote configuration information from the server based on the remote configuration information acquisition request.
On the basis of the above embodiment, optionally, the configuration resource list generating module includes a remote configuration information update detecting unit, configured to detect a configuration information update by the server; the remote configuration information updating detection unit is specifically configured to: responding to a configuration state detection request, triggering a configuration state detection service to start, and scanning a configuration release information database based on a preset interval time; under the condition that new configuration release information exists in the configuration release information database, determining that remote configuration information is updated; and suspending the configuration state detection request within a preset waiting time under the condition that no new configuration release information exists in the configuration release information database.
On the basis of the embodiment, the Bean attribute updating module comprises a Bean attribute updating unit, and is used for updating the annotation Bean attribute based on the updated configuration item key cache list; the Bean attribute updating unit is specifically configured to: generating an annotation refreshing task based on configuration information corresponding to the updated configuration item key cache list, executing the annotation refreshing task, and updating the annotation Bean attribute; and in the process of executing the annotation refreshing task, if a new annotation refreshing task is detected, the annotation refreshing task which is being executed is abandoned, the new annotation refreshing task is executed, and the annotation Bean attribute is updated.
Based on the above embodiment, optionally, the Bean attribute updating unit specifically includes:
a Bean traversing subunit, configured to traverse the Bean in the annotation and obtain a Bean attribute;
and the Bean attribute traversing subunit is used for traversing the Bean attribute of the Bean class, acquiring configuration information corresponding to the Bean attribute, and binding the configuration information corresponding to the Bean attribute with the Bean attribute until the traversing is finished.
Based on the above embodiment, optionally, the Bean attribute traversing subunit is specifically configured to: traversing each configuration resource of the configuration resource list, and determining a configuration item key cache list corresponding to the configuration resource; under the condition that the configuration item key set is obtained based on the configuration item key cache list, the Bean type attribute is used as a configuration key, and the configuration value corresponding to the configuration key in the configuration item key set is determined to be the configuration information corresponding to the Bean type attribute.
Based on the above embodiment, optionally, the Bean attribute traversing subunit is further configured to: and under the condition that the configuration item key cache list does not acquire the configuration item key set, acquiring the configuration item key set based on the configuration resource, updating the configuration item key cache list, and acquiring the configuration item key set based on the updated configuration item key cache list.
The annotation hot refreshing device provided by the embodiment of the invention can execute the annotation hot refreshing method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example IV
Fig. 6 is a schematic structural diagram of an electronic device implementing an annotated hot refresh method according to an embodiment of the invention. The electronic device 10 is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic devices may also represent various forms of mobile equipment, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing equipment. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 6, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as annotating the hot refresh method.
In some embodiments, the annotation thermal refresh method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. One or more of the steps of the annotation hot refresh method described above may be performed when the computer program is loaded into RAM 13 and executed by processor 11. Alternatively, in other embodiments, the processor 11 may be configured to perform the annotation hot refresh method in any other suitable way (e.g., by means of firmware).
Various implementations of the systems and techniques described here above can be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
The computer program for implementing the annotated hot refresh method of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
Example five
A fifth embodiment of the present invention also provides a computer-readable storage medium storing computer instructions for causing a processor to perform a method of annotation thermal refresh, the method comprising:
acquiring remote configuration information to obtain a configuration resource list; comparing the local configuration information corresponding to the configuration item key cache list with the remote configuration information, and storing the configuration item key of the last acquired remote configuration information in the configuration item key cache list; triggering a configuration change monitor to start under the condition that the local configuration information is not matched with the remote configuration information, and updating a configuration item key cache list based on the remote configuration information, wherein the configuration change monitor is used for monitoring the configuration change of the configuration item key cache list; when the configuration change monitor monitors the configuration change of the configuration item key cache list, an environment change event is issued; and responding to the release of the environment change event, and updating the annotation Bean attribute based on the updated configuration item key cache list so as to realize the annotation heat refreshing.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background (e.g., as a data server), or that includes middleware (e.g., an application server), or that includes a front end (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front end. The systems may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method of annotating a hot refresh comprising:
acquiring remote configuration information to obtain a configuration resource list;
comparing the local configuration information corresponding to the configuration item key cache list with the remote configuration information, wherein the configuration item key cache list stores the configuration item key of the last remote configuration information acquired;
triggering a configuration change monitor to start and updating the configuration item key cache list based on the remote configuration information under the condition that the local configuration information is not matched with the remote configuration information, wherein the configuration change monitor is used for monitoring the configuration change of the configuration item key cache list;
when the configuration change monitor monitors the configuration change of the configuration item key cache list, an environment change event is issued; and responding to the release of the environment change event, and updating the annotation Bean attribute based on the updated configuration item key cache list so as to realize the annotation heat refreshing.
2. The method of claim 1, wherein the obtaining remote configuration information comprises:
sending a configuration state detection request to a server, so that the server returns a configuration state update response signal under the condition that the server detects that the remote configuration information is updated;
Triggering the remote configuration information acquisition request based on the received configuration state updating response signal, and obtaining the remote configuration information from the server based on the remote configuration information acquisition request;
and/or triggering the remote configuration information acquisition request based on a preset interval time, and obtaining the remote configuration information from the server based on the remote configuration information acquisition request.
3. The method of claim 2, wherein the method for detecting remote configuration information update by the server comprises:
triggering a configuration state detection service to start in response to the configuration state detection request, and scanning a configuration release information database based on a preset interval time;
determining that the remote configuration information is updated when new configuration release information exists in the configuration release information database;
and suspending the configuration state detection request within a preset waiting time under the condition that the configuration release information database does not have new configuration release information.
4. The method of claim 1, wherein updating the annotation Bean class attribute based on the updated configuration item key cache list comprises:
Generating an annotation refreshing task based on the configuration information corresponding to the updated configuration item key cache list, executing the annotation refreshing task, and updating the annotation Bean attribute;
and in the process of executing the annotation refreshing task, if a new annotation refreshing task is detected, the annotation refreshing task which is being executed is abandoned, the new annotation refreshing task is executed, and the annotation Bean attribute is updated.
5. The method according to claim 1 or 4, wherein updating the annotation Bean class attribute comprises:
traversing the Bean class in the annotation and obtaining the Bean class attribute;
traversing the Bean attribute of the Bean class, acquiring configuration information corresponding to the Bean attribute, and binding the configuration information corresponding to the Bean attribute with the Bean attribute until the traversing is finished.
6. The method of claim 5, wherein the obtaining the configuration information corresponding to the Bean attribute comprises:
traversing each configuration resource of a configuration resource list, and determining the configuration item key cache list corresponding to the configuration resource;
and under the condition that the configuration item key set is obtained based on the configuration item key cache list, taking the Bean type attribute as a configuration key, and determining a configuration value corresponding to the configuration key in the configuration item key set as the configuration information corresponding to the Bean type attribute.
7. The method of claim 6, wherein the method further comprises:
and under the condition that the configuration item key cache list does not acquire the configuration item key set, acquiring the configuration item key set based on configuration resources, updating the configuration item key cache list, and acquiring the configuration item key set based on the updated configuration item key cache list.
8. A annotating hot refresh device, comprising:
the configuration resource list generation module is used for acquiring remote configuration information to obtain a configuration resource list;
the local remote configuration information comparison module is used for configuring local configuration information corresponding to a key cache list and the remote configuration information, and the key cache list stores the acquired key of the last remote configuration information;
a configuration change monitoring module, configured to trigger a configuration change monitor to start and update the configuration item key cache list based on the remote configuration information when the local configuration information is not matched with the remote configuration information, where the configuration change monitor is configured to monitor a configuration change of the configuration item key cache list;
The Bean attribute updating module is used for issuing an environment change event under the condition that the configuration change monitor monitors the configuration change of the configuration item key cache list; and responding to the release of the environment change event, and updating the annotation Bean attribute based on the updated configuration item key cache list so as to realize the annotation heat refreshing.
9. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the annotation thermal refresh method of any of claims 1-7.
10. A computer readable storage medium storing computer instructions for causing a processor to implement the annotation thermal refresh method of any of claims 1-7 when executed.
CN202311668612.3A 2023-12-06 2023-12-06 Annotating hot refreshing method, annotating hot refreshing device, annotating hot refreshing equipment and annotating hot refreshing medium Pending CN117667144A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311668612.3A CN117667144A (en) 2023-12-06 2023-12-06 Annotating hot refreshing method, annotating hot refreshing device, annotating hot refreshing equipment and annotating hot refreshing medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311668612.3A CN117667144A (en) 2023-12-06 2023-12-06 Annotating hot refreshing method, annotating hot refreshing device, annotating hot refreshing equipment and annotating hot refreshing medium

Publications (1)

Publication Number Publication Date
CN117667144A true CN117667144A (en) 2024-03-08

Family

ID=90076628

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311668612.3A Pending CN117667144A (en) 2023-12-06 2023-12-06 Annotating hot refreshing method, annotating hot refreshing device, annotating hot refreshing equipment and annotating hot refreshing medium

Country Status (1)

Country Link
CN (1) CN117667144A (en)

Similar Documents

Publication Publication Date Title
US20130117768A1 (en) Web service api for unified contact store
CN114564435A (en) Inter-core communication method, device and medium for heterogeneous multi-core chip
CN113986936A (en) Data processing method and device, electronic equipment and storage medium
CN116545905A (en) Service health detection method and device, electronic equipment and storage medium
CN116383207A (en) Data tag management method and device, electronic equipment and storage medium
CN115525666A (en) Real-time data updating method and device, electronic equipment and storage medium
CN117667144A (en) Annotating hot refreshing method, annotating hot refreshing device, annotating hot refreshing equipment and annotating hot refreshing medium
CN114500443B (en) Message pushing method, device, system, electronic equipment and storage medium
CN113676531B (en) E-commerce flow peak clipping method and device, electronic equipment and readable storage medium
CN115587097A (en) Directory node information query method, device, equipment and storage medium
CN114691781A (en) Data synchronization method, system, device, equipment and medium
CN114564318A (en) Data processing method, device and system, electronic equipment and storage medium
CN115174447B (en) Network communication method, device, system, equipment and storage medium
CN114466079B (en) Request processing method, device, proxy server and storage medium
CN115037803B (en) Service calling method, electronic equipment and storage medium
CN118093211A (en) Distributed lock processing method, device, equipment and medium
CN117093274A (en) Application running stack analysis method, device, equipment and storage medium
CN116303298A (en) Method, device, equipment and storage medium for managing cache data
CN116015665A (en) Method, device, equipment and medium for repeatedly detecting virtual article
CN115168440A (en) Data read-write method, distributed storage system, device, equipment and storage medium
CN116302371A (en) Transaction visibility judging method, device, equipment and storage medium
CN115687244A (en) File processing monitoring method, device, equipment and medium
CN116881368A (en) Data synchronization method and device, electronic equipment and storage medium
CN117668083A (en) Heterogeneous database synchronization method and device, electronic equipment and storage medium
CN117608932A (en) Processing method, device, equipment and medium for delay task

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