CN102567003A - Method for debugging and realizing services in telecom value added service development environment - Google Patents

Method for debugging and realizing services in telecom value added service development environment Download PDF

Info

Publication number
CN102567003A
CN102567003A CN2010106191254A CN201010619125A CN102567003A CN 102567003 A CN102567003 A CN 102567003A CN 2010106191254 A CN2010106191254 A CN 2010106191254A CN 201010619125 A CN201010619125 A CN 201010619125A CN 102567003 A CN102567003 A CN 102567003A
Authority
CN
China
Prior art keywords
debugging
debug
module
model
service
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
CN2010106191254A
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.)
Shanghai Posts & Telecommunication Designing Consulting Institute Co Ltd
Original Assignee
Shanghai Posts & Telecommunication Designing Consulting Institute 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 Shanghai Posts & Telecommunication Designing Consulting Institute Co Ltd filed Critical Shanghai Posts & Telecommunication Designing Consulting Institute Co Ltd
Priority to CN2010106191254A priority Critical patent/CN102567003A/en
Publication of CN102567003A publication Critical patent/CN102567003A/en
Pending legal-status Critical Current

Links

Images

Abstract

A method for debugging and realizing services in a telecom value added service development environment comprises a process of utilizing a computer to debug a telecom value added service, during the process, an integrated development environment (IDE) module is utilized as a debug window, sends command to a debug module, controls the debug mode and the debug process, and displays the debug information which is sent back by the debug module, and the debug module realizes a specific debug function. The method integrates logic flow debugging and service function debugging into a whole through aiming at the characteristic that a service flow file is based on a component, so a plurality of debugging requirements of users are satisfied. Service logic debugging and function debugging are combined together. An embedded debugging virtual machine simulates a real operating environment, so the debugging accuracy is improved. An information control mechanism is added, so the user can accurately obtain the debug information of each node which is set by the user. Unreasonableness which occurs during the development process can be reduced, so the service development success rate is increased, and the development efficiency is improved.

Description

Service debugging implementation method in a kind of value-added telecom services development environment
Technical field:
The present invention relates to physical field, the information processing technology especially, the service debugging implementation method in particularly a kind of value-added telecom services development environment.
Background technology:
In the prior art, along with the expansion of value-added telecom services, some enterprises have all developed the development platform to value-added telecom services.These business development platforms all are to realize professional exploitation through providing for the business development personnel based on certain fixing programming language and mode mostly.But in practical application, value-added telecom services development environment (SCE) can not be compatible fully with above-mentioned development platform, makes a mistake easily in the business development process, and the business development cycle is long.
Summary of the invention:
The object of the present invention is to provide the service debugging implementation method in a kind of value-added telecom services development environment, the service debugging implementation method in the described this value-added telecom services development environment will solve value-added telecom services development environment and the compatible unfavorable technical matters of other development platform in the prior art.
Service debugging implementation method in this value-added telecom services development environment of the present invention comprises a process of utilizing computing machine debugging value-added telecom services; Be provided with the IDE module in the described value-added telecom services debug system; Wherein, In described process, utilize described IDE module as debug window, the IDE module is sent the mode and the process of instruction and control debugging to a debugging module; The IDE module shows the Debugging message (these information all are string format basically) that is returned by described debugging module, and debugging module is realized concrete debug function.
Further; Described debugging module includes debugging display interface, debugging server, debugging virtual machine and debugging model; Described debugging display interface is confirmed to show the content of Debugging message and the mode that Debugging message shows at the IDE window; Communication between described each organic composition of debugging server debugging module comprises the communication of accomplishing between described virtual machine of debugging and the described debugging model, and debugging model is accomplished the mapping between each debugging model; The operation flow file operation information that dry run produces in the debugging virtual machine is sent to debugging model through the socket interface that debugging server provides; Carry out the renewal that converts operation information each other between the debugging model through debugging model, the information after the renewal is delivered to the debugging display interface, shows at the IDE window at last.
Further, in described process, realize debug function according to the following steps:
Step 1: the developer sends instructions to debugging module Start-up and Adjustment function in the IDE module.
Step 2: after debugging module received this instruction, Debug Server was Debug VM, DebugModel and oneself generates idle socket port numbers.
Step 3:Debug Server tells Debug VM and DebugModel respectively with the port numbers of oneself, set up with the two between communication be connected.For the operation information of next step transport service file is got ready.
Step 4:Debug VM dry run operation flow file also returns running status and logic state information according to setting.And this information is delivered to Debug Server through the interface of socket
Step 5:Debug Server is forwarded to Debug Model with operation information, and Debug Model carries out the conversion of Debug model, accomplishes the renewal of corresponding operation information.
Step 6:Debug UI obtains the operation information of Debug Model through the mode of method call, and according to be provided with confirm to show the content and the mode of operation information.
Step 7: the operation information among the Debug UI is shown to the developer in the IDE window.
The present invention and prior art are compared, and its effect is actively with tangible.The debugging with logic flow debugging and service functional unit combines together based on the characteristics of assembly to the present invention is directed to the operation flow file, has satisfied user's multiple debugging demand.The advantage of this method has:
(1) the service logic debugging is combined with function debugging.
(2) embedded debugging virtual machine mimic actual running environment has improved the accuracy of debugging.
(3) add the message controlling mechanism, make the user can accurately obtain the Debugging message at each node place of user's setting.
(4) user can control the flow process that whole service is carried out through the modification parameter value of thinking.
Adopt adjustment method of the present invention can reduce the irrationality that occurs in the performance history; Strengthen the business development success ratio; Alleviate user's development effort, make the developer can effectively control the cycle of the exploitation of business development process and then shortening business, improve the efficient of exploitation.
Description of drawings:
Fig. 1 is debugging module and the graph of a relation of IDE module in the service debugging implementation method in the value-added telecom services development environment of the present invention.
Fig. 2 is a debugging process flow diagram in the service debugging implementation method in the value-added telecom services development environment of the present invention.
Fig. 3 is a service debugging process flow diagram in the service debugging implementation method in the value-added telecom services development environment of the present invention.
Embodiment:
Embodiment 1:
Like Fig. 1, Fig. 2 and shown in Figure 3; Service debugging implementation method in the value-added telecom services development environment of the present invention comprises a process of utilizing computer run value-added telecom services development system; Be provided with the IDE module in the described value-added telecom services development system, wherein, in described process; Utilize described IDE module as debug window; The IDE module is sent instruction and is controlled the mode and the process of debugging to a debugging module, and the IDE module shows the Debugging message (these information all are string format basically) that is returned by described debugging module, and debugging module is realized concrete debug function.
Further; Described debugging module includes debugging display interface, debugging server, debugging virtual machine and debugging model; Described debugging display interface is confirmed to show the content of Debugging message and the mode that Debugging message shows at the IDE window; Communication between described each organic composition of debugging server debugging module comprises the communication of accomplishing between described virtual machine of debugging and the described debugging model, and debugging model is accomplished the mapping between each debugging model; The operation flow file operation information that dry run produces in the debugging virtual machine is sent to debugging model through the socket interface that debugging server provides; Carry out the renewal that converts operation information each other between the debugging model through debugging model, the information after the renewal is delivered to the debugging display interface, shows at the IDE window at last.
Further, in described process, realize debug function according to the following steps:
Step 1: the developer sends instructions to debugging module Start-up and Adjustment function in the IDE module.
Step 2: after debugging module received this instruction, Debug Server was Debug VM, DebugModel and oneself generates idle socket port numbers.
Step 3:Debug Server tells Debug VM and DebugModel respectively with the port numbers of oneself, set up with the two between communication be connected.For the operation information of next step transport service file is got ready.
Step 4:Debug VM dry run operation flow file also returns running status and logic state information according to setting.And this information is delivered to Debug Server through the interface of socket
Step 5:Debug Server is forwarded to Debug Model with operation information, and Debug Model carries out the conversion of Debug model, accomplishes the renewal of corresponding operation information.
Step 6:Debug UI obtains the operation information of Debug Model through the mode of method call, and according to be provided with confirm to show the content and the mode of operation information.
Step 7: the operation information among the Debug UI is shown to the developer in the IDE window.
Further again, also have single-step debug of operation flow file and interactively debugging (through IDE window modification correlation parameter, continuing then to carry out when can the supporting business flow file implementing certain node) function among the SCE.The present invention accomplishes mutual with the commissioning staff through embedded debugging code in the operation flow file.These codes will be performed when system gets into debugging mode, accomplish the functions such as transmission, modification of the wait of service scripts under running status, parameter, and will be as shown in Figure 3.Concrete steps are following:
Step 1: in the IDE window, making needs debugged operation flow file to get into debugging mode.
Step 2: set up Debug Server and Debug Model and Debug VM being connected between the two.
Step 3: dry run operation flow file in Debug VM.
Step 4: hung up when service scripts is performed corresponding debugging code place and respond to the DebugServer request.
Step 5:Debug Server responds the correlation parameter that can revise service scripts simultaneously according to the instruction of IDE window transmission.
Step 6: the interface that runs to the socket that next node place provides the operation information of the last node of operation flow file through Debug Server is delivered to Debug Model.Send corresponding requirements to DebugServer simultaneously.
Step 7:Debug Model is delivered to DebugUI with operation information after accomplishing the conversion of debugging model, confirm displaying contents and mode through Debug UI after, operation information is shown at the IDE window.
The whole process that the execution of service scripts is being controlled in new debug command is sent in the request of the corresponding Debug Server of step 8:IDE.
Step 9: judge whether end of run of operation flow file, finish then to jump out debugging mode, otherwise jump to step 3.
Can find out that through above step single step is the same with the ultimate principle of interactive debugging with the debud mode of preceding text introduction basically, has just added the controlling mechanism of message on original basis.
Concrete, the idiographic flow that the SP business is debugged in SCE is as shown in Figure 3, and specifically each step is following:
Step 1: the debugging mode that from the IDE window, gets into the operation flow file.
Step 2: the mode of selecting debugging.
Step 3: set up the interface channel that debugging internal operation information transmits.
Step 4: in the virtual operation environment, carry out service scripts and produce operation information.
Step 5: transmit operation information to debugging server.
Step 6: accomplish the mapping of service scripts debugging model and system development platform debugging model.
Step 7: content and the mode of confirming to show operation information.
Step 8: show that in the IDE window operation information is to the user.
Step 9: judge whether to finish, be then to jump out debugging mode, otherwise jump to step 4.

Claims (3)

1. the service debugging implementation method in the value-added telecom services development environment; Comprise a process of utilizing computing machine debugging value-added telecom services; Be provided with the IDE module in the described value-added telecom services debug system; It is characterized in that: in described process, utilize described IDE module as debug window, the IDE module is sent the mode and the process of instruction and control debugging to a debugging module; The IDE module shows the Debugging message that is returned by described debugging module, and debugging module is realized concrete debug function.
2. the service debugging implementation method in the value-added telecom services development environment as claimed in claim 1; It is characterized in that: described debugging module includes debugging display interface, debugging server, debugging virtual machine and debugging model; Described debugging display interface is confirmed to show the content of Debugging message and the mode that Debugging message shows at the IDE window; Described debugging server is realized the communication between each organic composition of debugging module; Comprise the communication of accomplishing between described virtual machine of debugging and the described debugging model; Debugging model is accomplished the mapping between each debugging model, and the operation flow file operation information that dry run produces in the debugging virtual machine is sent to debugging model through the socket interface that debugging server provides, and the function that provides through debugging model realizes the renewal that converts operation information each other between the file debugging model; Information after the renewal is delivered to the debugging display interface, shows at the IDE window at last.
3. the service debugging implementation method in the value-added telecom services development environment as claimed in claim 1 is characterized in that: in described process, realize debug function according to the following steps:
Step 1: the developer sends instructions to debugging module Start-up and Adjustment function in the IDE module;
Step 2: after debugging module received this instruction, Debug Server was Debug VM, DebugModel and oneself generates idle socket port numbers;
Step 3:Debug Server tells Debug VM and DebugModel respectively with the port numbers of oneself, set up with the two between communication be connected.For the operation information of next step transport service file is got ready;
Step 4:Debug VM dry run operation flow file also returns running status and logic state information according to setting.And this information is delivered to Debug Server through the interface of socket;
Step 5:Debug Server is forwarded to Debug Model with operation information, and Debug Model carries out the conversion of Debug model, accomplishes the renewal of corresponding operation information;
Step 6:Debug UI obtains the operation information of Debug Model through the mode of method call, and according to be provided with confirm to show the content and the mode of operation information;
Step 7: the operation information among the Debug UI is shown to the developer in the IDE window.
CN2010106191254A 2010-12-29 2010-12-29 Method for debugging and realizing services in telecom value added service development environment Pending CN102567003A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010106191254A CN102567003A (en) 2010-12-29 2010-12-29 Method for debugging and realizing services in telecom value added service development environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010106191254A CN102567003A (en) 2010-12-29 2010-12-29 Method for debugging and realizing services in telecom value added service development environment

Publications (1)

Publication Number Publication Date
CN102567003A true CN102567003A (en) 2012-07-11

Family

ID=46412517

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010106191254A Pending CN102567003A (en) 2010-12-29 2010-12-29 Method for debugging and realizing services in telecom value added service development environment

Country Status (1)

Country Link
CN (1) CN102567003A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107113196A (en) * 2017-04-12 2017-08-29 深圳怡化电脑股份有限公司 ATM business softwares exploitation adjustment method, system and a kind of simulation ATMP systems
CN111984537A (en) * 2020-08-24 2020-11-24 上海睿成软件有限公司 WebIDE-based software testing method, storage medium and device
CN113836046A (en) * 2021-11-29 2021-12-24 武汉天喻信息产业股份有限公司 Debugging method and system for application program of virtual machine on MCU (microprogrammed control Unit)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6587995B1 (en) * 2000-04-19 2003-07-01 Koninklijke Philips Electronics N.V. Enhanced programmable core model with integrated graphical debugging functionality
CN101046766A (en) * 2006-04-24 2007-10-03 华为技术有限公司 Debugging method and device for telecommunication service development based on model drive
CN101667156A (en) * 2009-09-22 2010-03-10 中兴通讯股份有限公司 Visual service flow debugging method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6587995B1 (en) * 2000-04-19 2003-07-01 Koninklijke Philips Electronics N.V. Enhanced programmable core model with integrated graphical debugging functionality
CN101046766A (en) * 2006-04-24 2007-10-03 华为技术有限公司 Debugging method and device for telecommunication service development based on model drive
CN101667156A (en) * 2009-09-22 2010-03-10 中兴通讯股份有限公司 Visual service flow debugging method and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107113196A (en) * 2017-04-12 2017-08-29 深圳怡化电脑股份有限公司 ATM business softwares exploitation adjustment method, system and a kind of simulation ATMP systems
CN111984537A (en) * 2020-08-24 2020-11-24 上海睿成软件有限公司 WebIDE-based software testing method, storage medium and device
CN111984537B (en) * 2020-08-24 2021-12-07 上海睿成软件有限公司 WebIDE-based software testing method, storage medium and device
CN113836046A (en) * 2021-11-29 2021-12-24 武汉天喻信息产业股份有限公司 Debugging method and system for application program of virtual machine on MCU (microprogrammed control Unit)
CN113836046B (en) * 2021-11-29 2022-02-15 武汉天喻信息产业股份有限公司 Debugging method and system for application program of virtual machine on MCU (microprogrammed control Unit)

Similar Documents

Publication Publication Date Title
CN105447643B (en) Scientific workflow system and method for cloud computing platform
CN106325876B (en) Method, the system of a kind of programming of inline graphicsization and control embedded device
CN104199723B (en) Camera mapping method based on virtual equipment
WO2014048215A1 (en) Development, compiling and debugging method and device for application
CN103268288A (en) Remote real machine debugging method and system of mobile terminal application software
CN103544100A (en) Method, system and client side for testing APP of portable data processing equipment
CN101782848B (en) Simulation software interface integrating method
CN103902305A (en) Software long-distance loading and solidifying method based on TI DSP
CN104932905A (en) Automatic code generation method from AADL to C language
CN204759403U (en) System based on data pass realization equipment internal module thoroughly and upgrade
CN109948213A (en) A kind of synergy emulation method and device based on FMI standard
CN104246702A (en) Workflow compilation
CN103927256A (en) Method for controlling multiple Android devices
CN102567003A (en) Method for debugging and realizing services in telecom value added service development environment
CN104850498A (en) Filling information testing method and filling information testing system
CN104010045B (en) The method that mobile node based on cloud platform performs task
WO2011088644A1 (en) Simulation system, pc side simulator and agent client at mobile terminal side
CN101355774A (en) Method for customizing script automatization using configuration file
CN102736926B (en) The upgrade method of a kind of task based access control template and device, batch upgrading system
CN103051728A (en) Remote-procedure calling method
CN103294532B (en) The method of rapid implementation of matrix switch graphical control system
CN102567002A (en) Method for converting codes in telecom value added service development environment
CN105608774A (en) Intelligent entrance guard control system and control method thereof
CN102779059A (en) Method and device for starting application at Saipan client sides
JP5018176B2 (en) Environment migration server device, terminal device, environment migration method, and environment migration program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120711