CN112114857B - Front-end service management method, front-end server and website server - Google Patents

Front-end service management method, front-end server and website server Download PDF

Info

Publication number
CN112114857B
CN112114857B CN202010969818.XA CN202010969818A CN112114857B CN 112114857 B CN112114857 B CN 112114857B CN 202010969818 A CN202010969818 A CN 202010969818A CN 112114857 B CN112114857 B CN 112114857B
Authority
CN
China
Prior art keywords
service
environment
test
interface
micro
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
CN202010969818.XA
Other languages
Chinese (zh)
Other versions
CN112114857A (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.)
Sichuan Changhong Intelligent Manufacturing Technology Co ltd
Original Assignee
Sichuan Changhong Intelligent Manufacturing 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 Sichuan Changhong Intelligent Manufacturing Technology Co ltd filed Critical Sichuan Changhong Intelligent Manufacturing Technology Co ltd
Priority to CN202010969818.XA priority Critical patent/CN112114857B/en
Publication of CN112114857A publication Critical patent/CN112114857A/en
Application granted granted Critical
Publication of CN112114857B publication Critical patent/CN112114857B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/658Incremental updates; Differential updates
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The invention discloses a front-end service management method, a front-end server and a website server, relates to the technical field of front ends, and aims to solve the problem that new micro-applications cannot be simply introduced under the condition of maintaining an original front-end management system. The method is applied to a front-end server, and the front-end service governance method comprises the following steps: selecting at least one service interface of the front-end server in response to service registration information; controlling at least one service interface to receive service request information; testing the service request information; under the condition that the test is successful, creating a micro-application according to the service request information; and switching the working environment of the front-end server from a testing environment to an online service environment. The front-end server is used for executing the front-end service governance method. The front-end service management method, the front-end server and the website server provided by the invention are used for the Internet.

Description

Front-end service management method, front-end server and website server
Technical Field
The present invention relates to the field of front end technologies, and in particular, to a front end service management method, a front end server, and a website server.
Background
The front-end technology stack is very fast, and the speed of pushing out new technologies is very fast. Existing micro-services are included in micro-applications, such that the micro-services and the micro-applications are fused.
For the above reasons, when the micro-applications are updated each time, the micro-applications cannot be deployed independently, which makes it difficult to upgrade the system locally, so how to simply introduce new micro-applications on the premise of maintaining the original micro-service system is a problem to be solved.
Disclosure of Invention
The invention aims to provide a front-end service management method, a front-end server and a website server, so as to realize local or incremental upgrading of a system, and enable a front-end code to be simpler, decoupled and easier to maintain.
In a first aspect, the present invention provides a front-end service management method, applied to a front-end server, where the front-end service management method includes:
selecting at least one service interface of the front-end server in response to service registration information;
controlling at least one service interface to receive service request information;
determining a test task according to the service request information, and testing the test task; under the condition that the test is successful, creating a micro-application according to the service request information;
and switching the working environment of the front-end server from a testing environment to an online service environment.
Compared with the prior art, the front-end service management method provided by the invention responds to the demands of the micro-applications, selects among the service interfaces of the front-end server, receives the service request information corresponding to the micro-applications through at least one selected service interface, and filters out unnecessary information. And testing the test task corresponding to the service request information in a test environment. If the test passes, a micro-application is created according to the service request information, and then the test environment is switched to an online service environment to run the micro-application. The micro-service receives the service request information related to the micro-application requirement through the selected service interface and generates the micro-application. Therefore, the front-end service management method provided by the invention can create the micro-application described by the service request information based on the service request information received by the selected service interface, locally upgrade the system, and has no problem that the whole system of the micro-service and the micro-application cannot be locally upgraded because the whole module of the micro-service is decompiled and packaged and is wholly deployed, so that the micro-front-end service management method provided by the invention can well realize the isolation of the application and the service by the micro-application corresponding to the micro-front-end architecture of the micro-service, reduce the range involved in each deployment, realize local or incremental upgrade, reduce the availability fault risk of the system, and ensure that the front-end code is simpler, decoupled and easier to maintain.
In a second aspect, the present invention further provides a front-end server, including: a controller for running a computer program or instructions to implement the front-end service remediation method of the preceding claim, and a communication interface coupled to the controller.
Compared with the prior art, the beneficial effects of the front-end server provided by the embodiment of the invention are the same as those of the front-end service treatment method, and are not repeated here.
In a third aspect, the present invention further provides a website server, where the website server includes the front-end server.
Compared with the prior art, the beneficial effects of the website server provided by the embodiment of the invention are the same as those of the front-end service treatment method, and are not described in detail herein.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
FIG. 1 illustrates a flow chart of a front-end service remediation method provided by an embodiment of the present invention;
FIG. 2 illustrates a first exemplary flow chart of the front-end on-line environmental test provided by an embodiment of the present invention;
FIG. 3 illustrates a second exemplary front-end on-line environment testing flow provided by an embodiment of the present invention;
FIG. 4 illustrates a simplified architecture diagram of a front-end server provided by an embodiment of the present invention;
fig. 5 illustrates a schematic structure of a processor in a front-end server according to an embodiment of the present invention.
Detailed Description
In order to clearly describe the technical solution of the embodiments of the present invention, in the embodiments of the present invention, the words "first", "second", etc. are used to distinguish the same item or similar items having substantially the same function and effect. For example, the first threshold and the second threshold are merely for distinguishing between different thresholds, and are not limited in order. It will be appreciated by those of skill in the art that the words "first," "second," and the like do not limit the amount and order of execution, and that the words "first," "second," and the like do not necessarily differ.
In the present invention, the words "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the present invention, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a alone, a and B together, and B alone, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b or c may represent: a, b, c, a and b, a and c, b and c, or a, b and c, wherein a, b, c can be single or multiple.
Before describing the embodiments of the present invention, the following definitions are first given for the relative terms involved in the embodiments of the present invention:
the front-end server is used for deploying front-end projects, and the back-end server is used for deploying back-end projects. The back-end server provides data or data operation interfaces for front-end items in the front-end server, so that the connection between the front-end and the back-end is realized. If limited by the cost of the project, it is also possible to deploy the front-end project on the same server as the back-end project.
Micro-service architecture is a new technology for deploying applications and services in the cloud. Much of the debate around micro-services has focused on whether containers or other technologies perform well for micro-services. The micro-service can run in a 'self program' and communicate with the address end through a 'lightweight device'. The key is that the service can run in its own program. By this we can distinguish service disclosures from micro-service frameworks. In service disclosure, many services may be limited by internal independent processes. If any one of the services needs to add a certain function, the process must be narrowed. In a micro-service architecture, only the required functionality needs to be added to a particular service, without affecting the overall process architecture.
The service interface is an interface address requested by the client, and the defined parameters of the interface are transmitted, and the data agreed by the interface and the corresponding data format are returned through logic processing of the interface.
The existing front-end system is that the micro-services are contained in the micro-applications, a plurality of modules in the micro-applications need to be modified during the updating of the micro-services, and then the modules are compiled and packaged again to replace each module of the old micro-applications, so that the micro-applications cannot be independently deployed and operated, the system cannot be locally upgraded, and on the premise of maintaining the original micro-service system, how to simply introduce the new micro-applications is a problem to be solved.
In view of the above problems, the embodiment of the present invention provides a front-end service management method, which is applicable to a front-end server. The front-end server may run various management systems such as warehouse management, logistics management, project management, etc.
Fig. 1 illustrates a flowchart of a front-end service management method according to an embodiment of the present invention. As shown in fig. 1, the front-end service governance method provided by the embodiment of the present invention may be executed by a front-end server, where the front-end service governance includes the following steps:
step 10: the front-end server selects at least one service interface of the front-end server in response to the service registration information. The front-end system has many interfaces, such as: the request address interface, the request mode interface, the request parameter interface, the function information interface, and the request returning body interface are not limited thereto. At this time, the at least one service interface selected by the user may include: at least one of a request address interface, a request mode interface, a request parameter interface, a function information interface and a request returning body interface.
In practical applications, the information of the request received by the request address interface may come from a certain address of the front-end server, and the request mode may be a common request page request, a request for submitting a form or uploading a file, or other request methods, for example: delete request to specify page, allow customer service to view server performance. Request parameters such as: user credentials, terminal type, client time, etc. The function information interface is the function information describing the interface and describes the comprehensive information of each interface function. The request-returning body is information of the state of the request execution by the server.
Step 11: the front-end server controls at least one service interface to receive the service request information. Controlling at least one service interface to receive service request information includes: at least one service interface is combined into an interface service component, and service request information is received through the interface service component.
In practical application, the front-end server selects corresponding service interfaces from the service interfaces to form an interface service assembly according to the micro-application to be updated. For example: the updated micro application is to upload a piece taking table, and the interfaces selected from the interfaces are a request address interface, a request mode interface and a request return body interface, wherein the three interfaces form an interface service assembly; the service request information is accessed through the interface service component, the registration is carried out in a front-end service pool, and the front-end service pool is also provided with a control unit for managing all service interfaces in real time, such as enabling the service interfaces or disabling the service interfaces.
Step 12: and the front-end server determines a test task according to the service request information and tests the test task. The process of the front-end server testing the service request information may be: and testing the service request information according to the test data set. The test data set is herein a data set determined by the service request information.
In practical application, according to the service request information, a generation rule of the test data set is set, the number of the test data sets is set, the test data set corresponding to the service request information is established, and the service request information and the test data set determine a specific executable test task, for example, if the service request information is shopping, the test data set related to shopping is established according to the shopping request information, such as: the service request information and the test data set determine whether the test task is whether the commodity to be purchased is in various commodity data contained in the test data set.
When the service request information is matched with the test data set, the test task is completed, the above example is continued, if the service request information is specifically a purchase request of a book, and a book can be found in the test data set, the service request information is matched with the test data set, the test is successful, and a micro-application is created, wherein the micro-application creation is a process of forming a micro-application comprehensive description information file of a system according to the input service request information.
Step 13: and under the condition that the test is successful, the front-end server creates the micro application according to the service request information and executes step 15.
Step 14: and under the condition of test failure, the front-end server adjusts a corresponding interface or a test data set according to the reason of analysis test failure.
Step 15: and switching the working environment of the front-end server from the testing environment to the online service environment.
In an online service environment, a front-end server may run various micro-applications. Wherein each micro-application is different. For example, say: the micro-application is to collect the purchased articles, but the articles in the service request information may be different, the micro-application may be to collect the purchased pens, and the next micro-application may be to collect the purchased schoolbags.
Fig. 2 illustrates a schematic diagram of a front-end online environment operation flow provided by an embodiment of the present invention. As shown in fig. 2, after the working environment of the front-end server is switched from the testing environment to the online service environment, the front-end service management method further includes the following steps:
step 20: the micro-applications are run in an online service environment.
Step 21: and testing the micro application by using the test data set, and recovering the online service environment to the initial environment under the condition of test failure.
In practical application, after the micro-application is created, the micro-application is switched from the test environment to the online service environment, the micro-application is tested under the real online service environment, the test flow is consistent with the test flow in the test environment for the first time, and when the micro-application is matched with the test data set, the running task is successful, but due to the switching of the working environment, the new environment parameters may cause the running failure, so that the system can be initialized to the online service environment of the last stable version to run again. The online service environment of the last stable version can be understood as an online service environment in which the last micro application is successfully operated.
Fig. 3 illustrates a second schematic diagram of an on-line environment operation flow of the front end provided by the embodiment of the present invention. As shown in fig. 3, after the working environment of the front-end server is switched from the testing environment to the online service environment, the front-end service management method further includes the following steps:
step 30: running the micro-application in an on-line service environment;
step 31: and testing the micro application by using the test data set, and under the condition of test failure, modifying the test task according to the reason of the test failure and the reason of the test failure according to the analysis of the reason of the test failure.
In practical application, if the micro-application runs or fails after the environment is initialized, analyzing according to the running file, determining possible problems, modifying relevant information in the test task file, retesting the modified test task file under the test environment, after the test is successful, switching the on-line service environment, and then testing the micro-application, and repeatedly iterating and modifying the test file until the test is successful. Wherein the test task and the micro-application are in correspondence. In an on-line service environment, both the selected service interface and the test data set are stable and cannot be adjusted or modified. Because each independent deployment of the micro-application only involves switching the service interface, adjusting or re-writing the test data set, the availability failure risk of the front-end server is reduced, and the monitoring range is smaller.
From the above, the front-end service management method provided by the embodiment of the invention responds to the requirement of the micro-application, selects among the service interfaces of the front-end server, receives the service request information corresponding to the micro-application through at least one selected service interface, and filters out unnecessary information. And testing the test task corresponding to the service request information in a test environment. If the test passes, a micro-application is created according to the service request information, and then the test environment is switched to an online service environment to run the micro-application. The micro-service receives the service request information related to the micro-application requirement through the selected service interface and generates the micro-application. Therefore, the front-end service management method provided by the invention can create the micro-application described by the service request information based on the service request information received by the selected service interface, locally upgrade the system, and has no problem that the whole system of the micro-service and the micro-application cannot be locally upgraded because the whole module of the micro-service is decompiled and packaged and is wholly deployed, so that the micro-front-end service management method provided by the invention can well realize the isolation of the application and the service by the micro-application corresponding to the micro-front-end architecture of the micro-service, reduce the range involved in each deployment, realize local or incremental upgrade, reduce the availability fault risk of the system, and ensure that the front-end code is simpler, decoupled and easier to maintain.
Fig. 4 illustrates a simplified structure diagram of a front-end server according to an embodiment of the present invention, where, as shown in fig. 4, the front-end server according to the embodiment of the present invention includes: the front-end server 400 includes: a processor 401 and a communication interface 402.
As shown in FIG. 4, the processor may be a general purpose central processing unit (central processing unit, CPU), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present invention. The communication interface may be one or more. The communication interface may use any transceiver-like device for communicating with other devices or communication networks.
As shown in fig. 4, the terminal device may further include a communication line. The communication line may include a pathway to communicate information between the aforementioned components.
Optionally, as shown in fig. 4, the terminal device may further comprise a memory 403. The memory is used for storing computer-executable instructions for executing the scheme of the invention, and the processor is used for controlling the execution. The processor is configured to execute computer-executable instructions stored in the memory, thereby implementing the method provided by the embodiment of the invention.
As shown in fig. 4, the memory may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (random access memory, RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (electrically erasable programmable read-only memory, EEPROM), a compact disc read-only memory (compact disc read-only memory) or other optical disk storage, optical disk storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, without limitation. The memory may be stand alone and be coupled to the processor via a communication line. The memory may also be integrated with the processor.
Alternatively, the computer-executable instructions in the embodiments of the present invention may be referred to as application program codes, which are not particularly limited in the embodiments of the present invention.
In a particular implementation, as one embodiment, the processor may include one or more CPUs, as shown in FIG. 4.
In a specific implementation, as an embodiment, as shown in fig. 4, the terminal device may include a plurality of processors, such as the processor and the processor in fig. 4. Each of these processors may be a single-core processor or a multi-core processor.
The processor comprises an arranging module and a monitoring module. The orchestration module is used to perform at least one service interface of the selection front-end server in the embodiments shown in fig. 1 and 2; controlling at least one service interface to receive service request information; testing the service request information; under the condition of successful test, creating a micro application according to the service request information; switching the working environment of the front-end server from a testing environment to an online service environment, and running the micro-application in the online service environment; and testing the micro application by using the test data set, and recovering the online service environment to the initial environment for retesting or modifying the test task for retesting in the case of test failure. The monitoring module is used for monitoring the completion condition of the test task in the test environment and the test condition of the online service environment micro-application in the figures 1 and 2.
Fig. 5 illustrates a schematic structural diagram of a processor in a front-end server according to an embodiment of the present invention, as shown in fig. 5, where, in the communication interface 402, the processor 401 includes an orchestration module and a monitoring module, and the orchestration module includes: a front-end service pool submodule 4011, a service combination submodule 4012, a test writing submodule 4013 and a test data set submodule 4014; the monitoring module comprises: a test task monitoring submodule 4015, a test environment switching and micro-application monitoring submodule 4016; the micro application module 4017 is created.
In practical application, as shown in fig. 5, the communication interfaces 402 may also be referred to as an interface service registration module, and the service pool submodule 4011 controls and monitors all the communication interfaces 402 in real time, receives request information of each interface, and may also display communication interface information; the service combination submodule 4012 responds to the micro-application to select at least one corresponding service interface to form an interface service component, and receives service request information corresponding to the micro-application through the interface service component. The test data set generation rule and the number of test data sets are set in the test writing submodule 4013 according to the service request information, and the test data set is generated in the test data set submodule 4014. Checking whether the service request information finds a corresponding matching data set in the test data set, the operation of searching can be regarded as a test task, the test task of searching the matching data set is performed in the test task monitoring submodule 4015, when the matching data set can be searched, the test task passes, and the test task is performed in a test environment.
As shown in fig. 5, after the test task passes, the service request information is pushed to the micro-application creation sub-module 4017 to create the micro-application, and it should be noted that, the micro-application creation environment is also under the test environment, after the creation is completed, the test environment is switched and the micro-application monitoring sub-module 4016 is tested and switched to the online service environment, so as to run the micro-application, except for the change of the environment parameters, the running flow of the micro-application is consistent with the flow of the test task under the first test environment, and thus, many times of micro-application tasks can be completed. The creation of the micro-application module 4017 is not re-entered after each run is successful.
In practical application, the monitoring module further comprises sub-monitoring in the service pool, monitoring in the test data set, adjusting the interface when the sub-monitoring in the service pool reports errors in the test task in the test environment, and re-writing the test data set when the monitoring in the test data set reports errors, which can be understood as that when the monitoring in the test environment reports errors, the data or the interface of a certain module is modified or adjusted when a certain module reports errors; when running the micro-application in the online service environment, if the monitoring reports errors, there are two solutions, namely, the online service environment is initialized, that is, the stable online service environment in which the last micro-application is updated successfully is restored to be re-run, or some parameters in the test task file in the test environment are modified, the modified test task is re-tested once in the test environment, and after the success, the micro-application is run in the online service environment until the operation is successful.
Compared with the prior art, the beneficial effects of the front-end server provided by the embodiment of the invention are the same as those of the front-end service treatment method, and are not repeated here.
The embodiment of the invention also provides a website server, which realizes the functions executed by the front-end server in the embodiment when the website server runs.
Compared with the prior art, the beneficial effects of the website server provided by the embodiment of the invention are the same as those of the front-end service treatment method, and are not described in detail herein.
The embodiment of the present invention also provides a computer readable storage medium, in which instructions are stored, which when executed, implement the functions performed by the front-end server in the above embodiments.
Compared with the prior art, the beneficial effects of the computer readable storage medium provided by the embodiment of the invention are the same as those of the front-end service management method, and are not described in detail herein.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present invention are performed in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, a terminal, a user equipment, or other programmable apparatus. The computer program or instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer program or instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center by wired or wireless means. The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that integrates one or more available media. The usable medium may be a magnetic medium, e.g., floppy disk, hard disk, tape; optical media, such as digital video discs (digital video disc, DVD); but also semiconductor media such as solid state disks (solid state drive, SSD).
Although the invention is described herein in connection with various embodiments, other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed invention, from a study of the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other elements or steps, and the "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.
Although the invention has been described in connection with specific features and embodiments thereof, it will be apparent that various modifications and combinations can be made without departing from the spirit and scope of the invention. Accordingly, the specification and drawings are merely exemplary illustrations of the present invention as defined in the appended claims and are considered to cover any and all modifications, variations, combinations, or equivalents that fall within the scope of the invention. It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (8)

1. A front-end service governance method, applied to a front-end server, the front-end service governance method comprising:
responding to service registration information in a test environment, and selecting at least one service interface of the front-end server; the at least one service interface includes: at least one of a request address interface, a request mode interface, a request parameter interface, a function information interface and a request returning body interface;
controlling the at least one service interface to receive service request information;
determining a test task according to the service request information, establishing a test data set corresponding to the service request information, determining the test task according to the service request information and the test data set, and testing the test task; under the condition of successful test, creating a micro application according to the service request information;
and switching the working environment of the front-end server from a testing environment to an online service environment.
2. The front-end service remediation method of claim 1 wherein the controlling the at least one service interface to receive service request information includes:
and combining the at least one service interface into an interface service component, and receiving service request information through the interface service component.
3. The front-end service administration method according to claim 1, wherein in case the test is successful, the service request information matches the test data set.
4. The front-end service remediation method of claim 1 wherein the test data set is a data set determined by the service request information.
5. The front-end service governance method according to any one of claims 1 to 4, wherein after the working environment of the front-end server is switched from a testing environment to an online service environment, the front-end service governance method further comprises:
running the micro-application in the online service environment;
and testing the micro application by using the test data set, and recovering the online service environment to the initial environment under the condition that the test of the online service environment fails.
6. The front-end service governance method according to any one of claims 1 to 4, wherein after the working environment of the front-end server is switched from a testing environment to an online service environment, the front-end service governance method further comprises:
running the micro-application in the online service environment;
and testing the micro application by using the test data set, and updating the test task in the test environment according to the reason of the test failure under the condition of test failure.
7. A front-end server, comprising: a processor and a communication interface coupled to the processor, the processor being configured to execute a computer program or instructions to implement the front-end service remediation method of any one of claims 1 to 6.
8. A web server comprising the front-end server of claim 7.
CN202010969818.XA 2020-09-15 2020-09-15 Front-end service management method, front-end server and website server Active CN112114857B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010969818.XA CN112114857B (en) 2020-09-15 2020-09-15 Front-end service management method, front-end server and website server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010969818.XA CN112114857B (en) 2020-09-15 2020-09-15 Front-end service management method, front-end server and website server

Publications (2)

Publication Number Publication Date
CN112114857A CN112114857A (en) 2020-12-22
CN112114857B true CN112114857B (en) 2023-07-07

Family

ID=73803534

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010969818.XA Active CN112114857B (en) 2020-09-15 2020-09-15 Front-end service management method, front-end server and website server

Country Status (1)

Country Link
CN (1) CN112114857B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105450757A (en) * 2015-12-02 2016-03-30 联动优势电子商务有限公司 Service management method and system
CN108874567A (en) * 2018-07-19 2018-11-23 广州市创乐信息技术有限公司 A kind of service processing method and system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9479517B2 (en) * 2014-02-28 2016-10-25 Wal-Mart Stores, Inc. Service governance for distributed systems
CN107612713A (en) * 2017-08-21 2018-01-19 同程网络科技股份有限公司 A kind of method for administering back-end services
CN108965442A (en) * 2018-07-23 2018-12-07 珠海宏桥高科技有限公司 A kind of micro services infrastructure services dissemination system and model-based optimization method
CN110809017B (en) * 2019-08-16 2022-02-25 云南电网有限责任公司玉溪供电局 Data analysis application platform system based on cloud platform and micro-service framework
CN111130892B (en) * 2019-12-27 2022-11-15 上海浦东发展银行股份有限公司 Enterprise-level microservice management system and method
CN111338646B (en) * 2020-05-20 2020-09-08 腾讯科技(深圳)有限公司 Management method of micro-service architecture and related device
CN111641706A (en) * 2020-05-28 2020-09-08 深圳壹账通智能科技有限公司 Micro service system creating method and device, electronic equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105450757A (en) * 2015-12-02 2016-03-30 联动优势电子商务有限公司 Service management method and system
CN108874567A (en) * 2018-07-19 2018-11-23 广州市创乐信息技术有限公司 A kind of service processing method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
微服务在95598全渠道统一接入中的应用;王明珠;《微型电脑应用》;第36卷(第5期);134-137 *

Also Published As

Publication number Publication date
CN112114857A (en) 2020-12-22

Similar Documents

Publication Publication Date Title
US10951491B2 (en) Automatic microservice problem detection in enterprise applications
US20080295064A1 (en) Rapid development of distributed web service
US20150242200A1 (en) Re-configuration in cloud computing environments
US11151025B1 (en) Generating software test plans based at least in part on monitored traffic of a production application
CN103391222A (en) System and method for monitoring web service
CN110336695A (en) A kind of method and server of deployment and maintenance application
US11210206B1 (en) Spoofing stateful dependencies during software testing
US10990507B2 (en) System and method for provisioning a virtual machine test environment
Schirmer et al. FUSIONIZE: Improving serverless application performance through feedback-driven function fusion
CN111159040A (en) Test data generation method, device, equipment and storage medium
CN110888800A (en) Service interaction function test method, device, storage medium and test system
CN106354435A (en) Method and device for initializing RAID
US11360880B1 (en) Consistent replay of stateful requests during software testing
US11567857B1 (en) Bypassing generation of non-repeatable parameters during software testing
CN112114857B (en) Front-end service management method, front-end server and website server
CN116974874A (en) Database testing method and device, electronic equipment and readable storage medium
CN112131177A (en) Data migration method and device, storage medium and electronic equipment
US20120102360A1 (en) System and method for business function reversibility
CN116225622A (en) Docker-based PaaS application parameter template testing method
CN110502238A (en) A kind of method and device of front and back end joint debugging
CN113392002B (en) Test system construction method, device, equipment and storage medium
JP2023546904A (en) Accelerated non-volatile memory device inspection and forensics
CN110874238B (en) Online service updating method and device
US11966276B2 (en) Error testing for computers using temporary, self-terminating fault injectors
CN105574020B (en) Database operation method and device

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