CN113784337A - Data transmission method and device and data transmission system - Google Patents

Data transmission method and device and data transmission system Download PDF

Info

Publication number
CN113784337A
CN113784337A CN202111221486.8A CN202111221486A CN113784337A CN 113784337 A CN113784337 A CN 113784337A CN 202111221486 A CN202111221486 A CN 202111221486A CN 113784337 A CN113784337 A CN 113784337A
Authority
CN
China
Prior art keywords
signal
data
receiving end
receiving
infrared
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
Application number
CN202111221486.8A
Other languages
Chinese (zh)
Other versions
CN113784337B (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.)
Tsinghua University
Original Assignee
Tsinghua University
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 Tsinghua University filed Critical Tsinghua University
Priority to CN202111221486.8A priority Critical patent/CN113784337B/en
Publication of CN113784337A publication Critical patent/CN113784337A/en
Application granted granted Critical
Publication of CN113784337B publication Critical patent/CN113784337B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/38Services specially adapted for particular environments, situations or purposes for collecting sensor information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Optical Communication System (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a data transmission method and device and a data transmission system.A sending end acquires current attitude data of the sending end when displaying shared data to a user, determines the current action type of the sending end based on the attitude data, and broadcasts an infrared coding signal when the action type is a pointing type; receiving a request message sent by a receiving terminal responding to an infrared coding signal, wherein the current action type of the receiving terminal is a lifting type; and the sending end verifies the identity of the receiving end based on the request message, establishes a communication link with the receiving end when the identity of the receiving end passes the verification, and sends the shared data to the receiving end through the communication link. When a user needs to share data, the user only needs to perform corresponding actions on the receiving end and the sending end, and the data can be automatically transmitted between the receiving end and the sending end, so that a simple data sharing mode is provided for the user, the data sharing process of the user is simplified, high-quality service is provided for the user, and the use experience of the user is improved.

Description

Data transmission method and device and data transmission system
Technical Field
The present invention relates to the field of data transmission technologies, and in particular, to a data transmission method and apparatus, and a data transmission system.
Background
When people use the intelligent equipment daily, data contents in the intelligent equipment, such as pictures, videos, webpages and the like, can be shared by surrounding friends, and the communication and the working efficiency of people can be greatly improved through rapid data directional sharing.
The current data sharing mode is that after a user selects shared content, a sharing key is clicked on a display interface of intelligent equipment, a sharing target is searched in a sharing equipment list searched by an intelligent terminal, and shared data is sent to the sharing equipment after the sharing equipment is selected; the current data sharing process is complicated in flow, and the experience of a user in data sharing is reduced.
Disclosure of Invention
In view of this, the present invention provides a data transmission method and apparatus, and a data transmission system, which simplify the process of data sharing performed by a user, provide a convenient data transmission manner, and improve the experience of the user in data sharing for providing a high-quality data transmission service.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
a data transmission method is applied to a sending end and comprises the following steps:
when a sending end displays shared data to a user, acquiring current attitude data of the sending end, and processing the attitude data to obtain attitude characteristic data corresponding to the attitude data;
inputting the attitude characteristic data into a preset action detection module, so that the action detection module outputs the current action type of the sending end;
when the current action type of the sending end is a pointing type, activating a preset infrared emission module to enable the infrared emission module to broadcast an infrared coding signal containing an identity character string of the sending end;
receiving a request message sent by a receiving end responding to the infrared coding signal;
and verifying the identity of the receiving end based on the request message, establishing a communication link with the receiving end when the identity verification of the receiving end is determined to pass, and sending the shared data to the receiving end through the communication link.
Optionally, the acquiring current attitude data of the sending end and processing the attitude data to obtain attitude characteristic data corresponding to the attitude data includes:
calling a preset attitude sensor to acquire current attitude data of the sending end;
and carrying out Fourier transform on the attitude data to obtain attitude characteristic data corresponding to the attitude data.
Optionally, the verifying the identity of the receiving end based on the request packet includes:
analyzing the request message to acquire the identity authentication information in the request message;
judging whether the identity authentication information contains the identity character string of the sending end;
if the identity verification information contains the identity character string of the sending end, determining that the identity of the receiving end passes verification;
and if the identity authentication information does not contain the identity character string of the sending end, determining that the identity of the receiving end is not authenticated.
Optionally, the aforementioned method, where establishing a communication link with the receiving end and sending the shared data to the receiving end through the communication link, includes:
acquiring address information of a receiving end in the request message;
establishing a communication link with the receiving end based on a preset communication protocol and the address information;
and sending the shared data to the receiving end through the communication link.
A data transmission device is applied to a sending end and comprises:
the acquisition unit is used for acquiring current attitude data of the sending terminal when the sending terminal displays shared data to a user, and processing the attitude data to obtain attitude characteristic data corresponding to the attitude data;
the input unit is used for inputting the attitude characteristic data into a preset action detection module so that the action detection module outputs the current action type of the sending end;
the activation unit is used for activating a preset infrared emission module when the current action type of the sending end is a pointing type, so that the infrared emission module broadcasts an infrared coding signal containing an identity character string of the sending end;
the acquisition unit is used for receiving a request message sent by a receiving end responding to the infrared coding signal;
and the sending unit is used for verifying the identity of the receiving end based on the request message, establishing a communication link with the receiving end when the identity verification of the receiving end is determined to pass, and sending the shared data to the receiving end through the communication link.
The above apparatus, optionally, the collecting unit includes:
the calling subunit is used for calling a preset attitude sensor to acquire the current attitude data of the sending end;
and the Fourier transform subunit is used for carrying out Fourier transform on the attitude data to obtain attitude characteristic data corresponding to the attitude data.
The above apparatus, optionally, the sending unit includes:
the analysis subunit is used for analyzing the request message to acquire the identity verification information in the request message;
a judging subunit, configured to judge whether the identity authentication information includes an identity character string of the sending end;
the first determining subunit is configured to determine that the identity of the receiving end passes the authentication if the identity authentication information includes the identity character string of the sending end;
and the second determining subunit is configured to determine that the identity of the receiving end is not verified if the identity verification information does not include the identity character string of the sending end.
The above apparatus, optionally, the sending unit includes:
an obtaining subunit, configured to obtain address information of a receiving end in the request message;
the establishing subunit is used for establishing a communication link with the receiving end based on a preset communication protocol and the address information;
a sending subunit, configured to send the shared data to the receiving end through the communication link.
A data transmission method is applied to a receiving end and comprises the following steps:
acquiring current attitude data of a receiving terminal, and processing the attitude data to obtain attitude characteristic data corresponding to the attitude data;
inputting the attitude characteristic data into a preset action detection module, so that the action detection module outputs the current action type of the receiving end;
when the current action type of the receiving end is a lifting type, activating a preset progressive light sensor to enable the progressive light sensor to collect an environment infrared signal within a preset receiving time;
after the environment infrared signals are collected, decoding each infrared coding signal in the environment infrared signals to obtain a signal oscillogram of each infrared coding signal, and generating the matching probability of each infrared coding signal based on the signal oscillogram of each infrared coding signal;
based on the matching probability of each infrared coded signal, taking the infrared coded signal corresponding to the matching probability with the maximum value as a target signal;
extracting the identity character string in the target signal, generating a request message based on the identity information of the receiving end and the identity character string in the target signal, and broadcasting the request message;
and receiving the shared data sent by the sending end responding to the request message.
Optionally, the above method, wherein the generating a matching probability of the ir-coded signal based on the signal waveform diagram includes:
comparing the signal oscillogram with a preset first signal threshold value, and determining a waveform area which is greater than or equal to the first signal threshold value in the signal oscillogram;
counting the time sum of waveform areas which are larger than or equal to the first signal threshold value in the signal waveform diagram;
and calculating the time sum and the receiving duration to obtain the matching probability of the infrared coded signals.
Optionally, the above method, wherein the generating a matching probability of the ir-coded signal based on the signal waveform diagram includes:
on the basis of a preset averaging rule, averaging the signal waveform diagram to obtain a plurality of waveform segments corresponding to the signal waveform diagram, wherein the time length of each waveform segment is the same;
for each waveform segment, comparing the waveform segment with a preset second signal threshold, determining a waveform area which is greater than or equal to the second signal threshold in the waveform segment, and determining the signal duration which is greater than or equal to the preset waveform area of the second signal in the waveform segment;
comparing each signal duration with a preset duration threshold, and determining the number of the signal durations which are greater than or equal to the duration threshold, wherein the duration threshold is less than or equal to the time length of the waveform segment;
and calculating the number of the signal durations which are greater than or equal to the time threshold and the number of the waveform segments to obtain the matching probability of the infrared coded signal.
A data transmission device is applied to a receiving end and comprises:
the data processing unit is used for acquiring current attitude data of a receiving end and processing the attitude data to obtain attitude characteristic data corresponding to the attitude data;
the output unit is used for inputting the attitude characteristic data into a preset action detection module so that the action detection module outputs the current action type of the receiving end;
the first receiving unit is used for activating a preset progressive light sensor when the current action type of the receiving end is a lifting type, so that the progressive light sensor collects an environment infrared signal within a preset receiving time length;
the decoding unit is used for decoding each infrared coding signal in the environment infrared signals after the environment infrared signals are collected to obtain a signal oscillogram of each infrared coding signal, and generating the matching probability of each infrared coding signal based on the signal oscillogram of each infrared coding signal;
the determining unit is used for taking the infrared coded signal corresponding to the matching probability with the maximum value as a target signal based on the matching probability of each infrared coded signal;
the extracting unit is used for extracting the identity character string in the target signal, generating a request message based on the identity information of the receiving terminal and the identity character string in the target signal, and broadcasting the request message;
and the second receiving unit is used for receiving the shared data sent by the sending end responding to the request message.
The above apparatus, optionally, the decoding unit includes:
the first comparison subunit is used for comparing the signal waveform diagram with a preset first signal threshold value and determining a waveform area which is greater than or equal to the first signal threshold value in the signal waveform diagram;
the statistical subunit is used for counting the time sum of waveform areas which are greater than or equal to the first signal threshold value in the signal waveform diagram;
and the first operation subunit is used for operating the time sum and the receiving duration to obtain the matching probability of the infrared coded signal.
The above apparatus, optionally, the decoding unit includes:
the averaging unit is used for averaging the signal waveform diagram based on a preset averaging rule to obtain a plurality of waveform segments corresponding to the signal waveform diagram, wherein the time length of each waveform segment is the same;
the second comparison subunit is configured to compare, for each waveform segment, the waveform segment with a preset second signal threshold, determine a waveform region greater than or equal to the second signal threshold in the waveform segment, and determine a signal duration of the waveform region greater than or equal to the preset waveform region of the second signal in the waveform segment;
the third comparison subunit is configured to compare each of the signal durations with a preset duration threshold, and determine the number of the signal durations greater than or equal to the duration threshold, where the duration threshold is less than or equal to the time length of the waveform segment;
and the second operation subunit is used for operating the number of the signal durations which are greater than or equal to the time threshold and the number of the waveform segments to obtain the matching probability of the infrared coding signal.
A data transmission system comprising:
a sending end and a receiving end;
wherein:
the sending terminal is used for executing the data transmission method applied to the sending terminal;
the receiving end is used for executing the data transmission method applied to the receiving end.
Compared with the prior art, the invention has the following advantages:
the invention provides a data transmission method and device and a data transmission system.A sending end acquires current attitude data of the sending end when displaying shared data to a user, determines the current action type of the sending end based on the attitude data, and broadcasts an infrared coding signal when the action type is a pointing type; receiving a request message sent by a receiving terminal responding to an infrared coding signal, wherein the current action type of the receiving terminal is a lifting type; and the sending end verifies the identity of the receiving end based on the request message, establishes a communication link with the receiving end when the identity of the receiving end passes the verification, and sends the shared data to the receiving end through the communication link. When a user needs to share data, the user only needs to perform corresponding actions on the receiving end and the sending end, and the data can be automatically transmitted between the receiving end and the sending end, so that a simple data sharing mode is provided for the user, the flow of the user in data sharing is simplified, high-quality service is provided for the user, and the use experience of the user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method of data transmission according to an embodiment of the present invention;
fig. 2 is a flowchart of another method of a data transmission method according to an embodiment of the present invention;
fig. 3 is a flowchart of another method of a data transmission method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a data transmission system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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.
In this application, 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 an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
In order to provide a high-quality data sharing service for a user and improve the application experience of the user during data sharing, the invention provides a data transmission method and device and a data transmission system, which are used for providing a simple and convenient data sharing mode for the user and improving the experience of the user.
The data transmission method provided by the invention is applied to a sending end, the sending end can be various intelligent devices such as a smart phone, an IPAD and the like, an execution main body of the invention can be a processor or a server of the sending end, and referring to FIG. 1, a method flow chart of the data transmission method provided by the embodiment of the invention is specifically described as follows:
s101, when a sending end displays shared data to a user, acquiring current attitude data of the sending end, and processing the attitude data to obtain attitude characteristic data corresponding to the attitude data.
The sending end can be an intelligent mobile terminal device such as a smart phone and an IPAD, wherein shared data displayed by a user using the sending end can be data which can be shared in other forms such as pictures, videos, audios and texts. Further, the transmitting end may serve as a transmitting end when transmitting data, and may serve as a receiving end when the transmitting end needs to receive data.
The method comprises the steps that a sending end acquires current attitude data of the sending end by using a preset attitude sensor, wherein the attitude sensor is preset in the sending end, the attitude sensor is a high-performance three-dimensional motion attitude measurement system based on an MEMS technology and comprises a three-axis gyroscope, a three-axis accelerometer, a three-axis electronic compass and other motion sensors, and the data of the three-dimensional attitude, the orientation and the like subjected to temperature compensation are obtained through an embedded low-power ARM processor; the acquired attitude data may specifically be IMU data, specifically, data such as three-axis acceleration, three-axis angular velocity, and three-axis attitude of the transmitting end.
When the attitude data is processed, the attitude data can be subjected to fourier transform processing based on short fourier transform, so that attitude characteristic data corresponding to the attitude data is obtained, specifically, the attitude characteristic data includes, but is not limited to, a frequency spectrum characteristic, a transient attitude characteristic, a time sequence attitude characteristic and data fused with various characteristics, and the attitude characteristic data is characteristic data used for determining an action type of a transmitting end. When the orientation description is subjected to the fourier transform processing, other fourier transforms, specifically, fast fourier transform, discrete fourier transform, and the like, may be applied in addition to the short fourier transform.
S102, inputting the attitude characteristic data into a preset action detection module, and enabling the action detection module to output the current action type of the sending end.
The action detection module is preset in the sending end and is a machine learning classification model which is trained in advance, wherein the machine learning classification model comprises but is not limited to models with learning classification such as a vector machine, a decision tree, a random forest, a Boosting model and the like.
And the action model detection module processes the attitude characteristic data according to the trained parameters so as to output the current action type of the sending end, wherein the action type is classified into a no-action type, a pointing type or a lifting type, and when the action type is the no-action type, the sending end is determined not to share the data.
S103, when the current action type of the sending end is a pointing type, activating a preset infrared emission module to enable the infrared emission module to broadcast an infrared coding signal containing the identity character string of the sending end.
When the action type output by the action model detection module is a pointing type, the sending end can determine that a user needs to share the displayed shared data, and then the sending end activates the infrared emission module, so that the infrared emission module continuously broadcasts an infrared coding signal containing an identity character string of the sending end within a preset sending time length; the sending time length can be set according to actual requirements, specifically such as 1 minute, 30 seconds and the like; furthermore, the infrared transmitting module is preset in the transmitting end, the infrared transmitting module is in a dormant state when not being activated, namely the infrared transmitting module is not in a working state, the infrared transmitting module is in the working state after being activated, the infrared transmitting module is activated when the user is determined to need to share data, the energy consumption of the transmitting end can be effectively saved, the cruising ability of the transmitting end is improved, and high-quality experience is provided for the user.
The method comprises the steps that an infrared coding signal continuously broadcasted by an infrared emission module within a preset sending time length is a coded infrared signal, wherein an identity character string is coded into the infrared signal of the infrared emission module by a sending end according to a preset coding mode to obtain the infrared coding signal, and the preset coding mode can be a Hash coding method or other methods capable of coding the infrared signal; further, the identity string of the sender includes, but is not limited to, other information such as the MAC address, the IP address, and the device identification code of the sender. Because the identity character strings of different sending terminals are different, the signal characteristics of the infrared coding signals broadcasted by different sending terminals, such as frequency, phase and the like, are different.
And S104, receiving a request message sent by a receiving end responding to the infrared coding signal.
After broadcasting the infrared coding signal, the sending terminal judges whether a request message sent by the receiving terminal responding to the infrared coding signal is received or not within a preset receiving time, wherein the receiving time can be a self-defined time length of 1 minute or 30 seconds and the like, if the request message sent by the receiving terminal responding to the infrared coding signal is not received within the receiving time, the condition that the response of the sending terminal is overtime is determined, at the moment, a user needs to be reminded of the condition that the response is overtime, and the attitude data of the sending terminal can be collected again.
When a request message sent by the receiving end responding to the infrared signal codes is received within the receiving time, S105 can be executed, the sending end can also be preset with a progressive light sensor, and the sending end activates the progressive light sensor while activating the infrared emission module, so that the sending end can use the progressive light sensor to receive the request message sent by the receiving end.
S105, verifying the identity of the receiving end based on the request message, establishing a communication link with the receiving end when the identity of the receiving end is determined to pass the verification, and sending the shared data to the receiving end through the communication link.
After receiving the request message sent by the receiving end, the sending end needs to verify the identity of the receiving end, and the specific process of verifying is as follows:
analyzing the request message to acquire the identity authentication information in the request message;
judging whether the identity authentication information contains the identity character string of the sending end;
if the identity verification information contains the identity character string of the sending end, determining that the identity of the receiving end passes verification;
and if the identity authentication information does not contain the identity character string of the sending end, determining that the identity of the receiving end is not authenticated.
When judging whether the identity authentication information contains the identity character string of the sending end, comparing the identity authentication character string in the identity authentication information with the identity character string of the sending end to determine whether the identity authentication information contains the identity character string of the sending end, and if the identity authentication character string in the identity authentication information is consistent with the identity character string of the sending end, determining that the identity authentication information contains the identity character string of the sending end; and if the identity verification character string in the identity verification information is inconsistent with the identity character string of the sending end, determining that the identity verification information does not contain the identity character string of the sending end.
In the method provided by the embodiment of the invention, the identity verification information comprises the identity information of the receiving terminal and the identity character string extracted by the receiving terminal from the received infrared coding signal.
The transmitting end can determine that the receiving end is a terminal for receiving the infrared coding signal broadcasted by the transmitting end by verifying the identity of the receiving end, so that the validity of the identity of the receiving end can be ensured, the accuracy and the safety of data transmission can be ensured, and errors and data leakage in data transmission can be effectively avoided.
After the identity of the receiving end passes the verification, a communication link is established between the sending end and the receiving end so as to transmit the shared data to the receiving end through the communication link, wherein the sending end acquires the address information of the receiving end in the request message and establishes the communication link according to a preset communication protocol and the address information of the receiving end so as to transmit the shared data to the receiving end through the communication link; the address information of the receiving end may specifically be information such as an IP address, a MAC address, and the like, and the communication protocol specifically includes but is not limited to a bluetooth transmission protocol, a WIFI communication protocol, or an AP communication protocol.
The data transmission method provided by the embodiment of the invention is applied to a sending end, when the sending end displays shared data to a user, the current action type of the sending end is determined according to the attitude data of the sending end, and an infrared coding signal is broadcast when the action type is a pointing type; and receiving a request message sent by a receiving terminal responding to the infrared coding signal, carrying out identity verification on the receiving terminal, establishing a communication link with the receiving terminal when the identity verification of the receiving terminal passes, and sending shared data to the receiving terminal through the communication link. When the sending end shows shared data to a user, when the action type of the sending end is judged to be the pointing type, the shared data can be sent to a receiving end responding to an infrared coding signal broadcasted by the sending end, and when the user needs to share the data, the user only needs to carry out the pointing action on the sending end to share the data, so that a convenient and fast data sharing mode is provided for the user, a better service is provided for the user, and the experience of the user in sharing the data is improved.
The data transmission method provided in the embodiment of the present invention is also applied to a receiving end, and is a method flowchart of the data transmission method applied to the receiving end, referring to fig. 2, which specifically describes the following:
s201, collecting current attitude data of a receiving end, and processing the attitude data to obtain attitude characteristic data corresponding to the attitude data.
The receiving end in the invention can be an intelligent mobile terminal device such as a smart phone, an IPAD and the like, wherein the receiving end can be used as a sending end when the shared data needs to be sent, and the sending end can be used as the receiving end when the shared data needs to be received.
The receiving end is preset with an attitude sensor, and the receiving end uses the attitude sensor to acquire its own current attitude data, wherein the description of the attitude sensor, the attitude data, and the attitude characteristic data can refer to the related description in fig. 1 above, and the description thereof is not repeated here.
A receiving terminal calls a preset attitude sensor to acquire the current attitude data of the receiving terminal; carrying out Fourier transform on the attitude data to obtain attitude characteristic data corresponding to the attitude data; it should be noted that, the receiving end and the sending end are both provided with attitude sensors, and the attitude sensors are used for acquiring attitude data.
It should be noted that the modules arranged in the receiving end and the sending end are the same, in other words, the infrared emission module, the attitude sensor, the motion detection module, the progressive light sensor and the like are arranged in both the receiving end and the sending end, so that the receiving end and the sending end can be switched according to actual application requirements in actual application.
S202, inputting the attitude characteristic data into a preset action detection module, and enabling the action detection module to output the current action type of the receiving end.
The motion detection module and the process of processing the pose feature data by the motion detection module can refer to the related description of fig. 1, and are not described herein again.
S203, when the current action type of the receiving end is a lifting type, activating a preset progressive light sensor, and enabling the progressive light sensor to collect an environment infrared signal within a preset receiving time.
In the method provided by the invention, when the action state is the lifting type, the terminal is lifted by the user, and the terminal can be further determined to be in a data receiving state, wherein the action state indicates that the receiving end needs to receive the shared data sent by the sending end.
When the action type is the lifting type, the receiving end activates a progressive light sensor which is used for collecting an environment infrared signal; after the progressive light sensor is activated, the ambient infrared signal is continuously received within a preset receiving time, wherein the receiving time can be 10 seconds or 15 seconds, the receiving time can be set according to actual requirements, S204 can be executed if the progressive light sensor collects the ambient infrared signal, and preferably, the collected ambient infrared signal contains at least one infrared coding signal, wherein when the progressive light sensor at the receiving end works, the progressive light sensor at the receiving end may receive infrared signals or noise signals sent by other devices besides the infrared coding signal sent by the sending end, and therefore, the ambient infrared signal contains at least one infrared coding signal.
Preferably, the progressive light sensor in the present invention may not collect the ambient infrared signal within the receiving duration, and if the progressive light sensor cannot collect the ambient infrared signal within the receiving duration, a subsequent procedure is not required to be executed, and a prompt message may be generated, where the prompt message is used to notify a user using a receiving end that the received signal is overtime or that the infrared signal is not received within the receiving duration.
S204, after the environment infrared signals are collected, decoding each infrared coding signal in the environment infrared signals to obtain a signal oscillogram of each infrared coding signal, and generating the matching probability of each infrared coding signal based on the signal oscillogram of each infrared coding signal.
After receiving the environment infrared signal, the receiving end needs to determine the matching probability of each infrared coded signal of the environment infrared signal, the invention provides two determination modes, which are specifically described as follows:
the first method is as follows:
comparing the signal oscillogram with a preset first signal threshold value, and determining a waveform area which is greater than or equal to the first signal threshold value in the signal oscillogram;
counting the time sum of waveform areas which are larger than or equal to the first signal threshold value in the signal waveform diagram;
and calculating the time sum and the receiving duration to obtain the matching probability of the infrared coded signals.
For each infrared coding signal in the environment infrared signal, decoding the infrared coding signal to obtain a signal waveform diagram of the infrared coding signal, comparing a first signal threshold value in the signal waveform diagram to obtain a waveform area which is greater than or equal to the first signal threshold value in the signal waveform diagram, wherein the first signal threshold value may be a frequency value or an amplitude value, the first signal threshold value may be set according to actual requirements, determining a time sum of the waveform area which is greater than or equal to the first signal threshold value in the signal waveform diagram, and calculating the time sum and a receiving duration to obtain a ratio of the time sum to the receiving duration, and taking the ratio as a matching probability of the infrared coding signal, specifically: the matching probability of the ir-encoded signal (reception duration/time sum).
The second method comprises the following steps:
on the basis of a preset averaging rule, averaging the signal waveform diagram to obtain a plurality of waveform segments corresponding to the signal waveform diagram, wherein the time length of each waveform segment is the same;
for each waveform segment, comparing the waveform segment with a preset second signal threshold, determining a waveform area which is greater than or equal to the second signal threshold in the waveform segment, and determining the signal duration which is greater than or equal to the preset waveform area of the second signal in the waveform segment;
comparing each signal duration with a preset duration threshold, and determining the number of the signal durations which are greater than or equal to the duration threshold, wherein the duration threshold is less than the time length of the waveform segment;
and calculating the number of the signal durations which are greater than or equal to the time threshold and the number of the waveform segments to obtain the matching probability of the infrared coded signal.
The method comprises the steps of averaging a signal waveform diagram according to a preset averaging rule to obtain a plurality of waveform segments, wherein the time length of each waveform segment is the same, the averaging number is set in the averaging rule and is the number of the waveform segments obtained after the signal waveform diagram is averaged, the waveform segments can be averaged according to the averaging number set in the averaging rule to obtain a plurality of waveform segments, and the time length of each waveform segment is the same.
The second signal threshold is a preset value, specifically, an amplitude value or a frequency value of the signal, for each waveform segment, the waveform segment is compared with the second signal threshold to obtain a waveform area greater than or equal to the second signal threshold in the waveform segment, and the signal duration of the waveform area greater than or equal to the second signal threshold is determined.
Comparing each signal duration with a preset duration threshold value to determine the number of signal durations which are greater than or equal to the duration threshold value in each signal duration, comparing the number of the signal durations which are greater than or equal to the duration threshold value with the number of the waveform segments to obtain the matching probability of the infrared coded signal, and further comparing the matching probability of the infrared coded signal with the number of the signal durations which are greater than or equal to the duration threshold value/the number of the waveform segments.
According to the method provided by the embodiment of the invention, the matching probability of each infrared coding signal is calculated according to the signal oscillogram of the infrared coding signal, so that each infrared coding signal can be screened according to the matching probability of each infrared coding signal, and the infrared coding signal broadcasted by the sending end which determines the data to be transmitted can be obtained.
And S205, based on the matching probability of each infrared coded signal, taking the infrared coded signal corresponding to the matching probability with the maximum value as a target signal.
S206, extracting the identity character string in the target signal, generating a request message based on the identity information of the receiving terminal and the identity character string in the target signal, and broadcasting the request message.
Decoding the target signal to extract the identity character string in the target signal, wherein a manner of decoding the target signal corresponds to a manner of encoding the infrared signal in the sending end, and specifically, if the manner of encoding the infrared signal in the sending end is a hash encoding manner, a manner of decoding the target signal in the receiving end is a hash decoding manner.
The method comprises the steps of extracting an identity character string from a target signal, encoding the identity character string and identity information of a receiving end to obtain a request message, broadcasting the request message so that a sending end can obtain the request message broadcasted by the receiving end, and further broadcasting the request message by using an infrared sending module arranged in the receiving end when the receiving end broadcasts the request message. The identity information of the receiving end includes but is not limited to a device identifier and address information of the receiving end, and the address information includes but is not limited to an IP address and an MAC address of the receiving end; the device identifier may be a device identification code or a device identification string of the receiving end.
S207, receiving the shared data sent by the sending end responding to the request message.
After the receiving end broadcasts the request message, the sending end obtains the request message broadcasted by the receiving end, the sending end verifies the identity of the receiving end according to the request message, and when the identity of the receiving end passes the verification, the sending end and the receiving end establish a communication link and send shared data to the receiving end through the communication link, in other words, the receiving end receives the shared data sent by the sending end through the communication link.
In the method provided by the embodiment of the invention, a receiving end collects current attitude data of the receiving end and determines a current action state of the attitude data, when the action state is a lifting type, a progressive optical sensor is used for receiving at least one infrared coding signal and processing each infrared coding signal to obtain a signal oscillogram of each infrared coding signal, and the matching probability of each infrared coding signal is determined according to the signal oscillogram of each infrared coding signal; and taking the infrared coding signal corresponding to the maximum matching probability of the numerical value as a target signal, generating a request message according to the identity character string in the target signal and the identity information of the receiving end, broadcasting the request message, and receiving the shared data sent by the sending end responding to the request message. The receiving end can determine that the shared data sent by the sending end needs to be received through the lifting action, and the shared data sent by the sending end can be received through the broadcast request message after the sending end confirms the identity, so that the data transmission is completed, a fast and convenient data transmission mode is provided for users, the data is shared among the users, a more convenient data sharing mode is provided for the users, and the use experience of the users in sharing the data is improved.
Referring to fig. 3, a flowchart of a method for data transmission according to an embodiment of the present invention is specifically described as follows:
the transmitting end performs steps S301 to S306, and the receiving end performs steps S401 to S404, describing the workflow of the transmitting end and the receiving end.
The work flow of the sending end is as follows:
s301, acquiring attitude data of the sending end, and determining the action type of the sending end based on the attitude data.
And S302, when the action type of the sending end is the pointing type, generating an infrared coding signal containing the identity character string of the sending end.
And S303, broadcasting the infrared coding signal by the sending terminal.
S304, receiving the request message of the sending end and verifying the identity of the receiving end.
S305, when the identity of the receiving end passes the verification, a communication link is established with the receiving end.
And S306, transmitting the shared data through the communication link.
The working process of the receiving end is as follows:
s401, acquiring the posture data of the receiving end, and determining the action type of the receiving end based on the posture data.
S402, when the action type of the receiving end is a lifting type, activating a progressive light sensor, and receiving an infrared coding signal by using the progressive light sensor.
S403, generating a request message.
S404, broadcasting the request message.
The process shown in fig. 3 is further explained by an application scenario, which is specifically explained as follows:
the sending end and the receiving end in fig. 3 may be different intelligent mobile terminals, where user a uses terminal 1 and user B uses terminal 2.
When a user A displays shared data by using a terminal 1, the user A needs to share the shared data which is being browsed to a user B, at the moment, the terminal 1 serves as a sending end, and a terminal 2 serves as a receiving end; the user A informs the user B that the user B is going to share data with the user A, and then the user B lifts the terminal 2, and the user A uses the terminal 1 to point to the terminal 2.
After the user A uses the terminal 1 to point to the terminal 2, the terminal 1 determines that the current action type is the pointing type according to the collected attitude data, and the terminal 1 broadcasts the infrared coding signal containing the self identity character string.
After the user B lifts the terminal 2, the terminal 2 determines that the current action type is the lifting type according to the collected posture data, the terminal 2 activates the progressive light sensor so that the progressive light sensor receives the infrared coding signal broadcasted by the sending end, and the terminal 2 generates a request message and broadcasts the request message after receiving the infrared coding signal.
The terminal 1 acquires a request message broadcast by a receiving terminal, verifies the identity of the terminal 2 based on the request message, establishes a communication link with the terminal 2 when the identity verification of the terminal 2 passes, and sends shared data to the receiving terminal through the communication link, so that data transmission is completed between the terminal 1 and the terminal 2, and data sharing is completed between the user A and the user B.
It should be noted that, in practical application, when the user B wants to share data with the user a, the terminal 2 used by the user B serves as a sending end; the terminal 1 used by the user A is used as a receiving terminal; the process of transmitting data from the terminal 2 to the terminal 1 may refer to the process of transmitting data from the terminal 1 to the terminal 2, and will not be described herein again.
Preferably, the sending end provided by the present invention can share data to multiple receiving ends at the same time, continue the description of the user a for sharing data with the user B, and describe the situation that one sending end transmits data to multiple receiving ends, specifically, if the user a needs to share data with the user B and the user C, the user C uses the terminal 3; the terminal used by the user C is also the receiving terminal; for convenience of explanation, the terminal 3 used by the user C is identified as the receiving end 2, and the receiving end of the user B is identified as the receiving end 1.
The user A informs the user B and the user C that data are shared with the user B and the user C, therefore, the user A can point to the terminal 2 and the terminal 3, the user B lifts the terminal 2, the user C lifts the terminal 3, the terminal 1 is connected with the terminal 2 and the terminal 3, the data needing to be shared are sent to the terminal 2 and the terminal 3, and then the data can be shared to multiple ends.
According to the method, the action type is determined, and then data sharing is carried out, and the user can carry out data transmission only by finishing the action of the sending end and the action of the receiving end.
With reference to fig. 1, an embodiment of the present invention further provides a data transmission apparatus, which is applied to a sending end, where the sending end is specifically an intelligent mobile device, and the apparatus is used to support application of the method shown in fig. 1 in actual life, and a schematic structural diagram of the apparatus is shown in fig. 4, which specifically describes the following:
the acquiring unit 501 is configured to acquire current attitude data of a sending terminal when the sending terminal shows shared data to a user, and process the attitude data to obtain attitude feature data corresponding to the attitude data;
an input unit 502, configured to input the posture characteristic data into a preset action detection module, so that the action detection module outputs a current action type of the sending end;
an activating unit 503, configured to activate a preset infrared transmitting module when the current action type of the transmitting end is a pointing type, so that the infrared transmitting module broadcasts an infrared encoding signal including an identity character string of the transmitting end;
an obtaining unit 504, configured to receive a request packet sent by a receiving end responding to the infrared encoded signal;
a sending unit 505, configured to verify the identity of the receiving end based on the request packet, establish a communication link with the receiving end when it is determined that the identity of the receiving end passes the verification, and send the shared data to the receiving end through the communication link.
The data transmission device provided by the embodiment of the invention is applied to the sending end, when the sending end displays shared data to a user, the current action type of the sending end is determined according to the attitude data of the sending end, and an infrared coding signal is broadcast when the action type is a pointing type; and receiving a request message sent by a receiving terminal responding to the infrared coding signal, carrying out identity verification on the receiving terminal, establishing a communication link with the receiving terminal when the identity verification of the receiving terminal passes, and sending shared data to the receiving terminal through the communication link. When the sending end shows shared data to a user, when the action type of the sending end is judged to be the pointing type, the shared data can be sent to a receiving end responding to an infrared coding signal broadcasted by the sending end, and when the user needs to share the data, the user only needs to execute the pointing action on the sending end to share the data, so that a convenient and fast data sharing mode is provided for the user, a better service is provided for the user, and the experience of the user in sharing the data is improved.
In the apparatus provided in the embodiment of the present invention, the acquisition unit 501 may be configured as:
the calling subunit is used for calling a preset attitude sensor to acquire the current attitude data of the sending end;
and the Fourier transform subunit is used for carrying out Fourier transform on the attitude data to obtain attitude characteristic data corresponding to the attitude data.
In the apparatus provided in the embodiment of the present invention, the sending unit 505 may be configured to:
the analysis subunit is used for analyzing the request message to acquire the identity verification information in the request message;
a judging subunit, configured to judge whether the identity authentication information includes an identity character string of the sending end;
the first determining subunit is configured to determine that the identity of the receiving end passes the authentication if the identity authentication information includes the identity character string of the sending end;
and the second determining subunit is configured to determine that the identity of the receiving end is not verified if the identity verification information does not include the identity character string of the sending end.
In the apparatus provided in the embodiment of the present invention, the sending unit 505 may be configured to:
an obtaining subunit, configured to obtain address information of a receiving end in the request message;
the establishing subunit is used for establishing a communication link with the receiving end based on a preset communication protocol and the address information;
a sending subunit, configured to send the shared data to the receiving end through the communication link.
With reference to fig. 2, an embodiment of the present invention further provides a data transmission apparatus, which is applied to a receiving end, where the receiving end is specifically an intelligent mobile device, and the apparatus is used to support the application of the method shown in fig. 2 in actual life, and a schematic structural diagram of the apparatus is shown in fig. 5, and specifically described as follows:
the data processing unit 601 is configured to acquire current attitude data of a receiving end, and process the attitude data to obtain attitude feature data corresponding to the attitude data;
an output unit 602, configured to input the posture feature data into a preset action detection module, so that the action detection module outputs a current action type of the receiving end;
a first receiving unit 603, configured to activate a preset progressive light sensor when the current motion type of the receiving end is a lift type, so that the progressive light sensor collects an ambient infrared signal within a preset receiving duration;
the decoding unit 604 is configured to decode each infrared coded signal in the environment infrared signals after acquiring the environment infrared signals, obtain a signal waveform diagram of each infrared coded signal, and generate a matching probability of each infrared coded signal based on the signal waveform diagram of each infrared coded signal;
a determining unit 605, configured to use, as a target signal, an infrared coded signal corresponding to a matching probability with a maximum value based on the matching probability of each infrared coded signal;
an extracting unit 606, configured to extract the identity character string in the target signal, generate a request packet based on the identity information of the receiving end and the identity character string in the target signal, and broadcast the request packet;
a second receiving unit 607, configured to receive shared data sent by a sending end in response to the request message.
The data transmission device provided by the embodiment of the invention is applied to a receiving end, the receiving end collects the current attitude data of the receiving end and determines the current action state of the attitude data, when the action state is a lifting type, the progressive optical sensor is used for receiving at least one infrared coding signal and processing each infrared coding signal to obtain a signal oscillogram of each infrared coding signal, and the matching probability of each infrared coding signal is determined according to the signal oscillogram of each infrared coding signal; and taking the infrared coding signal corresponding to the maximum matching probability of the numerical value as a target signal, generating a request message according to the identity character string in the target signal and the identity information of the receiving end, broadcasting the request message, and receiving the shared data sent by the sending end responding to the request message. The receiving end can determine that the shared data sent by the sending end needs to be received through the lifting action, and the shared data sent by the sending end can be received through the broadcast request message after the sending end confirms the identity, so that the data transmission is completed, a fast and convenient data transmission mode is provided for users, the data is shared among the users, a more convenient data sharing mode is provided for the users, and the use experience of the users in sharing the data is improved.
In the apparatus provided in the embodiment of the present invention, the decoding unit 604 may be configured to:
the first comparison subunit is used for comparing the signal waveform diagram with a preset first signal threshold value and determining a waveform area which is greater than or equal to the first signal threshold value in the signal waveform diagram;
the statistical subunit is used for counting the time sum of waveform areas which are greater than or equal to the first signal threshold value in the signal waveform diagram;
and the first operation subunit is used for operating the time sum and the receiving duration to obtain the matching probability of the infrared coded signal.
In the apparatus provided in the embodiment of the present invention, the decoding unit 604 may be configured to:
the averaging unit is used for averaging the signal waveform diagram based on a preset averaging rule to obtain a plurality of waveform segments corresponding to the signal waveform diagram, wherein the time length of each waveform segment is the same;
the second comparison subunit is configured to compare, for each waveform segment, the waveform segment with a preset second signal threshold, determine a waveform region greater than or equal to the second signal threshold in the waveform segment, and determine a signal duration of the waveform region greater than or equal to the preset waveform region of the second signal in the waveform segment;
the third comparison subunit is configured to compare each of the signal durations with a preset duration threshold, and determine the number of the signal durations greater than or equal to the duration threshold, where the duration threshold is less than or equal to the time length of the waveform segment;
and the second operation subunit is used for operating the number of the signal durations which are greater than or equal to the time threshold and the number of the waveform segments to obtain the matching probability of the infrared coding signal.
An embodiment of the present invention further provides a data transmission system, which is used to support the implementation of fig. 1 and fig. 2 in practical application, and a schematic structural diagram of the system is shown in fig. 6, and specifically includes a sending end 701 and a receiving end 702;
the sending end 701 performs the following operations:
when a sending end displays shared data to a user, acquiring current attitude data of the sending end, and processing the attitude data to obtain attitude characteristic data corresponding to the attitude data;
inputting the attitude characteristic data into a preset action detection module, so that the action detection module outputs the current action type of the sending end;
when the current action type of the sending end is a pointing type, activating a preset infrared emission module to enable the infrared emission module to broadcast an infrared coding signal containing an identity character string of the sending end;
receiving a request message sent by a receiving end responding to the infrared coding signal;
verifying the identity of the receiving end based on the request message, establishing a communication link with the receiving end when the identity verification of the receiving end is determined to pass, and sending the shared data to the receiving end through the communication link;
the receiving end 702 performs the following operations:
acquiring current attitude data of a receiving terminal, and processing the attitude data to obtain attitude characteristic data corresponding to the attitude data;
inputting the attitude characteristic data into a preset action detection module, so that the action detection module outputs the current action type of the receiving end;
when the current action type of the receiving end is a lifting type, activating a preset progressive light sensor to enable the progressive light sensor to collect an environment infrared signal within a preset receiving time;
after the environment infrared signals are collected, decoding each infrared coding signal in the environment infrared signals to obtain a signal oscillogram of each infrared coding signal, and generating the matching probability of each infrared coding signal based on the signal oscillogram of each infrared coding signal;
based on the matching probability of each infrared coded signal, taking the infrared coded signal corresponding to the matching probability with the maximum value as a target signal;
extracting the identity character string in the target signal, generating a request message based on the identity information of the receiving end and the identity character string in the target signal, and broadcasting the request message;
and receiving the shared data sent by the sending end responding to the request message.
The specific implementation procedures and derivatives thereof of the above embodiments are within the scope of the present invention.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A data transmission method is applied to a sending end and comprises the following steps:
when a sending end displays shared data to a user, acquiring current attitude data of the sending end, and processing the attitude data to obtain attitude characteristic data corresponding to the attitude data;
inputting the attitude characteristic data into a preset action detection module, so that the action detection module outputs the current action type of the sending end;
when the current action type of the sending end is a pointing type, activating a preset infrared emission module to enable the infrared emission module to broadcast an infrared coding signal containing an identity character string of the sending end;
receiving a request message sent by a receiving end responding to the infrared coding signal;
and verifying the identity of the receiving end based on the request message, establishing a communication link with the receiving end when the identity verification of the receiving end is determined to pass, and sending the shared data to the receiving end through the communication link.
2. The method according to claim 1, wherein the acquiring current attitude data of the transmitting end and processing the attitude data to obtain attitude feature data corresponding to the attitude data comprises:
calling a preset attitude sensor to acquire current attitude data of the sending end;
and carrying out Fourier transform on the attitude data to obtain attitude characteristic data corresponding to the attitude data.
3. The method according to claim 1, wherein the verifying the identity of the receiving end based on the request packet comprises:
analyzing the request message to acquire the identity authentication information in the request message;
judging whether the identity authentication information contains the identity character string of the sending end;
if the identity verification information contains the identity character string of the sending end, determining that the identity of the receiving end passes verification;
and if the identity authentication information does not contain the identity character string of the sending end, determining that the identity of the receiving end is not authenticated.
4. The method of claim 1, wherein the establishing a communication link with the receiving end and sending the shared data to the receiving end through the communication link comprises:
acquiring address information of a receiving end in the request message;
establishing a communication link with the receiving end based on a preset communication protocol and the address information;
and sending the shared data to the receiving end through the communication link.
5. A data transmission apparatus, applied to a transmitting end, comprising:
the acquisition unit is used for acquiring current attitude data of the sending terminal when the sending terminal displays shared data to a user, and processing the attitude data to obtain attitude characteristic data corresponding to the attitude data;
the input unit is used for inputting the attitude characteristic data into a preset action detection module so that the action detection module outputs the current action type of the sending end;
the activation unit is used for activating a preset infrared emission module when the current action type of the sending end is a pointing type, so that the infrared emission module broadcasts an infrared coding signal containing an identity character string of the sending end;
the acquisition unit is used for receiving a request message sent by a receiving end responding to the infrared coding signal;
and the sending unit is used for verifying the identity of the receiving end based on the request message, establishing a communication link with the receiving end when the identity verification of the receiving end is determined to pass, and sending the shared data to the receiving end through the communication link.
6. A data transmission method is applied to a receiving end and comprises the following steps:
acquiring current attitude data of a receiving terminal, and processing the attitude data to obtain attitude characteristic data corresponding to the attitude data;
inputting the attitude characteristic data into a preset action detection module, so that the action detection module outputs the current action type of the receiving end;
when the current action type of the receiving end is a lifting type, activating a preset progressive light sensor to enable the progressive light sensor to collect an environment infrared signal within a preset receiving time;
after the environment infrared signals are collected, decoding each infrared coding signal in the environment infrared signals to obtain a signal oscillogram of each infrared coding signal, and generating the matching probability of each infrared coding signal based on the signal oscillogram of each infrared coding signal;
based on the matching probability of each infrared coded signal, taking the infrared coded signal corresponding to the matching probability with the maximum value as a target signal;
extracting the identity character string in the target signal, generating a request message based on the identity information of the receiving end and the identity character string in the target signal, and broadcasting the request message;
and receiving the shared data sent by the sending end responding to the request message.
7. The method of claim 6, wherein generating the match probability for the IR coded signal based on the signal waveform map comprises:
comparing the signal oscillogram with a preset first signal threshold value, and determining a waveform area which is greater than or equal to the first signal threshold value in the signal oscillogram;
counting the time sum of waveform areas which are larger than or equal to the first signal threshold value in the signal waveform diagram;
and calculating the time sum and the receiving duration to obtain the matching probability of the infrared coded signals.
8. The method of claim 6, wherein generating the match probability for the IR coded signal based on the signal waveform map comprises:
on the basis of a preset averaging rule, averaging the signal waveform diagram to obtain a plurality of waveform segments corresponding to the signal waveform diagram, wherein the time length of each waveform segment is the same;
for each waveform segment, comparing the waveform segment with a preset second signal threshold, determining a waveform area which is greater than or equal to the second signal threshold in the waveform segment, and determining the signal duration which is greater than or equal to the preset waveform area of the second signal in the waveform segment;
comparing each signal duration with a preset duration threshold, and determining the number of the signal durations which are greater than or equal to the duration threshold, wherein the duration threshold is less than or equal to the time length of the waveform segment;
and calculating the number of the signal durations which are greater than or equal to the time threshold and the number of the waveform segments to obtain the matching probability of the infrared coded signal.
9. A data transmission apparatus, applied to a receiving end, comprising:
the data processing unit is used for acquiring current attitude data of a receiving end and processing the attitude data to obtain attitude characteristic data corresponding to the attitude data;
the output unit is used for inputting the attitude characteristic data into a preset action detection module so that the action detection module outputs the current action type of the receiving end;
the first receiving unit is used for activating a preset progressive light sensor when the current action type of the receiving end is a lifting type, so that the progressive light sensor collects an environment infrared signal within a preset receiving time length;
the decoding unit is used for decoding each infrared coding signal in the environment infrared signals after the environment infrared signals are collected to obtain a signal oscillogram of each infrared coding signal, and generating the matching probability of each infrared coding signal based on the signal oscillogram of each infrared coding signal;
the determining unit is used for taking the infrared coded signal corresponding to the matching probability with the maximum value as a target signal based on the matching probability of each infrared coded signal;
the extracting unit is used for extracting the identity character string in the target signal, generating a request message based on the identity information of the receiving terminal and the identity character string in the target signal, and broadcasting the request message;
and the second receiving unit is used for receiving the shared data sent by the sending end responding to the request message.
10. A data transmission system, comprising:
a sending end and a receiving end;
wherein:
the sending end is used for executing the data transmission method of any one of claims 1 to 4;
the receiving end is configured to perform the data transmission method according to any one of claims 6 to 8.
CN202111221486.8A 2021-10-20 2021-10-20 Data transmission method and device and data transmission system Active CN113784337B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111221486.8A CN113784337B (en) 2021-10-20 2021-10-20 Data transmission method and device and data transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111221486.8A CN113784337B (en) 2021-10-20 2021-10-20 Data transmission method and device and data transmission system

Publications (2)

Publication Number Publication Date
CN113784337A true CN113784337A (en) 2021-12-10
CN113784337B CN113784337B (en) 2022-08-26

Family

ID=78873256

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111221486.8A Active CN113784337B (en) 2021-10-20 2021-10-20 Data transmission method and device and data transmission system

Country Status (1)

Country Link
CN (1) CN113784337B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114615062A (en) * 2022-03-14 2022-06-10 河南应用技术职业学院 Computer network engineering safety control system
CN116260530A (en) * 2023-05-16 2023-06-13 威利朗沃矿业设备(北京)有限公司 Information transmission method, apparatus, electronic device, and computer readable medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103079002A (en) * 2012-12-27 2013-05-01 上海华勤通讯技术有限公司 Communication sending end, communication receiving end, data transmission system and data transmission method
CN103324408A (en) * 2012-02-24 2013-09-25 三星电子株式会社 Method of sharing content and mobile terminal
CN103455270A (en) * 2013-01-26 2013-12-18 曾昭兴 Video file transmission method and video file transmission system
US20140232635A1 (en) * 2013-02-20 2014-08-21 Samsung Electronics Co., Ltd. Mobile devices for transmitting and receiving data using gesture
US20140282106A1 (en) * 2013-03-13 2014-09-18 Cambridgesoft Corporation Systems and methods for gesture-based sharing of data between separate electronic devices
US20160154471A1 (en) * 2012-06-13 2016-06-02 Amx Llc Gesture based control application for data sharing
CN107506039A (en) * 2017-08-28 2017-12-22 努比亚技术有限公司 Mobile terminal, data transmission method and computer-readable storage medium
WO2018045487A1 (en) * 2016-09-06 2018-03-15 华为技术有限公司 Data sharing method and terminal
CN108377286A (en) * 2016-10-28 2018-08-07 中兴通讯股份有限公司 A kind of method and device of data transmission
CN109413257A (en) * 2016-12-20 2019-03-01 国基电子(上海)有限公司 Electronic device and its data sharing method
CN111561939A (en) * 2019-02-14 2020-08-21 赫尔环球有限公司 Method, apparatus and system for discovering map data using an activity management platform
CN112327894A (en) * 2019-08-05 2021-02-05 旭日蓝天(武汉)科技有限公司 AI (Artificial intelligence) technology-based unmanned aerial vehicle cloud people counting system and method

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324408A (en) * 2012-02-24 2013-09-25 三星电子株式会社 Method of sharing content and mobile terminal
US20160154471A1 (en) * 2012-06-13 2016-06-02 Amx Llc Gesture based control application for data sharing
CN103079002A (en) * 2012-12-27 2013-05-01 上海华勤通讯技术有限公司 Communication sending end, communication receiving end, data transmission system and data transmission method
CN103455270A (en) * 2013-01-26 2013-12-18 曾昭兴 Video file transmission method and video file transmission system
US20140232635A1 (en) * 2013-02-20 2014-08-21 Samsung Electronics Co., Ltd. Mobile devices for transmitting and receiving data using gesture
US20140282106A1 (en) * 2013-03-13 2014-09-18 Cambridgesoft Corporation Systems and methods for gesture-based sharing of data between separate electronic devices
CN109937583A (en) * 2016-09-06 2019-06-25 华为技术有限公司 The method and terminal of data sharing
WO2018045487A1 (en) * 2016-09-06 2018-03-15 华为技术有限公司 Data sharing method and terminal
CN108377286A (en) * 2016-10-28 2018-08-07 中兴通讯股份有限公司 A kind of method and device of data transmission
CN109413257A (en) * 2016-12-20 2019-03-01 国基电子(上海)有限公司 Electronic device and its data sharing method
CN107506039A (en) * 2017-08-28 2017-12-22 努比亚技术有限公司 Mobile terminal, data transmission method and computer-readable storage medium
CN111561939A (en) * 2019-02-14 2020-08-21 赫尔环球有限公司 Method, apparatus and system for discovering map data using an activity management platform
CN112327894A (en) * 2019-08-05 2021-02-05 旭日蓝天(武汉)科技有限公司 AI (Artificial intelligence) technology-based unmanned aerial vehicle cloud people counting system and method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
GIANNI A.DI CARO,ET AL: "A simple and efficient approach for cooperative incremental learning in robot swarms", 《INTERNATIONAL CONFERENCE ON ADVANCED ROBOTICS(ICAR)》 *
黄培凯,等: "基于空中手势的跨屏幕内容分享技术研究", 《软件学报》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114615062A (en) * 2022-03-14 2022-06-10 河南应用技术职业学院 Computer network engineering safety control system
CN116260530A (en) * 2023-05-16 2023-06-13 威利朗沃矿业设备(北京)有限公司 Information transmission method, apparatus, electronic device, and computer readable medium

Also Published As

Publication number Publication date
CN113784337B (en) 2022-08-26

Similar Documents

Publication Publication Date Title
CN105684345B (en) Identity authentication method, device and user equipment
CN107005721B (en) Live broadcast room video stream push control method, corresponding server and mobile terminal
US10831923B2 (en) System, device and method for enforcing privacy during a communication session with a voice assistant
EP2610708B1 (en) Communication apparatus
JP6628440B2 (en) Mobile beacon signal generator and service method using the same
CN110430557B (en) Method, device and system for accessing equipment to network, electronic equipment and storage medium
CN104518875B (en) A kind of method that authentication and account obtain, mobile terminal
CN108347512B (en) Identity recognition method and mobile terminal
CN108171832B (en) Unlocking method of shared bicycle and mobile terminal
CN108229420B (en) Face recognition method and mobile terminal
CN105764159B (en) Network connection method, system and terminal thereof
CN107682359B (en) Application registration method and mobile terminal
CN108156537B (en) Remote operation method of mobile terminal and mobile terminal
CN109951889B (en) Internet of things network distribution method and mobile terminal
CN112312308A (en) Indoor positioning method and terminal equipment
CN112311753A (en) Information interaction method and device and electronic equipment
CN113784337B (en) Data transmission method and device and data transmission system
CN108012270B (en) Information processing method, equipment and computer readable storage medium
CN107580132B (en) Information sending method, information sending device, storage medium and electronic equipment
CN113489630A (en) Network distribution method, device, storage medium and electronic terminal
US20160321517A1 (en) Method and apparatus for generating superpixel clusters
CN106331302B (en) A kind of method and apparatus adding contact person
CN107005827B (en) Terminal discovery at a gateway node
CN109600340B (en) Operation authorization method, device, terminal and server
CN106603650B (en) Method for sharing position information and terminal equipment

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