CN108512600A - Face-to-face data transmission method and device - Google Patents
Face-to-face data transmission method and device Download PDFInfo
- Publication number
- CN108512600A CN108512600A CN201810324569.1A CN201810324569A CN108512600A CN 108512600 A CN108512600 A CN 108512600A CN 201810324569 A CN201810324569 A CN 201810324569A CN 108512600 A CN108512600 A CN 108512600A
- Authority
- CN
- China
- Prior art keywords
- terminal
- data
- transmission
- face
- coded data
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/11—Arrangements specific to free-space transmission, i.e. transmission through air or vacuum
- H04B10/114—Indoor or close-range type systems
- H04B10/116—Visible light communication
Landscapes
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Optical Communication System (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
A kind of face-to-face data transmission method of present invention offer and device.The face-to-face data transmission method of the present invention, including:Establish the data transmission link of first terminal and at least one second terminal;It asks to identify to each second terminal transmission data by first terminal;According to the operating mode of first terminal, coding conversion processing is carried out to target data, obtains the coded data of preset display mode;When receiving the data response identification and terminal iidentification of any second terminal transmission, by first terminal coded data is transmitted to second terminal corresponding with terminal iidentification, to be shot to coded data by second terminal, and conversion decoding process is carried out to coded data and obtains target data.The present invention realizes between user high speed efficiently face-to-face data transmission by visible light communication technology.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of face-to-face data transmission methods and device.
Background technology
As the demand of data sharing between user gradually increases, provide the terminal with enough resources for high speed and reality
When transmission data it is extremely urgent.
Existing face-to-face data transmission method, the multiple users of generally use access wireless network (Wi-Fi)/wired network jointly
Mode, or using one of user serve as Wi-Fi Hotspot other users access by the way of, realize user between face
Face data is transmitted.And no matter which kind of above-mentioned mode being used, existing face-to-face data transmission method can be by photo, video and text
The transmission datas such as shelves are compressed, to improve transmitted data rates.
However, existing face-to-face data transmission method can not avoid transmission data that from being more or less distorted, and hold
It is vulnerable to the influence of Wi-Fi/ wired network channel qualities and transmitted data rates is caused to reduce.
Invention content
There is distortion now to solve existing transmission data in a kind of face-to-face data transmission method of present invention offer and device
As and message transmission rate be vulnerable to network influence the problem of.
In a first aspect, the present invention provides a kind of face-to-face data transmission method, including:
Establish the data transmission link of first terminal and at least one second terminal;
It is identified to each second terminal transmission data request by the first terminal;
According to the operating mode of the first terminal, coding conversion processing is carried out to target data, obtains default display mould
The coded data of formula;
When receiving the data response identification and terminal iidentification of any second terminal transmission, eventually by described first
Hold to second terminal corresponding with the terminal iidentification and transmit the coded data, with by the second terminal to the coding
Data are shot, and are carried out conversion decoding process to the coded data and obtained the target data.
Optionally, described that the coding is transmitted to second terminal corresponding with the terminal iidentification by the first terminal
Data, including:
When the difference of current time and initial time is more than preset duration, judge whether that receiving the second terminal passes
Defeated Successful transmissions mark, starts to transmit the coding to the second terminal wherein the initial time is the first terminal
At the time of data;
If so, continuing to transmit the coded data that do not transmit to the second terminal by the first terminal;
If it is not, then transmitting the coding transmitted in the preset duration to the second terminal again by the first terminal
Data;If adjusting the first terminal and/or institute still without the Successful transmissions mark is received in the preset duration
The configured transmission of second terminal is stated, until receiving the Successful transmissions mark.
Optionally, when the operating mode of the first terminal is display screen pattern, the default display of the coded data
Pattern is video flowing display pattern.
Optionally, described that the coding is transmitted to second terminal corresponding with the terminal iidentification by the first terminal
Data, including:
According to image concealing algorithm, the coded data is hidden in the normal display data;
By the first terminal coded data being hidden in the normal display data is shown to the second terminal.
Optionally, when the operating mode of the first terminal is Flash Mode, the default display of the coded data
Pattern is bright dark display pattern.
Optionally, described by the first terminal to before each second terminal transmission data request mark, packet
It includes:
Set the configured transmission of the first terminal and/or the second terminal.
Second aspect, the present invention provide a kind of face-to-face data transmission device, including:
Module is established, the data transmission link for establishing first terminal and at least one second terminal;
Transmission module, for being identified to each second terminal transmission data request by the first terminal;
Processing module carries out coding conversion processing to target data, obtains for the operating mode according to the first terminal
To the coded data of preset display mode;
The transmission module is additionally operable in the data response identification and terminal for receiving any second terminal transmission
When mark, the coded data is transmitted to second terminal corresponding with the terminal iidentification by the first terminal, to pass through
The second terminal shoots the coded data, and carries out conversion decoding process to the coded data and obtain the mesh
Mark data.
Optionally, the transmission module, including:
Judging unit, for when the difference of current time and initial time is more than preset duration, judging whether to receive
The Successful transmissions mark of the second terminal transmission, starts to described second eventually wherein the initial time is the first terminal
At the time of the coded data is transmitted at end;
Transmission unit, for when receiving the Successful transmissions mark of the second terminal transmission, passing through first end
Continue to transmit the coded data that do not transmit to the second terminal in end;
The transmission unit is additionally operable to, when being not received by the Successful transmissions mark of the second terminal transmission, pass through
The first terminal transmits the coded data transmitted in the preset duration to the second terminal again;
Adjustment unit, for when in the preset duration still without the Successful transmissions mark is received, adjusting institute
The configured transmission of first terminal and/or the second terminal is stated, until receiving the Successful transmissions mark.
Optionally, when the operating mode of the first terminal is display screen pattern, the default display of the coded data
Pattern is video flowing display pattern.
Optionally, the transmission module further includes:
Hidden unit, for according to image concealing algorithm, the coded data to be hidden in the normal display data;
The transmission unit is hidden in the normal display for being shown to the second terminal by the first terminal
Coded data in data.
Optionally, when the operating mode of the first terminal is Flash Mode, the default display of the coded data
Pattern is bright dark display pattern.
Optionally, described device further includes:
Setting module 64, the configured transmission for setting the first terminal and/or the second terminal.
The third aspect, the present invention provide a kind of face-to-face data transmission device, including:Memory and processor;
The memory is for storing program instruction;
It is face-to-face described in first aspect that the processor is used to call the program instruction stored in the memory to realize
Data transmission method.
Fourth aspect, a kind of readable storage medium storing program for executing of the present invention, including:Readable storage medium storing program for executing and computer program, the meter
Calculation machine program is for realizing the face-to-face data transmission method described in first aspect.
Face-to-face data transmission method and device provided by the invention, by the data for establishing first terminal and second terminal
Transmission link first passes through first terminal and asks to identify to each second terminal transmission data, and according to the operating mode of first terminal,
Coding conversion processing is carried out to target data, the coded data of preset display mode is obtained, is passed receiving any second terminal
When defeated data response identification and terminal iidentification, it can be transmitted and be compiled to second terminal corresponding with terminal iidentification by first terminal
Code data, and then coded data can be obtained by the shooting of second terminal processing, then coded data is carried out at conversion decoding
Reason obtains target data.The present invention establishes the data transmission link of terminal room so that first terminal by visible light communication technology
It can realize high speed face-to-face data transmission procedure in real time to any second terminal transmission data, ensure that data transmission
Rate and efficiency have ensured the quality and quantity of transmission data, solve the data distortion phenomenon occurred in the prior art and number
It is vulnerable to the problem of network influences according to transmission rate, and cost is relatively low, it is easy to accomplish.
Description of the drawings
It, below will be to embodiment or existing in order to clearly demonstrate the embodiment of the present invention or technical solution in the prior art
Attached drawing is briefly described needed in technology description, it should be apparent that, the accompanying drawings in the following description is the present invention
Some embodiments of embodiment, for those of ordinary skill in the art, without having to pay creative labor, also
It can be obtain other attached drawings according to these attached drawings.
Fig. 1 is the schematic diagram of a scenario of face-to-face data transmission method provided by the invention;
Fig. 2 is the flow chart of face-to-face data transmission method provided by the invention;
Fig. 3 is the flow chart of face-to-face data transmission method provided by the invention;
Fig. 4 is the flow chart of face-to-face data transmission method provided by the invention;
Fig. 5 is the flow chart of face-to-face data transmission method provided by the invention;
Fig. 6 is the structural schematic diagram of face-to-face data transmission device provided by the invention;
Fig. 7 is the structural schematic diagram of face-to-face data transmission device provided by the invention;
Fig. 8 is the hardware architecture diagram of face-to-face data transmission device provided by the invention.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the embodiment of the present invention, instead of all the embodiments.Based on the embodiment in the embodiment of the present invention, this field
The every other embodiment that those of ordinary skill is obtained without making creative work, belongs to implementation of the present invention
The range of example protection.
Message transmission rate is limited in existing face-to-face data transmission method, and the Wi-Fi/ wired networks provided the terminal with
Channel quality and channel resource be all unable to get guarantee, message transmission rate reduction is easy to cause, to can not meet in real time
The demand of sharing data between user.
Fig. 1 is the schematic diagram of a scenario of face-to-face data transmission method provided by the invention.Further, since visible light is logical
Letter technology (Visible Light Communication, VLC) is using visible light of the wavelength between 380nm to 780nm
Carrier signal realizes the height of wireless data by parameters such as intensity, phase, frequency, form and aspect, the polarizabilities of modulation visible light signal
Speed transmission.Therefore, as shown in Figure 1, face-to-face data transmission method in the present embodiment can by visible light communication technology, to
Terminal provides data transmission link, realizes high speed and in real time face-to-face data transmission procedure, can not only improve data transmission
Rate, additionally it is possible to which the quality and quantity for ensureing transmission data solve the data distortion phenomenon and data occurred in the prior art
Transmission rate is vulnerable to the problem of network influences.
Terminal shown in Fig. 1:Can be wireless terminal can also be catv terminal, wireless terminal can refer to a kind of tool
There is the equipment of radio transmission-receiving function, can be deployed in land, including is indoor or outdoors, hand-held or vehicle-mounted;It can also be deployed in
On the water surface (such as steamer);It can also dispose (such as aircraft, balloon and satellite are first-class) in the air.The terminal can be mobile phone
(mobile phone), tablet computer (Pad), the computer with radio transmission-receiving function, virtual reality (Virtual Reality,
VR) the nothing in terminal, augmented reality (Augmented Reality, AR) terminal, Industry Control (industrial control)
Line terminal, the wireless terminal in unmanned (self driving), the wireless end in tele-medicine (remote medical)
End, the wireless terminal in intelligent grid (smart grid), the wireless end in transportation safety (transportation safety)
End, the wireless terminal in smart city (smart city), the wireless terminal etc. in wisdom family (smart home), herein
It is not construed as limiting.
First terminal can be at least one second terminal transmission data in the present embodiment, and the present embodiment is to second terminal
Number does not limit.Wherein, for convenience of description, the first terminal in the present embodiment and second terminal are with a positive reverse side phase
To mobile phone show, and by first terminal to for a second terminal transmission data, wherein first terminal and second terminal can
With positive opposite, can also reverse side it is opposite, can also a positive reverse side it is opposite, the present embodiment is not limited to the above-mentioned side of putting
Formula.
With reference to scene shown in FIG. 1, to the specific technical solution of face-to-face data transmission method provided by the invention
It is described in detail.
Fig. 2 is the flow chart of face-to-face data transmission method provided by the invention, as shown in Fig. 2, the present embodiment faces
Face data transmission method may include:
S101, the data transmission link for establishing first terminal and at least one second terminal.
Specifically, first terminal and second terminal can be used as the transmitting antenna of visible light signal, and flash lamp or aobvious can be used
The modules such as display screen, the present embodiment do not limit this.And first terminal and second terminal are alternatively arranged as the reception of visible light signal
Antenna, can be used the devices such as camera or light sensor, and the present embodiment does not also limit this.
Further, has the premise of the function of transmission data and reception data in first terminal and each second terminal
Under, the present embodiment can establish first terminal and the data transmission link of second terminal, which can connect
One terminal and second terminal so that first terminal can be by the data transmission link to second terminal transmission objectives data.
S102, it asks to identify to each second terminal transmission data by first terminal.
Specifically, need to first pass through first terminal to each to before second terminal transmission objectives data in first terminal
Two terminal transmission datas request mark, the request of data are identified for showing that first terminal will be to its transmission objectives data.Its
In, the present embodiment does not limit the concrete form that request of data identifies.
S103, the operating mode according to first terminal carry out coding conversion processing to target data, obtain default display mould
The coded data of formula.
Specifically, since target data can be the data of the forms such as photo, video, document, what target data was included
Form is varied, therefore, in first terminal to before any second terminal transmission objectives data, in order to enable various forms of
Target data can be transmitted in the form of visible light signal, can be according to the operating mode of first terminal, to target data
Carry out coding conversion processing so that target code can become the coded data of unified display pattern, this is unified display pattern and is
Preset display mode, wherein the specific preset display mode of coded data is not limited to single-mode, can be according to the work of first terminal
Operation mode is adjusted and sets.
S104, when receiving the data response identification and terminal iidentification of the transmission of any second terminal, pass through first terminal
Coded data is transmitted to second terminal corresponding with terminal iidentification, to be shot to coded data by second terminal, and it is right
Coded data carries out conversion decoding process and obtains target data.
Specifically, when any second terminal receives request of data mark and carries out the preparation for receiving target data, lead to
Crossing the second terminal can be with transmission data response identification, and the data response identification is for showing that the second terminal is ready for receiving
The preparation of target data.And in order to distinguish different second terminals, the terminal of itself can also be transmitted by each second terminal
Mark, can uniquely determine any second terminal by terminal iidentification.Wherein, the present embodiment is to data response identification and terminal mark
The concrete form of knowledge neither limits.
Further, when receiving the data response identification and terminal iidentification of any second terminal transmission, pass through first
Terminal can be transferred to the second terminal, enabling can by second terminal by coded data by visible light communication technology
To carry out shooting processing to coded data, coded data is obtained.It is that coding conversion is carried out to target data since coding sets data
What processing obtained, therefore, conversion decoding process can be carried out to coded data and obtains target data, to complete number between user
According to the process of transmission, message transmission rate is improved, ensure that the quality and quantity of data transmission.
Face-to-face data transmission method provided in this embodiment, by the data transmission for establishing first terminal and second terminal
Link first passes through first terminal and asks to identify to each second terminal transmission data, and according to the operating mode of first terminal, to mesh
Mark data carry out coding conversion processing, obtain the coded data of preset display mode, are receiving any second terminal transmission
When data response identification and terminal iidentification, coded number can be transmitted to second terminal corresponding with terminal iidentification by first terminal
According to, and then coded data can be obtained by the shooting of second terminal processing, then conversion decoding process is carried out to coded data and is obtained
To target data.The present embodiment establishes the data transmission link of terminal room by visible light communication technology so that first terminal energy
Enough to any second terminal transmission data, realizes high speed face-to-face data transmission procedure in real time, ensure that the speed of data transmission
Rate and efficiency have ensured the quality and quantity of transmission data, solve the data distortion phenomenon and data occurred in the prior art
Transmission rate is vulnerable to the problem of network influences, and cost is relatively low, it is easy to accomplish.
On the basis of the above embodiments, in conjunction with Fig. 3-8, to face-to-face data transmission method embodiment shown in Fig. 2
Technical solution is described in detail.
First, in order to enable first terminal is able to detect that coded data, whether real-time Transmission is to second terminal, in conjunction with figure
3, to transmitting the specific of coded data to second terminal corresponding with terminal iidentification by first terminal in Fig. 2 embodiments S104
Mode is described in detail.
Fig. 3 is the flow chart of face-to-face data transmission method provided by the invention, as shown in figure 3, the present embodiment faces
Face data transmission method may include:
S201, the difference of current time and initial time be more than preset duration when, judge whether to receive second terminal
The Successful transmissions of transmission identify, at the time of wherein initial time is that first terminal starts to transmit coded data to second terminal.If
It is then to execute S202;If it is not, then executing S203.
Specifically, first terminal start to any second terminal transmit coded data when, record the moment be it is initial when
It carves.Then, the difference for continuing record current time and initial time, when the difference of current time and initial time is more than default
When long, it can be determined that whether receive the Successful transmissions mark of any second terminal transmission, which identifies for showing
Second terminal is successfully received the coded data transmitted by first terminal.Wherein, preset duration can be according to whole by first
The real time of one frame coded data of end transmission is set, concretely the duration of N frames coded data transmission, can also be direct
The duration set based on experience value, the present embodiment do not limit the specific duration of preset duration.
Further, when receiving the Successful transmissions mark of second terminal transmission, S202 is executed;When being not received by
When the Successful transmissions mark of second terminal transmission, S203 is executed.
S202, continue to transmit the coded data that do not transmit to second terminal by first terminal.
Specifically, when receiving the Successful transmissions mark of second terminal transmission, continued to second eventually by first terminal
The coded data that end transmission is not transmitted.
S203, the coded data transmitted in preset duration is transmitted to second terminal by first terminal again;If default
Still without Successful transmissions mark is received in duration, then the configured transmission of first terminal and/or second terminal is adjusted, until receiving
It is identified to Successful transmissions.
Specifically, when being not received by the Successful transmissions mark of second terminal transmission, by first terminal again to the
The coded data that two terminal transmissions are transmitted across in preset duration is transmitted in preset duration not again by first terminal
The coded data of transmission success, improves message transmission rate in this way, ensure that the completeness and efficiency of transmission data.
Further, when transmitting the non-transmission success in preset duration again to second terminal again by first terminal
After coded data, if having received the Successful transmissions mark of second terminal transmission, S202 can be executed, continues through first
Terminal transmits the coded data that do not transmit to second terminal.If still without Successful transmissions mark is received, illustrate not passing through
First terminal transmits coded data to second terminal or can not get the volume transmitted by first terminal by second terminal
Code data.In turn, the configured transmission of first terminal and/or second terminal can be adjusted, until second can be received
Until the Successful transmissions mark of terminal transmission.In this way, during user's face-to-face transmission data, it can be by adjusting each end
The configured transmission at end not only enables and passes through first terminal quickly real-time transmission data, also enables and pass through second terminal
It is enough quickly and accurately to receive data, improve message transmission rate and efficiency.
Secondly as first terminal may include various types of transmitting antennas, and therefore, the operating mode packet of first terminal
Include multiple types.In the following, continuing with Fig. 2 or Fig. 3, to specific implementation that first terminal is two kinds of different working modes into
Row is described in detail.
On the one hand, when the operating mode of first terminal is display screen pattern, the preset display mode of coded data be regarding
Frequency stream display pattern.
Specifically, when receiving the data response identification and terminal iidentification of any second terminal transmission, eventually due to first
The operating mode at end is display screen pattern, therefore, when carrying out coding conversion processing to target data, it may be determined that coded data
Preset display mode be video flowing display pattern to get to coded data be continuous videos.In turn, visible light communication is utilized
Technology, can be to second terminal code displaying data by first terminal so that second terminal can clap coded data
Take the photograph processing.
Further, since the operating mode of first terminal is display screen pattern, and in order to maintain the normal of first terminal
It has been shown that, in conjunction with Fig. 4 to being transmitted to second terminal corresponding with terminal iidentification by first terminal in embodiment illustrated in fig. 2 S104
The specific implementation of coded data is described in detail.
Fig. 4 is the flow chart of face-to-face data transmission method provided by the invention, as shown in figure 4, the present embodiment faces
Face data transmission method may include:
S301, the data transmission link for establishing first terminal and at least one second terminal.
S302, it asks to identify to each second terminal transmission data by first terminal.
S303, according to the operating mode of first terminal be display screen pattern, to target data carry out coding conversion processing, obtain
To the coded data that preset display mode is video flowing display pattern.
S304, when receiving the data response identification and terminal iidentification of the transmission of any second terminal, according to image concealing
Coded data is hidden in normal display data by algorithm.
S305, the coded data being hidden in normal display data is shown to second terminal by first terminal, to pass through
Second terminal shoots coded data, and carries out conversion decoding process to coded data and obtain target data.
Wherein, S301, S302 and S303 are similar with S101, S102 and S103 realization method in Fig. 2 embodiments respectively, this
Details are not described herein again for embodiment.
Specifically, coded data can be hidden in normal display data by the present embodiment according to image concealing algorithm, then
It is shown by first terminal, coding is got by shooting processing by second terminal in this way, can not only enable
Data, then by the way that after the decoding process that converts target data can be obtained, also during data transmission coded data display
Mode does not influence the display of the normal display data in first terminal.
On the other hand, when the operating mode of first terminal is Flash Mode, the preset display mode of coded data is
Bright dark display pattern.
Specifically, when receiving the data response identification and terminal iidentification of any second terminal transmission, eventually due to first
The operating mode at end is Flash Mode, therefore, when carrying out coding conversion processing to target data, it may be determined that coded data
Preset display mode be bright dark display pattern to get to coded data be the continuous light on and off data of flash lamp.In turn, it utilizes
Visible light communication technology can transmit coded data so that second terminal can be to coding by first terminal to second terminal
Data carry out shooting processing.
Finally, it in order to enable first terminal can transmit coded data to second terminal at a high speed and in real time, needs passing
Before defeated coded data, it is set according to actual conditions first terminal and the respective configured transmission of second terminal so that first terminal
It can cooperate with each second terminal, therefore, on the basis of the above embodiments, in conjunction with Fig. 5 to face-to-face number shown in Fig. 2
It is described in detail according to the technical solution of transmission method embodiment.
Fig. 5 is the flow chart of face-to-face data transmission method provided by the invention, as shown in figure 5, the present embodiment faces
Face data transmission method may include:
S401, the data transmission link for establishing first terminal and at least one second terminal.
The configured transmission of S402, setting first terminal and/or second terminal.
S403, it asks to identify to each second terminal transmission data by first terminal.
S404, the operating mode according to first terminal carry out coding conversion processing to target data, obtain default display mould
The coded data of formula.
S405, when receiving the data response identification and terminal iidentification of the transmission of any second terminal, pass through first terminal
Coded data is transmitted to second terminal corresponding with terminal iidentification, to be shot to coded data by second terminal, and it is right
Coded data carries out conversion decoding process and obtains target data.
Wherein, S401, S403, S404 and S405 are realized with S101, S102, S103 and S104 in Fig. 2 embodiments respectively
Mode is similar, and details are not described herein again for the present embodiment
Specifically, after establishing the data transmission link of first terminal and second terminal, can to first terminal and/or
The configured transmission of second terminal is set, and configured transmission can be data transmission rate or data receiver speed in the present embodiment
The focal length size of rate or first terminal and/or second terminal, the present embodiment do not limit the specific size of configured transmission,
Need to only meet can transmit coded data by first terminal to second terminal corresponding with terminal iidentification, and pass through second terminal
Coded data can be shot, and coded data can obtain target data after the decoding process that converts.
Further, in the face-to-face data transmission procedure between user, the transmission to first terminal and/or second terminal
The setting of parameter so that second terminal can be quick and clearly carries out shooting processing to coded data, is accurately encoded
Data.In turn, since the coded data that second terminal takes understands so that by carrying out conversion decoding process to coded data
It obtains that target data is more accurate, to improve the transmitted data rates of user's part, ensure that the accuracy of data transmission.
Fig. 6 is the structural schematic diagram of face-to-face data transmission device provided by the invention, as shown in fig. 6, the present embodiment
Data transmission device 60 includes face-to-face:
Module 61 is established, the data transmission link for establishing first terminal and at least one second terminal;
Transmission module 62, for being identified to each second terminal transmission data request by the first terminal;
Processing module 63 carries out coding conversion processing for the operating mode according to the first terminal to target data,
Obtain the coded data of preset display mode;
The transmission module 62 is additionally operable at data response identification and the end for receiving any second terminal transmission
When the mark of end, the coded data is transmitted to second terminal corresponding with the terminal iidentification by the first terminal, with logical
The second terminal is crossed to shoot the coded data, and to the coded data carry out conversion decoding process obtain it is described
Target data.
Optionally, the transmission module 62, including:
Judging unit 621, for when the difference of current time and initial time is more than preset duration, judging whether to receive
The Successful transmissions mark transmitted to the second terminal, starts wherein the initial time is the first terminal to described second
Described in terminal transmission at the time of coded data;
Transmission unit 622, for when receiving the Successful transmissions mark of the second terminal transmission, passing through described first
Terminal continues to transmit the coded data that do not transmit to the second terminal;
The transmission unit 622 is additionally operable to, when being not received by the Successful transmissions mark of the second terminal transmission, lead to
It crosses the first terminal and transmits the coded data transmitted in the preset duration to the second terminal again;
Adjustment unit 623, for when in the preset duration still without the Successful transmissions mark is received, adjusting
The configured transmission of the first terminal and/or the second terminal, until receiving the Successful transmissions mark.
Optionally, when the operating mode of the first terminal is display screen pattern, the default display of the coded data
Pattern is video flowing display pattern.
Optionally, the transmission module 62 further includes:
Hidden unit 624, for according to image concealing algorithm, the coded data to be hidden in the normal display data
In;
The transmission unit 622, for shown to the second terminal by the first terminal be hidden in it is described normal
Coded data in display data.
Optionally, when the operating mode of the first terminal is Flash Mode, the default display of the coded data
Pattern is bright dark display pattern.
Fig. 7 is the structural schematic diagram of face-to-face data transmission device provided by the invention, as shown in fig. 7, the present embodiment
On the basis of 60 apparatus structure shown in Fig. 6 of face-to-face data transmission device, further include:
Setting module 64, the configured transmission for setting the first terminal and/or the second terminal.
Face-to-face data transmission device provided in this embodiment can be used for executing above-mentioned face-to-face data transmission method,
Realization method is similar with technique effect, and details are not described herein again for the present embodiment.
It can carry out the division of function module, example in the present invention to face-to-face data transmission device according to above method example
Such as, each function can be corresponded to and divide each function module, two or more functions can also be integrated at one
It manages in module.The form that hardware had both may be used in above-mentioned integrated module is realized, the form of software function module can also be used
It realizes.It should be noted that being schematical to the division of module in various embodiments of the present invention, only a kind of logic function is drawn
Point, formula that in actual implementation, there may be another division manner.
Fig. 8 is the hardware architecture diagram of face-to-face data transmission device provided by the invention.As shown in figure 8, this is faced
Face data transmitting device 80 includes:Memory 81 and processor 82;
Memory 81, for storing computer program;
Processor 82, the computer program for executing memory storage, to realize the robot mark in above-described embodiment
Determine method.The specific associated description that may refer in preceding method embodiment.
Optionally, memory 81 can also be integrated with processor 82 either independent.
When device except the memory 81 is independently of processor 82, the face-to-face data transmission device 80 is also
May include:
Bus 83, for connecting the memory 81 and processor 82.
Face-to-face data transmission device provided in this embodiment can be used for executing above-mentioned face-to-face data transmission method,
Realization method is similar with technique effect, and details are not described herein again for the present embodiment.
The present invention also provides a kind of computer readable storage medium, the computer readable storage medium includes computer journey
Sequence, the computer program is for realizing the face-to-face data transmission method in embodiment as above.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, apparatus embodiments described above are merely indicative, for example, the division of the module, only
Only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple modules can combine or
It is desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed it is mutual it
Between coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or module
It connects, can be electrical, machinery or other forms.
The module illustrated as separating component may or may not be physically separated, aobvious as module
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of module therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each function module in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that modules physically exist alone, it can also be during two or more modules be integrated in one unit.Above-mentioned module at
The form that hardware had both may be used in unit is realized, can also be realized in the form of hardware adds SFU software functional unit.
The above-mentioned integrated module realized in the form of software function module, can be stored in one and computer-readable deposit
In storage media.Above-mentioned software function module is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) or processor (English:Processor this Shen) is executed
Please each embodiment the method part steps.
It should be understood that above-mentioned processor can be central processing unit (English:Central Processing Unit, letter
Claim:CPU), it can also be other general processors, digital signal processor (English:Digital Signal Processor,
Referred to as:DSP), application-specific integrated circuit (English:Application Specific Integrated Circuit, referred to as:
ASIC) etc..General processor can be microprocessor or the processor can also be any conventional processor etc..In conjunction with hair
The step of bright disclosed method, can be embodied directly in hardware processor and execute completion, or with hardware in processor and soft
Part block combiner executes completion.
Memory may include high-speed RAM memory, it is also possible to and further include non-volatile memories NVM, for example, at least one
Magnetic disk storage can also be USB flash disk, mobile hard disk, read-only memory, disk or CD etc..
Bus can be industry standard architecture (Industry Standard Architecture, ISA) bus, outer
Portion's apparatus interconnection (Peripheral Component, PCI) bus or extended industry-standard architecture (Extended
Industry Standard Architecture, EISA) bus etc..Bus can be divided into address bus, data/address bus, control
Bus etc..For ease of indicating, the bus in illustrations does not limit only a bus or a type of bus.
Above computer readable storage medium storing program for executing can be by any kind of volatibility or non-volatile memory device or
Combination thereof realizes that, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) can
Erasable programmable read-only memory (EPROM) (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory,
Flash memory, disk or CD.Storage medium can be any usable medium that general or specialized computer can access.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above-mentioned each method embodiment can lead to
The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer read/write memory medium.The journey
When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned includes:ROM, RAM, magnetic disc or
The various media that can store program code such as person's CD.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Present invention has been described in detail with reference to the aforementioned embodiments for pipe, it will be understood by those of ordinary skill in the art that:Its according to
So can with technical scheme described in the above embodiments is modified, either to which part or all technical features into
Row equivalent replacement;And these modifications or replacements, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (10)
1. a kind of face-to-face data transmission method, which is characterized in that including:
Establish the data transmission link of first terminal and at least one second terminal;
It is identified to each second terminal transmission data request by the first terminal;
According to the operating mode of the first terminal, coding conversion processing is carried out to target data, obtains preset display mode
Coded data;
When receiving the data response identification and terminal iidentification of any second terminal transmission, by the first terminal to
Corresponding with terminal iidentification second terminal transmits the coded data, with by the second terminal to the coded data
It is shot, and conversion decoding process is carried out to the coded data and obtains the target data.
2. according to the method described in claim 1, it is characterized in that, it is described by the first terminal to the terminal iidentification
Corresponding second terminal transmits the coded data, including:
When the difference of current time and initial time is more than preset duration, judge whether to receive the second terminal transmission
Successful transmissions identify, and start to transmit the coded data to the second terminal wherein the initial time is the first terminal
At the time of;
If so, continuing to transmit the coded data that do not transmit to the second terminal by the first terminal;
If it is not, then transmitting the coded number transmitted in the preset duration to the second terminal again by the first terminal
According to;If being identified in the preset duration still without receiving the Successful transmissions, the first terminal and/or described is adjusted
The configured transmission of second terminal, until receiving the Successful transmissions mark.
3. method according to claim 1 or 2, which is characterized in that when the operating mode of the first terminal is display screen
When pattern, the preset display mode of the coded data is video flowing display pattern.
4. according to the method described in claim 3, it is characterized in that, it is described by the first terminal to the terminal iidentification
Corresponding second terminal transmits the coded data, including:
According to image concealing algorithm, the coded data is hidden in normal display data;
By the first terminal coded data being hidden in the normal display data is shown to the second terminal.
5. method according to claim 1 or 2, which is characterized in that when the operating mode of the first terminal is flash lamp
When pattern, the preset display mode of the coded data is bright dark display pattern.
6. according to the method described in claim 1, it is characterized in that, described whole to each described second by the first terminal
Before holding transmission data request mark, including:
Set the configured transmission of the first terminal and/or the second terminal.
7. a kind of face-to-face data transmission device, which is characterized in that including:
Module is established, the data transmission link for establishing first terminal and at least one second terminal;
Transmission module, for being identified to each second terminal transmission data request by the first terminal;
Processing module carries out coding conversion processing to target data, obtains pre- for the operating mode according to the first terminal
If the coded data of display pattern;
The transmission module is additionally operable in the data response identification and terminal iidentification for receiving any second terminal transmission
When, the coded data is transmitted to second terminal corresponding with the terminal iidentification by the first terminal, it is described to pass through
Second terminal shoots the coded data, and carries out conversion decoding process to the coded data and obtain the number of targets
According to.
8. device according to claim 7, which is characterized in that the transmission module, including:
Judging unit, for when the difference of current time and initial time is more than preset duration, judging whether to receive described
The Successful transmissions mark of second terminal transmission, starts to pass to the second terminal wherein the initial time is the first terminal
At the time of the defeated coded data;
Transmission unit, for when receiving the Successful transmissions mark of second terminal transmission, by the first terminal after
Continue to the second terminal and transmits the coded data that do not transmit;
The transmission unit is additionally operable to when being not received by the Successful transmissions mark of the second terminal transmission, by described
First terminal transmits the coded data transmitted in the preset duration to the second terminal again;
Adjustment unit, for when in the preset duration still without receiving the Successful transmissions and identifying, adjustment described the
The configured transmission of one terminal and/or the second terminal, until receiving the Successful transmissions mark.
9. a kind of face-to-face data transmission device, which is characterized in that including:Memory and processor;
The memory is for storing program instruction;
The processor is used to call the program instruction stored in the memory to realize claim 1-6 any one of them face
Opposite data transmission method.
10. a kind of readable storage medium storing program for executing, which is characterized in that including:Readable storage medium storing program for executing and computer program, the computer journey
Sequence is for realizing the face-to-face data transmission method of claim 1-6 any one of them.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810324569.1A CN108512600B (en) | 2018-04-12 | 2018-04-12 | Face-to-face data transmission method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810324569.1A CN108512600B (en) | 2018-04-12 | 2018-04-12 | Face-to-face data transmission method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108512600A true CN108512600A (en) | 2018-09-07 |
CN108512600B CN108512600B (en) | 2021-06-29 |
Family
ID=63381772
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810324569.1A Active CN108512600B (en) | 2018-04-12 | 2018-04-12 | Face-to-face data transmission method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108512600B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110266384A (en) * | 2019-06-28 | 2019-09-20 | Oppo广东移动通信有限公司 | Local area network communication control method and Related product |
CN110380781A (en) * | 2019-07-18 | 2019-10-25 | Oppo广东移动通信有限公司 | Signal enhancing method and system and storage medium |
CN112039587A (en) * | 2019-06-03 | 2020-12-04 | 埃克斯特朗电子实业有限公司 | Communication between a handheld device having a flashlight and an equipment having a light receiver |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103023566A (en) * | 2011-09-22 | 2013-04-03 | 深圳光启高等理工研究院 | Advertising board information transmission method and system |
CN104734779A (en) * | 2013-12-20 | 2015-06-24 | 中兴通讯股份有限公司 | Simple-data processing method and device |
CN106059667A (en) * | 2016-08-09 | 2016-10-26 | 浪潮电子信息产业股份有限公司 | Visible light-based communication method and display equipment thereof |
CN107204806A (en) * | 2017-04-26 | 2017-09-26 | 珠海市魅族科技有限公司 | A kind of information interacting method and device |
CN107295344A (en) * | 2017-05-12 | 2017-10-24 | 杨铮 | The method and device of embedded graphic code in a kind of video |
CN107370538A (en) * | 2017-07-20 | 2017-11-21 | 西安电子科技大学 | Radio data transmission method, camera and system |
CN107579775A (en) * | 2017-08-24 | 2018-01-12 | 上海与德科技有限公司 | A kind of data transmission method, device, mobile terminal and storage medium |
CN107623545A (en) * | 2016-07-15 | 2018-01-23 | 中国人民解放军信息工程大学 | Document transmission method and device |
-
2018
- 2018-04-12 CN CN201810324569.1A patent/CN108512600B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103023566A (en) * | 2011-09-22 | 2013-04-03 | 深圳光启高等理工研究院 | Advertising board information transmission method and system |
CN104734779A (en) * | 2013-12-20 | 2015-06-24 | 中兴通讯股份有限公司 | Simple-data processing method and device |
CN107623545A (en) * | 2016-07-15 | 2018-01-23 | 中国人民解放军信息工程大学 | Document transmission method and device |
CN106059667A (en) * | 2016-08-09 | 2016-10-26 | 浪潮电子信息产业股份有限公司 | Visible light-based communication method and display equipment thereof |
CN107204806A (en) * | 2017-04-26 | 2017-09-26 | 珠海市魅族科技有限公司 | A kind of information interacting method and device |
CN107295344A (en) * | 2017-05-12 | 2017-10-24 | 杨铮 | The method and device of embedded graphic code in a kind of video |
CN107370538A (en) * | 2017-07-20 | 2017-11-21 | 西安电子科技大学 | Radio data transmission method, camera and system |
CN107579775A (en) * | 2017-08-24 | 2018-01-12 | 上海与德科技有限公司 | A kind of data transmission method, device, mobile terminal and storage medium |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112039587A (en) * | 2019-06-03 | 2020-12-04 | 埃克斯特朗电子实业有限公司 | Communication between a handheld device having a flashlight and an equipment having a light receiver |
CN110266384A (en) * | 2019-06-28 | 2019-09-20 | Oppo广东移动通信有限公司 | Local area network communication control method and Related product |
CN110266384B (en) * | 2019-06-28 | 2021-02-02 | Oppo广东移动通信有限公司 | Local area network communication control method and related product |
CN110380781A (en) * | 2019-07-18 | 2019-10-25 | Oppo广东移动通信有限公司 | Signal enhancing method and system and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108512600B (en) | 2021-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108512600A (en) | Face-to-face data transmission method and device | |
CN111132234B (en) | Data transmission method and corresponding terminal | |
EP2852101B1 (en) | Method and device for data transmission in wireless local area network | |
CN108495043B (en) | Image data processing method and related device | |
CN108307335A (en) | A kind of data transmission method, apparatus and system | |
CN105323004A (en) | Method, device and system for realizing information transmission based on visible light | |
EP4016868A1 (en) | Information feedback method and device, information receiving method and device, and storage medium | |
WO2020048355A1 (en) | User interface (ui) display control method and apparatus | |
CN115801102A (en) | Method, device and storage medium for downlink data | |
CN109618128A (en) | Wireless video multi-hop transmission system under a kind of car networking environment | |
CN101354752A (en) | Method and system for transporting information of smart card module | |
CN106534774A (en) | Image transmission system | |
CN100551027C (en) | The control method of video format and system thereof in the video communication | |
CN110248038B (en) | Image transmission method and system based on WIFI | |
CN106878149A (en) | A kind of foreign-going ship communication means and information switch endpoint based on wechat public number | |
CN108874343B (en) | Preview window sharing method and device | |
CN102740415B (en) | One is applied to wireless video system, control method and intelligent gateway | |
CN108156081B (en) | Wireless router emissive porwer regulation platform | |
CN104238917A (en) | Data transmission display method and system | |
CN112911132A (en) | Photographing control method, photographing control device, electronic equipment and storage medium | |
CN104168448A (en) | Monitor camera system | |
CN106850146A (en) | Picture transmission method and system | |
CN202696803U (en) | Image encoding and transmitting control chip and system | |
CN105450264A (en) | Data transmission method and device | |
CN210183461U (en) | Augmented reality device |
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 |