CN102314385A - Method and system for outputting and acquiring running information of embedded browser - Google Patents
Method and system for outputting and acquiring running information of embedded browser Download PDFInfo
- Publication number
- CN102314385A CN102314385A CN201110205515A CN201110205515A CN102314385A CN 102314385 A CN102314385 A CN 102314385A CN 201110205515 A CN201110205515 A CN 201110205515A CN 201110205515 A CN201110205515 A CN 201110205515A CN 102314385 A CN102314385 A CN 102314385A
- Authority
- CN
- China
- Prior art keywords
- debugging information
- information
- embedded browser
- password lock
- storage device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 230000008569 process Effects 0.000 claims abstract description 19
- 230000005540 biological transmission Effects 0.000 claims abstract description 7
- 238000004891 communication Methods 0.000 claims description 6
- 230000000977 initiatory effect Effects 0.000 claims description 5
- 230000006870 function Effects 0.000 description 9
- 230000002093 peripheral effect Effects 0.000 description 8
- 238000012827 research and development Methods 0.000 description 5
- 238000004590 computer program Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004883 computer application Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000007639 printing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 238000013024 troubleshooting Methods 0.000 description 1
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
本发明提供一种嵌入式浏览器的运行信息的输出、获取方法和系统及传输系统,所述方法,包括:记录用于定位嵌入式浏览器问题的调试信息所对应的密码锁,其中该密码锁由一组按键值组成;当接收到的外部发送的信息为一组密码锁时,根据各调试信息所对应的密码锁,发起获取当前得到的密码锁所对应的调试信息的流程,得到外部所需的工作调试信息;向外连的存储设备输出所述外部所需的调试信息。
The present invention provides a method and system for outputting and obtaining operating information of an embedded browser, and a transmission system. The method includes: recording a password lock corresponding to debugging information for locating embedded browser problems, wherein the password The lock consists of a set of key values; when the received external information is a set of combination locks, according to the combination locks corresponding to each debugging information, initiate the process of obtaining the debugging information corresponding to the currently obtained combination locks, and obtain the external Required work debugging information; outputting the externally required debugging information to an externally connected storage device.
Description
技术领域 technical field
本发明涉及计算机应用领域,尤其涉及一种嵌入式浏览器的运行信息的输出、获取方法及其系统。 The invention relates to the field of computer applications, in particular to a method for outputting and acquiring running information of an embedded browser and a system thereof. the
背景技术 Background technique
随着基于网络应用的IPTV业务应用快速的发展,IPTV业务系统引入的业务应用越来越多,而这些业务都需要通过终端设备的浏览器来实现的,即需要嵌入式浏览器支持的功能模块和业务需求越来越复杂,例如CSS3.0页面特效、Widget应用、消息系统、Flash动画等新业务应用的迅速推广。同时,随着页面标准规范的不断完善和业务开发人员开发页面水平的不断提高,一些新鲜的、复杂的业务应用不断产生,同时伴随着业务平台的架构改造和升级换代。在诸多新的功能需求和复杂的应用面前,必然会出现更多难以定位的问题和不可预料的异常发生。有时候有些问题出现在现场,需要开发人员及时解决,但开发人员又不在现场的情况下,则需要在现场外围测试人员提供一些能定位出问题所在的有用的浏览器状态信息和/或调试日志,这些信息日志对于分析问题的根源所在是非常必要的。 With the rapid development of IPTV business applications based on network applications, more and more business applications are introduced into the IPTV business system, and these services need to be realized through the browser of the terminal device, that is, functional modules that require embedded browser support And business requirements are becoming more and more complex, such as the rapid promotion of new business applications such as CSS3.0 page effects, Widget applications, message systems, and Flash animations. At the same time, with the continuous improvement of page standards and the continuous improvement of the development level of business developers, some fresh and complex business applications continue to emerge, accompanied by the structural transformation and upgrading of the business platform. In the face of many new functional requirements and complex applications, more difficult-to-locate problems and unexpected exceptions will inevitably occur. Sometimes some problems occur on site and need to be solved by developers in a timely manner, but if the developers are not on site, testers need to provide some useful browser status information and/or debug logs that can locate the problem , these information logs are necessary to analyze the root cause of the problem. the
在实现本发明过程中,发明人发现现有技术至少存在如下问题: In the process of realizing the present invention, the inventor finds that there are at least the following problems in the prior art:
在市面上现有的商用嵌入式浏览器,在碰到异常时,往往是通过抓取网络包和不断地修改页面来定位问题,获取调试信息日志的方法也只局限于串口输出或弹出alert窗口信息来跟踪。这样不但获取信息的途径比较繁琐、简单,而且信息的有效性、针对性也会很差。比如,当业务流程有异常时,开发人员希望确认某个js函数有没有调用,他只有在那个函数中调用一下alert将相关信息打印出来,但在业务平台相当庞大复杂的情况下,不可能在每个函数都打印信息,在这种情况下,页面开发人员只有通过不断的修改相关页 面进行调试,直到定位出问题所在的点为止。另外,在一个复杂的业务应用平台中,需要浏览器打印输出的信息种类繁多、数量巨大,这些信息不可能随时都要全部打印出来,比如JS函数调用信息、动态写的html代码、ajax请求的页面数据、CSS文件数据信息、浏览器内部数据的结构信息、定时器信息、刷新信息以及开发过程中一些重要处理和异常部分打印的信息等等,如果所有这些调试信息都全部打出来,不但不能有益于定位问题,反过来还会影响分析解决问题的效率。 In the existing commercial embedded browsers on the market, when an exception is encountered, the problem is often located by grabbing the network packet and continuously modifying the page, and the method of obtaining the debug information log is limited to the serial port output or the pop-up alert window information to track. In this way, not only the way to obtain information is cumbersome and simple, but also the effectiveness and pertinence of information will be poor. For example, when there is an exception in the business process, the developer wants to confirm whether a certain js function has been called. He only needs to call alert in that function to print out the relevant information. However, in the case of a large and complex business platform, it is impossible to Each function prints information. In this case, the page developer can only debug by constantly modifying the relevant pages until the point where the problem is located. In addition, in a complex business application platform, there are many types and huge quantities of information that need to be printed out by the browser. It is impossible to print out all of these information at any time, such as JS function call information, dynamically written html code, and ajax request. Page data, CSS file data information, browser internal data structure information, timer information, refresh information, and some important processing and abnormal part printing information during the development process, etc., if all these debugging information are printed out, not only cannot It is beneficial to locate the problem, which in turn will affect the efficiency of analyzing and solving the problem. the
发明内容 Contents of the invention
本发明提供一种嵌入式浏览器的运行信息的输出、获取方法及其系统,要解决的技术问题依次是如何高效准确地输出、获取有针对性的嵌入式浏览器的调试信息。 The invention provides a method and system for outputting and acquiring running information of an embedded browser. The technical problem to be solved is how to efficiently and accurately output and acquire targeted debugging information of the embedded browser. the
为解决上述技术问题,本发明提供了如下技术方案: In order to solve the problems of the technologies described above, the present invention provides the following technical solutions:
一种嵌入式浏览器的调试信息的输出方法,包括: A method for outputting debugging information of an embedded browser, comprising:
记录用于定位嵌入式浏览器问题的调试信息所对应的密码锁,其中该密码锁由一组按键值组成; Record the password lock corresponding to the debugging information used to locate the embedded browser problem, where the password lock is composed of a set of key values;
当接收到的外部发送的信息为一组密码锁时,根据各调试信息所对应的密码锁,发起获取当前得到的密码锁所对应的调试信息的流程,得到外部所需的工作调试信息; When the received information sent from the outside is a set of combination locks, according to the combination locks corresponding to each debugging information, initiate the process of obtaining the debugging information corresponding to the currently obtained combination locks, and obtain the externally required work debugging information;
向外连的存储设备输出所述外部所需的调试信息。 Outputting the externally required debugging information to the externally connected storage device. the
优选的,所述方法还具有如下特点:所述存储设备包括通过硬件接口与本地相连的存储设备和通过网络连接与本地相连的存储设备中至少一个。 Preferably, the method further has the following features: the storage device includes at least one of a storage device connected locally through a hardware interface and a storage device connected locally through a network connection. the
优选的,所述方法还具有如下特点:发起获取当前得到的密码锁所对应的调试信息的流程是在检测本地与所述存储设备已建立通信时发起的。 Preferably, the method also has the following feature: the process of initiating the acquisition of the debugging information corresponding to the currently obtained password lock is initiated when it is detected that the local communication with the storage device has been established. the
一种嵌入式浏览器的调试信息的获取方法,包括: A method for obtaining debugging information of an embedded browser, comprising:
设置用于定位嵌入式浏览器问题的调试信息所对应的密码锁,其中该密码锁由一组按键值组成; Set the password lock corresponding to the debugging information used to locate the embedded browser problem, where the password lock is composed of a set of key values;
发送包括密码锁的调试信息获取请求; Send a debug information acquisition request including a password lock;
获取所述密码锁所对应的调试信息。 Obtain the debugging information corresponding to the password lock. the
一种嵌入式浏览器的调试信息的输出系统,包括: An output system for debugging information of an embedded browser, including:
记录装置,用于记录用于定位嵌入式浏览器问题的调试信息所对应的密码锁,其中该密码锁由一组按键值组成; The recording device is used to record the password lock corresponding to the debugging information used to locate the embedded browser problem, wherein the password lock is composed of a set of key values;
获取装置,用于当接收到的外部发送的信息为一组密码锁时,根据各调试信息所对应的密码锁,发起获取当前得到的密码锁所对应的调试信息的流程,得到外部所需的调试信息; The obtaining device is used for initiating the process of acquiring the debugging information corresponding to the currently obtained coded lock according to the coded lock corresponding to each debugging information when the received externally sent information is a group of coded locks, and obtaining the externally required debug information;
输出装置,用于向外连的存储设备输出所述外部所需的调试信息。 The output device is used for outputting the externally required debugging information to the externally connected storage device. the
优选的,所述输出系统还具有如下特点:所述获取装置是在检测本地与所述存储设备已建立通信时发起获取当前得到的密码锁所对应的调试信息的流程的。 Preferably, the output system also has the following feature: the obtaining means initiates the process of obtaining the debugging information corresponding to the combination lock currently obtained when it detects that the local communication with the storage device has been established. the
一种嵌入式浏览器的调试信息的获取系统,包括: An acquisition system for debugging information of an embedded browser, comprising:
设置装置,用于设置用于定位嵌入式浏览器问题的调试信息所对应的密码锁,其中该密码锁由一组按键值组成; The setting device is used to set the password lock corresponding to the debugging information for locating the embedded browser problem, wherein the password lock is composed of a group of key values;
发送装置,用于发送包括密码锁的调试信息获取请求; The sending device is used to send a debugging information acquisition request including a password lock;
获取装置,用于获取所述密码锁所对应的调试信息。 The acquiring device is used to acquire the debugging information corresponding to the password lock. the
优选的,所述获取系统还具有如下特点:当安装有所述嵌入式浏览器的终端设备为机顶盒时,所述设置装置为遥控器。 Preferably, the acquisition system also has the following feature: when the terminal device installed with the embedded browser is a set-top box, the setting device is a remote controller. the
一种嵌入式浏览器的运行信息的传输系统,包括: A transmission system for running information of an embedded browser, including:
上文所述的输出系统; the output system described above;
上文所述的获取系统;以及, the acquisition system described above; and,
存储设备,用于存储所述输出系统输出的调试信息。 The storage device is used for storing the debugging information output by the output system. the
优选的,所述传输系统还具有如下特点:所述存储设备通过硬件接口和网络连接中至少一个与输出系统相连。 Preferably, the transmission system also has the following characteristics: the storage device is connected to the output system through at least one of a hardware interface and a network connection. the
与现有技术相比,通过记录各调试信息分别对应的密码锁,在用户需要获取某一调试信息时,终端设备通过输入的密码锁,就能高效准确获取用户所需的调试信息,再通过将其发送到外部的存储设备,使得调试信息处于所取即为所需的状态,让使用的这种终端设备的人员能够很方便地获取到开发人员想要的信息,且能达到获取方便、快捷、全面和准确的目的,达到既简化获取调试信息的流程,又可以更加准确地抓取到开发人员需要的那部分信息的效果,方便开发人员分析定位问题并大大提高解决故障的速度。 Compared with the existing technology, by recording the password locks corresponding to each debugging information, when the user needs to obtain a certain debugging information, the terminal device can efficiently and accurately obtain the debugging information required by the user through the input password lock, and then pass Send it to an external storage device, so that the debugging information is in the state of what is needed, so that the personnel using this terminal device can easily obtain the information that the developer wants, and can achieve convenient, The purpose of fast, comprehensive and accurate, not only simplify the process of obtaining debugging information, but also more accurately capture the part of the information that developers need, which is convenient for developers to analyze and locate problems and greatly improve the speed of troubleshooting. the
附图说明 Description of drawings
图1为本发明提供的嵌入式浏览器的调试信息的输出方法实施例的流程示意图; Fig. 1 is the schematic flow sheet of the output method embodiment of the debugging information of the embedded browser provided by the present invention;
图2为本发明提供的嵌入式浏览器的调试信息的获取方法实施例的流程示意图; Fig. 2 is the schematic flow sheet of the acquisition method embodiment of the debugging information of the embedded browser provided by the present invention;
图3为本发明提供的嵌入式浏览器的调试信息的输出系统实施例的结构示意图; Fig. 3 is the structural representation of the output system embodiment of the debugging information of the embedded browser provided by the present invention;
图4为本发明提供的嵌入式浏览器的调试信息的获取系统实施例的系统实施例的结构示意图。 FIG. 4 is a schematic structural diagram of a system embodiment of an embodiment of a system embodiment for acquiring debugging information of an embedded browser provided by the present invention. the
具体实施方式 Detailed ways
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图及具体实施例对本发明作进一步的详细描述。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。 In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other. the
图1为本发明提供的嵌入式浏览器的调试信息的发送方法实施例的流程示意图。图1所示方法实施例包括: FIG. 1 is a schematic flowchart of an embodiment of a method for sending debugging information of an embedded browser provided by the present invention. The method embodiment shown in Fig. 1 comprises:
步骤101、终端设备记录用于定位嵌入式浏览器问题的调试信息所对应的密码锁;
其中该密码锁是由一组按键值组成;举例来说,可以是由该终端设备的 外设输入装置上的各按键标记的符号组成的。例如,如果该终端设备为机顶盒,该密码锁可以是由遥控器上按键标记的符号组成。 Wherein the password lock is made up of a group of key values; for example, it can be made up of symbols marked by each key on the peripheral input device of the terminal equipment. For example, if the terminal device is a set-top box, the combination lock may be composed of symbols marked with buttons on the remote control. the
其中本文所说的调试信息包括嵌入式浏览器的内部状态信息、由嵌入式浏览器自身产生的调用信息以及调试信息中的至少一种;如调试日志等。其中该调用信息和调试信息是指在接收用户操作和本地业务处理过程中所产生的。 The debugging information mentioned herein includes at least one of internal state information of the embedded browser, calling information generated by the embedded browser itself, and debugging information; such as debugging logs and the like. The calling information and debugging information refer to those generated during the process of receiving user operations and local service processing. the
举例来说,上述所述的调试信息可以是在嵌入式浏览器后续执行过程中输出相关页面代码数据、函数调用顺序及关键调试信息、嵌入式浏览器当前框架解析出来的页面DOM节点属性数据结构树、嵌入式浏览器后续获取到的ajax请求页面数据、嵌入式浏览器执行JS函数的调用入口、调用顺利、调用出口及JS函数所在的具体文件、行号和函数参数等等。 For example, the above-mentioned debugging information may be the output of relevant page code data, function call sequence and key debugging information, and the page DOM node attribute data structure parsed by the current frame of the embedded browser during the subsequent execution of the embedded browser. The tree, the ajax request page data obtained by the embedded browser, the call entry of the embedded browser to execute the JS function, the call is smooth, the call exit and the specific file, line number and function parameter where the JS function is located, etc. the
步骤102、当接收到的外部发送的信息为一组密码锁时,终端设备根据各调试信息分别对应的密码锁,发起获取当前得到的密码锁所对应的调试信息的流程,得到外部所需的调试信息;
具体的,终端设备记录用户输入的符号,并判断连续输入的符号是否能够组成一组密码锁,如果能够组成一组密码锁,则表示用户需要终端设备向外部输出该密码锁对应的调试信息,那么根据步骤101中记录的调试信息与密码锁的对应关系,就能够确定用户所需的调试信息,就可以进行调试信息的获取。
Specifically, the terminal device records the symbols input by the user, and judges whether the continuously input symbols can form a combination lock. If a combination lock can be formed, it means that the user needs the terminal device to output the debugging information corresponding to the combination lock to the outside. Then, according to the corresponding relationship between the debugging information recorded in
举例来说,终端设备收到遥控器按键时,判断是否为密码锁键值,如果不是则抛弃不处理此按键,否则,记录用户按键;然后匹配密码锁,判断是否组成密码锁,如果不能组成密码锁则不处理此按键,如果是能组成密码锁,则再判断是否为清除密码锁,如果是清除密码锁,则停止所有与密码锁的应用,否则,查找该密码锁对应的目标调试信息。 For example, when the terminal device receives a button from the remote control, it judges whether it is a password lock key value. If not, it discards the button and does not process it. Otherwise, it records the user's button; Combination lock does not process this key. If it can form a combination lock, then judge whether it is to clear the combination lock. If it is to clear the combination lock, stop all applications related to the combination lock. Otherwise, find the target debugging information corresponding to the combination lock. . the
步骤103、终端设备向外连的存储设备输出所述外部所需的调试信息。
其中该外连的存储设备可以是通过终端设备上外设的硬件接口相连的本地存储设备,也可以是通过网络连接的远程存储设备。 The externally connected storage device may be a local storage device connected through a hardware interface of a peripheral device on the terminal device, or a remote storage device connected through a network. the
举例来说,如果终端设备有外设的USB接口,则用户可以通过USB接 口将外部的存储设备与USB相连,而终端设备也可以将所述目标调试信息直接发送到该存储设备上; For example, if the terminal device has a peripheral USB interface, the user can connect the external storage device to the USB through the USB interface, and the terminal device can also directly send the target debugging information to the storage device;
当然,也可预先配置一装置作为远程存储设备,该信息接收设备与该终端设备建立通信连接,如采用TCP/IP协议等。而所述终端设备也可以通过网络连接将所述目标调试信息发送到所述远程存储设备。 Of course, a device may also be pre-configured as a remote storage device, and the information receiving device establishes a communication connection with the terminal device, such as using TCP/IP protocol. The terminal device may also send the target debugging information to the remote storage device through a network connection. the
其中该终端设备可以机顶盒等。 The terminal device may be a set-top box or the like. the
需要说明的是,步骤102中终端设备接收到的按键值可以是该终端设备外设的输入装置(如键盘或遥控器等)发送的,也可以由与所述终端设备相连的外部存储设备发送的。
It should be noted that the key value received by the terminal device in
可选的,在接收到外部输入的按键值时,先判断一下是否有与所述终端设备相连的外部存储设备,如果没有,可忽略本次输入的按键值,直到检测到外部有存储设备时,所述终端设备再进行密码锁的匹配、信息的获取和发送。 Optionally, when receiving an externally input key value, first determine whether there is an external storage device connected to the terminal device, if not, ignore the key value input this time until an external storage device is detected , the terminal device then performs combination lock matching, information acquisition and sending. the
本发明提供的输出方法实施例,通过记录嵌入式浏览器中各调试信息分别对应的密码锁,通过接收到的密码锁,就能准确确定用户需要的调试信息,并将该调试信息输出给外部的存储设备,使得调试信息处于所取即为所需的状态,让使用的这种终端设备的人员能够很方便地获取到开发人员想要的信息,且能达到获取方便、快捷、全面和准确的目的;便于嵌入式设备的外围测试人员能够高效准确地获取有用的调试信息,同时大大提高浏览器和web开发人员定位解决故障和处理异常的速度,方便跟踪定位嵌入式浏览器在运行过程中出现的异常,达到降低人力成本、提高研发效率为目的。 In the embodiment of the output method provided by the present invention, by recording the password locks corresponding to each debugging information in the embedded browser, and through the received password locks, the debugging information required by the user can be accurately determined, and the debugging information is output to the outside The storage device makes the debugging information in the state of taking what is needed, so that the personnel using this terminal device can easily obtain the information that the developer wants, and can achieve convenient, fast, comprehensive and accurate acquisition The purpose is to facilitate the peripheral testers of embedded devices to obtain useful debugging information efficiently and accurately, and at the same time greatly improve the speed of browser and web developers to locate and solve faults and handle exceptions, and to facilitate tracking and positioning of embedded browsers during operation Abnormal occurrence, to achieve the purpose of reducing labor costs and improving R&D efficiency. the
图2为本发明提供的嵌入式浏览器的调试信息的获取系统实施例的流程示意图。图2所示实施例的方法包括: FIG. 2 is a schematic flowchart of an embodiment of a system for acquiring debugging information of an embedded browser provided by the present invention. The method of the embodiment shown in Fig. 2 comprises:
步骤201、控制设备设置用于定位嵌入式浏览器问题的调试信息所对应的密码锁,其中该密码锁由一组按键值组成;
其中该控制设备是用于安装有嵌入式浏览器的终端设备。 Wherein the control device is a terminal device installed with an embedded browser. the
例如,设置11111为一个调试信息的密码锁。 For example, set 11111 as a password lock for debugging information. the
步骤202、控制设备发送包括密码锁的调试信息获取请求;
例如,直接发送11111,就表示要获取密码锁为11111的调试信息。 For example, if you send 11111 directly, it means you want to get the debugging information with password lock 11111. the
步骤203、控制设备获取所述密码锁所对应的调试信息。
本发明提供的获取方法实施例,通过设置嵌入式浏览器中各调试信息分别对应的密码锁,使得安装嵌入式浏览器的终端设备能够知道外界对调试信息的识别方式,在需要获取调试信息时,通过发送该调试信息的密码锁,就能触发终端设备输出用户需要的调试信息,使得调试信息处于所取即为所需的状态,让使用的这种终端设备的人员能够很方便地获取到开发人员想要的信息,且能达到获取方便、快捷、全面和准确的目的;便于嵌入式设备的外围测试人员能够高效准确地获取有用的调试信息,同时大大提高浏览器和web开发人员定位解决故障和处理异常的速度,方便跟踪定位嵌入式浏览器在运行过程中出现的异常,达到降低人力成本、提高研发效率为目的。 In the embodiment of the acquisition method provided by the present invention, by setting the password locks corresponding to the debugging information in the embedded browser, the terminal device installed with the embedded browser can know the way the outside world recognizes the debugging information, and when it is necessary to obtain the debugging information , by sending the password lock of the debugging information, the terminal device can be triggered to output the debugging information required by the user, so that the debugging information is in the state of taking what is needed, so that the personnel using this terminal device can easily obtain The information that developers want, and can achieve the purpose of obtaining convenient, fast, comprehensive and accurate; it is convenient for peripheral testers of embedded devices to obtain useful debugging information efficiently and accurately, and at the same time, it greatly improves the positioning of browser and web developers. The speed of faults and exception handling makes it easy to track and locate the exceptions that occur during the operation of the embedded browser, so as to reduce labor costs and improve research and development efficiency. the
图3为本发明提供的嵌入式浏览器的调试信息的输出系统实施例的结构示意图。结合图1所示的方法,图3所示的输出系统实施例包括: FIG. 3 is a schematic structural diagram of an embodiment of an output system for debugging information of an embedded browser provided by the present invention. In conjunction with the method shown in Figure 1, the embodiment of the output system shown in Figure 3 includes:
记录装置301,用于记录用于定位嵌入式浏览器问题的调试信息所对应的密码锁,其中该密码锁由一组按键值组成;
The
获取装置302,与所述记录装置301相连,用于当接收到的外部发送的信息为一组密码锁时,根据各调试信息所对应的密码锁,发起获取当前得到的密码锁所对应的调试信息的流程,得到外部所需的调试信息;
The obtaining
输出装置303,与所述获取装置302相连,用于向外连的存储设备输出所述外部所需的调试信息。
The
其中,所述获取装置302是在检测本地与所述存储设备已建立通信时发起查找当前得到的密码锁所对应的调试信息的流程的。 Wherein, the obtaining means 302 initiates a process of searching for the debugging information corresponding to the currently obtained combination lock when detecting that the local communication has been established with the storage device. the
本发明提供的输出系统实施例,通过记录嵌入式浏览器中各调试信息分别对应的密码锁,通过接收到的密码锁,就能准确确定用户需要的调试信息时,并将该调试信息输出给外部的存储设备,使得调试信息处于所取即为所 需的状态,让使用的这种终端设备的人员能够很方便地获取到开发人员想要的信息,且能达到获取方便、快捷、全面和准确的目的;便于嵌入式设备的外围测试人员能够高效准确地获取有用的调试信息,同时大大提高浏览器和web开发人员定位解决故障和处理异常的速度,方便跟踪定位嵌入式浏览器在运行过程中出现的异常,达到降低人力成本、提高研发效率为目的。 The embodiment of the output system provided by the present invention can accurately determine the debugging information required by the user by recording the password locks corresponding to each debugging information in the embedded browser, and output the debugging information to The external storage device makes the debugging information in the state of taking what is needed, so that the personnel using this terminal device can easily obtain the information that the developer wants, and can achieve convenient, fast, comprehensive and Accurate purpose: It is convenient for peripheral testers of embedded devices to obtain useful debugging information efficiently and accurately, and at the same time greatly improves the speed of browser and web developers to locate and solve faults and handle exceptions, and facilitates tracking and positioning of embedded browsers in the running process Abnormalities appearing in the system to achieve the purpose of reducing labor costs and improving R&D efficiency. the
图4为本发明提供的嵌入式浏览器的调试信息的获取系统实施例的结构示意图。结合图3所示的方法实施例,图4所示系统实施例包括: FIG. 4 is a schematic structural diagram of an embodiment of a system for acquiring debugging information of an embedded browser provided by the present invention. In conjunction with the method embodiment shown in Figure 3, the system embodiment shown in Figure 4 includes:
设置装置401,用于设置用于定位嵌入式浏览器问题的调试信息所对应的密码锁,其中该密码锁由一组按键值组成;
The
发送装置402,用于发送包括密码锁的调试信息获取请求;
The sending
获取装置403,用于获取所述密码锁所对应的调试信息。 Obtaining means 403, configured to obtain debugging information corresponding to the combination lock. the
其中,当安装有所述嵌入式浏览器的终端设备为机顶盒时,所述设置装置401为遥控器。
Wherein, when the terminal device installed with the embedded browser is a set-top box, the
本发明提供的获取系统实施例,通过设置嵌入式浏览器中各调试信息分别对应的密码锁,使得安装嵌入式浏览器的终端设备能够知道外界对调试信息的识别方式,在需要获取调试信息时,通过发送该调试信息的密码锁,就能触发终端设备输出用户需要的调试信息,使得调试信息处于所取即为所需的状态,让使用的这种终端设备的人员能够很方便地获取到开发人员想要的信息,且能达到获取方便、快捷、全面和准确的目的;便于嵌入式设备的外围测试人员能够高效准确地获取有用的调试信息,同时大大提高浏览器和web开发人员定位解决故障和处理异常的速度,方便跟踪定位嵌入式浏览器在运行过程中出现的异常,达到降低人力成本、提高研发效率为目的。 In the embodiment of the acquisition system provided by the present invention, by setting the password locks corresponding to each debugging information in the embedded browser, the terminal device installed with the embedded browser can know the way the outside world recognizes the debugging information, and when it is necessary to obtain the debugging information , by sending the password lock of the debugging information, the terminal device can be triggered to output the debugging information required by the user, so that the debugging information is in the state of taking what is needed, so that the personnel using this terminal device can easily obtain The information that developers want, and can achieve the purpose of obtaining convenient, fast, comprehensive and accurate; it is convenient for peripheral testers of embedded devices to obtain useful debugging information efficiently and accurately, and at the same time, it greatly improves the positioning of browser and web developers. The speed of faults and exception handling makes it easy to track and locate the exceptions that occur during the operation of the embedded browser, so as to reduce labor costs and improve research and development efficiency. the
另外,本发明提供一种嵌入式浏览器的运行信息的传输系统,包括: In addition, the present invention provides a transmission system for running information of an embedded browser, including:
如图3所示的输出系统; The output system as shown in Figure 3;
如图4所示的获取系统;以及, an acquisition system as shown in Figure 4; and,
存储设备,与所述输出系统和获取相连,用于存储所述输出系统输出的调试信息。 A storage device, connected to the output system and the acquisition, for storing the debugging information output by the output system. the
其中,所述存储设备通过硬件接口和网络连接中至少一个与如图3所示的发送系统相连。 Wherein, the storage device is connected to the sending system as shown in FIG. 3 through at least one of a hardware interface and a network connection. the
本发明提供的传输系统实施例,输出系统通过记录嵌入式浏览器中各调试信息分别对应的密码锁,在获取系统需要获取某一调试信息时,通过输入的密码锁,就能准确获取用户所需的调试信息,再由输出系统将其发送到外部的存储设备,使得调试信息处于所取即为所需的状态,让使用的这种终端设备的人员能够很方便地获取到开发人员想要的信息,且能达到获取方便、快捷、全面和准确的目的;便于嵌入式设备的外围测试人员能够高效准确地获取有用的调试信息,同时大大提高浏览器和web开发人员定位解决故障和处理异常的速度,方便跟踪定位嵌入式浏览器在运行过程中出现的异常,达到降低人力成本、提高研发效率为目的。 In the embodiment of the transmission system provided by the present invention, the output system records the password locks corresponding to each debugging information in the embedded browser, and when the acquisition system needs to obtain certain debugging information, the input password lock can accurately obtain the The required debugging information is sent to the external storage device by the output system, so that the debugging information is in the state of taking what is needed, so that the personnel using this terminal device can easily obtain the information that the developer wants. information, and can achieve the purpose of obtaining convenient, fast, comprehensive and accurate; it is convenient for peripheral testers of embedded devices to obtain useful debugging information efficiently and accurately, and at the same time, it greatly improves browser and web developers to locate and solve faults and handle exceptions The speed is convenient for tracking and locating the abnormalities that occur during the operation of the embedded browser, so as to reduce labor costs and improve research and development efficiency. the
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。 Those of ordinary skill in the art can understand that all or part of the steps of the above-mentioned embodiments can be implemented using a computer program flow, the computer program can be stored in a computer-readable storage medium, and the computer program can be run on a corresponding hardware platform (such as system, device, device, device, etc.), and when executed, includes one or a combination of the steps of the method embodiment. the
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。 Optionally, all or part of the steps in the above embodiments can also be implemented using integrated circuits, and these steps can be fabricated into individual integrated circuit modules, or multiple modules or steps among them can be fabricated into a single integrated circuit module accomplish. As such, the present invention is not limited to any specific combination of hardware and software. the
上述实施例中的各装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。 The devices/functional modules/functional units in the above embodiments can be realized by general-purpose computing devices, and they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices. the
上述实施例中的各装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。 When each device/functional module/functional unit in the above-mentioned embodiments is realized in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. The computer-readable storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, and the like. the
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求所述的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope described in the claims. the
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110205515A CN102314385A (en) | 2011-07-21 | 2011-07-21 | Method and system for outputting and acquiring running information of embedded browser |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110205515A CN102314385A (en) | 2011-07-21 | 2011-07-21 | Method and system for outputting and acquiring running information of embedded browser |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102314385A true CN102314385A (en) | 2012-01-11 |
Family
ID=45427572
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110205515A Pending CN102314385A (en) | 2011-07-21 | 2011-07-21 | Method and system for outputting and acquiring running information of embedded browser |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102314385A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103777930A (en) * | 2012-10-19 | 2014-05-07 | 阿里巴巴集团控股有限公司 | Output, acquiring and monitoring methods and devices for internal information of program |
CN106288139A (en) * | 2016-07-22 | 2017-01-04 | 广东美的暖通设备有限公司 | The adjustment method of air-conditioning equipment and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5383192A (en) * | 1992-12-23 | 1995-01-17 | Intel Corporation | Minimizing the likelihood of slip between the instant a candidate for a break event is generated and the instant a microprocessor is instructed to perform a break, without missing breakpoints |
CN1149735A (en) * | 1994-05-25 | 1997-05-14 | 西门子公司 | Service personal computer of modular structure |
CN101272249A (en) * | 2007-03-22 | 2008-09-24 | 北京凯诚高清电子技术有限公司 | Identity authentication method and software for built-in browser |
CN101872403A (en) * | 2010-06-22 | 2010-10-27 | 中科方德软件有限公司 | System and method for protecting display information of browser |
-
2011
- 2011-07-21 CN CN201110205515A patent/CN102314385A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5383192A (en) * | 1992-12-23 | 1995-01-17 | Intel Corporation | Minimizing the likelihood of slip between the instant a candidate for a break event is generated and the instant a microprocessor is instructed to perform a break, without missing breakpoints |
CN1149735A (en) * | 1994-05-25 | 1997-05-14 | 西门子公司 | Service personal computer of modular structure |
CN101272249A (en) * | 2007-03-22 | 2008-09-24 | 北京凯诚高清电子技术有限公司 | Identity authentication method and software for built-in browser |
CN101872403A (en) * | 2010-06-22 | 2010-10-27 | 中科方德软件有限公司 | System and method for protecting display information of browser |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103777930A (en) * | 2012-10-19 | 2014-05-07 | 阿里巴巴集团控股有限公司 | Output, acquiring and monitoring methods and devices for internal information of program |
CN103777930B (en) * | 2012-10-19 | 2017-12-15 | 阿里巴巴集团控股有限公司 | Output intent, acquisition methods, monitoring method and its device of program internal information |
CN106288139A (en) * | 2016-07-22 | 2017-01-04 | 广东美的暖通设备有限公司 | The adjustment method of air-conditioning equipment and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111083225B (en) | Data processing method and device in Internet of things platform and Internet of things platform | |
WO2019085079A1 (en) | Interface test method and apparatus, computer device and storage medium | |
WO2019085073A1 (en) | Interface test method and apparatus, computer device, and storage medium | |
CN111552633A (en) | Interface abnormal call testing method and device, computer equipment and storage medium | |
CN103441861B (en) | A kind of data record generation method and device | |
CN111338954A (en) | Test report generation method and equipment | |
WO2019169761A1 (en) | Automated testing method and apparatus, and storage medium | |
EP2624140A1 (en) | Method and system for detecting anomaly of network processor | |
US20200117587A1 (en) | Log File Analysis | |
WO2019051948A1 (en) | Method, apparatus, server, and storage medium for processing monitoring data | |
CN115396182A (en) | Industrial control security automation arrangement and response method and system | |
CN103268183A (en) | Information reporting processing method and device | |
CN110456765B (en) | Method and device for generating time sequence model of industrial control instruction and method and device for detecting time sequence model of industrial control instruction | |
CN105573733A (en) | Communication method for browser and web front end and web front end and system | |
CN109032867A (en) | A kind of method for diagnosing faults, device and equipment | |
CN107203470B (en) | Page adjustment method and device | |
WO2016178661A1 (en) | Determining idle testing periods | |
WO2015184908A1 (en) | Reverse debug method, device and debugger | |
CN114710369B (en) | Abnormal data detection method and device, computer equipment and storage medium | |
CN113660230B (en) | Cloud security protection testing method and system, computer and readable storage medium | |
CN102314385A (en) | Method and system for outputting and acquiring running information of embedded browser | |
US12068930B2 (en) | Method and apparatus for determining application service dependency and processor | |
CN111767161A (en) | Remote call depth identification method, device, computer equipment and readable storage medium | |
CN114531340B (en) | Log acquisition method and device, electronic equipment, chip and storage medium | |
CN114911684A (en) | Method, device, storage medium and server for monitoring abnormality of server kernel |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20120111 |
|
RJ01 | Rejection of invention patent application after publication |