CN113608779B - Service interface configuration method, device, equipment and storage medium - Google Patents

Service interface configuration method, device, equipment and storage medium Download PDF

Info

Publication number
CN113608779B
CN113608779B CN202110913776.2A CN202110913776A CN113608779B CN 113608779 B CN113608779 B CN 113608779B CN 202110913776 A CN202110913776 A CN 202110913776A CN 113608779 B CN113608779 B CN 113608779B
Authority
CN
China
Prior art keywords
interface
class
preset
implementation class
cache
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
CN202110913776.2A
Other languages
Chinese (zh)
Other versions
CN113608779A (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.)
Ping An International Smart City Technology Co Ltd
Original Assignee
Ping An International Smart City Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An International Smart City Technology Co Ltd filed Critical Ping An International Smart City Technology Co Ltd
Priority to CN202110913776.2A priority Critical patent/CN113608779B/en
Publication of CN113608779A publication Critical patent/CN113608779A/en
Application granted granted Critical
Publication of CN113608779B publication Critical patent/CN113608779B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Abstract

The invention relates to interface configuration technology, and discloses a service interface configuration method, which comprises the following steps: performing sensing scanning treatment on a preset custom service interface to obtain an interface set of the preset custom service interface; taking the realization class corresponding to the interface realization class annotation with the preset attribute of being immediately effective as an effective realization class, and taking the realization class corresponding to the interface realization class annotation with the preset attribute of not immediately effective as a cache realization class; the obtained instantiation object matched with the effective realization class carries out instantiation processing on the effective realization class to obtain an external service object; the method comprises the steps of storing an external service object into an instantiated cache container, and storing the instantiated object matched with the cache realization class into an un-instantiated cache container. The invention also relates to a block chain technology, and the preset custom service interface is stored in the block chain. The method and the device can solve the problems that in the prior art, all the implementation classes are loaded at one time, and memory resource waste is easy to occur.

Description

Service interface configuration method, device, equipment and storage medium
Technical Field
The present invention relates to the field of interface configuration, and in particular, to a service interface configuration method, apparatus, electronic device, and computer readable storage medium.
Background
SPI (service interface) has been provided by JDK (software development kit in Java language), but there are now large redundant parts of SPI, such as: a configuration file with a fully qualified interface name must be added, and the implementation class of META/INF/services files needs to be fully loaded and instantiated. There are the following problems:
when a new service interface is created, a corresponding full-limit name file for creating a matched service interface implementation and a meta_inf/services lower interface is required, and a corresponding implementation class full-limit name must be appended to the interface full-limit name file, for example: when the corresponding implementation full-limit names are added in the META_INF/spring.factors files, all SPI interface implementation classes are read and instantiated when the resource files are loaded through java.util.ServiceLoader, all implementation classes are loaded at one time, function assignment cannot be started, and memory resource waste is easy to occur.
Disclosure of Invention
The invention provides a service interface configuration method, a device, electronic equipment and a computer readable storage medium, which mainly aim to solve the problems that in the prior art, all classes are read and instantiated, all the classes are loaded at one time, and memory resource waste is easy to occur.
In order to achieve the above object, a first aspect of the present invention provides a service interface configuration method, where the method includes:
performing sensing scanning treatment on a preset custom service interface to obtain an interface set of the preset custom service interface; the service interface annotation, the interface realization class annotation and the preset attribute corresponding to the interface realization class annotation are pre-created in the preset custom service interface; the types of the preset attributes comprise an immediate effective attribute and a non-immediate effective attribute;
acquiring the interface implementation class annotation from the preset custom service interface, taking an implementation class corresponding to the interface implementation class annotation with the preset attribute of being immediately effective as an effective implementation class, and taking an implementation class corresponding to the interface implementation class annotation with the preset attribute of not being immediately effective as a cache implementation class;
the method comprises the steps that an instantiation object which is obtained from a preset basic cache container and matched with the effective implementation class is used for carrying out instantiation processing on the effective implementation class to obtain an external service object; the preset basic cache container is used for storing an implementation class corresponding to the interface implementation class annotation and an instantiation object matched with the implementation class corresponding to the interface implementation class annotation;
And storing the external service object into an instantiated cache container, storing the cache realization class and the instantiated object matched with the cache realization class into an un-instantiated cache container, and completing the configuration of the preset custom service interface.
In a second aspect, to solve the above-mentioned problem, the present invention further provides a service interface configuration apparatus, the apparatus including:
the perception scanning module is used for carrying out perception scanning processing on a preset custom service interface to obtain an interface set of the preset custom service interface; the service interface annotation, the interface realization class annotation and the preset attribute corresponding to the interface realization class annotation are pre-created in the preset custom service interface; the types of the preset attributes comprise an immediate effective attribute and a non-immediate effective attribute;
the interface realization class annotation acquisition module is used for acquiring the interface realization class annotation from the preset custom service interface, taking the realization class corresponding to the interface realization class annotation with the preset attribute of being immediately effective as an effective realization class, and taking the realization class corresponding to the interface realization class annotation with the preset attribute of not being immediately effective as a cache realization class;
The instantiation module is used for carrying out instantiation processing on the effective realization class through an instantiation object which is obtained from a preset basic cache container and is matched with the effective realization class, so as to obtain an external service object; the preset basic cache container is used for storing an implementation class corresponding to the interface implementation class annotation and an instantiation object matched with the implementation class corresponding to the interface implementation class annotation;
and the storage module is used for storing the external service object into an instantiated cache container, storing the cache realization class and the instantiated object matched with the cache realization class into an uninitialized cache container, and completing the configuration of the preset custom service interface.
In order to solve the above-mentioned problems, the present invention also provides an electronic device including:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the service interface configuration method as described above.
In a fourth aspect, in order to solve the above-mentioned problems, the present invention also provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the service interface configuration method as described above.
According to the service interface configuration method, the device, the electronic equipment and the storage medium, through the preset custom service interface, service interface annotation, interface realization class annotation and preset attribute corresponding to the interface realization class annotation are pre-created in the preset custom service interface; the types of the preset attributes comprise the immediately effective attribute and the non-immediately effective attribute, the implementation class in the service interface can be instantiated according to the type classification of the preset attribute, the non-immediately effective interface implementation class can be cached first, the memory is saved, and the waste of internal resources is avoided; for the interface service provider end, a new service interface is added, complex configuration whole flow is not needed, particularly when a plurality of service interfaces are configured, the service interface annotation, the interface realization class annotation and the preset attribute are directly used on the interface and the interface realization class without configuring the newly added service interfaces for a plurality of times, and the interface service can be provided by carrying out life in the interface which needs to be used as a service; and for the interface implementation class, whether the starting is loaded to the container or not can be appointed, so that all the interface implementation classes are prevented from being loaded at one time, and the code development flow is greatly simplified.
Drawings
Fig. 1 is a flowchart of a service interface configuration method according to an embodiment of the present invention;
FIG. 2 is a schematic block diagram of a service interface configuration device according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an internal structure of an electronic device for implementing a service interface configuration method according to an embodiment of the present invention;
the achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The invention provides a service interface configuration method. Referring to fig. 1, a flowchart of a service interface configuration method according to an embodiment of the invention is shown. The method may be performed by an apparatus, which may be implemented in software and/or hardware.
In this embodiment, the service interface configuration method includes:
step S110, performing sensing scanning processing on a preset custom service interface to obtain an interface set of the preset custom service interface; the method comprises the steps that service interface notes, interface realization class notes and preset attributes corresponding to the interface realization class notes are pre-created in a preset user-defined service interface; the types of preset attributes include an immediate-effect attribute and a non-immediate-effect attribute.
Specifically, as the service interface annotation is created in advance in the preset custom service interface, the preset custom service interface can be scanned perceptively through the service interface annotation, and after all interfaces in the service platform or the service system are scanned, the interfaces with the service interface annotation in the interface are perceived, so that the user can quickly know which are service interfaces and which are non-service interfaces. When the service interface is not needed, the service interface is designated, the user can be quickly provided with service through presetting the user-defined service interface, and complex steps of designating the service interface, creating a service interface file and the like are omitted.
As an optional embodiment of the present invention, before performing the sensing scanning processing on the preset custom service interface to obtain the interface set of the preset custom service interface, the method further includes:
carrying out service interface declaration annotation processing on the service interface to be configured, so that the service interface to be configured is marked as an interface for providing service to the outside, and a declared service interface is obtained;
carrying out interface realization class annotation processing on the declared service interface to obtain the service interface with realization class annotation;
according to the preset interface implementation class attribute specification rule, performing corresponding attribute specification processing on the interface implementation class annotation of the service interface with the implementation class annotation to obtain a preset custom service interface; the preset interface implementation class attribute specification rule comprises interface implementation class notes and preset attributes corresponding to the interface implementation class notes.
Specifically, service interface declaration annotation is carried out on the service interfaces to be configured through a computer programming language, and the service interface declaration annotation can be used for clearly showing which service interfaces are non-service interfaces, wherein which service interfaces to be configured can be used as service interfaces according to the specification when the interfaces are created, when a user is in use, the user does not need to specify the interfaces and create files under the interface paths, and the service interface annotation created in advance can be used for clearly showing that the interfaces are service interfaces and are not other interfaces; the service realization class which can be realized by the service interface can be specifically indicated through the interface realization class annotation which is created in advance; by designating preset attributes to the interface implementation class notes, whether the service interface is immediately instantiated can be indicated, the preset attributes can be designated according to the needs, a certain interface implementation class of a temporarily unused preset custom service interface can be set to be a non-immediate effective attribute, the problems that the original service interface is used for initializing and loading all service interfaces, so that excessive memory is occupied at one time and resource waste occurs can be avoided, and when different interface implementation classes are created for the service interface, only the interface implementation class notes are required to be added; the original service interface configuration mode is not used any more for manually creating the resource file, and the condition that the content of the interface implementation class is added to the file every time a new interface implementation class is created is avoided.
As an optional embodiment of the present invention, storing the preset custom service interface in a blockchain, performing a perceptual scanning process on the preset custom service interface, and obtaining an interface set of the preset custom service interface includes:
according to the acquired service interface configuration instruction, decoding the service interface annotation by a compiler to obtain the decoding of the service interface annotation;
and performing sensing scanning processing on the preset custom service interface according to the interpretation of the service interface annotation to obtain an interface set of the preset custom service interface.
Specifically, when the processor receives the service interface configuration instruction, the service interface annotation is decoded by the compiler to obtain the decoding of the service interface annotation, wherein the decoding of the service interface annotation is a language which can be understood by a machine, and the service interface annotation is generally an annotation completed by a computer programming language technology, so that the service interface annotation needs to be translated into decoding agreed between machines, and the preset custom service interface is perceptively scanned by identifying the decoding of the service interface annotation, so that the interface set is obtained after all the preset custom service interfaces are assembled together.
Step S120, obtaining interface realization class annotation from a preset user-defined service interface, taking the realization class corresponding to the interface realization class annotation with the preset attribute of being immediately effective as an effective realization class, and taking the realization class corresponding to the interface realization class annotation with the preset attribute of not being immediately effective as a cache realization class.
Specifically, interface implementation class annotation in a preset custom service interface is divided into two classes according to the types of preset attributes, wherein one class is interface implementation class annotation which takes effect immediately, and the other class is interface implementation class annotation which takes effect non-immediately; the interface implementation class annotations are declarations of interface implementation classes, and therefore, each interface implementation class annotation corresponds to an implementation class. The interface realization class corresponding to the interface realization class annotation which takes effect immediately can be instantiated to obtain the service object and then directly provide service for the user, the realization class corresponding to the interface realization class annotation which takes effect immediately can be cached, when the service in the cache is required to be used, the user can select the needed interface realization class from the interface realization class corresponding to the interface realization class annotation which takes effect not immediately to carry out instantiation, and the instantiation can be carried out when required, thereby reducing the memory occupation.
As an optional embodiment of the present invention, obtaining interface implementation class annotation from a preset custom service interface, taking an implementation class corresponding to the interface implementation class annotation with a preset attribute of being immediately effective as an effective implementation class, and taking an implementation class corresponding to the interface implementation class annotation with a preset attribute of not being immediately effective as a cache implementation class includes:
analyzing the preset attribute in the preset user-defined service interface to obtain the type of the preset attribute, wherein the type of the preset attribute comprises immediate effect and non-immediate effect;
according to the type of the preset attribute, obtaining an implementation class corresponding to the interface implementation class annotation with the preset attribute of being immediately effective from the preset custom service interface as an effective implementation class, and taking the implementation class corresponding to the interface implementation class annotation with the preset attribute of not being immediately effective as a cache implementation class.
Specifically, analyzing the preset attribute of each interface implementation class annotation of the preset custom service interface, analyzing the type of the preset attribute of each interface implementation class annotation, and taking the implementation class corresponding to the interface implementation class annotation with the type of the preset attribute being immediately effective as the effective implementation class; and taking the realization class corresponding to the interface realization class annotation with the preset attribute type which is not immediately effective as a cache realization class.
Step S130, carrying out instantiation processing on the effective realization class through an instantiation object which is obtained from a preset basic cache container and is matched with the effective realization class, so as to obtain an external service object; the preset basic cache container is used for storing an implementation class corresponding to the interface implementation class annotation and an instantiation object matched with the implementation class corresponding to the interface implementation class annotation.
Specifically, all the related interface implementation class notes in the preset custom service interface and the matched instance objects of each implementation class are stored in a preset basic cache container, the implementation class identical to the effective implementation class is obtained from the preset basic cache container by comparing the effective implementation class with the implementation class stored in the preset basic cache container, then the matched instance object is obtained according to the implementation class identical to the effective implementation class, and the effective implementation class is subjected to instance processing through the instance object, so that the external service object is obtained. Wherein, the external service object can directly provide service for the user.
As an optional embodiment of the present invention, the method for obtaining the external service object by performing an instantiation process on the validation implementation class through the instantiation object which is obtained from the preset basic cache container and matches with the validation implementation class includes:
Obtaining an implementation class corresponding to the interface implementation class annotation which is the same as the effective implementation class from a preset basic cache container, and taking the implementation class as a target implementation class;
obtaining an instantiation object matched with a target implementation class from a preset basic cache container to serve as a target instantiation object;
and carrying out instantiation processing on the effective implementation class through the target instantiation object to obtain the external service object.
Specifically, an implementation class corresponding to the interface implementation class annotation which is the same as the effective implementation class is obtained from a preset basic cache container, an instantiation object corresponding to the implementation class is used as a target instantiation object, and the effective implementation class is instantiated through constructing an instantiation function by the target instantiation object, so that an external service object is obtained. The external service object is injected into the service container, and for the interface service user, when the interface service is used in a reference mode, the service instance object can be directly obtained from the service container, so that the service requirement is met.
And step 140, storing the external service object into an instantiated cache container, storing the cache realization class and the instantiated object matched with the cache realization class into an uninitialized cache container, and completing the configuration of the preset custom service interface.
Specifically, the external service object directly provides service to the outside, the external service object is stored in an instantiation buffer container, a user can directly use the external service object, the buffer implementation class and the instantiation object matched with the buffer implementation class are stored in an un-instantiation buffer container, when the external service object can not meet the requirement of the user that the buffer implementation class is needed, the corresponding buffer implementation class and the instantiation object matched with the corresponding buffer implementation class are obtained from the un-instantiation buffer container to be instantiated, and therefore the external service object capable of providing service for the user is obtained.
As an optional embodiment of the present invention, storing an external service object into an instantiated cache container, storing a cache implementation class and an instantiated object matched with the cache implementation class into an un-instantiated cache container, and completing configuration of a preset custom service interface includes:
storing the external service object to an instantiation cache container;
performing container data difference processing on a preset basic cache container and an instantiation cache container to obtain a cache realization class and an instantiation object matched with the cache realization class;
and storing the cache realization class and the instantiation object matched with the cache realization class into an un-instantiated cache container to finish the configuration of the preset custom service interface.
Specifically, the instantiated implementation class and the non-instantiated implementation class are stored separately, can be used as required, and memory can be reduced for the non-instantiated implementation class due to non-instantiation. All the implementation classes related to the preset custom service interface are stored in the preset basic cache container, so that the cache implementation class and the instantiation object matched with the cache implementation class can be obtained only by carrying out container data difference processing on the preset basic cache container and the instantiation cache container; and storing the obtained cache realization class and the instantiation object matched with the cache realization class into an un-instantiated cache container to finish the configuration of the preset custom service interface. The preset basic cache container, the instantiated cache container and the non-instantiated cache container form a multi-level cache container together, and when a service machine in work is down, the service machine can continue to work through other servers.
As an optional embodiment of the present invention, after storing the external service object into an instantiated cache container and storing the cache implementation class and the instantiated object matched with the cache implementation class into an un-instantiated cache container, the configuration of the preset custom service interface is completed, the method further includes:
According to the obtained cache implementation class instantiation instruction, obtaining an instantiation object matched with the cache implementation class to be instantiated from an un-instantiation cache container as a standby instantiation object; the cache implementation class instantiation instruction comprises a cache implementation class to be instantiated;
carrying out instantiation processing on the cache realization class to be instantiated through the to-be-instantiated object to obtain a new external service object;
and storing the new external service object into an instantiation cache container, and clearing the standby instantiation object in the non-instantiation cache container and the cache implementation class corresponding to the standby instantiation object.
Specifically, when a user needs to use a cache implementation class, a cache implementation class instantiation instruction is generated, after receiving the cache implementation class instantiation instruction, the processor acquires an instantiation object matched with the cache implementation class to be instantiated from an un-instantiated cache container as a standby instantiation object, in the cache implementation class instantiation instruction, the cache implementation class to be instantiated needs to be pointed out, the instantiated cache implementation class obtains a new external service object, the new external service object is stored in the instantiated cache container, and a pre-processing program is used for clearing the standby instantiation object in the un-instantiated cache container and the cache implementation class corresponding to the standby instantiation object.
As shown in fig. 2, a functional block diagram of a service interface configuration apparatus according to an embodiment of the present invention is shown.
The service interface configuration apparatus 200 of the present invention may be installed in an electronic device. Depending on the functions implemented, the service interface configuration means may comprise a awareness scan module 210, an interface implementation class annotation acquisition module 220, an instantiation module 230, a storage module 240. The module of the present invention may also be referred to as a unit, meaning a series of computer program segments capable of being executed by the processor of the electronic device and of performing fixed functions, stored in the memory of the electronic device.
In the present embodiment, the functions concerning the respective modules/units are as follows:
the perception scanning module 210 is configured to perform a perception scanning process on a preset custom service interface to obtain an interface set of the preset custom service interface; the method comprises the steps that service interface notes, interface realization class notes and preset attributes corresponding to the interface realization class notes are pre-created in a preset user-defined service interface; the types of preset attributes include an immediate-effect attribute and a non-immediate-effect attribute.
Specifically, as the service interface annotation is created in advance in the preset custom service interface, the preset custom service interface can be scanned perceptively through the service interface annotation, and after all interfaces in the service platform or the service system are scanned, the interfaces with the service interface annotation in the interface are perceived, so that the user can quickly know which are service interfaces and which are non-service interfaces. When the service interface is not needed, the service interface is designated, the user can be quickly provided with service through presetting the user-defined service interface, and complex steps of designating the service interface, creating a service interface file and the like are omitted.
As an alternative embodiment of the present invention, the service interface configuration apparatus 200 further includes: a service interface declaration annotation unit, an interface implementation class annotation unit, and an attribute specification unit (not shown in the figure).
The service interface declaration annotation unit is used for carrying out service interface declaration annotation processing on the service interface to be configured, so that the service interface to be configured is marked as an interface for providing services to the outside, and a declared service interface is obtained;
the interface realization class annotation unit is used for carrying out interface realization class annotation processing on the declared service interface to obtain the service interface with realization class annotation;
the attribute designating unit is used for carrying out corresponding attribute designating treatment on the interface realization class annotation of the service interface with the realization class annotation according to the preset interface realization class attribute designating rule to obtain a preset custom service interface; the preset interface implementation class attribute specification rule comprises interface implementation class notes and preset attributes corresponding to the interface implementation class notes.
Specifically, the service interface declaration annotation unit performs service interface declaration annotation on the service interface to be configured through a computer programming language, and can determine which service interfaces are non-service interfaces through the service interface declaration annotation, wherein which service interfaces to be configured can be used as service interfaces according to the specification of the interfaces during creation, when a user is in use, the user does not need to specify the interfaces any more, and creates files under an interface path, and the service interface annotation created in advance can simply and clearly indicate that the interfaces are service interfaces and are not other interfaces; the interface realization class annotation unit carries out interface realization class annotation on the declared service interface, and the service realization class which can be realized by the service interface can be specifically indicated through the pre-established interface realization class annotation; the attribute designating unit can designate preset attributes for the interface implementation class notes, whether the service interface is immediately instantiated can be indicated by designating preset attributes for the interface implementation class notes, the preset attributes can be designated according to the needs, a certain interface implementation class of a preset custom service interface which is not used temporarily can be set to be a non-immediate effective attribute, the problems that the original service interface is excessively occupied by one time and resources are wasted due to the fact that the original service interface loads all service interfaces in an initializing mode can be avoided, and when different interface implementation classes are created for the service interface, only the interface implementation class notes are required to be added; the original service interface configuration mode is not used any more for manually creating the resource file, and the condition that the content of the interface implementation class is added to the file every time a new interface implementation class is created is avoided.
As an alternative embodiment of the present invention, the preset custom service interface is stored in the blockchain, and the perceptual scanning module 210 further includes: a decoding unit and a perceptual scanning unit (not shown in the figures).
The decoding unit is used for decoding the service interface annotation through a compiler according to the acquired service interface configuration instruction to obtain the decoding of the service interface annotation;
and the perception scanning unit is used for carrying out perception scanning processing on the preset custom service interface according to the interpretation of the service interface annotation to obtain an interface set of the preset custom service interface.
Specifically, when the decoding unit receives the service interface configuration instruction, the service interface annotation is decoded by the compiler to obtain the decoding of the service interface annotation, wherein the decoding of the service interface annotation is a language which can be understood by a machine, and the service interface annotation is generally an annotation completed by a computer programming language technology, so that the service interface annotation needs to be translated into decoding agreed between machines, the decoding identification of the service interface annotation is performed by the perception scanning unit, the perception scanning is performed on the preset custom service interface, and all the preset custom service interfaces are collected together to obtain an interface collection.
The interface implementation class annotation obtaining module 220 is configured to obtain an interface implementation class annotation from a preset custom service interface, take an implementation class corresponding to the interface implementation class annotation with a preset attribute of taking effect immediately as an effective implementation class, and take an implementation class corresponding to the interface implementation class annotation with a preset attribute of not taking effect immediately as a cache implementation class.
Specifically, interface implementation class annotation in a preset custom service interface is divided into two classes according to the types of preset attributes, wherein one class is interface implementation class annotation which takes effect immediately, and the other class is interface implementation class annotation which takes effect non-immediately; the interface implementation class annotations are declarations of interface implementation classes, and therefore, each interface implementation class annotation corresponds to an implementation class. The interface realization class corresponding to the interface realization class annotation which takes effect immediately can be instantiated to obtain the service object and then directly provide service for the user, the realization class corresponding to the interface realization class annotation which takes effect immediately can be cached, when the service in the cache is required to be used, the user can select the needed interface realization class from the interface realization class corresponding to the interface realization class annotation which takes effect not immediately to carry out instantiation, and the instantiation can be carried out when required, thereby reducing the memory occupation.
As an alternative embodiment of the present invention, the interface implementation class annotation acquisition module 220 further includes: a preset attribute parsing unit and an implementation class classification unit (not shown in the figure).
The preset attribute analysis unit is used for analyzing the preset attributes in the preset user-defined service interface to obtain the types of the preset attributes, wherein the types of the preset attributes comprise immediate effect and non-immediate effect;
and the implementation class classification unit is used for acquiring the implementation class corresponding to the interface implementation class annotation with the preset attribute of being immediately effective from the preset user-defined service interface as an effective implementation class according to the type of the preset attribute, and taking the implementation class corresponding to the interface implementation class annotation with the preset attribute of not being immediately effective as a cache implementation class.
Specifically, analyzing the preset attribute of each interface implementation class annotation of the preset custom service interface through a preset attribute analysis unit, analyzing the type of the preset attribute of each interface implementation class annotation, and taking the implementation class corresponding to the interface implementation class annotation with the type of the preset attribute being immediately effective as an effective implementation class through the preset attribute analysis unit; and taking the realization class corresponding to the interface realization class annotation with the preset attribute type which is not immediately effective as a cache realization class.
The instantiation module 230 is configured to perform an instantiation process on the effective implementation class through an instantiation object that is acquired from the preset basic cache container and matches with the effective implementation class, so as to obtain an external service object; the preset basic cache container is used for storing an implementation class corresponding to the interface implementation class annotation and an instantiation object matched with the implementation class corresponding to the interface implementation class annotation.
Specifically, all the related interface implementation class notes in the preset custom service interface and the matched instance objects of each implementation class are stored in a preset basic cache container, the implementation class identical to the effective implementation class is obtained from the preset basic cache container by comparing the effective implementation class with the implementation class stored in the preset basic cache container, then the matched instance object is obtained according to the implementation class identical to the effective implementation class, and the effective implementation class is subjected to instance processing through the instance object, so that the external service object is obtained. Wherein, the external service object can directly provide service for the user.
As an alternative embodiment of the present invention, instantiation module 230 further includes: a target implementation class acquisition unit, a target instantiation object acquisition unit, and an instantiation processing unit (not shown in the figure).
The target implementation class obtaining unit is used for obtaining the implementation class corresponding to the interface implementation class annotation which is the same as the effective implementation class from the preset basic cache container, and taking the implementation class as the target implementation class;
the target instantiation object obtaining unit is used for obtaining an instantiation object matched with the target implementation class from a preset basic cache container to serve as a target instantiation object;
and the instantiation processing unit is used for carrying out instantiation processing on the effective realization class through the target instantiation object to obtain the external service object.
Specifically, an implementation class corresponding to the interface implementation class annotation which is the same as the effective implementation class is obtained from a preset basic cache container through a target implementation class obtaining unit and is used as a target implementation class; an instantiation object matched with a target implementation class is obtained from a preset basic cache container through a target instantiation object obtaining unit and is used as a target instantiation object; and constructing an instantiation function for the target instantiation object by the instantiation processing unit to instantiate the effective implementation class, thereby obtaining the external service object. The external service object is injected into the service container, and for the interface service user, when the interface service is used in a reference mode, the service instance object can be directly obtained from the service container, so that the service requirement is met.
The storage module 240 is configured to store the external service object into an instantiated cache container, store the cache implementation class and the instantiated object matched with the cache implementation class into an uninitialized cache container, and complete configuration of the preset custom service interface.
Specifically, the external service object directly provides service to the outside, the external service object is stored in an instantiation buffer container, a user can directly use the external service object, the buffer implementation class and the instantiation object matched with the buffer implementation class are stored in an un-instantiation buffer container, when the external service object can not meet the requirement of the user that the buffer implementation class is needed, the corresponding buffer implementation class and the instantiation object matched with the corresponding buffer implementation class are obtained from the un-instantiation buffer container to be instantiated, and therefore the external service object capable of providing service for the user is obtained.
As an alternative embodiment of the present invention, the storage module 240 further includes: an instantiated cache memory unit, a difference set processing unit, and an unintegrated cache memory unit (not shown). Wherein,
the instantiation cache storage unit is used for storing the external service object into an instantiation cache container;
the difference set processing unit is used for carrying out container data difference set processing on a preset basic cache container and an instantiation cache container to obtain a cache realization class and an instantiation object matched with the cache realization class;
And the non-instantiated cache storage unit is used for storing the cache realization class and the instantiated object matched with the cache realization class into a non-instantiated cache container to complete the configuration of the preset custom service interface.
Specifically, the storage module 240 stores the instantiated implementation class and the non-instantiated implementation class separately, so that the implementation class can be used as required, and the memory of the non-instantiated implementation class can be reduced due to non-instantiation. All the implementation classes related to the preset custom service interface are stored in the preset basic cache container, so that the cache implementation class and the instantiation object matched with the cache implementation class can be obtained only by carrying out container data difference processing on the preset basic cache container and the instantiation cache container; and storing the obtained cache realization class and the instantiation object matched with the cache realization class into an un-instantiated cache container to finish the configuration of the preset custom service interface. The preset basic cache container, the instantiated cache container and the non-instantiated cache container form a multi-level cache container together, and when a service machine in work is down, the service machine can continue to work through other servers.
As an alternative embodiment of the present invention, the service interface configuration apparatus 200 further includes: a standby instantiation object acquisition unit, a cache implementation class instantiation unit, and a storage purge unit (not shown in the figure).
The standby instantiation object obtaining unit is used for obtaining an instantiation object matched with the cache realization class to be instantiated from the non-instantiation cache container as a standby instantiation object according to the obtained cache realization class instantiation instruction; the cache implementation class instantiation instruction comprises a cache implementation class to be instantiated;
the cache realization class instantiation unit is used for carrying out instantiation processing on the cache realization class to be instantiated through the to-be-instantiated object to obtain a new external service object;
and the storage clearing unit is used for storing the new external service object into the instantiation cache container and clearing the standby instantiation object in the non-instantiation cache container and the cache implementation class corresponding to the standby instantiation object.
Specifically, when a user needs to use a cache implementation class, a cache implementation class instantiation instruction is generated, the cache implementation class instantiation instruction is received through a standby instantiation object acquisition unit, and an instantiation object matched with the cache implementation class to be instantiated is acquired from an un-instantiated cache container as a standby instantiation object; wherein the cache implementation class to be instantiated needs to be pointed out in the cache implementation class instantiation instruction. And carrying out instantiation processing on the cache realization class to be instantiated by using the standby instantiation object through the cache realization class instantiation unit to obtain a new external service object. And storing the new external service object into the instantiated cache container through a storage clearing unit, and clearing the standby instantiated object and the cache implementation class corresponding to the standby instantiated object in the non-instantiated cache container by using a pre-processing program.
Fig. 3 is a schematic structural diagram of an electronic device implementing a service interface configuration method according to an embodiment of the present invention.
The electronic device 1 may comprise a processor 10, a memory 11 and a bus, and may further comprise a computer program, such as a service interface configuration program 12, stored in the memory 11 and executable on the processor 10.
The memory 11 includes at least one type of readable storage medium, including flash memory, a mobile hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. The memory 11 may in some embodiments be an internal storage unit of the electronic device 1, such as a removable hard disk of the electronic device 1. The memory 11 may in other embodiments also be an external storage device of the electronic device 1, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the electronic device 1. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic device 1. The memory 11 may be used not only for storing application software installed in the electronic device 1 and various types of data, such as codes of service interface configuration programs, but also for temporarily storing data that has been output or is to be output.
The processor 10 may be comprised of integrated circuits in some embodiments, for example, a single packaged integrated circuit, or may be comprised of multiple integrated circuits packaged with the same or different functions, including one or more central processing units (Central Processing unit, CPU), microprocessors, digital processing chips, graphics processors, combinations of various control chips, and the like. The processor 10 is a Control Unit (Control Unit) of the electronic device, connects respective parts of the entire electronic device using various interfaces and lines, executes or executes programs or modules (e.g., service interface configuration programs, etc.) stored in the memory 11, and invokes data stored in the memory 11 to perform various functions of the electronic device 1 and process data.
The bus may be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. The bus is arranged to enable a connection communication between the memory 11 and at least one processor 10 etc.
Fig. 3 shows only an electronic device with components, it being understood by a person skilled in the art that the structure shown in fig. 3 does not constitute a limitation of the electronic device 1, and may comprise fewer or more components than shown, or may combine certain components, or may be arranged in different components.
For example, although not shown, the electronic device 1 may further include a power source (such as a battery) for supplying power to each component, and preferably, the power source may be logically connected to the at least one processor 10 through a power management device, so that functions of charge management, discharge management, power consumption management, and the like are implemented through the power management device. The power supply may also include one or more of any of a direct current or alternating current power supply, recharging device, power failure detection circuit, power converter or inverter, power status indicator, etc. The electronic device 1 may further include various sensors, bluetooth modules, wi-Fi modules, etc., which will not be described herein.
Further, the electronic device 1 may also comprise a network interface, optionally the network interface may comprise a wired interface and/or a wireless interface (e.g. WI-FI interface, bluetooth interface, etc.), typically used for establishing a communication connection between the electronic device 1 and other electronic devices.
The electronic device 1 may optionally further comprise a user interface, which may be a Display, an input unit, such as a Keyboard (Keyboard), or a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch, or the like. The display may also be referred to as a display screen or display unit, as appropriate, for displaying information processed in the electronic device 1 and for displaying a visual user interface.
It should be understood that the embodiments described are for illustrative purposes only and are not limited to this configuration in the scope of the patent application.
The service interface configuration program 12 stored in the memory 11 of the electronic device 1 is a combination of instructions that, when executed in the processor 10, may implement:
performing sensing scanning treatment on a preset custom service interface to obtain an interface set of the preset custom service interface; the method comprises the steps that service interface notes, interface realization class notes and preset attributes corresponding to the interface realization class notes are pre-created in a preset user-defined service interface; the type of the preset attribute comprises an immediate effective attribute and a non-immediate effective attribute;
Obtaining interface realization class annotation from a preset user-defined service interface, taking the realization class corresponding to the interface realization class annotation with the preset attribute of being immediately effective as an effective realization class, and taking the realization class corresponding to the interface realization class annotation with the preset attribute of not being immediately effective as a cache realization class;
the method comprises the steps that through an instantiation object which is obtained from a preset basic cache container and matched with an effective implementation class, the effective implementation class is subjected to instantiation processing, and an external service object is obtained; the method comprises the steps that a preset basic cache container is used for storing an implementation class corresponding to interface implementation class annotation and an instantiation object matched with the implementation class corresponding to the interface implementation class annotation;
and storing the external service object into an instantiated cache container, storing the cache realization class and the instantiated object matched with the cache realization class into an uninitialized cache container, and completing the configuration of the preset custom service interface.
Specifically, the specific implementation method of the above instructions by the processor 10 may refer to the description of the relevant steps in the corresponding embodiment of fig. 1, which is not repeated herein. It should be emphasized that, to further ensure the privacy and security of the preset custom service interface, the custom service interface may also be stored in a node of a blockchain.
Further, the modules/units integrated in the electronic device 1 may be stored in a computer readable storage medium if implemented in the form of software functional units and sold or used as separate products. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM).
In the several embodiments provided in the present invention, it should be understood that the disclosed apparatus, device and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be other manners of division when actually implemented.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units can be realized in a form of hardware or a form of hardware and a form of software functional modules.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof.
The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and the like. The Blockchain (Blockchain), which is essentially a decentralised database, is a string of data blocks that are generated by cryptographic means in association, each data block containing a batch of information of network transactions for verifying the validity of the information (anti-counterfeiting) and generating the next block. The blockchain may include a blockchain underlying platform, a platform product services layer, an application services layer, and the like.
Furthermore, it is evident that the word "comprising" does not exclude other elements or steps, and that the singular does not exclude a plurality. A plurality of units or means recited in the system claims can also be implemented by means of software or hardware by means of one unit or means. The terms second, etc. are used to denote a name, but not any particular order.
Finally, it should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made to the technical solution of the present invention without departing from the spirit and scope of the technical solution of the present invention.

Claims (9)

1. A service interface configuration method applied to an electronic device, the method comprising:
carrying out service interface declaration annotation processing on a service interface to be configured, so that the service interface to be configured is marked as an interface for providing service to the outside, and a declaration service interface is obtained;
performing interface realization class annotation processing on the stated service interface to obtain the service interface with realization class annotation;
according to a preset interface implementation class attribute specification rule, performing corresponding attribute specification processing on the interface implementation class annotation of the service interface with the implementation class annotation to obtain a preset custom service interface; the preset interface implementation class attribute specification rule comprises interface implementation class notes and preset attributes corresponding to the interface implementation class notes;
Performing sensing scanning treatment on a preset custom service interface to obtain an interface set of the preset custom service interface; the service interface annotation, the interface realization class annotation and the preset attribute corresponding to the interface realization class annotation are pre-created in the preset custom service interface; the types of the preset attributes comprise an immediate effective attribute and a non-immediate effective attribute;
acquiring the interface implementation class annotation from the preset custom service interface, taking an implementation class corresponding to the interface implementation class annotation with the preset attribute of being immediately effective as an effective implementation class, and taking an implementation class corresponding to the interface implementation class annotation with the preset attribute of not being immediately effective as a cache implementation class;
the method comprises the steps that an instantiation object which is obtained from a preset basic cache container and matched with the effective implementation class is used for carrying out instantiation processing on the effective implementation class to obtain an external service object; the preset basic cache container is used for storing an implementation class corresponding to the interface implementation class annotation and an instantiation object matched with the implementation class corresponding to the interface implementation class annotation;
and storing the external service object into an instantiated cache container, storing the cache realization class and the instantiated object matched with the cache realization class into an un-instantiated cache container, and completing the configuration of the preset custom service interface.
2. The service interface configuration method according to claim 1, wherein the preset custom service interface is stored in a blockchain, and the performing a sensing scanning process on the preset custom service interface to obtain the interface set of the preset custom service interface includes:
according to the acquired service interface configuration instruction, decoding the service interface annotation by a compiler to obtain the decoding of the service interface annotation;
and performing sensing scanning processing on the preset custom service interface according to the decoding of the service interface annotation to obtain an interface set of the preset custom service interface.
3. The service interface configuration method according to claim 1, wherein the obtaining the interface implementation class annotation from the preset custom service interface, taking an implementation class corresponding to an interface implementation class annotation with a preset attribute of being immediately effective as an effective implementation class, and taking an implementation class corresponding to an interface implementation class annotation with a preset attribute of not being immediately effective as a cache implementation class includes:
analyzing the preset attribute in the preset custom service interface to obtain the type of the preset attribute, wherein the type of the preset attribute comprises immediate effect and non-immediate effect;
And according to the type of the preset attribute, obtaining an implementation class corresponding to the interface implementation class annotation with the preset attribute of being immediately effective from the preset custom service interface as an effective implementation class, and taking the implementation class corresponding to the interface implementation class annotation with the preset attribute of not being immediately effective as a cache implementation class.
4. The service interface configuration method according to claim 1, wherein the step of performing an instantiation process on the validation implementation class through the instantiation object that is obtained from the preset basic cache container and matches the validation implementation class, to obtain the external service object includes:
obtaining an implementation class corresponding to the interface implementation class annotation which is the same as the effective implementation class from the preset basic cache container, and taking the implementation class as a target implementation class;
acquiring an instantiation object matched with the target implementation class from the preset basic cache container to serve as a target instantiation object;
and carrying out instantiation processing on the effective implementation class through the target instantiation object to obtain an external service object.
5. The service interface configuration method according to claim 1, wherein the storing the external service object in an instantiated cache container and storing the cache implementation class and the instantiated object matched with the cache implementation class in an uninitialized cache container, and completing the configuration of the preset custom service interface includes:
Storing the external service object to the instantiation cache container;
performing container data difference processing on the preset basic cache container and the instantiation cache container to obtain the cache realization class and an instantiation object matched with the cache realization class;
and storing the cache realization class and the instantiation object matched with the cache realization class into an un-instantiated cache container to complete the configuration of the preset custom service interface.
6. The service interface configuration method according to claim 1, wherein after the storing the external service object in an instantiated cache container and the storing the cache implementation class and the instantiated object matched with the cache implementation class in an uninitialized cache container, the configuring further includes:
according to the obtained cache realization class instantiation instruction, obtaining an instantiation object matched with the cache realization class to be instantiated from the non-instantiation cache container as a standby instantiation object; the cache implementation class instantiation instruction comprises a cache implementation class to be instantiated;
carrying out instantiation processing on the cache realization class to be instantiated through the object to be instantiated to obtain a new external service object;
And storing the new external service object into the instantiation cache container, and clearing the standby instantiation object in the non-instantiation cache container and the cache implementation class corresponding to the standby instantiation object.
7. A service interface configuration apparatus, the apparatus comprising:
the service interface declaration annotation unit is used for carrying out service interface declaration annotation processing on the service interface to be configured, so that the service interface to be configured is marked as an interface for providing services to the outside, and a declared service interface is obtained;
the interface realization class annotation unit is used for carrying out interface realization class annotation processing on the stated service interface to obtain the service interface with realization class annotation;
the attribute designating unit is used for carrying out corresponding attribute designating treatment on the interface implementation class annotation of the service interface with the implementation class annotation according to the preset interface implementation class attribute designating rule to obtain a preset custom service interface; the preset interface implementation class attribute specification rule comprises interface implementation class notes and preset attributes corresponding to the interface implementation class notes;
the perception scanning module is used for carrying out perception scanning processing on a preset custom service interface to obtain an interface set of the preset custom service interface; the service interface annotation, the interface realization class annotation and the preset attribute corresponding to the interface realization class annotation are pre-created in the preset custom service interface; the types of the preset attributes comprise an immediate effective attribute and a non-immediate effective attribute;
The interface realization class annotation acquisition module is used for acquiring the interface realization class annotation from the preset custom service interface, taking the realization class corresponding to the interface realization class annotation with the preset attribute of being immediately effective as an effective realization class, and taking the realization class corresponding to the interface realization class annotation with the preset attribute of not being immediately effective as a cache realization class;
the instantiation module is used for carrying out instantiation processing on the effective realization class through an instantiation object which is obtained from a preset basic cache container and is matched with the effective realization class, so as to obtain an external service object; the preset basic cache container is used for storing an implementation class corresponding to the interface implementation class annotation and an instantiation object matched with the implementation class corresponding to the interface implementation class annotation;
and the storage module is used for storing the external service object into an instantiated cache container, storing the cache realization class and the instantiated object matched with the cache realization class into an uninitialized cache container, and completing the configuration of the preset custom service interface.
8. An electronic device, the electronic device comprising:
at least one processor; the method comprises the steps of,
A memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the service interface configuration method of any one of claims 1 to 6.
9. A computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the service interface configuration method according to any one of claims 1 to 6.
CN202110913776.2A 2021-08-10 2021-08-10 Service interface configuration method, device, equipment and storage medium Active CN113608779B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110913776.2A CN113608779B (en) 2021-08-10 2021-08-10 Service interface configuration method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110913776.2A CN113608779B (en) 2021-08-10 2021-08-10 Service interface configuration method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113608779A CN113608779A (en) 2021-11-05
CN113608779B true CN113608779B (en) 2023-12-26

Family

ID=78307984

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110913776.2A Active CN113608779B (en) 2021-08-10 2021-08-10 Service interface configuration method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113608779B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580342A (en) * 2014-08-01 2015-04-29 南京坦道信息科技有限公司 Extendable and completely self-defined unified interface service platform
CN107908442A (en) * 2017-12-07 2018-04-13 武汉斗鱼网络科技有限公司 Resource loading method, device, terminal device and computer-readable recording medium based on spring
CN108319504A (en) * 2018-03-19 2018-07-24 武汉斗鱼网络科技有限公司 EMS memory occupation optimization method, device and readable storage medium storing program for executing
CN109254808A (en) * 2018-07-18 2019-01-22 平安科技(深圳)有限公司 Interface call method, device and computer readable storage medium
WO2019143412A1 (en) * 2018-01-19 2019-07-25 Umajin Inc. Configurable server kit
CN110865845A (en) * 2019-10-28 2020-03-06 福建天泉教育科技有限公司 Method for improving interface access efficiency and storage medium
CN112052048A (en) * 2020-08-07 2020-12-08 深圳市欢太科技有限公司 Data loading method and device, equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580342A (en) * 2014-08-01 2015-04-29 南京坦道信息科技有限公司 Extendable and completely self-defined unified interface service platform
CN107908442A (en) * 2017-12-07 2018-04-13 武汉斗鱼网络科技有限公司 Resource loading method, device, terminal device and computer-readable recording medium based on spring
WO2019143412A1 (en) * 2018-01-19 2019-07-25 Umajin Inc. Configurable server kit
CN108319504A (en) * 2018-03-19 2018-07-24 武汉斗鱼网络科技有限公司 EMS memory occupation optimization method, device and readable storage medium storing program for executing
CN109254808A (en) * 2018-07-18 2019-01-22 平安科技(深圳)有限公司 Interface call method, device and computer readable storage medium
CN110865845A (en) * 2019-10-28 2020-03-06 福建天泉教育科技有限公司 Method for improving interface access efficiency and storage medium
CN112052048A (en) * 2020-08-07 2020-12-08 深圳市欢太科技有限公司 Data loading method and device, equipment and storage medium

Also Published As

Publication number Publication date
CN113608779A (en) 2021-11-05

Similar Documents

Publication Publication Date Title
CN110990053A (en) Method for creating and using machine learning scheme template and device
CN111694844A (en) Enterprise operation data analysis method and device based on configuration algorithm and electronic equipment
CN114881616A (en) Business process execution method and device, electronic equipment and storage medium
CN113704665A (en) Dynamic service publishing method, device, electronic equipment and storage medium
CN114519084A (en) Block chain-based medical data inspection method, device, equipment and medium
CN114118985A (en) Resource information management method, system, medium, and computer device
CN112579452A (en) Software automation test method, device, equipment and storage medium
CN113608779B (en) Service interface configuration method, device, equipment and storage medium
CN114036068A (en) Update detection method, device, equipment and storage medium based on privacy security
CN114911479A (en) Interface generation method, device, equipment and storage medium based on configuration
CN114020414A (en) Symbiotic method and device of Android system and bottom layer Linux, electronic equipment and storage medium
CN114490590A (en) Data warehouse quality evaluation method and device, electronic equipment and storage medium
CN112214256B (en) Machine learning operation control method and device, electronic equipment and storage medium
CN115033489A (en) Code resource detection method and device, electronic equipment and storage medium
CN114895942A (en) Application skin changing method, device, equipment and storage medium
CN112612451B (en) Interface generation method, device, equipment and computer readable storage medium
CN113704109B (en) Front-end and back-end data interaction method and device, electronic equipment and storage medium
CN113362040B (en) Approval chain configuration updating method and device, electronic equipment and storage medium
CN112637280B (en) Data transmission method, device, electronic equipment and storage medium
CN114564413B (en) Synchronous equipment testing method and device
CN112579046B (en) User story analysis method and device, electronic equipment and storage medium
CN114818656B (en) Binary file analysis method, device, equipment and medium based on gray scale upgrading
CN117830010A (en) Order state consistency detection method, device, equipment and storage medium
CN114968415A (en) Configuration file modification method, device, equipment and storage medium
CN114389948A (en) Function upgrading and verifying method, device, equipment and medium based on white list

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
GR01 Patent grant
GR01 Patent grant