JP6919263B2 - Information processing equipment, information processing system, and information processing method - Google Patents

Information processing equipment, information processing system, and information processing method Download PDF

Info

Publication number
JP6919263B2
JP6919263B2 JP2017061518A JP2017061518A JP6919263B2 JP 6919263 B2 JP6919263 B2 JP 6919263B2 JP 2017061518 A JP2017061518 A JP 2017061518A JP 2017061518 A JP2017061518 A JP 2017061518A JP 6919263 B2 JP6919263 B2 JP 6919263B2
Authority
JP
Japan
Prior art keywords
terminal
information processing
error
communication
unit
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
JP2017061518A
Other languages
Japanese (ja)
Other versions
JP2018163595A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2017061518A priority Critical patent/JP6919263B2/en
Publication of JP2018163595A publication Critical patent/JP2018163595A/en
Application granted granted Critical
Publication of JP6919263B2 publication Critical patent/JP6919263B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、情報処理装置、情報処理システム、及び情報処理方法に関する。 The present invention relates to an information processing device, an information processing system, and an information processing method.

近年、スマートフォン等の情報端末において、BLE(Bluetooth(登録商標) Low Energy)や無線LAN(Local Area Network)等の無線通信を用いて、クラウド等のサービスを利用する技術が普及している。 In recent years, in information terminals such as smartphones, technology for using services such as the cloud by using wireless communication such as BLE (Bluetooth (registered trademark) Low Energy) and wireless LAN (Local Area Network) has become widespread.

従来、このような無線通信を用いたサービスを利用する情報端末の開発を行う場合、実運用環境のネットワークにおける遅延をエミュレートして試験を行う技術が知られている(例えば、特許文献1を参照)。 Conventionally, when developing an information terminal that uses such a service using wireless communication, a technique for emulating a delay in a network in an actual operating environment and performing a test is known (for example, Patent Document 1). reference).

特開2005−175915号公報Japanese Unexamined Patent Publication No. 2005-175915 特開2002−138868号公報Japanese Unexamined Patent Publication No. 2002-138868 特開2005−303658号公報Japanese Unexamined Patent Publication No. 2005-303658 特開2009−272800号公報Japanese Unexamined Patent Publication No. 2009-272800

しかしながら、従来技術では、実運用環境において発生した、情報端末のアプリケーションにエラーの原因を解析する場合、実運用環境と試験環境とで通信環境が異なるため、例えば、試験環境において当該エラーが再現しない場合等がある。そのため、情報端末用のアプリケーションの開発効率が悪いという問題がある。 However, in the prior art, when analyzing the cause of an error in an information terminal application that occurred in the actual operation environment, the communication environment differs between the actual operation environment and the test environment, so that the error cannot be reproduced in the test environment, for example. There are cases. Therefore, there is a problem that the development efficiency of the application for the information terminal is poor.

そこで、一側面では、端末用のアプリケーションの開発効率を向上させることができる技術を提供することを目的とする。 Therefore, on one aspect, it is an object of the present invention to provide a technology capable of improving the development efficiency of an application for a terminal.

一つの案では、情報処理装置は、端末のアプリケーションによる通信の状態の履歴情報を取得する取得部と、前記取得部により取得された、前記アプリケーションにおいてエラーが発生した際の前記通信の状態に前記エラーを示す情報が付与された前記履歴情報に基づいて、前記エラーを検出する検出部と、前記検出部により検出された前記エラーが発生した際の前記通信の状態を、前記端末との通信に際して再現する再現部とを有し前記再現部は、前記取得部により取得された履歴情報が示す通信の状態に関する頻度分布に基づき、前記エラーが発生した際の前記通信の状態の変化を再現する
In one proposal, the information processing device has an acquisition unit that acquires history information of the communication status by the application of the terminal, and the communication status acquired by the acquisition unit when an error occurs in the application. When communicating with the terminal, the detection unit that detects the error and the communication state when the error detected by the detection unit occurs based on the history information to which the information indicating the error is added. It has a reproduction unit to reproduce, and the reproduction unit reproduces a change in the communication state when the error occurs, based on the frequency distribution regarding the communication state indicated by the history information acquired by the acquisition unit. ..

一側面によれば、端末用のアプリケーションの開発効率を向上させることができる。 According to one aspect, it is possible to improve the development efficiency of the application for the terminal.

実施形態に係る情報処理システムの構成例を示す図である。It is a figure which shows the structural example of the information processing system which concerns on embodiment. 実施形態に係る情報処理装置のハードウェア構成例を示す図である。It is a figure which shows the hardware configuration example of the information processing apparatus which concerns on embodiment. 実施形態に係る情報処理装置の機能ブロック図の一例を示す図である。It is a figure which shows an example of the functional block diagram of the information processing apparatus which concerns on embodiment. 実施形態に係る情報処理装置の処理の一例を示すフローチャートである。It is a flowchart which shows an example of the processing of the information processing apparatus which concerns on embodiment. ログ記憶部に記憶されるデータの一例を示す図である。It is a figure which shows an example of the data which is stored in a log storage part. 試験用のシナリオの一例について説明する図である。It is a figure explaining an example of the scenario for a test.

以下、図面に基づいて本発明の実施形態を説明する。図1は、実施形態に係る情報処理システム1の構成例を示す図である。図1において、情報処理システム1は、情報処理装置10、無線通信装置20、及び端末30を有する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a diagram showing a configuration example of the information processing system 1 according to the embodiment. In FIG. 1, the information processing system 1 includes an information processing device 10, a wireless communication device 20, and a terminal 30.

情報処理装置10と無線通信装置20は、例えば、USB(Universal Serial Bus)ケーブルやLAN(Local Area Network)等によって通信可能なように接続される。また、無線通信装置20内に情報処理装置10を内包してもよい。加えて、無線通信装置20は複数あってもよい。 The information processing device 10 and the wireless communication device 20 are connected so as to be able to communicate with each other by, for example, a USB (Universal Serial Bus) cable or a LAN (Local Area Network). Further, the information processing device 10 may be included in the wireless communication device 20. In addition, there may be a plurality of wireless communication devices 20.

無線通信装置20と端末30は、例えば、BLEや無線LAN等によって通信可能なように接続される。 The wireless communication device 20 and the terminal 30 are connected so as to be able to communicate with each other by, for example, BLE or wireless LAN.

情報処理装置10と端末30は、無線通信装置20、無線LANまたは携帯電話網等を介して、通信を行う。 The information processing device 10 and the terminal 30 communicate with each other via the wireless communication device 20, wireless LAN, mobile phone network, or the like.

情報処理装置10は、例えば、サーバ用のPC(Personal Computer)である。情報処理装置10は、実運用環境において端末30に記録されたログ(履歴情報)を取得し、当該ログに基づいて、実運用環境において端末30にエラーが発生した際の通信環境を、試験用の環境において再現する。 The information processing device 10 is, for example, a personal computer (PC) for a server. The information processing device 10 acquires a log (history information) recorded in the terminal 30 in the actual operating environment, and based on the log, tests the communication environment when an error occurs in the terminal 30 in the actual operating environment. Reproduce in the environment of.

無線通信装置20は、BLEのビーコンや無線LANのアクセスポイント等である。無線通信装置20は、情報処理装置10からの指示に従い、端末30に送信する無線の電波の強度を変更する。 The wireless communication device 20 is a BLE beacon, a wireless LAN access point, or the like. The wireless communication device 20 changes the intensity of the radio wave transmitted to the terminal 30 according to the instruction from the information processing device 10.

端末30は、例えば、スマートフォン、タブレット端末、ノートPC等である。 The terminal 30 is, for example, a smartphone, a tablet terminal, a notebook PC, or the like.

端末30には、所定のアプリケーションがインストールされており、当該所定のアプリケーションは、無線通信装置20との通信に従って、所定のサービスにアクセスする。当該所定のアプリケーションは、例えば、店舗等の実運用環境において、当該店舗に設置されたBLEのビーコンからの電波や、無線LANのAPからの電波を受信した場合、自動で、またはユーザからの所定の操作に応じて、クラウド上のサーバのURL(Uniform Resource Locator)にアクセスする。 A predetermined application is installed in the terminal 30, and the predetermined application accesses a predetermined service in accordance with communication with the wireless communication device 20. When the predetermined application receives a radio wave from a BLE beacon installed in the store or a radio wave from an AP of a wireless LAN in an actual operation environment such as a store, the predetermined application is automatically or predetermined by the user. Access the URL (Uniform Resource Locator) of the server on the cloud according to the operation of.

また、当該所定のアプリケーションは、実運用環境におけるサービスの応答時間や受信電波強度等の通信環境と、端末30の処理をログに記憶する。 In addition, the predetermined application stores the communication environment such as the response time of the service and the received radio wave strength in the actual operating environment, and the processing of the terminal 30 in the log.

<ハードウェア構成>
図2は、実施形態に係る情報処理装置10のハードウェア構成例を示す図である。図2の情報処理装置10は、それぞれバスBで相互に接続されているドライブ装置100、補助記憶装置102、メモリ装置103、CPU104、インタフェース装置105、表示装置106、及び入力装置107等を有する。
情報処理装置10での処理を実現する情報処理プログラムは、記録媒体101によって提供される。情報処理プログラムを記録した記録媒体101がドライブ装置100にセットされると、情報処理プログラムが記録媒体101からドライブ装置100を介して補助記憶装置102にインストールされる。但し、情報処理プログラムのインストールは必ずしも記録媒体101より行う必要はなく、ネットワークを介して他のコンピュータよりダウンロードするようにしてもよい。補助記憶装置102は、インストールされた情報処理プログラムを格納すると共に、必要なファイルやデータ等を格納する。
メモリ装置103は、プログラムの起動指示があった場合に、補助記憶装置102からプログラムを読み出して格納する。CPU104は、メモリ装置103に格納されたプログラムに従って情報処理装置10に係る機能を実現する。インタフェース装置105は、ネットワークに接続するためのインタフェースとして用いられる。表示装置106はプログラムによるGUI(Graphical User Interface)等を表示する。入力装置107はキーボード及びマウス等で構成され、様々な操作指示を入力させるために用いられる。
<Hardware configuration>
FIG. 2 is a diagram showing a hardware configuration example of the information processing device 10 according to the embodiment. The information processing device 10 of FIG. 2 includes a drive device 100, an auxiliary storage device 102, a memory device 103, a CPU 104, an interface device 105, a display device 106, an input device 107, and the like, which are connected to each other by a bus B, respectively.
The information processing program that realizes the processing in the information processing apparatus 10 is provided by the recording medium 101. When the recording medium 101 on which the information processing program is recorded is set in the drive device 100, the information processing program is installed in the auxiliary storage device 102 from the recording medium 101 via the drive device 100. However, the information processing program does not necessarily have to be installed from the recording medium 101, and may be downloaded from another computer via the network. The auxiliary storage device 102 stores the installed information processing program and also stores necessary files, data, and the like.
The memory device 103 reads and stores the program from the auxiliary storage device 102 when the program is instructed to start. The CPU 104 realizes the function related to the information processing device 10 according to the program stored in the memory device 103. The interface device 105 is used as an interface for connecting to a network. The display device 106 displays a programmatic GUI (Graphical User Interface) or the like. The input device 107 is composed of a keyboard, a mouse, and the like, and is used for inputting various operation instructions.

なお、記録媒体101の一例としては、CD−ROM、DVDディスク、又はUSBメモリ等の可搬型の記録媒体が挙げられる。また、補助記憶装置102の一例としては、HDD(Hard Disk Drive)又はフラッシュメモリ等が挙げられる。記録媒体101及び補助記憶装置102のいずれについても、コンピュータ読み取り可能な記録媒体に相当する。 An example of the recording medium 101 is a portable recording medium such as a CD-ROM, a DVD disc, or a USB memory. Further, as an example of the auxiliary storage device 102, an HDD (Hard Disk Drive), a flash memory, or the like can be mentioned. Both the recording medium 101 and the auxiliary storage device 102 correspond to computer-readable recording media.

<機能構成>
次に、図3を参照し、情報処理装置10及び端末30の機能構成について説明する。図3は、実施形態に係る情報処理装置10及び端末30の機能ブロック図の一例を示す図である。
<Functional configuration>
Next, the functional configurations of the information processing device 10 and the terminal 30 will be described with reference to FIG. FIG. 3 is a diagram showing an example of a functional block diagram of the information processing device 10 and the terminal 30 according to the embodiment.

≪情報処理装置10≫
情報処理装置10は、取得部12、検出部13、再現部14、試験制御部15、及びサービス実行部16を有する。これら各部は、情報処理装置10にインストールされた1以上のプログラムが、情報処理装置10のCPU104に実行させる処理により実現される。
<< Information processing device 10 >>
The information processing device 10 includes an acquisition unit 12, a detection unit 13, a reproduction unit 14, a test control unit 15, and a service execution unit 16. Each of these parts is realized by a process in which one or more programs installed in the information processing device 10 are executed by the CPU 104 of the information processing device 10.

取得部12は、端末30のアプリケーションにおける、無線の電波強度、またはサービス応答時間等の通信の状態(通信環境の状態)を示すログと、当該アプリケーションにエラーが発生したことを示すログとを取得する。 The acquisition unit 12 acquires a log indicating the communication status (communication environment status) such as radio wave strength or service response time in the application of the terminal 30, and a log indicating that an error has occurred in the application. do.

ここで、エラーとは、いわゆるシステム的なエラーに限らず、テストの仕様や要件を満たさない場合も含む。例えば、サービスからの応答時間が5秒以内である、HTTPの応答のステータスが200である、サービス応答に対してアプリケーションUIボタンの自動押下処理が2秒以内に完了する、等のテストの仕様を満たさない場合も、エラーが発生したと判定される。 Here, the error is not limited to a so-called systematic error, but also includes a case where the test specifications and requirements are not satisfied. For example, the test specifications such as the response time from the service is within 5 seconds, the HTTP response status is 200, and the automatic pressing process of the application UI button for the service response is completed within 2 seconds. Even if it is not satisfied, it is determined that an error has occurred.

検出部13は、取得部12により取得されたログから、前記アプリケーションにおいてエラーが発生した日時等を検出する。 The detection unit 13 detects the date and time when an error occurred in the application from the log acquired by the acquisition unit 12.

再現部14は、検出部13により検出されたエラーが発生した際(エラーが記録された際)の通信の状態のログに基づき、当該エラーが発生した際の、無線の電波強度、またはサービス応答時間等の通信の状態を再現する。 The reproduction unit 14 is based on the log of the communication status when the error detected by the detection unit 13 occurs (when the error is recorded), and the radio wave strength or the service response when the error occurs. Reproduce the communication status such as time.

試験制御部15は、検出部13により検出されたエラーに応じて、端末30のアプリケーションをテストするためのテストシナリオを生成する。そして、試験制御部15は、生成したテストシナリオを端末30に実行させ、実行結果を試験結果記憶部112に記憶させる。 The test control unit 15 generates a test scenario for testing the application of the terminal 30 according to the error detected by the detection unit 13. Then, the test control unit 15 causes the terminal 30 to execute the generated test scenario, and stores the execution result in the test result storage unit 112.

サービス実行部16は、端末30からのリクエストに応じて、実運用環境のサーバと同様の処理を行い、当該リクエストに対するレスポンスを端末30に送信する。なお、サービス実行部16は、実運用環境と同様に、複数のサービス用のプロセスを連携させて、端末30からのリクエストを処理させてもよい。 In response to the request from the terminal 30, the service execution unit 16 performs the same processing as the server in the actual operating environment, and transmits a response to the request to the terminal 30. Note that the service execution unit 16 may process requests from the terminal 30 by linking processes for a plurality of services, as in the actual operating environment.

また、情報処理装置10は、ログ記憶部111及び試験結果記憶部112を有する。これらの記憶部は、例えば、補助記憶装置102等を用いて実現される。ログ記憶部111に記憶されるデータについては後述する。 Further, the information processing device 10 has a log storage unit 111 and a test result storage unit 112. These storage units are realized by using, for example, an auxiliary storage device 102 or the like. The data stored in the log storage unit 111 will be described later.

≪端末30≫
端末30は、記憶部31を有する。記憶部31は、例えば、補助記憶装置等を用いて実現される。
≪Terminal 30≫
The terminal 30 has a storage unit 31. The storage unit 31 is realized by using, for example, an auxiliary storage device or the like.

記憶部31は、端末30のアプリケーションにおける通信の状態を示すログを記憶する。 The storage unit 31 stores a log indicating a communication status in the application of the terminal 30.

また、端末30は、送信部32、及び制御部33を有する。これら各部は、端末30にインストールされた1以上のプログラムが、端末30のCPUに実行させる処理により実現される。 Further, the terminal 30 has a transmission unit 32 and a control unit 33. Each of these parts is realized by a process in which one or more programs installed in the terminal 30 are executed by the CPU of the terminal 30.

送信部32は、記憶部31に記憶されているログや、無線通信装置20から受信した電波強度のデータを、情報処理装置10に送信する。 The transmission unit 32 transmits the log stored in the storage unit 31 and the radio wave intensity data received from the wireless communication device 20 to the information processing device 10.

制御部33は、情報処理装置10の試験制御部15から指示されたテストシナリオに応じた処理等を実行する。 The control unit 33 executes processing or the like according to a test scenario instructed by the test control unit 15 of the information processing device 10.

<処理>
次に、図4を参照して、情報処理装置10の処理について説明する。図4は、実施形態に係る情報処理装置10の処理の一例を示すフローチャートである。
<Processing>
Next, the processing of the information processing apparatus 10 will be described with reference to FIG. FIG. 4 is a flowchart showing an example of processing of the information processing apparatus 10 according to the embodiment.

ステップS101において、取得部12は、端末30から実運用環境におけるログを取得し、ログ記憶部111に記憶する。 In step S101, the acquisition unit 12 acquires the log in the actual operating environment from the terminal 30 and stores it in the log storage unit 111.

図5は、ログ記憶部111に記憶されるデータの一例を示す図である。ログ記憶部111には、日時に対応付けて、無線IDと受信電波強度、通信メッセージ、またはアプリケーションメッセージが記憶される。 FIG. 5 is a diagram showing an example of data stored in the log storage unit 111. The log storage unit 111 stores the radio ID, the received radio wave strength, the communication message, or the application message in association with the date and time.

無線IDは、例えば、無線LANのSSID(Service Set Identifier)や、BLEのビーコンのUUID(Universally Unique Identifier)である。受信電波強度は、端末30において受信された無線LANやBLEの電波強度である。通信メッセージは、端末30の所定のアプリケーションが送受信した通信メッセージである。アプリケーションメッセージは、端末30の所定のアプリケーションが出力する、デバッグ用のメッセージである。 The wireless ID is, for example, a wireless LAN SSID (Service Set Identifier) or a BLE beacon UUID (Universally Unique Identifier). The received radio wave strength is the radio wave strength of the wireless LAN or BLE received by the terminal 30. The communication message is a communication message sent and received by a predetermined application of the terminal 30. The application message is a debugging message output by a predetermined application of the terminal 30.

続いて、検出部13は、ログ記憶部111に記憶されたログに基づいて、端末30のアプリケーションにおけるエラーを検出する(ステップS102)。ここで、例えば、ログ記憶部111に記憶されているアプリケーションメッセージにおいて、「エラー」等の所定の文字列が含まれるデータが検出される。 Subsequently, the detection unit 13 detects an error in the application of the terminal 30 based on the log stored in the log storage unit 111 (step S102). Here, for example, in the application message stored in the log storage unit 111, data including a predetermined character string such as "error" is detected.

続いて、再現部14は、当該エラーが発生した際のログに基づいて、当該エラーが発生した際の無線通信環境を、無線通信装置20に再現させる(ステップS103)。 Subsequently, the reproduction unit 14 causes the wireless communication device 20 to reproduce the wireless communication environment when the error occurs based on the log when the error occurs (step S103).

ここで、再現部14は、まず、無線通信装置20における送信電波強度と、端末30における受信電波強度のキャリブレーションを行う。例えば、各送信電波強度を無線通信装置20に設定し、各送信電波強度における、端末30での受信電波強度を端末30から取得して記憶する。 Here, the reproduction unit 14 first calibrates the transmission radio wave strength in the wireless communication device 20 and the reception radio wave strength in the terminal 30. For example, each transmission radio wave strength is set in the wireless communication device 20, and the reception radio wave strength at the terminal 30 at each transmission radio wave strength is acquired from the terminal 30 and stored.

そして、当該エラーが発生した際の無線IDや、当該エラーが発生した際の受信電波強度に応じた送信電波強度を、無線通信装置20に設定する。これにより、無線通信装置20は、設定された無線ID及び送信電波強度で、無線通信の電波を送信する。 Then, the wireless ID when the error occurs and the transmission radio wave intensity according to the received radio wave intensity when the error occurs are set in the wireless communication device 20. As a result, the wireless communication device 20 transmits the radio wave of wireless communication with the set wireless ID and transmission radio wave strength.

さらに、再現部14は、端末30から、現在受信している無線IDと受信電波強度のデータを取得部12により取得し、当該取得したデータに基づいて、現在の受信電波強度が、当該エラーが発生した際の受信電波強度とほぼ一致するように、無線通信装置20の送信電波強度を調整してもよい。 Further, the reproduction unit 14 acquires the data of the currently received radio ID and the received radio wave intensity from the terminal 30 by the acquisition unit 12, and based on the acquired data, the current received radio wave intensity is set to the error. The transmitted radio wave strength of the wireless communication device 20 may be adjusted so as to substantially match the received radio wave strength at the time of occurrence.

続いて、再現部14は、当該エラーが発生した際のログに基づいて、当該エラーが発生した際のネットワーク通信環境を再現する(ステップS104)。ここで、再現部14は、当該エラーが発生した際の、リクエストが送信されてから、当該リクエストに対するレスポンスを受信するまでの時間(サービス応答時間)を、ネットワークエミュレータの遅延時間に設定する。ここで、ネットワークエミュレータは、例えば、情報処理装置10上で動作するプログラムであり、端末30から受信したパケットを情報処理装置10のOS(Operating System)に渡す際、または端末30にパケットを送信する際、設定された遅延時間だけ待機する機能を有する。 Subsequently, the reproduction unit 14 reproduces the network communication environment when the error occurs based on the log when the error occurs (step S104). Here, the reproduction unit 14 sets the delay time of the network emulator as the time (service response time) from the transmission of the request to the reception of the response to the request when the error occurs. Here, the network emulator is, for example, a program that operates on the information processing device 10, and when passing a packet received from the terminal 30 to the OS (Operating System) of the information processing device 10, or transmitting a packet to the terminal 30. At that time, it has a function of waiting for a set delay time.

続いて、試験制御部15は、当該エラーに応じた試験用のシナリオを生成し、当該シナリオを端末30に所定回数実行させる(ステップS105)。ここで、当該シナリオは、例えば、BBD(Behavior Driven Development)テストの書式に従って生成されてもよい。なお、BBDテストとは、実際のアプリケーションの動作として期待される振る舞いや、要求仕様に近い形で記述されたテストコードである。 Subsequently, the test control unit 15 generates a test scenario corresponding to the error, and causes the terminal 30 to execute the scenario a predetermined number of times (step S105). Here, the scenario may be generated according to, for example, the format of the BBD (Behavior Driven Development) test. The BBD test is a test code described in a form close to the behavior expected as the actual operation of the application and the required specifications.

図6は、試験用のシナリオの一例について説明する図である。図6の例では、端末30において、501のテストコードにより、テスト開始時に、無線LANの電源がONにされ、503のテストコードにより、受信電波強度が5秒以上−35dBm以上であるか否かがテストされる。そして、504のテストコードにより、サーバからの応答(レスポンス)が5秒以内で、当該レスポンスに含まれるhttpステータスコードが200であるか否かがテストされ、502のテストコードにより、テスト終了時に、無線LANの電源がOFFにされる。 FIG. 6 is a diagram illustrating an example of a test scenario. In the example of FIG. 6, in the terminal 30, the power of the wireless LAN is turned on at the start of the test by the test code of 501, and whether or not the received radio field intensity is −35 dBm or more for 5 seconds or more according to the test code of 503. Is tested. Then, the test code of 504 tests whether or not the response from the server is within 5 seconds and the http status code included in the response is 200, and the test code of 502 tests at the end of the test. The power of the wireless LAN is turned off.

続いて、取得部12は、試験用のシナリオの実行結果を端末30から取得する(ステップS106)。 Subsequently, the acquisition unit 12 acquires the execution result of the test scenario from the terminal 30 (step S106).

続いて、試験制御部15は、試験用のシナリオの実行結果において、エラーが再現された頻度が所定値以下であるか否かを判定する(ステップS107)。 Subsequently, the test control unit 15 determines whether or not the frequency at which the error is reproduced is equal to or less than a predetermined value in the execution result of the test scenario (step S107).

エラーが再現された頻度が所定値以下でない場合(ステップS107でNO)、処理を終了する。 If the frequency at which the error is reproduced is not less than or equal to the predetermined value (NO in step S107), the process ends.

エラーが再現された頻度が所定値以下である場合(ステップS107でYES)、試験制御部15は、試験用のシナリオを、所定回数端末30に実行させる(ステップS108)。ここで、試験制御部15は、エラーが再現された頻度に応じて、試験用のシナリオを実行させる回数を決定してもよい。これにより、エラーの原因の解析に必要な回数分、エラーを再現させることができる。 When the frequency at which the error is reproduced is equal to or less than a predetermined value (YES in step S107), the test control unit 15 causes the terminal 30 to execute the test scenario a predetermined number of times (step S108). Here, the test control unit 15 may determine the number of times to execute the test scenario according to the frequency at which the error is reproduced. As a result, the error can be reproduced as many times as necessary for the analysis of the cause of the error.

続いて、取得部12は、端末30から、試験用のシナリオの実行結果を取得する(ステップS109)。 Subsequently, the acquisition unit 12 acquires the execution result of the test scenario from the terminal 30 (step S109).

続いて、試験制御部15は、試験用のシナリオの実行結果において、エラーが再現された頻度が所定値以下であるか否かを判定する(ステップS110)。 Subsequently, the test control unit 15 determines whether or not the frequency at which the error is reproduced is equal to or less than a predetermined value in the execution result of the test scenario (step S110).

エラーが再現された頻度が所定値以下でない場合(ステップS110でNO)、処理を終了する。 If the frequency at which the error is reproduced is not less than or equal to the predetermined value (NO in step S110), the process ends.

エラーが再現された頻度が所定値以下である場合(ステップS110でYES)、再現部14は、実運用環境におけるエラーが発生した際のログに基づいて、受信電波強度及びサービス応答時間の最大、最小、及び頻度分布等に基づき、受信電波強度及びサービス応答時間の揺らぎ(変化)をそれぞれ算出する(ステップS111)。ここで、再現部14は、例えば、実運用環境におけるエラーが発生した前後の所定期間におけるログに基づいて、揺らぎを算出する。 When the frequency at which the error is reproduced is less than or equal to a predetermined value (YES in step S110), the reproduction unit 14 sets the maximum received signal strength and service response time based on the log when the error occurs in the actual operating environment. Fluctuations (changes) in the received radio wave intensity and the service response time are calculated based on the minimum and frequency distribution, respectively (step S111). Here, the reproduction unit 14 calculates the fluctuation based on, for example, the logs in a predetermined period before and after the error occurs in the actual operating environment.

続いて、再現部14は、算出した受信電波強度の揺らぎに基づいて、実運用環境におけるエラーが発生した際の無線通信環境を、無線通信装置20に再現させる(ステップS112)。ここで、再現部14は、算出した受信電波強度の揺らぎに基づいて、無線通信装置20の送信電波強度を変化させる。 Subsequently, the reproduction unit 14 causes the wireless communication device 20 to reproduce the wireless communication environment when an error occurs in the actual operating environment based on the calculated fluctuation of the received radio wave intensity (step S112). Here, the reproduction unit 14 changes the transmission radio wave intensity of the wireless communication device 20 based on the calculated fluctuation of the reception radio wave intensity.

続いて、再現部14は、算出したサービス応答時間の揺らぎに基づいて、実運用環境におけるエラーが発生した際のネットワーク通信環境を再現する(ステップS113)。ここで、再現部14は、算出したサービス応答時間の揺らぎを、ネットワークエミュレータの遅延時間の揺らぎに設定する。 Subsequently, the reproduction unit 14 reproduces the network communication environment when an error occurs in the actual operating environment based on the calculated fluctuation of the service response time (step S113). Here, the reproduction unit 14 sets the calculated fluctuation of the service response time to the fluctuation of the delay time of the network emulator.

続いて、試験制御部15は、試験用のシナリオを所定回数端末30に実行させる(ステップS114)。 Subsequently, the test control unit 15 causes the terminal 30 to execute the test scenario a predetermined number of times (step S114).

続いて、取得部12は、試験用のシナリオの実行結果を端末30から取得し(ステップS115)、処理を終了する。 Subsequently, the acquisition unit 12 acquires the execution result of the test scenario from the terminal 30 (step S115), and ends the process.

<まとめ>
上述したように、本実施形態によれば、端末のアプリケーションによる通信の状態と、当該アプリケーションにおけるエラーとを示す履歴情報に基づき、当該エラーが発生した際の通信の状態を再現する。
<Summary>
As described above, according to the present embodiment, the communication state when the error occurs is reproduced based on the history information indicating the communication state by the application of the terminal and the error in the application.

これにより、端末用のアプリケーションの開発効率を向上させることができる。 As a result, the development efficiency of the application for the terminal can be improved.

以上、本発明の実施例について詳述したが、本発明は斯かる特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。 Although the examples of the present invention have been described in detail above, the present invention is not limited to such specific embodiments, and various modifications are made within the scope of the gist of the present invention described in the claims.・ Can be changed.

情報処理装置10の各機能部は、例えば1以上のコンピュータにより構成されるクラウドコンピューティングにより実現されていてもよい。 Each functional unit of the information processing apparatus 10 may be realized by cloud computing composed of, for example, one or more computers.

以上の説明に関し、更に以下の項を開示する。
(付記1)
端末のアプリケーションによる通信の状態の履歴情報であって、前記アプリケーションにおいてエラーが発生した際の前記通信の状態に前記エラーを示す情報が付与された履歴情報を取得する取得部と、
前記取得部により取得された履歴情報に基づき、前記エラーが発生した際の前記通信の状態を、前記端末との通信に際して再現する再現部と、
を有する情報処理装置。
(付記2)
前記再現部は、前記取得部により取得された履歴情報に基づき、前記エラーが発生した際の前記通信の状態の変化を再現する、
付記1に記載の情報処理装置。
(付記3)
前記通信の状態は、前記端末において受信された無線の電波強度を含み、
前記再現部は、前記エラーが発生した際の、前記端末において受信された電波強度に基づいて、前記端末に電波を送信する無線通信装置における送信電波強度を設定する、
付記1または2に記載の情報処理装置。
(付記4)
前記通信の状態は、前記端末からの要求に対する応答時間を含み、
前記再現部は、前記エラーが発生した際の、前記端末からの要求に対する応答時間を再現する、
付記1乃至3のいずれか一項に記載の情報処理装置。
(付記5)
端末と、情報処理装置とを有する情報処理システムであって、
前記端末は、
前記端末のアプリケーションによる通信の状態の履歴情報であって、前記アプリケーションにおいてエラーが発生した際の前記通信の状態に前記エラーを示す情報が付与された履歴情報を記憶する記憶部と、
前記記憶部に記憶されている前記履歴情報を、前記情報処理装置に送信する送信部と、
を有し、
前記情報処理装置は、
前記履歴情報を取得する取得部と、
前記取得部により取得された履歴情報に基づき、前記エラーが発生した際の前記通信の状態を、前記端末との通信に際して再現する再現部と、
を有する、情報処理システム。
(付記6)
情報処理装置が、
端末のアプリケーションによる通信の状態の履歴情報であって、前記アプリケーションにおいてエラーが発生した際の前記通信の状態に前記エラーを示す情報が付与された履歴情報を取得する処理と、
前記取得する処理により取得された履歴情報に基づき、前記エラーが発生した際の前記通信の状態を、前記端末との通信に際して再現する処理と、
を実行する情報処理方法。
With respect to the above description, the following sections will be further disclosed.
(Appendix 1)
An acquisition unit that acquires history information of the communication status by the application of the terminal, in which information indicating the error is added to the communication status when an error occurs in the application.
Based on the history information acquired by the acquisition unit, a reproduction unit that reproduces the state of communication when the error occurs when communicating with the terminal, and a reproduction unit.
Information processing device with.
(Appendix 2)
The reproduction unit reproduces a change in the communication state when the error occurs, based on the history information acquired by the acquisition unit.
The information processing device according to Appendix 1.
(Appendix 3)
The communication state includes the radio wave strength of the radio received at the terminal.
The reproduction unit sets the transmission radio wave intensity in the wireless communication device that transmits the radio wave to the terminal based on the radio wave intensity received by the terminal when the error occurs.
The information processing device according to Appendix 1 or 2.
(Appendix 4)
The communication state includes a response time to a request from the terminal.
The reproduction unit reproduces the response time to the request from the terminal when the error occurs.
The information processing device according to any one of Supplementary note 1 to 3.
(Appendix 5)
An information processing system having a terminal and an information processing device.
The terminal
A storage unit that stores history information of the communication status by the application of the terminal, in which information indicating the error is added to the communication status when an error occurs in the application.
A transmission unit that transmits the history information stored in the storage unit to the information processing device, and a transmission unit.
Have,
The information processing device
The acquisition unit that acquires the history information and
Based on the history information acquired by the acquisition unit, a reproduction unit that reproduces the state of communication when the error occurs when communicating with the terminal, and a reproduction unit.
Information processing system.
(Appendix 6)
Information processing device
The process of acquiring the history information of the communication status by the application of the terminal, in which the information indicating the error is added to the communication status when an error occurs in the application.
Based on the history information acquired by the acquired process, a process of reproducing the state of the communication when the error occurs when communicating with the terminal, and a process of reproducing the state of the communication.
Information processing method to execute.

1 情報処理システム
10 情報処理装置
111 ログ記憶部
112 試験結果記憶部
12 取得部
13 検出部
14 再現部
15 試験制御部
16 サービス実行部
20 無線通信装置
30 端末
31 記憶部
32 送信部
33 制御部
1 Information processing system 10 Information processing device 111 Log storage unit 112 Test result storage unit 12 Acquisition unit 13 Detection unit 14 Reproduction unit 15 Test control unit 16 Service execution unit 20 Wireless communication device 30 Terminal 31 Storage unit 32 Transmission unit 33 Control unit

Claims (5)

端末のアプリケーションによる通信の状態の履歴情報を取得する取得部と、
前記取得部により取得された、前記アプリケーションにおいてエラーが発生した際の前記通信の状態に前記エラーを示す情報が付与された前記履歴情報に基づいて、前記エラーを検出する検出部と、
前記検出部により検出された前記エラーが発生した際の前記通信の状態を、前記端末との通信に際して再現する再現部とを有し
前記再現部は、前記取得部により取得された履歴情報が示す通信の状態に関する頻度分布に基づき、前記エラーが発生した際の前記通信の状態の変化を再現する、
情報処理装置。
The acquisition unit that acquires the history information of the communication status by the application of the terminal,
A detection unit that detects the error based on the history information acquired by the acquisition unit to which information indicating the error is added to the communication state when an error occurs in the application.
It has a reproduction unit that reproduces the state of communication when the error detected by the detection unit occurs when communicating with the terminal.
The reproduction unit reproduces the change in the communication state when the error occurs, based on the frequency distribution regarding the communication state indicated by the history information acquired by the acquisition unit.
Information processing device.
前記通信の状態は、前記端末において受信された無線の電波強度を含み、
前記再現部は、前記エラーが発生した際の、前記端末において受信された電波強度に基づいて、前記端末に電波を送信する無線通信装置における送信電波強度を設定する、
請求項に記載の情報処理装置。
The communication state includes the radio wave strength of the radio received at the terminal.
The reproduction unit sets the transmission radio wave intensity in the wireless communication device that transmits the radio wave to the terminal based on the radio wave intensity received by the terminal when the error occurs.
The information processing device according to claim 1.
前記通信の状態は、前記端末からの要求に対する応答時間を含み、
前記再現部は、前記エラーが発生した際の、前記端末からの要求に対する応答時間を再現する、
請求項1又は2に記載の情報処理装置。
The communication state includes a response time to a request from the terminal.
The reproduction unit reproduces the response time to the request from the terminal when the error occurs.
The information processing device according to claim 1 or 2.
端末と、情報処理装置とを有する情報処理システムであって、
前記端末は、
前記端末のアプリケーションによる通信の状態の履歴情報を記憶する記憶部と、
前記記憶部に記憶されている前記履歴情報を、前記情報処理装置に送信する送信部と、
を有し、
前記情報処理装置は、
前記履歴情報を取得する取得部と、
前記取得部により取得された、前記アプリケーションにおいてエラーが発生した際の前記通信の状態に前記エラーを示す情報が付与された前記履歴情報に基づいて、前記エラーを検出する検出部と、
前記検出部により検出された前記エラーが発生した際の前記通信の状態を、前記端末との通信に際して再現する再現部とを有し
前記再現部は、前記取得部により取得された履歴情報が示す通信の状態に関する頻度分布に基づき、前記エラーが発生した際の前記通信の状態の変化を再現する、
を有する、情報処理システム。
An information processing system having a terminal and an information processing device.
The terminal
A storage unit for storing history information of the state of the communication by the application of the terminal,
A transmission unit that transmits the history information stored in the storage unit to the information processing device, and a transmission unit.
Have,
The information processing device
The acquisition unit that acquires the history information and
A detection unit that detects the error based on the history information acquired by the acquisition unit to which information indicating the error is added to the communication state when an error occurs in the application.
It has a reproduction unit that reproduces the state of communication when the error detected by the detection unit occurs when communicating with the terminal.
The reproduction unit reproduces the change in the communication state when the error occurs, based on the frequency distribution regarding the communication state indicated by the history information acquired by the acquisition unit.
Information processing system.
情報処理装置が、
端末のアプリケーションによる通信の状態の履歴情報を取得する処理と、
前記取得する処理により取得された、前記アプリケーションにおいてエラーが発生した際の前記通信の状態に前記エラーを示す情報が付与された前記履歴情報に基づいて、前記エラーを検出する処理と、
前記検出する処理により検出された前記エラーが発生した際の前記通信の状態を、前記端末との通信に際して再現する処理と、
を実行し、
前記再現する処理は、前記取得する処理により取得された履歴情報が示す通信の状態に関する頻度分布に基づき、前記エラーが発生した際の前記通信の状態の変化を再現する、
情報処理方法。
Information processing device
The process of acquiring the history information of the communication status by the application of the terminal,
A process of detecting the error based on the history information acquired by the process of acquiring the information indicating the error to the communication state when an error occurs in the application.
A process of reproducing the state of the communication when the error detected by the process of detecting occurs when communicating with the terminal, and a process of reproducing the state of the communication.
The execution,
The reproduction process reproduces the change in the communication state when the error occurs, based on the frequency distribution regarding the communication state indicated by the history information acquired by the acquisition process.
Information processing method.
JP2017061518A 2017-03-27 2017-03-27 Information processing equipment, information processing system, and information processing method Active JP6919263B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017061518A JP6919263B2 (en) 2017-03-27 2017-03-27 Information processing equipment, information processing system, and information processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017061518A JP6919263B2 (en) 2017-03-27 2017-03-27 Information processing equipment, information processing system, and information processing method

Publications (2)

Publication Number Publication Date
JP2018163595A JP2018163595A (en) 2018-10-18
JP6919263B2 true JP6919263B2 (en) 2021-08-18

Family

ID=63860206

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017061518A Active JP6919263B2 (en) 2017-03-27 2017-03-27 Information processing equipment, information processing system, and information processing method

Country Status (1)

Country Link
JP (1) JP6919263B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7367400B2 (en) * 2019-09-02 2023-10-24 富士通株式会社 Information processing device and information processing program

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006237840A (en) * 2005-02-23 2006-09-07 Matsushita Electric Works Ltd Radio communication terminal and radio communication system
JP4796972B2 (en) * 2007-01-17 2011-10-19 アンリツ株式会社 Scenario generation apparatus and scenario generation method
DE102008010290A1 (en) * 2007-06-27 2009-02-19 Rohde & Schwarz Gmbh & Co. Kg Mobile radio device testing method, involves analyzing information over mobile radio network by analyzer, converting information to instruction sequence, and simulating mobile radio network by executing part of sequence by protocol tester
JP4686532B2 (en) * 2007-12-13 2011-05-25 アンリツ株式会社 Test equipment
KR101708269B1 (en) * 2010-10-19 2017-03-08 에스케이텔레콤 주식회사 System and Method for verifying function of mobile communication by using of mobile measuring data in commercial mobile communication network
JP5433753B1 (en) * 2012-09-20 2014-03-05 アンリツ株式会社 Test apparatus and test method
JP2014131212A (en) * 2012-12-28 2014-07-10 Fujitsu Ltd Verification program and information processing device

Also Published As

Publication number Publication date
JP2018163595A (en) 2018-10-18

Similar Documents

Publication Publication Date Title
JP5391075B2 (en) System capability detection for software defined radio
JP5485201B2 (en) Analysis device, acceptance test method, and acceptance test device
US10698797B2 (en) Mobile application program testing method, server, terminal, and storage medium
US7818022B2 (en) Communication apparatus and electric power control method
CN105487966B (en) Program testing method, device and system
WO2014169565A1 (en) Terminal testing method and device
CN113190464B (en) mock testing method and device, electronic equipment and medium
EP2753048B1 (en) Apparatus and method for providing a near field communication function in a portable terminal
CN109683997B (en) Method for accessing application program interface through sandbox, sandbox and sandbox equipment
CN105657781B (en) WiFi network access method and device
CN111651232A (en) One-machine multi-control method, device and system and electronic equipment
CN113709243B (en) Equipment remote control method and device, electronic equipment and storage medium
JP6919263B2 (en) Information processing equipment, information processing system, and information processing method
CN104182331A (en) Browser performance test method, browser performance test system and terminal
CN104063306A (en) Automatic login method, device and system in intelligent terminal software testing
CN112199270B (en) Program testing method, device, equipment and medium
Tang et al. Internet of things security: Principles and practice
RU2671999C1 (en) Method and system for diagnostics of mobile computer devices
CN112788640A (en) Communication equipment testing method and device, storage medium and terminal
CN112433938A (en) Method and device for testing application of mobile terminal
KR102368826B1 (en) Cloud Server And Method of Thereof
US11928040B2 (en) API adapter test system, API adapter test assistance device, API adapter test assistance method, and API adapter test assistance program
CN113568829A (en) External field test method and device and storage medium
CN115617675A (en) Automatic testing method, device and equipment of application program and storage medium
CN107329845B (en) Image processing method and device, terminal and server

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191212

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201124

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201125

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201217

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210323

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210507

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210622

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210705

R150 Certificate of patent or registration of utility model

Ref document number: 6919263

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150