Method for solving incompatibility problem in character set transmission from PC to Android system based on hybrid coding

An Android system, mixed coding technology, applied in electrical digital data processing, special data processing applications, instruments, etc., to achieve the effect of less error-prone and fast transmission speed

Inactive Publication Date: 2012-09-12
FUZHOU ROCKCHIP SEMICON
View PDF0 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage of this is that the Android Debug Bridge driver has given up the packaged file transfer function, and it is necessary to design the function of processing the file stream in the socket in the PC.

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
  • Method for solving incompatibility problem in character set transmission from PC to Android system based on hybrid coding
  • Method for solving incompatibility problem in character set transmission from PC to Android system based on hybrid coding
  • Method for solving incompatibility problem in character set transmission from PC to Android system based on hybrid coding

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] Such as figure 1 As shown, a kind of solution based on mixed coding of the present invention PC transmits character set incompatibility method to Android system, comprises the following steps:

[0016] Step 10, when a file under a first path information on the windows system of the PC is transferred to a second path information under the Android android system of the handheld device through the USB interface; then on the windows system, the first path information and the file name under the path information is encoded into a first character string with ansi; the second path information is encoded into a second character string with utf-8;

[0017] Step 20, the first character string and the second character string are transmitted to the command line of the windows system to form an order of "Adb push the first character string and the second character string", and the command is passed to the windows system;

[0018] Step 30, the command interpreter of windows system t...

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 provides a method for solving incompatibility problem in character set transmission from a PC to an Android system based on hybrid coding. When a file in a first path information of the windows system of the PC is transmitted to a second path information of the Android system of a handheld device through an USB interface, the first path and the second path are coded into character strings respectively by using ansi coding and utf-8 coding, and the character strings are transmitted to an Android DebugBridge driver. The driver only identifies Chinese in the ansi when running in the windows system to search commands, so that the first path is intercepted firstly and transmitted to the windows system for processing, the utf-8 coded second path is transmitted as is to the Android system, and the Android system performs file creation in the second path according to a file stream form of file content and file name. According to the invention, the incompatibility problem in the character set transmission from the PC to the Android system is solved by using the hybrid coding.

Description

【Technical field】 [0001] The invention relates to the technical field of communication equipment, in particular to a method for solving the incompatibility of a character set transmitted from a PC to an Android system based on mixed coding. 【Background technique】 [0002] At present, the systems of many handheld mobile devices on the market are Android systems. When users use handheld mobile devices, they often connect with PCs. Traffic, so there will be a situation of interactive data between the windows system of the PC and the Android system. [0003] Generally, the windows system of PC and the Android system of handheld mobile devices exchange data through the AndroidDebug Bridge (Android Debug Bridge) driver, while the windows system of PC performs some file operations and uses the character set of ansi encoding form to save by default. , For example: write a paragraph in Notepad, the content of the Notepad file is saved in ansi-encoded character set; while the android...

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): G06F17/22
Inventor 张维
Owner FUZHOU ROCKCHIP SEMICON
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products