CN103853470B - Data processing and display methods and equipment - Google Patents

Data processing and display methods and equipment Download PDF

Info

Publication number
CN103853470B
CN103853470B CN201210505035.1A CN201210505035A CN103853470B CN 103853470 B CN103853470 B CN 103853470B CN 201210505035 A CN201210505035 A CN 201210505035A CN 103853470 B CN103853470 B CN 103853470B
Authority
CN
China
Prior art keywords
equipment
contact
coordinate
relevant information
event type
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.)
Active
Application number
CN201210505035.1A
Other languages
Chinese (zh)
Other versions
CN103853470A (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201210505035.1A priority Critical patent/CN103853470B/en
Publication of CN103853470A publication Critical patent/CN103853470A/en
Application granted granted Critical
Publication of CN103853470B publication Critical patent/CN103853470B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

Embodiments of the invention provide a kind of data processing and display methods, apparatus and system, are related to field of computer technology, this method includes:First equipment obtains contact relevant information, and the contact relevant information includes:The event type and the coordinate of the contact that the contact is triggered when producing;The contact relevant information is sent to the second equipment by first equipment, to cause second equipment to be drawn according to the contact relevant information and show the contact.The present embodiment, which can be realized, shows caused input trajectory synchronizing information on touch screen terminal on a remote device.

Description

Data processing and display methods and equipment
Technical field
The present invention relates to field of computer technology, more particularly to a kind of data processing and display methods and equipment.
Background technology
In the prior art, generally can be by touching when user is using supporting the terminal of touch-screen to be interacted with remote equipment Touch screen click on terminal on some predetermined registration operation buttons, to realize predetermined registration operation, for example, user using touch-screen remote control with When intelligent TV set interacts, the switching on and shutting down virtual key of point touching screen display, then opening for remote equipment can be realized Shutdown.
If however, using touch-screen as during an input unit, caused input trajectory information on the touchscreen, such as The trace information for forming word, picture etc. of input, then can not simultaneous display on a remote device.
The content of the invention
Embodiments of the invention provide a kind of data processing and display methods and equipment, it is possible to achieve by touch screen terminal Caused input trajectory synchronizing information is shown on a remote device.
To reach above-mentioned purpose, embodiments of the invention adopt the following technical scheme that:
First aspect, there is provided a kind of data processing method, including:
First equipment obtains contact relevant information, and the contact relevant information includes:The thing that the contact is triggered when producing Part type and the coordinate of the contact;
The contact relevant information is sent to the second equipment by first equipment, to cause second equipment according to institute Contact relevant information is stated to draw and show the contact.
Second aspect, a kind of data display and treating method is also provided, including:
Second equipment receives the contact relevant information that the first equipment is sent, and the contact relevant information includes:The contact The event type and the coordinate of the contact triggered during generation;
Second equipment is drawn according to the coordinate of the event type and the contact and shows the contact.
The third aspect, there is provided a kind of data processing equipment, including:
Acquisition module, for obtaining contact relevant information, the contact relevant information includes:Triggered when producing the contact Event type and the contact coordinate;
Sending module, for the contact relevant information to be sent into the second equipment, to cause the second equipment according to Contact relevant information is drawn and shows the contact.
Fourth aspect, there is provided a kind of data display equipment, including:
Receiving module, the contact relevant information sent for receiving the first equipment, the contact relevant information include:It is described The event type and the coordinate of the contact that contact is triggered when producing;
Display module is drawn, for the contact to be drawn and shown according to the coordinate of the event type and the contact.
Pass through above-mentioned technical proposal, when producing contact in the first equipment provided with touch-screen, the first equipment obtains contact After relevant information, the contact relevant information is sent to the second equipment, second equipment is according to the contact relevant information Draw and show the contact.It is achieved thereby that by caused input trajectory synchronizing information on touch screen terminal (i.e. the first equipment) It is shown on remote equipment (i.e. the second equipment).
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of flow chart for data processing method that the embodiment of the present invention 1 provides;
Fig. 2 is the flow chart for another data processing method that the embodiment of the present invention 1 provides;
Fig. 3 is a kind of flow chart for data display and treating method that the embodiment of the present invention 1 provides;
Fig. 4 is the flow chart for another data display and treating method that the embodiment of the present invention 1 provides;
Fig. 5 is a kind of structure chart for data processing equipment that the embodiment of the present invention 2 provides;
Fig. 6 is the structure chart for another data processing equipment that the embodiment of the present invention 2 provides;
Fig. 7 is a kind of structure chart for data presentation device that the embodiment of the present invention 2 provides;
Fig. 8 is the structure chart for another data presentation device that the embodiment of the present invention 2 provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
Embodiment 1
In a kind of application scenarios of the embodiment of the present invention, the first equipment and the second equipment are two independent equipment, first Equipment is provided with touch-screen, such as the intelligent remote controller provided with touch-screen, for being supplied to user to input touch track, the second equipment Provided with display screen, for example, tv display screen, the touch track inputted on the first device for simultaneous display user.
As shown in figure 1, the embodiment of the present invention provides a kind of processing method of data, this method is performed by the first equipment, is wrapped Include:
101st, the first equipment obtains contact relevant information, and the contact relevant information includes:Triggered when producing the contact Event type and the contact coordinate.
Wherein, when the touch-screen upper contact of the first equipment produces, event type that the contact is triggered when producing can be with For Down events, Move events or Up events.Down events produce when being pressed on the touchscreen by user, Move events by with Family produces when touch-screen enters line slip, and Up events produce when being lifted on the touchscreen by user.
Wherein, when user is performing touch operation on the touch-screen of the first equipment, contact can be formed on the touchscreen, the The bottom hardware driving of one equipment can capture contact relevant information, and the input controller (InputHandler) of the first equipment is the bottom of from Contact relevant information is obtained in layer hardware driving, and submits to window bottom level view (ViewRoot), window bottom level view is by institute State contact relevant information and be distributed to target view (QboxGestureOverlayView), target view believes contact correlation Breath is packaged into object, and submits to gesture analysis engine (GestureEngine), and gesture analysis engine is packaged with contact by each The object of relevant information is stored in the event queue of contact, wherein, the contact correlation that team's head of the contact event queue preserves is believed Event type is presses event (Down events) in breath, and event type is lifts event in the contact relevant information that tail of the queue preserves (Up events).
102nd, the contact relevant information is sent to the second equipment by first equipment, to cause the second equipment root Drawn according to the contact relevant information and show the contact.
Wherein it is possible to obtain contact correlation successively from the contact event queue by the gesture analysis engine of the first equipment Information, and it is sent to the second equipment by inputting transmission sub-line journey (DataSenderThread).
In the present embodiment, when producing contact in the first equipment provided with touch-screen, the first equipment obtains the related letter in contact After breath, the contact relevant information is sent to the second equipment, to cause second equipment according to the contact relevant information Draw and show the contact.It is achieved thereby that by caused input trajectory synchronizing information on touch screen terminal (i.e. the first equipment) It is shown on remote equipment (i.e. the second equipment).
In a kind of implementation of the present embodiment, the coordinate of the contact is made up of abscissa and ordinate, the horizontal seat Mark and ordinate are the coordinate relative to specified point on the touch-screen.
For example, the upper left drift angle point that can define the touch-screen is relative origin, the abscissa and ordinate Can be relative to the coordinate on the touch-screen with respect to origin.
Above-mentioned steps 102 can use and mode is implemented as described below:
The contact relevant information is sent to the second equipment by first equipment using 5Byte data format, wherein, 1Byte represents event type, and 2Byte represents the abscissa of the contact, and 2Byte represents the ordinate of the contact.
Or size during in order to reduce data transfer, the contact phase can also be transmitted using 4Byte data format Information is closed, above-mentioned steps 102 specifically use and mode is implemented as described below:
The contact relevant information is sent to the second equipment by first equipment using 4Byte data format, wherein, Event type is represented when 4Byte data value is particular value, contact is represented when 4Byte data value is nonspecific value Coordinate, the unique corresponding particular value of every kind of event type.
For example, when event type is Up events, particular value (0xffff, 0xffff) can be used to represent, the particular value 4Byte data formats corresponding to (0xffff, 0xffff) represent as follows:
11111111 11111111 11111111 11111111
11111111 11111111 11111111 11111111
And for example, when the coordinate of contact is (128,128), corresponding 4Byte data formats represent as follows:
00000000 00000000 00000000 10000000
00000000 00000000 00000000 10000000
It is Up events sending above-mentioned event type, can be with when the coordinate of contact is the contact relevant information of (128,128) (0xffff, the 0xffff) of 4Byte data formats is first sent, is and then sent (128,128) of 4Byte data formats.Second When equipment receives (0xffff, 0xffff), it can learn that the event type in the contact relevant information is Up events, second sets For when receiving (128,128), it is (128,128) that can learn contact coordinate.
In a kind of implementation of the present embodiment, the first equipment by the contact relevant information be sent to the second equipment it Before, the first equipment, which needs to establish with the second equipment, to be communicated to connect, and the first equipment and the second equipment can be carried out by wireless network Data communicate, for example, the first equipment and the second equipment are located in same WIFI network.As shown in Fig. 2 described data processing Method, in addition to:
1000th, first equipment sends broadcast message.
Wherein, the broadcast message is including at least viewing area in the network address of the first equipment, particular port, the first equipment The developed width and actual height in domain.
The network address can be IP address.
The developed width of viewing area and actual height are used to be supplied to the second equipment to carry out contact in first equipment Scaling processing, referring specifically to the description that relevant contact scaling is handled in hereafter step 2020.
The broadcast message can be sent using UDP (UDP, User Datagram Protocol) Broadcast message.
1001st, first equipment receives the response message that candidate device is sent, and the response message comprises at least candidate The network address and particular port of equipment;
1002nd, first equipment determines the second equipment from candidate device;
The candidate device can be multiple, and the first equipment can receive the response message that each candidate device is sent, and from One candidate device of middle selection is as the second equipment.
Afterwards, the step 102 specifically performs following steps:First equipment will according to the network address of the second equipment The contact relevant information is sent to the particular port of second equipment.
Wherein, first equipment can use transmission control protocol (TCP, Transmission Control Protocol the contact relevant information) is sent.
Correspondingly, as shown in figure 3, the embodiment of the present invention also provides a kind of data display and treating method, held by the second equipment OK, specifically comprise the following steps:
201st, the second equipment receives the contact relevant information that the first equipment is sent, and the contact relevant information includes:It is described The event type and the coordinate of the contact that contact is triggered when producing;
For example, the first equipment hair can be received by the data receiver sub-line journey (DataReceiverThread) of the second equipment The contact relevant information sent.
In a kind of implementation, the second equipment can receive the contact that the first equipment is sent using 5Byte data format Relevant information, wherein, 1Byte represents event type, and 2Byte represents the abscissa of the contact, and 2Byte represents the contact Ordinate;
In another implementation, the second equipment can receive the first equipment and be touched using what 4Byte data format was sent Point relevant information, wherein, event type is represented when 4Byte data value is particular value, when 4Byte data value is non- The coordinate of contact is represented during particular value, every kind of event type uniquely corresponds to a particular value.
The associated description of 4Byte data format may refer to the data about 4Byte in above-mentioned steps 102 in this step The description of form.
202nd, second equipment is drawn according to the coordinate of the event type and the contact and shows the contact.
For example, can be by the data processor (Data Processor) of the second equipment to the contact relevant information that receives Data parsing and processing are carried out, following several processing are carried out according to the event type included in the contact relevant information respectively:
When the event type is Down events, the position of coordinate representation of second equipment in the contact is drawn And show the contact;
When the event type is Move events, the position of coordinate representation of second equipment in the contact is with before Curve is drawn between the position of the coordinate representation of one contact;
When the event type is Up events, the position of coordinate representation of second equipment in the contact is drawn simultaneously Show the contact.
In the embodiment of the present invention, the second equipment receives the contact relevant information that the first equipment is sent, the contact relevant information It is that user is carried out caused by touch operation on the first device, afterwards, the second equipment can be according to the event type and described The coordinate of contact is drawn and shows the contact.It is achieved thereby that by caused input rail on touch screen terminal (i.e. the first equipment) Mark synchronizing information is shown on remote equipment (i.e. the second equipment).
In a kind of implementation of the present embodiment, the related letter in contact of the first equipment transmission is received in the second equipment Before, the first equipment, which needs to establish with the second equipment, to be communicated to connect, and the first equipment and the second equipment can be carried out by wireless network Data communicate, for example, the first equipment and the second equipment are located in same WIFI network.As shown in figure 4, described data processing Method, in addition to:
2000th, second equipment receives the broadcast message from first equipment, and the broadcast message comprises at least The developed width and actual height of viewing area in the network address of first equipment, particular port, the first equipment;
The network address can be IP address.
The developed width of viewing area and actual height are used to zoom in and out contact processing in first equipment, referring specifically to The hereinafter associated description of the relevant contact scaling processing of step 2020.
2001st, the response message that second equipment is sent to first equipment, the response message comprise at least the The network address and particular port of two equipment;
Step 201 specifically performs following operation:Described in particular port reception of second equipment from second equipment The contact relevant information that first equipment is sent.
What is needed is, it is contemplated that the first equipment and the second equipment may have the difference of display screen size and resolution ratio It is different, in order to avoid there is the situation of distortion when the second equipment, which is drawn, shows contact, in a kind of implementation of the present embodiment, in step Before rapid 202, described data processing method, in addition to:
2020th, show according in the developed width of viewing area in first equipment and actual height, second equipment The Breadth Maximum and maximum height for showing region zoom in and out processing to the coordinate of the contact, draw the contact after scaling Coordinate.
In order to be better understood from the implementation process of contact scaling processing, viewing area in first equipment is defined first Developed width is input_real_X, actual height input_real_Y, defines in second equipment viewing area most Big width is output_max_X, maximum height output_max_Y.
Wherein, in first equipment viewing area developed width input_real_X and actual height input_ Real_Y is obtained by above-mentioned steps 2000.
Specific scaling is realized as follows:
Obtain the developed width input_real_X and actual height input_real_ of viewing area in first equipment After Y, the ratio of width to height rate of the first device display area, which can be calculated, is:Ratio=input_real_x/inut_real_y.
In order to ensure that the second equipment does not produce distorting transformation when drawing contact, it is used to show in the viewing area of the second equipment Show that the ratio of width to height rate needs in the region of contact are identical with the ratio of width to height rate of the first device display area, lower mask body introduces contact contracting Put the computational methods of ratio:
<1>ratio>When 1, illustrate that the width of the first equipment is bigger than height, such as tablet personal computer, then the second equipment is with itself Breadth Maximum on the basis of contact is zoomed in and out.It is specific as follows:
Output_real_X=output_max_X is made, wherein, output_real_X is that the second equipment shows for contact The developed width that the developed width in the region shown, i.e. the second equipment are used for the region that contact is shown is the Breadth Maximum of its own;
The region shown according to output_real_Y=output_real_X/ratio the second equipment of calculating for contact Actual height.Wherein, output_real_Y is the actual height that the second equipment is used for the region that contact is shown.
From the foregoing, it will be observed that the ratio of width to height rate that the second equipment is used for the region that contact is shown is the width with the first device display area Height ratio identical.
Then, the scaling according to needed for scale=output_real_X/input_real_X calculates contact, its In, scale is the scaling needed for contact.
Zooming in and out processing to the coordinate of contact is specially:If (x, y) represents the contact coordinate that the second equipment receives, Contact after then scaling is (x*scale, y*scale).
For example, it is 10 that the developed width input_real_X of the first device display area, which is 20, actual height, then ratio =20/10, that is, ratio=2.
The Breadth Maximum of viewing area is that output_max_X is 40, maximum height output_ in second equipment Max_Y is 40, then when being zoomed in and out on the basis of the Breadth Maximum output_max_X of the second equipment to contact, the second equipment is used Developed width in the region that contact is shown is that output_real_X is 40, and the second equipment is used for the reality in the region that contact is shown Border height output_real_Y is 40/2=20, the scaling scale=40/20 needed for contact, that is, to carry out 2 times Scaling.
For example, the contact coordinate that the second equipment receives is (5,12), then the contact coordinate after scaling is (10,24), the Two equipment will be drawn and shown according to (10,24).
<2>ratio<When 1, then illustrate that the height over width of the first equipment is big, such as mobile phone, then the second equipment with itself Zoomed in and out on the basis of maximum height.It is specific as follows:
Output_real_Y=output_max_Y is made, wherein, output_real_Y is that the second equipment shows for contact The actual height that the actual height in the region shown, i.e. the second equipment are used for the region that contact is shown is the maximum height of its own;
The region shown according to output_real_X=output_real_Y/ratio the second equipment of calculating for contact Developed width.Wherein, output_real_X is the developed width that the second equipment is used for the region that contact is shown.
From the foregoing, it will be observed that the ratio of width to height rate that the second equipment is used for the region that contact is shown is the width with the first device display area Height ratio identical.
Then, the scaling according to needed for scale=output_real_Y/input_real_Y calculates contact, its In, scale is the scaling needed for contact.
Zooming in and out processing to the coordinate of contact is specially:If (x, y) represents the contact coordinate that the second equipment receives, Contact after then scaling is (x*scale, y*scale).
<3>During ratio=1, then the height over width that illustrates the first equipment be it is the same, then the second equipment with itself most Zoomed in and out on the basis of big wide height.It is specific as follows:
Output_real_X=output_max_X is made, wherein, output_real_X is that the second equipment shows for contact The developed width that the developed width in the region shown, i.e. the second equipment are used for the region that contact is shown is the Breadth Maximum of its own;
Output_real_Y=output_max_Y is made, wherein, output_real_Y is that the second equipment shows for contact The actual height that the actual height in the region shown, i.e. the second equipment are used for the region that contact is shown is the maximum height of its own;
Then, the scaling according to needed for scale=output_real_Y/input_real_Y calculates contact, its In, scale is the scaling needed for contact.
Zooming in and out processing to the coordinate of contact is specially:If (x, y) represents the contact coordinate that the second equipment receives, Contact after then scaling is (x*scale, y*scale).
After being zoomed in and out to contact, correspondingly, as shown in figure 4, specifically execution is as follows for step 202:According to the event The coordinate of the contact after type and scaling is drawn and shows the contact.
Embodiment 2:
The embodiment of the present invention provides a kind of data processing equipment, as shown in figure 5, including:
Acquisition module 11, for obtaining contact relevant information, the contact relevant information includes:Touched when producing the contact The event type of hair and the coordinate of the contact;
Sending module 12, for the contact relevant information to be sent into the second equipment, to cause the second equipment according to institute Contact relevant information is stated to draw and show the contact.
In the present embodiment, when producing contact in the first equipment provided with touch-screen, the first equipment obtains the related letter in contact After breath, the contact relevant information is sent to the second equipment, to cause second equipment according to the contact relevant information Draw and show the contact.It is achieved thereby that by caused input trajectory synchronizing information on touch screen terminal (i.e. the first equipment) It is shown on remote equipment (i.e. the second equipment).
In a kind of implementation of the present embodiment, the coordinate of the contact is made up of abscissa and ordinate, the horizontal seat Mark and ordinate are the coordinate relative to specified point on the touch-screen;
For example, the upper left drift angle point that can define the touch-screen is relative origin, the abscissa and ordinate Can be relative to the coordinate on the touch-screen with respect to origin.
The contact relevant information is sent to second specifically for the data format using 5Byte and set by the sending module It is standby, wherein, 1Byte represents event type, and 2Byte represents the abscissa of the contact, and 2Byte represents the vertical seat of the contact Mark;
Or the sending module is specifically used for being sent to the contact relevant information using 4Byte data format Second equipment, wherein, event type is represented when 4Byte data value is particular value, when 4Byte data value is non-spy The coordinate of contact is represented during definite value, every kind of event type uniquely corresponds to a particular value.
The data format using 4Byte sends the implementation process of contact relevant information with being used in above-mentioned steps 102 4Byte data format transmission contact relevant information is identical, may refer to the associated description of step 102.
In a kind of implementation of the present embodiment, the sending module, it is additionally operable to send broadcast message, the broadcast message Including at least the developed width and actual height of viewing area in the network address of the first equipment, particular port, the first equipment;Institute It can be IP address to state network address.
As shown in fig. 6, described data processing equipment also includes:Receiving module 13, for receiving candidate device transmission Response message, the response message comprise at least the network address and particular port of candidate device;Determining module, for from candidate The second equipment is determined in equipment;
The sending module is specifically used for being sent the contact relevant information according to the network address of second equipment To the particular port of second equipment.
As shown in fig. 7, the embodiment of the present invention provides a kind of data display equipment, including:
Receiving module 21, the contact relevant information sent for receiving the first equipment, the contact relevant information include:Institute State the event type triggered when contact produces and the coordinate of the contact;
Display module 22 is drawn, for described touch to be drawn and shown according to the coordinate of the event type and the contact Point.
In a kind of implementation of the embodiment of the present invention, the receiving module 21 is specifically used for receiving the use of the first equipment The contact relevant information that 5Byte data format is sent, wherein, 1Byte represents event type, and 2Byte represents the contact Abscissa, 2Byte represent the ordinate of the contact;
Or the receiving module 21 is specifically used for receiving the contact that the first equipment is sent using 4Byte data format Relevant information, wherein, event type is represented when 4Byte data value is particular value, when 4Byte data value is non-spy The coordinate of contact is represented during definite value, every kind of event type uniquely corresponds to a particular value.
In a kind of implementation of the present embodiment, the drafting display module 22 is specifically used for when the event type is During Down events, drawn in the position of the coordinate representation of the contact and show the contact;
The drafting display module 22 is specifically used for when the event type is Move events, the coordinate in the contact Curve is drawn between the position of the coordinate representation of the position of expression and previous contact;
The drafting display module 22 is specifically used for when the event type is Up events, the coordinates table in the contact Draw and show the contact in the position shown.
In a kind of implementation of the present embodiment, the receiving module 21 is additionally operable to receive from the wide of first equipment Broadcast message, reality of the broadcast message including at least viewing area in the network address of the first equipment, particular port, the first equipment Border width and actual height;The network address can be IP address.
As shown in figure 8, the data processing equipment also includes:Sending module 23, for what is sent to first equipment Response message, the response message comprise at least the network address and particular port of the data processing equipment;
The receiving module 21 is specifically used for receiving what the first equipment was sent from the particular port of the data processing equipment Contact relevant information.
In a kind of implementation of the present embodiment, as shown in figure 8, also including:Adaptation module 24, for according to the first equipment The Breadth Maximum and maximum height of viewing area in the developed width and actual height of middle viewing area, the data processing equipment Processing is zoomed in and out to the coordinate of the contact, draws the coordinate of the contact after scaling;
The display module of drawing is specifically used for being drawn according to the coordinate of the contact after the event type and scaling And show the contact.
Above-mentioned Fig. 5 or Fig. 6 provide a kind of data processing equipment and can used as the first equipment, and Fig. 7 or Fig. 8 provide one kind Data processing equipment can use as the second equipment.The specific implementation of the respective function of first equipment and the second equipment can also be joined See the associated description of the first equipment and the second equipment in above-described embodiment 1.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can borrow Software is helped to add the mode of required common hardware to realize, naturally it is also possible to which by hardware, but the former is more preferably in many cases Embodiment.Based on such understanding, portion that technical scheme substantially contributes to prior art in other words Dividing can be embodied in the form of software product, and the computer software product is stored in the storage medium that can be read, and such as be counted The floppy disk of calculation machine, hard disk or CD etc., including some instructions to cause a computer equipment (can be personal computer, Server, or network equipment etc.) perform method described in each embodiment of the present invention.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (16)

  1. A kind of 1. data processing method, it is characterised in that including:
    First equipment sends broadcast message, and the broadcast message is including at least the network address of the first equipment, particular port, first The developed width and actual height of viewing area in equipment;
    First equipment receives the response message that candidate device is sent, and the response message comprises at least the network address of candidate device And particular port, the number of the candidate device is at least two;
    First equipment selects the equipment of conduct second from multiple candidate devices, and first equipment and second equipment are led to Cross wireless network and enter row data communication;
    First equipment obtains contact relevant information, and the contact relevant information includes:The event class that the contact is triggered when producing Type and the coordinate of the contact;
    The contact relevant information is sent to the second equipment by first equipment, to cause second equipment to be touched according to described Point relevant information is drawn and shows the contact;
    Wherein, the coordinate of the event type and the contact is sent to the second equipment and included by first equipment:
    The contact relevant information is sent to second equipment by first equipment according to the network address of the second equipment Particular port.
  2. 2. according to the method for claim 1, it is characterised in that the coordinate of the contact is made up of abscissa and ordinate, The abscissa and ordinate are the coordinate relative to specified point on touch-screen;
    The contact relevant information is sent to the second equipment by first equipment to be included:
    The contact relevant information is sent to the second equipment by first equipment using 5Byte data format, wherein, 1Byte represents event type, and 2Byte represents the abscissa of the contact, and 2Byte represents the ordinate of the contact.
  3. 3. according to the method for claim 1, it is characterised in that the coordinate of the contact is made up of abscissa and ordinate, The abscissa and ordinate are the coordinate relative to specified point on touch-screen;
    The contact relevant information is sent to the second equipment by first equipment to be included:First equipment is using 4Byte's The contact relevant information is sent to the second equipment by data format, wherein, represented when 4Byte data value is particular value Event type, the coordinate of contact is represented when 4Byte data value is nonspecific value, and every kind of event type uniquely corresponds to one Individual particular value.
  4. A kind of 4. data display and treating method, it is characterised in that including:
    Second equipment receives the broadcast message from the first equipment, and the broadcast message is with comprising at least the network of the first equipment The developed width and actual height of viewing area in location, particular port, the first equipment;
    The response message that second equipment is sent to first equipment, the response message is with comprising at least the network of the second equipment Location and particular port;
    Second equipment receives the contact relevant information that the first equipment is sent, and the contact relevant information includes:The contact produces When the event type that triggers and the contact coordinate;
    Second equipment is drawn according to the coordinate of the event type and the contact and shows the contact;
    Wherein, second equipment receives the contact relevant information that the first equipment is sent and included:
    Second equipment receives the contact relevant information of the first equipment transmission from the particular port of second equipment.
  5. 5. according to the method for claim 4, it is characterised in that the second equipment receives the related letter in contact that the first equipment is sent Breath includes:
    Second equipment receives the contact relevant information that the first equipment is sent using 5Byte data format, wherein, 1Byte is represented Event type, 2Byte represent the abscissa of the contact, and 2Byte represents the ordinate of the contact.
  6. 6. according to the method for claim 4, it is characterised in that the second equipment receives the related letter in contact that the first equipment is sent Breath includes:
    Second equipment receives the contact relevant information that the first equipment is sent using 4Byte data format, wherein, when 4Byte's Data value represents event type when being particular value, the coordinate of contact is represented when 4Byte data value is nonspecific value, often Kind event type uniquely corresponds to a particular value.
  7. 7. according to the method for claim 4, it is characterised in that second equipment according to the event type and it is described touch The coordinate of point is drawn and shows that the contact includes:
    When the event type is Down events, the position of coordinate representation of second equipment in the contact is drawn and shown Show the contact;
    When the event type is Move events, the position of coordinate representation of second equipment in the contact and previous Curve is drawn between the position of the coordinate representation of contact;
    When the event type is Up events, the position of coordinate representation of second equipment in the contact is drawn and shown The contact.
  8. 8. according to the method for claim 4, it is characterised in that also include:
    According to viewing area in the developed width of viewing area in first equipment and actual height, second equipment most Big width and maximum height zoom in and out processing to the coordinate of the contact, draw the coordinate of the contact after scaling;
    Second equipment is drawn according to the coordinate of the event type and the contact and shows that the contact includes:According to institute The coordinate for stating the contact after event type and scaling is drawn and shows the contact.
  9. A kind of 9. data processing equipment, it is characterised in that including:
    Acquisition module, for obtaining contact relevant information, the contact relevant information includes:The thing that the contact is triggered when producing Part type and the coordinate of the contact;
    Sending module, for the contact relevant information to be sent into the second equipment, to cause the second equipment according to the contact Relevant information is drawn and shows the contact;
    The sending module, it is additionally operable to send broadcast message, the broadcast message comprises at least the network address of the first equipment, spy The developed width and actual height of viewing area in fixed end mouth, the first equipment;
    Described data processing equipment also includes:Receiving module, for receiving the response message of candidate device transmission, the response Message comprises at least the network address and particular port of candidate device, and the number of the candidate device is at least two;Determine mould Block, for selecting the equipment of conduct second from multiple candidate devices, first equipment and second equipment pass through nothing Gauze network enters row data communication;
    The sending module is specifically used for the contact relevant information is sent into institute according to the network address of second equipment State the particular port of the second equipment.
  10. 10. data processing equipment according to claim 9, it is characterised in that the coordinate of the contact is by abscissa and indulges Coordinate forms, and the abscissa and ordinate are the coordinate relative to specified point on touch-screen;
    The sending module is specifically used for the contact relevant information is sent into the second equipment using 5Byte data format, Wherein, 1Byte represents event type, and 2Byte represents the abscissa of the contact, and 2Byte represents the ordinate of the contact.
  11. 11. data processing equipment according to claim 9, it is characterised in that the coordinate of the contact is by abscissa and indulges Coordinate forms, and the abscissa and ordinate are the coordinate relative to specified point on touch-screen;
    The sending module is specifically used for the contact relevant information is sent into the second equipment using 4Byte data format, Wherein, event type is represented when 4Byte data value is particular value, the table when 4Byte data value is nonspecific value Show the coordinate of contact, every kind of event type uniquely corresponds to a particular value.
  12. A kind of 12. data display equipment, it is characterised in that including:
    Receiving module, the contact relevant information sent for receiving the first equipment, the contact relevant information include:The contact The event type and the coordinate of the contact triggered during generation;
    Display module is drawn, for the contact to be drawn and shown according to the coordinate of the event type and the contact;
    The receiving module is additionally operable to receive the broadcast message from first equipment, and the broadcast message comprises at least first The developed width and actual height of viewing area in the network address of equipment, particular port, the first equipment;
    The data display equipment also includes:Sending module, for the response message sent to first equipment, the response Message comprises at least the network address and particular port of the data display equipment;
    The receiving module is specifically used for the contact phase for receiving the first equipment from the particular port of the data display equipment and sending Close information.
  13. 13. data display equipment according to claim 12, it is characterised in that the receiving module is specifically used for receiving the The contact relevant information that one equipment is sent using 5Byte data format, wherein, 1Byte represents event type, and 2Byte is represented The abscissa of the contact, 2Byte represent the ordinate of the contact.
  14. 14. data display equipment according to claim 12, it is characterised in that
    The receiving module is specifically used for receiving the contact relevant information that the first equipment is sent using 4Byte data format, its In, event type is represented when 4Byte data value is particular value, is represented when 4Byte data value is nonspecific value The coordinate of contact, every kind of event type uniquely correspond to a particular value.
  15. 15. data display equipment according to claim 12, it is characterised in that the drafting display module is specifically used for working as When the event type is Down events, is drawn in the position of the coordinate representation of the contact and show the contact;
    The drafting display module is specifically used for when the event type is Move events, the coordinate representation in the contact Curve is drawn between the position of the coordinate representation of position and previous contact;
    The drafting display module is specifically used for when the event type is Up events, in the position of the coordinate representation of the contact Put and draw and show the contact.
  16. 16. data display equipment according to claim 12, it is characterised in that also include:
    Adaptation module, for according to the developed width of viewing area in the first equipment and actual height, the data display equipment The Breadth Maximum and maximum height of middle viewing area zoom in and out processing to the coordinate of the contact, draw described tactile after scaling The coordinate of point;
    The display module of drawing is specifically used for drawing and showing according to the coordinate of the contact after the event type and scaling Show the contact.
CN201210505035.1A 2012-11-30 2012-11-30 Data processing and display methods and equipment Active CN103853470B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210505035.1A CN103853470B (en) 2012-11-30 2012-11-30 Data processing and display methods and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210505035.1A CN103853470B (en) 2012-11-30 2012-11-30 Data processing and display methods and equipment

Publications (2)

Publication Number Publication Date
CN103853470A CN103853470A (en) 2014-06-11
CN103853470B true CN103853470B (en) 2018-01-09

Family

ID=50861193

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210505035.1A Active CN103853470B (en) 2012-11-30 2012-11-30 Data processing and display methods and equipment

Country Status (1)

Country Link
CN (1) CN103853470B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104023029A (en) * 2014-06-19 2014-09-03 百度在线网络技术(北京)有限公司 Method and device for verifying verification codes
CN107257498B (en) * 2017-07-06 2021-08-10 福建天泉教育科技有限公司 Live broadcasting method and system
CN107743247A (en) * 2017-09-27 2018-02-27 福建天泉教育科技有限公司 A kind of online demenstration method of PPT and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1466066A (en) * 2002-09-16 2004-01-07 联想(北京)有限公司 Network printer and driving method
CN201294037Y (en) * 2008-10-30 2009-08-19 深圳市同洲电子股份有限公司 Controlled equipment, control terminal and remote-control system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662467B (en) * 2012-03-28 2014-11-19 北京奇虎科技有限公司 Method and device for instruction control in remote assistance process
CN103455265B (en) * 2012-06-01 2015-12-09 腾讯科技(深圳)有限公司 The control method of controlled plant and system, mobile terminal and controlled plant
CN102722336A (en) * 2012-06-12 2012-10-10 桂林电子科技大学 Office wireless speaking system and synchronous tracking method for synchronous tracking of editing and demonstration operation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1466066A (en) * 2002-09-16 2004-01-07 联想(北京)有限公司 Network printer and driving method
CN201294037Y (en) * 2008-10-30 2009-08-19 深圳市同洲电子股份有限公司 Controlled equipment, control terminal and remote-control system

Also Published As

Publication number Publication date
CN103853470A (en) 2014-06-11

Similar Documents

Publication Publication Date Title
US11301200B2 (en) Method of providing annotation track on the content displayed on an interactive whiteboard, computing device and non-transitory readable storage medium
US20180364865A1 (en) Touch control method, user equipment, input processing method, mobile terminal and intelligent terminal
US20180232135A1 (en) Method for window displaying on a mobile terminal and mobile terminal
CN105487705B (en) Mobile terminal, input processing method and user equipment
CN102238361B (en) Terminal and display method thereof
CN103955339A (en) Terminal operation method and terminal equipment
CN109144396A (en) Touch information processing method, device, equipment and storage medium
CN104076988B (en) A kind of display methods, display control method and electronic equipment
WO2013094271A1 (en) Information display device
JP2014044655A (en) Augmented reality system, video composition device, video composition method, and program
US9582094B2 (en) Information processing device, display device with touch panel, information processing method, and program
CN111309203A (en) Method and device for acquiring positioning information of mouse cursor
CN103853470B (en) Data processing and display methods and equipment
CN106020685A (en) Thinking guide graph operation method and device
CN109460170A (en) Screen extension and exchange method, terminal and computer readable storage medium
CN110506264A (en) It is presented for the live ink of live collaboration
CN103914305B (en) The method and system of application are freely controlled on a kind of mobile terminal
CN107257506A (en) Many picture special efficacy loading methods and device
CN116743827B (en) Method for controlling cloud mobile phones in batches, server, touch screen terminal and storage medium
WO2024037419A1 (en) Display control method and apparatus, electronic device, and readable storage medium
CN105335007B (en) Method of toch control, user equipment, input processing method and mobile terminal
CN106569686A (en) Method for controlling screen capture with rolling ball, and related intelligent equipment
CN114115673B (en) Control method of vehicle-mounted screen
US10632379B2 (en) Method and apparatus for performing interaction in chessboard interface
US20240176481A1 (en) Remote control system and method, and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant