CN113687856A - Method and apparatus for granulating systems - Google Patents

Method and apparatus for granulating systems Download PDF

Info

Publication number
CN113687856A
CN113687856A CN202110703898.9A CN202110703898A CN113687856A CN 113687856 A CN113687856 A CN 113687856A CN 202110703898 A CN202110703898 A CN 202110703898A CN 113687856 A CN113687856 A CN 113687856A
Authority
CN
China
Prior art keywords
service
interface
splitting
registration
discovery
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110703898.9A
Other languages
Chinese (zh)
Inventor
张康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Huanwang Technology Co Ltd
Original Assignee
Guangdong Huanwang 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 Guangdong Huanwang Technology Co Ltd filed Critical Guangdong Huanwang Technology Co Ltd
Priority to CN202110703898.9A priority Critical patent/CN113687856A/en
Publication of CN113687856A publication Critical patent/CN113687856A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The present application relates to a method and a device for granulating a system, comprising: the interface service in the system is divided into a plurality of interface services through service discovery and registration, and each interface service is connected to enable the interface services to be independent and related to each other, so that the division of the interface service in the system is completed, and each interface service can work independently. Meanwhile, independent service maintenance is carried out on each interface service, and each interface service in the service maintenance is independently deployed and updated. When the project needs to be maintained and updated, the interface service needing to be updated is only needed to be separately positioned for maintenance and updating.

Description

Method and apparatus for granulating systems
Technical Field
The application relates to the technical field of IT, in particular to a method and equipment for granulating a system.
Background
In the process of processing the project, generally, maintenance and update operations are required to be performed on the project uninterruptedly, but as time goes on and the service grows, the project becomes larger, sometimes, a field is changed, the whole project needs to be repackaged and updated, if the change is problematic, the project is totally wrong after the update, and the troubleshooting is difficult, so that the service is affected.
Disclosure of Invention
In order to overcome the problem that the system maintenance and updating items are inconvenient in the related art at least to a certain extent, the application provides a method and equipment for granulating the system.
The scheme of the application is as follows:
according to a first aspect of embodiments herein, there is provided a method of particulating a system, comprising:
splitting interface services in the system into a plurality of interface services through service discovery and registration;
connecting each interface service to make each interface service independent and associated with each other;
performing individual service maintenance on each interface service;
and independently deploying updates for each interface service in the service maintenance.
Preferably, in an implementation manner of the present application, the method further includes:
and when the system has a problem, positioning the interface service corresponding to the problem.
Preferably, in an implementable manner of the present application, before the splitting of the discovery and registration of the interface service in the system through the service into the plurality of interface services, the method further includes:
and splitting the system.
Preferably, in an implementation manner of the present application, the performing system splitting specifically includes:
and carrying out early-stage positioning on the received project, and specifying a future service range after confirming the project direction.
Preferably, in an implementation manner of the present application, the performing system splitting specifically further includes:
and splitting the system according to the size of the future service range.
Preferably, in an implementation manner of the present application, the splitting an interface service in a system into a plurality of interface services through discovery and registration of the service specifically includes:
the interface service in the system is split into a plurality of interface services through discovery and registration of the service through Nacos.
Preferably, in an implementation manner of the present application, the splitting an interface service in a system into a plurality of interface services through discovery and registration of the service specifically further includes:
the interface service in the system is split into a plurality of interface services through discovery and registration of the service by Double.
According to a second aspect of embodiments of the present application, there is provided an apparatus for granulating a system, comprising:
a processor and a memory;
the processor and the memory are connected through a communication bus:
the processor is used for calling and executing the program stored in the memory;
the memory for storing a program for at least performing a method of particulating a system as claimed in any one of the above.
The technical scheme provided by the application can comprise the following beneficial effects: the method of pelletizing a system in the present application, comprising: the interface service in the system is divided into a plurality of interface services through service discovery and registration, and each interface service is connected to enable the interface services to be independent and related to each other, so that the division of the interface service in the system is completed, and each interface service can work independently. Meanwhile, independent service maintenance is carried out on each interface service, and each interface service in the service maintenance is independently deployed and updated. When the project needs to be maintained and updated, the interface service needing to be updated is only needed to be separately positioned for maintenance and updating.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
FIG. 1 is a schematic flow diagram of a method of pelletizing a system according to one embodiment of the present application;
fig. 2 is a schematic structural diagram of an apparatus for pelletizing a system according to an embodiment of the present application.
Reference numerals: a processor-21; a memory-22.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
A method of granulating a system, with reference to fig. 1, comprising:
s11, splitting the interface service in the system into a plurality of interface services through the discovery and registration of the service;
the method specifically comprises the following steps:
the interface service in the system is divided into a plurality of interface services through the discovery and the registration of the service through Nacos and Double, so that the interface service of the system is granular.
The Nacos supports DNS-based and RPC-based service discovery (can be used as a registration center of springclosed), dynamic configuration service (can be used as a configuration center), and dynamic DNS service.
The Double can split the interface service in the system.
S12, connecting each interface service to make each interface service independent and related;
in this embodiment, each split interface service is connected and associated, so that each interface service is independent and associated with each other, and thus, on the premise of not affecting the integrity of the interface service, each split interface service can be maintained and updated independently.
S13, carrying out individual service maintenance on each interface service;
and S14, independently deploying the updates for each interface service in the service maintenance.
In this embodiment, the plurality of interface services are associated with each other and can be maintained and updated separately, and when the project needs to be maintained and updated, only the interface service which needs to be updated needs to be located separately for maintenance and update.
The method of pelletizing a system in some embodiments, further comprising:
and when the system has a problem, positioning the interface service corresponding to the problem.
In this embodiment, because a plurality of interface services are associated with each other, and can be maintained and updated independently, when a problem occurs in the system, the interface service corresponding to the problem can be discovered and positioned in time and the problem can be solved.
In some embodiments, before splitting an interface service in a system into a plurality of interface services through discovery and registration of the services, the method further comprises:
and splitting the system.
The method specifically comprises the following steps:
and carrying out early-stage positioning on the received project, and specifying a future service range after confirming the project direction.
And splitting the system according to the size of the future service range.
In this embodiment, when a new project is received, the project is first located in an early stage, a project direction is determined, an approximate future service range is specified, and system splitting is performed according to the size of the future service range.
An apparatus for granulating a system, see fig. 2, comprising:
a processor 21 and a memory 22;
the processor 21 is connected to the memory 22 by a communication bus:
the processor 21 is configured to call and execute a program stored in the memory 22;
a memory 22 for storing a program for performing at least one method of particulating a system according to any of the above embodiments.
Embodiments of the present invention may also include a storage medium storing a computer program which, when executed by a processor, performs the steps of the above-described method of particulating a system.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
It should be noted that, in the description of the present application, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present application, the meaning of "a plurality" means at least two unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (8)

1. A method of pelletizing a system, comprising:
splitting interface services in the system into a plurality of interface services through service discovery and registration;
connecting each interface service to make each interface service independent and associated with each other;
performing individual service maintenance on each interface service;
and independently deploying updates for each interface service in the service maintenance.
2. The method of claim 1, further comprising:
and when the system has a problem, positioning the interface service corresponding to the problem.
3. The method of claim 1, wherein before the splitting of the discovery and registration of the interface service in the system into a plurality of interface services through the service, the method further comprises:
and splitting the system.
4. The method according to claim 1, wherein the performing the system splitting specifically includes:
and carrying out early-stage positioning on the received project, and specifying a future service range after confirming the project direction.
5. The method according to claim 4, wherein the performing the system splitting further includes:
and splitting the system according to the size of the future service range.
6. The method according to claim 1, wherein the splitting of the interface service in the system into a plurality of interface services through discovery and registration of the service specifically comprises:
the interface service in the system is split into a plurality of interface services through discovery and registration of the service through Nacos.
7. The method according to claim 1, wherein the splitting of the interface service in the system into a plurality of interface services through discovery and registration of the service further comprises:
the interface service in the system is split into a plurality of interface services through discovery and registration of the service by Double.
8. An apparatus for pelletizing a system, comprising:
a processor and a memory;
the processor and the memory are connected through a communication bus:
the processor is used for calling and executing the program stored in the memory;
the memory for storing a program for at least performing a method of particulating a system according to any of claims 1-7.
CN202110703898.9A 2021-06-24 2021-06-24 Method and apparatus for granulating systems Pending CN113687856A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110703898.9A CN113687856A (en) 2021-06-24 2021-06-24 Method and apparatus for granulating systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110703898.9A CN113687856A (en) 2021-06-24 2021-06-24 Method and apparatus for granulating systems

Publications (1)

Publication Number Publication Date
CN113687856A true CN113687856A (en) 2021-11-23

Family

ID=78576560

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110703898.9A Pending CN113687856A (en) 2021-06-24 2021-06-24 Method and apparatus for granulating systems

Country Status (1)

Country Link
CN (1) CN113687856A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010016292A1 (en) * 1999-12-27 2001-08-23 Hideo Kobinata Electron beam mask, production method thereof, and exposure method
CN112416415A (en) * 2020-09-18 2021-02-26 山东英信计算机技术有限公司 Front-end micro-service implementation method and related components
CN112532413A (en) * 2019-09-18 2021-03-19 亦非云互联网技术(上海)有限公司 Business support Saas system, method, medium and device based on micro-service architecture

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010016292A1 (en) * 1999-12-27 2001-08-23 Hideo Kobinata Electron beam mask, production method thereof, and exposure method
CN112532413A (en) * 2019-09-18 2021-03-19 亦非云互联网技术(上海)有限公司 Business support Saas system, method, medium and device based on micro-service architecture
CN112416415A (en) * 2020-09-18 2021-02-26 山东英信计算机技术有限公司 Front-end micro-service implementation method and related components

Similar Documents

Publication Publication Date Title
CN107870845B (en) Management method and system for micro-service architecture application
US9454357B2 (en) Utilizing a multi-system set configuration to update a utility node system set
CN109831338B (en) Vehicle machine system upgrading method, cloud server and mobile terminal
CN100390765C (en) Computer system and method for supporting network-enabled devices
CN103067445B (en) Method and device of software upgrading of distributed system
EP4044029A1 (en) Daughter card initialization method, electronic apparatus, and storage medium
CN112612577B (en) Method, device and equipment for monitoring large-scale K8s cluster and readable medium
CN111147567A (en) Service calling method, device, equipment and medium
CN110391940A (en) Response method, device, system, equipment and the storage medium of address of service
CN105700927A (en) Version upgrade method, terminal equipment and version server
CN106201588A (en) The method for upgrading software of terminal and terminal
WO2006129277A2 (en) Method and hardware node for customized upgrade control
CN114172803B (en) Multi-FPGA version control and configuration system and method based on Ethernet switching technology
WO2016197953A1 (en) Method and device for deploying multi-mode base station
CN113687856A (en) Method and apparatus for granulating systems
CN113852498B (en) Method and device for deploying, managing and calling components
CN108521452B (en) Method and system for intelligently upgrading service version
CN112667259A (en) SDN controller version upgrading method, device and medium
CN113133030B (en) Management method and device for RAN (radio access network) scene of 5G (third generation) wireless access network
CN111741102B (en) Upgrading method and device for distributed micro-service application
CN102647297B (en) Single-board performance warning management method and device
CN115271959A (en) Distributed transaction log evidence storing and tracing method and system
CN113918150A (en) Method for automatically configuring interface front-end code
CN109324871B (en) Virtual machine hardware configuration method and system
CN109922482B (en) OMC system deployment method, OMC system, electronic device 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