TWI904045B - Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof - Google Patents
Operating method for electronic apparatus for providing information and electronic apparatus supporting thereofInfo
- Publication number
- TWI904045B TWI904045B TW114115150A TW114115150A TWI904045B TW I904045 B TWI904045 B TW I904045B TW 114115150 A TW114115150 A TW 114115150A TW 114115150 A TW114115150 A TW 114115150A TW I904045 B TWI904045 B TW I904045B
- Authority
- TW
- Taiwan
- Prior art keywords
- code
- information
- tool
- aforementioned
- service
- Prior art date
Links
Abstract
根據本發明,揭示一種電子裝置提供資訊之方法,其包括如下步驟:基於自與上述電子裝置相關之服務上之複數個用戶獲得之請求資訊的處理,設定對上述服務之代碼覆蓋進行分析之代碼覆蓋工具、及對上述服務之代碼覆蓋分析進行模擬測試之模擬測試工具;獲得代碼覆蓋分析結果資訊及測試結果資訊,該代碼覆蓋分析結果資訊係基於上述代碼覆蓋工具而對上述服務上之頁面進行分析所得者,該測試結果資訊係基於上述模擬測試工具而對上述服務上之頁面之代碼覆蓋分析進行測試所得者;及提供對上述代碼覆蓋分析結果資訊與上述測試結果資訊進行比較所得之比較資訊。According to the present invention, a method for providing information by an electronic device is disclosed, comprising the following steps: based on the processing of request information obtained from a plurality of users on a service related to the electronic device, setting up a code overlay tool for analyzing code overlay of the service, and a simulation testing tool for simulating the code overlay analysis of the service; obtaining code overlay analysis result information and The test result information includes the code coverage analysis result information obtained by analyzing the pages on the aforementioned service based on the aforementioned code coverage tool, and the test result information obtained by testing the code coverage analysis of the pages on the aforementioned service based on the aforementioned simulation testing tool; and provides comparison information obtained by comparing the aforementioned code coverage analysis result information with the aforementioned test result information.
Description
本發明係關於一種提供資訊之方法及裝置,更詳細而言,關於一種提供對藉由代碼覆蓋工具產生之代碼覆蓋分析結果與藉由模擬測試工具產生之測試結果進行比較所得之比較資訊的方法及其電子裝置。This invention relates to a method and apparatus for providing information, and more specifically, to a method and electronic apparatus thereof for providing comparative information obtained by comparing code overlay analysis results generated by a code overlay tool with test results generated by a simulation testing tool.
隨著電子技術之發展,電子商務成為購物之一領域。顧客即使不直接前往商場或市場,亦可於線上購買物品,於線上購買之物品配送至顧客要求之配送地。With the development of electronic technology, e-commerce has become a field of shopping. Customers can buy items online without going to a shopping mall or market, and the items purchased online will be delivered to the customer's requested delivery location.
於電子商務之情形時,提供商品之詳細且準確之資訊對服務滿意度產生非常大之影響,因此正在討論用以提供更詳細且準確之資訊之各種方案。In the context of e-commerce, providing detailed and accurate information about products has a significant impact on service satisfaction, and therefore various solutions for providing more detailed and accurate information are being discussed.
與此相關,可參照KR101756594B1或KR101500849B1等先前文獻。For related information, see previous references such as KR101756594B1 or KR101500849B1.
[發明所欲解決之問題]根據本發明之方法,電子裝置可提供對藉由代碼覆蓋工具產生之代碼覆蓋分析結果與藉由模擬測試工具產生之測試結果進行比較所得之比較資訊。[Problem to be solved by the invention] According to the method of the present invention, an electronic device can provide comparative information by comparing the code overlay analysis results generated by a code overlay tool with the test results generated by a simulation test tool.
本發明所欲解決之技術問題並不限制於以上提及之技術問題,於本發明所屬之技術領域內具有常識者可根據以下之記載明確地理解未提及之其他技術問題。[解決問題之技術手段]The technical problem to be solved by this invention is not limited to the technical problems mentioned above. Those skilled in the art to which this invention pertains can clearly understand other technical problems not mentioned based on the following description. [Technical Means for Solving the Problem]
各種實施例可提供一種用以提供資訊之電子裝置之動作方法及支持其之電子裝置。Various embodiments may provide a method of operation for an electronic device that provides information and an electronic device that supports it.
各種實施例之電子裝置提供資訊之方法可包括如下步驟:基於自與上述電子裝置相關之服務上之複數個用戶獲得之請求資訊的處理,設定對上述服務之代碼覆蓋進行分析之代碼覆蓋工具(code coverage tool)、及對上述服務之代碼覆蓋分析進行模擬測試(test)之模擬測試工具;獲得代碼覆蓋分析結果資訊及測試結果資訊,該代碼覆蓋分析結果資訊係基於上述代碼覆蓋工具而對上述服務上之頁面進行分析所得者,該測試結果資訊係基於上述模擬測試工具而對上述服務上之頁面之代碼覆蓋分析進行測試所得者;及提供對上述代碼覆蓋分析結果資訊與上述測試結果資訊進行比較所得之比較資訊。Various embodiments of the electronic device providing information may include the following steps: based on the processing of request information obtained from multiple users on services related to the aforementioned electronic device, setting up a code coverage tool to analyze the code coverage of the aforementioned services. The tool), and a simulation testing tool for performing code coverage analysis on the above-mentioned services; obtaining code coverage analysis result information and test result information, wherein the code coverage analysis result information is obtained by analyzing the pages on the above-mentioned services based on the code coverage tool, and the test result information is obtained by testing the code coverage analysis on the pages on the above-mentioned services based on the simulation testing tool; and providing comparison information obtained by comparing the code coverage analysis result information and the test result information.
於例示性之實施例中,上述代碼覆蓋分析結果資訊可包括於實現上述服務上之頁面之原始代碼中確認到用戶之利用歷史的第1碼區之資訊、及於上述原始代碼中未確認到用戶之利用歷史之第2碼區之資訊。In an exemplary embodiment, the code overlay analysis result information may include information in the original code of the page implementing the above service that the user's usage history is confirmed in the first code area, and information in the original code that the user's usage history is not confirmed in the second code area.
於例示性之實施例中,上述代碼覆蓋分析結果資訊可包括上述第1碼區之第1識別資訊、及上述第2碼區之第2識別資訊,上述第1識別資訊及上述第2識別資訊係基於不同之色相而識別。In an exemplary embodiment, the code overlay analysis result information may include the first identification information of the first code area and the second identification information of the second code area, wherein the first identification information and the second identification information are identified based on different hues.
於例示性之實施例中,上述代碼覆蓋分析結果資訊可包括上述第1碼區於上述原始代碼中之比率之資訊。In an exemplary embodiment, the code coverage analysis result information may include information on the ratio of the first code region to the original code.
於例示性之實施例中,獲得上述代碼覆蓋分析結果資訊之步驟可包括如下步驟:確認用於進行上述服務之複數個API(Application Programming Interface,應用程式設計介面)域中包括之各API域;及基於執行與上述各API域對應之上述服務上之一個以上之頁面的上述代碼覆蓋工具,獲得與上述各API域對應之各代碼覆蓋分析結果資訊。In an exemplary embodiment, the steps for obtaining the code coverage analysis results information may include the following steps: identifying each API domain included in the plurality of API (Application Programming Interface) domains used to perform the above-mentioned service; and obtaining the code coverage analysis results information corresponding to each API domain based on the code coverage tool that executes one or more pages of the above-mentioned service corresponding to each of the above-mentioned API domains.
於例示性之實施例中,上述資訊提供方法可進而包括如下步驟:獲得於上述複數個API域中選擇第1API域之輸入;及對應於上述輸入,提供與上述第1API域對應之第1代碼覆蓋分析結果資訊;且上述第1代碼覆蓋分析結果資訊包括與上述第1API域對應之上述服務上之單個頁面之單個代碼覆蓋分析結果。In an exemplary embodiment, the above information provision method may further include the following steps: obtaining input to select a first API domain from the plurality of API domains; and providing first code coverage analysis result information corresponding to the first API domain in response to the input; and the first code coverage analysis result information includes a single code coverage analysis result for a single page on the service corresponding to the first API domain.
於例示性之實施例中,上述代碼覆蓋工具能夠以固定之週期來執行。In an exemplary embodiment, the above-described code overlay tool can be executed at a fixed interval.
於例示性之實施例中,上述模擬測試工具可與第1模擬測試工具對應,該第1模擬測試工具係對原始代碼中設定方法(method)之代碼的代碼覆蓋分析進行模擬測試。In an exemplary embodiment, the above-mentioned simulation testing tool may correspond to the first simulation testing tool, which performs simulation testing on the code coverage analysis of the code of the method in the original code.
於例示性之實施例中,上述模擬測試工具可與第2模擬測試工具對應,該第2模擬測試工具係對實行用於API域之請求資訊之輸入及響應資訊之輸出之代碼的代碼覆蓋分析進行模擬測試。In an exemplary embodiment, the above-mentioned simulation testing tool may correspond to a second simulation testing tool, which performs simulation testing on the code coverage analysis of the code that implements the input of request information and the output of response information for the API domain.
於例示性之實施例中,上述模擬測試工具可與第3模擬測試工具對應,該第3模擬測試工具係對實行用於UI(User Interface,用戶介面)之資訊處理之代碼的代碼覆蓋分析進行模擬測試。In an exemplary embodiment, the above-mentioned simulation testing tool may correspond to a third simulation testing tool, which performs simulation testing on the code coverage analysis of the code that performs information processing for the UI (User Interface).
於例示性之實施例中,上述比較資訊可包括對第1比率與第2比率進行比較所得之資訊,該第1比率係於實現上述服務上之頁面之原始代碼中根據上述代碼覆蓋分析結果資訊而分析為確認到用戶之利用歷史之碼區的比率,該第2比率係於上述原始代碼中根據上述測試結果資訊而判斷為確認到用戶之利用歷史之碼區之比率。In an exemplary embodiment, the comparison information may include information obtained by comparing a first ratio and a second ratio, wherein the first ratio is the ratio of the code area that has been identified as the user's usage history, which is analyzed in the original code of the page implementing the above service based on the code overlay analysis results, and the second ratio is the ratio of the code area that has been identified as the user's usage history, which is determined in the original code based on the test results.
於例示性之實施例中,上述比較資訊可包括一部分碼區之資訊,該一部分碼區係於實現上述服務上之頁面之原始代碼中確認為藉由上述代碼覆蓋工具產生之代碼覆蓋分析結果與藉由上述模擬測試工具產生的測試結果不同者。In an exemplary embodiment, the comparison information may include information about a portion of the code area that is identified in the original code of the page implementing the above-mentioned service as differing from the code overlay analysis results generated by the code overlay tool and the test results generated by the simulation testing tool.
於例示性之實施例中,上述一部分碼區可包括如下之碼區:根據上述代碼覆蓋工具而分析為確認到用戶之利用歷史,並且根據上述模擬測試工具而判斷為未確認到用戶之利用歷史。In an exemplary embodiment, the aforementioned portion of the code area may include the following code area: which is identified as having the user's usage history based on the aforementioned code overlay tool, and which is determined as not having the user's usage history based on the aforementioned simulation testing tool.
於例示性之實施例中,上述資訊提供方法可進而包括如下步驟:獲得工具更新資訊,該工具更新資訊係用以基於上述一部分碼區之資訊而更新上述模擬測試工具;及確認基於上述工具更新資訊而更新之模擬測試工具。In an exemplary embodiment, the above information provision method may further include the following steps: obtaining tool update information, which is used to update the above simulation test tool based on the information of the above-mentioned part of the code area; and confirming the simulation test tool updated based on the above-mentioned tool update information.
於例示性之實施例中,上述資訊提供方法可進而包括如下步驟:提供模擬測試更新結果資訊,該模擬測試更新結果資訊係基於更新之上述模擬測試工具而測試上述服務上之頁面之代碼覆蓋分析所得者。In an exemplary embodiment, the above information provision method may further include the following steps: providing simulation test update result information, which is obtained from code overlay analysis of the pages on the above service based on the updated simulation test tool.
於例示性之實施例中,上述資訊提供方法可進而包括如下步驟:基於對上述代碼覆蓋分析結果資訊與上述模擬測試更新結果資訊進行比較所得之比較資訊,提供更新之上述模擬測試工具之反饋資訊。In an exemplary embodiment, the above information providing method may further include the following steps: providing updated feedback information of the above simulation testing tool based on comparison information obtained by comparing the above code coverage analysis results information with the above simulation test update results information.
各種實施例之提供資訊之電子裝置可包括:處理器(processor);及一個以上之記憶體(memory),其儲存一個以上之指令(instruction);且於執行上述一個以上之指令時,控制上述處理器使其實行如下步驟:基於自與上述電子裝置相關之服務上之複數個用戶獲得之請求資訊的處理,設定對上述服務之代碼覆蓋進行分析之代碼覆蓋工具(code coverage tool)、及對上述服務之代碼覆蓋分析進行模擬測試(test)之模擬測試工具;獲得代碼覆蓋分析結果資訊及測試結果資訊,該代碼覆蓋分析結果資訊係基於上述代碼覆蓋工具而對上述服務上之頁面進行分析所得者,該測試結果資訊係基於上述模擬測試工具而對上述服務上之頁面的代碼覆蓋分析進行測試所得者;及提供對上述代碼覆蓋分析結果資訊與上述測試結果資訊進行比較所得之比較資訊。Various embodiments of the information-providing electronic device may include: a processor; and one or more memories storing one or more instructions; and when executing the one or more instructions, controlling the processor to perform the following steps: based on the processing of request information obtained from multiple users on services related to the electronic device, setting up a code coverage tool to analyze the code coverage of the services. The tool); and a simulation testing tool for performing code coverage analysis on the above-mentioned services; obtaining code coverage analysis result information and test result information, wherein the code coverage analysis result information is obtained by analyzing the pages on the above-mentioned services based on the code coverage tool, and the test result information is obtained by testing the code coverage analysis on the pages on the above-mentioned services based on the simulation testing tool; and providing comparison information obtained by comparing the code coverage analysis result information and the test result information.
本發明之上述各種實施例僅為本發明之較佳實施例中之一部分,於本技術領域內具有常識者可基於以下詳述之說明而導出反映本發明之各種實施例之技術特徵的多個實施例並理解。[發明之效果]The various embodiments described above are only a part of the preferred embodiments of the present invention. Those skilled in the art can derive and understand multiple embodiments reflecting the technical features of the various embodiments of the present invention based on the following detailed description. [Effects of the Invention]
本發明提出一種電子裝置提供對藉由代碼覆蓋工具產生之代碼覆蓋分析結果與藉由模擬測試工具產生之測試結果進行比較所得之比較資訊的方法,從而於可提高實行用以進行代碼覆蓋之模擬測試之模擬測試工具之準確性的方面具有技術效果。This invention proposes an electronic device that provides a method for comparing code overlay analysis results generated by a code overlay tool with test results generated by a simulation testing tool, thereby improving the accuracy of simulation testing tools used for code overlay simulation testing.
本發明中可獲得之效果並不限制於以上提及之效果,於本發明所屬之技術領域內具有常識者可根據以下之記載明確地理解未提及之其他效果。The effects that can be obtained in this invention are not limited to those mentioned above. Those skilled in the art to which this invention pertains can clearly understand other effects not mentioned based on the following description.
以下之實施例係將各種實施例之構成要素與特徵以特定形態結合而成者。若未另外明確地提及,則可將各構成要素或特徵考慮為選擇性者。各構成要素或特徵能夠以不與其他構成要素或特徵結合之形態實施。又,亦可將一部分構成要素及特徵結合而構成各種實施例。各種實施例中說明之動作之順序可變更。某一實施例之一部分構成或特徵可包括於其他實施例、或可與其他實施例之對應之構成或特徵互換。The following embodiments combine the constituent elements and features of various embodiments in a specific form. Unless otherwise explicitly stated, each constituent element or feature may be considered optional. Each constituent element or feature can be implemented without being combined with other constituent elements or features. Furthermore, a portion of the constituent elements and features can be combined to constitute various embodiments. The order of actions described in the various embodiments may be changed. A portion of the constituent elements or features of a certain embodiment may be included in other embodiments, or may be interchangeable with corresponding constituent elements or features of other embodiments.
於圖式之說明中,未記述會混淆各種實施例之主旨之流程或步驟等,亦未記述於本技術領域內具有常識者之水平下可理解之程度之流程或步驟。The description of the diagrams does not describe processes or steps that could confuse the main points of various embodiments, nor does it describe processes or steps that are understandable to a person of common knowledge in the art.
於整篇說明書中,當描述為某個部分“包括(comprising或including)”某個構成要素時,若無特別相反之記載,則意味著可進而包括其他構成要素,並非排除其他構成要素。又,說明書中記載之“...部”、“...器”、“模組”等用語是指對至少一個功能或動作進行處理之單位,其可由硬體、軟體或硬體及軟體之結合實現。又,於記述各種實施例之文中(特別是,以下之發明申請專利範圍中),若未於本說明書中另作指示或未於文中明確地反駁,則“一(a或an)”、“一個(one)”、“其(the)”及相似之相關語能夠以包括單數及複數兩者之含義來使用。Throughout this specification, when a part is described as "comprising" or "including" a constituent element, unless specifically stated otherwise, it implies that other constituent elements may be included, not excluded. Furthermore, terms such as "...part," "...device," and "module" used in this specification refer to a unit that processes at least one function or action, which may be implemented by hardware, software, or a combination of hardware and software. Also, in the description of various embodiments (particularly within the scope of the invention claim below), unless otherwise indicated in this specification or expressly refuted in the text, "a (or an)," "one," "the," and similar related terms may be used in both singular and plural senses.
以下,參照隨附圖式,詳細地對各種實施例之較佳之實施方式進行說明。連同隨附圖式一併於以下揭示之詳細說明係對各種實施例之例示性之實施方式進行說明,並非意欲表示唯一之實施方式。The following description, with reference to the accompanying diagrams, details preferred embodiments of various examples. The detailed descriptions disclosed below, together with the accompanying diagrams, are illustrative of various embodiments and are not intended to represent the only embodiments.
又,各種實施例中使用之特定(specific)用語係為了有助於理解各種實施例而提供者,此種特定用語之使用可於不脫離各種實施例之技術思想之範圍內變更為其他形態。Furthermore, the specific terms used in the various embodiments are provided to aid in understanding the various embodiments, and the use of these specific terms can be transformed into other forms without departing from the technical ideas of the various embodiments.
圖1係用以說明可實現各種實施例之用以提供資訊之電子裝置之動作方法之資訊提供系統的圖。Figure 1 is a diagram illustrating an information providing system for providing information by means of an electronic device that can implement various embodiments.
參照圖1,各種實施例之資訊提供系統可實現於各種電子裝置。例如,資訊提供系統可實現於伺服器器件100及用戶器件200。換言之,伺服器器件100及用戶器件200可基於實現於各裝置之資訊提供系統,實行本發明之各種實施例之動作。作為一例,於本發明之各種實施例中,伺服器器件100可向與管理者對應之用戶器件200提供對藉由代碼覆蓋工具產生之代碼覆蓋分析結果與藉由模擬測試工具產生之測試結果進行比較所得的比較資訊。另一方面,各種實施例之資訊提供系統亦可實現於更多之電子裝置與伺服器,並不侷限於上述圖1所示。Referring to Figure 1, the information providing system of various embodiments can be implemented in various electronic devices. For example, the information providing system can be implemented in server device 100 and user device 200. In other words, server device 100 and user device 200 can implement the operations of various embodiments of the present invention based on the information providing system implemented in each device. As an example, in various embodiments of the present invention, server device 100 can provide the user device 200 corresponding to the administrator with comparison information obtained by comparing the code overlay analysis results generated by the code overlay tool with the test results generated by the simulation test tool. On the other hand, the information providing system of various embodiments can also be implemented in more electronic devices and servers, and is not limited to those shown in Figure 1 above.
各種實施例之伺服器器件100可為如下裝置:與複數個用戶器件200實行無線及有線通訊,包括具有大單位之儲存容量之儲存器。例如,伺服器器件100可為與複數個用戶器件200繫結之雲端器件(Cloud device)。The server device 100 in various embodiments may be a device that enables wireless and wired communication with a plurality of user devices 200, including storage devices with large unit storage capacity. For example, the server device 100 may be a cloud device connected to a plurality of user devices 200.
各種實施例之用戶器件200可為桌上型電腦、平板電腦、移動終端等可由個人用戶利用之裝置。除此之外,實行相似之功能之其他電子裝置亦可用作用戶器件200。The user device 200 in various embodiments can be a desktop computer, tablet computer, mobile terminal, or other device that can be used by a personal user. In addition, other electronic devices that perform similar functions can also be used as user device 200.
各種實施例之資訊提供系統可包括用以進行動作之各種模組。資訊提供系統所包括之模組可為以如下方式實現之電腦代碼及一個以上之指令(instruction):實現資訊提供系統之(或物理裝置中包括之)物理裝置(例如,伺服器器件100及用戶器件200)可實行指定之動作。換言之,實現資訊提供系統之物理裝置可將複數個模組以電腦代碼形態儲存於記憶體,於執行記憶體中儲存之複數個模組之情形時,複數個模組使物理裝置實行與複數個模組對應之指定動作。The information providing system of various embodiments may include various modules for performing actions. The modules included in the information providing system may be computer code and one or more instructions implemented in such a way that the physical device implementing the information providing system (or included in the physical device) (e.g., server device 100 and user device 200) can perform specified actions. In other words, the physical device implementing the information providing system may store multiple modules in memory in the form of computer code, and when executing the multiple modules stored in memory, the multiple modules cause the physical device to perform specified actions corresponding to the multiple modules.
圖2係表示各種實施例之伺服器器件100及用戶器件200之構成之圖。Figure 2 is a diagram showing the configuration of server device 100 and user device 200 in various embodiments.
參照圖2,伺服器器件100及用戶器件200可包括輸入/輸出部210、收發部(或,通訊部)220、儲存器230及處理器240。Referring to FIG2, the server device 100 and the user device 200 may include an input/output unit 210, a transceiver unit (or, communication unit) 220, a memory 230 and a processor 240.
輸入/輸出部210可為接收用戶輸入或向用戶輸出資訊之各種介面或連接埠等。輸入/輸出部210可包括輸入模組與輸出模組,輸入模組自用戶接收用戶輸入。用戶輸入能夠以包括按鍵輸入、觸控輸入、聲頻輸入在內之各種形態實現。作為可接收此種用戶輸入之輸入模組之示例,除傳統形態之小鍵盤或鍵盤、鼠標以外,當然亦包含感測用戶之觸控之觸控感測器、接收聲頻信號之麥克風、藉由影像識別來識別手勢等之相機、包括感測用戶之靠近之照度感測器或紅外線感測器中之至少一者的近接感測器、藉由加速度感測器或陀螺儀感測器等而識別用戶動作之運動感測器及除此之外之各種形態之感測或接收用戶輸入之各種形態的輸入機構,本發明之實施例之輸入模組可包括以上所列出之裝置中之至少一者。此處,觸控感測器可實現為藉由附著至顯示器面板上之觸控面板或觸控膜而感測觸控之壓電式或靜電式觸控感測器、藉由光學方式感測觸控之光學式觸控感測器等。除此之外,輸入模組亦可實現為連接接收用戶輸入之外部之輸入裝置來代替由自身感測用戶輸入之裝置的輸入介面(通用序列匯流排(Universal Serial Bus,USB)埠、第二代個人系統(Personal System 2,PS/2)埠等)之形態。又,輸出模組可輸出各種資訊。輸出模組可包括輸出影像之顯示器、輸出聲音之揚聲器、產生振動之觸覺裝置及除此之外之各種形態的輸出機構中之至少一者。除此之外,輸出模組亦可實現為連接上述單個輸出機構之埠類型之輸出介面之形態。The input/output unit 210 may be various interfaces or ports for receiving user input or outputting information to the user. The input/output unit 210 may include an input module and an output module, with the input module receiving user input from the user. The user input can be implemented in various forms, including key input, touch input, and audio input. As examples of input modules capable of receiving such user input, in addition to traditional small keyboards or keyboards and mice, they also include touch sensors that sense user touch, microphones that receive audio signals, cameras that recognize gestures by image recognition, proximity sensors that sense user proximity by at least one of an illuminance sensor or an infrared sensor, motion sensors that recognize user movements by an accelerometer or a gyroscope sensor, and other various types of input mechanisms that sense or receive user input. The input module of the embodiments of the present invention may include at least one of the devices listed above. Here, the touch sensor can be implemented as a piezoelectric or electrostatic touch sensor that senses touch via a touch panel or touch film attached to the display panel, or an optical touch sensor that senses touch via optical means. In addition, the input module can also be implemented as an input interface (Universal Serial Bus (USB) port, Personal System 2 (PS/2) port, etc.) that connects to an external input device to receive user input, replacing the input interface of the device that senses user input itself. Furthermore, the output module can output various types of information. The output module may include at least one of the following: a display for outputting images, a speaker for outputting sound, a tactile device for generating vibration, and other types of output mechanisms. In addition, the output module may also be implemented as an output interface of the port type connected to the above-mentioned individual output mechanisms.
作為一例,顯示器形態之輸出模組可顯示文本、靜止影像、視訊。顯示器包括液晶顯示器(LCD,Liquid Crystal Display)、發光二極體(LED,light emitting diode)顯示器、有機發光二極體(OLED,Organic Light Emitting Diode)顯示器、平板顯示器(FPD,Flat Panel Display)、透明顯示器(transparent display)、曲面顯示器(Curved Display)、軟性顯示器(flexible display)、三維顯示器((Three Dimensional,3D) display)、全像顯示器(holographic display)、投影機及除此之外之可實行影像輸出功能之各種形態之裝置中的至少一者。此種顯示器亦可呈與輸入模組之觸控感測器一體地構成之觸控顯示器之形態。As an example, an output module in the form of a display can display text, still images, and video. Displays include at least one of the following: liquid crystal displays (LCDs), light-emitting diode (LED) displays, organic light-emitting diode (OLED) displays, flat panel displays (FPDs), transparent displays, curved displays, flexible displays, three-dimensional (3D) displays, holographic displays, projectors, and various other devices capable of performing image output functions. Such displays can also be in the form of touch displays integrated with the touch sensors of the input module.
收發部220可與其他裝置通信。因此,伺服器器件100及用戶器件200可藉由收發部220而與其他裝置收發資訊。例如,伺服器器件100及用戶器件200可利用收發部220實行信號間之通信、或與其他裝置實行通信。The transceiver unit 220 can communicate with other devices. Therefore, the server device 100 and the user device 200 can send and receive information with other devices through the transceiver unit 220. For example, the server device 100 and the user device 200 can use the transceiver unit 220 to perform signal-to-signal communication or to communicate with other devices.
此處,通信即資料之收發可藉由有線或無線來實現。為此,收發部220可包括藉由LAN(Local Area Network,區域網)而與網際網路等連接之有線通信模組、經由移動通信基站而與移動通信網路連接來收發資料之移動通信模組、利用如無線保真(Wi-Fi)之WLAN(Wireless Local Area Network,無線區域網)系列之通信方式或如藍牙(Bluetooth)、紫蜂(Zigbee)之WPAN(Wireless Personal Area Network,無線個人區域網)系列之通信方式之近距離通信模組、利用如GPS(Global Positioning System,全球定位系統)之GNSS(Global Navigation Satellite System,全球導航衛星系統)之衛星通信模組或其等之組合。Here, communication, i.e., the transmission and reception of data, can be achieved via wired or wireless means. For this purpose, the transceiver unit 220 may include a wired communication module that connects to the Internet via a LAN (Local Area Network), a mobile communication module that transmits and receives data by connecting to a mobile communication network via a mobile communication base station, a short-range communication module that uses communication methods such as Wi-Fi (WLAN) or Bluetooth (WPAN) (Wireless Personal Area Network), a satellite communication module that uses GPS (Global Positioning System) or GNSS (Global Navigation Satellite System), or a combination thereof.
儲存器230可儲存各種資訊。儲存器230可臨時或半永久地儲存資料。例如,伺服器器件100之儲存器230可儲存用以驅動伺服器器件100之操作程式(OS,Operating System)、用以代管網站之資料或用以產生點字之程式及與應用程式(例如,網站應用程式)相關之資料等。又,儲存器230可如上所述般以電腦代碼形態儲存模組。Memory 230 can store various information. Memory 230 can store data temporarily or semi-permanently. For example, memory 230 of server device 100 can store the operating system (OS) used to drive server device 100, data used to manage the website, programs used to generate Braille, and data related to applications (e.g., website applications). Furthermore, memory 230 can store modules in computer code form as described above.
作為儲存器230之示例,可包含硬碟(HDD,Hard Disk Drive)、SSD(Solid State Drive,固態硬碟)、快閃記憶體(flash memory)、唯讀記憶體(ROM,Read-Only Memory)、隨機存取記憶體(RAM,Random Access Memory)等。此種儲存器230能夠以內置類型或可裝卸之類型提供。As an example of storage device 230, it may include hard disk drive (HDD), solid state drive (SSD), flash memory, read-only memory (ROM), random access memory (RAM), etc. This storage device 230 can be provided in a built-in or removable form.
處理器240對伺服器器件100及用戶器件200之整體動作進行控制。為此,處理器240可實行各種資訊之運算及處理,對伺服器器件100之構成要素之動作進行控制。例如,處理器240可執行用以提供資訊之程式及應用程式。處理器240可根據硬體、軟體或其等之組合而實現為電腦或與其相似之裝置。於硬體方面而言,處理器240能夠以對電信號進行處理而實行控制功能之電路形態實現,於軟體方面而言,能夠以驅動硬體性處理器240之程式形態實現。另一方面,於以下說明中未特別提及之情形時,伺服器器件100及用戶器件200之動作可解釋為藉由處理器240之控制來實行。即,於執行上述資訊提供系統中實現之模組之情形時,模組可解釋為使伺服器器件100及用戶器件200實行以下之動作之方式控制處理器240。Processor 240 controls the overall operation of server device 100 and user device 200. To this end, processor 240 can perform various information calculations and processing, and control the operation of the components of server device 100. For example, processor 240 can execute programs and applications to provide information. Processor 240 can be implemented as a computer or a similar device, depending on the combination of hardware, software, or the like. In terms of hardware, processor 240 can be implemented as a circuit that processes electrical signals to perform control functions; in terms of software, it can be implemented as a program that drives the hardware processor 240. On the other hand, in cases not specifically mentioned in the following description, the actions of the server device 100 and the user device 200 can be interpreted as being implemented by the control of the processor 240. That is, when the module implemented in the above information providing system is executed, the module can be interpreted as controlling the processor 240 in a manner that causes the server device 100 and the user device 200 to perform the following actions.
簡言之,各種實施例可藉由各種機構來實現。例如,各種實施例可藉由硬體、韌體(firmware)、軟體或其等之結合等而實現。In short, various embodiments can be implemented by various mechanisms. For example, various embodiments can be implemented by hardware, firmware, software, or a combination thereof.
於藉由硬體而實現之情形時,各種實施例之方法可藉由一個或一個以上之ASICs(aplication specific integrated circuits,特殊應用積體電路)、DSPs(digital signal processors,數位信號處理器)、DSPDs(digital signal processing devices,數位信號處理器件)、PLDs(programmable logic devices,可程式邏輯器件)、FPGAs(field programmable gate arrays,場可程式化閘陣列)、處理器、控制器、微控制器、微處理器等而實現。In the case of implementation via hardware, various embodiments can be implemented using one or more ASICs (application-specific integrated circuits), DSPs (digital signal processors), DSPDs (digital signal processing devices), PLDs (programmable logic devices), FPGAs (field programmable gate arrays), processors, controllers, microcontrollers, microprocessors, etc.
於藉由韌體或軟體而實現之情形時,各種實施例之方法能夠以實行以下說明之功能或動作之模組、流程或函數等形態實現。例如,軟體代碼可儲存於記憶體而藉由處理器來驅動。上述記憶體可位於上述處理器之內部或外部,可藉由公知之各種機構而與上述處理器收發資料。When implemented using firmware or software, the methods of various embodiments can be implemented in the form of modules, processes, or functions that perform the functions or actions described below. For example, software code can be stored in memory and driven by a processor. The memory can be located inside or outside the processor and can send and receive data with the processor through various known mechanisms.
以下,基於如上所述之技術思想而更詳細地對各種實施例進行說明。對於以下說明之各種實施例,可應用之前說明之內容。例如,未於以下說明之各種實施例中定義之動作、功能、用語等可基於之前說明之內容來實行並說明。The following describes various embodiments in more detail based on the technical ideas described above. The content described above can be applied to the various embodiments described below. For example, actions, functions, terms, etc., not defined in the various embodiments described below can be implemented and explained based on the content described above.
於以下之說明中,以伺服器器件100實行提供對代碼覆蓋分析結果與測試結果進行比較所得之比較資訊之動作為前提而對各種實施例進行說明,根據各種實施例,服務之管理者之用戶器件200可輸出自伺服器器件100接收之比較資訊而提供。In the following description, various embodiments are explained based on the premise that the server device 100 provides comparison information obtained by comparing the code coverage analysis results and the test results. According to various embodiments, the user device 200 of the service administrator can output the comparison information received from the server device 100.
圖3係表示各種實施例之用以提供資訊之伺服器器件100之動作方法的圖。Figure 3 is a diagram illustrating the operation of the server device 100 used to provide information in various embodiments.
根據圖3,伺服器器件100可提供對代碼覆蓋分析結果與測試結果進行比較所得之比較資訊,具體而言,基於自服務上之複數個用戶獲得之請求資訊之處理,設定對服務之代碼覆蓋進行分析之代碼覆蓋工具、及對服務之代碼覆蓋分析進行模擬測試之模擬測試工具(301),獲得基於代碼覆蓋工具而對服務上之頁面進行分析之代碼覆蓋分析結果資訊、及基於模擬測試工具而對服務上之頁面之代碼覆蓋分析進行測試之測試結果資訊(303),提供對代碼覆蓋分析結果資訊與測試結果資訊進行比較所得之比較資訊(305)。According to Figure 3, the server device 100 can provide comparison information obtained by comparing code coverage analysis results with test results. Specifically, based on the processing of request information obtained from multiple users on the service, it sets up a code coverage tool for analyzing the code coverage of the service and a simulation test tool for simulating the code coverage analysis of the service. 301), obtain code coverage analysis results information based on code coverage tools to analyze pages on the service, and test results information based on simulation testing tools to test code coverage analysis of pages on the service (303), and provide comparison information obtained by comparing code coverage analysis results information and test results information (305).
根據圖3,伺服器器件100提供比較資訊之動作可對伺服器器件100提供之服務或與伺服器器件100相關之服務實行,上述服務可為利用服務之複數個用戶可訂購及購買服務中銷售之複數個物品之服務。服務中銷售之複數個物品並不限制於物品之種類或類型等,可包括銷售者為了銷售物品而註冊之各種種類或類型之物品。According to Figure 3, the comparison information provided by server device 100 can be implemented for services provided by server device 100 or services related to server device 100. These services can be services in which multiple users can order and purchase multiple items sold in the service. The multiple items sold in the service are not limited to the type or category of items, and can include various types or categories of items registered by the seller for the purpose of selling items.
根據各種實施例,於動作301中,伺服器器件100可基於自服務上之複數個用戶獲得之請求資訊之處理,設定對服務之代碼覆蓋進行分析之代碼覆蓋工具、及對服務之代碼覆蓋分析進行模擬測試之模擬測試工具。According to various embodiments, in action 301, server device 100 may configure a code overlay tool for analyzing the code overlay of the service and a simulation test tool for simulating the code overlay analysis of the service based on the processing of request information obtained by multiple users on the service.
例如,代碼覆蓋(code coverage)分析可指分析構建用以進行服務之系統或軟體之代碼實際是否執行之動作,代碼覆蓋工具可指為了分析代碼覆蓋而可應用於系統或軟體之軟體工具或編製程式工具。For example, code coverage analysis can refer to analyzing whether the code of a system or software used to provide services is actually executed. Code coverage tools can refer to software tools or programming tools that can be applied to a system or software to analyze code coverage.
例如,伺服器器件100根據動作301設定之代碼覆蓋工具能夠以按照固定之週期來執行之方式設定。於管理服務之層面,伺服器器件100能夠以每當固定之週期執行代碼覆蓋工具之方式設定,以便可持續分析代碼覆蓋,具體而言,能夠以如下方式設定:避開用戶較多地利用服務之時間段而於用戶之利用率較小之淩晨時間段等以固定的日期間隔執行代碼覆蓋工具。相同地,能夠以如下方式設定:根據301而伺服器器件100設定之模擬測試工具亦以固定之週期來執行。此時,執行代碼覆蓋工具之週期與執行模擬測試工具之週期可為為了各工具而單獨設定者。For example, the code overlay tool configured on server device 100 according to action 301 can be configured to run at a fixed interval. At the management service level, server device 100 can be configured to run the code overlay tool at fixed intervals to allow for continuous analysis of code overlay. Specifically, it can be configured to run the code overlay tool at fixed date intervals, avoiding peak user usage times and instead running it during off-peak hours such as early morning. Similarly, the simulation testing tool configured on server device 100 according to 301 can also be configured to run at a fixed interval. At this point, the execution cycle of the code overlay tool and the execution cycle of the simulation test tool can be set separately for each tool.
例如,伺服器器件100根據動作301設定之模擬測試工具可為原始代碼中模擬測試設定方法(method)之代碼的代碼覆蓋分析的第1模擬測試工具。即,伺服器器件100可設定對一連串之原始代碼中為了設定方法而編寫之代碼模擬測試代碼覆蓋分析之模擬測試工具。此處,方法可指原始代碼內用以實行特定作業之代碼之集合,於相似之觀點下,上述第1模擬測試工具不僅可為設定方法之代碼,亦可為模擬測試設定類(class)或線程(thread)之代碼的代碼覆蓋分析之模擬測試工具。For example, the simulation test tool configured by server device 100 according to action 301 can be a first simulation test tool for code coverage analysis of code that simulates test method settings in the original code. That is, server device 100 can configure a simulation test tool for code coverage analysis of code written for setting methods in a series of original code. Here, "method" can refer to a set of code in the original code used to perform a specific operation. From a similar perspective, the aforementioned first simulation test tool can be not only the code of the setting method, but also the code of the simulated test class or thread.
例如,伺服器器件100根據動作301設定之模擬測試工具可為模擬測試實行API域之請求資訊之輸入及響應資訊的輸出之代碼的代碼覆蓋分析之第2模擬測試工具。即,伺服器器件100可設定對一連串之原始代碼中為了實行API域中輸入請求資訊或輸出響應資訊之功能而編寫之代碼模擬測試代碼覆蓋分析的模擬測試工具。For example, the server device 100 can be configured with a second simulation test tool based on the simulation test tool set according to action 301, which performs code coverage analysis on the code that simulates the input of request information and the output of response information in the API domain. That is, the server device 100 can be configured with a simulation test tool that performs code coverage analysis on the code written in a series of original codes to perform the function of inputting request information or outputting response information in the API domain.
例如,伺服器器件100根據動作301設定之模擬測試工具可為模擬測試實行UI(User Interface)之資訊處理之代碼的代碼覆蓋分析之第3模擬測試工具。即,伺服器器件100可設定對一連串之原始代碼中為了實行服務上之UI之資訊處理功能而編寫的代碼模擬測試代碼覆蓋分析之模擬測試工具。For example, the simulation test tool set by the server device 100 according to action 301 can be a third simulation test tool for simulating the code coverage analysis of the code that performs UI (User Interface) information processing. That is, the server device 100 can be configured to perform simulation test code coverage analysis on the code written in a series of original codes to perform information processing functions of the UI on the service.
根據各種實施例,於動作303中,伺服器器件100可獲得代碼覆蓋分析結果資訊及測試結果資訊,該代碼覆蓋分析結果資訊係基於代碼覆蓋工具而對服務上之頁面進行分析所得者,該測試結果資訊係基於模擬測試工具而對服務上之頁面之代碼覆蓋分析進行測試所得者。According to various embodiments, in action 303, server device 100 can obtain code coverage analysis results information and test results information. The code coverage analysis results information is obtained by analyzing the pages on the service based on a code coverage tool, and the test results information is obtained by testing the code coverage analysis of the pages on the service based on a simulation testing tool.
例如,伺服器器件100根據動作303獲得之代碼覆蓋分析結果資訊可包括:於實現服務上之頁面之原始代碼中確認到用戶之利用歷史之第1碼區的資訊;及於原始代碼中未確認到用戶之利用歷史之第2碼區之資訊。即,基於是否確認到用戶之利用歷史而於實現服務上之頁面之原始代碼內分析代碼之資訊可包括於代碼覆蓋分析結果資訊。For example, the code overlay analysis result information obtained by server device 100 according to action 303 may include: information confirming the first code area of the user's usage history in the original code of the page implementing the service; and information not confirming the second code area of the user's usage history in the original code. That is, the information on analyzing the code in the original code of the page implementing the service based on whether the user's usage history has been confirmed may be included in the code overlay analysis result information.
此時,為了識別確認到用戶之利用歷史第1碼區與未確認到用戶之利用歷史之第2碼區,可設定各碼區之識別資訊。代碼覆蓋分析結果資訊可設定確認到用戶之利用歷史第1碼區之第1識別資訊與未確認到用戶之利用歷史的第2碼區之第2識別資訊,如上所述之第1識別資訊及第2識別資訊能夠以基於不同之色相而識別之方式設定。At this point, in order to identify and confirm the user's usage history in the first code zone and the user's usage history in the second code zone that has not been confirmed, identification information for each code zone can be set. The code coverage analysis result information can be set to the first identification information for the first code zone that has confirmed the user's usage history and the second identification information for the second code zone that has not been confirmed. As mentioned above, the first and second identification information can be set in a way that identifies based on different hues.
例如,伺服器器件100根據動作303獲得之代碼覆蓋分析結果資訊可包括實現服務上之頁面之原始代碼中確認到用戶之利用歷史的第1碼區之比率之資訊。能夠以如下方式進行管理:原始代碼中分析為確認到用戶之利用歷史之碼區之比率可藉由提供數值化的資訊而確認服務上之頁面之代碼覆蓋之水平。For example, the code coverage analysis results obtained by server device 100 based on action 303 may include information on the ratio of the first code block that identifies the user's usage history in the original code of the page implementing the service. This can be managed in such a way that the ratio of the code block that identifies the user's usage history in the original code analysis can be used to confirm the level of code coverage of the page on the service by providing quantified information.
例如,獲得分析服務上之頁面之代碼覆蓋分析結果資訊之動作303可為如下動作:對服務所包括之各API(Application Programming Interface)域之頁面應用代碼覆蓋工具且獲得包括與各API域對應之服務上的單個頁面之單個代碼覆蓋分析結果之資訊。For example, action 303, which obtains code overlay analysis results information for pages on the analysis service, can be the following action: apply a code overlay tool to the pages of each API (Application Programming Interface) domain included in the service and obtain information including individual code overlay analysis results for individual pages on the service corresponding to each API domain.
具體而言,伺服器器件100可確認用以進行服務之複數個API域所包括之各API域,於API域單位下執行代碼覆蓋工具而獲得與各API域對應之各代碼覆蓋分析結果。即,確認各API域之伺服器器件100可對與各API域對應之服務上之一個以上的頁面執行代碼覆蓋工具,獲得與各API域對應之各代碼覆蓋分析結果資訊。Specifically, server device 100 can confirm that each API domain included in the plurality of API domains used to provide services can execute a code coverage tool at the API domain unit to obtain code coverage analysis results corresponding to each API domain. That is, server device 100 confirms that it can execute a code coverage tool on one or more pages of the service corresponding to each API domain to obtain code coverage analysis results information corresponding to each API domain.
又,於管理者欲確認API域之代碼覆蓋分析結果資訊之情形時,若自管理者獲得選擇服務所包括之複數個API域中特定之第1API域之輸入,伺服器器件100可對應於上述輸入,提供與第1API域對應之第1代碼覆蓋分析結果資訊。此時,與第1API域對應之第1代碼覆蓋分析結果資訊可為綜合與第1API域對應之服務上之單個頁面的單個代碼覆蓋分析結果而包括之資訊。Furthermore, when an administrator wishes to confirm the code coverage analysis results of an API domain, if the administrator receives input indicating a specific first API domain among the plurality of API domains included in the selected service, the server device 100 can provide the first code coverage analysis results corresponding to the first API domain in accordance with the aforementioned input. In this case, the first code coverage analysis results corresponding to the first API domain can be information that integrates the code coverage analysis results of a single page on the service corresponding to the first API domain.
例如,伺服器器件100根據動作303獲得之測試結果資訊可包括根據以可模擬測試實行代碼覆蓋分析之方式設定之模擬測試工具而模擬(simulation)代碼覆蓋分析的結果之資訊。如上所述之測試結果資訊作為代碼覆蓋分析之模擬結果,可包括對實現服務上之頁面之原始代碼上之代碼確認到多少用戶的利用歷史等之資訊。For example, the test result information obtained by server device 100 according to action 303 may include information on the results of code coverage analysis simulated using a simulation testing tool configured to perform code coverage analysis in a simulated test manner. As a simulation result of code coverage analysis, the test result information described above may include information such as how many users' usage history has been identified in the source code of the pages implementing the service.
根據各種實施例,於動作305中,伺服器器件100可提供對代碼覆蓋分析結果資訊與測試結果資訊進行比較所得之比較資訊。According to various embodiments, in action 305, server device 100 can provide comparison information obtained by comparing code coverage analysis results information with test results information.
例如,伺服器器件100根據動作305提供之比較資訊可包括對第1比率與第2比率進行比較所得之資訊,該第1比率係於實現服務上之頁面之原始代碼中根據代碼覆蓋分析結果資訊而分析為確認到用戶之利用歷史之碼區的比率,該第2比率係於原始代碼中判根據測試結果資訊而判斷為確認到用戶之利用歷史之碼區之比率。即,將原始代碼中分析為根據代碼覆蓋分析結果資訊確認到用戶之利用歷史之碼區之比率數值化的資訊與將原始代碼中判斷為根據測試結果資訊確認到用戶之利用歷史之碼區之比率數值化的資訊進行比較,藉此能夠以如下方式進行管理:確認藉由模擬測試工具產生之測試結果所包括之代碼覆蓋比率多符合實際代碼覆蓋分析結果所包括之代碼覆蓋比率。For example, the comparison information provided by the server device 100 according to the action 305 may include information obtained by comparing a first ratio and a second ratio. The first ratio is the ratio of the code area that confirms the user's usage history, which is analyzed in the original code of the page implementing the service based on the code overlay analysis results. The second ratio is the ratio of the code area that confirms the user's usage history, which is determined in the original code based on the test results. That is, the information in the original code that is analyzed as the ratio of the code area where the user's usage history is confirmed based on the code coverage analysis results is compared with the information in the original code that is judged as the ratio of the code area where the user's usage history is confirmed based on the test results. In this way, management can be carried out in the following way: confirming that the code coverage ratio included in the test results generated by the simulation test tool is mostly consistent with the code coverage ratio included in the actual code coverage analysis results.
例如,伺服器器件100根據動作305提供之比較資訊可包括確認到實現服務上之頁面之原始代碼中藉由代碼覆蓋工具產生的代碼覆蓋分析結果與藉由模擬測試工具產生之測試結果不同之一部分碼區的資訊。即,對以服務上之頁面為對象實際實行代碼覆蓋分析之結果與模擬測試代碼覆蓋分析之測試結果進行比較而與其結果不同的部分對應之碼區之資訊可包括於伺服器器件100根據動作305提供之比較資訊。For example, the comparison information provided by server device 100 according to action 305 may include information about the portion of the original code that differs between the code coverage analysis results generated by the code coverage tool and the test results generated by the simulation testing tool in the original code of the page implementing the service. That is, information about the portion of the code that differs between the actual code coverage analysis results performed on the page of the service and the test results of the simulated code coverage analysis may be included in the comparison information provided by server device 100 according to action 305.
具體而言,伺服器器件100根據動作305提供之比較資訊中確認到代碼覆蓋分析結果與測試結果不同之一部分碼區可包括與根據代碼覆蓋工具分析為確認到用戶之利用歷史相反地根據模擬測試工具判斷為未確認到用戶之利用歷史的碼區。於以服務上之頁面為對象而實際實行代碼覆蓋分析之結果中,確認到用戶之利用歷史,但於模擬測試結果中,未確認到用戶之利用歷史之碼區為判斷為模擬測試工具未正常覆蓋之碼區,因此如上所述之碼區可為確定為為了改善模擬測試工具而需確認之碼區。Specifically, the server device 100 may identify, based on the comparison information provided by action 305, a portion of the code area where the code coverage analysis results differ from the test results. This may include code areas where the user's usage history is confirmed by the code coverage tool analysis but not by the simulation test tool. In the results of code coverage analysis performed on service pages, if the user's usage history is confirmed but not confirmed in the simulation test results, the code area is determined to be a code area not properly covered by the simulation test tool. Therefore, the code area described above can be identified as a code area that needs to be confirmed in order to improve the simulation test tool.
於伺服器器件100藉由比較資訊而確認根據代碼覆蓋工具分析為確認到用戶之利用歷史但根據模擬測試工具判斷為未確認到用戶之利用歷史之一部分碼區的資訊之情形時,伺服器器件100亦可如圖4般實行如下之動作:基於上述一部分碼區之資訊而更適當地更新模擬測試工具來提供藉由更新之模擬測試工具產生之測試結果。When the server device 100 confirms, through comparison information, that the code overlay tool has identified the user's usage history, but the simulation test tool determines that a portion of the user's usage history has not been identified, the server device 100 may also perform the following actions as shown in Figure 4: based on the information of the aforementioned portion of the code area, the simulation test tool is updated more appropriately to provide test results generated by the updated simulation test tool.
圖4係表示提供伺服器器件100基於更新之模擬測試工具而模擬測試服務上之頁面之代碼覆蓋分析的模擬測試更新結果資訊之動作方法之圖。Figure 4 is a diagram illustrating the action method of providing simulated test update result information by providing the server device 100 with code overlay analysis of pages on the simulated test service based on the updated simulated test tool.
伺服器器件100可確認實現服務上之頁面之原始代碼中確認到藉由代碼覆蓋工具產生之代碼覆蓋分析結果與藉由模擬測試工具產生之測試結果不同的一部分碼區之資訊(401)。此時,根據動作401確認之一部分碼區可包括與根據代碼覆蓋工具分析為確認到用戶之利用歷史相反地根據模擬測試工具判斷為未確認到用戶之利用歷史的碼區。Server device 100 can confirm information (401) in the original code of the page implementing the service that the code coverage analysis results generated by the code coverage tool are different from the test results generated by the simulation test tool. At this time, the code area confirmed according to action 401 may include code areas that, contrary to the analysis by the code coverage tool, confirm the user's usage history, but are determined by the simulation test tool to have no confirmed user usage history.
此後,伺服器器件100可獲得用以基於所確認之一部分碼區之資訊而更新模擬測試工具之工具更新資訊(403),可確認基於工具更新資訊而更新之模擬測試工具(405)。此處,工具更新資訊可為包括管理者直接修正模擬測試工具以便可更符合實際代碼覆蓋分析結果之更新事項之資訊、或亦可為包括伺服器器件100確認判斷為模擬測試工具上需改善之部分且自行將其修正之更新事項之資訊。Subsequently, the server device 100 can obtain tool update information (403) for updating the simulation test tool based on the information of a confirmed portion of the code area, and can confirm the updated simulation test tool based on the tool update information (405). Here, the tool update information may include information on updates where the administrator directly modifies the simulation test tool to better match the actual code coverage analysis results, or information on updates where the server device 100 confirms and determines that the parts of the simulation test tool need improvement and automatically modifies them.
確認更新之模擬測試工具之伺服器器件100能夠以根據更新之模擬測試工具而模擬測試服務上之頁面的代碼覆蓋分析之方式設定,可獲得再次測試服務上之頁面之代碼覆蓋分析之模擬測試更新結果資訊來提供(407)。The server device 100 of the confirmed updated simulation test tool can be configured to simulate the code coverage analysis of the page on the test service based on the updated simulation test tool, and can obtain the simulation test update result information of the code coverage analysis of the page on the test service again (407).
例如,根據圖4,提供模擬測試更新結果資訊之伺服器器件100亦可實行如下之動作:對模擬測試更新結果資訊與代碼覆蓋分析結果資訊進行再次比較,獲得對模擬測試更新結果資訊與代碼覆蓋分析結果資訊進行比較所得之比較資訊,從而根據獲得之比較資訊提供更新之模擬測試工具之反饋資訊。即,伺服器器件100於更新模擬測試工具時藉由更新之模擬測試工具產生之模擬測試更新結果與實際代碼覆蓋分析結果進行比較,從而可產生是否改善以使具有某種程度之準確度之反饋而提供。For example, according to Figure 4, the server device 100 providing simulation test update result information can also perform the following actions: compare the simulation test update result information with the code coverage analysis result information again to obtain comparison information obtained from the comparison of the simulation test update result information and the code coverage analysis result information, thereby providing feedback information on the updated simulation test tool based on the obtained comparison information. That is, when updating the simulation test tool, the server device 100 compares the simulation test update results generated by the updated simulation test tool with the actual code coverage analysis results, thereby generating feedback on whether improvements have been made to achieve a certain level of accuracy.
例如,根據圖4,提供模擬測試更新結果資訊之伺服器器件100獲得之工具更新資訊可為以以服務之頁面為單位實行更新的方式進行管理之資訊。作為一例,對於包括服務之某一特定頁面之原始代碼上與藉由代碼覆蓋工具而確認到用戶之利用歷史的一種方法對應之碼區之代碼集合,作為藉由第1模擬測試工具產生之測試結果,若表示為上述代碼集合未由用戶利用,則作為包括上述代碼集合之上述特定頁面應藉由更新而改善之對象,可為了第1模擬測試工具而確認。For example, according to Figure 4, the tool update information obtained by the server device 100, which provides simulation test update result information, can be information managed in a way that updates are performed on a page-by-page basis for the service. As an example, for the code set corresponding to the code area on the original code of a specific page of the service and the user's usage history confirmed by the code overlay tool, if the test result generated by the first simulation test tool indicates that the above code set has not been used by the user, then the specific page including the above code set can be confirmed by the first simulation test tool as the object that should be improved by updating.
於該情形時,工具更新資訊可包括可指示與上述特定頁面對應之API域及上述特定頁面之指示資訊,亦可包括以可改善第1模擬測試工具對上述特定頁面之測試結果之方式設定之更新事項的更新事項資訊。基於工具更新資訊所包括之指示資訊與更新事項資訊,伺服器器件100可更新與上述特定頁面相關之第1模擬測試工具之測試設定部分。In this case, the tool update information may include instruction information that indicates the API domain corresponding to the specific page and the specific page, and may also include update event information that sets update events in a manner that can improve the test results of the first simulation test tool for the specific page. Based on the instruction information and update event information included in the tool update information, the server device 100 can update the test settings of the first simulation test tool related to the specific page.
例如,於以可符合藉由代碼覆蓋工具產生之代碼覆蓋分析結果之方式更新模擬測試工具時,若需更新之模擬測試工具之測試設定部分較多而與其對應地工具更新資訊變得非常多,則根據執行模擬測試工具之裝置之規格,於變多之工具更新資訊之更新過程中會發生過載。因此,伺服器器件100可設定能夠以工具更新資訊之尺寸不超過固定尺寸之方式設定工具更新資訊之臨界尺寸。又,隨著設定臨界尺寸,於用以更新模擬測試工具中判斷為需更新之測試設定部分之資訊未全部包括於工具更新資訊之情形時,伺服器器件100賦予與作為藉由工具更新資訊而更新之對象之測試設定部分對應之頁面的更新優先順序,從而能夠以如下之方式進行管理:更新與更新優先順序較高之頁面相關之模擬測試工具之測試設定部分的資訊首先包括於工具更新資訊。For example, when updating a simulation test tool in a way that conforms to the code coverage analysis results generated by a code coverage tool, if there are many test settings in the simulation test tool that need to be updated, and the corresponding tool update information becomes very large, then according to the specifications of the device running the simulation test tool, overload will occur during the update process of the increased tool update information. Therefore, the server device 100 can be configured to set a critical size for the tool update information in a way that the size of the tool update information does not exceed a fixed size. Furthermore, as the critical size is set, if the information of the test settings that are determined to need updating in the simulation test tool is not fully included in the tool update information, the server device 100 assigns an update priority to the page corresponding to the test settings that are being updated through the tool update information. This allows for management in the following way: the information of the test settings of the simulation test tool that are updated and the page with the higher update priority are first included in the tool update information.
如上所述,工具更新資訊可對與服務所包括之特定API域對應之特定頁面更新與上述特定頁面相關之模擬測試工具的測試設定部分,為此,可指示上述特定API域與上述特定頁面。此時,伺服器器件100可設定如上所述般藉由指示資訊而指示之API域之優先順序與頁面之優先順序。As described above, the tool update information can update the test settings of the simulation test tool associated with a specific page corresponding to a specific API domain included in the service. Therefore, the specific API domain and the specific page can be specified. At this time, the server device 100 can set the priority of the API domain and the priority of the page specified by the instruction information as described above.
伺服器器件100設定之API域之優先順序可基於服務上API域之複數個用戶之利用率而設定,具體而言,越是用戶利用率較高之API域,則可具有越高之優先順序。作為一例,於與第1API域所包括之第1頁面及第2 API域所包括之第2頁面相關之測試設定部分的模擬測試工具需更新之情形時,若第1API域之用戶利用率高於第2 API域之用戶利用率,則可設定工具更新資訊以使與上述第1頁面相關之測試設定部分之模擬測試工具之更新可先於與上述第2頁面相關的測試設定部分而實行。The priority of API domains configured on server device 100 can be set based on the utilization rate of multiple users of the API domain on the service. Specifically, the higher the user utilization rate of an API domain, the higher its priority can be. As an example, when the simulation test tool related to the test settings of page 1 included in API domain 1 and page 2 included in API domain 2 needs to be updated, if the user utilization rate of API domain 1 is higher than that of API domain 2, the tool update information can be configured so that the update of the simulation test tool related to the test settings of page 1 can be performed before the update of the test settings of page 2.
又,伺服器器件100設定之頁面之優先順序可基於相同之API域所包括的多個頁面之複數個用戶之利用率而設定,具體而言,一個API域所包括之多個頁面中越是用戶利用率較高之頁面,則可具有越高之優先順序。作為一例,於與第1API域所包括之第1頁面及第1API域所包括之第3頁面相關之測試設定部分的模擬測試工具需更新之情形時,若第1頁面之用戶利用率高於第3頁面之用戶利用率,則可設定工具更新資訊以使與上述第1頁面相關之測試設定部分之模擬測試工具之更新可先於與上述第3頁面相關的測試設定部分而實行。Furthermore, the priority of the pages configured on the server device 100 can be set based on the utilization rate of multiple users across multiple pages included in the same API domain. Specifically, among the multiple pages included in an API domain, the page with the higher user utilization rate can have a higher priority. As an example, when the simulation test tool related to the test settings of the first page and the third page included in the first API domain needs to be updated, if the user utilization rate of the first page is higher than that of the third page, the tool update information can be configured so that the update of the simulation test tool related to the test settings of the first page can be performed before the update of the test settings of the third page.
伺服器器件100能夠以如下方式進行管理:首先應用API域之優先順序,之後應用頁面之優先順序,從而可確定服務上各API域所包括之頁面之更新優先順序,根據確定之更新優先順序而設定工具更新資訊。於與上述示例對應之情形時,用以按照與上述第1頁面相關之測試設定部分、與上述第3頁面相關之測試設定部分、及與上述第2頁面相關之測試設定部分的順序更新各測試設定部分之資訊可包括於工具更新資訊。Server device 100 can be managed in the following manner: first, the priority of API domains is applied, and then the priority of pages is applied, thereby determining the update priority of the pages included in each API domain on the service, and setting tool update information according to the determined update priority. In the case corresponding to the above example, the information used to update each test setting section in the order of the test setting section related to the first page, the test setting section related to the third page, and the test setting section related to the second page can be included in the tool update information.
圖5係表示基於代碼覆蓋工具及模擬測試工具而獲得代碼覆蓋分析結果資訊與測試結果資訊之比較資訊之方塊圖之圖。Figure 5 is a block diagram showing the comparison information between code coverage analysis results and test results obtained based on code coverage tools and simulation testing tools.
於圖5中,用以進行服務之整體伺服器中之一部分伺服器或指定之伺服器中構建以可應用軟體工具的方式管理之“Canary(金絲雀)”系統,基於處理如上所述般構建之“Canary”系統之請求資訊而分析代碼覆蓋之代碼覆蓋工具(“Coverage tool”)可藉由伺服器器件100而設定(501)。又,原始代碼中模擬測試設定方法之代碼的代碼覆蓋分析之第1模擬測試工具(“UT(Unit Test,單元測試)”)、模擬測試實行API域之請求資訊之輸入及響應資訊之輸出之代碼的代碼覆蓋分析之第2模擬測試工具(“Automation(自動化)”)、及/或模擬測試實行UI(User Interface)之資訊處理之代碼的代碼覆蓋分析的第3模擬測試工具(“Manual testing(手動測試)”)中之至少一部分可藉由伺服器器件100而設定(503)。In Figure 5, a "Canary" system is built on a portion of the overall server or a designated server for service, and managed in a manner that can be applied to software tools. A code overlay tool ("Coverage tool") that analyzes code overlay based on the request information of the "Canary" system built as described above can be set by the server device 100 (501). Furthermore, at least a portion of the first simulation test tool (“UT (Unit Test)”) for code coverage analysis of the code simulating the test setup method in the original code, the second simulation test tool (“Automation”) for code coverage analysis of the code simulating the input of request information and output of response information in the API domain, and/or the third simulation test tool (“Manual testing”) for code coverage analysis of the code simulating the information processing of the UI (User Interface) in the test, can be configured by the server device 100 (503).
獲得包括基於所設定之代碼覆蓋工具而以服務上之頁面為對象之代碼覆蓋分析之結果的代碼覆蓋分析結果資訊,獲得包括基於設定之模擬測試工具而以服務上之頁面為對象模擬實行測試之代碼覆蓋分析的結果之測試結果資訊,藉此,可獲得對代碼覆蓋分析結果資訊與測試結果資訊進行比較所得之比較資訊(505)。Obtain code coverage analysis results information, including the results of code coverage analysis based on the configured code coverage tool and targeting the pages on the service; obtain test results information, including the results of code coverage analysis based on the configured simulation testing tool and targeting the pages on the service; thereby, obtain comparison information obtained by comparing the code coverage analysis results information and the test results information (505).
應明白,根據圖3至圖5,於伺服器器件100實行提供對代碼覆蓋分析結果與測試結果進行比較所得之比較資訊之動作方法之過程中,各資訊能夠以各種形態結合。It should be understood that, according to Figures 3 to 5, during the process of implementing the method of providing comparison information obtained by comparing code coverage analysis results and test results in the server device 100, the information can be combined in various forms.
圖6至圖9係表示各種實施例之用以提供資訊之UI/UX(User Experience,用戶體驗)之一示例之圖。例如,圖6至圖9之示例可為用戶器件200之UI/UX(user interface/user experience),以下之圖式中說明之各實施例可基於圖6至圖9中描述之伺服器器件100之動作而實行。Figures 6 to 9 are diagrams illustrating examples of UI/UX (User Experience) used to provide information in various embodiments. For example, the examples in Figures 6 to 9 can be the UI/UX (user interface/user experience) of user device 200, and the embodiments described in the following figures can be implemented based on the operation of server device 100 described in Figures 6 to 9.
具體而言,以下之圖式中說明之用戶器件200之UI/UX之各實施例能夠以如下形態實行:於基於圖3至圖5中描述之動作之伺服器器件100將資訊提供給用戶器件200後,用戶器件200將其輸出。然而,以下之圖式中說明之UI/UX之各實施例並不限定於如上所述之形態而實行,能夠以可實現UI/UX之各實施例之各種形態實行。Specifically, the various embodiments of the UI/UX of the user device 200 illustrated in the following figures can be implemented in the following manner: after the server device 100 provides information to the user device 200 based on the actions described in Figures 3 to 5, the user device 200 outputs it. However, the various embodiments of the UI/UX illustrated in the following figures are not limited to the manner described above, and can be implemented in various forms that can implement the various embodiments of the UI/UX.
圖6係表示各種實施例之用戶器件200輸出與服務上之單個頁面對應之代碼覆蓋分析結果資訊的一示例之圖。Figure 6 is an example of the code overlay analysis results information corresponding to the output of user device 200 and a single page on the service in various embodiments.
於圖6中,用戶器件200輸出之代碼覆蓋分析結果資訊可為包括實現服務上之某一頁面之原始代碼的代碼覆蓋分析結果之資訊。In Figure 6, the code overlay analysis result information output by the user device 200 may include the code overlay analysis result information including the original code of a certain page on the service.
於圖6中,用戶器件200輸出之代碼覆蓋分析結果資訊能夠以如下方式設定:包括原始代碼內確認到用戶之利用歷史之第1碼區之資訊601及未確認到用戶之利用歷史的第2碼區之資訊603。In Figure 6, the code overlay analysis result information output by the user device 200 can be set as follows: including information 601 of the first code area in the original code where the user's usage history has been confirmed and information 603 of the second code area where the user's usage history has not been confirmed.
此時,可分別設定用以於原始代碼內識別第1碼區之資訊601之第1識別資訊與用以於原始代碼內識別第2碼區之資訊603的第2識別資訊,第1識別資訊與第2識別資訊能夠以基於不同之色相而識別之方式設定。即,第1碼區之資訊601與第2碼區之資訊603可藉由不同之色相而於原始代碼內區分。At this point, a first identification information for identifying information 601 in the first code area and a second identification information for identifying information 603 in the second code area can be set separately. The first and second identification information can be set in a way that identifies information based on different hues. That is, information 601 in the first code area and information 603 in the second code area can be distinguished in the original code by different hues.
圖7係表示各種實施例之用戶器件200輸出與API域對應之代碼覆蓋分析結果資訊之一示例的圖。Figure 7 is an example of the code overlay analysis results information corresponding to the user device 200 output and API domain in various embodiments.
於圖7中,用戶器件200輸出之代碼覆蓋分析結果資訊能夠以包括與API域對應之各種頁面之代碼覆蓋分析結果的方式設定。As shown in Figure 7, the code overlay analysis results output by the user device 200 can be configured to include code overlay analysis results for various pages corresponding to the API domain.
於圖7中,用戶器件200輸出之代碼覆蓋分析結果資訊可為與服務所包括之特定API域(“modular_search(模塊化_搜索)”)對應而確認之資訊,此處,可顯示實行代碼覆蓋分析之上述API域中包括之服務上之頁面(701)。於存在選擇所顯示之頁面中之一個頁面之輸入的情形時,可對選擇之頁面輸出如圖6之代碼覆蓋分析結果。In Figure 7, the code coverage analysis result information output by the user device 200 can be information that corresponds to a specific API domain (“modular_search”) included in the service. Here, the pages (701) on the service included in the aforementioned API domain where the code coverage analysis is performed can be displayed. When there is an input to select one of the displayed pages, the code coverage analysis result as shown in Figure 6 can be output to the selected page.
又,於圖7中,用戶器件200輸出之代碼覆蓋分析結果資訊可包括如下之資訊:按照API域所包括之各頁面於實現各頁面之原始代碼中確認到用戶之利用歷史的第1碼區之比率為何種程度之數值(703)。Furthermore, in Figure 7, the code coverage analysis results output by the user device 200 may include the following information: the percentage of the user's usage history first code area identified in the original code of each page implemented by the API domain (703).
能夠以如下方式設定:藉由如圖7般輸出之API域之代碼覆蓋分析結果資訊而按照服務中包括之API域的單位管理代碼覆蓋分析之結果。It can be configured as follows: manage the code coverage analysis results according to the unit of the API domains included in the service by using the code coverage analysis results information of the API domains output as shown in Figure 7.
圖8至圖9係表示各種實施例之用戶器件200輸出對代碼覆蓋分析結果資訊與測試結果資訊進行比較所得之比較資訊之一示例的圖。Figures 8 and 9 are examples of comparison information obtained by comparing the code coverage analysis results and test results information of the user device 200 output in various embodiments.
圖8至圖9可包括比較資訊所包括之各種資訊中藉由代碼覆蓋分析工具產生之實際代碼覆蓋之比率與藉由模擬測試工具產生之模擬測試上代碼覆蓋之比率進行比較的圖形資訊。Figures 8 and 9 may include graphical information comparing the ratio of actual code coverage generated by the code coverage analysis tool with the ratio of code coverage on the simulated test generated by the simulation test tool among various information included in the comparison information.
圖8可包括對藉由代碼覆蓋分析工具產生之實際代碼覆蓋之比率與藉由原始代碼中模擬測試設定方法之代碼的代碼覆蓋分析之第1模擬測試工具(“UT Coverage(覆蓋)”)產生之模擬測試上代碼覆蓋之比率(“active_line_cov(有效_行_覆蓋)”-83%)進行比較的圖形資訊(800)。又,圖9可包括藉由覆蓋分析工具產生之實際代碼覆蓋之比率與實行API域之請求資訊之輸入及響應資訊之輸出的代碼中模擬測試代碼覆蓋分析之第2模擬測試工具(“Automation Code Coverage(自動化代碼覆蓋)”)產生之模擬測試上代碼覆蓋之比率(“active_line_cov(有效_行_覆蓋)”-71%)進行比較的圖形資訊(900)。Figure 8 may include graphical information (800) comparing the ratio of actual code coverage generated by the code coverage analysis tool with the ratio of code coverage on the simulated test ("active_line_cov" - 83%) generated by the first simulation test tool ("UT Coverage") which performs code coverage analysis on code using the test configuration method in the original code. Furthermore, Figure 9 may include graphical information (900) comparing the actual code coverage ratio generated by the coverage analysis tool with the code coverage ratio ("active_line_cov" - 71%) generated by the second simulation test tool ("Automation Code Coverage") that simulates test code coverage analysis of the code implementing API domain request information input and response information output.
於圖8至圖9中,在與模擬測試工具對應之模擬測試上代碼覆蓋之比率低於實際代碼覆蓋之比率的情形時,可為存在根據代碼覆蓋工具分析為確認到用戶之利用歷史且根據模擬測試工具判斷為未確認到用戶之利用歷史之一部分碼區者。因此,對於如上所述之一部分碼區,可根據上述各種實施例而更新模擬測試工具,以便可符合實際代碼覆蓋分析結果。In Figures 8 and 9, when the code coverage ratio in the simulated test corresponding to the simulation testing tool is lower than the actual code coverage ratio, it may be that there is a portion of the code area that the code coverage tool analyzes as having confirmed the user's usage history but the simulation testing tool determines as not having confirmed the user's usage history. Therefore, for the portion of the code area described above, the simulation testing tool can be updated according to the various embodiments mentioned above so as to conform to the actual code coverage analysis results.
圖6至圖9之用戶器件200之UI/UX及用戶器件200之動作可與圖3至圖5中描述的伺服器器件100之工作繫結而實行,圖6至圖9之UI/UX示例作為用以揭示本發明之一示例,本發明之各種實施例不限定於圖6至圖9之UI/UX形態,可根據可實現本發明之各種實施例之所有形態之UI/UX而實行。The UI/UX of the user device 200 in Figures 6 to 9 and the actions of the user device 200 can be implemented in conjunction with the operation of the server device 100 described in Figures 3 to 5. The UI/UX examples in Figures 6 to 9 are examples used to illustrate the present invention. Various embodiments of the present invention are not limited to the UI/UX forms in Figures 6 to 9, and can be implemented according to all forms of UI/UX that can implement various embodiments of the present invention.
本說明書與圖式中揭示之本發明之實施例僅是為了容易地說明本發明之技術內容且有助於理解本發明而提出的特定示例,並非意欲限定本發明之範圍。即,於本發明所屬之技術領域內具有常識者應明白,可實施基於本發明之技術思想之其他變化例。又,可視需要而彼此組合上述各實施例來應用。例如,可將本發明之所有實施例之一部分彼此組合而藉由系統來實現。The embodiments of the invention disclosed in this specification and drawings are merely specific examples provided to facilitate the explanation of the technical content of the invention and to aid in understanding it, and are not intended to limit the scope of the invention. That is, those skilled in the art to which this invention pertains will understand that other variations based on the technical concept of the invention can be implemented. Furthermore, the above embodiments can be combined as needed for application. For example, a portion of all embodiments of the invention can be combined to implement it in a system.
又,與本發明之系統等對應之方法可實現為可藉由各種電腦機構實行之程式命令形態而記錄於電腦可讀媒體。Furthermore, the methods corresponding to the system of this invention can be implemented as program commands that can be executed by various computer mechanisms and recorded on computer-readable media.
如上所述,於特定觀點下,本發明之各種實施例可於電腦可讀記錄媒體(computer readable recording medium)中藉由電腦可讀代碼(computer readable code)而實現。電腦可讀記錄媒體為可儲存可藉由電腦系統讀取之資料之任意之資料儲存器件。電腦可讀記錄媒體之例可包括唯讀記憶體(read only memory,ROM)、隨機存取記憶體(random access memory,RAM)、光碟-唯讀記憶體(compact disk-read only memory,CD-ROM)、磁帶(magnetic tape)、軟碟(floppy disk)、光資料儲存器件、及載波(carrier wave)(藉由網際網路進行之資料發送等)。電腦可讀記錄媒體亦可藉由網路連接之電腦系統而分散,因此電腦可讀代碼以分散方式儲存及執行。又,用以達成本發明之各種實施例之功能性程式、代碼及碼段(segment)可由應用本發明之領域內之熟練之程式設計師容易地解釋。As described above, from a specific perspective, various embodiments of the present invention can be implemented in a computer-readable recording medium using computer-readable code. A computer-readable recording medium is any data storage device capable of storing data that can be read by a computer system. Examples of computer-readable recording media may include read-only memory (ROM), random access memory (RAM), compact disk-read-only memory (CD-ROM), magnetic tape, floppy disk, optical data storage devices, and carrier waves (data transmission via the Internet, etc.). Computer-readable recording media can also be distributed via network-connected computer systems, thus allowing computer-readable code to be stored and executed in a distributed manner. Furthermore, the functional programs, code, and segments used to achieve the various embodiments of this invention can be easily interpreted by skilled programmers in the field of this invention.
又,可知本發明之各種實施例之裝置及方法可實現為硬體、軟體或硬體及軟體之組合形態。此種軟體例如可儲存於如ROM等儲存裝置之揮發性或非揮發性儲存裝置、或例如RAM、記憶體晶片、裝置或積體電路之記憶體、或例如光碟(compact disk,CD)、DVD(Digital Versatile Disc,數位多功能光碟)、磁碟或磁帶等之可光學或磁性地記錄的同時可由機器(例如,電腦)讀取之儲存媒體,而與是否可刪除或可再記錄無關。可知本發明之各種實施例之方法可藉由包括控制部及記憶體之電腦或包括如上所述之記憶體或電腦的車輛等而實現,此種記憶體係包括實現本發明之實施例之命令之程式或可由適於儲存程式之機器讀取之儲存媒體的一例。Furthermore, it is understood that the various embodiments of the present invention can be implemented as hardware, software, or a combination of hardware and software. Such software can be stored, for example, in volatile or non-volatile storage devices such as ROM, or in memory such as RAM, memory chips, devices or integrated circuits, or in optically or magnetically recordable and machine-readable (e.g., computer) media such as compact disks (CDs), DVDs (Digital Versatile Discs), magnetic disks, or magnetic tapes, regardless of whether it is deletable or re-recordable. It is understood that the methods of various embodiments of the present invention can be implemented by a computer including a control unit and memory, or by a vehicle including the memory or computer as described above. Such memory includes a program that implements the instructions of the embodiments of the present invention, or a storage medium that can be read by a machine suitable for storing programs.
因此,本發明包括用以實現本說明書之發明申請專利範圍中記載之裝置或方法之代碼之程式、及可由儲存此種程式之機器(電腦等)讀取的儲存媒體。又,此種程式可藉由如利用有線或無線連接傳遞之通信信號之任意的媒體而電性移送,本發明適當地包括與其均等之內容。Therefore, this invention includes a program for implementing the code of the apparatus or method described in the invention claims of this specification, and a storage medium readable by a machine (computer, etc.) storing such a program. Furthermore, such a program can be electrically transmitted via any medium, such as a communication signal transmitted using a wired or wireless connection, and this invention appropriately includes its equivalent.
以上,參照本發明之實施例進行了說明,但本說明書與圖式中揭示之本發明之實施例僅是為了容易地說明本發明之技術內容且有助於理解本發明而提出之特定示例,並非意欲限定本發明之範圍。又,可理解,之前說明之本發明之實施例僅為示例,於本領域內具有常識者可據此實現各種變化及均等之範圍之實施例。因此,本發明之真正技術保護範圍應根據以下之發明申請專利範圍而界定。The foregoing description refers to embodiments of the present invention. However, the embodiments of the present invention disclosed in this specification and drawings are merely specific examples provided to facilitate the explanation of the technical content of the present invention and to aid in understanding it, and are not intended to limit the scope of the present invention. Furthermore, it is understood that the previously described embodiments of the present invention are merely examples, and those skilled in the art can implement various variations and equivalent embodiments based on them. Therefore, the true scope of protection of the present invention should be defined according to the following patent application.
100:伺服器器件200:用戶器件210:輸入/輸出部220:收發部230:儲存器240:處理器301:動作303:動作305:動作401:動作403:動作405:動作407:動作501:動作503:動作505:動作601:第1碼區之資訊603:第2碼區之資訊701:頁面703:資訊800:圖形資訊900:圖形資訊100: Server Device 200: User Device 210: Input/Output Unit 220: Transceiver Unit 230: Memory 240: Processor 301: Action 303: Action 305: Action 401: Action 403: Action 405: Action 407: Action 501: Action 503: Action 505: Action 601: Information in Code Area 1 603: Information in Code Area 2 701: Page 703: Information 800: Graphic Information 900: Graphic Information
圖1係用以說明可實現各種實施例之用以提供資訊之電子裝置之動作方法的資訊提供系統之圖。圖2係表示各種實施例之伺服器器件100及用戶器件200之構成之圖。圖3係表示各種實施例之用以提供資訊之伺服器器件100之動作方法的圖。圖4係表示提供伺服器器件100基於更新之模擬測試工具而模擬測試服務上之頁面之代碼覆蓋分析的模擬測試更新結果資訊之動作方法之圖。圖5係表示基於代碼覆蓋工具及模擬測試工具而獲得代碼覆蓋分析結果資訊及測試結果資訊之比較資訊之方塊圖之圖。圖6係表示各種實施例之用戶器件200輸出與服務上之單個頁面對應之代碼覆蓋分析結果資訊的一示例之圖。圖7係表示各種實施例之用戶器件200輸出與API域對應之代碼覆蓋分析結果資訊之一示例的圖。圖8至圖9係表示各種實施例之用戶器件200輸出對代碼覆蓋分析結果資訊與測試結果資訊進行比較所得之比較資訊之一示例的圖。Figure 1 is a diagram illustrating the operation method of an electronic device for providing information, which can implement various embodiments. Figure 2 is a diagram showing the configuration of server device 100 and user device 200 in various embodiments. Figure 3 is a diagram showing the operation method of server device 100 for providing information in various embodiments. Figure 4 is a diagram showing the operation method of providing server device 100 with simulated test update result information based on updated simulation test tools to simulate test service page code coverage analysis. Figure 5 is a block diagram showing the comparison information of code coverage analysis result information and test result information obtained based on code coverage tools and simulation test tools. Figure 6 is an example of code coverage analysis results information corresponding to a single page on the service from the user device 200 output in various embodiments. Figure 7 is an example of code coverage analysis results information corresponding to an API domain from the user device 200 output in various embodiments. Figures 8 and 9 are examples of comparison information obtained by comparing code coverage analysis results information and test results information from the user device 200 output in various embodiments.
301:動作303:動作305:動作301:Action303:Action305:Action
Claims (11)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR10-2023-0060449 | 2023-05-10 | ||
| KR1020230060449A KR102618417B1 (en) | 2023-05-10 | 2023-05-10 | Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW202533144A TW202533144A (en) | 2025-08-16 |
| TWI904045B true TWI904045B (en) | 2025-11-01 |
Family
ID=
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR102713473B1 (en) | Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof | |
| TWI904045B (en) | Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof | |
| KR20250108570A (en) | Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof | |
| TWI884899B (en) | Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof | |
| TWI884495B (en) | Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof | |
| TW202424869A (en) | Method for managing item information and electronic apparatus providing thereof | |
| TWI905533B (en) | Operating method for electronic apparatus for configuring information and electronic apparatus supporting thereof | |
| TWI897071B (en) | Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof | |
| KR102681000B1 (en) | Operating method for electronic apparatus for managing transmission of information and electronic apparatus supporting thereof | |
| TWI897160B (en) | Operating method for electronic apparatus for managing information and electronic apparatus supporting thereof | |
| TWI907884B (en) | Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof | |
| KR102713491B1 (en) | Operating method for electronic apparatus for providing service and electronic apparatus supporting thereof | |
| TWI902645B (en) | Operating method for electronic apparatus for configuring information and electronic apparatus supporting thereof | |
| KR102773602B1 (en) | Operating method for electronic apparatus for providing page and electronic apparatus supporting thereof | |
| TWI909977B (en) | Operating method for electronic apparatus for providing page and electronic apparatus supporting thereof | |
| KR102618518B1 (en) | Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof | |
| TW202536766A (en) | Operating method for electronic apparatus for implementing service and electronic apparatus supporting thereof | |
| TW202445480A (en) | Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof | |
| TW202447514A (en) | Operating method for electronic apparatus for configuring information and electronic apparatus supporting thereof |