CN109525559B - Picture sharing method and system - Google Patents

Picture sharing method and system Download PDF

Info

Publication number
CN109525559B
CN109525559B CN201811250034.0A CN201811250034A CN109525559B CN 109525559 B CN109525559 B CN 109525559B CN 201811250034 A CN201811250034 A CN 201811250034A CN 109525559 B CN109525559 B CN 109525559B
Authority
CN
China
Prior art keywords
slave device
slave
master device
shared
random number
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
CN201811250034.0A
Other languages
Chinese (zh)
Other versions
CN109525559A (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.)
Shenzhen Skyworth Digital Technology Co Ltd
Original Assignee
Shenzhen Skyworth Digital 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 Shenzhen Skyworth Digital Technology Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN201811250034.0A priority Critical patent/CN109525559B/en
Publication of CN109525559A publication Critical patent/CN109525559A/en
Application granted granted Critical
Publication of CN109525559B publication Critical patent/CN109525559B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/764Media network packet handling at the destination 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0643Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0869Generation of secret information including derivation or calculation of cryptographic keys or passwords involving random numbers or seeds

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Power Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a picture sharing method and a picture sharing system, wherein the picture sharing method carries out handshake with slave equipment when master equipment receives a picture sharing request initiated by the slave equipment; when the handshake between the master device and the slave device is successful, the master device outputs TS bare stream signals to the slave device after network coding is carried out on image signals to be shared, and pictures to be shared are played; the slave device receives and decodes the TS bare stream signal and then synchronously displays the current picture to be shared, so that the picture information of the master device can be synchronously displayed on other slave devices without delay and pause phenomena, and meanwhile, a private protocol is used during network transmission to ensure the network security and the picture transmission efficiency.

Description

Picture sharing method and system
Technical Field
The invention relates to the technical field of display all-in-one machines, in particular to a picture sharing method and a picture sharing system.
Background
The conference tablet integrates a computer, a projector, an electronic whiteboard, a television, an advertising machine and a sound box, has the functions of writing, commenting, synchronous interaction, multimedia, remote video conference and the like, integrates multiple technologies such as high-definition display, man-machine interaction, multimedia information processing, network transmission and the like, and is commonly used in places such as a government and enterprise conference room, a media studio, an education and training institution and the like. Meanwhile, the conference tablet has strong expansibility, can be compatible with various USB devices, network cards, wireless keyboards and mice, meets various requirements, mostly has dual intelligent systems of Windows and android, is simple to operate, supports one-key conversion, can be added with app, and meets the individual requirements of enterprises in different fields.
Based on the existing technologies and use scenes at present, with the development of technologies and the continuous improvement of display technologies, when a meeting is conducted in a very large meeting place, a plurality of meeting flat plates are generally placed, a large meeting flat plate is used in the middle of the meeting place, and a small meeting flat plate is placed in other needed places.
Thus, the prior art has yet to be improved and enhanced.
Disclosure of Invention
In view of the foregoing disadvantages of the prior art, an object of the present invention is to provide a method and a system for sharing pictures, which enable picture information of a master device to be synchronously displayed on multiple other slave devices without delay or pause, and ensure network security and picture transmission efficiency by using a private protocol during network transmission.
In order to achieve the purpose, the invention adopts the following technical scheme:
a picture sharing method includes the following steps:
the method comprises the steps that a master device conducts handshake with a slave device when receiving a picture sharing request initiated by the slave device;
when the handshake between the master device and the slave device is successful, the master device outputs TS bare stream signals to the slave device after network coding is carried out on image signals to be shared, and pictures to be shared are played;
and the slave equipment receives and decodes the TS bare stream signal and then synchronously displays the current picture to be shared.
In the picture sharing method, the step of the master device performing handshake with the slave device when receiving a picture sharing request initiated by the slave device includes:
the master device receives a first random number and first MAC information sent by the slave device, and calculates a first hash value according to the first random number and the first MAC information;
the master device sends a second random number and second MAC information to the slave device, and receives a first verification value calculated by the slave device according to the first random number, the first MAC information, the second random number and the second MAC information;
the master device calculates a second verification value according to the second random number, the second MAC information and the first hash value;
and judging whether the first verification value and the second verification value are equal, and if so, the handshake is successful.
In the picture sharing method, the step of the master device outputting the TS bare stream signal to the slave device and playing the picture to be shared after network coding the image signal to be shared further includes:
the slave device sends heartbeat detection initiating signals to the master device at intervals of preset time;
when the slave device receives a heartbeat detection reply signal sent by the master device, the slave device is successfully connected with the master device, and a TS bare stream signal output by the master device after network coding is carried out on an image signal to be shared is received; and when the slave equipment does not receive the heartbeat detection reply signal for a plurality of times continuously, the slave equipment and the master equipment handshake again.
In the picture sharing method, after the step of receiving, by the slave device, the heartbeat detection reply signal sent by the master device, the method further includes:
and the master device adds the device information of the slave device which is successfully connected currently to the device list for storage.
In the picture sharing method, the step that the master device outputs a TS bare stream signal to the slave device after network coding an image signal to be shared and plays a picture to be shared comprises the following steps:
the master device converts the image signal to be shared into a master device playing signal and an HDMI signal;
the HDMI signals are subjected to network coding, and TS bare stream signals are output to slave equipment;
and the master equipment plays the picture to be shared according to the master equipment playing signal.
In the picture sharing method, the step of outputting the TS bare stream signal to the slave device after performing network coding on the HDIM signal includes:
carrying out network coding on the HDIM signal;
judging whether the number of the current successfully connected slave devices is larger than a preset number, if so, outputting a TS bare stream signal to the slave devices by the main device in a multicast mode; if not, the main device outputs TS bare stream signals to the slave device in a unicast mode.
In the picture sharing method, the image signal to be shared is a v-by-one signal.
A picture sharing system includes a master device including a first processor and a first memory communicatively connected to the first processor, and at least one slave device including a second processor and a second memory communicatively connected to the second processor; the first memory has stored therein a plurality of first instructions adapted to be loaded and executed by a first processor:
the method comprises the steps that a master device conducts handshake with a slave device when receiving a picture sharing request initiated by the slave device;
when the handshake between the master device and the slave device is successful, the master device outputs TS bare stream signals to the slave device after network coding is carried out on image signals to be shared, and pictures to be shared are played;
the second memory has a plurality of second instructions stored therein, the second instructions being adapted to be loaded and executed by a second processor to:
and the slave equipment initiates a picture sharing request, and receives and decodes the TS bare stream signal and then synchronously displays the current picture to be shared.
In the system of the picture sharing method, the main device is a conference tablet.
In the system of the picture sharing method, the slave device is any one of a tablet computer, a smart phone and a notebook computer.
Compared with the prior art, in the picture sharing method and the picture sharing system provided by the invention, the master device performs handshake with the slave device when receiving the picture sharing request initiated by the slave device; when the handshake between the master device and the slave device is successful, the master device outputs TS bare stream signals to the slave device after network coding is carried out on image signals to be shared, and pictures to be shared are played; the slave device receives and decodes the TS bare stream signal and then synchronously displays the current picture to be shared, so that the picture information of the master device can be synchronously displayed on other slave devices without delay and pause phenomena, and meanwhile, a private protocol is used during network transmission to ensure the network security and the picture transmission efficiency.
Drawings
FIG. 1 is a flowchart of a method for sharing a frame according to the present invention;
FIG. 2 is a flowchart of step S10 in the picture sharing method provided by the present invention;
FIG. 3 is a flowchart illustrating a heartbeat detection step in the frame sharing method according to the present invention;
FIG. 4 is a flowchart of step S20 in the picture sharing method provided by the present invention;
FIG. 5 is a flowchart of step S22 in the picture sharing method provided by the present invention;
fig. 6 is a block diagram of a picture sharing system according to the present invention.
Detailed Description
In view of the shortcomings of the prior art, the present invention aims to provide a picture sharing method and system, which enable picture information of one master device to be synchronously displayed on a plurality of other slave devices without delay or pause phenomena, and simultaneously ensure network security and picture transmission efficiency by using a private protocol during network transmission.
In order to make the objects, technical solutions and effects of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, the method for sharing a frame according to the present invention includes the following steps:
s10, the master device performs handshake with the slave device when receiving the screen sharing request initiated by the slave device.
In this embodiment, any actual application information is transmitted between the communication devices always accompanied by some control information transmission, and the devices operate according to a predetermined communication protocol to safely, reliably and efficiently transmit the application information to the destination. Before the current displayed picture information is shared to the slave equipment, the master equipment and the slave equipment need to know each other through handshaking, so that the safety and the efficiency of subsequent picture transmission between the master equipment and the slave equipment are ensured. Specifically, please refer to fig. 2 together with the handshake process between the master device and the slave device in the present invention, which is a flowchart of step S10 in the picture sharing method according to the present invention.
As shown in fig. 2, the step S10 includes:
s11, the master device receives the first random number and the first MAC information sent by the slave device, and calculates a first hash value according to the first random number and the first MAC information;
s12, the master device sends a second random number and second MAC information to the slave device, and receives a first verification value calculated by the slave device according to the first random number, the first MAC information, the second random number and the second MAC information;
s13, the master device calculates a second verification value according to the second random number, the second MAC information and the first hash value;
and S14, judging whether the first verification value and the second verification value are equal, if so, the handshake is successful.
In this embodiment, after receiving a fine dried noodle sharing request initiated by the slave device, the master device sends a first random number and first MAC information to the master device, where the first random number is a random number generated in the slave device, and the first MAC information is MAC information of the slave device; after receiving the first random number and the first MAC information, the master device calculates a first hash value according to the first random number and the first MAC information, and specifically, the calculation process includes that the 20-byte first random number and the 6-byte first MAC information form a 16-system character string of 26 bytes, and then an array of 20 bytes is obtained through a hash algorithm, that is, the first hash value is obtained.
Meanwhile, the master device sends a second random number and second MAC information to the slave device, wherein the second random number is a random number generated in the master device, and the second MAC information is MAC information of the master device; then, the slave device calculates a first verification value according to the second random number and the second MAC information and by combining the received first random number and the first MAC information, specifically, the calculation process is as follows: the slave device calculates a second hash value according to a second random number and second MAC information, calculates a third hash value according to the first random number and the first MAC value, calculates the second hash value and the third hash value in the same process as the first hash value, adds 20 bytes of subscripts corresponding to the second hash value and the third hash value respectively, performs negation, overflows to obtain a new 20-byte array, obtains a first verification value, and sends the first verification value to the master device.
And in the master device, the master device calculates a fourth hash value through a second random number and second MAC information, similarly, the calculation process of the fourth hash value is the same as that of the first hash value, and then the master device compares a second verification value with the received first verification value according to the second verification value calculated by the first hash value and the fourth hash value, and the calculation process of the second verification value is the same as that of the first verification value. And when the master device judges that the first verification value and the second verification value are equal, the master device indicates that the handshake between the master device and the slave device is successful. After the master device and the slave device handshake through the private protocol, the network security and the efficiency of subsequent picture information transmission can be ensured.
And S20, when the handshake between the master device and the slave device is successful, the master device outputs TS bare stream signals to the slave device after network coding image signals to be shared and plays pictures to be shared.
In this embodiment, after the handshake between the master device and the slave device is successful, it needs to further confirm whether the master device and the slave device are successfully connected, and only after it is confirmed that the master device and the slave device are successfully connected, the master device may further perform network coding on an image signal to be shared, and then output a TS bare stream signal to the slave device, and the slave device plays a picture to be shared, thereby implementing a picture sharing process between the master device and the slave device. In this embodiment, please refer to fig. 3 together with the procedure of heartbeat detection for confirming whether the master device and the slave device are successfully connected.
As shown in fig. 3, before the step of the master device performing network coding on the image signal to be shared, outputting a TS bare stream signal to the slave device, and playing the picture to be shared, the method further includes:
s40, the slave device sends heartbeat detection initiating signals to the master device at preset time intervals;
s50, when the slave device receives the heartbeat detection reply signal sent by the master device, the slave device is successfully connected with the master device, and the TS bare stream signal output by the master device after network coding is carried out on the image signal to be shared is received; and when the slave equipment does not receive the heartbeat detection reply signal for a plurality of times continuously, the slave equipment and the master equipment handshake again.
In this embodiment, after the master device and the slave device successfully grip, the connection status between the master device and the slave device may be determined through heartbeat detection, that is, the slave device sends a heartbeat detection initiation signal to the master device every preset time, when the slave device receives a heartbeat detection reply signal sent by the master device, the slave device and the master device are successfully connected, and the slave device may receive a TS bare stream signal output by the master device after network coding an image signal to be shared.
In specific implementation, after the step of receiving the heartbeat detection reply signal sent by the master device, the slave device further includes step S60: the master device adds the device information of the slave device which is successfully connected to the current device to the device list for storage, namely, after the master device and the slave device are successfully connected, the master device can automatically add the slave device to the device list, and the function of automatic on-line reporting is realized. And when the slave device does not receive the heartbeat detection reply signal for a plurality of times continuously, the slave device indicates that the master device and the slave device are not connected, and when the master device and the slave device are connected again, the slave device and the master device need to handshake again, so that the network security of the connection between the master device and the slave device can be ensured.
In specific implementation, referring to fig. 4, the step of the master device outputting the TS bare stream signal to the slave device and playing the picture to be shared after performing network coding on the image signal to be shared includes:
s21, converting the image signal to be shared into a main device playing signal and an HDMI signal by the main device;
s22, outputting a TS bare stream signal to slave equipment after network coding is carried out on the HDMI signal;
and S23, the main device plays the picture to be shared according to the main device playing signal.
In a specific implementation, the image signal to be shared is a V-by-one signal, the signal to be encoded is an HDMI signal, the main device converts the V-by-one signal into two paths of signals before encoding the HDMI signal, one path of signal is a V-by-one signal used for driving the main device to display picture information, the other path of signal is an HDIM signal used for encoding, the HDIM signal obtains a TS bare stream signal after encoding is completed, the main device directly pushes the TS bare stream signal to the client, and the client directly decodes the TS bare stream signal and then plays the picture information of the main device.
In this embodiment, after the main device and the connection are successfully connected, the main device converts the v-by-one signal into a main device play signal and an HDIM signal, where the main device play signal is used to drive the main device to display and play, and then the HDIM signal is network encoded and then a TS bare stream signal is output to the slave device, and a general streaming media transmission protocol is to encode an image into a TS bare stream and then pack and push the image through an RTSP server, but when the streaming media is pushed through the RTSP server, a lot of time is wasted. Specifically, please refer to fig. 5, which is a flowchart of step S22 in the picture sharing method according to the present invention, wherein the process of outputting the TS bare stream signal to the slave device after the HDMI signal is network coded.
As shown in fig. 5, the step S220 includes:
s221, carrying out network coding on the HDIM signal;
s222, judging whether the number of the current successfully connected slave devices is larger than a preset number, if so, outputting a TS bare stream signal to the slave devices by the main device in a multicast mode; if not, the main device outputs TS bare stream signals to the slave device in a unicast mode.
And after the master device establishes data connection with the slave device, the master device encodes the HDIM signal to obtain a TS bare stream signal, and then the master device judges the number of the slave devices connected with the master device. Preferably, when the number of the slave devices connected to the master device is greater than 16, the master device sends TS bare stream information to the slave devices in a multicast mode, thereby saving the load of the server and enabling the network to occupy a very small bandwidth in network transmission; when the number of the slave devices connected with the master device is less than 16, the master device sends a TS bare stream signal to the slave devices in a unicast mode, so that the master device can send independent data to a plurality of different slave devices, personalized data transmission is realized, and the process that the picture information of one master device can be displayed on other slave devices at the same time is completed.
And S30, the slave device receives and decodes the TS bare stream signal and then synchronously displays the current picture to be shared.
After receiving the TS bare stream signal sent by the master device, the slave device may directly decode and play the picture information of the master device through its own customized RTSP player, and a general streaming media transmission protocol is to encode an image into a TS bare stream and then push the image out through an RTSP server, and correspondingly, after receiving the TS bare stream signal, the slave device needs to perform buffering processing, thereby delaying the playing of the picture information; the invention directly sends the TS bare stream signal to the slave equipment, and the slave equipment directly decodes and plays after receiving, so that when picture information is shared between the master equipment and the slave equipment, the data transmission efficiency is high, and the picture display does not have the problems of pause and time delay.
Based on the above picture sharing method, the present invention further provides a picture sharing method system, wherein the picture sharing system comprises a master device and at least one slave device, the master device comprises a first processor and a first memory communicatively connected to the first processor, and the slave device comprises a second processor and a second memory communicatively connected to the second processor; the first memory has stored therein a plurality of first instructions adapted to be loaded and executed by a first processor: the method comprises the steps that a master device conducts handshake with a slave device when receiving a picture sharing request initiated by the slave device; when the handshake between the master device and the slave device is successful, the master device outputs TS bare stream signals to the slave device after network coding is carried out on image signals to be shared, and pictures to be shared are played; the second memory has a plurality of second instructions stored therein, the second instructions being adapted to be loaded and executed by a second processor to: and the slave equipment initiates a picture sharing request, and receives and decodes the TS bare stream signal and then synchronously displays the current picture to be shared.
Preferably, the master device is a conference tablet, and the slave device is any one of a tablet computer, a smart phone and a notebook computer. In specific implementation, please refer to fig. 6, the conference tablet includes a control module 100, a conversion module 200, a network stream coding module 300, and a display module 400, wherein the control module 100 is connected to the conversion module 200, and the conversion module 200 is connected to the display module 400 and the network stream coding module 300; the control module 100 sends a V-by-one signal to the conversion module 200, the conversion module 200 converts the V-by-one signal into two paths of signals, and outputs the two paths of signals to the display module 400 and the network stream coding module 300, respectively, where one path of signals is still a V-by-one signal for driving the display module 400 to display the picture information of the master device, and the other path of HDIM signals is output to the network stream coding module 300, the network stream coding module 300 encodes the HDMI signal and then outputs a TS bare stream signal to the slave device, and the slave device receives the pushed TS bare stream signal to analyze and then display the picture information of the master device, thereby implementing a picture sharing process between the master device and the slave device. Preferably, the conversion module 200 includes a first control chip, and the model of the first control chip is MN869129, but in other embodiments, other first control chips with the same function may be adopted, and the invention is not limited thereto. It is further preferable that the network stream coding module 300 includes a second control chip, and the model of the second control chip is Hi3516D, although in other embodiments, other second control chips with the same function may be adopted, and the invention is not limited thereto.
Further, the display module 400 is a display, the display is connected to the conversion module 200, the display displays the picture information of the master device according to the V-by-one signal output by the conversion module 200, and when the slave device exists, picture sharing and synchronous display between the master device and the slave device can be realized, so as to perform interaction between multiple devices. Preferably, the display is a 4K display, which can ensure the definition of the display of the picture information.
Further, please refer to fig. 6 again, the screen sharing system further includes a touch module 600, the touch module 600 is connected to the control module 100, and the touch module 600 is configured to process touch interaction information; specifically, the display can be used for sensing touch interaction information of a user, and further processing the touch interaction information by combining with the touch module 600, so that touch screen control of the main device can be realized, and then pen touch sensing control in a traditional electronic whiteboard is abandoned, thereby providing convenience for the user.
Further, the picture sharing system further includes a power supply module 700, the power supply module 700 is connected to the control module 100, and the power supply module 700 is configured to provide electric energy for the operation of the main device, so as to ensure that the main device operates stably and effectively.
Furthermore, the image sharing system further includes a communication module 500, the communication module 500 is connected to the control module 100, and the communication module 500 is configured to provide a network service for the host device. Preferably, the communication module 500 is a bluetooth communication or a WIFI communication.
In summary, the present invention provides a method and a system for sharing a picture, wherein the method for sharing a picture performs handshaking with a slave device when receiving a picture sharing request initiated by the slave device through a master device; when the handshake between the master device and the slave device is successful, the master device outputs TS bare stream signals to the slave device after network coding is carried out on image signals to be shared, and pictures to be shared are played; the slave device receives and decodes the TS bare stream signal and then synchronously displays the current picture to be shared, so that the picture information of the master device can be synchronously displayed on other slave devices without delay and pause phenomena, and meanwhile, a private protocol is used during network transmission to ensure the network security and the picture transmission efficiency.
It should be understood that equivalents and modifications of the technical solution and inventive concept thereof may occur to those skilled in the art, and all such modifications and alterations should fall within the scope of the appended claims.

Claims (7)

1. A picture sharing method, comprising the steps of:
the method comprises the steps that a master device conducts handshake with a slave device when receiving a picture sharing request initiated by the slave device;
when the handshake between the master device and the slave device is successful, the master device outputs TS bare stream signals to the slave device after network coding is carried out on image signals to be shared, and pictures to be shared are played;
the slave device receives and decodes the TS bare stream signal and then synchronously displays the current picture to be shared;
the step that the main device outputs TS bare stream signals to the slave device after network coding image signals to be shared and plays pictures to be shared comprises the following steps:
the master device converts the image signal to be shared into a master device playing signal and an HDMI signal;
the HDMI signals are subjected to network coding, and TS bare stream signals are output to slave equipment;
the main equipment plays the picture to be shared according to the main equipment playing signal;
the step of outputting the TS bare stream signal to the slave device after the HDIM signal is subjected to network coding comprises the following steps of: carrying out network coding on the HDIM signal to obtain a TS bare stream signal;
judging whether the number of the current successfully connected slave devices is larger than a preset number, if so, outputting a TS bare stream signal to the slave devices by the main device in a multicast mode; if not, the main device outputs TS bare stream signals to the slave device in a unicast mode;
the master device handshaking with the slave device when receiving a picture sharing request initiated by the slave device comprises:
the master device receives the first random number and the first MAC information sent by the slave device, and calculates to obtain a first hash value according to the first random number and the first MAC information, wherein the specific calculation process is that a 16-system character string with 26 bytes is formed by the first random number with 20 bytes and the first MAC information with 6 bytes;
the master device sends a second random number and second MAC information to the slave device, and receives a first verification value calculated by the slave device according to the first random number, the first MAC information, the second random number and the second MAC information; specifically, the calculation process includes that the slave device calculates a second hash value according to a second random number and second MAC information, calculates a third hash value according to a first random number and the first MAC value, and calculates the second hash value and the third hash value in the same way as the first hash value, and then adds, negates and overflows the values of 20 bytes of each corresponding subscript in the second hash value and the third hash value to obtain a new 20-byte array;
the master device calculates a second verification value according to the second random number, the second MAC information and the first hash value; and judging whether the first verification value and the second verification value are equal, and if so, the handshake is successful.
2. The picture sharing method according to claim 1, wherein the step of the master device outputting a TS bare stream signal to the slave device after network coding the image signal to be shared and playing the picture to be shared further comprises:
the slave device sends heartbeat detection initiating signals to the master device at intervals of preset time;
when the slave device receives a heartbeat detection reply signal sent by the master device, the slave device is successfully connected with the master device, and a TS bare stream signal output by the master device after network coding is carried out on an image signal to be shared is received; and when the slave equipment does not receive the heartbeat detection reply signal for a plurality of times continuously, the slave equipment and the master equipment handshake again.
3. The picture sharing method according to claim 2, wherein after the step of receiving the heartbeat detection reply signal sent by the master device by the slave device, the method further comprises:
and the master device adds the device information of the slave device which is successfully connected currently to the device list for storage.
4. The picture sharing method according to any one of claims 1 to 3, wherein the image signal to be shared is a v-by-one signal.
5. A picture sharing system comprising a master device including a first processor and a first memory communicatively connected to the first processor, and at least one slave device including a second processor and a second memory communicatively connected to the second processor; the first memory has stored therein a plurality of first instructions adapted to be loaded and executed by a first processor:
the method comprises the steps that a master device conducts handshake with a slave device when receiving a picture sharing request initiated by the slave device;
when the handshake between the master device and the slave device is successful, the master device outputs TS bare stream signals to the slave device after network coding is carried out on image signals to be shared, and pictures to be shared are played;
the second memory has a plurality of second instructions stored therein, the second instructions being adapted to be loaded and executed by a second processor to:
the picture sharing request initiated by the slave equipment receives and decodes the TS bare stream signal and then synchronously displays the current picture to be shared;
the master device handshaking with the slave device when receiving a picture sharing request initiated by the slave device comprises:
the master device receives the first random number and the first MAC information sent by the slave device, and calculates to obtain a first hash value according to the first random number and the first MAC information, wherein the specific calculation process is that a 16-system character string with 26 bytes is formed by the first random number with 20 bytes and the first MAC information with 6 bytes;
the master device sends a second random number and second MAC information to the slave device, and receives a first verification value calculated by the slave device according to the first random number, the first MAC information, the second random number and the second MAC information; specifically, the calculation process includes that the slave device calculates a second hash value according to a second random number and second MAC information, calculates a third hash value according to a first random number and the first MAC value, and calculates the second hash value and the third hash value in the same way as the first hash value, and then adds, negates and overflows the values of 20 bytes of each corresponding subscript in the second hash value and the third hash value to obtain a new 20-byte array;
the master device calculates a second verification value according to the second random number, the second MAC information and the first hash value; and judging whether the first verification value and the second verification value are equal, and if so, the handshake is successful.
6. The system of picture sharing method according to claim 5, wherein the master device is a conference tablet.
7. The system of the picture sharing method according to claim 5, wherein the slave device is any one of a tablet computer, a smart phone and a notebook computer.
CN201811250034.0A 2018-10-25 2018-10-25 Picture sharing method and system Active CN109525559B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811250034.0A CN109525559B (en) 2018-10-25 2018-10-25 Picture sharing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811250034.0A CN109525559B (en) 2018-10-25 2018-10-25 Picture sharing method and system

Publications (2)

Publication Number Publication Date
CN109525559A CN109525559A (en) 2019-03-26
CN109525559B true CN109525559B (en) 2021-08-10

Family

ID=65773800

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811250034.0A Active CN109525559B (en) 2018-10-25 2018-10-25 Picture sharing method and system

Country Status (1)

Country Link
CN (1) CN109525559B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110933470B (en) * 2019-11-29 2022-02-22 杭州当虹科技股份有限公司 Video data sharing method
CN111399790B (en) * 2020-02-29 2023-03-28 惠州华阳通用电子有限公司 Picture sharing system and implementation method thereof
CN112565878A (en) * 2020-12-07 2021-03-26 四川长虹电器股份有限公司 Method for quickly inputting wireless password on television
CN112860203B (en) * 2021-02-08 2024-06-14 维沃移动通信有限公司 Display method and device of shared picture and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051950A (en) * 2013-01-17 2013-04-17 东莞宇龙通信科技有限公司 Share control device and played picture sharing method
CN103973720A (en) * 2013-01-25 2014-08-06 鸿富锦精密工业(深圳)有限公司 Picture sharing method
CN105100154A (en) * 2014-05-14 2015-11-25 中兴通讯股份有限公司 Multimedia sharing method and system between cloud terminal and mobile terminal, and cloud terminal
CN105282168A (en) * 2015-11-06 2016-01-27 盛趣信息技术(上海)有限公司 Data interaction method and data interaction device based on CHAP protocol
CN106022145A (en) * 2016-05-17 2016-10-12 上海凭安网络科技有限公司 Cryptograph index-based data query method
CN106453269A (en) * 2016-09-21 2017-02-22 东软集团股份有限公司 Internet of Vehicles safety communication method, vehicle-mounted terminal, server and system
CN106534171A (en) * 2016-12-02 2017-03-22 全球能源互联网研究院 Security authentication method and device, and terminal
CN107690076A (en) * 2017-08-24 2018-02-13 西安合创数字技术有限公司 A kind of reusable formula Wireless video transmission method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080120369A1 (en) * 2006-11-16 2008-05-22 Gustavsson Bengt Stefan Media center for picture sharing

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051950A (en) * 2013-01-17 2013-04-17 东莞宇龙通信科技有限公司 Share control device and played picture sharing method
CN103973720A (en) * 2013-01-25 2014-08-06 鸿富锦精密工业(深圳)有限公司 Picture sharing method
CN105100154A (en) * 2014-05-14 2015-11-25 中兴通讯股份有限公司 Multimedia sharing method and system between cloud terminal and mobile terminal, and cloud terminal
CN105282168A (en) * 2015-11-06 2016-01-27 盛趣信息技术(上海)有限公司 Data interaction method and data interaction device based on CHAP protocol
CN106022145A (en) * 2016-05-17 2016-10-12 上海凭安网络科技有限公司 Cryptograph index-based data query method
CN106453269A (en) * 2016-09-21 2017-02-22 东软集团股份有限公司 Internet of Vehicles safety communication method, vehicle-mounted terminal, server and system
CN106534171A (en) * 2016-12-02 2017-03-22 全球能源互联网研究院 Security authentication method and device, and terminal
CN107690076A (en) * 2017-08-24 2018-02-13 西安合创数字技术有限公司 A kind of reusable formula Wireless video transmission method

Also Published As

Publication number Publication date
CN109525559A (en) 2019-03-26

Similar Documents

Publication Publication Date Title
CN109525559B (en) Picture sharing method and system
US10284644B2 (en) Information processing and content transmission for multi-display
CN106664458B (en) Method for transmitting video data, source device and storage medium
US20160094648A1 (en) Content sharing method and device
CN101938626B (en) Video session terminal, system, and method
US8607284B2 (en) Method of outputting video content from a digital media server to a digital media renderer and related media sharing system
CN105144673A (en) Reduced latency server-mediated audio-video communication
EP2827596A1 (en) Transmitting and receiving method of multimedia video data and corresponding device
CN104184983A (en) Conference terminal and service processing method thereof
US20120240180A1 (en) Set-top box, earphone, and multimedia playing method
WO2022111421A1 (en) Screen projection method and apparatus for application interface, device, and storage medium
KR20130085831A (en) Display apparatus and method for controlling the same
CN102664939A (en) Method and device for mobile terminal of screen mirror image
WO2018040427A1 (en) Screen interface sharing method and system
US20230051868A1 (en) Livestreaming Interaction Method And Apparatus, Electronic Device, And Computer Readable Storage Medium
CN103024457A (en) Method and device for controlling server touch screen
CN108235111B (en) Information sharing method and intelligent set top box
WO2015085873A1 (en) Video code stream obtaining method and apparatus
CN102685599B (en) TV program interaction system and method
US11405442B2 (en) Dynamic rotation of streaming protocols
US9838463B2 (en) System and method for encoding control commands
US20220182713A1 (en) Device and system for streaming media interaction
CN111356009B (en) Audio data processing method and device, storage medium and terminal
CN108184157B (en) Wireless projection system with recording and broadcasting functions and method thereof
CN202019423U (en) Peer-to-peer (P2P) technology based high-definition internet protocol television (IPTV) set-top box with high-definition multimedia interface (HDMI)

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210720

Address after: 14 / F, block a, Skyworth building, Gaoxin South 1st Road, Nanshan District, Shenzhen, Guangdong 518000

Applicant after: SHENZHEN SKYWORTH DIGITAL TECHNOLOGY Co.,Ltd.

Address before: 518118 No.1, Baolong 6th Road, Baolong Industrial City, Longgang District, Shenzhen City, Guangdong Province

Applicant before: SHENZHEN SKYWORTH QUNXIN SECURITY TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant