KR20150054484A - Computing apparatus for running web application and method for measuring response time thereof - Google Patents

Computing apparatus for running web application and method for measuring response time thereof Download PDF

Info

Publication number
KR20150054484A
KR20150054484A KR1020130136961A KR20130136961A KR20150054484A KR 20150054484 A KR20150054484 A KR 20150054484A KR 1020130136961 A KR1020130136961 A KR 1020130136961A KR 20130136961 A KR20130136961 A KR 20130136961A KR 20150054484 A KR20150054484 A KR 20150054484A
Authority
KR
South Korea
Prior art keywords
time
server
client
function
response time
Prior art date
Application number
KR1020130136961A
Other languages
Korean (ko)
Inventor
신영재
Original Assignee
주식회사 시큐아이
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 주식회사 시큐아이 filed Critical 주식회사 시큐아이
Priority to KR1020130136961A priority Critical patent/KR20150054484A/en
Publication of KR20150054484A publication Critical patent/KR20150054484A/en

Links

Images

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

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)
  • Debugging And Monitoring (AREA)

Abstract

The present invention relates to a computing device which operates web applications built on Apache Flex platform and a method for measuring the response time for each of the functions supported by the computing device. According to the present invention, a client device, which operates the web applications based on Apache Flex platform, includes: a processor, a display unit, and a response time measuring unit. The processor operates the web applications based on Apache Flex platform, generates a service request for the web applications, and renders the data provided by a server in response to the service request. The display unit displays the rendered data. The response time measuring unit measures the call time or the end time of the function called by the processor.

Description

BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computing device for running a web application, and a method of measuring response time of the computing device.

BACKGROUND OF THE INVENTION 1. Field of the Invention [0002] The present invention relates to a computing device for running a web application, and more particularly, to a computing device for running a web application implemented with a flex and a method for measuring response time of the function.

In Web applications, response time is one of the important indicators for performance measurement. The response time is largely determined by the processing time (Processing Time) from when the client's request reaches the server side to when the client is ready to send a response, the time the client's request arrived at the server, And a rendering time, which is a time required for outputting the data received from the server side to a screen viewed by an end user.

In recent years, the demand for high-performance Web sites has been increasing as more users are demanding faster response time to web applications. Particularly, in addition to improving the performance on the server side, it is becoming more important to improve the performance on the front-end side. As a result, there is a growing interest in rendering time as to how quickly the data delivered by the server can be displayed to the user.

Although a general APM (Application Performance Monitoring) tool can be used to measure the rendering time, it is very difficult to measure the response time for each function in a screen in a flex-based web application.

An object of the present invention is to provide a computing device and a response time measuring method thereof for driving a flex-based web application capable of measuring response time for each function.

Another object of the present invention is to provide a means for determining performance degradation of a computing device based on a measured response time and for improving the performance of the computing device accordingly.

A client apparatus for driving a flex-based web application according to an exemplary embodiment of the present invention is configured to run a flex-based web application, generate a service request for the web application, and transmit data provided by the server in response to the service request A processor to render; A display unit for displaying the rendered data; And a response time measurement unit for measuring a call time or an end time of a function called by the processor.

In an embodiment, the called function is a function for generating the service request, a function for receiving the data provided by the server, or a function for performing the rendering.

As an embodiment, the processor refers to the measured call time or end time to calculate a function-specific response time of the client apparatus or the server.

As an embodiment, the processing time refers to the first time at which the server receives the service request and the second time at which the server provides the data, thereby calculating the functional response time of the client device or the server .

As an embodiment, the first time and the second time are measured by the server, and the client device, through a Hyper Text Markup Language (HTML) page, the server measures the first time and the second time Or not.

As an embodiment, the calculated function-specific response time is transmitted to the server and stored as log information of the user or the client apparatus.

 In one embodiment of the present invention, the calculated function-specific response time may be a processing time indicating a time required for the server to process the service request, a transmission time indicating a time required for data transmission between the client device and the server, And a rendering time indicating the time taken for rendering the data.

As an embodiment, it further includes a storage unit for temporarily or non-temporarily storing the measured call time, the measured end time, or the calculated function-specific response time.

As an embodiment, it is determined whether to measure the call time or the end time of the function according to the user information corresponding to the connection of the client apparatus to the server.

As an embodiment, the response time measuring unit may further include a timer for providing time information on a predetermined time point.

In an embodiment, the timer is synchronized with another timer included in the server.

A server for running a flex-based web application on a client device according to an embodiment of the present invention includes a control unit for processing the service request in response to a service request received from a client apparatus for driving a flex-based web application; A response time measuring unit for measuring a first time at which the service request is received from the client apparatus and a second time at which the client apparatus is provided with a result of processing the service request; And a storage unit for storing a function response time calculated with reference to the measured first time and the second time as log information corresponding to the client apparatus.

In an embodiment, the first time and the second time are provided to the client device for calculating the function response time.

As an embodiment, the function-specific response time may be a processing time indicating a time required for the server to process the service request, a transmission time indicating a time required for data transmission between the client device and the server, And a rendering time indicating the time taken to render the result of processing the service request.

As an embodiment, the Hyper Text Markup Language (HTML) page of the client device controls whether the server measures the first time and the second time.

According to the present invention, it is possible to measure the response time of each function of the computing device driving the flex-based web application.

Further, based on the measured response time, it is possible to determine which of the functions of the computing apparatus is degraded, and thereby improve the performance of the computer apparatus more easily.

1 is a block diagram schematically illustrating a computing system according to the present invention.
2 is a block diagram exemplarily showing the configuration of the client shown in Fig.
3 is a block diagram exemplarily showing the configuration of the server shown in Fig.
FIG. 4 is a diagram illustrating an exemplary method for measuring a function-specific response time according to an exemplary embodiment of the present invention.
5 is a diagram showing a processing time calculating method of the server shown in FIG.
6 is a diagram illustrating a transmission time calculation method of the client and the server shown in FIG.
7 is a view showing a rendering time calculation method of the client shown in FIG.
FIG. 8 is a flowchart illustrating a method of calculating a function response time according to an exemplary embodiment of the present invention.
9 is a diagram illustrating a method for controlling response time measurement of a server, in accordance with an embodiment of the present invention.
10 is a diagram illustrating a method for controlling response time measurement of a client, in accordance with an embodiment of the present invention.

The following detailed description of the invention refers to the accompanying drawings, which illustrate, by way of illustration, specific embodiments in which the invention may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention. The various embodiments of the invention are different, but are not meant to be mutually exclusive. For example, certain features, structures, and characteristics described herein may be implemented in other embodiments without departing from the spirit and scope of the invention in connection with one embodiment. In addition, the position or arrangement of the individual components within each disclosed embodiment may be varied without departing from the spirit and scope of the present invention.

The following detailed description is, therefore, not to be taken in a limiting sense, and the scope of the present invention encompasses possible embodiments within the scope of the appended claims and their equivalents. Where similar reference numerals are used in the figures, similar reference numerals used refer to the same or similar functions for various embodiments.

1 is a block diagram schematically illustrating a computing system according to the present invention. Referring to FIG. 1, a computing system 1000 includes a client 1100 for running a flex-based web application and a server 1200 for processing a web application service requested from the client 1100. The client 1100 and the server 1200 are connected to each other via a wired / wireless network.

The Flex application, which is designed with a modular structure, loads the compressed flash file (eg, swf) for each module on the screen. Therefore, the data received by the server is actually rendered It is very difficult to measure the time taken until the next time. Therefore, the computing system 1000 according to the present invention measures the operation time for each function or function execution period in the module design and implementation, calculates the response time for each function from the operation time, and records the response time in the server log.

In a web application program, the time it takes to load each web page is important. This is called the response time. In a 3-tier environment, the response time includes both the time the server processes the web application service and the time it takes the data logic to run, as well as the time it takes to simply drive the web page itself. The present invention provides a means for improving the overall performance of the computing system 1000 that measures the response time of each function and records the measured time in a log to drive the web application.

The server 1200 processes the requested web application service from the client 1100 and returns the processed data to the client 1100. The server 1200 measures the time at a specific time point for each section until it receives the service from the client 1100, processes it, and returns it. The measured time may be provided to the client 1100 or stored in the server 1200.

Client 1100 drives a web application (e.g., Flash 11) based on a Flex (or Adobe Flex, 10). Flex is a development environment for developing a cross-platform rich Internet application (RIA) based on the Adobe Flash platform. More specific details regarding the flex are well known in the art, and a description thereof will be omitted.

The client 1100 includes a web browser (not shown) and requests a web application service from the server 1200 through a web browser. Then, the data received from the server 1200 is rendered and provided to the user. The client 1100 transmits a time at a specific point of time to each of the sections until the server 1200 requests the web application service or receives data from the server 1200 or completes the rendering of the received data . The client 1100 calculates the function response time of the web application using the time provided from the server 1200 together with the measured time. The calculated response time may be provided to the server 1200. Further, the client 1100 can generate performance information based on the calculated response time. For example, the client 1100 may generate performance information indicating performance good, performance normal, or poor performance depending on which function response time exceeds a predetermined time. Performance The generated performance information can be provided to the server 1200 or the user.

A specific method for the client 1100 and the server 1200 to measure the time at a specific time point in each section and to calculate the response time for each function of the web application will be described in detail later with reference to FIG.

According to the above configuration, the computing system 1000 can measure the response time of each of the computing devices 1100 and 1200 driving the flex-based web application. Further, based on the measured response time, it is possible to provide information on which function of the computing device 1100 or 1200 has a performance degradation. Thus, the user can more easily determine if the performance of the computing device 1100, 1200 is degraded, and thus the user can more easily improve the performance of the computer device 1100, 1200.

2 is a block diagram exemplarily showing the configuration of the client shown in Fig. 2, the client 1100 includes a processor 1110, a display unit 1120, a storage unit 1130, a response time measurement unit 1140, a timer 1150, and a communication unit 1160.

Processor 1110 controls overall operation of client 1100. The processor 1100 performs an operation for driving a web application and controls an interface between modules of the client 1100. [ The processor 1110 renders data provided from the server 1200 and provides it to the display unit 1120.

The display unit 1120 displays the rendered data to the user as a still image or a moving image. The display unit 1120 may include various video display means. For example, the display unit 1120 may include an LCD (Liquid Crystal Display) module, an OLED (Organic Light Emitting Diode) module, a CRT (Cathode Ray Tube) module, and a PDP (Plasma Display Panel) module.

The storage unit 1130 provides the client 1100 with data storage means. The storage unit 1130 provides a cache memory for the operation of the web application or a storage medium for storing data generated by the processor 1130 or the response time measurement unit 1140. [ In FIG. 2, the storage unit 1130 is shown as one module, but the present invention is not limited thereto. The storage unit 1130 may include a plurality of memories or storage media. Furthermore, the storage unit 1130 may include different types of memories or storage media at the same time.

The storage unit 1130 may include volatile memory or non-volatile memory. The storage unit 1130 may include, for example, one or more hard disks, SRAM, DRAM, MRAM, PRAM, RRAM, FLASH MEMORY, Solid State Drive, and other storage media. The data stored in the storage unit 1130 may be provided to the processor 1110 or the server 1200 under the control of the client 1100.

The response time measuring unit 1140 measures a time at a predetermined time for each function performed by the client 1100. [ For example, the response time measurement unit 1140 may measure the time at the time of transmitting the service request to the server 1200, or when receiving the processed data from the server 1200, respectively. Alternatively, the response time measurement unit 1140 may measure the time when a function related to driving the web application is called or terminated at the client 1100, or at a specific time when the function is operated. For example, the response time measurement unit 1140 may measure the time when the rendering of the data provided from the server 1200 is completed and the rendering is completed. The measured time may be provided to the processor 1110 or the server 1200 to be referred to in calculating the function-specific response time, or may be stored in the storage unit 1130.

As an example, the response time measurement unit 1140 may refer to the time information provided by the timer 1150 to measure the time at a specific point in time.

Timer 1150 provides time information indicating the current time.

For example, when the timer 1150 receives a request for the current time from the response time measuring unit 1140, the timer 1150 generates time information indicating the current time and provides the time information to the response time measuring unit 1140. As an example, the timer 1150 may include an electronic clock for knowing the current time.

When the timer 1150 receives a request for the current time from the response time measuring unit 1140, the timer 1150 receives time information indicating the current time from the outside and provides the time information to the response time measuring unit 1140. As an example, the timer 1150 may include wired / wireless communication means (not shown) or satellite receiving means (not shown) for receiving time information from the outside.

The communication unit 1160 communicably connects the client 1100 and the server 1200. The communication unit 1160 relays data transmission between the client 1100 and the server 1200 through, for example, a wireless LAN or a mobile communication network provided by a mobile communication company. The communication unit 1160 includes hardware or software optimized for various communication standards, and may include general communication means through which an object and an object can be networked.

The communication unit 1160 may be a wireless LAN (Local Area Network), a Metropolitan Area Network (MAN), a Global System for Mobile Network (GSM), an Enhanced Data GSM Environment (EDGE), a High Speed Downlink Packet Access (HSDPA) Wideband Code Division Multiple Access (CDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Bluetooth, Zigbee, Wi-Fi, Voice over Internet Protocol (VoIP) LTE Advanced, IEEE 802.16m, WirelessMAN-Advanced, HSPA +, 3GPP Long Term Evolution (LTE), Mobile WiMAX (IEEE 802.16e), UMB (formerly EV- DO Rev. C), Flash-OFDM, iBurst and MBWA but is not limited to, one or more communication means selected from the group consisting of wireless communication systems, HIPERMAN, Beam-Division Multiple Access (BDMA), World Interoperability for Microwave Access (Wi-MAX)

3 is a block diagram exemplarily showing the configuration of the server shown in Fig. 3, the server 1200 includes a control unit 1210, a storage unit 1220, a response time measurement unit 1230, a timer 1240, and a communication unit 1250.

The control unit 1210 controls the operation of the server 1200 as a whole. The control unit 1200 performs an operation for processing the web application service requested by the client 1100 and controls interfaces between the modules of the server 1200. [

The storage unit 1220 provides the server 1200 with data storage means. The storage unit 1220 provides a cache memory for the operation of the control unit or provides a storage medium for storing data generated by the control unit 1220 or the response time measurement unit 1230. [ The storage unit 1220 may include a log 1221 that controls a connection from the outside (e.g., the client 1100) or stores user information corresponding to the connected user. As an example, the user information of the log 1221 may be referenced to control the response time measurement operation of the client 1100. More specific details of the user information will be described later with reference to FIG.

2, the storage unit 1220 is illustrated as a single module, but the storage unit 1220 may include a plurality of memories or storage media. Furthermore, the storage unit 1220 may include different types of memory or storage media at the same time. The storage unit 1220 may include a volatile memory or a non-volatile memory. The storage unit 1220 may include, for example, one or more hard disks, SRAM, DRAM, MRAM, PRAM, RRAM, FLASH MEMORY, Solid State Drive, and other storage media. The data stored in the storage unit 1220 may be provided to the control unit 1210 or the client 1100 under the control of the server 1200.

The response time measurement unit 1230 measures a time at a predetermined time point for each function performed by the server 1200. [ For example, the response time measurement unit 1230 can measure the time at that time when the server 1200 receives the service request, or when the server 1200 transmits the processed data to the client 1100 have. The measured time may be provided to the control unit 1210 or the client 1100 or stored in the storage unit 1220 to be referred to in calculating the function response time.

As an example, the response time measurement unit 1230 may refer to the time information provided by the timer 1240 to measure the time at a specific point in time.

Timer 1240 provides time information indicating the current time.

For example, when the timer 1240 receives a request for the current time from the response time measuring unit 1230, the timer 1240 generates time information indicating the current time and provides the time information to the response time measuring unit 1230. As an example, the timer 1240 may include an electronic clock for knowing the current time.

When the timer 1240 receives a request for the current time from the response time measuring unit 1230, the timer 1240 receives time information indicating the current time from the outside and provides the time information to the response time measuring unit 1230. As an example, the timer 1240 may include wired / wireless communication means (not shown) or satellite receiving means (not shown) for receiving time information from the outside.

As an example, the timer 1240 may be synchronized with the timer 1150 (see FIG. 2) of the client 1100 to share the current time. With this synchronization, the timers 1150 and 1240 can be configured to display the same time for the same point in time.

The communication unit 1250 communicably connects the client 1100 and the server 1200. The communication unit 1250 relays data transmission between the client 1100 and the server 1200 through, for example, a wireless LAN or a mobile communication network provided by a mobile communication company. The communication unit 1250 may include hardware or software optimized for various communication standards, and may include general communication means through which objects and objects can be networked.

The communication unit 1250 may be a wireless communication unit such as a wireless LAN (Local Area Network), a Metropolitan Area Network (MAN), a Global System for Mobile Network (GSM), an Enhanced Data GSM Environment (EDGE), a High Speed Downlink Packet Access (HSDPA) Wideband Code Division Multiple Access (CDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Bluetooth, Zigbee, Wi-Fi, Voice over Internet Protocol (VoIP) LTE Advanced, IEEE 802.16m, WirelessMAN-Advanced, HSPA +, 3GPP Long Term Evolution (LTE), Mobile WiMAX (IEEE 802.16e), UMB (formerly EV- DO Rev. C), Flash-OFDM, iBurst and MBWA but is not limited to, one or more communication means selected from the group consisting of wireless communication systems, HIPERMAN, Beam-Division Multiple Access (BDMA), World Interoperability for Microwave Access (Wi-MAX)

FIG. 4 is a diagram illustrating an exemplary method for measuring a function-specific response time according to an exemplary embodiment of the present invention. 4, the computing system 2000 includes a client 2100 that runs a flex-based web application, and a server 2200 that processes web application services sent from the client 2100. 4 shows a flow of sequential functions performed by the client 2100 and the server 2200 for running the web application.

Unlike computing devices 2100 and 2200 shown in FIGS. 2 and 3 as hardware modules, FIG. 4 illustrates computing devices 2100 and 2200 as logical functional module units. The logical function modules 2110, 2120, 2210, and 2220 shown in FIG. 4 may be included in any one of the hardware modules shown in FIG. 2 and FIG. 3, or two or more hardware modules may be combined . For example, module 2110 and remote object 2120 can be functional modules that are included and executed by processor 1110 of FIG. 2 and include a web server 2210 and a database and command processing unit 2220 (hereinafter DB / CLI may be in the form of functionally partially combined control unit 1210 and storage unit 1220 of FIG.

Hereinafter, a method of measuring the response time of each function of the computing system 2000 will be described with reference to FIG. 4, the response time (for example, service processing time) performed by the server 2200 and the response time (the data provided from the server) for each functional section performed by the client 2100 The time taken to render the image on the screen) is calculated and stored in the log 2211 of the server 2200. Hereinafter, the time measurement referred to above is performed by the response time measuring units 1140 and 1230 in FIGS. 2 and 3.

First, when a specific function function exe1, 2111 is called in the module 2110 to run the web application, the execution function exe2 2121 is called from the remote object 2120, which is a module for communicating with the server 2200 do. The client 2100 measures the time A at which the execution function 2121 is called and the measured time A is stored in the storage unit 1130 (see FIG. 2). The invocation of the execution function 2121 is completed and a service request for the web application from the client 2100 is transmitted to the server 2200. [

The server 2200 measures the time B at which the service request is received from the client 2100. The server 2200 processes the service received through the web server 2210 and the DB / CLI 2220, and returns the processing result to the client 2100. At this time, the server 2200 measures the time (C) at which the processing result is transmitted to the client 2100. The server 2200 provides the client 2100 with the time (B) at which the service request was received and the time (C) at which the processing result was transmitted as time information. As an example, the measured times B and C may be temporarily or non-temporarily stored in the storage 1220 (see FIG. 3) of the server 1200 before being provided to the client 2100.

When the client 2100 receives the processing result from the server 2200, a result function (result 1, 2122) for handling the processing result on the client side is called on the remote object 2120. At this time, the client 2100 measures the time (D) at which the result function 2122 is called. The measured time D may be stored in the storage unit 1130. The result function 2122 on the remote object 2120 causes another result function 2112 on the module 2110 to cause the rendering function 2113 to be called and executed to retrieve data received from the server 2200 ) Is rendered. The client 2100 measures the time (E) at which the rendering is completed (i.e., the time at which the rendering function 2113 ends), and stores the measured time E in the storage unit 1130. [ The rendered data is displayed on the display 1120 (see FIG. 2).

In the above series of function flows, the client 2100 and the server 2200 measure the execution times A, B, C, D, and E for each function. Then, the client 2100 calculates the response time for each function based on the measured times (A, B, C, D, and E).

Hereinafter, referring to Figs. 4 to 7, a specific method of calculating the response time for each function based on the measured times (A, B, C, D, E) will be described. (A), a second time (B), a third time (C), a fourth time (D), and a fifth time Referred to as time (E). 5 to 7 show the processing time of the server 2200, the transmission time between the client 2100 and the server 2200, and the rendering time calculation method of the client 2100, respectively.

4 and 5, the processing time PT of the server 2200 is calculated by subtracting the second time B from the third time C (PT = C-B). That is, the processing time PT means the time taken from when the server 2200 receives the service request to when it transmits the processing result.

4 and 6, the transmission time (TT) between the client 2100 and the server 2200 is set at the first time (A) and the processing time (PT) at the fourth time (D) (TT = DA-PT). That is, the transmission time TT is the time (TT1, first transmission time) required for the transmission of the service request from the client 2100 to the server 2200 and the processing result is transmitted from the server 2200 to the client 2100 (TT2, second transmission time).

As an embodiment, the first transmission time TT1 and the second transmission time TT2 may be calculated separately from the transmission time TT. At this time, the first and second transmission times TT1 and TT2 may be stored in the client 2100 or the server 2200 as the response time for the one-way transmission of the data.

4 and 7, the rendering time RT of the client 2100 is calculated by subtracting the fourth time from the fifth time, which is the time taken until the processing result is received and the rendering is completed ( RT = ED).

When the processing time (PT), the transmission time (TT) and the rendering time (RT) are calculated as the response time according to the above method, the client (2100) And calls a new execution function (exe3, 2123, see FIG. 4) for communication. The calculated response time is transmitted to the server 2200 and stored in the log 2211. Alternatively, the calculated response time may be stored in the client 2100. The response time stored in the server 2200 or the client 2100 may be determined by referring to the performance of the computing device (e.g., the server 2200 or the client 2100) for driving the flex- .

Here, it is described that the response time is calculated by the client 2100, but the present invention is not limited thereto. For example, instead of the client 2100 calculating the response time, the server 2200 can calculate the response time for each function. At this time, the function execution time measured by the client 2100 may be provided to the server 2200 for calculating the response time.

Also, although the computing system 2000 has been described herein as measuring the call time of a function, the present invention is not limited thereto. For example, the computing system 2000 may measure the end time of a function instead of measuring the call time of the function. Similarly, computing system 2000 may measure the occurrence time or call time of a reference value, flag or subfunction indicating the end of rendering function 2113, instead of measuring the end time of rendering function 2113 .

According to the above configuration, the computing system 2000 can measure the response time of each of the computing devices 2100 and 2200 driving the flex-based web application. Further, based on the measured response time, it is possible to provide information as to which function of the computing device 2100, 2200 causes performance degradation. Thus, the user can more easily determine if the performance of the computing devices 2100, 2200 is degraded, and thus the user can more easily improve the performance of the computer devices 2100, 2200.

FIG. 8 is a flowchart illustrating a method of measuring a function response time according to an exemplary embodiment of the present invention. Referring to FIG. 8, the response time measurement method includes steps S110 to S140.

In step S110, the client 2100 (see FIG. 4) calls an execution function for communication with the server to run the flex-based web application.

In step S120, the client 2100 and the server 2200 (see FIG. 4) may perform a predetermined step until the display on the client's screen is completed (or the rendering is completed) based on the processing result at the server And the execution time is measured. At this time, the measured execution time may be at least one of the measurement times A, B, C, D, and E described in FIG. The specific method by which the client 2100 and the server 2200 measure the execution time is the same as described above.

In step S130, the client 2100 calculates a function-specific response time according to the measured execution time. At this time, the client 2100 can calculate the processing time (PT), the transmission time (TT), and the rendering time (RT) described in Figs. The specific method by which the client 2100 calculates the response time is the same as described above.

In step S 140, the client 2100 transmits the calculated response time to the server 2200. The transmitted response time is stored in the log of the server 2200.

According to the above configuration, a method of measuring the response time of each of the computing devices 2100 and 2200 driving the flex-based web application is provided. It is thereby possible to more easily provide the user with information as to which function of the computing device 2100, 2200 is causing the performance degradation. Further, the user can more easily improve the performance of the computer devices 2100 and 2200 by referring to the provided information.

In the following, embodiments with means for controlling whether or not to measure the response time are described in order to prevent the overload of the computing system from increasing by measuring or calculating the response time. For example, to avoid the degradation of the performance of the computing system due to response time measurement and computation, the computing system may be controlled to measure and calculate the response time only at times when system maintenance time or performance tuning is needed. The following embodiments provide specific means for controlling whether or not to calculate the response time as required.

9 is a diagram illustrating a method for controlling response time measurement of a server, in accordance with an embodiment of the present invention. 9, the computing system 3000 includes a client 3100 that runs a flex-based web application and a server 3200 that processes the web application services requested from the client 3100. [ In FIG. 9, the client 3100 includes a Hyper Text Markup Language (HTML) page, which is a static page.

In this embodiment, the computing system 3000 can control whether the response time of the server 3200 is measured by controlling the HTML 3110 of the client 3100. The HTML 3110 controls on / off the static variable 3210 for controlling the response time measurement of the server 3200 according to the control signal. The control signal may be a signal generated by a flag in the client 3100 or a signal for generating a flag in the server 3200. For example, in order to turn on or off the response time measurement of the server 3200, the client 3100 makes a connection to the HTML 3110 page. At this time, the static variable 3210 set in the server 3200 is received and set as the toggle button value of the HTML 3110. When the toggle button is clicked, the value of the static variable 3210 set in the server 3200 is toggled, and the success or failure of the toggle is transmitted to the client 3100. If the toggle is successful, the toggle button value in HTML 3110 remains toggled, and if toggle fails, the toggle button value in HTML 3110 returns to the previous value that was not toggled.

As an example, the toggle button click (or control) of the HTML 3110 can be performed by manual operation of the user or automatically.

10 is a diagram illustrating a method for controlling response time measurement of a client, in accordance with an embodiment of the present invention. 10, the computing system 4000 includes a client 4100 that runs a flex-based web application and a server 4200 that processes the requested web application service from the client 4100. [ In FIG. 10, the server 4200 includes user information corresponding to the user (or client 4100) who has accessed the server 4200. At this time, the user information may be data stored in logs 1221 and 2211 (see FIGS. 3 and 4).

In this embodiment, the computing system 4000 can control whether the client 4100 measures the response time by referring to the user information 4210 of the server 4100. [

First, when the client 4100 accesses the server 4200, the server 4200 searches for the corresponding user information according to the login information 4110 provided from the client 4100. The server 4200 refers to the retrieved user information and provides a control signal to the client 4100. For example, the server 4200 reads a specific variable value from the retrieved user information, and generates a control signal for controlling whether the client 4100 measures the response time according to the read variable value. The generated control signal is sent to the client 4100 to control the static variable 4120 in the client 4100. The client 4100 adjusts the value of the static variable 4120 according to the control signal, and determines whether to measure the response time according to the adjusted result.

While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments.

In addition, although specific terms are used herein, they are used for the purpose of describing the present invention only and are not used to limit the scope of the present invention described in the claims or the claims. Therefore, the scope of the present invention should not be limited to the above-described embodiments, but should be defined by the following claims and their equivalents.

1000, 2000, 3000, 4000: Computing system
1100, 2100, 3100, 4100: clients 2100, 2200, 3200, 4200: server
1110: Processor 1120:
1130, 1220: storage unit 1140, 1230: response time measuring unit
1150 and 1240: Timers 1160 and 1250:
1221, 2211: Log
2110: module 2120: remote object
2210: Web server 2220: DB / CLI

Claims (15)

A processor for driving a flex-based web application, generating a service request for the web application, and rendering data provided by the server in response to the service request;
A display unit for displaying the rendered data; And
And a response time measurement unit that measures a call time or an end time of a function called by the processor.
The method according to claim 1,
Wherein the called function is a function for generating the service request, a function for receiving the data provided by the server, or a function for performing the rendering.
The method according to claim 1,
Wherein the processor calculates a function-specific response time of the client device or the server by referring to the measured call time or end time.
The method of claim 3,
Wherein the processing time refers to a first time at which the server receives the service request and a second time at which the server provides the data to calculate the functional response time of the client device or the server, A client device running a web application.
5. The method of claim 4,
Wherein the first time and the second time are measured by the server,
Wherein the client device controls, via an HTML (Hyper Text Markup Language) page, whether the server measures the first time and the second time.
The method of claim 3,
And the calculated response time for each function is transmitted to the server and stored as log information of the user or the client device.
The method of claim 3,
Wherein the calculated function-specific response time is a processing time indicating a time required for the server to process the service request, a transmission time indicating a time required for data transmission between the client device and the server, And a rendering time that represents the amount of time spent rendering the client application.
The method of claim 3,
And a storage unit for temporarily or non-temporarily storing the measured call time, the measured end time, or the calculated function-specific response time.
The method according to claim 1,
Based on the user information corresponding to the connection of the client device to the server, whether to measure the call time or the end time of the function.
The method according to claim 1,
And a timer for providing time information on a predetermined time point to the response time measurement unit.
11. The method of claim 10,
Wherein the timer is synchronized with another timer included in the server.
A control unit for processing the service request in response to a service request received from a client apparatus for driving a flex-based web application;
A response time measuring unit for measuring a first time at which the service request is received from the client apparatus and a second time at which the client apparatus is provided with a result of processing the service request; And
And a storage unit for storing a function response time calculated with reference to the first time and the second time as the log information corresponding to the client apparatus.
13. The method of claim 12,
Wherein the first time and the second time are provided to the client device for calculating the functional response time.
14. The method of claim 13,
Wherein the function response time is a processing time indicating a time required for the server to process the service request, a transmission time indicating a time required for data transmission between the client device and the server, And a rendering time that represents the amount of time spent rendering a result.
13. The method of claim 12,
Wherein the server is controlled by the Hyper Text Markup Language (HTML) page of the client device whether the server measures the first time and the second time.
KR1020130136961A 2013-11-12 2013-11-12 Computing apparatus for running web application and method for measuring response time thereof KR20150054484A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020130136961A KR20150054484A (en) 2013-11-12 2013-11-12 Computing apparatus for running web application and method for measuring response time thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020130136961A KR20150054484A (en) 2013-11-12 2013-11-12 Computing apparatus for running web application and method for measuring response time thereof

Publications (1)

Publication Number Publication Date
KR20150054484A true KR20150054484A (en) 2015-05-20

Family

ID=53390625

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020130136961A KR20150054484A (en) 2013-11-12 2013-11-12 Computing apparatus for running web application and method for measuring response time thereof

Country Status (1)

Country Link
KR (1) KR20150054484A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180100626A (en) * 2016-01-29 2018-09-11 텐센트 테크놀로지(센젠) 컴퍼니 리미티드 GPU resource reconstruction method, user device, system, and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180100626A (en) * 2016-01-29 2018-09-11 텐센트 테크놀로지(센젠) 컴퍼니 리미티드 GPU resource reconstruction method, user device, system, and storage medium

Similar Documents

Publication Publication Date Title
US9979618B2 (en) Detecting and alerting performance degradation during features ramp-up
US9954970B1 (en) System and method of determining latency
US8572252B2 (en) Extensible dynamic performance instrumentation of pages
US20120194519A1 (en) Image Optimization
US20120324043A1 (en) Access to network content
US9723056B1 (en) Adapting a page based on a client environment
US9098631B2 (en) Methods, devices, systems, and non-transitory machine-readable medium for performing an automated calibration for testing of a computer software application
US10552290B2 (en) Measuring user interface responsiveness
US10102239B2 (en) Application event bridge
US9584579B2 (en) Method and system for providing page visibility information
US9059959B2 (en) Client side management of HTTP sessions
US10999399B2 (en) Offline use of network application
US8667090B2 (en) Delivering a webpage to a client
US8620997B2 (en) Client apparatus, computer system, computer readable program storage medium and display method, each for detecting change of display contents in status bar area to display the change
US20130124971A1 (en) Real time web script refresh using asynchronous polling without full web page reload
US10021210B1 (en) Providing faster data access using multiple caching servers
KR20150054484A (en) Computing apparatus for running web application and method for measuring response time thereof
US9374437B2 (en) Schema validation proxy
US10796079B1 (en) Generating a page layout based upon analysis of session variables with respect to a client device
WO2023103844A1 (en) Data processing method and apparatus
CN110674435A (en) Page access method, server, terminal, electronic equipment and readable storage medium
CN108228359B (en) Method and system for integrating web program and R program to process data
US20140237133A1 (en) Page download control method, system and program for ie core browser
US9692702B1 (en) Automated throttling of website polling
CN109361767B (en) Processing method for optimizing client data display error, server and client

Legal Events

Date Code Title Description
E601 Decision to refuse application