CN103176794A - Organization and analysis method of Android screen contact trajectory data - Google Patents

Organization and analysis method of Android screen contact trajectory data Download PDF

Info

Publication number
CN103176794A
CN103176794A CN2013100371153A CN201310037115A CN103176794A CN 103176794 A CN103176794 A CN 103176794A CN 2013100371153 A CN2013100371153 A CN 2013100371153A CN 201310037115 A CN201310037115 A CN 201310037115A CN 103176794 A CN103176794 A CN 103176794A
Authority
CN
China
Prior art keywords
data
android
action
organization
screen contact
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
Application number
CN2013100371153A
Other languages
Chinese (zh)
Inventor
陈显龙
陈晓龙
罗新伟
江春华
杨志鹏
丁朋伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Forever Technology Co Ltd
Original Assignee
Beijing Forever Technology Co Ltd
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 Beijing Forever Technology Co Ltd filed Critical Beijing Forever Technology Co Ltd
Priority to CN2013100371153A priority Critical patent/CN103176794A/en
Publication of CN103176794A publication Critical patent/CN103176794A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

The invention relates to an organization and analysis method of Android screen contact trajectory data. The method comprises the following steps: (1) the x, y coordinates of a tracing point are acquired for string assembly in a mode of down : 1 2 3 : 4 5 6 or move : 1 2 3 : 4 5 6 or up : 1 2 3 : 4 5 6; (2) an assembled string is packaged into a data package and is sent by using the networking protocol; and (3) data are divided into three sections according to a rule after being received by receiving equipment and then tracks are displayed on a screen, wherein according to the rule, a first section of the data represents movement, and a second section of the data and a third section of the data are converted into numbers to represent coordinates. The organization and analysis method of the Android screen contact trajectory data has the advantages that efficient and fast organizing transmission and analysis of the contact trajectory data to be transmitted and reproduced by the Android screen are achieved, and minimization of data redundancy is achieved. The organization and analysis method of the Android screen contact trajectory data can be used for synchronous and real-time display of trajectory data like Android doodle boards on other Android equipment, and can eliminate obvious feeling of lag existing in the prior art.

Description

Tissue and the analytic method of Android screen contact track data
Technical field
The present invention relates to a kind of tissue and analytic method of Android screen contact track data.
Background technology
All to gather and organize processing to the track data on shared device or scribble data in the application of Android Sharing Whiteboard and drawing pad data sharing, resolve accordingly and drawing reappeared on other accepting device.The characteristics of these application require the data of the instant reproduction shared device of receiving equipment energy.The data characteristics of shared device is that data volume is little, data send frequent and concentrate, and corresponding is also like this on accepting device.This will be optimized the institutional framework of data and the ratio of valid data amount, can fast resolving and reproduction so that reduce redundant data in high-efficiency tissue data, data transmission and accept data equipment in transmitting apparatus as far as possible.
Existing technical scheme comprises: XML Organization of Data form, JSON Organization of Data form.
For XML Organization of Data form (Extensible Markup Language), being used for the electroactive marker son file makes it have structural markup language, can be used for flag data, definition data type, the source language that to be a kind of user of permission define oneself markup language.Be used for the electroactive marker son file and make it have structural markup language, can be used for flag data, definition data type, the source language that to be a kind of user of permission define oneself markup language.The shortcoming of this scheme is: adopt XML Organization of Data data to carry out the conversion of form to the data that gather, greatly postponed from the time of data to data tissue, also to increase the implication that corresponding label represents current data to data, can cause the mass data redundancy to small data quantity, just become chicken ribs at the more simple Organization of Data of reply.The collection of having adopted in the present invention data is namely the generated data form.Be to resolve or SAX resolves the traversal that has related to label with DOM in parsing, reduced efficient.
For JSON Organization of Data form (JavaScript Object Notation), it is a kind of data interchange format of lightweight.It is based on the subset of JavaScript (Standard ECMA-2623rd Edition-December1999).JSON adopts the text formatting that is totally independent of language, but has also used the custom that is similar to the C family of language.These characteristics make JSON become desirable exchanges data language.Be easy to the people and read and write, also be easy to machine simultaneously and resolve and generate.The shortcoming of this scheme is: remove to resolve JSON if be unfamiliar with the structure of JSON, that is bad dream only not.Waste time and energy and do not say, the code redundancy that also can become is dilatory, and the result that obtains is also unsatisfactory.Identical message section in the JSON context mixes each other, and due to JSON approval colon assignment, and who should be taken as text to be difficult to differentiation between practical property value.In addition, the foundation of JSON segment and self-criticism process aobvious mixing slightly.
Summary of the invention
The present invention proposes a kind of tissue and analytic method of Android screen contact track data, solved in the track data reproduction capability of Sharing Whiteboard under the Android platform and shared drawing pad because the problem of the inefficiency that tissue transmission and resolution data cause has made up weak point of the prior art.
Technical scheme of the present invention is achieved in that
A kind of tissue and analytic method of Android screen contact track data comprise the following steps:
1) get the x of tracing point, after the y coordinate in the mode of assembly unit character string as down:123:456 or move:123:456 or up:123:456;
2) the good character string of assembly unit being broken into packet uses procotol to send;
3) accepting device receives and is divided into three segment datas according to following rule after data, first paragraph representative action, and second segment and the 3rd section are converted into the digitized representation coordinate, then carry out track in the demonstration of screen.
Tissue and the analytic method of described Android screen contact track data, the action of screen contact track is divided into three kinds: press, move and lift; Action is pressed in the down representative; Move represents shift action; Action is lifted in the up representative.
Beneficial effect of the present invention is: the contact track data that will transmit and reappear for the Android screen, realized efficiently organizing fast transmission and parsing and minimizing redundant data, can be used for the synchronous instant playbacks of track data on other Android equipment such as Android drawing pad.Eliminate the obvious time-delay sense of prior art.
Embodiment
Further illustrate technical scheme of the present invention below in conjunction with embodiment.
A kind of tissue and analytic method of Android screen contact track data comprise the following steps:
1) get the x of tracing point, after the y coordinate in the mode of assembly unit character string as down:123:456 or move:123:456 or up:123:456;
2) the good character string of assembly unit being broken into packet uses procotol to send;
3) accepting device receives and is divided into three segment datas according to following rule after data, first paragraph representative action, and second segment and the 3rd section are converted into the digitized representation coordinate, then carry out track in the demonstration of screen.
Tissue and the analytic method of described Android screen contact track data, the action of screen contact track is divided into three kinds: press, move and lift; Action is pressed in the down representative; Move represents shift action; Action is lifted in the up representative.
The contact track action of screen is divided into three kinds: press, move and lift.Capture the position (x, y) of pressing a little when pressing.Capture in real time the track (x, y) of mobile some when mobile.The same track (x, y) that lifts a little that also will capture when lifting.Then these tracks are organized transmission.Each data layout following (stroke represents a stroke, and action represents the action of stroke, and action is pressed in the down representative, and move represents shift action, and action is lifted in the up representative, and pointx represents the coordinate points of x axle, and pointy represents the coordinate points of y axle):
Embodiment 1
Adopt form of the present invention to be:
down:123:456
move:123:456
up:123:456
Embodiment 2
Adopting the XML organising data is following form:
Figure BSA00000850357700041
Embodiment 3
Adopting the JSON organising data is following form:
{"action″:″down″,″pointx″:″123″,″pointy″:″456″}
{"action″:″move″,″pointx″:″123″,″pointy″:″456″}
{"action″:″up″,″pointx″:″123″,″pointy″:″456″}
Can find out by above-mentioned three embodiment, adopt the position coordinates point that directly adds this action after moving in the present invention.Greatly simplify from data, substantially do not existed from the data redundancy redundant data.From resolution speed for character string: it is as follows that { " action ": " down ", " pointx ": " 123 ", " pointy ": " 456 " } loops five test duration results that the JSON of 50000 times resolves:
66176433662865226447 units: millisecond
Adopt the present invention to carry out five test duration results of parsing of 50000 times for the character string that can realize said function as follows:
988965103510471004 units: millisecond
The above is only preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (2)

1. tissue and the analytic method of Android screen contact track data, is characterized in that, comprises the following steps:
1) get the x of tracing point, after the y coordinate in the mode of assembly unit character string as down:123:456 or move:123:456 or up:123:456;
2) the good character string of assembly unit being broken into packet uses procotol to send;
3) accepting device receives and is divided into three segment datas according to following rule after data, first paragraph representative action, and second segment and the 3rd section are converted into the digitized representation coordinate, then carry out track in the demonstration of screen.
2. tissue and the analytic method of Android screen contact track data according to claim 1 is characterized in that: the action of screen contact track is divided into three kinds: press, mobile and lift; Action is pressed in the down representative; Move represents shift action; Action is lifted in the up representative.
CN2013100371153A 2013-01-31 2013-01-31 Organization and analysis method of Android screen contact trajectory data Pending CN103176794A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013100371153A CN103176794A (en) 2013-01-31 2013-01-31 Organization and analysis method of Android screen contact trajectory data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013100371153A CN103176794A (en) 2013-01-31 2013-01-31 Organization and analysis method of Android screen contact trajectory data

Publications (1)

Publication Number Publication Date
CN103176794A true CN103176794A (en) 2013-06-26

Family

ID=48636699

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013100371153A Pending CN103176794A (en) 2013-01-31 2013-01-31 Organization and analysis method of Android screen contact trajectory data

Country Status (1)

Country Link
CN (1) CN103176794A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104391649A (en) * 2014-12-05 2015-03-04 上海斐讯数据通信技术有限公司 System and method for controlling multi-activity touch screen messages

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030025681A1 (en) * 2001-06-26 2003-02-06 Naozumi Hara Electronic whiteboard and electronic whiteboard system including the same
CN1555197A (en) * 2003-12-24 2004-12-15 清华大学深圳研究生院 Video frequency meeting shared white plate realizing method based on Internet
WO2007089766A2 (en) * 2006-01-30 2007-08-09 Apple Inc. Gesturing with a multipoint sensing device
CN102156578A (en) * 2011-03-30 2011-08-17 汉王科技股份有限公司 Handwriting input method and handwriting input device of touch equipment and electronic equipment
CN102609202A (en) * 2012-02-03 2012-07-25 广东步步高电子工业有限公司 Method and system for using touch screen mobile terminal as computer handwriting input device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030025681A1 (en) * 2001-06-26 2003-02-06 Naozumi Hara Electronic whiteboard and electronic whiteboard system including the same
CN1555197A (en) * 2003-12-24 2004-12-15 清华大学深圳研究生院 Video frequency meeting shared white plate realizing method based on Internet
WO2007089766A2 (en) * 2006-01-30 2007-08-09 Apple Inc. Gesturing with a multipoint sensing device
CN102156578A (en) * 2011-03-30 2011-08-17 汉王科技股份有限公司 Handwriting input method and handwriting input device of touch equipment and electronic equipment
CN102609202A (en) * 2012-02-03 2012-07-25 广东步步高电子工业有限公司 Method and system for using touch screen mobile terminal as computer handwriting input device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王晓庆 等: "多点触摸手势分析及识别算法的研究", 《计算机科学》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104391649A (en) * 2014-12-05 2015-03-04 上海斐讯数据通信技术有限公司 System and method for controlling multi-activity touch screen messages

Similar Documents

Publication Publication Date Title
CN105808056B (en) A kind of Media method and system based on two dimensional code
CN106056996B (en) A kind of multimedia interactive tutoring system and method
CN105446689B (en) The synchronous method and system of long-range annotation
CN105493621B (en) Terminal, server and terminal control method
CN103927909A (en) Interactive teaching system and method of touch type mobile terminal
CN203012636U (en) Man-machine interactive system based on laser projection positioning
CN104823186B (en) The method of long-range presentation between at least two terminals of network connection
CN102915114A (en) Remote control method of PPT (Power Point)
CN103973705A (en) Omnimedia and new media fusing platform
CN210006245U (en) augmented reality multi-person collaborative simulation system for power equipment training
CN105590280A (en) Learning system applied to mobile device
CN107731028A (en) A kind of intelligent sound electronic whiteboard
CN102982088B (en) It is a kind of for providing user the method for the feedback information on target pages
CN103136235B (en) Data processing platform (DPP), data handling system and data processing method
CN102044176A (en) Interactive instructional device and instructional method thereof
CN103631381A (en) Man-machine interaction system and man-machine interaction method for electric transmission line patrolling simulation system
CN102693655A (en) Electronic examination system for students
CN103176794A (en) Organization and analysis method of Android screen contact trajectory data
CN106681483A (en) Interaction method and interaction system for intelligent equipment
CN201946138U (en) Interactive teaching device
CN111816012A (en) Remote education system based on virtual reality technology
CN203444655U (en) Interactive teaching integrated system
CN104731334A (en) Spatial gesture interactive type maritime silk road dynamic history GIS and implementation method
CN103399635A (en) Motion remote computer control scheme based on smartphones
CN104092958A (en) Video signal labeling method, system and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C53 Correction of patent of invention or patent application
CB03 Change of inventor or designer information

Inventor after: Jiang Chunhua

Inventor after: Chen Xiaolong

Inventor after: Luo Xinwei

Inventor after: Chen Xianlong

Inventor after: Yang Zhipeng

Inventor after: Ding Pengwei

Inventor before: Chen Xianlong

Inventor before: Chen Xiaolong

Inventor before: Luo Xinwei

Inventor before: Jiang Chunhua

Inventor before: Yang Zhipeng

Inventor before: Ding Pengwei

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: CHEN XIANLONG CHEN XIAOLONG LUO XINWEI JIANG CHUNHUA YANG ZHIPENG DING PENGWEI TO: JIANG CHUNHUA CHEN XIAOLONG LUO XINWEI CHEN XIANLONG YANG ZHIPENG DING PENGWEI

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: 20130626

RJ01 Rejection of invention patent application after publication