CN105426148A - Multi-terminal-screen synchronization method based on vectorgraph - Google Patents

Multi-terminal-screen synchronization method based on vectorgraph Download PDF

Info

Publication number
CN105426148A
CN105426148A CN201510764750.0A CN201510764750A CN105426148A CN 105426148 A CN105426148 A CN 105426148A CN 201510764750 A CN201510764750 A CN 201510764750A CN 105426148 A CN105426148 A CN 105426148A
Authority
CN
China
Prior art keywords
screen
client terminal
server
synch
screen synch
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
CN201510764750.0A
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.)
JIANGSU ZHONGWEI TECHNOLOGY SOFTWARE SYSTEM Co Ltd
Original Assignee
JIANGSU ZHONGWEI TECHNOLOGY SOFTWARE SYSTEM 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 JIANGSU ZHONGWEI TECHNOLOGY SOFTWARE SYSTEM Co Ltd filed Critical JIANGSU ZHONGWEI TECHNOLOGY SOFTWARE SYSTEM Co Ltd
Priority to CN201510764750.0A priority Critical patent/CN105426148A/en
Publication of CN105426148A publication Critical patent/CN105426148A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention relates to a multi-terminal-screen synchronization method based on a vectorgraph. The method comprises the following steps: client terminals log in a TCP (Transmission Control Protocol) server through a login interface; the client terminal who owns a spokesman permission initializes a screen synchronization request; each client terminal who logs in the server responds to the screen synchronization request which is initialized by the client terminal who owns the spokesman permission, and a screen enters a synchronization state; the client terminal who owns the spokesman permission opens a file which needs to be synchronized; and the screen of the client terminal and the screen of the client terminal who initializes the screen synchronization request synchronously change. The multi-terminal-screen synchronization method based on the vectorgraph reduces transmission contents and lowers network time delay; each terminal renders pages according to the variable quantity of a shared file so as to be compatible with a plurality of platforms and different resolutions; handwritten contents are transmitted in real time through a vector format, and other terminals can see the change of the handwritten contents; and therefore, the control of screen synchronization and screen operation can be realized.

Description

Based on the multiple terminals screen synchronization method of vector graphics
Technical field
The present invention relates to a kind of screen synchronization method, specifically, relate to a kind of multiple terminals screen synchronization method based on vector graphics.
Background technology
At present at various electric terminal, as: under the environment such as smart mobile phone, panel computer, conventional P C, all can relate to the problem of screen synch.Such as: when teaching, the content that this teacher's device screen shows all shown by the screen that teacher wishes all student's equipment; When meeting, the device screen that host wishes participant all shows content that spokesman's device screen shows etc.
Under existing technology, screen synch generally all adopts by the content of whole screen frame by frame, is shared with other people in the mode of screenshot capture.Because the data volume of each frame of screen is all larger, a lot of problem will be produced like this when transmission, as: the content of transmission is picture, need to take a large amount of bandwidth, easily cause network delay, if in order to eliminate time delay, then must reduce image quality, having had a strong impact on Consumer's Experience.
If very high by the screen resolution sharing people, or everyone device resolution is inconsistent, and at this time in order to allow a lot of people can show content on screen fast, the content so transmitted just must be compressed; The not fogging bad impact such as clear will be caused like this.
If the user at scene has multiple different equipment, the existing technology also good mode of neither one is gone to solve many equipment and is shared simultaneously, and the problem of low delay, high pixel.
And screen when most meeting and teaching is shared, all can operate based on certain file, as: PPT, PDF etc.If at this time reduce resolution, the problems such as the word on file does not see will be caused.
The major defect of prior art shows: 1. adopt picture frame transmission mode, take massive band width; 2. network delay is serious, affects Consumer's Experience; 3. cannot the terminal of each resolution perfect adaptive, there is the sharpness of picture, resolution loss between high-low resolution; 4. cannot good compatible multiple platform, be also mainly be embodied in picture transmission to have delay, sharpness not high enough; 5. do not carry out special optimization for teaching, meeting; As needs are hand-written on file, removing Screen sharing software, what also need on special software simulating file is hand-written.
Summary of the invention
For above-mentioned deficiency of the prior art, the invention provides a kind of raising transmission speed, reduce network delay, the multiple terminals screen synchronization method based on vector graphics applied widely.
The technical solution used in the present invention is:
Based on a multiple terminals screen synchronization method for vector graphics, comprise the steps:
Client terminal logs in TCP server by login interface;
After client terminal logon server, server is given according to the account title logging in client terminal and is logged in the corresponding user right of client terminal;
TCP server is to the client terminal transmission screen synchronizer logged in;
Client terminal runs screen synch device;
The file that screen synch device Download Server stores;
User right comprises: normal user permission, spokesman's authority and administrator right;
The client terminal having spokesman's authority initiates screen synch request;
The screen synch request that the client terminal that each client terminal response signing in server has spokesman's authority is initiated, screen enters synchronous regime;
The client terminal having spokesman's authority is opened and is needed to carry out synchronous file;
The operation information of the client terminal of initiating screen synch request is transferred to server by the client terminal screen synch device of initiating screen synch request;
The operation information of the client terminal of initiating screen synch request is transferred to all client terminals signing in server by server;
Sign in each client terminal screen synch device parse operation information of server, the screen of each client terminal changes with the screen synch of the client terminal of initiating screen synch request;
Initiate the client terminal close file of screen synch request, exit screen synch request, sign in each client terminal close file of server and exit screen synch state.
Normal user permission: the least privilege of system, client terminal screen can only be synchronous by other client terminals, until the client terminal of initiating screen synch request exit screen synch, and cannot jump out in synchronizing process that this is synchronous;
Spokesman's authority: client terminal is when current nobody initiates screen synch; Initiate screen synch instruction; The screen of client terminal is synchronous by client terminal, then in synchronizing process, also cannot jump out screen synch;
Administrator right: jump out screen synch at any time, stop synchronous, spokesman's authority of closing other people of any client terminal.
Server sends heartbeat to client terminal; If client terminal screen synch device does not receive heartbeat, client terminal will reconnect server.
The client behaviour initiating screen synch request carries out signing operation on the synchronous file opened.
Sign operation and comprise hand-written, input through keyboard and erasing.
The Vector Message of signing operation is carried out serializing by the client initiating screen synch request, and the Vector Message of serializing is transferred to server; Server broadcast Vector Message is to the client terminal of logon server.
The Vector Message of serializing resolved by the client screen synchronizer of logon server;
The Vector Message of the serializing after resolving is superimposed upon on the file opened by the client screen synchronizer of logon server.
The Vector Message of server saving sequence.
During client terminal logon server, the client terminal having spokesman's authority has initiated screen synch request;
Client terminal screen synch device is opened and synchronous documents according to the positional information when the file of front opening and the file page number, convergent-divergent, slip that server stores; According to the Vector Message that server stores Vector Message is superimposed upon on the file opened, in order to the user allowing midway log in also enters the state of screen synch.
The client terminal of initiation screen synch request completes screen synch or keeper terminates screen synch operations;
The client terminal having spokesman's authority gets screen synch operations authority again, in order to the user allowing midway log in also enters the state of screen synch.
The beneficial effect of hinge structure of the present invention:
The present invention is based on the multiple terminals screen synchronization method of vector graphics, be applicable to the multiple terminals screen synch at the enterprising line operate of file such as meeting, teaching; Adopt the variable quantity of the page number of transmission shared file, handwriting, sliding position to replace traditional frame transmission, greatly reduce the content of transmission, thus reduce network delay; Each terminal plays up the page according to shared file variable quantity, thus compatibility multiple platform and different resolution; Hand-written content by vector format real-time Transmission, thus is accomplished, a people is hand-written, and other ends can see the change of handwritten content; System adopts TCP to connect, and sees authority by the read-write that certain mode controls each terminal, thus achieves the control of screen synch, screen operator.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the multiple terminals screen synchronization method that the present invention is based on vector graphics.
Embodiment
Referring to drawings and Examples, the present invention will be described in detail:
Accompanying drawing 1 is known, and a kind of multiple terminals screen synchronization method based on vector graphics, comprises the steps:
Client terminal logs in TCP server by login interface;
After client terminal logon server, server is given according to the account title logging in client terminal and is logged in the corresponding user right of client terminal;
TCP server is to the client terminal transmission screen synchronizer logged in;
Client terminal runs screen synch device;
The file that screen synch device Download Server stores;
User right comprises: normal user permission, spokesman's authority and administrator right;
The client terminal having spokesman's authority initiates screen synch request;
The screen synch request that the client terminal that each client terminal response signing in server has spokesman's authority is initiated, screen enters synchronous regime;
The client terminal having spokesman's authority is opened and is needed to carry out synchronous file;
The operation information of the client terminal of initiating screen synch request is transferred to server by the client terminal screen synch device of initiating screen synch request;
The operation information of the client terminal of initiating screen synch request is transferred to all client terminals signing in server by server;
Sign in each client terminal screen synch device parse operation information of server, the screen of each client terminal changes with the screen synch of the client terminal of initiating screen synch request;
Initiate the client terminal close file of screen synch request, exit screen synch request, sign in each client terminal close file of server and exit screen synch state.
Normal user permission: the least privilege of system, client terminal screen can only be synchronous by other client terminals, until the client terminal of initiating screen synch request exit screen synch, and cannot jump out in synchronizing process that this is synchronous;
Spokesman's authority: client terminal is when current nobody initiates screen synch; Initiate screen synch instruction; The screen of client terminal is synchronous by client terminal, then in synchronizing process, also cannot jump out screen synch;
Administrator right: jump out screen synch at any time, stop synchronous, spokesman's authority of closing other people of any client terminal.
Server sends heartbeat to client terminal; If client terminal screen synch device does not receive heartbeat, client terminal will reconnect server.
The client behaviour initiating screen synch request carries out signing operation on the synchronous file opened.
Sign operation and comprise hand-written, input through keyboard and erasing.
The Vector Message of signing operation is carried out serializing by the client initiating screen synch request, and the Vector Message of serializing is transferred to server; Server broadcast Vector Message is to the client terminal of logon server.
The Vector Message of serializing resolved by the client screen synchronizer of logon server;
The Vector Message of the serializing after resolving is superimposed upon on the file opened by the client screen synchronizer of logon server.
The Vector Message of server saving sequence.
During client terminal logon server, the client terminal having spokesman's authority has initiated screen synch request;
Client terminal screen synch device is opened and synchronous documents according to the positional information when the file of front opening and the file page number, convergent-divergent, slip that server stores; According to the Vector Message that server stores Vector Message is superimposed upon on the file opened, in order to the user allowing midway log in also enters the state of screen synch.
The client terminal of initiation screen synch request completes screen synch or keeper terminates screen synch operations;
The client terminal having spokesman's authority gets screen synch operations authority again, in order to the user allowing midway log in also enters the state of screen synch.
The present invention is based on the multiple terminals screen synchronization method of vector graphics, be applicable to the multiple terminals screen synch at the enterprising line operate of file such as meeting, teaching; Adopt the variable quantity of the page number of transmission shared file, handwriting, sliding position to replace traditional frame transmission, greatly reduce the content of transmission, thus reduce network delay; Each terminal plays up the page according to shared file variable quantity, thus compatibility multiple platform and different resolution; Hand-written content by vector format real-time Transmission, thus is accomplished, a people is hand-written, and other ends can see the change of handwritten content; System adopts TCP to connect, and sees authority by the read-write that certain mode controls each terminal, thus achieves the control of screen synch, screen operator.
The form in preservation screen synch form on the server and synchronizing process is related in screen synch process.The screen synch form wherein preserved on the server is in order to the user that adds of midway can be made to enter into screen synch state rapidly, and the screen synch form in synchronizing process is then to allow the screen message of other device synchronization main equipments under screen synch state.
Server storing screen synch form is:
In this data structure, (represented by []) in outermost array, a daughter element (being represented by { }) represents the information of signing of signing people comprised in one page and the vector lines positional information of signing thereof.Suppose in outermost array, there are 2 daughter elements, so illustrate that this vector graphics has two pages.
Ground floor daughter element describes some vector graphics, and the implication of concrete field is as follows:
Filename: synchronous filename.
Page: data are at which page, and wherein 0 is start page.
Zoom: file zoom factor.
X, y: the coordinate points of the upper left corner respective file of screen.
Datas: the array of writing signing content, a daughter element in array represents one " lines " or " word ".
The concrete field meanings of datas daughter element is as follows:
Type: vector graphics type, be divided into " text " and " line ", wherein, text represents Word message, and line represents line information.
The daughter element that to be below word type be " text ":
Text: the detailed content of word.
The width of height character area; Width: the height of character area.
The daughter element that to be below word type be " line ":
Width: line thickness
Points: the array of lines mid point.
Cy, cx: the x of point, y-axis coordinate.
Data layout in synchronizing process:
1, slip screen
X, y represent which position sliding into current page respectively, and page represents to slide into which page.
Zoom represents current scale value.
2, hand-written:
Type: represent lines or word respectively.
If lines:
X, y represent the position of hand-written point respectively.Width represents width.
Status:0 represents first point of a hand-written line, and 1 represents middle point.2 last point representing a hand-written line.
As long as each point is coupled together in hand-written process.
If word:
X, y, width, height determine the position of word.
Text represents the content of word.

Claims (10)

1., based on a multiple terminals screen synchronization method for vector graphics, it is characterized in that comprising the steps:
Client terminal logs in TCP server by login interface;
After client terminal logon server, server is given according to the account title logging in client terminal and is logged in the corresponding user right of client terminal;
TCP server is to the client terminal transmission screen synchronizer logged in;
Client terminal runs screen synch device;
The file that screen synch device Download Server stores;
User right comprises: normal user permission, spokesman's authority and administrator right;
The client terminal having spokesman's authority initiates screen synch request;
The screen synch request that the client terminal that each client terminal response signing in server has spokesman's authority is initiated, screen enters synchronous regime;
The client terminal having spokesman's authority is opened and is needed to carry out synchronous file;
The operation information of the client terminal of initiating screen synch request is transferred to server by the client terminal screen synch device of initiating screen synch request;
The operation information of the client terminal of initiating screen synch request is transferred to all client terminals signing in server by server;
Sign in each client terminal screen synch device parse operation information of server, the screen of each client terminal changes with the screen synch of the client terminal of initiating screen synch request;
Initiate the client terminal close file of screen synch request, exit screen synch request, sign in each client terminal close file of server and exit screen synch state.
2., according to claim 1 based on the multiple terminals screen synchronization method of vector graphics, it is characterized in that:
Normal user permission: the least privilege of system, client terminal screen can only be synchronous by other client terminals, until the client terminal of initiating screen synch request exit screen synch, and cannot jump out in synchronizing process that this is synchronous;
Spokesman's authority: client terminal is when current nobody initiates screen synch; Initiate screen synch instruction; The screen of client terminal is synchronous by client terminal, then in synchronizing process, also cannot jump out screen synch;
Administrator right: jump out screen synch at any time, stop synchronous, spokesman's authority of closing other people of any client terminal.
3., according to claim 1 based on the multiple terminals screen synchronization method of vector graphics, it is characterized in that:
Server sends heartbeat to client terminal; If client terminal screen synch device does not receive heartbeat, client terminal will reconnect server.
4. according to claim 1 based on the multiple terminals screen synchronization method of vector graphics, it is characterized in that: the client behaviour initiating screen synch request carries out signing operation on the synchronous file opened.
5. according to claim 4 based on the multiple terminals screen synchronization method of vector graphics, it is characterized in that: sign operation and comprise hand-written, input through keyboard and erasing.
6., according to claim 5 based on the multiple terminals screen synchronization method of vector graphics, it is characterized in that:
The Vector Message of signing operation is carried out serializing by the client initiating screen synch request, and the Vector Message of serializing is transferred to server; Server broadcast Vector Message is to the client terminal of logon server.
7., according to claim 6 based on the multiple terminals screen synchronization method of vector graphics, it is characterized in that:
The Vector Message of serializing resolved by the client screen synchronizer of logon server;
The Vector Message of the serializing after resolving is superimposed upon on the file opened by the client screen synchronizer of logon server.
8., according to claim 7 based on the multiple terminals screen synchronization method of vector graphics, it is characterized in that:
The Vector Message of server saving sequence.
9., according to claim 8 based on the multiple terminals screen synchronization method of vector graphics, it is characterized in that:
During client terminal logon server, the client terminal having spokesman's authority has initiated screen synch request;
Client terminal screen synch device is opened and synchronous documents according to the positional information when the file of front opening and the file page number, convergent-divergent, slip that server stores; Vector Message is superimposed upon on the file opened according to the Vector Message that server stores.
10., according to claim 9 based on the multiple terminals screen synchronization method of vector graphics, it is characterized in that:
The client terminal of initiation screen synch request completes screen synch or keeper terminates screen synch operations;
The client terminal having spokesman's authority gets screen synch operations authority again.
CN201510764750.0A 2015-11-11 2015-11-11 Multi-terminal-screen synchronization method based on vectorgraph Pending CN105426148A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510764750.0A CN105426148A (en) 2015-11-11 2015-11-11 Multi-terminal-screen synchronization method based on vectorgraph

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510764750.0A CN105426148A (en) 2015-11-11 2015-11-11 Multi-terminal-screen synchronization method based on vectorgraph

Publications (1)

Publication Number Publication Date
CN105426148A true CN105426148A (en) 2016-03-23

Family

ID=55504379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510764750.0A Pending CN105426148A (en) 2015-11-11 2015-11-11 Multi-terminal-screen synchronization method based on vectorgraph

Country Status (1)

Country Link
CN (1) CN105426148A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106774900A (en) * 2016-12-19 2017-05-31 广州中国科学院先进技术研究所 One kind writes interactive system and method
CN110392063A (en) * 2019-08-27 2019-10-29 深圳市威屏科技有限公司 Electronic whiteboard method of data synchronization, device, equipment and medium
CN112818635A (en) * 2021-02-03 2021-05-18 广州市保伦电子有限公司 Multi-person synchronous document sharing and browsing method and processing terminal
WO2021218794A1 (en) * 2020-04-30 2021-11-04 北京字节跳动网络技术有限公司 Information sharing method, apparatus, electronic device, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080056599A1 (en) * 2006-08-31 2008-03-06 Akihiro Machida Method and system for far field image absolute navigation sensing
CN102143203A (en) * 2010-11-25 2011-08-03 北京播思软件技术有限公司 System and method for realizing synchronous sharing of multimedia files between mobile terminals
CN104182224A (en) * 2014-08-19 2014-12-03 南京富士通南大软件技术有限公司 Wireless PPT (power point) control system and control method implemented by same
CN104966311A (en) * 2015-06-10 2015-10-07 江苏中威科技软件系统有限公司 Vector graph storage method used for handwriting signing system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080056599A1 (en) * 2006-08-31 2008-03-06 Akihiro Machida Method and system for far field image absolute navigation sensing
CN102143203A (en) * 2010-11-25 2011-08-03 北京播思软件技术有限公司 System and method for realizing synchronous sharing of multimedia files between mobile terminals
CN104182224A (en) * 2014-08-19 2014-12-03 南京富士通南大软件技术有限公司 Wireless PPT (power point) control system and control method implemented by same
CN104966311A (en) * 2015-06-10 2015-10-07 江苏中威科技软件系统有限公司 Vector graph storage method used for handwriting signing system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106774900A (en) * 2016-12-19 2017-05-31 广州中国科学院先进技术研究所 One kind writes interactive system and method
CN110392063A (en) * 2019-08-27 2019-10-29 深圳市威屏科技有限公司 Electronic whiteboard method of data synchronization, device, equipment and medium
CN110392063B (en) * 2019-08-27 2022-04-01 深圳市威屏科技有限公司 Electronic whiteboard data synchronization method, device, equipment and medium
WO2021218794A1 (en) * 2020-04-30 2021-11-04 北京字节跳动网络技术有限公司 Information sharing method, apparatus, electronic device, and storage medium
US11809380B2 (en) 2020-04-30 2023-11-07 Beijing Bytedance Network Technology Co., Ltd. Information sharing method, apparatus, electronic device, and storage medium
CN112818635A (en) * 2021-02-03 2021-05-18 广州市保伦电子有限公司 Multi-person synchronous document sharing and browsing method and processing terminal

Similar Documents

Publication Publication Date Title
CN105405325B (en) Network teaching method and system
CN105491414B (en) Synchronous display method and device of images
CN105578115B (en) A kind of Network teaching method with Speech Assessment function and system
CN105681920B (en) A kind of Network teaching method and system with speech identifying function
CN107168674B (en) Screen casting annotation method and system
CN104333574B (en) Electric white board synchronous method and system
CN105892976B (en) Realize the method and device of multi-screen interactive
CN1304969C (en) Image-display system and method, image-display program, projector and projector-control method, and projector-control program
CN105426148A (en) Multi-terminal-screen synchronization method based on vectorgraph
CN103606310A (en) Teaching method and system
CN108235055B (en) Method and device for realizing transparent video in AR scene
CN103283250A (en) Method, device and system of video redirection, and computer readable medium
KR101784266B1 (en) Multi user video communication system and method using 3d depth camera
CN104932814A (en) Data transmission method and system and electronic terminal
KR102620284B1 (en) System for providing metaverse based education platform service
TWI497400B (en) Method of auto-recognizing for cursor in monitors
CN104980475B (en) Method and device for synchronously presenting display content
US10893231B1 (en) Eye contact across digital mediums
CN101963980A (en) Method for realizing whiteboard synchronization after picture centering under different resolutions on webpage
CN105407313A (en) Video calling method, equipment and system
CN103246435A (en) Feedback window based interaction method and device
CN108268520B (en) Courseware control method and device and online course live broadcast system
CN106775690B (en) Recording method and device based on gdi/gdi + window coverage
CN103279268B (en) A kind of interactive approach based on controlled terminal list and device
CN114025147A (en) Data transmission method and system for VR teaching, electronic equipment 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20160323

RJ01 Rejection of invention patent application after publication