CN111800462B - Micro service instance processing method, micro service instance processing device, computer equipment and storage medium - Google Patents

Micro service instance processing method, micro service instance processing device, computer equipment and storage medium Download PDF

Info

Publication number
CN111800462B
CN111800462B CN202010468017.5A CN202010468017A CN111800462B CN 111800462 B CN111800462 B CN 111800462B CN 202010468017 A CN202010468017 A CN 202010468017A CN 111800462 B CN111800462 B CN 111800462B
Authority
CN
China
Prior art keywords
machine room
service instance
target
service
registration
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
CN202010468017.5A
Other languages
Chinese (zh)
Other versions
CN111800462A (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 Property and Casualty Insurance Company of China Ltd
Original Assignee
Ping An Property and Casualty Insurance Company of China 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 Property and Casualty Insurance Company of China Ltd filed Critical Ping An Property and Casualty Insurance Company of China Ltd
Priority to CN202010468017.5A priority Critical patent/CN111800462B/en
Publication of CN111800462A publication Critical patent/CN111800462A/en
Application granted granted Critical
Publication of CN111800462B publication Critical patent/CN111800462B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1044Group management mechanisms 
    • 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • G06F9/4856Task life-cycle, e.g. stopping, restarting, resuming execution resumption being on a different machine, e.g. task migration, virtual machine migration
    • 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5038Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
    • 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/48Indexing scheme relating to G06F9/48
    • G06F2209/484Precedence
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5021Priority
    • 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)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Stored Programmes (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The method comprises the steps of receiving a service instance calling request from a user terminal, wherein the service instance calling request carries machine room calling identification information, determining a calling target machine room corresponding to the service instance calling request according to the machine room calling identification information, acquiring a service instance list of a service registry cluster of the calling target machine room, acquiring a target service instance from the service instance list, and sending the target service instance to the user terminal. According to the method and the system for calling the service instance, the machine room calling identification information is added in the service instance calling request, so that the user terminal can only call the service instance of the target machine room corresponding to the machine room calling identification information, wherein the target machine room is the old machine room which has been set up by the machine room, and the problem that data loss or data abnormality of the service instance can be caused when the service instance is called and directly called from the new machine room is solved.

Description

Micro service instance processing method, micro service instance processing device, computer equipment and storage medium
Technical Field
The application belongs to the technical field of clouds, and particularly relates to a micro-service example processing method, a micro-service example processing device, computer equipment and a storage medium.
Background
With the increasing popularity of network services, the number of network services is increased sharply, and the user access amount of a machine room at the back end of the system is increased, if only the network service data is stored in the same machine room, the machine room is often failed due to the excessively large access amount, and is limited by the storage space of the machine room, and in an application scene with very large network service data amount, one machine room is often unable to bear all the network service data, so that a plurality of machine rooms are needed to provide services for users together in many cases, and the plurality of machine rooms are deployed together to form a multi-machine-room network service system so as to ensure that all the network service data in the system can be responded and stored.
At present, when a multi-machine-room network service system is deployed, a plurality of new machine rooms are added on the basis of an old machine room to reduce the construction cost of the machine rooms, but the method has a certain defect that in the case that a large number of examples exist in the old machine room, in order to ensure the consistency of data of the new machine room and the old machine room, the eureka (service registry) of the new machine room needs to be added into the eureka cluster of the old machine room, namely, the eureka of all the machine rooms is constructed into a cluster, in this case, the old machine room can pull service examples in the new machine room and the old machine room through the eureka cluster of the old machine room, namely, the old machine room user can call the service examples in the new machine room and the old machine room indiscriminately through the eureka cluster of the old machine room, and the new machine room is in the state of being constructed, and the requirement of calling by the user in different places cannot be completely met, so that on-line service is influenced.
Disclosure of Invention
The embodiment of the application aims to provide a micro-service instance processing method, a micro-service instance processing device, computer equipment and a storage medium, so as to solve the problems of data loss or data abnormality when a service instance is directly called from a new machine room in the existing service instance calling mode.
In order to solve the technical problems, an embodiment of the present application provides a micro-service instance processing method, which receives a service instance call request from a user terminal, where the service instance call request carries machine room call identification information;
determining a calling target machine room corresponding to the service instance calling request according to the machine room calling identification information, wherein the calling target machine room is an old machine room which has been set up by the machine room;
acquiring a service instance list of a service registration center cluster of a calling target machine room, and acquiring a target service instance from the service instance list;
the target service instance is sent to the user terminal.
Further, before receiving the service instance call request from the user terminal, the method further comprises:
acquiring a service instance registration request from a user terminal, wherein the service instance registration request carries machine room registration identification information;
Determining a registration target machine room corresponding to the service instance registration request according to the machine room registration identification information;
and acquiring the service instance from the user terminal, and registering the service instance in the registration target machine room.
Further, after acquiring the service instance from the user terminal and registering the service instance in the registration target machine room, the method further includes:
acquiring machine room information of a registration target machine room, and judging the construction condition of the registration target machine room according to the machine room information;
and if the registration target machine room is not completed, determining a migration target main machine room of the service instance, and synchronizing the service instance from the registration target machine room to the migration target machine room.
Further, determining a migration target host room of the service instance, and synchronizing the service instance from the registration target host room to the migration target host room, specifically including:
determining a registration target machine room and a migration target main machine room for migrating the service instance;
closing the external data access functions of the registration target machine room and the migration target main machine room;
synchronizing the data access log of the registration target machine room to the migration target main machine room, and updating the data access log of the migration target main machine room, wherein the data access log of the registration target machine room records a service instance;
And when the migration target host computer room finishes the data access log updating, starting the external data access functions of the registration target computer room and the migration target host computer room.
Further, synchronizing the data access log of the registration target machine room to the migration target machine room, and updating the data access log of the migration target machine room, wherein the data access log of the registration target machine room records the service instance, and specifically includes:
determining a storage position of a service instance on a data access log of a registration target machine room through a preset data probe;
and synchronizing the information field in the storage position to the data access log of the migration target host room.
Further, obtaining a service instance list of a service registry cluster of the calling target machine room, and obtaining a target service instance from the service instance list, specifically including:
acquiring a service instance list of a service registration center cluster of a calling target machine room, and sequencing all service instances in the service instance list in priority;
filtering the sequenced service instances based on the load balancing strategy to obtain target service instances meeting preset conditions, wherein the preset conditions are set in the service instance calling request.
Further, after filtering the service instances after sorting based on the load balancing policy to obtain a target service instance meeting a preset condition, the method further comprises:
judging the number of target service instances meeting preset conditions;
if the number of the target service instances meeting the preset conditions is one, taking the target service instance meeting the preset conditions as a target service instance;
and if the number of the target service instances meeting the preset conditions is multiple, alternately calling the multiple target service instances meeting the preset conditions according to the priority order. The technical scheme is as follows:
in order to solve the above technical problems, the embodiments of the present application further provide a micro-service example processing apparatus, which adopts the following technical scheme:
the call request receiving module is used for receiving a service instance call request from the user terminal, wherein the service instance call request carries machine room call identification information;
the call target machine room confirming module is used for confirming a call target machine room corresponding to the service instance call request according to the machine room call identification information, wherein the call target machine room is an old machine room which has been built up;
The target service instance acquisition module is used for acquiring a service instance list of a service registry cluster of the calling target machine room and acquiring a target service instance from the service instance list;
and the target service instance sending module is used for sending the target service instance to the user terminal.
In order to solve the above technical problems, the embodiments of the present application further provide a computer device, which adopts the following technical schemes:
a computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the micro-service instance processing method of any one of the above-described methods when the computer program is executed.
In order to solve the above technical problems, embodiments of the present application further provide a computer readable storage medium, which adopts the following technical solutions:
a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the micro service instance processing method of any of the above.
Compared with the prior art, the embodiment of the application has the following main beneficial effects:
the application discloses a micro-service instance processing method, which belongs to the technical field of clouds, and comprises the steps of receiving a service instance calling request from a user terminal, wherein the service instance calling request carries machine room calling identification information, determining a calling target machine room corresponding to the service instance calling request according to the machine room calling identification information, acquiring a service instance list of a service registry cluster of the calling target machine room, acquiring a target service instance from the service instance list, and sending the target service instance to the user terminal. According to the method and the system, the machine room calling identification information is added in the service instance calling request, so that when the service instance is called, the user terminal can only pull the service instance list from the service registry cluster of the calling target machine room corresponding to the machine room calling identification information, and obtain the target service instance from the obtained service instance list, namely, the user terminal can only call the service instance through the calling target machine room, wherein the calling target machine room is the old machine room which has been built, the problem that in an existing service instance calling mode, data of the service instance is directly called from a new machine room, or data is abnormal is solved, and meanwhile, the local priority principle of service instance calling is realized.
Drawings
For a clearer description of the solution in the present application, a brief description will be given below of the drawings that are needed in the description of the embodiments of the present application, it being obvious that the drawings in the following description are some embodiments of the present application, and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art.
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow chart of service instance invocation in a micro-service instance processing method according to the present application;
FIG. 3 is a flow chart of service instance registration in a micro-service instance processing method according to the present application;
FIG. 4 is a flow chart of service instance migration in a micro-service instance processing method according to the present application;
FIG. 5 is a schematic diagram of one embodiment of a micro-service example processing device according to the present application;
FIG. 6 is a schematic structural diagram of one embodiment of a computer device according to the present application.
Detailed Description
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used in the description of the applications herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising" and "having" and any variations thereof in the description and claims of the present application and in the description of the figures above are intended to cover non-exclusive inclusions. The terms first, second and the like in the description and in the claims or in the above-described figures, are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
In order to better understand the technical solutions of the present application, the following description will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings.
As shown in fig. 1, a system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium to provide communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the server 105 via the network 104 using the terminal devices 101, 102, 103 to receive or send messages or the like. Various communication client applications, such as a web browser application, a shopping class application, a search class application, an instant messaging tool, a mailbox client, social platform software, etc., may be installed on the terminal devices 101, 102, 103.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablet computers, electronic book readers, MP3 players (Moving Picture ExpertsGroup Audio Layer III, dynamic video expert compression standard audio plane 3), MP4 (Moving PictureExperts Group Audio Layer IV, dynamic video expert compression standard audio plane 4) players, laptop and desktop computers, and the like.
The server 105 may be a server providing various services, such as a background server providing support for pages displayed on the terminal devices 101, 102, 103.
It should be noted that, the method for processing the micro service instance provided in the embodiments of the present application is generally executed by a server, and accordingly, the micro service instance processing device is generally disposed in the server.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to FIG. 2, a flow chart of service instance invocation in a micro-service instance processing method according to the present application is shown. The micro-service example processing method comprises the following steps:
S201, receiving a service instance calling request from a user terminal, wherein the service instance calling request carries machine room calling identification information.
The machine room call identification information may be automatically generated by the user terminal, for example, in a specific embodiment of the present application, the user terminal automatically generates corresponding machine room call identification information according to a region where the user terminal is located or a network system where the user terminal is located, and additionally, the machine room call identification information may also be set autonomously by the user, for example, in another specific embodiment of the present application, the user autonomously sets the machine room call identification information on the user terminal according to own needs. In the embodiment of the application, when the service instance calling requirement appears, the machine room calling identification information is added to the service instance calling request. In the embodiment of the application, the call target machine room is set to be the established old machine room, because the new machine room in the established state does not provide a data access function, namely, the service instance in the new machine room cannot be directly called by a user, but in practical application, the user has the requirement of calling the service instance in the new machine room, and the service instance can be firstly synchronized into the old machine room and then called from the old machine room, so that the service instance in the new machine room can be called by the user, and the problem of data loss or abnormal problem possibly occurring when the service instance in the new machine room is directly called across the machine room is solved.
In this embodiment, the electronic device (e.g., the server/terminal device shown in fig. 1) on which the micro service instance processing method operates may receive the service instance invocation request from the user terminal through a wired connection manner or a wireless connection manner. It should be noted that the wireless connection may include, but is not limited to, 3G/4G connections, wiFi connections, bluetooth connections, wiMAX connections, zigbee connections, UWB (ultra wideband) connections, and other now known or later developed wireless connection means.
Specifically, when a user has a need of calling a service instance, a service instance calling request of the user terminal is received, and machine room calling identification information is obtained from the service instance calling request.
S202, determining a calling target machine room corresponding to the service instance calling request according to the machine room calling identification information, wherein the calling target machine room is an old machine room with the machine room built.
The call target machine room is set as an old machine room which is already built, and the call identification information of the machine room is added in the call request of the service instance, so that when the service instance is called, the user terminal can only acquire the target service instance from the call target machine room corresponding to the call identification information of the machine room, namely, the user terminal can only call the service instance of the target machine room, and the call target machine room is the old machine room which is already built, thereby solving the problems of data loss or data abnormality caused by directly calling the service instance of the new machine room or calling the service instance of the new machine room across the machine room in the existing call mode of the service instance, and simultaneously realizing the local priority principle of the call of the service instance.
In this embodiment, there are two states in the machine room: the built machine room is also called a new machine room, the machine room which is completed is also called an old machine room, the service instance in the old machine room can be directly called by a user after the old machine room is completed, and the new machine room is in a building state and does not have the capability of providing service, so that the service instance in the new machine room cannot be directly called.
Specifically, the machine room calling identification information is obtained from the service instance calling request, and the calling target machine room corresponding to the service instance calling request is determined according to the machine room calling identification information.
S203, a service instance list of a service registry cluster of the calling target machine room is obtained, and a target service instance is obtained from the service instance list.
Wherein the service registry Eureka is a part of the micro-service component and is mainly responsible for realizing the service governance function in the micro-service architecture, and the service governance is an indispensable part in the micro-service architecture. The Eureka is essentially a REST-based service, provides a Java-based client component, can very conveniently register the service into the Eureka for unified management so as to realize the registration and discovery of the service, and can also provide the functions of load balancing, fault transfer and the like. In a specific embodiment of the present application, each machine room includes a plurality of service registries, where the plurality of service registries in each machine room together form a service registry cluster (eurka cluster), two-way synchronization data between different service registries in the same machine room, and two-way synchronization data between the eurka clusters in different machine rooms. All service instances registered on the service registry Eureka are recorded in the service instance list of each service registry Eureka, including names, types, developer information, registration times, called times, and the like of the service instances.
Specifically, a service instance list of a calling target machine room Eurka cluster is obtained, and a target service instance is obtained from the service instance list, wherein the calling target machine room Eurka cluster may have a plurality of Eurka, so that the service instance list is obtained from all Eurka of the calling target machine room at the same time to obtain a plurality of service instance lists, and then the obtained service instance lists are aggregated to obtain a target service instance corresponding to a service instance calling request. Wherein. When aggregating multiple service instance lists, attention is paid to merging hash code values hashCode of the multiple service instance lists, so as to avoid that the aggregation efficiency is too low due to the fact that the multiple service instance lists are pulled in full amount each time.
S204, the target service instance is sent to the user terminal.
Specifically, after a service instance list of a service registry cluster of a calling target machine room is obtained, and a target service instance is obtained from the service instance list, the obtained target service instance is sent to a user terminal for use by a user.
The application discloses a micro-service instance processing method, which belongs to the technical field of clouds, and comprises the steps of receiving a service instance calling request from a user terminal, wherein the service instance calling request carries machine room calling identification information, determining a calling target machine room corresponding to the service instance calling request according to the machine room calling identification information, acquiring a service instance list of a service registry cluster of the calling target machine room, acquiring a target service instance from the service instance list, and sending the target service instance to the user terminal. According to the method and the system, the machine room calling identification information is added in the service instance calling request, so that when the service instance is called, the user terminal can only pull the service instance list from the service registry cluster of the calling target machine room corresponding to the machine room calling identification information, and obtain the target service instance from the obtained service instance list, namely, the user terminal can only call the service instance of the target machine room, wherein the calling target machine room is the old machine room which has been built, the problem that in the existing service instance calling mode, data of the service instance is directly called from the new machine room, or data is abnormal is solved, and meanwhile, the local priority principle of service instance calling is realized.
Further, please continue to fig. 3, which shows a flowchart of service instance registration in the micro service instance processing method according to the present application, before receiving a service instance invocation request from a user terminal, the method further includes:
s301, a service instance registration request from a user terminal is acquired, wherein the service instance registration request carries machine room registration identification information.
The machine room registration identification information may be automatically generated by the user terminal, for example, in a specific embodiment of the present application, the user terminal automatically generates corresponding machine room registration identification information according to a region where the user terminal is located or a network system where the user terminal is located, and additionally, the machine room registration identification information may also be set autonomously by the user, for example, in another specific embodiment of the present application, the user autonomously sets the machine room registration identification information on the user terminal according to own needs. In the embodiment of the application, when a service instance registration request occurs, the machine room registration identification information is added to the service instance registration request. In this embodiment of the present application, the registration target machine room may be an old machine room that has already been set up, or may be a new machine room that is being set up.
Specifically, when a user has a need of registering a service instance, a service instance registration request of the user terminal is received, and the machine room registration identification information is obtained from the service instance call request.
S302, determining a registration target machine room corresponding to the service instance registration request according to the machine room registration identification information.
The registration target machine room can be an old machine room which is already built, or a new machine room which is being built, and the user terminal can only register the service instance into the registration target machine room corresponding to the machine room registration identification information when the service instance is registered by adding the machine room registration identification information into the service instance registration request, so that the local priority principle of the service instance registration is realized.
Specifically, the machine room registration identification information is obtained in the service instance registration request, and the registration target machine room corresponding to the service instance registration request is determined according to the machine room registration identification information.
S303, acquiring a service instance from the user terminal, and registering the service instance in a registration target machine room.
Specifically, after determining a registration target machine room corresponding to the service instance registration request, a service instance from the user terminal is acquired, and the service instance is registered in the registration target machine room.
In the above embodiment, by acquiring the service instance registration request from the user terminal, where the service instance registration request carries the machine room registration identification information, determining a registration target machine room corresponding to the service instance registration request according to the machine room registration identification information, acquiring the service instance from the user terminal, and registering the service instance in the registration target machine room, so that when the service instance is registered, the user terminal can only register the service instance in the registration target machine room corresponding to the machine room registration identification information, thereby avoiding cross-machine room registration and implementing the local priority principle of service instance registration.
Further, after acquiring the service instance from the user terminal and registering the service instance in the registration target machine room, the method further includes:
acquiring machine room information of a registration target machine room, and judging the construction condition of the registration target machine room according to the machine room information;
and if the registration target machine room is not completed, determining a migration target main machine room of the service instance, and synchronizing the service instance from the registration target machine room to the migration target machine room.
In the multi-machine-room network service system, after a new service instance is registered in a registration target machine room, in order to enable a user of an old machine room to call the service instance of the new machine room, and avoid the problem of data loss or data abnormality caused by directly calling the service instance of the new machine room or calling the service instance of the new machine room across machine rooms, the service instance registered in the new machine room needs to be migrated into the old machine room, and after the service instance of the new machine room is migrated into the old machine room, the user of the old machine room can call the service instance of the new machine room in the old machine room, so that the local priority calling principle is realized, and meanwhile, the user is prevented from directly calling the service instance of the new machine room or calling the service instance of the new machine room across machine rooms.
It should be additionally noted that, the old machine room belongs to the machine room which is already built, and the service instances of the old machine room can be called by the user, so that the service instances registered in the old machine room can not be migrated, for example, both a and B belong to the old machine room which is already built, the new service instance a is registered in the machine room a, the user of the B machine room can also call the service instance a in the machine room a across the machine room through the B machine room, and the storage space of the old machine room can be effectively saved because the service instances between the old machine rooms are not migrated.
Specifically, after registering a new service instance in a registration target machine room, acquiring machine room information of the registration target machine room, and judging the construction condition of the registration target machine room according to the machine room information, if the registration target machine room is not constructed, namely the registration target machine room is the new machine room, in order to enable a user of an old machine room to call the service instance of the new machine room, the service instance needs to be migrated, and the service instance is synchronized from the new machine room to other machine rooms except for the new machine room registered by the service instance in a network service system of multiple machine rooms. If the registration target machine room is built, namely the registration target machine room is an old machine room, migration of the service instance is not needed.
Further, please continue to fig. 4, which shows a flowchart of service instance migration in the micro service instance processing method according to the present application, determining a migration target host room of the service instance, and synchronizing the service instance from the registration target host room to the migration target host room, which specifically includes:
s401, determining a registration target machine room and a migration target host machine room for migrating the service instance.
Specifically, after the registration target machine room is determined to be not completed, that is, the registration target machine room is a new machine room, the newly registered service instance needs to be migrated from the registration target machine room to the migration target main machine room, and before migration, the registration target machine room and the migration target main machine room for migrating the service instance are determined. In a specific embodiment of the present application, please refer to steps S301-S303 for determining a registration target machine room, determining the registration target machine room through machine room registration identification information carried in a service instance registration request, after obtaining the registration target machine room, taking other machine rooms except the registration target machine room in the multi-machine room network service system as migration target machine rooms, and migrating a newly registered service instance from the registration target machine room to a migration target host machine room.
S402, the external data access functions of the registration target machine room and the migration target host machine room are closed.
Specifically, after determining the registration target machine room and the migration target main machine room for migrating the service instance, the external data access functions of the registration target machine room and the migration target main machine room are closed, that is, in the process of migrating the service instance, the registration target machine room and the migration target main machine room do not provide services to the outside, so that data abnormality in the process of migrating the service instance is avoided.
S403, synchronizing the data access log of the registration target machine room to the migration target machine room, and updating the data access log of the migration target machine room, wherein the data access log of the registration target machine room records the service instance.
Specifically, the newly registered service instance is recorded on the data access log of the registration target machine room, and when the service instance is migrated, the data access log of the registration target machine room is synchronized to the migration target main machine room, and the data access log of the migration target main machine room is updated to realize migration of the newly registered service instance.
S404, when the migration target host computer room finishes updating the data access log, starting the external data access functions of the registration target host computer room and the migration target host computer room.
Specifically, after the service instance completes migration, when the migration target host computer room completes data access log updating, the external data access functions of the registration target computer room and the migration target host computer room are started, and the external data access functions are recovered.
In the above embodiment, by determining the registration target machine room and the migration target main machine room for migrating the service instance, closing the external data access functions of the registration target machine room and the migration target main machine room, synchronizing the data access log of the registration target machine room to the migration target main machine room, and updating the data access log of the migration target main machine room, where the data access log of the registration target machine room records the service instance, when the migration target main machine room completes the updating of the data access log, the external data access functions of the registration target machine room and the migration target main machine room are opened to realize the migration of the newly registered service instance from the registration target machine room to the migration target main machine room, and meanwhile, in the migration process of the service instance, the external data access functions of the registration target machine room and the migration target main machine room are closed, so that the data security in the migration process of the service instance can be ensured, and the occurrence of data abnormality in the migration process of the service instance can be avoided.
Further, synchronizing the data access log of the registration target machine room to the migration target machine room, and updating the data access log of the migration target machine room, wherein the data access log of the registration target machine room records the service instance, and specifically includes:
and determining the storage position of the service instance on the data access log of the registration target machine room through a preset data probe.
And synchronizing the information field in the storage position to the data access log of the migration target host room.
In the above embodiment, the storage location of the service instance on the data access log of the registration target machine room is determined by the preset data probe, and the information field on the storage location on the data access log of the registration target machine room is synchronized to the data access log of the migration target host machine room, so as to realize migration of the newly registered service instance from the registration target machine room to the migration target host machine room, and after the storage location of the service instance on the data access log of the registration target machine room is determined by the data probe, only the information field on the storage location can be synchronized to the data access log of the migration target host machine room, so that the data operation amount is reduced and the migration rate is improved.
Further, obtaining a service instance list of a service registry cluster of the calling target machine room, and obtaining a target service instance from the service instance list, specifically including:
and acquiring a service instance list of the service registration center cluster of the calling target machine room, and sequencing all the service instances in the service instance list in priority.
Specifically, all service instances in the service instance list are prioritized, e.g., according to the characteristics of the service instance provider, the service instance type, the number of times the service instance is called, etc. In a specific embodiment of the present application, priority ranking may also be performed according to different regions and different zones (available zones) where the machine rooms are located, for example, each machine room has a plurality of different regions and a plurality of available zones, and when the service instance performs priority ranking, priority ranking is sequentially: service instances under the same zone, service instances under the same region, and service instances under different regions.
Filtering the sequenced service instances based on the load balancing strategy to obtain target service instances meeting preset conditions, wherein the preset conditions are set in the service instance calling request.
Specifically, filtering all service instances in the service instance list obtained in the step S3 based on the fabric load balancing policy to obtain a target service instance to be called by the user terminal. The fabric load balancing policy is a scheme for providing a load balancing function for a server, and is generally implemented by adopting a fabric load balancer, and an interface called ILoadBalance is provided in the fabric load balancer, where the ILoadBalance interface is used for performing load balancer operations, such as adding a server operation, selecting a server operation, obtaining all server list operations, obtaining available server list operations through the ILoadBalance interface, and so on. The preset condition is stored in the service instance calling request, and the preset condition can be set by a user independently, such as the service instance with the largest calling times in the service instance list, or the service instance under the name of a certain service instance provider. And when filtering, acquiring preset conditions in the service instance calling request, and filtering the service instances subjected to sequencing by utilizing the preset conditions to obtain target service instances meeting the preset conditions.
In the above embodiment, by acquiring the service instance list of the service registry cluster of the call target machine room, sorting all the service instances in the service instance list according to priority, and filtering the sorted service instances based on the load balancing policy, the target service instance meeting the preset condition can be obtained quickly.
Further, after filtering the service instances after sorting based on the load balancing policy to obtain a target service instance meeting a preset condition, the method further comprises:
and judging the number of target service instances meeting the preset conditions.
Specifically, when the service instances after being sequenced based on the load balancing policy are filtered to obtain one or more target service instances meeting the preset condition, in this embodiment of the present application, the service instances after being sequenced based on the load balancing policy are filtered to obtain a plurality of target service instances meeting the preset condition, specifically, a plurality of service instances are provided by the same service instance provider at the same time, and the services are all registered in the service registration center Eureka of the same target machine room, and the preset condition of invoking the service instance is that the service instance is under the name of the service instance provider, at this time, the number of target service instances meeting the preset condition is a plurality.
And if the number of the target service instances meeting the preset conditions is one, taking the target service instance meeting the preset conditions as a target service instance.
And if the number of the target service instances meeting the preset conditions is multiple, alternately calling the multiple target service instances meeting the preset conditions according to the priority order.
Specifically, if the number of target service instances meeting the preset conditions is one, the target service instance meeting the preset conditions is directly used as a target service instance, and the target service instance is sent to the user terminal for use by a user. If the number of the target service instances meeting the preset conditions is multiple, the multiple service instances meeting the preset conditions are called according to priority rotation and sent to the user terminal for use by a user, for example, in one service instance call, the preset conditions are that the service instances with the first three times of being called in a service instance list are ranked, after filtering, the service instances with the first three ranks are obtained to be A, B, C in sequence, and when the service instances are called, the service instances are sent to the user terminal in turn in the sequence of the service instance A, the service instance B and the service instance C for use by the user to call.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored in a computer-readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. The storage medium may be a nonvolatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a random access Memory (Random Access Memory, RAM).
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the flowcharts of the figures may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
With further reference to fig. 5, as a structural schematic diagram of an embodiment of the micro service example processing apparatus according to the present application, as an implementation of the method shown in fig. 2, the present application provides an embodiment of a micro service example processing apparatus, where an embodiment of the apparatus corresponds to an embodiment of the method shown in fig. 2, and the apparatus may be specifically applied to various electronic devices. The micro-service example processing device comprises:
A call request receiving module 501, configured to receive a service instance call request from a user terminal, where the service instance call request carries machine room call identifier information;
the call target machine room confirming module 502 is configured to determine a call target machine room corresponding to the service instance call request according to the machine room call identification information, where the call target machine room is an old machine room that has completed the machine room construction;
a target service instance obtaining module 503, configured to obtain a service instance list of a service registry cluster calling the target machine room, and obtain a target service instance from the service instance list;
the target service instance sending module 504 is configured to send the target service instance to the user terminal.
Further, the micro service example processing system further includes:
the registration request module is used for acquiring a service instance registration request from the user terminal, wherein the service instance registration request carries machine room registration identification information;
the registration target machine room confirming module is used for confirming a registration target machine room corresponding to the service instance registration request according to the machine room registration identification information;
and the service instance registration module is used for acquiring the service instance from the user terminal and registering the service instance in the registration target machine room.
Further, the micro service example processing system further includes:
and the service instance migration module is used for determining a migration target host room of the service instance and synchronizing the service instance from the registration target room to the migration target room.
Further, the service instance migration module specifically includes:
the determining unit is used for determining a registration target machine room and a migration target host machine room for migrating the service instance;
the closing unit is used for closing the external data access functions of the registration target machine room and the migration target main machine room;
the synchronization unit is used for synchronizing the data access log of the registration target machine room to the migration target main machine room and updating the data access log of the migration target main machine room, wherein the data access log of the registration target machine room is recorded with a service instance;
and the starting unit is used for starting the external data access function of the registration target machine room and the migration target machine room when the migration target machine room finishes the data access log updating.
Further, the synchronization unit specifically includes:
the storage position determining subunit is used for determining the storage position of the service instance on the data access log of the registration target machine room through a preset data probe;
And the synchronization subunit is used for synchronizing the information field in the storage position to the data access log of the migration target host room.
Further, the target service instance obtaining module 503 specifically includes:
the priority ordering unit is used for acquiring a service instance list of the service registration center cluster of the calling target machine room and ordering the priority of all the service instances in the service instance list;
the filtering unit is used for filtering the sequenced service instances based on the load balancing strategy to obtain target service instances meeting preset conditions, wherein the preset conditions are set in the service instance calling request.
Further, the target service instance obtaining module 503 further includes:
the judging unit is used for judging the number of target service instances meeting preset conditions;
a first judging result unit, configured to, when the number of target service instances meeting the preset condition is one, take the target service instance meeting the preset condition as a target service instance;
and the second judging result unit is used for calling a plurality of target service instances meeting the preset condition in turn according to the priority order when the number of the target service instances meeting the preset condition is a plurality of.
The application discloses a micro-service instance processing device, which comprises a call request receiving module 501, a call request processing module and a call processing module, wherein the call request receiving module is used for receiving a service instance call request from a user terminal, and the service instance call request carries machine room call identification information; the call target machine room confirming module 502 is configured to determine a call target machine room corresponding to the service instance call request according to the machine room call identification information; a target service instance obtaining module 503, configured to obtain a service instance list of a service registry cluster calling the target machine room, and obtain a target service instance from the service instance list; the target service instance sending module 504 is configured to send the target service instance to the user terminal. According to the method and the system, the machine room calling identification information is added in the service instance calling request, so that when the service instance is called, the user terminal can only pull the service instance list from the service registry cluster of the calling target machine room corresponding to the machine room calling identification information, and obtain the target service instance from the obtained service instance list, namely, the user terminal can only call the service instance of the calling target machine room, wherein the calling target machine room is the old machine room which has been built, the problem that in the existing service instance calling mode, data of the service instance is directly called from the new machine room, or the data is abnormal is solved, and meanwhile, the local priority principle of service instance calling is realized.
In order to solve the technical problems, the embodiment of the application also provides computer equipment. Referring specifically to fig. 6, fig. 6 is a basic structural block diagram of a computer device according to the present embodiment.
The computer device 6 comprises a memory 61, a processor 62, a network interface 63 communicatively connected to each other via a system bus. It is noted that only computer device 6 having components 61-63 is shown in the figures, but it should be understood that not all of the illustrated components are required to be implemented and that more or fewer components may be implemented instead. It will be appreciated by those skilled in the art that the computer device herein is a device capable of automatically performing numerical calculations and/or information processing in accordance with predetermined or stored instructions, the hardware of which includes, but is not limited to, microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASICs), programmable gate arrays (fields-Programmable Gate Array, FPGAs), digital processors (Digital Signal Processor, DSPs), embedded devices, etc.
The computer equipment can be a desktop computer, a notebook computer, a palm computer, a cloud server and other computing equipment. The computer equipment can perform man-machine interaction with a user through a keyboard, a mouse, a remote controller, a touch pad or voice control equipment and the like.
The memory 61 includes at least one type of readable storage media including flash memory, hard disk, multimedia card, card memory (e.g., SD or DX memory, etc.), random Access Memory (RAM), static Random Access Memory (SRAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), programmable Read Only Memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the storage 61 may be an internal storage unit of the computer device 6, such as a hard disk or a memory of the computer device 6. In other embodiments, the memory 61 may also be an external storage device of the computer device 6, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card) or the like, which are provided on the computer device 6. Of course, the memory 61 may also comprise both an internal memory unit of the computer device 6 and an external memory device. In this embodiment, the memory 61 is generally used to store an operating system and various application software installed on the computer device 6, such as program codes of a micro service example processing method. Further, the memory 61 may be used to temporarily store various types of data that have been output or are to be output.
The processor 62 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 62 is typically used to control the overall operation of the computer device 6. In this embodiment, the processor 62 is configured to execute the program code stored in the memory 61 or process data, for example, execute the program code of the micro service instance processing method.
The network interface 63 may comprise a wireless network interface or a wired network interface, which network interface 63 is typically used for establishing a communication connection between the computer device 6 and other electronic devices.
The present application also provides another embodiment, namely, a computer readable storage medium storing a program of a micro service instance processing method, where another program of the micro service instance processing method is executable by at least one processor, so that the at least one processor performs the steps of the micro service instance processing method as described above.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
It is apparent that the embodiments described above are only some embodiments of the present application, but not all embodiments, the preferred embodiments of the present application are given in the drawings, but not limiting the patent scope of the present application. This application may be embodied in many different forms, but rather, embodiments are provided in order to provide a more thorough understanding of the present disclosure. Although the present application has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that modifications may be made to the embodiments described in the foregoing, or equivalents may be substituted for elements thereof. All equivalent structures made by the specification and the drawings of the application are directly or indirectly applied to other related technical fields, and are also within the protection scope of the application.

Claims (8)

1. A method for processing a micro-service instance, comprising:
receiving a service instance calling request from a user terminal, wherein the service instance calling request carries machine room calling identification information;
determining a calling target machine room corresponding to the service instance calling request according to the machine room calling identification information, wherein the calling target machine room is an old machine room which has been built;
Acquiring a service instance list of the service registry cluster of the calling target machine room, and acquiring a target service instance from the service instance list;
transmitting the target service instance to the user terminal;
before receiving the service instance call request from the user terminal, the method further comprises:
acquiring a service instance registration request from a user terminal, wherein the service instance registration request carries machine room registration identification information;
determining a registration target machine room corresponding to the service instance registration request according to the machine room registration identification information;
acquiring a service instance from the user terminal, and registering the service instance in the registration target machine room;
after the service instance from the user terminal is acquired and registered in the registration target machine room, the method further comprises:
acquiring machine room information of the registration target machine room, and judging the construction condition of the registration target machine room according to the machine room information;
and if the registration target machine room is not completely built, determining a migration target main machine room of the service instance, and synchronizing the service instance from the registration target machine room to the migration target machine room, wherein the migration target machine room is an old machine room with the built machine room.
2. The method for processing micro service instance according to claim 1, wherein determining a migration destination host room of the service instance, and synchronizing the service instance from the registration destination host room to the migration destination host room, specifically comprises:
determining a registration target machine room and a migration target host machine room for migrating the service instance;
closing the external data access functions of the registration target machine room and the migration target main machine room;
synchronizing the data access log of the registration target machine room to the migration target main machine room, and updating the data access log of the migration target main machine room, wherein the service instance is recorded on the data access log of the registration target machine room;
and when the migration target host room finishes updating the data access log, starting the external data access functions of the registration target host room and the migration target host room.
3. The method for processing micro service instance according to claim 2, wherein the synchronizing the data access log of the registration target machine room to the migration target machine room and updating the data access log of the migration target machine room, wherein the data access log of the registration target machine room records the service instance, specifically includes:
Determining a storage position of the service instance on a data access log of the registration target machine room through a preset data probe;
and synchronizing the information field in the storage position to the data access log of the migration target host room.
4. The method for processing micro service instances according to any one of claims 1 to 3, wherein the obtaining a service instance list of the service registry cluster of the call target machine room, and obtaining a target service instance from the service instance list, specifically includes:
acquiring a service instance list of a service registry cluster of the calling target machine room, and sequencing all service instances in the service instance list in priority;
filtering the service instances after sorting based on a load balancing strategy to obtain target service instances meeting preset conditions, wherein the preset conditions are set in the service instance calling request.
5. The method for processing micro service instances according to claim 4, further comprising, after filtering the service instances after sorting based on the load balancing policy to obtain target service instances meeting a preset condition:
Judging the number of the target service instances meeting the preset conditions;
if the number of the target service instances meeting the preset conditions is one, taking the target service instance meeting the preset conditions as a target service instance;
and if the number of the target service instances meeting the preset conditions is a plurality of, alternately calling the plurality of target service instances meeting the preset conditions according to the priority ordering.
6. A micro service instance processing apparatus, wherein the micro service instance processing apparatus performs the steps of the micro service instance processing method according to any one of claims 1 to 5, the micro service instance processing apparatus comprising:
the call request receiving module is used for receiving a service instance call request from the user terminal, wherein the service instance call request carries machine room call identification information;
the call target machine room confirming module is used for determining a call target machine room corresponding to the service instance call request according to the machine room call identification information, wherein the call target machine room is an old machine room which has been set up;
the target service instance acquisition module is used for acquiring a service instance list of the service registry cluster of the calling target machine room and acquiring a target service instance from the service instance list;
And the target service instance sending module is used for sending the target service instance to the user terminal.
7. A computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the micro-service instance processing method according to any one of claims 1 to 5 when the computer program is executed.
8. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the micro service instance processing method according to any of claims 1 to 5.
CN202010468017.5A 2020-05-28 2020-05-28 Micro service instance processing method, micro service instance processing device, computer equipment and storage medium Active CN111800462B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010468017.5A CN111800462B (en) 2020-05-28 2020-05-28 Micro service instance processing method, micro service instance processing device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010468017.5A CN111800462B (en) 2020-05-28 2020-05-28 Micro service instance processing method, micro service instance processing device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111800462A CN111800462A (en) 2020-10-20
CN111800462B true CN111800462B (en) 2024-04-05

Family

ID=72806344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010468017.5A Active CN111800462B (en) 2020-05-28 2020-05-28 Micro service instance processing method, micro service instance processing device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111800462B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112351077B (en) * 2020-10-21 2022-07-29 中国建设银行股份有限公司 Application service operation method, system, device and storage medium
CN112287329B (en) * 2020-10-29 2024-06-25 平安科技(深圳)有限公司 Service instance verification method and device, electronic equipment and storage medium
CN112202929B (en) * 2020-12-01 2021-03-26 湖南新云网科技有限公司 Service access method, device and equipment in micro-service architecture
CN112732456A (en) * 2020-12-15 2021-04-30 京东数字科技控股股份有限公司 Micro-service calling method and device, electronic equipment and storage medium
CN113407316A (en) * 2021-05-17 2021-09-17 北京达佳互联信息技术有限公司 Service scheduling method and device, electronic equipment and storage medium
CN113626189B (en) * 2021-08-03 2024-02-06 优刻得科技股份有限公司 Method, device and medium for constructing resource management model
CN116781947A (en) * 2022-03-11 2023-09-19 北京沃东天骏信息技术有限公司 Video stream data acquisition method, device, electronic equipment and computer readable medium
CN116455951B (en) * 2023-06-19 2023-08-18 云筑信息科技(成都)有限公司 Calling method for realizing RPC isolation of multi-tenant service based on dynamic rules

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109756564A (en) * 2018-12-20 2019-05-14 广州市百果园信息技术有限公司 Service administering method, device and storage medium, computer equipment
CN110673941A (en) * 2019-09-27 2020-01-10 掌阅科技股份有限公司 Migration method of micro-services in multiple computer rooms, electronic equipment and storage medium
CN110990047A (en) * 2019-11-06 2020-04-10 北京云思畅想科技有限公司 Fusion method and device for multiple microservice architectures

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109756564A (en) * 2018-12-20 2019-05-14 广州市百果园信息技术有限公司 Service administering method, device and storage medium, computer equipment
CN110673941A (en) * 2019-09-27 2020-01-10 掌阅科技股份有限公司 Migration method of micro-services in multiple computer rooms, electronic equipment and storage medium
CN110990047A (en) * 2019-11-06 2020-04-10 北京云思畅想科技有限公司 Fusion method and device for multiple microservice architectures

Also Published As

Publication number Publication date
CN111800462A (en) 2020-10-20

Similar Documents

Publication Publication Date Title
CN111800462B (en) Micro service instance processing method, micro service instance processing device, computer equipment and storage medium
KR101373461B1 (en) Terminal and method for using cloud sevices
CN108108286A (en) Method of data capture and device, server, storage medium
CN105389325A (en) Content search method and electronic device implementing same
CN109618174B (en) Live broadcast data transmission method, device, system and storage medium
CN111597065B (en) Method and device for collecting equipment information
CN112380227B (en) Data synchronization method, device, equipment and storage medium based on message queue
CN112199442B (en) Method, device, computer equipment and storage medium for distributed batch downloading files
WO2014102456A1 (en) Method and apparatus for secure advertising
WO2019109519A1 (en) Service rule management method, apparatus and device, and computer-readable storage medium
CN111813418B (en) Distributed link tracking method, device, computer equipment and storage medium
CN112468409A (en) Access control method, device, computer equipment and storage medium
CN109600430A (en) A kind of data managing method, system and electronic equipment and storage medium
WO2022156087A1 (en) Data blood relationship establishing method and apparatus, computer device, and storage medium
CN106569917A (en) Data backup method and mobile terminal
US10284614B2 (en) Method for downloading contents of electronic device and electronic device thereof
CN111142799A (en) Distributed storage method and device, network node and storage medium
US10643252B2 (en) Banner display method of electronic device and electronic device thereof
US9577967B2 (en) Method and system for managing an informational site using a social networking application
CN114449040B (en) Configuration issuing method and device based on cloud platform
CN113779021B (en) Data processing method, device, computer system and readable storage medium
CN114143308A (en) File uploading information processing method and device, computer equipment and storage medium
CN110597682B (en) Application deployment method and device, computer equipment and storage medium
CN112632192A (en) Node maintenance method and device, computer equipment and medium
CN113282850A (en) Resource label management method, device, electronic equipment, system and storage medium

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