Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data processing method and terminal

A data processing and data technology, applied in the electronic field, can solve the problems of inability to capture and modify network packets in real time, without root authority, and inability to realize packet capture processing.

Inactive Publication Date: 2017-03-01
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in practical applications, many mobile phones do not have root authority, so mobile application testers usually cannot implement packet capture processing. Only when the mobile phone supports hook technology, packet capture processing can be realized through hooking, that is, using the hook network sending and receiving function To realize the packet capture processing of the corresponding network data packets of the mobile phone application
However, the hook method can only capture and modify some data packets of the current process, and cannot capture and modify various network packets transmitted by the mobile phone in real time

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
  • Data processing method and terminal
  • Data processing method and terminal
  • Data processing method and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] An embodiment of the present invention provides a data processing method, and the data processing method is applied to a terminal; figure 1 It is a schematic diagram of the implementation flow of a data processing method in the embodiment of the present invention; as figure 1 As shown, the method includes:

[0051] Step S101: generating N pieces of first data corresponding to the first application, where N is an integer greater than or equal to 1;

[0052] Specifically, when the user triggers the first application of the terminal, the first application will generate corresponding N pieces of first data.

[0053] Here, the terminals include mobile terminals and non-mobile terminals. Non-mobile terminals include desktop computers with application testing functions, and mobile terminals include smart phones (SmartPhone), tablet computers, notebook computers, personal digital assistants, etc. with application testing functions.

[0054] Here, the first application include...

Embodiment 2

[0065] An embodiment of the present invention provides a data processing method, and the data processing method is applied to a terminal; figure 2 It is a schematic flow diagram of the realization of the second data processing method of the present invention; as figure 2 As shown, the method includes:

[0066] Step S201: generating N pieces of first data corresponding to the first application, where N is an integer greater than or equal to 1;

[0067] Specifically, when the user triggers the first application of the terminal, the first application will generate corresponding N pieces of first data.

[0068] Here, the terminals include mobile terminals and non-mobile terminals. Non-mobile terminals include desktop computers with application testing functions, and mobile terminals include smart phones (SmartPhone), tablet computers, notebook computers, personal digital assistants, etc. with application testing functions.

[0069] Here, the first application includes a video ...

Embodiment 3

[0083] An embodiment of the present invention provides a data processing method, and the data processing method is applied to a terminal; image 3 It is a schematic flow diagram of the realization of the third data processing method of the present invention; as image 3 As shown, the method includes:

[0084] Step S301: generating N pieces of first data corresponding to the first application, where N is an integer greater than or equal to 1;

[0085] Step S302: Encapsulate the N first data to obtain N first data packets; the type of the first data packet includes the first data and a data header corresponding to the destination address of the first data;

[0086] Step S303: when it is detected that the terminal has a second application supporting a virtual private network (VPN), sending the N first data packets to the second application;

[0087] The specific implementation process of steps S301-S303 in the third embodiment of the present invention is similar to the steps S1...

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 data processing method and a terminal. The data processing method comprises steps of: generating N first data corresponding to a first application, wherein N is an integer larger than or equal to 1; carrying out packaging processing on the N first data so as to obtain N first data packets, wherein the type of each first data packet comprises first data and a data header of a target address corresponding to the first data; and when detecting that a second application supporting the virtual private network (VPN) function exists in the terminal, transmitting the N first data packets to a server corresponding to the first application through the VPN function supported by the second application.

Description

technical field [0001] The invention relates to electronic technology, in particular to a data processing method and a terminal. Background technique [0002] At present, for a terminal of an electronic device such as a mobile phone, in order to realize packet capture processing of a network data packet corresponding to a mobile phone application, the mobile phone needs to have super root authority. Specifically, a mobile phone with root authority can capture packets through the tcpdump packet capture command, and can also capture and modify Hyper Text Transfer Protocol (Hyper Text Transfer Protocol, HTTP) packets by setting a proxy to the fiddler tool. [0003] However, in practical applications, many mobile phones do not have root privileges, so mobile application testers usually cannot implement packet capture processing. Only when the mobile phone supports hook technology, packet capture processing can be realized through hooking, that is, using the hook network sending ...

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): H04L12/26H04L12/46
CPCH04L12/4641H04L43/18
Inventor 龙祖苑韩逢源林环环
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products