CN110351128A - A kind of method for processing business, device, storage medium and server - Google Patents

A kind of method for processing business, device, storage medium and server Download PDF

Info

Publication number
CN110351128A
CN110351128A CN201910564747.2A CN201910564747A CN110351128A CN 110351128 A CN110351128 A CN 110351128A CN 201910564747 A CN201910564747 A CN 201910564747A CN 110351128 A CN110351128 A CN 110351128A
Authority
CN
China
Prior art keywords
service
data
business
mvp
parameter
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
CN201910564747.2A
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.)
Beijing Dami Technology Co Ltd
Original Assignee
Beijing Dami 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 Beijing Dami Technology Co Ltd filed Critical Beijing Dami Technology Co Ltd
Priority to CN201910564747.2A priority Critical patent/CN110351128A/en
Publication of CN110351128A publication Critical patent/CN110351128A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • 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/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Hardware Redundancy (AREA)

Abstract

The embodiment of the present application discloses a kind of method for processing business, device, storage medium and server, wherein method include: when detect service fault is occurred using main station system performance objective business when, obtain the data on flows of the target service;The data on flows is switched to the minimum feasible product MVP system being pre-created from the main station system;Based on the data on flows and the MVP system is used, handles the target service.Therefore, using the embodiment of the present application, the target service can be executed using spare MVP system when leading to service fault using main station system performance objective business, to can avoid the influence that upstream and downstream service involves.

Description

A kind of method for processing business, device, storage medium and server
Technical field
This application involves field of computer technology more particularly to a kind of method for processing business, device, storage medium and services Device.
Background technique
System on internet is a complicated system, often by being distributed in online multiple Services Compositions, A function or a business are completed jointly.Since distributed service is in different environment (such as region, hardware, network environment) Under, it sometimes appear that service is abnormal.The failure of service network (non-critical services) in non-critical links can be on critical link Service (key service) has an impact, and key service will be caused unavailable when serious.Therefore, if inline system is due to it In one or more service fault, and involve the service of upstream and downstream, will lead to the user experience decline of integrity service.
In the prior art, by servicing dilatation, degradation, current limliting, the modes such as fusing, to guarantee single reliability of service. But this scheme can not handle the failure (network, database or even data center) of public infrastructure service, and due to service Between dependence, single service capacity expands the influence for rising and can not effectively avoiding upstream and downstream service from involving.
Summary of the invention
The embodiment of the present application provides a kind of method for processing business, device, storage medium and server, can be using leading System of standing performance objective business and when leading to service fault, which is executed using spare MVP system, to can avoid The influence that upstream and downstream service involves.The technical solution is as follows:
In a first aspect, the embodiment of the present application provides a kind of method for processing business, which comprises
When detecting using main station system performance objective business generation service fault, the flow of the target service is obtained Data;
The data on flows is switched to the minimum feasible product MVP system being pre-created from the main station system;
Based on the data on flows and the MVP system is used, handles the target service.
Optionally, it is described when detect using main station system performance objective business occur service fault when before, further includes:
Obtain the type of service and whole service parameter of target service;
Based on the type of service and whole service parameters, MVP system is created.
Optionally, it is described obtain target service type of service and service parameter after, further includes:
Whole service parameters are filtered, key business parameter is obtained;
It is described to be based on the type of service and the service parameter, create MVP system, comprising:
Based on the type of service and the key business parameter, MVP system is created.
Optionally, described that whole service parameters are filtered, obtain key business parameter, comprising:
The data format of whole service parameters is matched with preset data form;
When existing in the data format with the preset data form target data format that it fails to match, filter out The corresponding service parameter of the target data format, obtains key business parameter.
Optionally, it is described be based on the type of service and the service parameter, create MVP system after, further includes:
It controls the MVP system and sends data synchronization request to the main station system;
The main station system corresponding business datum of target service that synchronization request acquires based on the data is obtained, by institute Business datum is stated to save into the MVP system.
Second aspect, the embodiment of the present application provide a kind of business processing device, and described device includes:
Data acquisition module, for obtaining when detecting using main station system performance objective business generation service fault The data on flows of the target service;
System switching module, for the data on flows to be switched to the MVP system being pre-created from the main station system;
Service Processing Module, for handling the target service based on the data on flows and using the MVP system.
Optionally, described device further include:
Parameter acquisition module, for obtaining the type of service and whole service parameter of target service;
System creation module, for creating MVP system based on the type of service and whole service parameters.
Optionally, described device further include:
Parameter filtering module obtains key business parameter for being filtered to whole service parameters;
The system creation module, is specifically used for:
Based on the type of service and the key business parameter, MVP system is created.
Optionally, the parameter filtering module, is specifically used for:
The data format of whole service parameters is matched with preset data form;
When existing in the data format with the preset data form target data format that it fails to match, filter out The corresponding service parameter of the target data format, obtains key business parameter.
Optionally, described device further include:
Request sending module sends data synchronization request to the main station system for controlling the MVP system;
Data storage module, for obtaining the main station system target service pair that synchronization request acquires based on the data The business datum answered saves the business datum into the MVP system.
The third aspect, the embodiment of the present application provide a kind of computer storage medium, and the computer storage medium is stored with A plurality of instruction, described instruction are suitable for being loaded by processor and executing above-mentioned method and step.
Fourth aspect, the embodiment of the present application provide a kind of server, it may include: processor and memory;Wherein, described to deposit Reservoir is stored with computer program, and the computer program is suitable for being loaded by the processor and executing above-mentioned method and step.
The technical solution bring beneficial effect that some embodiments of the application provide includes at least:
In the application one or more embodiment, service event is occurred using main station system performance objective business when detecting When barrier, the data on flows of the target service is obtained, the data on flows switched to from the main station system and is pre-created Minimum feasible product MVP system based on the data on flows and uses the MVP system, handles the target service.By When leading to service fault using main station system performance objective business, which is executed using spare MVP system, thus It can avoid the influence that upstream and downstream service involves.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of network architecture schematic diagram of transaction processing system provided by the embodiments of the present application;
Fig. 2 is a kind of flow diagram of method for processing business provided by the embodiments of the present application;
Fig. 3 is a kind of flow diagram of method for processing business provided by the embodiments of the present application;
Fig. 4 is a kind of structural schematic diagram of business processing device provided by the embodiments of the present application;
Fig. 5 is a kind of structural schematic diagram of business processing device provided by the embodiments of the present application;
Fig. 6 is a kind of structural schematic diagram of server provided by the embodiments of the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the embodiment of the present application Mode is described in further detail.
In the following description when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different attached drawings indicate same or similar Element.Embodiment described in following exemplary embodiment does not represent all embodiment party consistent with the application Formula.On the contrary, they are only the consistent device and method of as detailed in the attached claim, the application some aspects Example.
In the description of the present application, it is to be understood that term " first ", " second " etc. are used for description purposes only, without It can be interpreted as indication or suggestion relative importance.For the ordinary skill in the art, on being understood with concrete condition State the concrete meaning of term in this application.In addition, unless otherwise indicated, " multiple " refer to two in the description of the present application Or it is more than two."and/or" describes the incidence relation of affiliated partner, indicates may exist three kinds of relationships, for example, A and/or B, Can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.Character "/" typicallys represent forward-backward correlation pair As if a kind of relationship of "or".
The application is illustrated below with reference to specific embodiment.
It referring to Figure 1, is a kind of network architecture schematic diagram of transaction processing system provided by the embodiments of the present application.Such as Fig. 1 Shown, the network architecture may include main station system 100, minimum feasible product (Minimum Viable Product, MVP) System 200, MVP switching system (MVP-switch) 300 and MVP synchronization system (mvp-hub) 400, wherein MVP- Switch300 and mvp-hub400 can be the business processing device in the application, certainly, the MVP-switch300 and Mvp-hub400 also can be used as the part of module of MVP system 200, and the business processing device is MVP system 200.
Wherein, the main station system can be the server of support multiple business processing function.When user passes through iPAD, clear Look at the corresponding student side website of target service in the user terminal access main station system such as device or pc client (such as Www.vipkid.com.cn) or when teacher end website (t.vipkid.com.cn), target service is realized by main website service, and Generated synchronizing traffic data is stored and (is such as saved teacher's end data into tecacher database, by student side Data are saved into student database).
MVP is substantially exactly that " in the version exploitation of a new product, it allows team to collect client with the smallest cost Cognition after use as much as possible ", be it is a kind of avoid developing client it is not really necessary that product development strategy.The plan Basic idea slightly is rapidly to construct the minimum feature set conjunction for meeting product expectation function, this minimum feature set closes institute The function of including is sufficient for the requirement of product allocation and can examine the critical assumptions interacted in relation to client with product.It can determine System, optional function set, different users only need to install or configure the minimum feature set needed and close.
The MVP system 200 refers to that the minimum feature set that a certain business function in the main station system can be achieved is combined into Service.The MVP system can the mostly set distribution deployment of multimachine room.
MVP-switch300 is used to control the switching of data on flows, i.e., switches teacher end data on flows in main station system To mvp-t, main station system middle school data on flows of causing trouble is switched into mvp-p.Mvp-hub400 is for controlling the same of business datum Step, i.e. control, into mvp system, are then attended class function (mvp- by the student side in mvp from main station system synchronous service data Parent-portal) and function (mvp-teacher-portal) completion of attending class of teacher end is attended class business, and synchronous storage institute The business datum of generation.
In the embodiment of the present application, it by taking business processing device includes MVP-switch300 and mvp-hub400 as an example, carries out Description.
As shown in Figure 1, when business processing device is detected using main station system performance objective business generation service fault, The data on flows of the target service is obtained, and the data on flows is switched to the MVP being pre-created from the main station system System, so as to handle the target service based on the data on flows and using the MVP system.
Wherein, the data on flows is the service request that user is directed to target service triggering, for switching to MVP system Afterwards, triggering MVP system handles the target service.
Optionally, before when detecting using main station system performance objective business generation service fault, business processing dress The type of service for obtaining target service and whole service parameters are set, and based on the type of service and whole business ginsengs Number creates MVP system.
Optionally, after the type of service for obtaining target service and service parameter, to whole service parameters It is filtered, obtains key business parameter;Therefore, it can be based on the type of service and the key business parameter, create MVP System.
Wherein, described that whole service parameters are filtered, key business parameter is obtained, being specifically as follows will be described The data format of whole service parameters is matched with preset data form, is preset when existing in the data format with described When the target data format of pattern matched failure, the corresponding service parameter of the target data format is filtered out, key is obtained Service parameter.
Optionally, described to be based on the type of service and the service parameter, after creating MVP system, described in control MVP system sends data synchronization request to the main station system, then obtains the main station system and synchronizes based on the data and asks The corresponding business datum of the target service of acquisition is sought, the business datum is saved into the MVP system, to realize mvp System in main station system be directed to target service business datum it is synchronous.
In the application one or more embodiment, service event is occurred using main station system performance objective business when detecting When barrier, the data on flows of the target service is obtained, the data on flows switched to from the main station system and is pre-created Minimum feasible product MVP system based on the data on flows and uses the MVP system, handles the target service.Pass through pumping Each service as simplifying main station system extracts the service in most crucial critical path to create the MVP system for supporting target service System executes the target service using the MVP system when leading to service fault using main station system performance objective business, from And it can avoid the influence that upstream and downstream service involves.Meanwhile the acceptable independent multimachine room deployment of MVP system, such as database, network, Data center all independently disposes, so that not relying between service and main website.
Below in conjunction with attached drawing 2- attached drawing 3, describe in detail to method for processing business provided by the embodiments of the present application.Its In, the business processing device in the embodiment of the present application can be the MVP system shown in FIG. 1 comprising MVP-switch and mvp-hub System, is also possible to the server comprising MVP-switch and mvp-hub.
Fig. 2 is referred to, is a kind of flow diagram of method for processing business provided by the embodiments of the present application.As shown in Fig. 2, The embodiment of the present application the method may include following steps:
S101 obtains the target service when detecting using main station system performance objective business generation service fault Data on flows;
Main station system refers to the server that multiple business functions may be implemented, and target service can be this multiple business function One of business in energy.
For example, server can usually be supported to put lessons business, order lessons business, attend class for online education ISP Multiple business such as business, interview about lessons business, and target service can be one of those, such as order lessons business.
Realization for target service is usually got up common completion by being distributed in online multiple Services Compositions.And due to Distributed service is in different environment (region, hardware, network environment), it sometimes appear that service is abnormal, non-critical services Failure can have an impact to the service on critical link, will cause to service when serious unavailable.When inline system is therein One or more service fault will involve the service of upstream and downstream.
In the specific implementation, when business processing device is detected using main station system performance objective business, if servicing Failure, such as services unavailable, so as to cause that can not execute the target service using main station system, then obtains the mesh in main station system The data on flows of mark business.
Wherein, the data on flows refers to the access request that user generates when operating website corresponding to target service, The indexs such as the page info browsed including the number of users and user that access the website can be handled respectively by these information The service request of each user.
Common statistical indicator includes isolated user quantity, total number of users, the page browsing quantity, each user of website Page browsing quantity, user is in mean residence time of website etc..It specifically may include that website traffic index, user behavior refer to The ASSOCIATE STATISTICS that mode, time, equipment, browser title and version, the operating system etc. that mark, user browse web sites browse web sites Index.
Website traffic statistic index is commonly used to evaluate website effect, person's quantity that main indicator includes: independent access; Repeat visitor quantity;Page browsing number;The page browsing number of each visitor;The statistical indicator of certain specific file/pages, Such as the page shows number, file download number.
User behavior index mainly reflect user be how to come website, stopped on website how long, access Which page etc., main statistical indicator includes: residence time of the user in website;User sources website;User is used Search engine and its keyword;In user's amount of access situation etc. of different periods.
The mode ASSOCIATE STATISTICS index that user browses web sites specifically includes that user's equipment for surfing the net type;User browser Title and version;Visitor's computer resolution ratio display pattern;OS name used by a user and version;User location Manage area distribution situation etc..
The data on flows is switched to the MVP system being pre-created by S102 from the main station system;
Business processing acquired data on flows is switched to from main station system be pre-created be used for processing target business MVP system in, to can trigger using MVP system according to the data on flows processing target service.
S103 based on the data on flows and uses the MVP system, handles the target service.
For example, if target service is to attend class business, after data on flows is switched to MVP system, so that it may using the system into Row is attended class.
One kind is feasible to be interpreted as, and MVP system can be used and continue on the node time instance to break down since main station system Class, another kind is feasible to be interpreted as, and the MVP system created and main station system are two independent systems, and data on flows is cut After shifting to MVP system, triggering MVP system completes business of attending class from the beginning.
In the application one or more embodiment, service event is occurred using main station system performance objective business when detecting When barrier, the data on flows of the target service is obtained, the data on flows switched to from the main station system and is pre-created Minimum feasible product MVP system based on the data on flows and uses the MVP system, handles the target service.Pass through pumping Each service as simplifying main station system extracts the service in most crucial critical path to create the MVP system for supporting target service System executes the target service using the MVP system when leading to service fault using main station system performance objective business, from And it can avoid the influence that upstream and downstream service involves.
Fig. 3 is referred to, is a kind of flow diagram of method for processing business provided by the embodiments of the present application.The business processing Method may comprise steps of:
S201 obtains the type of service and whole service parameter of target service;
For main station system, the every kind of business supported respectively corresponds a type of service.By the industry for acquiring target service Service type, and support that (such as used framework writes language, call parameters value for whole service parameters of the target service Deng), for use in creation MVP system.
S202 is filtered whole service parameters, obtains key business parameter;
Filtering refer to by the collected whole service parameters of institute except business main flow parameter (such as communication node it is hard Number of packages evidence) and do not meet the data etc. of preset data form and filtered out.
In the whole service parameters for supporting target service, the parameter including supporting necessary function also includes that support is non- The parameter of necessary function.By being filtered to the parameter for supporting non-essential function, to obtain supporting necessary function Parameter, i.e. key business parameter.
A kind of feasible implementation is, the data format of whole service parameters and preset data form are carried out Match;When existing in the data format with the preset data form target data format that it fails to match, filter out described The corresponding service parameter of target data format, obtains key business parameter.
S203 is based on the type of service and the key business parameter, creates MVP system;
Using preset creation rule or model, using type of service and the key business parameter as the input of model Parameter, to produce MVP system.
MVP is substantially exactly that " in the version exploitation of a new product, it allows team to collect client with the smallest cost Cognition after use as much as possible ", be it is a kind of avoid developing client it is not really necessary that product development strategy.The plan Basic idea slightly is rapidly to construct the minimum feature set conjunction for meeting product expectation function, this minimum feature set closes institute The function of including is sufficient for the requirement of product allocation and can examine the critical assumptions interacted in relation to client with product.It can determine System, optional function set, different users only need to install or configure the minimum feature set needed and close.
S204 controls the MVP system to the main station system and sends data synchronization request;
Since before performance objective business does not break down, relevant business datum can be generated using main station system, with And the business datum for supporting the target service to be stored in main station system.
It controls MVP system and sends data synchronization request to main station system with by the target industry in MVP system and main station system The business datum of business synchronizes.One of feasible method of synchronization is, real when using main station system performance objective business When control MVP system it is synchronous with the data of main station system, the feasible method of synchronization of another kind is to break down in main station system When, request main station system carries out data to MVP system and synchronizes.
S205 obtains the main station system corresponding business number of target service that synchronization request acquires based on the data According to saving the business datum into the MVP system;
It is that main station system is after receiving data synchronization request, (such as from caching for the synchronous specific implementation of data The corresponding database of the corresponding database of student side and teacher end) in read business datum, and be sent to business processing device, Business processing device is retransmited to MVP system and is saved.
S206 obtains the target service when detecting using main station system performance objective business generation service fault Data on flows;
For details, reference can be made to S101, and details are not described herein again.
The data on flows is switched to the MVP system from the main station system by S207;
For details, reference can be made to S102, and details are not described herein again.
S208 based on the data on flows and uses the MVP system, handles the target service.
For details, reference can be made to S103, and details are not described herein again.
In the application one or more embodiment, service event is occurred using main station system performance objective business when detecting When barrier, the data on flows of the target service is obtained, the data on flows switched to from the main station system and is pre-created Minimum feasible product MVP system based on the data on flows and uses the MVP system, handles the target service.Pass through pumping Each service as simplifying main station system extracts the service in most crucial critical path to create the MVP system for supporting target service System executes the target service using the MVP system when leading to service fault using main station system performance objective business, from And it can avoid the influence that upstream and downstream service involves.Meanwhile the acceptable independent multimachine room deployment of MVP system, such as database, network, Data center all independently disposes, so that not relying between service and main website.
Following is the application Installation practice, can be used for executing the application embodiment of the method.It is real for the application device Undisclosed details in example is applied, the application embodiment of the method is please referred to.
Fig. 4 is referred to, it illustrates the structural representations for the business processing device that one exemplary embodiment of the application provides Figure.The business processing device can by software, hardware or both be implemented in combination with as terminal all or part of.It should Device 1 includes data acquisition module 10, system switching module 20 and Service Processing Module 30.
Data acquisition module 10, for obtaining when detecting using main station system performance objective business generation service fault Take the data on flows of the target service;
System switching module 20, can for the data on flows to be switched to the minimum being pre-created from the main station system Row product MVP system;
Service Processing Module 30, for handling the target industry based on the data on flows and using the MVP system Business.
Optionally, as shown in figure 5, described device further include:
Parameter acquisition module 40, for obtaining the type of service and whole service parameter of target service;
System creation module 50, for creating MVP system based on the type of service and whole service parameters.
Optionally, as shown in figure 5, described device further include:
Parameter filtering module 60 obtains key business parameter for being filtered to whole service parameters;
The system creation module 50, is specifically used for:
Based on the type of service and the key business parameter, MVP system is created.
Optionally, the parameter filtering module 60, is specifically used for:
The data format of whole service parameters is matched with preset data form;
When existing in the data format with the preset data form target data format that it fails to match, filter out The corresponding service parameter of the target data format, obtains key business parameter.
Optionally, as shown in figure 5, described device further include:
Request sending module 70 sends data synchronization request to the main station system for controlling the MVP system;
Data storage module 80, for obtaining the main station system target service that synchronization request acquires based on the data Corresponding business datum saves the business datum into the MVP system.
It should be noted that business processing device provided by the above embodiment is when executing method for processing business, only more than The division progress of each functional module is stated for example, can according to need and in practical application by above-mentioned function distribution by difference Functional module complete, i.e., the internal structure of equipment is divided into different functional modules, with complete it is described above whole or Person's partial function.In addition, business processing device provided by the above embodiment and method for processing business embodiment belong to same design, It embodies realization process and is detailed in embodiment of the method, and which is not described herein again.
Above-mentioned the embodiment of the present application serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
In the application one or more embodiment, service event is occurred using main station system performance objective business when detecting When barrier, the data on flows of the target service is obtained, the data on flows switched to from the main station system and is pre-created Minimum feasible product MVP system based on the data on flows and uses the MVP system, handles the target service.Pass through pumping Each service as simplifying main station system extracts the service in most crucial critical path to create the MVP system for supporting target service System executes the target service using the MVP system when leading to service fault using main station system performance objective business, from And it can avoid the influence that upstream and downstream service involves.Meanwhile the acceptable independent multimachine room deployment of MVP system, such as database, network, Data center all independently disposes, so that not relying between service and main website.
The embodiment of the present application also provides a kind of computer storage medium, the computer storage medium can store more Item instruction, described instruction are suitable for being loaded by processor and being executed the method and step such as above-mentioned Fig. 2-embodiment illustrated in fig. 3, specifically hold Row process may refer to Fig. 2-embodiment illustrated in fig. 3 and illustrate, herein without repeating.
Fig. 6 is referred to, provides a kind of structural schematic diagram of server for the embodiment of the present application.As shown in fig. 6, the clothes Business device 1000 may include: at least one processor 1001, at least one network interface 1004, user interface 1003, memory 1005, at least one communication bus 1002.
Wherein, communication bus 1002 is for realizing the connection communication between these components.
Wherein, user interface 1003 may include display screen (Display), camera (Camera), optional user interface 1003 can also include standard wireline interface and wireless interface.
Wherein, network interface 1004 optionally may include standard wireline interface and wireless interface (such as WI-FI interface).
Wherein, processor 1001 may include one or more processing core.Processor 1001 using it is various excuse and Various pieces in the entire server 1000 of connection, by running or executing the instruction being stored in memory 1005, journey Sequence, code set or instruction set, and call the data that are stored in memory 1005, the various functions of execute server 1000 and Handle data.Optionally, processor 1001 can using Digital Signal Processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array At least one of (Programmable LogicArray, PLA) example, in hardware is realized.Processor 1001 can integrating central Processor (Central Processing Unit, CPU), image processor (Graphics Processing Unit, GPU) With the combination of one or more of modem etc..Wherein, the main processing operation system of CPU, user interface and apply journey Sequence etc.;GPU is used to be responsible for the rendering and drafting of content to be shown needed for display screen;Modem is for handling channel radio Letter.It is understood that above-mentioned modem can not also be integrated into processor 1001, carried out separately through chip piece It realizes.
Wherein, memory 1005 may include random access memory (Random Access Memory, RAM), also can wrap Include read-only memory (Read-Only Memory).Optionally, which includes non-transient computer-readable medium (non-transitory computer-readable storage medium).Memory 1005 can be used for store instruction, journey Sequence, code, code set or instruction set.Memory 1005 may include storing program area and storage data area, wherein storing program area Can store the instruction for realizing operating system, the instruction at least one function (such as touch function, sound play function Energy, image player function etc.), for realizing instruction of above-mentioned each embodiment of the method etc.;Storage data area can store each above The data etc. being related in a embodiment of the method.Memory 1005 optionally can also be that at least one is located remotely from aforementioned processing The storage device of device 1001.As shown in fig. 6, as may include operation system in a kind of memory 1005 of computer storage medium System, network communication module, Subscriber Interface Module SIM and business processing application program.
In server 1000 shown in Fig. 6, user interface 1003 is mainly used for providing the interface of input for user, obtains The data of user's input;And processor 1001 can be used for calling the business processing application program stored in memory 1005, and It is specific to execute following operation:
When detecting using main station system performance objective business generation service fault, the flow of the target service is obtained Data;
The data on flows is switched to the MVP system being pre-created from the main station system;
Based on the data on flows and the MVP system is used, handles the target service.
In one embodiment, the processor 1001 is worked as in execution and is detected using main station system performance objective business hair Before when raw service fault, following operation is also executed:
Obtain the type of service and whole service parameter of target service;
Based on the type of service and whole service parameters, MVP system is created.
In one embodiment, the processor 1001 is executing the type of service and service parameter for obtaining target service Later, following operation is also executed:
Whole service parameters are filtered, key business parameter is obtained;
The processor 1001 is being executed based on the type of service and the service parameter, when creating MVP system, tool Body executes following operation:
Based on the type of service and the key business parameter, MVP system is created.
In one embodiment, the processor 1001 is filtered whole service parameters in execution, is closed It is specific to execute following operation when key service parameter:
The data format of whole service parameters is matched with preset data form;
When existing in the data format with the preset data form target data format that it fails to match, filter out The corresponding service parameter of the target data format, obtains key business parameter.
In one embodiment, the processor 1001 is being executed based on the type of service and the service parameter, After creating MVP system, following operation is also executed:
It controls the MVP system and sends data synchronization request to the main station system;
The main station system corresponding business datum of target service that synchronization request acquires based on the data is obtained, by institute Business datum is stated to save into the MVP system.
In the application one or more embodiment, service event is occurred using main station system performance objective business when detecting When barrier, the data on flows of the target service is obtained, the data on flows switched to from the main station system and is pre-created Minimum feasible product MVP system based on the data on flows and uses the MVP system, handles the target service.Pass through pumping Each service as simplifying main station system extracts the service in most crucial critical path to create the MVP system for supporting target service System executes the target service using the MVP system when leading to service fault using main station system performance objective business, from And it can avoid the influence that upstream and downstream service involves.Meanwhile the acceptable independent multimachine room deployment of MVP system, such as database, network, Data center all independently disposes, so that not relying between service and main website.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory or random access memory etc..
Above disclosed is only the application preferred embodiment, cannot limit the right model of the application with this certainly It encloses, therefore according to equivalent variations made by the claim of this application, still belongs to the range that the application is covered.

Claims (10)

1. a kind of method for processing business, which is characterized in that the described method includes:
When detecting that service fault occurs for main station system performance objective business, the data on flows of the target service is obtained;
The data on flows is switched to the minimum feasible product MVP system being pre-created from the main station system;
Based on the data on flows and the MVP system is used, handles the target service.
2. the method according to claim 1, wherein described ought detect using main station system performance objective business Before when generation service fault, further includes:
Obtain the type of service and whole service parameter of target service;
Based on the type of service and whole service parameters, MVP system is created.
3. according to the method described in claim 2, it is characterized in that, the type of service for obtaining target service and business ginseng After number, further includes:
Whole service parameters are filtered, key business parameter is obtained;
It is described to be based on the type of service and the service parameter, create MVP system, comprising:
Based on the type of service and the key business parameter, MVP system is created.
4. according to the method described in claim 3, obtaining it is characterized in that, described be filtered whole service parameters Key business parameter, comprising:
The data format of whole service parameters is matched with preset data form;
When existing in the data format with the preset data form target data format that it fails to match, filter out described The corresponding service parameter of target data format, obtains key business parameter.
5. according to the method described in claim 2, it is characterized in that, described joined based on the type of service and the business It counts, after creation MVP system, further includes:
It controls the MVP system and sends data synchronization request to the main station system;
The main station system corresponding business datum of target service that synchronization request acquires based on the data is obtained, by the industry Business data are saved into the MVP system.
6. a kind of business processing device, which is characterized in that described device includes:
Data acquisition module, for when detect service fault is occurred using main station system performance objective business when, described in acquisition The data on flows of target service;
System switching module, for the data on flows to be switched to the MVP system being pre-created from the main station system;
Service Processing Module, for handling the target service based on the data on flows and using the MVP system.
7. device according to claim 6, which is characterized in that described device further include:
Parameter acquisition module, for obtaining the type of service and whole service parameter of target service;
System creation module, for creating MVP system based on the type of service and whole service parameters.
8. device according to claim 7, which is characterized in that described device further include:
Parameter filtering module obtains key business parameter for being filtered to whole service parameters;
The system creation module, is specifically used for:
Based on the type of service and the key business parameter, MVP system is created.
9. a kind of computer storage medium, which is characterized in that the computer storage medium is stored with a plurality of instruction, described instruction Suitable for being loaded by processor and being executed the method and step such as Claims 1 to 5 any one.
10. a kind of server characterized by comprising processor and memory;Wherein, the memory is stored with computer journey Sequence, the computer program are suitable for being loaded by the processor and being executed the method and step such as Claims 1 to 5 any one.
CN201910564747.2A 2019-06-27 2019-06-27 A kind of method for processing business, device, storage medium and server Pending CN110351128A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910564747.2A CN110351128A (en) 2019-06-27 2019-06-27 A kind of method for processing business, device, storage medium and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910564747.2A CN110351128A (en) 2019-06-27 2019-06-27 A kind of method for processing business, device, storage medium and server

Publications (1)

Publication Number Publication Date
CN110351128A true CN110351128A (en) 2019-10-18

Family

ID=68183337

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910564747.2A Pending CN110351128A (en) 2019-06-27 2019-06-27 A kind of method for processing business, device, storage medium and server

Country Status (1)

Country Link
CN (1) CN110351128A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102215272A (en) * 2010-04-02 2011-10-12 中兴通讯股份有限公司 Method and system for emergency switching
US20130013774A1 (en) * 2010-11-12 2013-01-10 International Business Machines Corporation Identification of Critical Web Services and their Dynamic Optimal Relocation
CN107682172A (en) * 2017-07-25 2018-02-09 平安科技(深圳)有限公司 Control centre's device, the method and medium of operation system processing
CN107733742A (en) * 2017-11-01 2018-02-23 北京天创凯睿科技有限公司 A kind of business datum interrupted transmission method and apparatus
CN108234212A (en) * 2017-12-29 2018-06-29 深信服网络科技(深圳)有限公司 Mixed cloud disaster recovery method, server and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102215272A (en) * 2010-04-02 2011-10-12 中兴通讯股份有限公司 Method and system for emergency switching
US20130013774A1 (en) * 2010-11-12 2013-01-10 International Business Machines Corporation Identification of Critical Web Services and their Dynamic Optimal Relocation
CN107682172A (en) * 2017-07-25 2018-02-09 平安科技(深圳)有限公司 Control centre's device, the method and medium of operation system processing
CN107733742A (en) * 2017-11-01 2018-02-23 北京天创凯睿科技有限公司 A kind of business datum interrupted transmission method and apparatus
CN108234212A (en) * 2017-12-29 2018-06-29 深信服网络科技(深圳)有限公司 Mixed cloud disaster recovery method, server and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
唐亚阳等: "《创业学》", 30 November 2016, 湖南大学出版社 *

Similar Documents

Publication Publication Date Title
CN107368405B (en) Test system, test method, mock platform, interceptor and client
CN111090699A (en) Service data synchronization method and device, storage medium and electronic device
CN108874389A (en) front end page development framework
CN106648725A (en) Terminal, server and configuration file upgrading method
CN112260853B (en) Disaster recovery switching method and device, storage medium and electronic equipment
CN104220993A (en) Testing system for an integrated software system
CN106331055B (en) Identifier generating means and method
CN109672582A (en) Complete trails monitoring method, equipment, storage medium and device
CN105637478A (en) Computer-aided development of native mobile application code
CN110020356A (en) A kind of code generating method of page module, apparatus and system
CN106101169A (en) A kind of terminal and data reporting method
CN110334072A (en) A kind of distributed file system, file updating method and device
CN110502583A (en) Distributed Data Synchronization method, apparatus, equipment and readable storage medium storing program for executing
CN102970657A (en) Systems and methods for sharing group status within a social network
CN104216698A (en) Webpage registration method and relative device
CN112000911A (en) Page management method and device, electronic equipment and storage medium
CN105573757B (en) The language update method and device of android system
CN108038009A (en) Front and back end exchange method, device and computer equipment based on Web applications
CN111427576A (en) Method, device, storage medium and terminal for configuring application program interface
CN109343858A (en) A kind of build a station automatically container deployment system and its working method based on server-side rendering
CN110515514A (en) A kind of data processing method, device and storage medium
CN108762757B (en) Quick development framework and method for platform service of live broadcast room, server and medium
CN102868746B (en) Method for realizing mobile informationization
CN109559121A (en) Transaction path calls exception analysis method, device, equipment and readable storage medium storing program for executing
CN108464031B (en) The redundancy based on database in telecommunication network

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191018

RJ01 Rejection of invention patent application after publication