CN110442501A - The method, apparatus and electronic equipment of analog service exception - Google Patents

The method, apparatus and electronic equipment of analog service exception Download PDF

Info

Publication number
CN110442501A
CN110442501A CN201910661513.XA CN201910661513A CN110442501A CN 110442501 A CN110442501 A CN 110442501A CN 201910661513 A CN201910661513 A CN 201910661513A CN 110442501 A CN110442501 A CN 110442501A
Authority
CN
China
Prior art keywords
target
information
target object
abnormal operation
abnormal
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.)
Granted
Application number
CN201910661513.XA
Other languages
Chinese (zh)
Other versions
CN110442501B (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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910661513.XA priority Critical patent/CN110442501B/en
Publication of CN110442501A publication Critical patent/CN110442501A/en
Application granted granted Critical
Publication of CN110442501B publication Critical patent/CN110442501B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3457Performance evaluation by simulation

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Debugging And Monitoring (AREA)

Abstract

This application discloses the method, apparatus and electronic equipment of a kind of analog service exception, this method comprises: determining target object and simulation point information in response to the operation of user's selection target exception analog information;The simulation point information is exported to the target object;The target object is obtained in the target abnormal operation information of the corresponding simulation point output of the simulation point information;Control the target abnormal operation of the target object execution and the target abnormal operation information matches.

Description

The method, apparatus and electronic equipment of analog service exception
Technical field
This application involves the method, apparatus and electronics of field of computer technology more particularly to a kind of analog service exception to set It is standby.
Background technique
Financial technology output at present has become financial industry emphasis battlefield, the emphasis in financial core emphasis battlefield.Distribution The demonstration stage of formula finance core application output of products, it usually needs product maturity is shown to client (bank), according to client The processing capacity normally and under abnormal scene applied of requirement demonstration, wherein abnormal scene accounts for 90%.In order to meet demonstration demand, Generally require the customized logic that abnormal scene is added in product and demonstration.
When product faces multiple clients, each client is different for the abnormal scene requirement of application product, if adopting In this way, the reusability of abnormal logic is poor.
Summary of the invention
The embodiment of the present application provides the method, apparatus and electronic equipment of a kind of analog service exception, to solve abnormal logic Reusability difference problem.
In a first aspect, providing a kind of method of analog service exception, comprising:
In response to the operation of user's selection target exception analog information, target object and simulation point information are determined;
The simulation point information is exported to the target object;
The target object is obtained in the target abnormal operation information of the corresponding simulation point output of the simulation point information;
Control the target abnormal operation of the target object execution and the target abnormal operation information matches.
Second aspect provides a kind of device of analog service exception, comprising:
Trigger module determines target object and simulation point letter in response to the operation of user's selection target exception analog information Breath;
Analog information output module, Xiang Suoshu target object export the simulation point information;
Action message obtains module, obtains the target object in the mesh of the corresponding simulation point output of the simulation point information Mark abnormal operation information;
Abnormal operation execution module controls the target of the target object execution and the target abnormal operation information matches Abnormal operation.
The third aspect provides a kind of electronic equipment, comprising:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction uses described when executed Processor executes following operation:
In response to the operation of user's selection target exception analog information, target object and simulation point information are determined;
The simulation point information is exported to the target object;
The target object is obtained in the target abnormal operation information of the corresponding simulation point output of the simulation point information;
Control the target abnormal operation of the target object execution and the target abnormal operation information matches.
Fourth aspect provides a kind of computer-readable medium, the computer-readable medium storage one or more journey Sequence, one or more of programs are when the electronic equipment for being included multiple application programs executes, so that the electronic equipment is held The following operation of row:
In response to the operation of user's selection target exception analog information, target object and simulation point information are determined;
The simulation point information is exported to the target object;
The target object is obtained in the target abnormal operation information of the corresponding simulation point output of the simulation point information;
Control the target abnormal operation of the target object execution and the target abnormal operation information matches.
At least one above-mentioned technical solution that the embodiment of the present application uses can reach following the utility model has the advantages that analog service is different Normal device exports simulation point information to target object, defeated in simulation point corresponding with simulation point information according to target object later Target abnormal operation information out matches corresponding target abnormal operation and controls target object performance objective abnormal operation.Mould The process of quasi- abnormal operation is executed by the device of analog service exception, when other objects need to be implemented abnormal operation, can be answered Other objects are controlled with the device of analog service exception and complete abnormal operation, improve the reusability of abnormal logic.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present application, constitutes part of this application, this Shen Illustrative embodiments and their description please are not constituted an undue limitation on the present application for explaining the application.In the accompanying drawings:
Fig. 1 is the schematic flow chart of the method for the analog service exception of one embodiment of the application.
Fig. 2 is the schematic diagram of the method for the analog service exception of one embodiment of the application.
Fig. 3 is the flow chart of the method for the analog service exception of one embodiment of the application.
Fig. 4 is the structural schematic diagram of the electronic equipment of one embodiment of the application.
Fig. 5 is the structural schematic diagram of the device of the analog service exception of one embodiment of the application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with the application specific embodiment and Technical scheme is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the application one Section Example, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing Every other embodiment obtained under the premise of creative work out, shall fall in the protection scope of this application.
Below in conjunction with attached drawing, the technical scheme provided by various embodiments of the present application will be described in detail.
This application provides a kind of method of analog service exception, this method can by the device of analog service exception come It executes.Fig. 1 is the schematic flow chart of the method for the analog service exception of one embodiment of the application, as shown in Figure 1, simulation The method of service exception, comprising:
S102, in response to the operation of user's selection target exception analog information, determine target object and simulation point information.
Specifically, target object can be target application, and the device of analog service exception is different according to user's selection target The operation of normal analog information determines target object and simulation point information.
Optionally, target object is determined in the operation for selecting abnormal analog information in response to user as one embodiment Before simulation point information, method shown in FIG. 1 further include:
It shows multiple abnormal analog informations, includes target exception analog information, each exception in multiple exception analog informations Include in analog information object information and the corresponding scene information of object information, business information corresponding with scene information and Simulation point information corresponding with business information.
Specifically, before user carries out business demonstration, the device of analog service exception can show multiple to user Abnormal analog information, abnormal analog information include object information, scene information, business information and simulation point information.One object Information can correspond to multiple scene informations, and a scene information can correspond to multiple business information, and a business information can be right Answer multiple simulation point information.Wherein, the operation of user's selection target exception analog information can be user in abnormal analog information On clicking operation.
For example, abnormal analog information include and using the corresponding object information of a, scene information corresponding with scene b, And the corresponding business information of business c and simulation point information e corresponding with abnormal operation d.Abnormal analog information 1 when the user clicks When, it determines that using a be target object, determines that simulation point information e is simulation point information.
In the present embodiment, before user selects simulation point information, multiple abnormal analog informations are shown for user, facilitate use Family selects abnormal analog information.
S104, simulation point information is exported to target object.
Specifically, after target object and simulation point information has been determined, the device of analog service exception will be simulated a little Information is exported to target object.
Optionally, as one embodiment, simulation point information is related to target service;Target application is receiving simulation point After information, operation in response to target application operator to target application, target application performance objective industry in target scene Business.
Specifically, for target application after receiving simulation point information, target application can be according to target application side people Work is operated into target scene simultaneously performance objective business.The simulation corresponding simulation point of point information and target service executed Cheng Youguan, such as simulation point can be performed during target service executes.
Optionally, as one embodiment, simulation point information is related to target service;
Wherein, before exporting simulation point information to target object, method shown in FIG. 1 further include:
Control target object performance objective business in target scene.
Specifically, before exporting simulation point information to target object, control target object executes in target scene Target service.The process for controlling target object performance objective business can be by exporting scene information and business letter to target object Breath, target object is according to scene information and business information come performance objective business.
For example, the device of analog service exception can export target scene information and target service letter to target application Breath, target application enter target scene corresponding with target scene information, and target application executes business corresponding with target service Information.
In the present embodiment, by controlling target object performance objective business in target scene, without manually in target pair As performance objective business is carried out in side, facilitate the abnormal scene for carrying out demonstration target application.
Optionally, as one embodiment, target object performance objective business in target scene is controlled, comprising:
In the case where target service needs repeat, determine whether the number that target service has been repeatedly executed is greater than Or it is equal to setting number.
In the case where target service has been repeatedly executed number and has been less than setting number, mesh is repeated in target scene Mark business is until the number that target service has been repeatedly executed reaches pre-determined number.
Specifically, in the case where target application needs repeat, judge time that target service has been repeatedly executed Whether number is greater than or equal to setting number, in the case where target service has been repeatedly executed number and has been less than setting number, in mesh It is repeated in mark scene.In the case where target service has been repeatedly executed number and has been greater than or equal to setting number, stop holding Row target service.
It for example, is that may be connected due to network using a to for transferring accounts using b using a and using b by target service The problem of connecing causes to transfer accounts unsuccessfully using between a and application b, can attempt to restore to be connected to the network and be repeatedly performed to transfer accounts using a at this time Operation.Whether judgement at this time is greater than or equal to setting number using the repetitive operation of a, and setting number can be set to 2 times, then answer It can be repeated once with a.
In the present embodiment, the number that repeats of target service is defined by setting number, is being repeated When number is less than setting number, target service can be repeated, when repeating number more than or equal to setting number, is stopped Only performance objective business.Different setting numbers can be set to different business, and number is repeated to business and is limited, Promote demonstrating effect.
S106, target object is obtained in the target abnormal operation information of the corresponding simulation point output of simulation point information.
Specifically, target object is during performance objective business, target object to the corresponding simulation of simulation point information When point, target object exports target abnormal operation information to the device of analog service exception in simulation point.
S108, control target object execute the target abnormal operation with target abnormal operation information matches.
Specifically, the device of analog service exception controls target object performance objective according to target abnormal operation information Abnormal operation.Abnormal operation may include the movements such as control control target object suspend mode, run-time exception, and abnormal operation information can To be set as number or uniquely tagged, the device of analog service exception matches corresponding target abnormal operation according to number, in turn Control target object performance objective abnormal operation.
For example, device output abnormality action message from target object to analog service exception, in abnormal operation information Including number 511, the device of analog service exception matches corresponding abnormal operation a according to number 511, controls target object later Execute abnormal operation a.
In the present embodiment, the device of analog service exception exports simulation point information to target object, later according to target pair As the target abnormal operation information in simulation point output corresponding with simulation point information, matches corresponding target abnormal operation and control Target object performance objective abnormal operation processed.The process of simulation abnormal operation is executed by the device of analog service exception, at it When his object needs to be implemented abnormal operation, can application simulation service exception device come control other objects complete abnormal operation, Improve the reusability of abnormal logic.In addition, the process of simulation abnormal operation is executed by the device of analog service exception, apply In only need pre-buried simulation point, abnormal operation can be completed, influence of the logic to application that abnormal operation is completed in is small, just In deleting the simulation point in application, convenient for the output of product.
Optionally, as one embodiment, it is different with the target of target abnormal operation information matches to control target object execution Often movement, comprising:
It is extremely dynamic with the target of target abnormal operation information matches that target object execution is controlled by abnormal simulation tool packet Make, abnormal simulation tool packet and target object are mounted on same terminal device.
Specifically, the device of analog service exception may include console and abnormal simulation tool packet, to target pair Before simulating point information as output, the terminal device where the device to target object of analog service exception sends abnormal simulation work Tool packet, the terminal device where target object install abnormal simulation tool packet after receiving abnormal simulation tool packet.It is different It includes the simulation abnormal logic that abnormal operation is executed for controlling target object that norm, which intends kit,.
When target object exports target abnormal operation information, abnormal simulation tool packet is according to target abnormal operation information With corresponding target abnormal operation, and control target object performance objective abnormal operation.
In the present embodiment, by the way that the logic of analog service exception is packaged as abnormal simulation tool packet, target object passes through Corresponding simulation abnormal logic in target abnormal operation information matches exception simulation tool packet in simulation point, and then realize simulation The movement of target object service exception.It is abnormal to improve simulation without being embedded into target object for the logic of simulation abnormal operation The reusability of the logic of movement;Also, the logic for simulating abnormal operation is stored entirely in abnormal simulation tool packet, convenient for new Increase, simulation abnormal logic is deleted or modified;In addition, the simulation point message complexity in target object is low, convenient for it is newly-increased, delete and Modify the simulation point in target object.
Optionally, as one embodiment, abnormal simulation tool packet is after receiving target abnormal operation information, based on pre- If matching rule, corresponding target abnormal operation is determined, preset matching rule includes that target abnormal operation information and target are abnormal Corresponding relationship between movement, preset matching rule are stored in console.
Specifically, abnormal simulation tool packet is after receiving target abnormal operation information, based on being stored in console Preset matching rule, determines target abnormal operation corresponding with target abnormal operation information.
In the present embodiment, preset matching rule is stored in console, reduces the terminal for installing abnormal simulation tool packet The occupancy of the storage of equipment.
Optionally, extremely dynamic controlling target object performance objective by abnormal simulation tool packet as one embodiment Before work, method further include:
Preset matching rule is sent to abnormal simulation tool packet, preset matching rule includes that abnormal operation information and exception are dynamic Matching relationship between work, so that abnormal simulation tool packet determines target abnormal operation.
Specifically, before controlling target object performance objective abnormal operation by abnormal simulation tool packet, Xiang Yichang Simulation tool packet sends preset matching rule.Abnormal simulation tool packet is after receiving target abnormal operation information, based on local Preset matching rule, determine corresponding with target abnormal operation information target abnormal operation.
In the present embodiment, before matching target abnormal operation corresponding with target abnormal operation information, analog service is different Normal device sends preset matching rule to abnormal simulation tool packet, and abnormal simulation tool packet is receiving target abnormal operation letter After breath, corresponding target can be matched to according to the preset matching rule that same terminal device is arranged in abnormal simulation tool packet Abnormal operation improves the matching speed of target abnormal operation.
Optionally, as one embodiment, preset matching rule includes the corresponding abnormal operation information of target object and mesh Mark the matching relationship between the corresponding abnormal operation of object.
Specifically, the abnormal operation information and abnormal operation for including in preset matching rule are corresponding with target object Information.Preset matching rule corresponding with other application is not output to the terminal device of installation targets object, reduces default The file size of matching rule improves the matching speed between abnormal operation information and abnormal operation, and reduces installation The storage pressure of the terminal device of target object.
The method of the analog service exception of one specific embodiment of the application is discussed in detail below in conjunction with Fig. 2, simulates industry The abnormal method of business can be executed by the device of analog service exception.As shown in Fig. 2, the device of analog service exception includes Simulate console and abnormal simulation tool packet.
Before analog service exception, abnormal simulation tool packet is exported to the server where application, using place Server installs abnormal simulation tool packet, includes the dynamic of the abnormal operation for analog service exception in abnormal simulation tool packet Make library.
The method of analog service exception includes: the abnormal simulation letter that the user of demonstration needs to demonstrate in simulation console selection Breath, the abnormal analog information that simulation console is selected according to user determine target application and simulation point information.Abnormal analog information Including application message, scene information, business information and simulation point information.The device control of analog service exception is multiple to have applied At target service.For target application during completing target service, target application is simulating point output abnormality action message extremely Abnormal simulation tool packet.Such as, simulation console will simulation point information export to using A, simulate later console control using A, Using B and application C in performance objective business, using A in simulation point output abnormality movement letter during performance objective business Breath is extremely mounted on the abnormal simulation tool packet of same server 1 with application A.Abnormal simulation tool packet is dynamic according to the exception received Make information, match corresponding abnormal operation, and controls target application and execute abnormal operation.
In addition, before abnormal simulation tool packet receives abnormal operation information, the abnormal simulation rule of simulation console push Then to abnormal simulation tool packet, abnormal analog rule includes the matching relationship between abnormal operation information and abnormal operation.It is abnormal Simulation tool packet, according to abnormal operation information and abnormal analog rule, determines corresponding after receiving abnormal operation information Abnormal operation.
In the present solution, the process of simulation abnormal operation is executed by the device of analog service exception, needed in other objects Execute abnormal operation when, can application simulation service exception device come control other objects complete abnormal operation, improve exception The reusability of logic.
Fig. 3 is the flow chart of the method for the analog service exception of one embodiment of the application.As shown in figure 3, simulation industry The abnormal method of business can be executed by the device of analog service exception, and the device of analog service exception includes simulation console With abnormal simulation tool packet, before carrying out using demonstration, terminal device output abnormality mould of the simulation console to application place Quasi- kit installs abnormal simulation tool packet using the terminal at place after receiving abnormal simulation tool packet, abnormal to simulate It include for controlling using the maneuver library for completing abnormal operation in kit.
The process of application execution operation flow includes:
302, operation flow is executed.Using can the device of analog service exception control under or the control of staff under Execute operation flow.
304, simulation point is executed.Application execution simulation point is to complete abnormal operation.Using the dress according to analog service exception The simulation point information for setting output is simulating point to abnormal simulation tool packet output abnormality action message.Application execution simulation point Process is mainly completed by abnormal simulation tool packet, and specific step 304 includes:
3042, according to the abnormal operation information identification scene applied in simulation point output.Console is simulated in abnormal simulation Kit obtains the forward direction exception simulation tool packet output scene configuration and action rules configuration of abnormal operation information.Abnormal simulation Kit identifies the corresponding scene of abnormal operation according to abnormal operation information.
3044, according to the mould applied under the scene determined in the abnormal operation information matches step 3042 of simulation point output Quasi- movement.Abnormal simulation tool packet is configured according to the scene and action rules that determine in abnormal operation information and step 3042, really Fixed corresponding action mark.
3046, according to the action mark determined in step 3044, corresponding abnormal operation is obtained from maneuver library and is executed Abnormal operation.
It applies in the process for executing operation flow further include:
306, after executing simulation point, operation flow is continued to complete.
308, demonstration terminates.According to operation flow, operation flow during abnormal operation executes is for the party in request of application No satisfaction it is expected come determine using whether meet demand.
Below in transfer procedure partial service request occur paying party request accept time-out and paying party go out gold after the completion of For throw exception, the method for analog service exception is illustrated.Business is applied by trade center A and account center B two Cooperation is completed, and trade center A is service request entrance, and account center B completes the book keeping operation operation of paying party and beneficiary.
First in the account heart B finds out simulation point, simulation point PAY_BEGIN and simulation point PAY_END, wherein simulation point PAY_BEGIN corresponds to the scene (SCENE01) that paying party request accepts time-out, and simulation point PAY_END corresponds to paying party, and gold is complete out At the scene (SCENE02) of rear throw exception.
Wherein, it completes to bury a little in simulation point before analog service abnormal operation, account center B completes the JAVA after burying a little Code sample is as shown in Table 1.
Table one
Wherein, at least have table two such as in the maneuver library in abnormal simulation tool packet to act.
Table two
Wherein, before executing abnormal operation, the movement matching rule being output in abnormal simulation tool packet is configured at least Including rule as shown in Table 3.
Table three
Paying party request accepts the scene of time-out: simulation console output simulation point PAY_BEGIN, simulation console is to answer SCENE01 is identified with A and application B push current scene, and controls and executes service request using A and application B, wherein application request Corresponding action rules are payAccount=12345.In process of service execution simulation point PAY_BEGIN be matched to extremely it is dynamic Make SLEEP, then execution thread suspend mode simulation time-out, has timed out using A at this time, continue to execute using B.In simulation point PAY_END Do not execute simulated action.
Paying party goes out the scene of throw exception after the completion of gold: simulation console output simulation point PAY_END simulates console Current scene is pushed for application A and application B and identifies SCENE02, and controls and executes service request using A and application B, wherein applying Requesting corresponding action rules is payAccount=12345.Exception is matched in simulation point PAY_END in process of service execution EXCEPTION is acted, then executes throw exception movement.Simulated action is not executed in simulation point PAY_BEGIN.
In the present solution, the process of simulation abnormal operation is executed by the device of analog service exception, needed in other objects Execute abnormal operation when, can application simulation service exception device come control other objects complete abnormal operation, improve exception The reusability of logic.
Below in conjunction with Fig. 4 detailed description according to the electronic equipment of the application one embodiment.With reference to Fig. 4, in hardware layer Face, electronic equipment include processor, optionally, including internal bus, network interface, memory.Wherein, memory may include Memory, such as high-speed random access memory (Random-Access Memory, RAM), it is also possible to further include non-volatile deposit Reservoir (non-volatile memory), for example, at least 1 magnetic disk storage etc..Certainly, which is also possible that it Hardware required for his business.
Processor, network interface and memory can be connected with each other by internal bus, which can be industry Standard architecture (Industry Standard Architecture, ISA) bus, Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..The bus can be divided into address bus, data/address bus, Control bus etc..Only to be indicated with a four-headed arrow in Fig. 4, it is not intended that an only bus or one kind convenient for indicating The bus of type.
Memory, for storing program.Specifically, program may include program code, and said program code includes calculating Machine operational order.Memory may include memory and nonvolatile memory, and provide instruction and data to processor.
Processor is from the then operation into memory of corresponding computer program is read in nonvolatile memory, in logical layer The device of analog service exception is formed on face.Processor executes the program that memory is stored, and is specifically used for executing following behaviour Make:
In response to the operation of user's selection target exception analog information, target object and simulation point information are determined;
The simulation point information is exported to the target object;
The target object is obtained in the target abnormal operation information of the corresponding simulation point output of the simulation point information;
Control the target abnormal operation of the target object execution and the target abnormal operation information matches.
The method of analog service exception disclosed in the above-mentioned embodiment illustrated in fig. 1 such as the application can be applied in processor, Or it is realized by processor.Processor may be a kind of IC chip, the processing capacity with signal.In the process of realization In, each step of the above method can be complete by the integrated logic circuit of the hardware in processor or the instruction of software form At.Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), Network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processor, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing It is field programmable gate array (Field-Programmable GateArray, FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components.It may be implemented or execute the disclosed each side in the embodiment of the present application Method, step and logic diagram.General processor can be microprocessor or the processor is also possible to any conventional processing Device etc..The step of method in conjunction with disclosed in the embodiment of the present application, can be embodied directly in hardware decoding processor and execute completion, Or in decoding processor hardware and software module combination execute completion.Software module can be located at random access memory, dodge It deposits, read-only memory, this fields such as programmable read only memory or electrically erasable programmable memory, register are mature to deposit In storage media.The storage medium is located at memory, and processor reads the information in memory, completes the above method in conjunction with its hardware The step of.
Certainly, other than software realization mode, other implementations are not precluded in the electronic equipment of the application, for example patrol Collect device or the mode of software and hardware combining etc., that is to say, that the executing subject of following process flow is not limited to each patrol Unit is collected, hardware or logical device are also possible to.
The embodiment of the present application also proposed a kind of computer readable storage medium, the computer-readable recording medium storage one A or multiple programs, the one or more program include instruction, which holds when by the electronic equipment including multiple application programs When row, the method that the electronic equipment can be made to execute embodiment illustrated in fig. 1, and be specifically used for executing following methods:
In response to the operation of user's selection target exception analog information, target object and simulation point information are determined;
The simulation point information is exported to the target object;
The target object is obtained in the target abnormal operation information of the corresponding simulation point output of the simulation point information;
Control the target abnormal operation of the target object execution and the target abnormal operation information matches.
Fig. 5 is the structural schematic diagram of the device of the analog service exception of one embodiment of the application.Referring to FIG. 5, In In a kind of Software Implementation, the device 500 of analog service exception can include: trigger module 502, analog information output module 504, action message obtains module 506 and abnormal operation execution module 508, wherein
Trigger module 502 determines target object and simulation point in response to the operation of user's selection target exception analog information Information.
Analog information output module 504, Xiang Suoshu target object export the simulation point information.
Action message obtains module 506, obtains the target object in the corresponding simulation point output of the simulation point information Target abnormal operation information.
Abnormal operation execution module 508 controls the target object and executes and the target abnormal operation information matches Target abnormal operation.
Optionally, as one embodiment, the simulation point information is related to the target service;
Wherein, the device 500 of the analog service exception further include:
Business execution module 510 controls the target object and executes the target service in target scene.
Optionally, as one embodiment, the business execution module 510, comprising:
In the case where target service needs repeat, the number that the target service has been repeatedly executed is determined Whether setting number is greater than or equal to;
In the case where the target service has been repeatedly executed number less than the setting number, in the target scene In repeat the target service until the number that has been repeatedly executed of the target service reaches the pre-determined number.
Optionally, as one embodiment, the device 500 of the analog service exception further include:
It shows multiple abnormal analog informations, includes the target exception analog information in the multiple exception analog information, It include object information, scene information corresponding with the object information and the scene information pair in each exception analog information The business information and simulation point information corresponding with the business information answered.
Optionally, as one embodiment, the abnormal operation execution module 508, comprising:
The institute of the target object execution and the target abnormal operation information matches is controlled by abnormal simulation tool packet Target abnormal operation is stated, the exception simulation tool packet and the target object are mounted on same terminal device.
Optionally, as one embodiment, the device 500 of the analog service exception further include:
Preset matching rule is sent to the abnormal simulation tool packet, the preset matching rule includes abnormal operation information Matching relationship between abnormal operation, so that the exception simulation tool packet determines the target abnormal operation.
Optionally, as one embodiment, the preset matching rule includes the corresponding abnormal operation of the target object Matching relationship between information and the corresponding abnormal operation of the target object.
It should be understood that according to the above-mentioned of each unit in the device 500 of the analog service exception of the embodiment of the present application and its Its operation and/or function is respectively in order to realize the corresponding process of the method in Fig. 1, for sake of simplicity, details are not described herein.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flashRAM).Memory is showing for computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want There is also other identical elements in the process, method of element, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal Replacement, improvement etc., should be included within the scope of the claims of this application.

Claims (10)

1. a kind of method of analog service exception, comprising:
In response to the operation of user's selection target exception analog information, target object and simulation point information are determined;
The simulation point information is exported to the target object;
The target object is obtained in the target abnormal operation information of the corresponding simulation point output of the simulation point information;
Control the target abnormal operation of the target object execution and the target abnormal operation information matches.
2. according to the method described in claim 1, the simulation point information is related to the target service;
Wherein, before the simulation point information to target object output, the method also includes:
It controls the target object and executes the target service in target scene.
3. according to the method described in claim 2, the control target object executes the target industry in target scene Business, comprising:
In the case where target service needs repeat, determine whether is number that the target service has been repeatedly executed More than or equal to setting number;
In the case where the target service has been repeatedly executed number less than the setting number, the weight in the target scene The target service is executed again until the number that the target service has been repeatedly executed reaches the pre-determined number.
4. according to the method described in claim 1, determining target in the operation for selecting abnormal analog information in response to user Before object and simulation point information, the method also includes:
It shows multiple abnormal analog informations, includes the target exception analog information in the multiple exception analog information, each It include object information and the corresponding scene information of the object information in abnormal analog information, corresponding with the scene information Business information and simulation point information corresponding with the business information.
5. according to the method described in claim 1, the control target object executes and the target abnormal operation information Matched target abnormal operation, comprising:
The mesh of the target object execution and the target abnormal operation information matches is controlled by abnormal simulation tool packet Abnormal operation is marked, the exception simulation tool packet and the target object are mounted on same terminal device.
6. according to the method described in claim 5, being held described by the abnormal simulation tool packet control target object Before the row target abnormal operation, the method also includes:
Send preset matching rule to the abnormal simulation tool packet, the preset matching rule include abnormal operation information with it is different The often matching relationship between movement, so that the exception simulation tool packet determines the target abnormal operation.
7. according to the method described in claim 6, the preset matching rule includes the corresponding abnormal operation of the target object Matching relationship between information and the corresponding abnormal operation of the target object.
8. a kind of device of analog service exception, comprising:
Trigger module determines target object and simulation point information in response to the operation of user's selection target exception analog information;
Analog information output module, Xiang Suoshu target object export the simulation point information;
Action message obtains module, and the target for obtaining the target object in the corresponding simulation point output of the simulation point information is different Normal action message;
Abnormal operation execution module controls the target object and executes and the target of target abnormal operation information matches exception Movement.
9. a kind of electronic equipment, comprising:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction uses the processing when executed Device executes following operation:
In response to the operation of user's selection target exception analog information, target object and simulation point information are determined;
The simulation point information is exported to the target object;
The target object is obtained in the target abnormal operation information of the corresponding simulation point output of the simulation point information;
Control the target abnormal operation of the target object execution and the target abnormal operation information matches.
10. a kind of computer-readable medium, the computer-readable medium storage one or more program is one or more of Program is when the electronic equipment for being included multiple application programs executes, so that the electronic equipment executes following operation:
In response to the operation of user's selection target exception analog information, target object and simulation point information are determined;
The simulation point information is exported to the target object;
The target object is obtained in the target abnormal operation information of the corresponding simulation point output of the simulation point information;
Control the target abnormal operation of the target object execution and the target abnormal operation information matches.
CN201910661513.XA 2019-07-22 2019-07-22 Method and device for simulating business abnormality and electronic equipment Active CN110442501B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910661513.XA CN110442501B (en) 2019-07-22 2019-07-22 Method and device for simulating business abnormality and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910661513.XA CN110442501B (en) 2019-07-22 2019-07-22 Method and device for simulating business abnormality and electronic equipment

Publications (2)

Publication Number Publication Date
CN110442501A true CN110442501A (en) 2019-11-12
CN110442501B CN110442501B (en) 2023-09-26

Family

ID=68431055

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910661513.XA Active CN110442501B (en) 2019-07-22 2019-07-22 Method and device for simulating business abnormality and electronic equipment

Country Status (1)

Country Link
CN (1) CN110442501B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113836013A (en) * 2021-09-17 2021-12-24 深圳Tcl新技术有限公司 Embedded point testing method and device, computer equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080034255A1 (en) * 2006-08-01 2008-02-07 Takehiko Nagano Program failure analysis system, failure analysis method, and emulator device
CN101651691A (en) * 2009-08-31 2010-02-17 中兴通讯股份有限公司 Network system, access equipment and application layer service assess method
CN107179763A (en) * 2017-05-19 2017-09-19 上海航天控制技术研究所 The analogy method of satellite control system unit failure is realized in a kind of utilization udp protocol transmission
CN109783363A (en) * 2018-12-14 2019-05-21 深圳壹账通智能科技有限公司 A kind of anomalous event analogy method and device and computer equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080034255A1 (en) * 2006-08-01 2008-02-07 Takehiko Nagano Program failure analysis system, failure analysis method, and emulator device
CN101651691A (en) * 2009-08-31 2010-02-17 中兴通讯股份有限公司 Network system, access equipment and application layer service assess method
CN107179763A (en) * 2017-05-19 2017-09-19 上海航天控制技术研究所 The analogy method of satellite control system unit failure is realized in a kind of utilization udp protocol transmission
CN109783363A (en) * 2018-12-14 2019-05-21 深圳壹账通智能科技有限公司 A kind of anomalous event analogy method and device and computer equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113836013A (en) * 2021-09-17 2021-12-24 深圳Tcl新技术有限公司 Embedded point testing method and device, computer equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN110442501B (en) 2023-09-26

Similar Documents

Publication Publication Date Title
CN112346859B (en) Resource scheduling method and device, electronic equipment and storage medium
CN106339222B (en) A kind of service implementing method and device
CN108683562A (en) Abnormality detection localization method, device, computer equipment and storage medium
CN108694238A (en) Business data processing method, device based on block chain and storage medium
JP2018524713A (en) Payment threshold acquisition method and apparatus
CN109447820B (en) Data processing method, device, computer equipment and storage medium
CN110060139B (en) Accounting processing method and device
CN106897335A (en) A kind of storage method of business datum, the generation method of record identifier and device
CN109145051A (en) The data summarization method and device and electronic equipment of distributed data base
CN109345392B (en) Method and system for issuing programming question, issuing solution code and checking solution code
CN110163634A (en) Withdrawing method and device, electronic equipment based on block chain
US11533163B2 (en) Mining method and device based on blockchain, and computer readable storage medium
CN109146658A (en) A kind of accounting method, device, system and electronic equipment
CN109428682A (en) A kind of Message Processing confirmation method and device
CN111062770A (en) Merchant identification method, equipment and computer readable medium
CN109344173B (en) Data management method and device and data structure
CN107808199A (en) A kind of method and device of article recovery
CN110209582A (en) The statistical method and device of code coverage, electronic equipment, storage medium
CN110442501A (en) The method, apparatus and electronic equipment of analog service exception
CN110322612A (en) Business data processing method, calculates equipment and storage medium at device
CN107395663A (en) Data capture method and device
CN108984421A (en) A kind of information cuing method and device
CN108876339B (en) E-pet transaction method and device based on certificate
CN109150643A (en) A kind of business processing method for detecting abnormality and device
CN110209769A (en) Text filling 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
TA01 Transfer of patent application right

Effective date of registration: 20200924

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200924

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant