CN110780833B - Data sharing method and system - Google Patents

Data sharing method and system Download PDF

Info

Publication number
CN110780833B
CN110780833B CN201910921360.8A CN201910921360A CN110780833B CN 110780833 B CN110780833 B CN 110780833B CN 201910921360 A CN201910921360 A CN 201910921360A CN 110780833 B CN110780833 B CN 110780833B
Authority
CN
China
Prior art keywords
list
terminal
projector
computer
identification 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
CN201910921360.8A
Other languages
Chinese (zh)
Other versions
CN110780833A (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.)
Guizhou Renhe Zhiyuan Data Services Co ltd
Original Assignee
Guizhou Renhe Zhiyuan Data Services 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 Guizhou Renhe Zhiyuan Data Services Co ltd filed Critical Guizhou Renhe Zhiyuan Data Services Co ltd
Priority to CN201910921360.8A priority Critical patent/CN110780833B/en
Publication of CN110780833A publication Critical patent/CN110780833A/en
Application granted granted Critical
Publication of CN110780833B publication Critical patent/CN110780833B/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
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/52Surveillance or monitoring of activities, e.g. for recognising suspicious objects
    • G06V20/53Recognition of crowd images, e.g. recognition of crowd congestion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/172Classification, e.g. identification

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computer Hardware Design (AREA)
  • Collating Specific Patterns (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the invention provides a data sharing method and a data sharing system.A projector establishes TCP connection with terminals which can be interconnected in the same local area network, acquires identity authentication information and identification information of the terminals and establishes a check-in list; when the projector monitors that a video is played at a computer end, the projector takes a picture of a meeting place, compares the picture with a human face image of a person in a preset human face database, removes the person who is successfully compared from the check-in list, and generates a sharing list; the projector generates a synchronous request containing the identification information of the corresponding terminal based on the shared list and sends the synchronous request to the computer terminal, and the computer terminal transmits the synchronous request to the terminal of the corresponding identification information in a UDP broadcast mode. According to the invention, through the check-in verification of the terminals of the participants, the problem that the statistics of the participants is disordered possibly when the number of the participants is large is solved, and screen broadcasting is provided for the participants who are shielded to watch the projection video based on the check-in verification and face recognition.

Description

Data sharing method and system
[ technical field ] A method for producing a semiconductor device
The present invention relates to the field of computer technologies, and in particular, to a data sharing method and system.
[ background of the invention ]
The field of application of projectors is becoming more and more widespread, especially in conference companies of particular importance. However, if there are many participants, the statistics of the participants may be disordered, and the participants are shielded from each other, so that part of the participants cannot see the contents on the screen clearly, which results in a technical problem of poor user experience.
[ summary of the invention ]
In view of this, embodiments of the present invention provide a data sharing method and system.
In a first aspect, an embodiment of the present invention provides a data sharing method, where the method includes the following steps:
s1, after a projector is successfully connected with a computer terminal, sending a sign-in request to the computer terminal, and identifying interconnectable terminals in the same local area network after receiving confirmation information of the computer terminal;
s2, the projector establishes TCP connection with an interconnectable terminal, sends an authentication request, acquires authentication information and identification information of the terminal, establishes a corresponding relation between the authentication information and the identification information of the terminal, establishes a check-in list according to authentication, and sends the check-in list to a computer terminal;
s3, when the projector monitors that the video is played at the computer end, the projector takes a picture of a meeting place, compares the picture with a face image of a person in a preset face database, removes the person who is successfully compared from the check-in list, and generates a sharing list;
and S4, the projector generates a synchronous request containing identification information of the corresponding terminal based on the shared list and sends the synchronous request to the computer terminal, the computer terminal splits the video to be played into audio frames and video frames, and the audio frames and the video frames are repackaged and encoded and then transmitted to the terminal of the corresponding identification information in a UDP broadcast mode.
As to the above-mentioned aspect and any possible implementation manner, there is further provided an implementation manner, where the S1 step includes the following sub-steps:
s101, when the projector is successfully connected with the computer terminal in a detection mode, the camera shoots a meeting place and analyzes the pictures to obtain the number X of people;
s102, comparing the current personnel number X with a preset threshold Xa, and if the comparison result is that X is less than 2, returning to the step S101 after a preset time period; if the comparison result is that X is more than or equal to 2 and less than Xa, the projector sends a sign-in request to the computer end connected with communication, and then the step S103 is carried out; if the comparison result is that Xa is less than X, the projector directly goes to the step S104 after sending a sign-in request to the computer end connected with communication;
s103, after receiving the confirmation information of the computer terminal, the projector compares the picture with the face image of the person in the preset face database, generates a check-in list according to the person who is successfully compared, and sends the check-in list to the computer terminal;
and S104, identifying the terminals which can be interconnected and exist in the same local area network after receiving the confirmation information of the computer terminal.
The above-mentioned aspect and any possible implementation manner further provide an implementation manner, and the step S101 further includes:
and extracting the face contour through face recognition according to the picture, and counting the number X of the personnel according to the face contour.
The above-described aspect and any possible implementation further provide an implementation, where the S2 step includes the following sub-steps:
s201, a projector and an interconnectable terminal establish TCP connection, send an authentication request, acquire authentication information and terminal identification information, establish a corresponding relation between the authentication information and the terminal identification information, and store the authentication information and the terminal identification information in a first storage area;
s202, judging whether a check-in list exists or not, and if not, performing the step S203; if yes, the step S204 is carried out;
s203, establishing a check-in list according to the identity authentication information, storing the check-in list in a first storage area, and sending the check-in list to a computer end;
s204, judging whether the acquired identity authentication information is increased or decreased, if so, performing the step S205; if not, go to step S206;
s205, if the number of the user terminals is increased, the identity authentication information in the first storage area is updated, the existing check-in list and the terminal identification information are updated no matter the number of the user terminals is increased or decreased, and the check-in list is sent to a computer terminal;
s206, judging whether to acquire new terminal identification information, if so, performing S207; if not, then step S208 is carried out;
s207, updating terminal identification information in the first storage area;
and S208, sending the existing check-in list to the computer terminal.
The above-mentioned aspect and any possible implementation manner further provide an implementation manner, where the "comparing the photo with the face image of the person in the preset face database" in the step S3 specifically includes:
and extracting the facial features of the outline, eyebrows, eyes, nose and mouth of the face through face recognition according to the picture, and comparing the extracted facial features with the features of the facial images of the personnel in a preset facial database to obtain a face recognition result.
The above-described aspect and any possible implementation manner further provide an implementation manner, further including, after step S3:
s301, judging whether a sharing list exists or not, and if not, performing the step S302; if yes, performing step S303;
s302, storing the generated sharing list in a second storage area;
s303, numbering the shared list in the second storage area from small to large according to the sequence of the generation time;
s304, comparing the sharing list n with the sharing list n-1 and the sharing list n-2, generating a warning list by the people repeating for three times, and sending the warning list to a computer.
As for the above-mentioned aspect and any possible implementation manner, there is further provided an implementation manner, and step S4 further includes:
the projector generates a synchronous request containing identification information of a corresponding terminal based on a shared list and sends the synchronous request to a computer terminal, the computer terminal divides a video to be played into audio frames and video frames and divides the video frames into a plurality of groups of picture groups, the number of I frames in a video sequence of each group of picture groups is not more than 2, the number of I frames in the video sequences of two adjacent groups of picture groups is different, and each group of picture groups is sequentially transmitted to the projector and the terminal corresponding to the identification information in a UDP broadcast mode.
The above-described aspects and any possible implementation further provide an implementation, further including:
s501, a projector receives a plurality of groups of picture groups transmitted in a UDP (user Datagram protocol) broadcasting mode after video segmentation of a computer end, and adds a time identifier for a video sequence of each group of picture groups, wherein the time identifier is the time for receiving each video sequence;
s502, the projector compares the newly received frame group video sequence with the previously received complete frame group video sequence, and sequentially judges the integrity of each newly received frame group video sequence;
s503, judging whether the product is complete, if so, performing S504; if not, performing step S505;
s504, not processing;
s505, judging the number m of I frames in the corresponding complete picture group video sequence, and if m is less than or equal to 1, performing 506; if m =2,f =1, performing step S507;
s506, the projector sends a redundant packet transmission instruction to the terminal to the computer;
s507, judging whether the video sequence between the two received I frames is complete, if so, performing the step S508; if not, simultaneously performing the step S506 and the step S508;
s508, the computer end puts the second I frame in the group of pictures video sequence into the next group of pictures video sequence as the first frame.
In a second aspect, an embodiment of the present invention provides a data sharing system, where the system includes a projector, a computer, and a terminal, where the projector is provided with a camera, and the data sharing system is characterized in that a main controller is provided in the projector, and the main controller includes:
the system comprises a sign-in module, a video playing module and a video playing module, wherein the sign-in module is used for sending a sign-in request to a computer end connected with communication when the projector receives video data to be played transmitted by the computer end;
the detection module is used for detecting whether interconnected terminals exist in the same local area network or not;
the first communication module is used for establishing TCP connection with terminals which can be interconnected, sending an authentication request and acquiring authentication information and identification information of the terminals;
the first list generation module is used for establishing a corresponding relation between the authentication information and the terminal identification information, establishing a check-in list according to the authentication and sending the check-in list to a computer terminal;
the face recognition module is used for comparing the pictures shot by the camera with face images of people in a preset face database;
the second list generation module is used for removing the personnel who are successfully compared from the check-in list to generate a sharing list;
and the second communication module is used for generating a synchronous request containing the identification information of the corresponding terminal based on the sharing list and sending the synchronous request to the computer terminal. The above aspects and any possible implementations further provide an implementation, where the method further includes writing a node work value on the chunk that joins the chunk backbone, and updating the hash value of the chunk, where the node work value is transferable between nodes as a blockchain token.
One of the above technical solutions has the following beneficial effects:
the method provided by the embodiment of the invention provides a data sharing method, solves the problem that the statistics of the participants is disordered when the participants are more through the sign-in verification of the terminals of the participants, and provides screen broadcasting for the participants who are shielded to watch the projection video based on the sign-in verification and face recognition.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a data sharing method according to embodiment 1 of the present invention;
fig. 2 is a schematic flowchart of step S1 in a data sharing method according to embodiment 2 of the present invention;
fig. 3 is a schematic flowchart of step S2 in a data sharing method according to embodiment 3 of the present invention;
fig. 4 is a schematic flowchart illustrating steps S301 to S304 in a data sharing method according to embodiment 4 of the present invention;
fig. 5 is a schematic flowchart of steps S501-S50 in a data sharing method according to embodiment 5 of the present invention;
fig. 6 is a functional block diagram of a data sharing system according to embodiment 6 of the present invention;
fig. 7 is a hardware schematic diagram of a projector according to an embodiment of the present invention.
[ detailed description ] embodiments
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail and completely with reference to the following embodiments and accompanying drawings. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1
Please refer to fig. 1, which illustrates a data sharing method according to an embodiment of the present invention, wherein the method includes the following steps:
s1, after a projector is successfully connected with a computer terminal, sending a sign-in request to the computer terminal, and identifying interconnectable terminals in the same local area network after receiving confirmation information of the computer terminal;
s2, the projector establishes TCP connection with an interconnectable terminal, sends an authentication request, acquires authentication information and identification information of the terminal, establishes a corresponding relation between the authentication information and the identification information of the terminal, establishes a check-in list according to authentication, and sends the check-in list to a computer terminal;
s3, when the projector monitors that the video is played at the computer end, the projector takes a picture of a meeting place, compares the picture with a face image of a person in a preset face database, removes the person who is successfully compared from the check-in list, and generates a sharing list;
the method comprises the steps of comparing a photo with a human face image of a person in a preset human face database, specifically, extracting human face features of the outline, eyebrows, eyes, nose and mouth of the human face through human face recognition according to the photo, and comparing the extracted human face features with the features of the human face image of the person in the preset human face database in a similarity comparison mode to obtain a human face recognition result.
And S4, the projector generates a synchronous request containing identification information of the corresponding terminal based on the shared list and sends the synchronous request to the computer terminal, the computer terminal divides the video to be played into audio frames and video frames, and the audio frames and the video frames are repackaged and encoded and then transmitted to the terminal with the corresponding identification information in a UDP (user Datagram protocol) broadcasting mode.
As shown in the embodiment of fig. 1, the projector of the present invention sends a sign-in request to the computer terminal after detecting that the projector is successfully connected to the computer terminal, and the projector may be connected to the computer terminal through a VGA video output line, for example; the projector identifies the terminals which can be interconnected and exist in the same local area network after receiving the confirmation information of the computer terminal, and the projector performs the next operation only after the computer terminal is manually confirmed, so that the operation of the projector can be ensured to be performed under the condition that the attendees basically arrive at the scene, and the accuracy of personnel statistics is improved; the projector establishes TCP connection with an interconnectable terminal, sends an authentication request, acquires authentication information and identification information of the terminal, establishes a corresponding relation between the authentication information and the identification information of the terminal, the terminal can be a mobile phone, a notebook computer or a tablet carried by a participant, and the like, the acquired authentication information can be a name input by the participant, so that a one-to-one corresponding relation between the names of the participant and the mobile phone thereof is established, a generated all-sign-in list can be used as a sign-in list, and the problems of carrying out sign-in and multiple sign-in of the participant are avoided; when the projector monitors that the computer end plays videos, the projector shoots the meeting place, the meeting personnel basically take the place through the process of establishing connection between the projector and the terminal, the computer end plays the videos, the meeting personnel can lift the eyes to watch the projected videos, and at the moment, the projector shoots the meeting place, so that the postures of the personnel in the obtained pictures are accurate, and the face recognition is convenient; due to the fact that the height and the body type of the participants are different, mutual shielding exists even in a ladder meeting room, non-shielding personnel with good sight are removed from the attendance list to generate a shared list based on face recognition, a computer end provides screen broadcasting for the shielded participants, projection videos can be watched through a terminal, and watching experience and effects are improved; and the computer only transmits the video frame of the video to be played, so that network resources are saved.
Example 2
The present invention provides a data sharing method, which is different from embodiment 1 in that, as shown in fig. 2, the step S1 includes the following sub-steps:
s101, when the projector is successfully connected with a computer terminal in a detection mode, a camera shoots a meeting place, a face contour is extracted through face recognition according to pictures, and the number X of people is counted according to the face contour;
s102, comparing the current personnel number X with a preset threshold Xa, and if the comparison result is that X is less than 2, returning to the step S101 after a preset time period; if the comparison result is that X is more than or equal to 2 and less than Xa, the projector sends a sign-in request to the computer end connected with communication, and then the step S103 is carried out; if the comparison result is that Xa is less than X, the projector directly goes to the step S104 after sending a sign-in request to the computer end connected with communication;
s103, after receiving the confirmation information of the computer terminal, the projector compares the picture with the face image of the person in a preset face database, generates a check-in list according to the successfully compared person, and sends the check-in list to the computer terminal;
the human face image comparison is to extract human face features of the outline, eyebrows, eyes, nose and mouth of a human face through human face recognition according to the picture, and the extracted human face features are compared with the features of the human face image of a person in a preset human face database in a similarity degree mode to obtain a human face recognition result.
And S104, identifying the interconnectable terminals existing in the same local area network after receiving the confirmation information of the computer terminal.
When the projector is successfully connected with the computer end, the camera shoots a meeting place, and only face contour recognition is performed at the moment, so that people counting is realized, complete face recognition is not performed, recognition is simple and rapid, and workload is saved; when X < 2, the number of the participators is not reached, or the number of the participators is too small and the person counting is not necessary, so that the number of the persons is counted again after a preset time period (for example, 1 minute is allowed), and in addition, because the number of the persons is too small and the shielding is not possible, the projector is not necessary to perform additional operation; when X is more than or equal to 2 and less than Xa, the people are not too many and do not have shielding, not too few and do not need counting, the face recognition is directly carried out, so that a check-in list is generated, and the people counting is carried out by using the face recognition; when Xa is less than X, the projector performs the operation of the embodiment 1, so that the problem that the attendees sign on the labels instead of or in addition to the labels is solved, the problem that the attendees are shielded mutually or intentionally by face recognition is also solved, and screen broadcasting is provided for the shielded personnel.
Example 3
The present invention provides a data sharing method, which is different from embodiment 1 in that, as shown in fig. 3, the step S2 includes the following sub-steps:
s201, a projector and an interconnectable terminal establish TCP connection, send an authentication request, acquire authentication information and terminal identification information, establish a corresponding relation between the authentication information and the terminal identification information, and store the authentication information and the terminal identification information in a first storage area;
s202, judging whether a check-in list exists or not, and if not, performing the step S203; if yes, performing step S204;
s203, establishing a check-in list according to the identity authentication information, storing the check-in list in a first storage area, and sending the check-in list to a computer end;
s204, judging whether the acquired identity authentication information is increased or decreased, if so, performing the step S205; if not, go to step S206;
s205, if the number of the user terminals is increased, the identity authentication information in the first storage area is updated, the existing check-in list and the terminal identification information are updated no matter the number of the user terminals is increased or decreased, and the check-in list is sent to a computer terminal;
s206, judging whether to acquire new terminal identification information, if so, performing S207; if not, the step S208 is carried out;
s207, updating terminal identification information in the first storage area;
and S208, sending the existing check-in list to the computer terminal.
After acquiring the identity authentication information and the terminal identification information, firstly judging whether a check-in list exists or not, if the projector is used for a multi-person conference for the first time, establishing the check-in list according to the identity authentication information, and storing the list in a first storage area; if the check-in list exists, whether the acquired identity authentication information is increased or decreased relative to the existing check-in list is continuously judged, if the acquired identity authentication information is increased, an unrecorded new person participates in the conference, the identity authentication information, the check-in list and the terminal identification information in the first storage area are updated, and if the acquired identity authentication information is decreased, only the existing check-in list and the terminal identification information are updated; if the check-in list exists and the identity authentication information is not increased or reduced, whether new terminal identification information is obtained or not is continuously judged, if yes, the mobile phone or other carried terminals of the previous participants are replaced, and at the moment, the terminal identification information in the first storage area is updated.
Example 4
The present invention provides a data sharing method, which is different from embodiment 1, as shown in fig. 4, after step S3, further comprising:
s301, judging whether a sharing list exists or not, and if not, performing the step S302; if yes, performing step S303;
s302, storing the generated sharing list in a second storage area;
s303, numbering the shared list in the second storage area from small to large according to the sequence of the generation time by using a number n;
s304, comparing the shared list n with a shared list n-1 and a shared list n-2, generating a warning list by the repeated personnel for three times, and sending the warning list to a computer terminal.
After the sharing list is generated, whether the sharing list exists is judged, if not, the generated sharing list is stored in the second storage area, and the sharing list is independently stored in the second storage area, so that the safety of data storage and the convenience of data export are improved, and the sharing list in the second storage area can be accessed through the operation of a computer end; and comparing the sharing lists of the last three times, if the participators appear on the sharing list for three times continuously, indicating that short personnel exist in the participators or the head-down family and the sleeping family which always carelessly watch the projection video, and the operator at the computer end can actively adjust the position of the short personnel according to the warning list and warn the related personnel.
Example 5
The invention provides a data sharing method, which is different from the embodiment 1 in that the step S4 further comprises the following steps:
the projector generates a synchronous request containing identification information of a corresponding terminal based on a shared list and sends the synchronous request to a computer terminal, the computer terminal divides a video to be played into audio frames and video frames and divides the video frames into a plurality of groups of picture groups, no more than 2I frames exist in a video sequence of each group of picture groups, the number of the I frames in the video sequences of two adjacent groups of picture groups is different, the video sequences in each group of picture groups are sequenced according to the sequence of time stamps, and each group of picture groups are sequentially transmitted to the projector and the terminal of the corresponding identification information in a UDP broadcast mode;
as shown in fig. 5, the method further comprises:
s501, a projector receives a plurality of groups of picture groups transmitted in a UDP (user Datagram protocol) broadcasting mode after video segmentation of a computer end, and adds a time identifier for a video sequence of each group of picture groups to facilitate quick retrieval of I frames in the video sequence of the picture groups, wherein the time identifier is the time for receiving each video sequence;
s502, the projector compares the newly received frame group video sequence with the previously received complete frame group video sequence, and sequentially judges the integrity of each newly received frame group video sequence;
s503, judging whether the product is complete, if so, performing S504; if not, performing step S505;
s504, not processing;
s505, judging the number m of I frames in the corresponding complete picture group video sequence, and if m is less than or equal to 1, performing 506; if m =2, f =1, performing step S507;
s506, the projector sends a redundant packet transmission instruction to the terminal to the computer;
s507, judging whether the video sequence between the two received I frames is complete, if so, performing the step S508; if not, simultaneously performing the step S506 and the step S508;
s508, the computer end puts the second I frame in the group of pictures video sequence into the next group of pictures video sequence as the first frame.
In order to save network resources and increase transmission rate, a computer divides a video to be played into audio frames and video frames, and only transmits a picture group; in order to further guarantee the transmission rate and improve the transmission fluency and the transmission rate consistency, the number of I frames in the video sequence of each group of picture groups is not more than 2. When the received picture group video sequence is incomplete, indicating that a packet loss condition exists, judging the packet loss condition, judging the number m of I frames in the corresponding complete picture group video sequence, wherein m is less than or equal to 1, and sending a redundant packet transmission instruction to a terminal by a projector to a computer end; when m =2,f =1,f is the number of I frames in the received incomplete picture group video sequence, continuously judging whether the video sequence between the two received I frames is complete, and when the video sequence is complete, putting a second I frame in the picture group video sequence into the next picture group video sequence as a first frame by the computer end, so that the transmission efficiency of the video frames is ensured, and the packet loss condition is reduced; when the video transmission is incomplete, the computer end puts the second I frame in the frame group video sequence into the next frame group video sequence as a first frame, and meanwhile, the projector sends a redundant packet transmission instruction to the computer end to transmit to the terminal, so that the integrity and the fluency of the video transmission are ensured.
The method provided by the embodiment of the invention provides a data sharing method, solves the problem that the statistics of the participants is disordered when the participants are more through the sign-in verification of the terminals of the participants, and provides screen broadcasting for the participants who are shielded to watch the projection video based on the sign-in verification and face recognition.
Example 6
The embodiment of the invention further provides an embodiment of a device for realizing the steps and the method in the embodiment of the method.
Please refer to fig. 6, which is a data sharing system according to an embodiment of the present invention, the system includes a projector, a computer terminal and a terminal that are in communication with each other, a camera is disposed on the projector, a main controller 100 is disposed in the projector, and the main controller 100 includes:
the sign-in module 101 is used for sending a sign-in request to a computer end connected with communication when the projector receives video data to be played transmitted by the computer end;
a detection module 102, configured to detect whether there are terminals that can be interconnected in the same local area network;
the first communication module 103 is configured to establish a TCP connection with an interconnectable terminal, send an authentication request, and obtain authentication information and identification information of the terminal;
the first list generation module 104 is used for establishing a corresponding relation between the authentication information and the terminal identification information, establishing a check-in list according to the authentication, and sending the check-in list to the computer terminal;
the face recognition module 105 is used for comparing the pictures shot by the camera with face images of people in a preset face database;
the second list generation module 106 is used for removing the people who are successfully compared from the check-in list to generate a sharing list;
and the second communication module 107 is configured to generate a synchronization request including identification information of a corresponding terminal based on the shared list and send the synchronization request to the computer.
Fig. 7 is a hardware schematic diagram of a projector according to an embodiment of the present invention. Referring to fig. 7, in a hardware level, the projector includes a main controller and a camera, and optionally further includes an internal bus, a VGA interface, a network interface, and a memory. The Memory may include a Memory, such as a Random-Access Memory (RAM), and may further include a non-volatile Memory, such as at least 1 disk Memory. Of course, the projector may also include hardware required for other services.
The master controller, the camera, the VGA interface, the network interface and the memory may be connected to each other through an internal bus, which may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 3, but this does not indicate only one bus or one type of bus.
And the memory is used for storing programs. In particular, the program may include program code comprising computer operating instructions. The memory may include both memory and non-volatile storage and provides instructions and data to the master.
In a possible implementation manner, the master reads the corresponding computer program from the nonvolatile memory into the memory and then runs the computer program, and the corresponding computer program can also be obtained from other devices so as to form a pricing device of the electricity price on a logic level. And the master controller executes the program stored in the memory so as to realize the node working method provided by any embodiment of the invention through the executed program.
Embodiments of the present invention also provide a computer-readable storage medium storing one or more programs, the one or more programs including instructions, which when executed by a projector including a plurality of application programs, enable the projector to perform the node operation method provided in any of the embodiments of the present invention.
The method performed by the projector according to the embodiment of the present invention may be applied to or implemented by the master controller. The master may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in the master or by instructions in the form of software. The master controller may be a general master controller, including a Central Processing Unit (CPU), a Network master controller (NP), and the like; but also a Digital Signal master (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. The general purpose master may be a micro-master or the master may be any conventional master etc.
The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding master controller, or implemented by a combination of hardware and software modules in the decoding master controller. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a master controller reads information in the memory and completes the steps of the method by combining hardware of the master controller.
Embodiments of the present invention also provide a computer-readable storage medium storing one or more programs, the one or more programs including instructions, which when executed by a projector including a plurality of application programs, enable the projector to perform the node operation method provided in any of the embodiments of the present invention.
The systems, apparatuses, modules or units described in the above embodiments may be specifically implemented by a computer chip or an entity, or implemented by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units or modules by function, respectively. Of course, the functionality of the units or modules may be implemented in the same one or more software and/or hardware when implementing the invention.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a master of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the master of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more masters (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The invention may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments of the present invention are described in a progressive manner, and the same and similar parts among the embodiments can be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the system embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and reference may be made to the partial description of the method embodiment for relevant points.
The above description is only an example of the present invention, and is not intended to limit the present invention. Various modifications and alterations to this invention will become apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (9)

1. A method for data sharing, the method comprising the steps of:
s1, after a projector is successfully connected with a computer terminal in a detection mode, sending a sign-in request to the computer terminal, and identifying terminals which can be interconnected and exist in the same local area network after receiving confirmation information of the computer terminal;
s2, the projector establishes TCP connection with an interconnectable terminal, sends an authentication request, acquires authentication information and identification information of the terminal, establishes a corresponding relation between the authentication information and the identification information of the terminal, establishes a check-in list according to authentication, and sends the check-in list to a computer terminal;
s3, when the projector monitors that the video is played at the computer end, the projector takes a picture of a meeting place, compares the picture with a human face image of a person in a preset human face database, removes the person who is successfully compared from the check-in list, and generates a sharing list;
and S4, the projector generates a synchronous request containing identification information of the corresponding terminal based on the shared list and sends the synchronous request to the computer terminal, the computer terminal divides the video to be played into audio frames and video frames, and the audio frames and the video frames are repackaged and encoded and then transmitted to the terminal with the corresponding identification information in a UDP (user Datagram protocol) broadcasting mode.
2. The method according to claim 1, characterized in that said S1 step comprises the following sub-steps:
s101, when the projector is successfully connected with the computer terminal in a detection mode, the camera shoots a meeting place and analyzes the pictures to obtain the number X of people;
s102, comparing the current personnel number X with a preset threshold Xa, and if the comparison result is that X is less than 2, returning to the step S101 after a preset time period; if the comparison result is that X is more than or equal to 2 and less than Xa, the projector sends a sign-in request to the computer end connected with communication, and then the step S103 is carried out; if the comparison result is that Xa is less than X, the projector directly goes to the step S104 after sending a sign-in request to the computer end connected with communication;
s103, after receiving the confirmation information of the computer terminal, the projector compares the picture with the face image of the person in the preset face database, generates a check-in list according to the person who is successfully compared, and sends the check-in list to the computer terminal;
and S104, identifying the interconnectable terminals existing in the same local area network after receiving the confirmation information of the computer terminal.
3. The method of claim 2, wherein the step S101 further comprises:
and extracting the face contour through face recognition according to the picture, and counting the number X of the personnel according to the face contour.
4. The method according to claim 1, characterized in that said S2 step comprises the following sub-steps:
s201, a projector establishes TCP connection with an interconnectable terminal, sends an authentication request, acquires authentication information and terminal identification information, establishes a corresponding relation between the authentication information and the terminal identification information, and stores the authentication information and the terminal identification information in a first storage area;
s202, judging whether a check-in list exists or not, and if not, performing the step S203; if yes, performing step S204;
s203, establishing a sign-in list according to the identity authentication information, storing the sign-in list in a first storage area, and sending the sign-in list to a computer end;
s204, judging whether the acquired identity authentication information is increased or decreased, if so, performing the step S205; if not, the step S206 is carried out;
s205, if the number of the user terminals is increased, the identity authentication information in the first storage area is updated, the existing sign-in list and the terminal identification information are updated no matter the number of the user terminals is increased or decreased, and the sign-in list is sent to a computer terminal;
s206, judging whether new terminal identification information is acquired or not, and if so, performing the step S207; if not, the step S208 is carried out;
s207, updating terminal identification information in the first storage area;
and S208, sending the existing check-in list to the computer terminal.
5. The method according to claim 1, wherein the step S3 of comparing the photo with the face image of the person in the preset face database includes:
and extracting the facial features of the outline, eyebrows, eyes, nose and mouth of the face through face recognition according to the picture, and comparing the extracted facial features with the features of the facial images of the personnel in a preset facial database to obtain a face recognition result.
6. The method of claim 5, further comprising, after step S3:
s301, judging whether a sharing list exists or not, and if not, performing the step S302; if yes, performing step S303;
s302, storing the generated sharing list in a second storage area;
s303, numbering the shared list in the second storage area from small to large according to the sequence of the generation time;
s304, comparing the sharing list n with the sharing list n-1 and the sharing list n-2, generating a warning list by the people repeating for three times, and sending the warning list to a computer.
7. The method of claim 1, wherein step S4 further comprises:
the projector generates a synchronous request containing identification information of a corresponding terminal based on a shared list and sends the synchronous request to a computer terminal, the computer terminal divides a video to be played into audio frames and video frames and divides the video frames into a plurality of groups of picture groups, the number of I frames in a video sequence of each group of picture groups is not more than 2, the number of I frames in the video sequences of two adjacent groups of picture groups is different, and each group of picture groups is sequentially transmitted to the projector and the terminal corresponding to the identification information in a UDP broadcast mode.
8. The method of claim 7, further comprising:
s501, a projector receives a plurality of groups of picture groups transmitted in a UDP (user Datagram protocol) broadcasting mode after video segmentation of a computer end, and adds a time identifier for a video sequence of each group of picture groups, wherein the time identifier is the time for receiving each video sequence;
s502, the projector compares the newly received frame group video sequence with the previously received complete frame group video sequence, and sequentially judges the integrity of each newly received frame group video sequence;
s503, judging whether the product is complete, if so, performing S504; if not, performing step S505;
s504, not processing;
s505, judging the number m of I frames in the corresponding complete picture group video sequence, and if m is less than or equal to 1, performing step 506; if m =2,f =1, performing step S507;
s506, the projector sends a redundant packet transmission instruction to the terminal to the computer;
s507, judging whether the video sequence between the two received I frames is complete, if so, performing the step S508; if not, simultaneously performing the step S506 and the step S508;
s508, the computer end puts the second I frame in the group of pictures video sequence into the next group of pictures video sequence as the first frame.
9. The utility model provides a data sharing system, its characterized in that, projecting apparatus, computer end and terminal including mutual communication, be equipped with the camera on the projecting apparatus, its characterized in that, be equipped with the master controller in the projecting apparatus, the master controller includes:
the system comprises a sign-in module, a video playing module and a video playing module, wherein the sign-in module is used for sending a sign-in request to a computer end connected with communication when the projector receives video data to be played transmitted by the computer end;
the detection module is used for detecting whether interconnected terminals exist in the same local area network or not;
the first communication module is used for establishing TCP connection with terminals which can be interconnected, sending an authentication request and acquiring authentication information and identification information of the terminals;
the first list generation module is used for establishing a corresponding relation between the identity authentication information and the terminal identification information, establishing a check-in list according to the identity authentication and sending the check-in list to the computer terminal;
the face recognition module is used for comparing the pictures shot by the camera with face images of people in a preset face database;
the second list generation module is used for removing the personnel who are successfully compared from the check-in list to generate a sharing list;
and the second communication module is used for generating a synchronous request containing the identification information of the corresponding terminal based on the shared list and sending the synchronous request to the computer terminal.
CN201910921360.8A 2019-09-27 2019-09-27 Data sharing method and system Active CN110780833B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910921360.8A CN110780833B (en) 2019-09-27 2019-09-27 Data sharing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910921360.8A CN110780833B (en) 2019-09-27 2019-09-27 Data sharing method and system

Publications (2)

Publication Number Publication Date
CN110780833A CN110780833A (en) 2020-02-11
CN110780833B true CN110780833B (en) 2023-04-18

Family

ID=69384585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910921360.8A Active CN110780833B (en) 2019-09-27 2019-09-27 Data sharing method and system

Country Status (1)

Country Link
CN (1) CN110780833B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111796145A (en) * 2020-07-03 2020-10-20 山东德源电力科技股份有限公司 Method and system for communication and control of external circuit breaker of electric energy meter
CN112530068B (en) * 2020-10-29 2023-09-22 重庆恢恢信息技术有限公司 Personnel identification method for realizing intelligent building site through Internet of things
CN113408421B (en) * 2021-06-21 2023-04-07 湖北央中巨石信息技术有限公司 Face recognition method and system based on block chain
CN113609414B (en) * 2021-08-03 2024-02-02 深圳市闪联信息技术有限公司 Video sharing method and system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8798401B1 (en) * 2012-06-15 2014-08-05 Shutterfly, Inc. Image sharing with facial recognition models
CN104640060A (en) * 2015-01-28 2015-05-20 惠州Tcl移动通信有限公司 Data sharing method and system thereof
CN104978571A (en) * 2015-07-02 2015-10-14 湖北贝力思智能科技有限公司 Intelligent dynamic high-definition video detection system
CN106143309A (en) * 2016-07-18 2016-11-23 乐视控股(北京)有限公司 A kind of vehicle blind zone based reminding method and system
CN106572078A (en) * 2016-10-11 2017-04-19 广东建邦计算机软件股份有限公司 Sign-in information generating method and device
WO2017193987A1 (en) * 2016-05-13 2017-11-16 中兴通讯股份有限公司 Method and device for indicating information of participant in video conference
CN107396181A (en) * 2017-08-24 2017-11-24 广州创维平面显示科技有限公司 A kind of shared method, storage medium and intelligent television for playing record
CN108090999A (en) * 2016-11-20 2018-05-29 青海沃爱思智能科技有限公司 Intelligent networking somatic fingerprint information identifies clearance device
CN108229367A (en) * 2017-12-28 2018-06-29 何世容 A kind of face identification method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10249089B2 (en) * 2016-08-01 2019-04-02 Dell Products, Lp System and method for representing remote participants to a meeting

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8798401B1 (en) * 2012-06-15 2014-08-05 Shutterfly, Inc. Image sharing with facial recognition models
CN104640060A (en) * 2015-01-28 2015-05-20 惠州Tcl移动通信有限公司 Data sharing method and system thereof
CN104978571A (en) * 2015-07-02 2015-10-14 湖北贝力思智能科技有限公司 Intelligent dynamic high-definition video detection system
WO2017193987A1 (en) * 2016-05-13 2017-11-16 中兴通讯股份有限公司 Method and device for indicating information of participant in video conference
CN106143309A (en) * 2016-07-18 2016-11-23 乐视控股(北京)有限公司 A kind of vehicle blind zone based reminding method and system
CN106572078A (en) * 2016-10-11 2017-04-19 广东建邦计算机软件股份有限公司 Sign-in information generating method and device
CN108090999A (en) * 2016-11-20 2018-05-29 青海沃爱思智能科技有限公司 Intelligent networking somatic fingerprint information identifies clearance device
CN107396181A (en) * 2017-08-24 2017-11-24 广州创维平面显示科技有限公司 A kind of shared method, storage medium and intelligent television for playing record
CN108229367A (en) * 2017-12-28 2018-06-29 何世容 A kind of face identification method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
王念兵 等.局部联合结构化稀疏表示的单样本人脸识别.计算机工程与应用.2016,第54卷(第1期),204-209、228. *
阳亚平.基于室联网的开放大学智慧学习空间生态建设-以福建广播电视大学"5G室联网实验室"的建设与应用为例.现代教育技术.2021,第31卷(第6期),64-71. *

Also Published As

Publication number Publication date
CN110780833A (en) 2020-02-11

Similar Documents

Publication Publication Date Title
CN110780833B (en) Data sharing method and system
US10580458B2 (en) Gallery of videos set to an audio time line
EP3713159B1 (en) Gallery of messages with a shared interest
CN105659286B (en) Automated image cropping and sharing
US10062406B2 (en) Video masking processing method and apparatus
CN104618803B (en) Information-pushing method, device, terminal and server
US20200106708A1 (en) Load Balancing Multimedia Conferencing System, Device, and Methods
US8666042B2 (en) Techniques for performing key frame requests in media servers and endpoint devices
US20200351471A1 (en) Method and a device for a video call based on a virtual image
US20190158586A1 (en) Aggregating electronic devices to provide a synchronized presentation
CN112770151A (en) Method, device and storage medium for supporting multi-person interception of screen-projected playing picture
CN112163993A (en) Image processing method, device, equipment and storage medium
CN111556276A (en) Teleconferencing method and system, computer equipment and storage medium
CN107733874B (en) Information processing method, information processing device, computer equipment and storage medium
US20150358318A1 (en) Biometric authentication of content for social networks
CN112040277B (en) Video-based data processing method and device, computer and readable storage medium
US20220053123A1 (en) Method and apparatus for independent authentication of video
CN112449209B (en) Video storage method and device, cloud server and computer readable storage medium
US11682210B1 (en) Methods and device for video data analysis
WO2023169159A1 (en) Event graph establishment method and related apparatus
CN114329399A (en) Face video verification method, device, equipment and storage medium
WO2024017467A1 (en) Apparatus and method for processing a visual content
CN111143594A (en) Portrait searching method, server, storage medium, video processing method and system
CN114637438A (en) AR-based vehicle accident handling method and device
CN115776601A (en) Video streaming information evaluation method, device, equipment and storage medium

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