Unlock instant, AI-driven research and patent intelligence for your innovation.

Class name changing method and device

A type name and type of technology, applied in the computer field, can solve problems such as the terminal cannot run normally, the toolkit cannot be called, etc.

Inactive Publication Date: 2018-08-07
PING AN TECH (SHENZHEN) CO LTD
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The main purpose of the present invention is to provide a method and device for changing the class name, aiming to solve the problem that when the existing terminal integrates two identical toolkits at the same time, the corresponding toolkit cannot be invoked due to the same class name, which causes the terminal to fail to operate normally question

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Class name changing method and device
  • Class name changing method and device
  • Class name changing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0044] The invention provides a class name modification method.

[0045] refer to figure 1 , figure 1 It is a schematic flowchart of the first embodiment of the class name changing method of the present invention.

[0046] In this embodiment, the method for changing the class name includes:

[0047] Step S10 , during the process of invoking the same toolkit from the precompiled file, if the terminal detects that there are currently classes with the same name, it extracts the classes with the same name.

[0048] In general, two SDKs, TalkingData and Anygate, are integrated in the application, and Anygate itself integrates TalkingData. In this case, two TalkingData are integrated in the application at the same time, and the class name in TalkingData is fixed. The class names are all named according to the terminal i...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a class name changing method. The class name changing method includes the steps that when a terminal calls the same toolkit to compile a precompiled file, if it is detected classes with the same name exist, all the classes with the same name are extracted; identification information is defined for the names of the classes separately; on the basis of the defined identification information, the names of the classes are changed to make the names of the classes different. The invention further discloses a class name changing device. By the adoption of the class name changing method and device, the identification information is defined for the names the classes to make the names of the classes different so that naming conflict cannot occur, and the precompiled file is compiled normally.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for changing a class name. Background technique [0002] At present, the two SDKs (Software Development Kit, Software Development Kit) of TalkingData and Anygate are almost integrated into the application at the same time. However, since Anygate itself integrates TalkingData, and the class name in TalkingData is fixed, when the terminal integrates the two same toolkits (TalkingData) at the same time, the same class name will appear, causing the terminal system to compile files. The corresponding toolkit cannot be invoked, resulting in the failure to compile the precompiled file normally. Contents of the invention [0003] The main purpose of the present invention is to provide a method and device for changing the class name, aiming to solve the problem that when the existing terminal integrates two identical toolkits at the same time, the corresponding to...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F8/41
CPCG06F8/443
Inventor 丁雷
Owner PING AN TECH (SHENZHEN) CO LTD