WO2023138382A1 - Procédé et appareil de collecte d'informations de panne - Google Patents

Procédé et appareil de collecte d'informations de panne Download PDF

Info

Publication number
WO2023138382A1
WO2023138382A1 PCT/CN2023/070575 CN2023070575W WO2023138382A1 WO 2023138382 A1 WO2023138382 A1 WO 2023138382A1 CN 2023070575 W CN2023070575 W CN 2023070575W WO 2023138382 A1 WO2023138382 A1 WO 2023138382A1
Authority
WO
WIPO (PCT)
Prior art keywords
installation
application
stack information
crash
free
Prior art date
Application number
PCT/CN2023/070575
Other languages
English (en)
Chinese (zh)
Inventor
董彬
钟炳鑫
Original Assignee
北京有竹居网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京有竹居网络技术有限公司 filed Critical 北京有竹居网络技术有限公司
Publication of WO2023138382A1 publication Critical patent/WO2023138382A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance

Definitions

  • the present application relates to the field of data processing, in particular to a method and device for collecting crash information.
  • Free installation technology provides a complete virtual operating environment.
  • Application programs that use installation-free technology can also be called "installation-free applications”.
  • the installation-free application does not need to be installed on the system, but it can also achieve the operation effect that can be achieved by installing the application.
  • the technical problem to be solved in this application is how to improve the stability of installation-free applications, and provide a method and device for collecting crash information.
  • the embodiment of the present application provides a crash information collection method, the method comprising:
  • the crash stack information is used to describe the operation failure of the installation-free application
  • the first functional module is a functional module in the operating system of the device carrying the installation-free application
  • crash stack information is sent to the application running the instant framework.
  • the acquiring the crash stack information sent by the first functional module to the instant application includes:
  • the intercepting the crash stack information sent by the first functional module to the installation-free application includes:
  • a hook function is used to intercept the first function for delivering the crash stack information.
  • the installation-free application is a game application.
  • the program code of the installation-free application is implemented by Java language, C language, C++ language, C# language, JavaScript language, ActionScript language, or lua language.
  • the acquiring the crash stack information sent by the first functional module to the instant application includes:
  • the running application of the installation-free framework includes:
  • the embodiment of the present application provides a crash information collection device, the device includes:
  • An acquisition unit configured to acquire crash stack information sent to the installation-free application by the first functional module, the crash stack information is used to describe the operation failure of the installation-free application, and the first functional module is a functional module in the operating system of the device carrying the installation-free application;
  • a sending unit configured to send the crash stack information to the application running the installation-free framework.
  • the acquisition unit is used for:
  • the acquisition unit is used for:
  • a hook function is used to intercept the first function for delivering the crash stack information.
  • the installation-free application is a game application.
  • the program code of the installation-free application is implemented by Java language, C language, C++ language, C# language, JavaScript language, ActionScript language, or lua language.
  • the acquisition unit is used for:
  • the running application of the installation-free framework includes:
  • an embodiment of the present application provides a device, where the device includes a processor and a memory;
  • the processor is configured to execute instructions stored in the memory, so that the device executes the method described in any one of the above first aspects.
  • an embodiment of the present application provides a computer-readable storage medium, which is characterized by including instructions, and the instructions instruct a device to execute the method described in any one of the above first aspects.
  • an embodiment of the present application provides a computer program product, which, when running on a computer, causes the computer to execute the method described in any one of the above first aspects.
  • the embodiment of the present application has the following advantages:
  • An embodiment of the present application provides a method for collecting crash information.
  • the first functional module may capture the crash stack information of the installation-free application, and the crash stack information is used to describe the operation failure of the installation-free application.
  • the first function module is a function module in the operating system of the device carrying the installation-free application. After the first function module captures the crash stack information, it may send the crash stack information to the installation-free application.
  • the crash stack information sent by the first functional module to the installation-free application may be obtained, and the crash stack information is further sent to the application running the installation-free framework. It can be seen that with this solution, the crash stack information of the installation-free application can be obtained before the installation-free application processes the crash stack information.
  • the application running the installation-free framework can also receive the crash stack information, so that the application running the installation-free framework can receive more crash stack information, thereby improving the stability of the installation-free application.
  • Fig. 1 is a schematic diagram provided by the embodiment of the present application.
  • FIG. 2 is a schematic flowchart of a method for collecting crash information provided by an embodiment of the present application
  • FIG. 3 is a schematic structural diagram of a crash information collection device provided in an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a device provided by an embodiment of the present application .
  • the platform application program can run on the operating system, the platform application program can run the installation-free framework, and the installation-free framework is used to implement the installation-free technology.
  • the platform application can call an interface provided by the operating system to collect crash stack information of the free-to-install application, where the crash stack information is used to describe a running failure of the free-to-install application.
  • FIG. 1 is a schematic diagram provided by an embodiment of the present application.
  • the function module 110 is a function module for the operating system to capture crash stack information.
  • the installation-free application 120 will execute corresponding processing measures based on the crash stack information, and will no longer send the crash stack information to the platform application 130 .
  • the platform application 130 cannot collect all crash stack information.
  • it is not conducive to the stable operation of installation-free applications.
  • embodiments of the present application provide a method and device for collecting crash information.
  • this figure is a schematic flowchart of a method for collecting crash information provided by an embodiment of the present application.
  • the method provided in this embodiment can be applied to an operating system, and the operating system includes but is not limited to an Android (Android) system.
  • the method can be implemented, for example, through the following steps S101-S102.
  • S101 Obtain crash stack information sent to the installation-free application by a first function module, the crash stack information is used to describe a running fault of the installation-free application, and the first function module is a function module in an operating system of a device carrying the installation-free application.
  • the embodiment of the present application does not specifically limit the installation-free application.
  • the installation-free application is a game application.
  • the program code of the installation-free application may be realized by Java language, C language, or C++ language, which is not specifically limited in this embodiment of the present application.
  • the program code of the installation-free application can also be implemented by C# language, JavaScript language, ActionScript language, or lua language, which is not specifically limited in this embodiment of the present application.
  • the crash stack information of the installation-free application is used to describe the operation failure of the installation-free application. Faults during the running of the installation-free application may be captured by the operating system, specifically, by the first function module in the operating system. In other words, the first function module can capture the crash stack information. After the first function module captures the crash stack information of the installation-free application, it may send the crash stack information to the installation-free application.
  • the operating system mentioned here refers to the operating system of the device carrying the installation-free application.
  • the first functional module sends the crash stack information to the installation-free application. If the operating system is an Android system, and the software code of the installation-free application is implemented by the java language, then the first functional module sends the crash stack information to the installation-free application.
  • the first function module may use related functions to transmit the crash stack information to the installation-free application.
  • the embodiment of the present application does not specifically limit the function for transferring the crash stack information.
  • the crash stack information sent by the first functional module to the installation-free application may be intercepted.
  • the hook function may be used to intercept the first function used to transmit the crash stack information, so as to obtain the crash stack information.
  • the first functional module when S101 is specifically implemented, the first functional module may be configured in advance, so that the first functional module not only sends the crash stack information to the installation-free application, but also sends the crash stack information to the second functional module of the operating system.
  • the second functional module mentioned here refers to the functional module that executes S101-S102.
  • S102 Send the crash stack information to the application running the installation-free framework.
  • the crash stack information may be sent to the application program of the installation-free framework.
  • the embodiment of the present application does not specifically limit the specific implementation manner of S102.
  • related functions may be used to send the crash stack information to the application running the installation-free framework. It can be understood that the application program running the installation-free framework mentioned here refers to the platform application program running on the operating system.
  • the crash stack information of the installation-free application can be obtained, and the crash stack information can be sent to the platform application, thereby preventing the platform application from being unable to capture the crash stack information due to the processing of the crash stack information by the installation-free application.
  • the application running the installation-free framework can still receive the crash stack information, so that the application running the installation-free framework can receive more crash stack information, which is conducive to the stable operation of the installation-free application.
  • the apparatus 300 may specifically include: an acquiring unit 301 and a sending unit 302 .
  • the obtaining unit 301 is configured to obtain the crash stack information sent by the first functional module to the installation-free application, the crash stack information is used to describe the operation failure of the installation-free application, and the first functional module is a functional module in the operating system of the device carrying the installation-free application;
  • the sending unit 302 is configured to send the crash stack information to the application running the installation-free framework.
  • the acquiring unit 301 is configured to:
  • the acquiring unit 301 is configured to:
  • a hook function is used to intercept the first function for delivering the crash stack information.
  • the installation-free application is a game application.
  • the program code of the installation-free application is implemented by Java language, C language, C++ language, C# language, JavaScript language, ActionScript language, or lua language.
  • the acquiring unit 301 is configured to:
  • the running application of the installation-free framework includes:
  • the device 300 is a device corresponding to the method provided by the above method embodiment, the specific implementation of each unit of the device 300 is based on the same idea as the above method embodiment, therefore, regarding the specific implementation of each unit of the device 300, you can refer to the description of the above method embodiment, and will not repeat them here.
  • the embodiment of the present application also provides a device, the device includes a processor and a memory;
  • the processor is configured to execute instructions stored in the memory, so that the device executes the method described in any one of the above method embodiments.
  • FIG. 4 it shows a schematic structural diagram of an electronic device 400 suitable for implementing the embodiment of the present application.
  • the electronic equipment in the embodiment of the present application may include, but not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDA (Personal Digital Assistant, personal digital assistant), PAD (portable android device, tablet computer), PMP (Portable Media Player, portable multimedia player), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TV (television, television sets), desktop computers, etc.
  • PDA Personal Digital Assistant
  • PAD portable android device, tablet computer
  • PMP Portable Media Player, portable multimedia player
  • vehicle-mounted terminals such as vehicle-mounted navigation terminals
  • fixed terminals such as digital TV (television, television sets), desktop computers, etc.
  • the electronic device shown in FIG. 4 is only an example, and should not limit the functions and scope of use of this embodiment of the present application.
  • the electronic device 400 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 401, which may perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage device 408 into a random access memory (RAM) 403.
  • ROM read-only memory
  • RAM random access memory
  • various programs and data necessary for the operation of the electronic device 400 are also stored.
  • the processing device 401, the ROM 402, and the RAM 403 are connected to each other through a bus 404.
  • An input/output (I/O) interface 405 is also connected to bus 404 .
  • the following devices can be connected to the I/O interface 405: an input device 406 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 407 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 408 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 409.
  • the communication means 409 may allow the electronic device 400 to perform wireless or wired communication with other devices to exchange data. While FIG. 4 shows electronic device 400 having various means, it should be understood that implementing or having all of the means shown is not a requirement. More or fewer means may alternatively be implemented or provided.
  • the processes described above with reference to the flowcharts can be implemented as computer software programs.
  • the embodiments of the present application include a computer program product, which includes a computer program carried on a non-transitory computer readable medium, where the computer program includes program code for executing the method shown in the flowchart.
  • the computer program may be downloaded and installed from a network via communication means 409 , or from storage means 408 , or from ROM 402 .
  • the processing device 401 the above-mentioned functions defined in the methods of the embodiments of the present application are performed.
  • the electronic device provided by the embodiment of the present application and the method for collecting crash information provided by the above-mentioned embodiment belong to the same inventive concept.
  • the technical details not described in detail in this embodiment can be found in the above-mentioned embodiment, and this embodiment has the same beneficial effects as the above-mentioned embodiment.
  • An embodiment of the present application provides a computer-readable medium on which a computer program is stored, wherein when the program is executed by a processor, the method for collecting crash information as described in any of the above-mentioned embodiments is implemented.
  • the computer-readable medium mentioned above in this application may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
  • a computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples of computer readable storage media may include, but are not limited to, electrical connections having one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
  • Program code embodied on a computer readable medium may be transmitted by any appropriate medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
  • the client and the server can communicate using any currently known or future-developed network protocols such as HTTP (HyperText Transfer Protocol, Hypertext Transfer Protocol), and can be interconnected with any form or medium of digital data communication (for example, a communication network).
  • HTTP HyperText Transfer Protocol
  • Examples of communication networks include local area networks ("LANs”), wide area networks ("WANs”), internetworks (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device, or may exist independently without being incorporated into the electronic device.
  • the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device is made to execute the above-mentioned method for collecting crash information.
  • Computer program code for carrying out the operations of the present application may be written in one or more programming languages, or combinations thereof, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and conventional procedural programming languages—such as the “C” language or similar programming languages.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (e.g., through the Internet using an Internet service provider).
  • LAN local area network
  • WAN wide area network
  • Internet service provider e.g., AT&T, MCI, Sprint, EarthLink, MSN, GTE, etc.
  • each block in the flowchart or block diagram may represent a module, program segment, or portion of code that includes one or more executable instructions for implementing specified logical functions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • the units involved in the embodiments described in the present application may be implemented by means of software or by means of hardware.
  • the name of the unit/module does not constitute a limitation on the unit itself under certain circumstances, for example, the voice data collection module can also be described as a "data collection module”.
  • FPGAs Field Programmable Gate Arrays
  • ASICs Application Specific Integrated Circuits
  • ASSPs Application Specific Standard Products
  • SOCs System on Chips
  • CPLDs Complex Programmable Logic Devices
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device.
  • a machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium.
  • a machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing.
  • a machine-readable storage medium would include one or more wire-based electrical connections, a portable computer disk, a hard disk, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read only memory
  • EPROM or flash memory erasable programmable read only memory
  • CD-ROM compact disk read only memory
  • magnetic storage devices or any suitable combination of the foregoing.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

La présente invention concerne un procédé de collecte d'informations de panne. Pour une application instantanée, un premier module fonctionnel peut capturer des informations de pile de pannes de l'application instantanée, et les informations de pile de pannes sont utilisées pour décrire un défaut de fonctionnement de l'application instantanée. Le premier module fonctionnel est un module fonctionnel dans un système d'exploitation d'un dispositif portant l'application instantanée. Après que le premier module fonctionnel capture les informations de pile de pannes, les informations de pile de pannes peuvent être envoyées à l'application instantanée. Compte tenu de ce qui précède, en utilisant cette solution, les informations de pile de pannes de l'application instantanée peuvent être obtenues avant que l'application instantanée ne traite les informations de pile de pannes. De cette manière, même si l'application instantanée n'envoie pas les informations de pile de pannes à un programme d'application exécutant un cadriciel instantané, le programme d'application exécutant le cadriciel instantané peut également recevoir les informations de pile de pannes, de telle sorte que le programme d'application exécutant le cadriciel instantané peut recevoir davantage d'informations de pile de pannes, permettant ainsi d'améliorer la stabilité de l'application instantanée.
PCT/CN2023/070575 2022-01-19 2023-01-05 Procédé et appareil de collecte d'informations de panne WO2023138382A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210061363.0 2022-01-19
CN202210061363.0A CN116501520A (zh) 2022-01-19 2022-01-19 一种崩溃信息收集方法及装置

Publications (1)

Publication Number Publication Date
WO2023138382A1 true WO2023138382A1 (fr) 2023-07-27

Family

ID=87317119

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/070575 WO2023138382A1 (fr) 2022-01-19 2023-01-05 Procédé et appareil de collecte d'informations de panne

Country Status (2)

Country Link
CN (1) CN116501520A (fr)
WO (1) WO2023138382A1 (fr)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164322A (zh) * 2013-04-15 2013-06-19 腾讯科技(深圳)有限公司 一种程序崩溃的签名方法和装置
US20160110238A1 (en) * 2014-10-16 2016-04-21 International Business Machines Corporation Automated diagnosis of software crashes
CN109800101A (zh) * 2019-02-01 2019-05-24 北京字节跳动网络技术有限公司 小程序异常情况的上报方法、装置、终端设备和存储介质
CN113110952A (zh) * 2021-04-09 2021-07-13 北京沃东天骏信息技术有限公司 获取应用程序中的sdk异常信息的方法和装置
CN113190401A (zh) * 2021-04-19 2021-07-30 Oppo广东移动通信有限公司 快游戏的异常监控方法、电子设备、移动终端以及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164322A (zh) * 2013-04-15 2013-06-19 腾讯科技(深圳)有限公司 一种程序崩溃的签名方法和装置
US20160110238A1 (en) * 2014-10-16 2016-04-21 International Business Machines Corporation Automated diagnosis of software crashes
CN109800101A (zh) * 2019-02-01 2019-05-24 北京字节跳动网络技术有限公司 小程序异常情况的上报方法、装置、终端设备和存储介质
CN113110952A (zh) * 2021-04-09 2021-07-13 北京沃东天骏信息技术有限公司 获取应用程序中的sdk异常信息的方法和装置
CN113190401A (zh) * 2021-04-19 2021-07-30 Oppo广东移动通信有限公司 快游戏的异常监控方法、电子设备、移动终端以及存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
YU, XIANGQIAN: "WeChat mini-game access to Fundebug monitoring", BAIDU, 8 May 2018 (2018-05-08), CN, XP009548075, Retrieved from the Internet <URL:https://zhuanlan.zhihu.com/p/36566279> *

Also Published As

Publication number Publication date
CN116501520A (zh) 2023-07-28

Similar Documents

Publication Publication Date Title
WO2021068634A1 (fr) Procédé et appareil de saut vers une page, dispositif électronique et support d&#39;informations lisible par ordinateur
WO2022083379A1 (fr) Procédé et appareil de traitement de connexion, dispositif électronique et support de stockage lisible par ordinateur
WO2023000888A1 (fr) Procédé et appareil de mise en œuvre d&#39;application infonuagique, dispositif électronique et support de stockage
JP2023510833A (ja) メッセージ処理方法、装置及び電子機器
WO2022108527A1 (fr) Procédé, système et appareil de traitement de modèle, support et dispositif électronique
CN110908921A (zh) 一种游戏问题定位方法、装置、电子设备及存储介质
WO2023138382A1 (fr) Procédé et appareil de collecte d&#39;informations de panne
WO2023207788A1 (fr) Procédé et appareil de traitement d&#39;informations, dispositif électronique, et support de stockage
CN112929240A (zh) 获取通信延迟时间的方法、装置、终端和非暂时性存储介质
US11962929B2 (en) Method, apparatus, and device for configuring video special effect, and storage medium
WO2023045694A1 (fr) Procédé et appareil de transmission de données, ainsi que support lisible par ordinateur et dispositif électronique
WO2022218425A1 (fr) Procédé et appareil de diffusion en continu d&#39;enregistrements, dispositif, et support
WO2023273539A1 (fr) Procédé et appareil de surveillance de service pour système de recherche de vol, dispositif et support de stockage
CN113596328B (zh) 摄像头调用方法、装置和电子设备
US20240069991A1 (en) Abnormal request processing method and apparatus, electronic device and storage medium
CN113839828B (zh) 一种网络质量探测方法、装置、终端设备及介质
WO2021226961A1 (fr) Procédé et appareil de test de sécurité d&#39;application, support de stockage et dispositif électronique
CN111309497B (zh) 信息调用的方法及装置、服务器、终端和存储介质
WO2023131109A1 (fr) Procédé et appareil d&#39;enregistrement de diffusion
WO2023131110A1 (fr) Procédé et dispositif de communication inter-processus
CN112969038A (zh) 数据传输方法、装置、电子设备及计算机可读存储介质
CN113347391B (zh) 一种数据传输方法、数据传输中断方法及装置
CN116566819B (zh) 仿真测试通信方法、装置、电子设备和计算机可读介质
CN112486826B (zh) 测试方法、装置、电子设备及计算机可读介质
WO2023116503A1 (fr) Procédé et appareil de traitement de fonction, dispositif et support de stockage

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23742698

Country of ref document: EP

Kind code of ref document: A1