CN107145319B - Data sharing method, device and system - Google Patents

Data sharing method, device and system Download PDF

Info

Publication number
CN107145319B
CN107145319B CN201710282852.8A CN201710282852A CN107145319B CN 107145319 B CN107145319 B CN 107145319B CN 201710282852 A CN201710282852 A CN 201710282852A CN 107145319 B CN107145319 B CN 107145319B
Authority
CN
China
Prior art keywords
shared
screen
data
vertex
information
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
CN201710282852.8A
Other languages
Chinese (zh)
Other versions
CN107145319A (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.)
Hainan Yunjiang Technology Co ltd
Original Assignee
Hainan Yunjiang 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 Hainan Yunjiang Technology Co ltd filed Critical Hainan Yunjiang Technology Co ltd
Priority to CN201710282852.8A priority Critical patent/CN107145319B/en
Publication of CN107145319A publication Critical patent/CN107145319A/en
Application granted granted Critical
Publication of CN107145319B publication Critical patent/CN107145319B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a data sharing method, which is executed in a first network device, wherein a first sharing screen with the same width-to-height ratio as a reference screen is pre-created in the device, and a first zoom ratio of the first sharing screen to the reference screen is stored, and the method comprises the following steps: acquiring shared information needing to be sent in a first shared screen according to the type of data to be shared, wherein the shared information comprises position parameters needing to be corrected and other information not needing to be corrected; correcting the position parameter according to the first scaling ratio; and sending the corrected location parameter to the second network device together with the other information. The second network device also has a second sharing screen and a second scaling ratio between the second sharing screen and the reference screen, and performs secondary correction on the received position parameter according to the second scaling ratio when receiving data so as to realize screen sharing. The invention also discloses corresponding data sending and receiving equipment and a data transmission system.

Description

Data sharing method, device and system
Technical Field
The present invention relates to the field of mobile communications, and in particular, to a data sharing method, device and system.
Background
With the diversification and popularization of various intelligent terminals, especially the wide use of smart phones, tablet computers and smart televisions, and the development of high-speed Wifi related technologies, the real-time screen sharing with high image quality among the smart phones, the tablet computers and the televisions is more and more mature. The screen sharing and interaction means that sharing and interaction of screens and media content information among devices are realized based on various types of terminals, such as devices with screen display functions, such as smart phones, tablet computers, smart televisions, so as to meet the requirements of users on conveniently browsing webpages, playing, watching media, operating terminals and the like on different types of terminals.
However, when screen sharing is performed, the sizes of the screens of the transmitting end and the receiving end are not completely the same, and after the content displayed by the transmitting end is transmitted to the receiving end, the phenomenon of stretching deformation is likely to occur. When the number of terminals participating in sharing is large, the screen sharing experience is affected. Moreover, when data transmission is performed, especially when picture transmission is involved, a large memory is usually occupied, and thus the data transmission speed is reduced. Therefore, it is desirable to provide a more versatile and traffic-efficient screen sharing technique.
Disclosure of Invention
In view of the above, the present invention proposes a data sharing method, device and system in an attempt to solve or at least solve the above existing problems.
According to an aspect of the present invention, there is provided a data sharing method adapted to be executed in a first network device in which a first shared screen having the same aspect ratio as a reference screen is created in advance and a first zoom ratio of the first shared screen to the reference screen is stored, the method comprising the steps of: acquiring shared information needing to be sent in a first shared screen according to the type of data to be shared, wherein the shared information comprises position parameters needing to be corrected and other information not needing to be corrected; correcting the position parameter according to the first scaling ratio; and sending the corrected location parameter to the second network device together with the other information.
Optionally, in the method according to the present invention, the reference screen is a screen in one of a plurality of network devices including the first network device and the second network device, or a screen preset as one of the network devices.
Optionally, in the method according to the present invention, a second shared screen having the same aspect ratio as the reference screen is also created in advance in the second network device, and a second zoom ratio of the second shared screen to the reference screen is stored, and the method further includes: receiving corrected location parameters and the other information corresponding to different data types sent by first network equipment through a network; performing secondary correction on the received position parameters according to the second scaling comparison; and presenting the content to be shared on the second sharing screen according to the secondarily corrected position parameter and the received other information.
Optionally, in the method according to the present invention, the step of obtaining the shared information to be sent according to the type of the data to be shared includes: if the data type to be shared is a picture, the sharing information needing to be acquired comprises the vertex abscissa, the vertex ordinate, the width, the height, the picture content and the rotation angle of the picture; the position parameters to be corrected comprise a vertex abscissa, a vertex ordinate, and a width and a height of the picture.
Optionally, in the method according to the present invention, the picture content includes a network address of the picture, the network address being adapted to be obtained according to the following method: uploading the picture to be shared to a picture server, and acquiring the network address of the picture returned by the picture server.
Optionally, in the method according to the present invention, the step of obtaining the shared information to be sent according to the type of the data to be shared includes: if the type of the data to be shared is a text, the sharing information to be acquired comprises a vertex abscissa, a vertex ordinate, a width, a height, a font size, text content and character color of a text box where the text is located; the position parameters to be corrected include the vertex abscissa, vertex ordinate, font size, and width and height of the text box.
Optionally, in the method according to the present invention, the step of obtaining the shared information to be sent according to the type of the data to be shared includes: if the type of the data to be shared is a line, the sharing information to be acquired comprises the abscissa, the ordinate, the line width and the line color of each point in the line. The position parameters to be corrected include the width of the line, and the abscissa and ordinate of each point in the line.
Optionally, in the method according to the present invention, the step of obtaining the shared information to be sent according to the type of the data to be shared includes: if the type of the data to be shared is screen operation realized by clicking a button, the shared information to be acquired comprises a vertex abscissa, a vertex ordinate, a width, a height and a button instruction of the button; the position parameters to be corrected include the vertex abscissa and vertex ordinate of the button, and the width and height, among others.
According to another aspect of the present invention, there is provided a data sharing method adapted to be executed in a second network device in which a second shared screen having the same aspect ratio as a reference screen is created in advance and a second zoom ratio of the second shared screen to the reference screen is stored, the method comprising the steps of: receiving shared information corresponding to different data types sent by first network equipment through a network, wherein the shared information comprises position parameters subjected to primary correction and other information which does not need to be corrected; performing secondary correction on the received position parameters according to the second scaling comparison; and presenting the content to be shared on the second sharing screen according to the secondarily corrected position parameter and the received other information.
Optionally, in the method according to the present invention, a first shared screen having the same aspect ratio as the reference screen is created in advance in the first network device, and a first zoom ratio of the first shared screen to the reference screen is stored; the primary correction of the position parameter in the shared information refers to correcting the position parameter according to the first scaling ratio.
Optionally, in the method according to the present invention, the reference screen is a screen in one of a plurality of network devices including the first network device and the second network device, or a screen preset as one of the network devices.
Optionally, in the method according to the present invention, the step of receiving, via the network, shared information corresponding to different data types sent by the first network device includes: if the data type to be shared is a picture, the received sharing information comprises a vertex abscissa, a vertex ordinate, a width, a height, a network address and a rotation angle of the picture; the position parameters subjected to primary correction comprise a vertex abscissa, a vertex ordinate, and width and height of the picture.
Optionally, in the method according to the present invention, further comprising: and accessing the picture server according to the network address of the received picture, and acquiring the picture content corresponding to the network address from the picture server.
Optionally, in the method according to the present invention, the step of receiving, via the network, shared information corresponding to different data types sent by the first network device includes: if the type of the data to be shared is a text, the received sharing information comprises a vertex abscissa, a vertex ordinate, a width, a height, a font size, text content and character color of a text box where the text is located; and the position parameters subjected to primary correction comprise vertex abscissa, vertex ordinate, font size, width and height of the text box.
Optionally, in the method according to the present invention, the step of receiving, via the network, shared information corresponding to different data types sent by the first network device includes: if the type of the data to be shared is a line, the received sharing information comprises the abscissa, the ordinate, the line width and the line color of each point in the line. The position parameters subjected to primary correction comprise the width of the line, and the abscissa and the ordinate of each point in the line.
Optionally, in the method according to the present invention, the step of receiving, via the network, shared information corresponding to different data types sent by the first network device includes: if the type of the data to be shared is screen operation realized by clicking a button, the received sharing information comprises a vertex abscissa, a vertex ordinate, a width, a height and a button instruction of the button; wherein the primarily corrected position parameters include a vertex abscissa, a vertex ordinate, and a width and a height of the button.
Optionally, in the method according to the present invention, the performing of the primary correction on the position parameters means dividing each position parameter by the first scaling ratio; the secondary correction of the received position parameters means that each position parameter after the primary correction is multiplied by a second scaling ratio.
According to still another aspect of the present invention, there is provided a data transmission apparatus in which a first shared screen having the same aspect ratio as a reference screen is created in advance and a first zoom ratio of the first shared screen to the reference screen is stored, the apparatus comprising: the information acquisition unit is suitable for acquiring shared information needing to be sent in a first shared screen according to the type of data to be shared, and the shared information comprises position parameters needing to be corrected and other information needing not to be corrected; the primary correction unit is suitable for correcting the position parameter according to the first scaling ratio; and a data transmitting unit that transmits the corrected location parameter to the second network device together with the other information.
According to still another aspect of the present invention, there is provided a data receiving apparatus in which a second shared screen having the same aspect ratio as a reference screen is created in advance and a second zoom ratio of the second shared screen to the reference screen is stored, the apparatus comprising: the data receiving unit is suitable for receiving shared information corresponding to different data types sent by the data sending equipment through a network, wherein the shared information comprises position parameters subjected to primary correction and other information which does not need to be corrected; the secondary correction unit is suitable for carrying out secondary correction on the received position parameters according to the second scaling ratio; and a content presenting unit adapted to present the content to be shared on the second sharing screen according to the secondarily corrected position parameter and the received other information.
According to still another aspect of the present invention, there is provided a data sharing system including: the data transmitting apparatus and the data receiving apparatus as described above; the data transmission device and the data receiving device transmit data through a network.
According to yet another aspect of the invention, there is provided a computing device comprising: one or more processors; a memory; and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing any of the methods as described above.
According to yet another aspect of the invention, there is provided a computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computing device, cause the computing device to perform any of the methods described above.
According to the technical scheme of the invention, a shared screen with the same width-height ratio as the reference screen in the main equipment is created on each terminal, and the scaling ratio of each shared screen relative to the reference screen of the main terminal is recorded. The data transmitting side can obtain the shared information to be transmitted according to the type of the transmitted data, and then the shared information is transmitted after the position-related parameter is divided by the scaling ratio of the transmitting side. After receiving the shared information, the data receiving party multiplies the position-related parameter by the scaling ratio of the receiving end, so that the picture can be effectively prevented from stretching and deforming after twice correction, and the user quality is improved.
Drawings
To the accomplishment of the foregoing and related ends, certain illustrative aspects are described herein in connection with the following description and the annexed drawings, which are indicative of various ways in which the principles disclosed herein may be practiced, and all aspects and equivalents thereof are intended to be within the scope of the claimed subject matter. The above and other objects, features and advantages of the present disclosure will become more apparent from the following detailed description read in conjunction with the accompanying drawings. Throughout this disclosure, like reference numerals generally refer to like parts or elements.
FIG. 1 shows a block diagram of a data sharing system 100 according to one embodiment of the invention;
fig. 2 is a block diagram showing the structures of a data transmitting apparatus 200 and a data receiving apparatus 300 according to an embodiment of the present invention;
FIG. 3 shows a flow diagram of a data sharing method 400 according to one embodiment of the invention;
FIG. 4 shows a flow diagram of a data sharing method 500 according to another embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
FIG. 1 shows a schematic diagram of a data sharing system 100 according to one embodiment of the invention. As shown, the system 100 includes a data transmitting device 200 and a data receiving device 300 (e.g., the data receiving devices 1-4 in fig. 1), wherein the data transmitting device 200 and the data receiving device 300 perform data transmission via a data network.
The data transmission apparatus 200 and the data reception apparatus 300 may be implemented as a server, such as a file server, a data storage server, an application server, a WEB server, and the like, may be implemented as a personal computer including desktop and notebook computer configurations, and may be implemented as a part of a small-sized portable (or mobile) electronic apparatus, such as a mobile phone, a tablet computer, a personal media player apparatus, a wireless network browsing apparatus, a wearable apparatus (e.g., a smart watch, smart glasses, and the like), an application-specific apparatus, or a hybrid apparatus that may include any of the above functions. The data receiving device 300 includes one or more mobile devices, which may be internet-accessible devices such as cell phones, tablets, laptops, television boxes, wearable devices, and the like.
It should be noted that the data sharing system 100 in fig. 1 is only exemplary, in a specific practical situation, there may be different numbers of data sending devices 200 and data receiving devices 300 in the system 100, and the present invention does not limit the number of data sending devices and data receiving devices included in the data sharing system 100.
In the present invention, one device in the data sharing system may be designated as a master device, or one device may be designated as a master device in addition, and a reference screen may be set on the master device, for example, the reference screen may be the entire physical screen of the master device, or may be a part of the physical screen. And then, the main equipment broadcasts the width and height information of the reference screen to other equipment, the other equipment respectively creates a shared screen with the same width and height ratio as the reference screen after receiving the information, and calculates and stores the scaling ratio of the size of the shared screen to the size of the reference screen. Thus, each device in the data sharing system 10 of the present invention will have a zoom ratio of the shared screen on that device to the reference screen, where the main device may be considered to have a zoom ratio of 1 although the shared screen is not specifically created in the main device. After the shared screen between the terminals is created and the scaling ratio is assigned, the master device and the slave device are not technically distinguished, and any one device can be used as a data sending device to send data and can also be used as a data receiving device to receive data.
According to one embodiment, the data sharing system 100 may further include a picture server (not shown in the figure), which may be a single server or a server cluster composed of a plurality of servers. When the terminal needs to send the picture, the sending end firstly uploads the picture to the picture server to obtain the network address of the picture returned by the picture server, and the network address is sent to the receiving end. The receiving end can access the picture server according to the network address and obtain the picture content corresponding to the network address.
Fig. 2 is a block diagram of the structure of a data transmitting apparatus 200 and a data receiving apparatus 300 according to an embodiment of the present invention. For convenience of description, the shared screen in the data transmission apparatus 200 is referred to as a first shared screen, and the zoom ratio stored in the apparatus is referred to as a first zoom ratio; the shared screen in the data receiving apparatus 300 is referred to as a second shared screen, and the zoom ratio stored in the apparatus is referred to as a second zoom ratio.
As shown in fig. 2, the data transmission device 200 includes an information acquisition unit 220, a primary correction unit 240, and a data transmission unit 260.
The information obtaining unit 220 may obtain, in the first sharing screen, sharing information that needs to be transmitted according to a type of data to be shared, where the sharing information includes a location parameter that needs to be corrected and other information that does not need to be corrected.
The types of data that can be shared between devices include pictures, text, handwriting, screen operations, and the like.
According to one embodiment, when the data type to be shared is a picture, the sharing information that the information obtaining unit 220 needs to obtain includes vertex abscissa, vertex ordinate, width, height, picture content, and rotation angle of the picture. The position parameters to be corrected comprise a vertex abscissa, a vertex ordinate, and a width and a height of the picture.
Here, the picture content may be represented by a network address of the picture, and the information obtaining unit 220 is adapted to obtain the network address of the picture according to the following method: uploading the picture to be shared to a picture server, and acquiring the network address of the picture returned by the picture server.
According to another embodiment, when the type of data to be shared is a text, the shared information that the information obtaining unit 220 needs to obtain includes a vertex abscissa, a vertex ordinate, a width, a height, a font size, a text content, and a text color of a text box in which the text is located. The position parameters to be corrected include the vertex abscissa, vertex ordinate, font size, and width and height of the text box.
According to another embodiment, when the data type to be shared is a line (i.e. handwriting), the data sending device 200 may store the points drawn by the mouse or other input device on the terminal screen into an array, where each point includes an abscissa and an ordinate. Drawing the points in a Bezier curve mode can draw a smooth line. For such shared content of a line shape, the shared information that the information acquiring unit 220 needs to acquire includes an abscissa, an ordinate, a line width, and a line color of each point in the line. The position parameters to be corrected include the width of the line, and the abscissa and ordinate of each point in the line.
According to still another embodiment, when the type of data to be shared is a screen operation (e.g., screen clearing, page turning, etc.) implemented by clicking a button, the shared information that the information obtaining unit 220 needs to obtain includes a vertex abscissa, a vertex ordinate, a width, a height, and a button instruction of the button. The position parameters to be corrected include the vertex abscissa and vertex ordinate of the button, and the width and height, among others. Of course, in actual operation, the screen operation may also be implemented not by a button, but directly by an instruction, and in this case, the information obtaining unit 220 only needs to obtain the button instruction.
The primary correction unit 240 may correct the position parameters that need to be corrected according to the first scaling ratio. This correction of the location parameter may be referred to as an initial correction, and specifically, the location parameter may be divided by the first scaling ratio of the data transmission apparatus 200 to perform the correction. For example, if the width of the shared screen of the data transmission device 200 is 40cm and the first scaling ratio is 0.8, the width is initially corrected to 50 cm. Of course, the division method is only an exemplary illustration, and the correction can also be performed by using a mathematical operation method, which is not limited by the present invention.
The data transmitting unit 260 may transmit the corrected location parameters to the data receiving side via the network together with other information (e.g., text content, line color, etc.) that does not need to be corrected, respectively.
According to one embodiment, when screen sharing for a screen-clearing operation is performed, the initiator transmits a packet (JSON format) in the following format
Figure BDA0001279953480000081
Figure BDA0001279953480000091
And after receiving the data packet, the receiver clears all the drawing contents on the UI.
According to one embodiment, the data transmission device 200 may further include a data reception unit, a secondary correction unit, and a content presentation unit. The data receiving unit may receive the corrected location parameters and the other information corresponding to different data types sent by the data sending device via the network. The secondary correction unit may perform secondary correction on the received position parameter according to the first scaling ratio. The content presentation unit may present the content to be shared on the second sharing screen based on the secondarily corrected position parameter and the received other information.
As mentioned above, each device can be used as both a sender and a receiver to send and receive data, and when it is used as a receiver, it can include the above-mentioned three data receiving units, secondary correction unit and content presentation unit to implement its data receiving function. Of course, these three units may be provided in the data receiving apparatus 300 corresponding to the data transmitting apparatus 200 to constitute a complete content sharing system.
After the data transmission unit 260 transmits the data, the data reception device 300 receives the shared information transmitted by the transmitting party. As shown in fig. 2, the data receiving apparatus 300 includes: a data receiving unit 320, a secondary correction unit 340, and a content presentation unit 360.
The data receiving unit 320 may receive, via the network, shared information corresponding to different data types sent by the data sending apparatus, where the shared information includes location parameters (such as vertex coordinates, width, height, etc.) subjected to initial correction and other information (such as text content, etc.) that does not need to be corrected.
According to one embodiment, when the data type to be shared is a picture, the sharing information received by the data receiving unit 320 includes vertex abscissa, vertex ordinate, width, height, network address of the picture, and rotation angle of the picture. The position parameters subjected to primary correction comprise a vertex abscissa, a vertex ordinate, and width and height of the picture.
In addition, the data receiving device 300 may further include a picture obtaining unit (not shown in the figure), which may access the picture server according to the network address of the received picture, and obtain the picture content corresponding to the network address from the picture server.
According to another embodiment, when the type of data to be shared is a text, the sharing information received by the data receiving unit 320 includes vertex abscissa, vertex ordinate, width, height, font size, text content, and text color of a text box in which the text is located. The position parameters subjected to primary correction comprise vertex abscissa, vertex ordinate, font size, width and height of the text box.
According to still another embodiment, when the type of data to be shared is a line, the sharing information received by the data receiving unit 320 includes an abscissa, an ordinate, a line width, and a line color of each point in the line. The position parameters subjected to primary correction comprise the width of the line, and the abscissa and the ordinate of each point in the line.
According to still another embodiment, when the type of data to be shared is a screen operation by clicking a button, the sharing information received by the data receiving unit 320 includes a vertex abscissa, a vertex ordinate, a width, a height, and a button instruction of the button. Wherein the primarily corrected position parameters include a vertex abscissa, a vertex ordinate, and a width and a height of the button.
The secondary correction unit 340 may perform secondary correction on the received primarily corrected location parameter according to the second scaling ratio.
Here, the secondary correction of the position parameter may be multiplying the primarily corrected position parameter by the second scaling ratio of the data reception apparatus 300. For example, if the second scaling ratio of the data receiving apparatus 300 is 0.6 and the width after the primary correction is 50cm in the above example, the width is corrected twice to be 30 cm. Of course, the manner of multiplication is only an exemplary illustration, and it can also be corrected by using a mathematical operation method, and the present invention is not limited thereto.
The content presenting unit 360 may present the content to be shared on the second sharing screen based on the secondarily corrected location parameter and the received other information that does not need to be corrected, so that the same screen effect as that of the sender can be presented.
For example, when the content to be shared is a picture, the content presentation unit 360 presents the picture at a specified rotation angle at a specified position in the second sharing screen according to the acquired picture content and the vertex horizontal and vertical coordinates, width, and height of the picture frame after the secondary correction.
Or, when the content to be shared is a text, the content presenting unit 360 draws the text content of the corresponding text color and the corresponding text font size at the corresponding position of the second sharing screen according to the vertex horizontal and vertical coordinates, the width and the height of the text box after the secondary correction.
For another example, when the content to be shared is a line (handwriting), the content presenting unit 360 uses a bezier curve (also called a bezier curve or a bezier curve) to connect each point in the line to draw the handwriting at the corresponding position of the second shared screen according to the abscissa and the ordinate of the point and the line width of the point in the line after the second correction. Wherein, Bezier curve is the mathematical curve that is applied to two-dimensional graph application program, and the definition of curve has four points: a starting point, an end point (also called anchor point) and two mutually separated intermediate points; sliding the two intermediate points, the shape of the bezier curve changes. Of course, the bezier curve is only an exemplary illustration, and other curve plotting methods may be used, and the present invention is not limited thereto.
Finally, when the content to be shared is screen operations such as screen clearing and page turning implemented by the button, the content presenting unit 360 displays the button at the corresponding position of the second shared screen according to the secondary corrected horizontal and vertical coordinates and width and height of the button, and implements the corresponding screen operations according to the instruction of the button.
In addition, the data receiving apparatus 300 may also include an information acquisition unit, a primary correction unit, and a data transmission unit, as in the same principle of the arrangement of the data transmitting apparatus 200. The execution logic of each unit corresponds to and is the same as the three units in the data sending device 200 described above, and for details, reference may be made to the description of the three units in the data sending device 200, and details are not described here again.
The core code of the invention (the received data packet is analyzed and drawn) is as follows:
Figure BDA0001279953480000111
Figure BDA0001279953480000121
Figure BDA0001279953480000131
3. data packet example
Figure BDA0001279953480000132
Figure BDA0001279953480000141
Figure BDA0001279953480000151
Figure BDA0001279953480000161
According to the technical scheme of the invention, each terminal device processes the picture of the terminal according to the zoom ratio of the terminal, and each terminal plays its own role and keeps the consistency of data processing. Therefore, no matter how many terminal devices exist in the whole system, no matter which device is used as a sender and which device is used as a receiver, as long as each terminal finishes the content processing work in the terminal, the consistency of content sharing can be ensured, and the problem of stretching deformation of content sharing is effectively solved.
Fig. 3 illustrates a data sharing method 400 according to an embodiment of the present invention, which may be performed in a first network device, such as the data transmission device 200. As shown in fig. 3, the method begins at step S420.
In step S420, the sharing information to be sent is acquired in the first sharing screen according to the type of the data to be shared, wherein the sharing information includes the location parameter that needs to be corrected and other information that does not need to be corrected.
Subsequently, in step S440, the position parameter to be corrected is corrected according to the first scaling ratio.
Subsequently, in step S460, the corrected location parameter is transmitted to the second network device together with other information that does not need to be corrected.
The execution logic of the data sharing method 400 is the same as the content of the data sending device 200, and reference may be specifically made to the description of the data sending device 200, which is not described herein again.
Fig. 4 shows a data sharing method 500 according to an embodiment of the invention, adapted to be performed in a second network device, such as the data receiving device 300. As shown in fig. 4, the method begins at step S520.
In step S520, the shared information corresponding to different data types sent by the first network device is received via the network, where the shared information includes the location parameter that has undergone the initial correction and other information that does not need to be corrected.
Subsequently, in step S540, the received position parameter is corrected for the second time according to the second scaling ratio.
Subsequently, in step S560, the content to be shared is presented on the second sharing screen based on the secondarily corrected position parameter and the received other information that does not need to be corrected.
The execution logic of the data sharing method 500 is the same as the content of the data receiving device 300, and reference may be specifically made to the description of the data receiving device 300, which is not repeated herein.
According to the technical scheme of the invention, the screen information sharing between two or more terminal devices is realized by correcting the position parameters at the sending end and the receiving end twice respectively, the bandwidth and the network flow are very low, the bandwidth occupation is less than 1% of the video mode shared screen, and the method is suitable for terminal devices such as mobile phones, tablet computers and computers. In addition, the data volume sent by the scheme is extremely small, and the data packet can be directly transmitted among multiple terminals and can also be forwarded by building a server.
A5, the method as in a2, wherein the network address of the picture is adapted to be obtained according to the following method: uploading the picture to be shared to a picture server, and acquiring the network address of the picture returned by the picture server.
A6, the method as in a1, wherein the step of obtaining the sharing information to be sent according to the data type to be shared includes: if the type of the data to be shared is a text, the sharing information to be acquired comprises a vertex abscissa, a vertex ordinate, a width, a height, a font size, text content and character color of a text box where the text is located; the position parameters to be corrected include the vertex abscissa, vertex ordinate, font size, and width and height of the text box.
A7, the method as in a1, wherein the step of obtaining the sharing information to be sent according to the data type to be shared includes: if the type of the data to be shared is a line, the sharing information to be acquired comprises the abscissa, the ordinate, the line width and the line color of each point in the line. The position parameters to be corrected include the width of the line, and the abscissa and ordinate of each point in the line.
A8, the method as in a1, wherein the step of obtaining the sharing information to be sent according to the data type to be shared includes: if the type of the data to be shared is screen operation realized by clicking a button, the shared information to be acquired comprises a vertex abscissa, a vertex ordinate, a width, a height and a button instruction of the button; the position parameters to be corrected include the vertex abscissa and vertex ordinate of the button, and the width and height, among others.
B10, the method according to B9, wherein a first shared screen with the same aspect ratio as the reference screen is created in advance in the first network device, and a first zoom ratio of the first shared screen to the reference screen is stored; the primary correction of the position parameter in the shared information refers to correcting the position parameter according to the first scaling ratio.
B11 the method of B9, wherein the reference screen is a screen in one of a plurality of network devices including the first network device and the second network device, or a screen preset as one of the network devices.
B12, the method according to B9, wherein the step of receiving the shared information corresponding to different data types sent by the first network equipment via the network comprises: if the data type to be shared is a picture, the received sharing information comprises a vertex abscissa, a vertex ordinate, a width, a height, a network address and a rotation angle of the picture; wherein, the position parameters after primary correction comprise a vertex abscissa, a vertex ordinate, and a width and a height of the picture.
B13, the method of B12, further comprising: and accessing the picture server according to the network address of the received picture, and acquiring the picture content corresponding to the network address from the picture server.
B14, the method according to B9, wherein the step of receiving the shared information corresponding to different data types sent by the first network equipment via the network comprises: if the type of the data to be shared is a text, the received sharing information comprises a vertex abscissa, a vertex ordinate, a width, a height, a font size, text content and character color of a text box where the text is located; and the position parameters subjected to primary correction comprise vertex abscissa, vertex ordinate, font size, width and height of the text box.
B15, the method according to B9, wherein the step of receiving the shared information corresponding to different data types sent by the first network equipment via the network comprises: if the type of the data to be shared is a line, the received sharing information comprises the abscissa, the ordinate, the line width and the line color of each point in the line. Wherein the primarily corrected position parameters include a line width, and an abscissa and an ordinate of each point in the line.
B16, the method according to B9, wherein the step of receiving the shared information corresponding to different data types sent by the first network equipment via the network comprises: if the type of the data to be shared is screen operation realized by clicking a button, the received sharing information comprises a vertex abscissa, a vertex ordinate, a width, a height and a button instruction of the button; wherein the primarily corrected position parameters include a vertex abscissa, a vertex ordinate, and a width and a height of the button.
B17, the method according to any one of B9-B16, wherein the primary correction of the position parameters is dividing each position parameter by the first scaling ratio; the second correction of the received position parameters means that each position parameter after the first correction is multiplied by the second scaling ratio.
C19, the device of C18, wherein the reference screen is a screen of one of the plurality of network devices including the data transmitting device and the data receiving device, or a screen preset as one of the network devices.
C20, the apparatus according to C18, wherein the data receiving apparatus also creates a second shared screen having the same aspect ratio as the reference screen in advance, and stores a second zoom ratio of the second shared screen to the reference screen, the apparatus further comprising: the data receiving unit is suitable for receiving the position parameters and the other information which are sent by the data sending equipment and correspond to different data types and are subjected to primary correction through a network; the secondary correction unit is used for carrying out secondary correction on the received position parameters according to the second scaling ratio; and a content presenting unit that presents the content to be shared on the second sharing screen according to the secondarily corrected position parameter and the received other information.
C21, the device according to C18, wherein, when the data type to be shared is a picture, the shared information that the information acquiring unit needs to acquire includes vertex abscissa, vertex ordinate, width, height, network address of the picture and rotation angle of the picture; the position parameters to be corrected comprise a vertex abscissa, a vertex ordinate, and a width and a height of the picture.
C22, the device as in C21, wherein the information obtaining unit is adapted to obtain the network address of the picture according to the following method: uploading the picture to be shared to a picture server, and acquiring the network address of the picture returned by the picture server.
C23, the device according to C18, wherein when the type of the data to be shared is a text, the shared information that the information obtaining unit needs to obtain includes vertex abscissa, vertex ordinate, width, height, font size, text content, and text color of the text box where the text is located; the position parameters to be corrected include the vertex abscissa, vertex ordinate, font size, and width and height of the text box.
C24, the device as in C18, wherein when the type of data to be shared is a line, the sharing information the information acquiring unit needs to acquire includes the abscissa, ordinate, line width and line color of each point in the line. The position parameters to be corrected include the width of the line, and the abscissa and ordinate of each point in the line.
C25, the device according to C18, wherein when the type of data to be shared is a screen operation by clicking a button, the shared information that the information acquiring unit needs to acquire includes a vertex abscissa, a vertex ordinate, a width, a height, and a button command of the button; the position parameters to be corrected include the vertex abscissa and vertex ordinate of the button, and the width and height, among others.
D27, the device as D26, wherein the data transmission device creates a first shared screen with the same aspect ratio as the reference screen in advance, and stores a first zoom ratio of the first shared screen to the reference screen; the primary correction of the position parameter in the shared information refers to correcting the position parameter according to the first scaling ratio.
The device of D28, as set forth in D26, wherein the reference screen is a screen in one of a plurality of network devices including the data transmitting device and the data receiving device, or a screen preset as one of the network devices.
D29, the device as D26, wherein, when the data type to be shared is a picture, the sharing information received by the data receiving unit includes vertex abscissa, vertex ordinate, width, height, network address and rotation angle of the picture; wherein, the position parameters after primary correction comprise a vertex abscissa, a vertex ordinate, and a width and a height of the picture.
D30, the device as D29 further includes a picture obtaining unit, adapted to access the picture server according to the network address of the received picture, and obtain the picture content corresponding to the network address from the picture server.
D31, the device according to D26, wherein when the type of the data to be shared is a text, the sharing information received by the data receiving unit includes vertex abscissa, vertex ordinate, width, height, font size, text content, and text color of the text box in which the text is located; and the position parameters subjected to primary correction comprise vertex abscissa, vertex ordinate, font size, width and height of the text box.
D32, the device as D26, wherein, when the type of data to be shared is a line, the sharing information received by the data receiving unit includes the abscissa, ordinate, line width and line color of each point in the line; wherein the primarily corrected position parameters include a line width, and an abscissa and an ordinate of each point in the line.
D33, the device as D26, wherein, when the type of data to be shared is a screen operation by clicking a button, the sharing information received by the data receiving unit includes a vertex abscissa, a vertex ordinate, a width, a height, and a button command of the button; wherein the primarily corrected position parameters include a vertex abscissa, a vertex ordinate, and a width and a height of the button.
D34 apparatus according to any one of D26-D33, wherein the initial correction of the position parameters is obtained by dividing each position parameter by the first scaling ratio; the second correction of the received position parameters means that each position parameter after the first correction is multiplied by the second scaling ratio.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in a device as described in this embodiment or alternatively may be located in one or more devices different from the devices in this example. The modules in the foregoing examples may be combined into one module or may be further divided into multiple sub-modules.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various techniques described herein may be implemented in connection with hardware or software or, alternatively, with a combination of both. Thus, the methods and apparatus of the present invention, or certain aspects or portions thereof, may take the form of program code (i.e., instructions) embodied in tangible media, such as floppy diskettes, CD-ROMs, hard drives, or any other machine-readable storage medium, wherein, when the program is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
In the case of program code execution on programmable computers, the computing device will generally include a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. Wherein the memory is configured to store program code; the processor is configured to perform the data sharing method of the present invention according to instructions in the program code stored in the memory.
Furthermore, some of the described embodiments are described herein as a method or combination of method elements that can be performed by a processor of a computer system or by other means of performing the described functions. A processor having the necessary instructions for carrying out the method or method elements thus forms a means for carrying out the method or method elements. Further, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is used to implement the functions performed by the elements for the purpose of carrying out the invention.
As used herein, unless otherwise specified the use of the ordinal adjectives "first", "second", "third", etc., to describe a common object, merely indicate that different instances of like objects are being referred to, and are not intended to imply that the objects so described must be in a given sequence, either temporally, spatially, in ranking, or in any other manner.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of this description, will appreciate that other embodiments can be devised which do not depart from the scope of the invention as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the appended claims. The present invention has been disclosed in an illustrative rather than a restrictive sense, and the scope of the present invention is defined by the appended claims.

Claims (33)

1. A data sharing method adapted to be executed in a first network device in which a first shared screen having the same aspect ratio as a reference screen is created in advance and a first zoom ratio of the first shared screen to the reference screen is stored, the method comprising the steps of:
acquiring shared information needing to be sent in the first shared screen according to the type of data to be shared, wherein the shared information comprises position parameters needing to be corrected and other information not needing to be corrected;
correcting the position parameter according to the first scaling ratio; and
sending the corrected position parameter and the other information to a second network device together, so that the second network device performs secondary correction on the received position parameter according to a second scaling ratio, and presents the content to be shared on a second sharing screen according to the position parameter after secondary correction and the received other information, wherein the second scaling ratio is the scaling ratio of a second sharing screen pre-created in the second network device and a reference screen, and the width ratio of the second sharing screen is the same as the width ratio of the reference screen;
the step of obtaining the sharing information to be sent according to the type of the data to be shared comprises the following steps:
if the data type to be shared is a picture, the sharing information to be acquired comprises a vertex abscissa, a vertex ordinate, a width, a height, a network address and a rotation angle of the picture;
the position parameters to be corrected comprise a vertex abscissa, a vertex ordinate, and a width and a height of the picture.
2. The method of claim 1, wherein,
the reference screen is a screen in one of a plurality of network devices including the first network device and the second network device, or a screen preset as one of the network devices.
3. The method as claimed in claim 1, wherein a second shared screen having the same aspect ratio as the reference screen is also created in advance in the second network device, and a second zoom ratio of the second shared screen to the reference screen is stored, the method further comprising:
receiving corrected location parameters and the other information corresponding to different data types sent by first network equipment through a network;
performing secondary correction on the received position parameters according to the second scaling comparison; and
and presenting the content to be shared on the second sharing screen according to the secondarily corrected position parameters and the received other information.
4. The method of claim 1, wherein the network address of the picture is adapted to be obtained according to the following method:
uploading the picture to be shared to a picture server, and acquiring the network address of the picture returned by the picture server.
5. The method of claim 1, wherein the step of obtaining the sharing information to be transmitted according to the type of data to be shared further comprises:
if the type of the data to be shared is a text, the sharing information to be acquired comprises a vertex abscissa, a vertex ordinate, a width, a height, a font size, text content and character color of a text box where the text is located;
the position parameters to be corrected include the vertex abscissa, vertex ordinate, font size, and width and height of the text box.
6. The method of claim 1, wherein the step of obtaining the sharing information to be transmitted according to the type of data to be shared further comprises:
if the type of the data to be shared is a line, the sharing information to be acquired comprises the abscissa, the ordinate, the line width and the line color of each point in the line;
the position parameters to be corrected include the width of the line, and the abscissa and ordinate of each point in the line.
7. The method of claim 1, wherein the step of obtaining the sharing information to be transmitted according to the type of data to be shared further comprises:
if the type of the data to be shared is screen operation realized by clicking a button, the shared information to be acquired comprises a vertex abscissa, a vertex ordinate, a width, a height and a button instruction of the button;
the position parameters to be corrected include the vertex abscissa and vertex ordinate of the button, and the width and height, among others.
8. A data sharing method adapted to be executed in a second network device in which a second shared screen having the same aspect ratio as a reference screen is created in advance and a second zoom ratio of the second shared screen to the reference screen is stored, the method comprising the steps of:
receiving shared information corresponding to different data types sent by first network equipment through a network, wherein the shared information comprises a position parameter subjected to primary correction and other information which does not need to be corrected, the primary correction of the position parameter in the shared information refers to the correction of the position parameter according to a first scaling ratio, the first scaling ratio is the first scaling ratio of a first shared screen created in advance in the first network equipment and a reference screen, and the width-height ratio of the first shared screen is the same as that of the reference screen;
performing secondary correction on the received position parameters according to the second scaling comparison; and
presenting the content to be shared on the second sharing screen according to the secondarily corrected position parameter and the received other information;
the step of receiving, via a network, shared information corresponding to different data types sent by a first network device includes:
if the data type to be shared is a picture, the received sharing information comprises a vertex abscissa, a vertex ordinate, a width, a height, a network address and a rotation angle of the picture;
wherein, the position parameters after primary correction comprise a vertex abscissa, a vertex ordinate, and a width and a height of the picture.
9. The method of claim 8, wherein,
a first sharing screen with the same aspect ratio as the reference screen is created in advance in the first network equipment, and a first scaling ratio of the first sharing screen to the reference screen is stored;
the primary correction of the position parameter in the shared information refers to correcting the position parameter according to the first scaling ratio.
10. The method of claim 8, wherein,
the reference screen is a screen in one of a plurality of network devices including the first network device and the second network device, or a screen preset as one of the network devices.
11. The method of claim 8, further comprising:
and accessing the picture server according to the network address of the received picture, and acquiring the picture content corresponding to the network address from the picture server.
12. The method of claim 8, wherein the receiving, via the network, the shared information corresponding to different data types sent by the first network device further comprises:
if the type of the data to be shared is a text, the received sharing information comprises a vertex abscissa, a vertex ordinate, a width, a height, a font size, text content and character color of a text box where the text is located;
and the position parameters subjected to primary correction comprise vertex abscissa, vertex ordinate, font size, width and height of the text box.
13. The method of claim 8, wherein the receiving, via the network, the shared information corresponding to different data types sent by the first network device further comprises:
if the type of the data to be shared is a line, the received sharing information comprises the abscissa, the ordinate, the line width and the line color of each point in the line;
wherein the primarily corrected position parameters include a line width, and an abscissa and an ordinate of each point in the line.
14. The method of claim 8, wherein the receiving, via the network, the shared information corresponding to different data types sent by the first network device further comprises:
if the type of the data to be shared is screen operation realized by clicking a button, the received sharing information comprises a vertex abscissa, a vertex ordinate, a width, a height and a button instruction of the button;
wherein the primarily corrected position parameters include a vertex abscissa, a vertex ordinate, and a width and a height of the button.
15. The method of any one of claims 8-14,
the primary correction of the position parameters means that each position parameter is divided by the first scaling ratio;
the second correction of the received position parameters means that each position parameter after the first correction is multiplied by the second scaling ratio.
16. A data transmission apparatus in which a first shared screen having the same aspect ratio as a reference screen is created in advance and a first zoom ratio of the first shared screen to the reference screen is stored, comprising:
an information obtaining unit, adapted to obtain shared information to be sent in the first shared screen according to a data type to be shared, where the shared information includes a location parameter to be corrected and other information not to be corrected, so that a second network device performs a second correction on the received location parameter according to a second scaling ratio, and presents content to be shared on the second shared screen according to the location parameter after the second correction and the other information received, the second scaling ratio is a scaling ratio of a second shared screen created in advance in the second network device to a reference screen, and the second shared screen has the same aspect ratio as the reference screen, where, when the data type to be shared is a picture, the shared information to be obtained by the information obtaining unit includes a vertex abscissa, a vertex ordinate, a width, a height of the picture, and a network address and a rotation angle of the picture, the position parameters needing to be corrected comprise a vertex abscissa, a vertex ordinate, a width and a height of the picture;
the primary correction unit is suitable for correcting the position parameter according to the first scaling ratio; and
and the data sending unit is used for sending the corrected position parameters and the other information to the data receiving equipment.
17. The apparatus of claim 16, wherein,
the reference screen is a screen in one of a plurality of network devices including the data transmitting device and the data receiving device, or a screen preset as one of the network devices.
18. The apparatus as claimed in claim 16, wherein a second shared screen having the same aspect ratio as the reference screen is also created in advance in the data receiving apparatus and a second zoom ratio of the second shared screen to the reference screen is stored, the apparatus further comprising:
the data receiving unit is suitable for receiving the position parameters and the other information which are sent by the data sending equipment and correspond to different data types and are subjected to primary correction through a network;
the secondary correction unit is used for carrying out secondary correction on the received position parameters according to the second scaling ratio; and
and the content presentation unit is used for presenting the content to be shared on the second sharing screen according to the position parameter after secondary correction and the received other information.
19. The apparatus of claim 16, wherein the information obtaining unit is adapted to obtain the network address of the picture according to the following method:
uploading the picture to be shared to a picture server, and acquiring the network address of the picture returned by the picture server.
20. The apparatus of claim 16, wherein,
when the type of the data to be shared is a text, the sharing information required to be acquired by the information acquisition unit comprises a vertex abscissa, a vertex ordinate, a width, a height, a font size, text content and character color of a text box where the text is located;
the position parameters to be corrected include the vertex abscissa, vertex ordinate, font size, and width and height of the text box.
21. The apparatus of claim 16, wherein,
when the type of the data to be shared is a line, the shared information required to be acquired by the information acquisition unit comprises the abscissa, the ordinate, the line width and the line color of each point in the line;
the position parameters to be corrected include the width of the line, and the abscissa and ordinate of each point in the line.
22. The apparatus of claim 16, wherein,
when the type of the data to be shared is screen operation realized by clicking a button, the shared information required to be acquired by the information acquisition unit comprises a vertex abscissa, a vertex ordinate, a width, a height and a button instruction of the button;
the position parameters to be corrected include the vertex abscissa and vertex ordinate of the button, and the width and height, among others.
23. A data receiving apparatus in which a second shared screen having the same aspect ratio as a reference screen is created in advance and a second zoom ratio of the second shared screen to the reference screen is stored, comprising:
a data receiving unit, adapted to receive shared information corresponding to different data types sent by a data sending device via a network, where the shared information includes a location parameter subjected to initial correction and other information not requiring correction, and performing the initial correction on the location parameter in the shared information refers to correcting the location parameter according to a first scaling ratio, where the first scaling ratio is a first scaling ratio of a first shared screen created in advance in a first network device to a reference screen, and the first shared screen is the same as the reference screen in aspect ratio, where, when the data type to be shared is a picture, the shared information received by the data receiving unit includes a vertex abscissa, a vertex ordinate, a width, a height of the picture, a network address of the picture, and a rotation angle of the picture, where the location parameter subjected to the initial correction includes the vertex abscissa, the vertex ordinate, the width, the height of the picture, and the network address and the rotation angle of the picture, Vertex ordinate, and width and height;
the secondary correction unit is suitable for carrying out secondary correction on the received position parameters according to the second scaling ratio; and
and the content presentation unit is suitable for presenting the content to be shared on the second sharing screen according to the position parameter after secondary correction and the received other information.
24. The apparatus of claim 23, wherein,
the data sending equipment creates a first shared screen with the same aspect ratio as the reference screen in advance, and stores a first scaling ratio of the first shared screen to the reference screen;
the primary correction of the position parameter in the shared information refers to correcting the position parameter according to the first scaling ratio.
25. The apparatus of claim 23, wherein,
the reference screen is a screen in one of a plurality of network devices including the data transmitting device and the data receiving device, or a screen preset as one of the network devices.
26. The device of claim 23, further comprising a picture taking unit adapted to:
and accessing the picture server according to the network address of the received picture, and acquiring the picture content corresponding to the network address from the picture server.
27. The apparatus of claim 23, wherein,
when the type of the data to be shared is a text, the sharing information received by the data receiving unit comprises a vertex abscissa, a vertex ordinate, a width, a height, a font size, text content and character color of a text box where the text is located;
and the position parameters subjected to primary correction comprise vertex abscissa, vertex ordinate, font size, width and height of the text box.
28. The apparatus of claim 23, wherein,
when the type of the data to be shared is a line, the sharing information received by the data receiving unit comprises the abscissa, the ordinate, the line width and the line color of each point in the line;
wherein the primarily corrected position parameters include a line width, and an abscissa and an ordinate of each point in the line.
29. The apparatus of claim 23, wherein,
when the type of the data to be shared is screen operation realized by clicking a button, the sharing information received by the data receiving unit comprises a vertex abscissa, a vertex ordinate, a width, a height and a button instruction of the button;
wherein the primarily corrected position parameters include a vertex abscissa, a vertex ordinate, and a width and a height of the button.
30. The apparatus of any one of claims 23-29,
the primary correction of the position parameters means that each position parameter is divided by the first scaling ratio;
the second correction of the received position parameters means that each position parameter after the first correction is multiplied by the second scaling ratio.
31. A data sharing system, comprising:
the data transmission device according to any one of claims 16-22; and
a data receiving device as claimed in any one of claims 23 to 30;
and the data transmission equipment and the data receiving equipment carry out data transmission through a network.
32. A computing device, comprising:
one or more processors;
a memory; and
one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for performing any of the methods of any of claims 1-15.
33. A computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computing device, cause the computing device to perform any of the methods of any of claims 1-15.
CN201710282852.8A 2017-04-26 2017-04-26 Data sharing method, device and system Active CN107145319B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710282852.8A CN107145319B (en) 2017-04-26 2017-04-26 Data sharing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710282852.8A CN107145319B (en) 2017-04-26 2017-04-26 Data sharing method, device and system

Publications (2)

Publication Number Publication Date
CN107145319A CN107145319A (en) 2017-09-08
CN107145319B true CN107145319B (en) 2020-07-14

Family

ID=59773882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710282852.8A Active CN107145319B (en) 2017-04-26 2017-04-26 Data sharing method, device and system

Country Status (1)

Country Link
CN (1) CN107145319B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114510203A (en) * 2020-11-16 2022-05-17 荣耀终端有限公司 Electronic device, inter-device screen cooperation method and medium thereof

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102474510A (en) * 2009-07-09 2012-05-23 国际商业机器公司 Selectively distributing updates of changing images to client devices
CN104050185A (en) * 2013-03-13 2014-09-17 百度在线网络技术(北京)有限公司 Zoom-display processing method and device for page contents
CN104540012A (en) * 2015-01-20 2015-04-22 三星电子(中国)研发中心 Method, device and terminal for content sharing
CN104598107A (en) * 2014-12-31 2015-05-06 乐视网信息技术(北京)股份有限公司 Generating method and system of interface control
CN105204808A (en) * 2015-09-25 2015-12-30 小米科技有限责任公司 Picture projection method and device and terminal equipment
CN105630436A (en) * 2014-10-28 2016-06-01 Tcl集团股份有限公司 Data sharing method and apparatus for desktop layout in multi-screen sharing
CN106375479A (en) * 2016-10-26 2017-02-01 北京小米移动软件有限公司 Data sharing method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102474510A (en) * 2009-07-09 2012-05-23 国际商业机器公司 Selectively distributing updates of changing images to client devices
CN104050185A (en) * 2013-03-13 2014-09-17 百度在线网络技术(北京)有限公司 Zoom-display processing method and device for page contents
CN105630436A (en) * 2014-10-28 2016-06-01 Tcl集团股份有限公司 Data sharing method and apparatus for desktop layout in multi-screen sharing
CN104598107A (en) * 2014-12-31 2015-05-06 乐视网信息技术(北京)股份有限公司 Generating method and system of interface control
CN104540012A (en) * 2015-01-20 2015-04-22 三星电子(中国)研发中心 Method, device and terminal for content sharing
CN105204808A (en) * 2015-09-25 2015-12-30 小米科技有限责任公司 Picture projection method and device and terminal equipment
CN106375479A (en) * 2016-10-26 2017-02-01 北京小米移动软件有限公司 Data sharing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Unity GUI自适应屏幕分辨率(一)布局自适应;3dC;《http://www.360doc.com/content/14/0124/09/12282510_347501909.shtml》;20140124;第1-7页 *

Also Published As

Publication number Publication date
CN107145319A (en) 2017-09-08

Similar Documents

Publication Publication Date Title
US20210405865A1 (en) Dynamic positioning of content views based on a camera position relative to a display screen
US9497416B2 (en) Virtual circular conferencing experience using unified communication technology
US9899002B2 (en) Information processing methods for displaying parts of an object on multiple electronic devices
US9342998B2 (en) Techniques to annotate street view images with contextual information
US20120320073A1 (en) Multiple Spatial Partitioning Algorithm Rendering Engine
US8763055B1 (en) Cross-platform video display
US8776152B1 (en) Cloud-based cross-platform video display
US11425063B2 (en) Content selection
US8538089B2 (en) Method of performing eyebrow shaping on an image and related computing device
US20160234269A1 (en) Displaying regions of user interest in sharing sessions
US20150052200A1 (en) Acquiring Regions of Remote Shared Content with High Resolution
US20210090330A1 (en) Virtual exhibition space providing method for efficient data management
US11127126B2 (en) Image processing method, image processing device, image processing system and medium
WO2020147698A1 (en) Picture optimization method and device, terminal and corresponding storage medium
CN105487640A (en) Image pre-loading and caching method of Android watch
US8773463B2 (en) Systems and methods for image data management
US20180018398A1 (en) Positioning content in computer-generated displays based on available display space
CN107145319B (en) Data sharing method, device and system
US9250782B1 (en) Using split windows for cross-platform document views
US10244129B2 (en) Method of processing and storing images
US20150181167A1 (en) Electronic device and method for video conference management
CN106775690B (en) Recording method and device based on gdi/gdi + window coverage
EP3048524B1 (en) Document display support device, terminal, document display method, and computer-readable storage medium for computer program
CN113015007A (en) Video frame insertion method and device and electronic equipment
US20180012327A1 (en) Overlaying multi-source media in vram

Legal Events

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