CN104580514B - Software application remote debugging method based on cloud computing and device - Google Patents

Software application remote debugging method based on cloud computing and device Download PDF

Info

Publication number
CN104580514B
CN104580514B CN201510043469.8A CN201510043469A CN104580514B CN 104580514 B CN104580514 B CN 104580514B CN 201510043469 A CN201510043469 A CN 201510043469A CN 104580514 B CN104580514 B CN 104580514B
Authority
CN
China
Prior art keywords
service
module
message
security token
log
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510043469.8A
Other languages
Chinese (zh)
Other versions
CN104580514A (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.)
Hangzhou Shopkeeper Logistics Technology Co.,Ltd.
Original Assignee
Ningbo Big Shopkeeper Logistics Service 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 Ningbo Big Shopkeeper Logistics Service Co Ltd filed Critical Ningbo Big Shopkeeper Logistics Service Co Ltd
Priority to CN201510043469.8A priority Critical patent/CN104580514B/en
Publication of CN104580514A publication Critical patent/CN104580514A/en
Application granted granted Critical
Publication of CN104580514B publication Critical patent/CN104580514B/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/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software
    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/321Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority
    • H04L9/3213Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority using tickets or tokens, e.g. Kerberos
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention relates to software application remote debugging methods and device based on cloud computing, including step S1:Log-on message is sent out, and the log-on message is judged, if the correct service startup solicited message that sends out terminates if incorrect;Step S2:Start solicited message to the service to judge, if it is determined that correctly providing security token and being ready to complete information, if incorrect, terminate;Step S3:It is ready to complete information described in reception, and the security token is added to call request;Step S4:Security token described in certification, if certification correctly sends call result, conversely, terminating;Step S5 receives the call result, carries out debugging processing, turns to the step S3.This provides a kind of remote software adjustment method and device based on cloud computing so that commissioning staff fast and effectively can complete debugging operations in cloud system.

Description

Software application remote debugging method based on cloud computing and device
Technical field
The present invention relates to technical field of the computer network, more particularly to the software application remote debugging method based on cloud computing And device.
Technical background
Cloud computing has become the main flow direction of information-based industry, either personal or enterprise-level application, either Mobile application or PC applications, service based on cloud are increasingly becoming mainstream, however, also being brought for the debugging of application very big Challenge.
Before the debugging of software is the program input actual motion that will be worked out, by hand or the methods of compiler is surveyed Examination, corrects the process of syntax error and logic error, and the tool and environment needed for the process under traditional mode very Maturation, software developer largely skillfully use, and it's not true, and efficiency of research and development substantially reduces,.However in the pattern of cloud Under, such environment almost becomes very difficult.Huge cloud computing platform system is substantially unrealistic in local disposition, soft Part developer will must go to develop in software deployment to cloud platform.But the work of coding is not only considerably increased in this way Amount, also increases work step.
How effectively and rapidly development environment is provided for the software development under cloud computing mode at low cost, gives us cloud Cloud service operator, software debugging unit and personnel under the calculating epoch propose great challenge.
In view of drawbacks described above, creator of the present invention obtains the present invention finally by prolonged research and practice.
Invention content
The object of the present invention is to provide a kind of software application remote debugging method and device based on cloud computing, to Solve above-mentioned technological deficiency.
To achieve the above object, the technical solution adopted by the present invention is, provides a kind of software application based on cloud computing Remote debugging method, including:
Step S1:Log-on message is sent out, and the log-on message is judged, if correct send out service startup request Information terminates if incorrect;
Step S2:Start solicited message to the service to judge, if it is determined that correctly providing security token and standard It is standby to complete information, if incorrect, terminate;
Step S3:It is ready to complete information described in reception, and the security token is added to call request;
Step S4:Security token described in certification, if certification correctly sends call result, conversely, terminating;
Step S5 receives the call result, carries out debugging processing, turns to step S3.
Preferably, the step S1 includes:
Step S11:Send out the log-on message;
Step S12:The log-on message is received, and the log-on message is judged, if it is determined that correct turn to step Rapid S13 terminates if incorrect;
Step S13:It sends out service and starts solicited message;
The step S2 includes:
Step S21:Start solicited message to the service to judge, if it is determined that step S22 is correctly turned to, if not Correctly, terminate;
Step S22:Service available information is sent out, and provides security token;
Step S23:The security token is received, sends out and described is ready to complete information.
Preferably, the step S21 includes:
Step S211:The frequency that the service starts different service signal in request is obtained, the service signal includes A kind of main signal and a variety of subsignals;
Step S212:Judge the frequency f of the main signal received0Size, if f0It is 0, terminates, if f0No It is 0, goes to step S213;
Step S213 counts the total flow θ of the service signal;
Step S214 judges the total flow θ and threshold flow θ0Size, if the total flow θ be more than or equal to institute State threshold flow θ0, step S22 is gone to, if the total flow θ is less than the threshold flow θ0, terminate.
Preferably, the calculation formula of the total flow θ is:
Wherein, n is the species number of the subsignal and n is integer more than 1, f0For the frequency of the main signal received Rate, f1、f2……fnIt is followed successively by the corresponding frequency of subsignal described in the n kinds received;w0For the corresponding weight system of the main signal Number;θ is the total flow for receiving the service signal, and i is integer, fiFor the frequency of the i-th seed signal, wiFor the i-th seed signal Weight coefficient.
Preferably, the step S3 includes:
Step S31:It is ready to complete information described in reception, sends out interface packet;
Step S32:It receives the interface packet and is handled, send out call request;
Step S33:The call request is received, and adds the security token;
The step S4 includes:
Step S41:Security token described in certification forwards the call request if certification correctly, conversely, terminating;
Step S42:The call request of forwarding is received, and returns to the call result.
Preferably, in the step S5, after carrying out debugging processing, step S32 is turned to.
Preferably, including:
One logs in unit, sends out log-on message, and judge the log-on message, if correct send out service startup Solicited message is stopped if incorrect;
One service unit is connected with the login unit, and starting solicited message to the service judges, if it is determined that It correctly provides security token and is ready to complete information and be stopped if incorrect;
Steady unit is connected with the service unit, information is ready to complete described in reception, and add institute to call request State security token;
One safety certification unit is connected with the preparatory unit, security token described in certification, if certification correctly sends tune With as a result, conversely, being stopped;
One debugging unit is connected with the safety certification unit and the service unit, receives the call result, carries out Debugging is handled.
Preferably, the login unit includes:
One login sends out module, sends out the log-on message;
One logs in judgment module, and sending out module with the login is connected, and receives the log-on message, and believe the login Breath is judged, if it is determined that correctly then working on, is otherwise stopped;
One service request module is connected with the login judgment module, described in log-on message correct judgment startup Service request module sends out the service and starts solicited message;
The service unit includes:
One service judgment module, is connected with the service request module, receives the service and starts solicited message, and to this Information is judged, if it is determined that correctly then working on, is otherwise stopped;
One secure token module is connected with the service judgment module, provides the security token;
One completes module, connects with the secure token module, receives the security token, and sends out described be ready to complete Information.
Preferably, the service judgment module includes:
One frequency acquisition submodule, is connected with the service request module, obtains the service and starts in solicited message not The frequency of the same service signal;
One main signal judging submodule is connected with the frequency acquisition submodule, judges the main signal received Frequency f0Size, if f0It is 0, is stopped, if f0It is not 0, works on;
One flow judging submodule is connected with the main signal judging submodule, works as f0Start the flow when not being 0 to sentence Disconnected submodule, counts the total flow θ of the service signal;One threshold value comparison submodule, with the flow judging submodule It is connected, judges the total flow θ and the threshold flow θ0Size, if the total flow θ be more than or equal to the threshold value stream Measure θ0, work on, if the total flow θ is less than the threshold flow θ0, it is stopped.
Preferably, the preparatory unit includes:
One receiving module is connected with the completion module, information is ready to complete described in reception, and sends out the interface packet;
One processing module is connected with the receiving module, receives the interface packet and is handled, sends out the calling and ask It asks;
One add module is connected with the processing module and the completion module, receives the call request, and add institute State security token;
The safety certification unit includes:
One authentication module is connected with the add module, security token described in certification, if certification correctly described in forwarding Call request, anyway, it is stopped;
One calling module is connected with the authentication module, receives the call request of forwarding, and returns to the calling knot Fruit.
Compared with prior art, the beneficial effects of the present invention are:Provide a kind of remote software based on cloud computing Adjustment method and device so that commissioning staff can fast and effectively complete debugging operations in cloud system;Provide a kind of clothes Business starts the method that request is judged, improves accuracy and the safety of working efficiency and operation of judgement.
Description of the drawings
Fig. 1 is that the present invention is based on the flow charts of the software application remote debugging method embodiment one of cloud computing;
Fig. 2 is that the present invention is based on the flow charts of the software application remote debugging method embodiment two of cloud computing;
Fig. 3 is that the present invention is based on the flow charts of the software application remote debugging method embodiment three of cloud computing;
Fig. 4 is that the present invention is based on the structural schematic diagrams of the software application remote testing device example IV of cloud computing;
Fig. 5 is that the present invention is based on the structural schematic diagrams of the software application remote testing device embodiment five of cloud computing;
Fig. 6 is that the present invention is based on the structural schematic diagrams of the software application remote testing device embodiment six of cloud computing.
Specific implementation mode
Technical scheme of the present invention and advantageous effect are understood for ease of those skilled in the art, spy is in conjunction with attached drawing pair Specific implementation mode is described below.
Embodiment one
As shown in Figure 1, the software application remote debugging method based on cloud computing, including:
Step S1:Log-on message is sent out, and the log-on message is judged, if correct send out service startup request Information terminates if incorrect;
Step S2:Start solicited message to the service to judge, if it is determined that correctly providing security token and standard It is standby to complete information, if incorrect, terminate;
Step S3:It is ready to complete information described in reception, and the security token is added to call request;
Step S4:Security token described in certification, if certification correctly sends call result, conversely, terminating;
Step S5 receives the call result, carries out debugging processing, turns to step S3.
When work, log-on message is sent out from the ends PC first, cloud platform member authentication system receives the log-on message, and right The log-on message is judged, after successfully can log in cloud platform, it is flat to cloud to send out service startup solicited message from the ends PC Platform.Cloud application member and related software end start request to the service and judge, correct judgment provide security token and It is ready to complete information, if incorrect end flow.PC is ready to complete information described in receiving, and asks cloud platform end addition safety Token.When security token certification is correct, call result is sent to commissioning staff.Commissioning staff carries out debugging processing to call result Afterwards, step S3 is turned back to.Debugging processing is before the program that will work out puts into actual motion, by hand or compiler etc. Method is tested, and the process of syntax error and logic error is corrected.Embodiment two
The software application remote debugging method based on cloud computing, the present embodiment as described in above-described embodiment one propose one The method that kind is improved described step S1, S2, S3 and S4, please refers to Fig. 2.
Step S1 includes:
Step S11:Send out log-on message;
Step S12:The log-on message is received, and the log-on message is judged, if it is determined that correct turn to step Rapid S13 terminates if incorrect;
Step S13:It sends out service and starts solicited message.
The step S2 includes:
Step S21:Start solicited message to the service to judge, if it is determined that step S22 is correctly turned to, if not Correctly, terminate;
Step S22:Service available information is sent out, and provides security token;
Step S23:The security token is received, sends out and is ready to complete information.
Upon step s 2, further include step S3 and step S4, the step S3 include:
Step S31:It is ready to complete information described in reception, sends out interface packet;
Step S32:It receives the interface packet and is handled, send out call request;
Step S33:The call request is received, and adds the security token.
The step S4 includes:
Step S41:Security token described in certification forwards the call request if certification correctly, conversely, terminating;
Step S42:The call request is received, and returns to call result
When work, commissioning staff sends out logging request by the ends PC to cloud platform member authentication system, asks described in login Cloud platform member authentication system.When the cloud platform member authentication system is detected the logging request, if it is decided that institute State logging request it is correct when, successfully log in the cloud platform member authentication system;If it is determined that when the logging request mistake, knot Beam login process.After success logs in the cloud platform member authentication system, the ends PC send out service and start solicited message to cloud platform End.The service is started request message transmission to cloud application member and related software end, the end pair by the cloud platform server-side The service starts solicited message and is checked, judges its availability.If it is correct that the service starts solicited message, the cloud Service available information is sent out to the cloud platform end using member and related software end.The cloud platform end receives the service can After information, security token is sent out to the ends PC, the ends PC receive the security token.Class cloud platform service starts to what service waited for Process is completed.
After the completion of class cloud platform service starts to the process that service waits for, pc client sends out interface packet, commissioning staff After receiving the interface packet, call request is sent out.Commissioning staff minimizes the priority of the interface packet, if one Module appears on local and cloud platform simultaneously, can adjust the configuration of IDE project environments, and limited sequence is called in setting, can be preferential It is invoked at local module, also can preferentially call the module being deployed in cloud as needed.The pc client receives the tune With request, and the security token will be added in the call request.The cloud platform end receives and is added to the security token The call request, and the security token is authenticated.When the security token is correct, the call request is passed It is handed to the cloud application member and related software end.Call result is passed sequentially through cloud by the cloud application member and related software end Platform end, pc client are transferred to commissioning staff.After commissioning staff receives the call result, debugging processing is carried out, it can be with Send out next call request.But when the security token is incorrect, terminate whole process.
Embodiment three
The software application remote debugging method based on cloud computing, the present embodiment as described in above-described embodiment two propose one The method that kind is improved the step S21, please refers to Fig. 3.
When the service initiation information is correct, service available information can be sent out;Conversely, when the service starts letter When breath mistake, it is merely able to terminate whole process.The service initiation information includes two parts, respectively a kind of main signal A and n Seed signal B1, B2 ... Bn, wherein n are the positive number more than 1.The frequency of various signals is different in the service initiation information, The frequency of the main signal A is f0, the subsignal B1, B2 ... the corresponding frequencies of Bn are followed successively by f1、f2、……fn.Main letter The weight coefficient of number A is w0, the weight coefficient of i-th of subsignal is wi.Letter is started to the service got in the unit interval The total flow θ of breath is calculated, when total flow θ is more than or equal to threshold flow θ0When, judge that the service initiation information is correct;When Total flow θ is less than threshold flow θ0When, judge the service initiation information mistake.The computational methods of the total flow are:
Wherein, w0The weight coefficient of ∈ (1,3), i-th of subsignal are wiComputational methods be:
wi=i-2/3
So the calculation formula of the total flow can be reduced to:
Service initiation information is detected, if there is no main signal A, illustrates the service initiation information mistake, no It needs again to calculate service initiation information total flow, improves statistical efficiency;If there is main signal A, it is necessary to count The total flow of service initiation information.This judgment mode is not only able to improve computational efficiency, and can improve to the service Start the accuracy that information judges.
Step S21 includes:
Step S211:The frequency that the service starts different service signal in request is obtained, the service signal includes A kind of main signal and a variety of subsignals;
Step S212:Judge the frequency f of the main signal received0Size, if f0It is 0, terminates, if f0It is not 0, go to step S213;
Step S213, counts the total flow θ of the service signal, and the calculation formula of the total flow θ is:
Wherein, n is the species number of the subsignal and n is integer more than 1, f0For the frequency of the main signal received Rate, f1、f2……fnIt is followed successively by the corresponding frequency of subsignal described in the n kinds received;w0For the corresponding weight system of the main signal Number;w1、w2……wnThe respectively corresponding weight coefficient of subsignal described in n kinds;θ is the total flow for receiving the service signal, i For integer, fiFor the frequency of the i-th neutron signal, wiFor the weight coefficient of the i-th seed signal;
Step S214 judges the total flow θ and threshold flow θ0Size, if the total flow θ be more than or equal to institute State threshold flow θ0, step S22 is gone to, if the total flow θ is less than the threshold flow θ0, terminate.
Example IV
The software application remote debugging method based on cloud computing as described in above-described embodiment three, present embodiments provides one Software application remote testing device of the kind based on cloud computing, as shown in Figure 4.
Software application remote testing device based on cloud computing, including:
One logs in unit 01, sends out log-on message, and judge the log-on message, is opened if correctly sending out service Dynamic solicited message is stopped if incorrect;
One service unit 02 is connected with the login unit 01, and starting solicited message to the service judges, if Correct judgment provides security token and is ready to complete information and is stopped if incorrect;
Steady unit 03 is connected with the service unit 02, information is ready to complete described in reception, and add to call request Add the security token;
One safety certification unit 04, is connected with the preparatory unit 03, security token described in certification, if certification is correctly sent out Call result is sent, conversely, being stopped;
One debugging unit 05, is connected with the authentication unit and the service unit 02, receives the call result, carries out Debugging is handled.
When work, the preparatory unit 03 sends out log-on message, and judges the log-on message, if correct hair Go out service startup solicited message to be stopped if incorrect.Service unit 02 starts solicited message to the service and carries out Judge, is stopped if incorrect if it is determined that correctly providing security token and being ready to complete information.Preparatory unit 03 It is ready to complete information described in reception, and the security token is added to call request.Safety described in 04 certification of safety certification unit Token, if certification correctly sends call result, conversely, being stopped.Debugging unit 05 receives the call result, is adjusted Examination is handled.
Embodiment five
The software application remote testing device based on cloud computing as described in above-mentioned example IV, present embodiments provides one Kind changes the login unit 01, the service unit 02, the preparatory unit 03 and the safety certification unit 04 Into device, as shown in Figure 5.
The login unit 01 includes:
One login sends out module 11, sends out the log-on message;
One logs in judgment module 12, and sending out module 11 with the login is connected, and receives the log-on message, and step on to described Record information is judged, if it is determined that correctly starting service request module 13, is otherwise stopped;
One service request module 13 is connected with the login judgment module 12, sends out service and starts solicited message.
The service unit 02 includes:
One service judgment module 21, is connected with the service request module 13, receives the service request module 13 and send out The service start solicited message, and the information is judged, if it is determined that correctly starting secure token module 22, otherwise It is stopped;
One secure token module 22 is connected with the service judgment module 21, provides security token;
One completes module 23, connects with the secure token module 22, receives the security token, and send out and be ready to complete Information.
The preparatory unit 03 includes:
One receiving module 31, the receiving module 31 described are ready to complete information, concurrent outgoing interface packet for receiving;
One processing module 32, is connected with the receiving module 31, receives the interface packet and is handled, sends out calling and ask It asks;
One add module 33 is connected with the processing module 32 and the completion module 23, receives the call request, and Add the security token.
The safety certification unit 04 includes:
One authentication module 41, is connected with the add module 33, and security token described in certification forwards if certification correctly The call request, anyway, it is stopped;
One calling module 42, is connected with the authentication module 41, receives the call request, and return to call result.
When work, start to log in and send out module 11, send out the log-on message, and the log-on message is transferred to described Log in judgment module 12.The login judgment module 12 judges the log-on message, if it is determined that correctly, described in startup Service request module 13, is otherwise stopped.After the service request module 13 starts, sends out service and start solicited message. The service judgment module 21 receives service and starts solicited message, and judges the information, if it is determined that correctly then starting The secure token module 22, is otherwise stopped.After the secure token module 22 starts, security token is provided, it is described It completes module 23 and receives security token, and send out and be ready to complete information.
Receiving module 31 receive it is described be ready to complete information, concurrent outgoing interface packet, post-processing module 32 receive the place Reason is wrapped and is handled, and call request is sent out.The add module 33 receives the call request, and adds the completion module 23 security tokens passed over.The authentication module 41 is authenticated the security token later, starts if correct The calling module 42, is otherwise stopped.After the calling module 42 starts, the call request is received, and return to tune With result.The debugging unit 05 receives the call result, carries out a series of debugging processing, and continues to start processing module 32, carry out next round operation.
Embodiment six
The software application remote testing device based on cloud computing as described in above-mentioned example IV, present embodiments provides one The device that kind is improved the service judgment module 21, as shown in Figure 6.
The service judgment module 21 includes:
One frequency acquisition submodule 211:It is connected with the service request module 13, obtains the service and start in request not The frequency of same service signal, the service signal includes a kind of main signal and a variety of subsignals;
One main signal judging submodule 212:It is connected with the frequency acquisition submodule 211, judges the main letter received Number frequency f0Size, if f0It is 0, is stopped, if f0It is not 0, starts flow judging submodule 213;
One flow judging submodule 213:It is connected with the main signal judging submodule 212, counts the service signal Total flow θ;
One threshold value comparison submodule 214:It is connected with the flow judging submodule 213, judges the total flow θ and threshold value Flow θ0Size, if the total flow θ be more than or equal to the threshold flow θ0, start the secure token module 22, if The total flow θ is less than the threshold flow θ0, it is stopped.
When work, the frequency acquisition submodule 211 receives the service and starts solicited message, and obtains main in the information Signal frequency f0With the frequency f of a variety of subsignalsi.Frequency f of the main signal judging submodule 212 to the main signal0It is big It is small to be judged, if f0It is 0, is stopped, if f0It is not 0, starts flow judging submodule 213.When the flow judges After submodule 213 starts, the total flow θ of the service signal is counted.Start threshold value comparison sub-module 214 later, to described total Flow θ and threshold flow θ0Size judged, if the total flow θ be more than or equal to the threshold flow θ0, start institute Secure token module 22 is stated, if the total flow θ is less than the threshold flow θ0, it is stopped.
The foregoing is merely presently preferred embodiments of the present invention, is merely illustrative for the purpose of the present invention, and not restrictive 's.Those skilled in the art understand that in the spirit and scope defined by the claims in the present invention many changes can be carried out to it And modification or even equivalent, but fall in protection scope of the present invention.

Claims (6)

1. a kind of software application remote debugging method based on cloud computing, which is characterized in that including
Step S1:The ends PC send out log-on message, and judge the log-on message, if correct send out service startup request Information terminates if incorrect;
The step S1 includes:
Step S11:The ends PC send out the log-on message;
Step S12:Cloud platform end receives the log-on message, and judges the log-on message, if it is determined that correct turn To step S13, if incorrect, terminate;
Step S13:The ends PC send out the service and start solicited message;
Step S2:Cloud platform end to the service start solicited message judge, if it is determined that correctly provide security token with And it is ready to complete information, if incorrect, terminate;
The step S2 includes:
Step S21:Cloud platform end starts solicited message to the service and judges, if it is determined that correctly turning to step S22, such as Fruit is incorrect, terminates;
The step S21 includes:
Step S211:Cloud platform end obtains the frequency that the service starts different service signal in request, the service signal Including a kind of main signal and a variety of subsignals;
Step S212:Cloud platform end judges the frequency f of the main signal received0Size, if f0It is 0, terminates, if f0It is not 0, goes to step S213;
Step S213, cloud platform end count the total flow θ of the service signal;
Step S214, cloud platform end judge the total flow θ and threshold flow θ0Size, if the total flow θ is more than or equal to The threshold flow θ0, the step S22 is gone to, if the total flow θ is less than the threshold flow θ0, terminate;
Step S22:Cloud platform end sends out service available information, and provides the security token;
Step S23:The ends PC receive the security token, and cloud platform end, which is sent out, described is ready to complete information;
Step S3:The ends PC are ready to complete information described in receiving, and add the security token to call request;
Step S4:Security token described in the certification of cloud platform end, if certification correctly sends call result, conversely, terminating;
The ends step S5, PC receive the call result, carry out debugging processing, and the debugging processing is that the program that will be worked out is put into fact Before the operation of border, the process of syntax error and logic error is corrected, the step S3 is turned to.
2. the software application remote debugging method according to claim 1 based on cloud computing, which is characterized in that total stream Amount θ calculation formula be:
Wherein, n is the species number of the subsignal and n is integer more than 1, f0For the frequency of the main signal received, f1、f2……fnIt is followed successively by the corresponding frequency of subsignal described in the n kinds received;w0For the corresponding weight coefficient of the main signal; θ is the total flow for receiving the service signal, and i is integer, fiFor the frequency of the i-th seed signal, wiFor the power of the i-th seed signal Weight coefficient.
3. the software application remote debugging method according to claim 1 based on cloud computing, which is characterized in that the step S3 includes:
Step S31:The ends PC are ready to complete information described in receiving, and send out interface packet;
Step S32:Cloud platform end receives the interface packet and is handled, and sends out the call request;
Step S33:The ends PC receive the call request, and add the security token;
The step S4 includes:
Step S41:Security token described in the certification of cloud platform end forwards the call request if certification correctly, conversely, knot Beam;
Step S42:The ends PC receive the call request of forwarding, and return to the call result.
4. the software application remote debugging method according to claim 3 based on cloud computing, which is characterized in that the step In S5, after carrying out debugging processing, the step S32 is turned to.
5. a kind of software application remote testing device based on cloud computing, which is characterized in that including:
One logs in unit, judges for sending out log-on message, and to the log-on message, if correct send out service startup Solicited message is stopped if incorrect;
One service unit is connected with the login unit, judges for starting solicited message to the service, if it is determined that It correctly provides security token and is ready to complete information and be stopped if incorrect;
Steady unit is connected with the service unit, for receive it is described be ready to complete information, and institute is added to call request State security token;
One safety certification unit is connected with the preparatory unit, for security token described in certification, if certification correctly sends tune With as a result, conversely, being stopped;
One debugging unit is connected with the safety certification unit and the service unit, for receiving the call result, carries out Debugging is handled;
The login unit includes:
One login sends out module, for sending out the log-on message;
One logs in judgment module, and sending out module with the login is connected, and believes for receiving the log-on message, and to the login Breath is judged, if it is determined that correctly then working on, is otherwise stopped;
One service request module is connected with the login judgment module, described in starting when the log-on message correct judgment Service request module sends out the service and starts solicited message;
The service unit includes:
One service judgment module, is connected with the service request module, starts solicited message for receiving the service, and to this Information is judged, if it is determined that correctly then working on, is otherwise stopped;
One secure token module is connected with the service judgment module, for providing the security token;
One completes module, connects with the secure token module, for receiving the security token, and sends out described be ready to complete Information;
The service judgment module includes:
One frequency acquisition submodule, is connected with the service request module, starts in solicited message not for obtaining the service The frequency of same service signal;
One main signal judging submodule is connected with the frequency acquisition submodule, the frequency f of the main signal for judging to receive0 Size, if f0It is 0, is stopped, if f0It is not 0, works on;
One flow judging submodule is connected with the main signal judging submodule, works as f0Start the flow when not being 0 and judges son Module counts the total flow θ of the service signal;
One threshold value comparison submodule is connected with the flow judging submodule, for judging the total flow θ and threshold flow θ0 Size, if the total flow θ be more than or equal to the threshold flow θ0, work on, if the total flow θ is less than described Threshold flow θ0, it is stopped.
6. the software application remote testing device according to claim 5 based on cloud computing, which is characterized in that the preparation Unit includes:
One receiving module is connected with the completion module, and described information, concurrent outgoing interface packet are ready to complete for receiving;
One processing module is connected with the receiving module, for receiving the interface packet and being handled, sends out the calling and asks It asks;
One add module is connected with the processing module and the completion module, for receiving the call request, and adds institute State security token;
The safety certification unit includes:
One authentication module is connected with the add module, for security token described in certification, if certification correctly described in forwarding Call request, anyway, it is stopped;
One calling module is connected with the authentication module, the call request for receiving forwarding, and returns to the calling knot Fruit.
CN201510043469.8A 2015-01-28 2015-01-28 Software application remote debugging method based on cloud computing and device Active CN104580514B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510043469.8A CN104580514B (en) 2015-01-28 2015-01-28 Software application remote debugging method based on cloud computing and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510043469.8A CN104580514B (en) 2015-01-28 2015-01-28 Software application remote debugging method based on cloud computing and device

Publications (2)

Publication Number Publication Date
CN104580514A CN104580514A (en) 2015-04-29
CN104580514B true CN104580514B (en) 2018-11-02

Family

ID=53095671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510043469.8A Active CN104580514B (en) 2015-01-28 2015-01-28 Software application remote debugging method based on cloud computing and device

Country Status (1)

Country Link
CN (1) CN104580514B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580513B (en) * 2015-01-28 2018-11-02 宁波大掌柜物流服务有限公司 Software application based on cloud computing remotely researches and develops method and device
US9971675B2 (en) 2016-04-04 2018-05-15 International Business Machines Corporation Triggering debug processing within a scalable cloud environment
CN108259430A (en) * 2016-12-29 2018-07-06 航天信息股份有限公司 A kind of equipment remote debugging method and system based on secure communication means

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102130947A (en) * 2011-01-30 2011-07-20 深圳市赛远自动化系统有限公司 Remote monitored maintenance method and system based on 3G and cloud computing technology
CN102594914A (en) * 2012-03-15 2012-07-18 广州亦云信息技术有限公司 Remote debugging method based on cloud platform
CN103049385A (en) * 2012-12-29 2013-04-17 百度在线网络技术(北京)有限公司 PHP (professional hypertext preprocessor) code debugging method and PHP code debugging system in cloud environment
CN103593173A (en) * 2012-10-29 2014-02-19 百度在线网络技术(北京)有限公司 Integration development system, integration development method and integration development device for application programs
CN103678125A (en) * 2013-12-03 2014-03-26 华为技术有限公司 Method and system for debugging codes
CN104580513A (en) * 2015-01-28 2015-04-29 奥林网络科技(宁波)有限公司 Remote software application research and development method and device based on cloud computing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102130947A (en) * 2011-01-30 2011-07-20 深圳市赛远自动化系统有限公司 Remote monitored maintenance method and system based on 3G and cloud computing technology
CN102594914A (en) * 2012-03-15 2012-07-18 广州亦云信息技术有限公司 Remote debugging method based on cloud platform
CN103593173A (en) * 2012-10-29 2014-02-19 百度在线网络技术(北京)有限公司 Integration development system, integration development method and integration development device for application programs
CN103049385A (en) * 2012-12-29 2013-04-17 百度在线网络技术(北京)有限公司 PHP (professional hypertext preprocessor) code debugging method and PHP code debugging system in cloud environment
CN103678125A (en) * 2013-12-03 2014-03-26 华为技术有限公司 Method and system for debugging codes
CN104580513A (en) * 2015-01-28 2015-04-29 奥林网络科技(宁波)有限公司 Remote software application research and development method and device based on cloud computing

Also Published As

Publication number Publication date
CN104580514A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN104778121B (en) The test method of games, apparatus and system
US8336102B2 (en) Delivering malformed data for fuzz testing to software applications
US7861225B2 (en) System and method to combine debugging messages from diverse applications or operating systems executed within a mobile device
US10268566B2 (en) Debugging in a private cloud environment
CN104580514B (en) Software application remote debugging method based on cloud computing and device
US9367415B1 (en) System for testing markup language applications on a device
CN105099811A (en) Interface testing method and device
CN108737243A (en) Conversation message quality detecting method and device
CN106559289A (en) The concurrent testing method and device of SSLVPN gateways
CN106658545A (en) Test method, mobile terminal and server
CN108683704A (en) A kind of Socket network communications test method and its system, storage medium
CN107148031A (en) A kind of method of testing of WiFi module software systems, apparatus and system
CN107395747A (en) A kind of high extended method based on STF platforms
CN103853651B (en) Method for testing software and device
CN106878336A (en) A kind of data interactive method and device
US8701130B2 (en) Implementing remote procedure calls
US8556725B2 (en) Scenario-based load testing apparatus and method
CN112671605A (en) Test method and device and electronic equipment
CN106470200A (en) A kind of auth method and relevant apparatus
CN104580513B (en) Software application based on cloud computing remotely researches and develops method and device
CN105243017A (en) Test method and system capable of carrying out login authentication on the basis of SSH (Secure Shell) protocol
CN105577692A (en) Website login authentication method and device
CN106161452B (en) The sending method and device of identifying code
US20140019610A1 (en) Correlated Tracing of Connections through TDS
CN104601400B (en) Shunting device performance test methods, test client and test server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20180906

Address after: 315000 room 2901, Huamao headquarters, 555 Li Li Road, Yinzhou District, Ningbo, Zhejiang, China

Applicant after: Ningbo big manager's logistics service Co.,Ltd.

Address before: 315152 room 1907, Huamao headquarters, 555 Middle Road, Yinzhou District, Ningbo, Zhejiang.

Applicant before: Olymtech

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: 315152 room 1907, Huamao headquarters, 555 Middle Road, Yinzhou District, Ningbo, Zhejiang.

Patentee after: Ningbo big manager's logistics service Co.,Ltd.

Address before: 315000 room 2901, Huamao headquarters, 555 Li Li Road, Yinzhou District, Ningbo, Zhejiang, China

Patentee before: Ningbo big manager's logistics service Co.,Ltd.

CP02 Change in the address of a patent holder
TR01 Transfer of patent right

Effective date of registration: 20221202

Address after: 311100 Floor 4, Building 8, No. 998, Wenyi West Road, Cangqian Street, Yuhang District, Hangzhou, Zhejiang

Patentee after: Hangzhou Shopkeeper Logistics Technology Co.,Ltd.

Address before: 315152 room 1907, Huamao headquarters, 555 Middle Road, Yinzhou District, Ningbo, Zhejiang.

Patentee before: Ningbo big manager's logistics service Co.,Ltd.

TR01 Transfer of patent right