CN106254465B - A kind of data transmission method, system and electronic equipment - Google Patents

A kind of data transmission method, system and electronic equipment Download PDF

Info

Publication number
CN106254465B
CN106254465B CN201610640276.5A CN201610640276A CN106254465B CN 106254465 B CN106254465 B CN 106254465B CN 201610640276 A CN201610640276 A CN 201610640276A CN 106254465 B CN106254465 B CN 106254465B
Authority
CN
China
Prior art keywords
equipment
wireless transmission
data
external storage
transmitted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610640276.5A
Other languages
Chinese (zh)
Other versions
CN106254465A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201610640276.5A priority Critical patent/CN106254465B/en
Publication of CN106254465A publication Critical patent/CN106254465A/en
Application granted granted Critical
Publication of CN106254465B publication Critical patent/CN106254465B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/562Brokering proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/563Data redirection of data network streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of data transmission method, system and electronic equipments, which comprises establishes the wireless connection of electronic equipment and radio transmission apparatus;Whether the data-interface for detecting the radio transmission apparatus is connected with External memory equipment;If so, data to be transmitted in the electronic equipment are sent to the External memory equipment by the radio transmission apparatus;It can be seen that, the present invention is when being sent to External memory equipment by electronic equipment for data to be transmitted, can by radio transmission apparatus as transmission medium, to realize the wireless transmission between electronic equipment and External memory equipment, be different from the prior art completely in physical transfer mode.

Description

Data transmission method, system and electronic equipment
Technical Field
The invention relates to the technical field of automatic control, in particular to a data transmission method, a data transmission system and electronic equipment.
Background
The existing electronic equipment has a data transmission function. Specifically, the electronic device is provided with a data interface, the data interface is used for being connected with an external storage device, such as a usb disk and a mobile hard disk, and the electronic device can transmit data stored inside to the external storage device through the data interface.
However, the conventional data transmission method is limited to the above physical transmission method. Different from the prior art, the invention can provide a novel data transmission mode.
Disclosure of Invention
In view of the above, the present invention provides a data transmission method, a data transmission system and an electronic device, so as to provide a novel data transmission method.
In order to achieve the purpose, the invention provides the following technical scheme:
a method of data transmission, the method comprising:
establishing wireless connection between the electronic equipment and the wireless transmission equipment;
detecting whether a data interface of the wireless transmission equipment is connected with external storage equipment or not;
and if so, sending the data to be transmitted in the electronic equipment to the external storage equipment through the wireless transmission equipment.
Preferably, the sending the data to be transmitted in the electronic device to the external storage device through the wireless transmission device includes:
determining an equipment identifier of an external storage device connected with the wireless transmission equipment, and searching data to be transmitted corresponding to the equipment identifier;
and sending the data to be transmitted corresponding to the equipment identification to the external storage equipment through the wireless transmission equipment.
Preferably, the detecting whether the data interface of the wireless transmission device is connected to an external storage device includes:
detecting whether a first signal sent by the wireless transmission equipment is received;
receiving a first signal sent by the wireless transmission equipment, wherein the first signal is characterized in that the wireless transmission equipment is connected with an external storage device; the fact that the first signal sent by the wireless transmission equipment is not received is characterized in that the wireless transmission equipment is not connected with an external storage equipment.
Preferably, before the sending the data to be transmitted in the electronic device to the external storage device through the wireless transmission device, the method further includes:
determining a target data interface at which the wireless transmission device generates a first signal;
the sending the data to be transmitted in the electronic device to the external storage device through the wireless transmission device includes:
and sending the data to be transmitted in the electronic equipment to the external storage equipment through a target data interface of the wireless transmission equipment.
A data transmission system comprising:
a wireless transmission device; the wireless transmission equipment is provided with a data interface for connecting with external storage equipment;
the electronic equipment is in wireless connection with the wireless transmission equipment;
the electronic equipment is used for detecting whether a data interface of the wireless transmission equipment is connected with external storage equipment, and if yes, the data to be transmitted in the electronic equipment is sent to the external storage equipment through the wireless transmission equipment.
Preferably, the method further comprises the following steps:
the external storage device is connected with the data interface of the wireless transmission device.
Preferably, the electronic device includes:
the wireless connection module is used for establishing wireless connection with the wireless transmission equipment;
and the controller is specifically used for detecting whether a data interface of the wireless transmission equipment is connected with external storage equipment, and if so, sending the data to be transmitted in the electronic equipment to the external storage equipment through the wireless transmission equipment.
Preferably, the electronic device further includes:
the memory is used for storing the corresponding relation between the equipment identifier and the data to be transmitted;
the controller is specifically configured to determine an apparatus identifier of an external storage apparatus connected to the wireless transmission apparatus, search for data to be transmitted corresponding to the apparatus identifier based on a correspondence stored in the memory, and control the wireless connection module to send the data to be transmitted corresponding to the apparatus identifier to the external storage apparatus through the wireless transmission apparatus.
Preferably, the controller is specifically configured to determine whether the data interface of the wireless transmission device is connected to an external storage device by detecting whether the wireless connection module receives a first signal sent by the wireless transmission device;
receiving a first signal sent by the wireless transmission equipment, wherein the first signal is characterized in that the wireless transmission equipment is connected with an external storage device; the fact that the first signal sent by the wireless transmission equipment is not received is characterized in that the wireless transmission equipment is not connected with an external storage equipment.
Preferably, the controller is further configured to determine a target data interface of the wireless transmission device that generates the first signal, so as to send the data to be transmitted in the electronic device to the external storage device through the target data interface of the wireless transmission device.
An electronic device, comprising:
the first establishing unit is used for establishing wireless connection between the electronic equipment and the wireless transmission equipment;
the first detection unit is used for detecting whether the data interface of the wireless transmission equipment is connected with external storage equipment or not;
and the first sending unit is used for sending the data to be transmitted in the electronic equipment to the external storage equipment through the wireless transmission equipment when the data interface of the wireless transmission equipment is determined to be connected with the external storage equipment.
According to the technical scheme, compared with the prior art, the embodiment of the invention discloses a data transmission method, which comprises the steps of establishing wireless connection between electronic equipment and wireless transmission equipment, detecting whether a data interface of the wireless transmission equipment is connected with external storage equipment, and if so, sending data to be transmitted in the electronic equipment to the external storage equipment through the wireless transmission equipment; therefore, when the data to be transmitted is sent to the external storage device through the electronic device, the wireless transmission device can be used as a transmission medium to realize the wireless transmission between the electronic device and the external storage device, and the method is completely different from the physical transmission mode in the prior art.
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 schematic flowchart of a data transmission method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a data transmission method according to a second embodiment of the present invention;
fig. 3 is a schematic flow chart of a data transmission method according to a fourth embodiment of the present invention;
fig. 4 is a schematic structural diagram of a data transmission system according to a fifth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a data transmission system according to a sixth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a data transmission system according to a seventh embodiment of the present invention;
fig. 7 is a schematic structural diagram of a data transmission system according to an eighth embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an eleventh disclosure of the 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.
An embodiment of the present invention provides a data transmission method, as shown in fig. 1, the data transmission method includes the following steps:
step 101: establishing wireless connection between the electronic equipment and the wireless transmission equipment;
the electronic device and the wireless transmission device have multiple wireless connection modes, such as wireless bluetooth connection, wireless network connection, wireless radio frequency connection, and the like. Specifically, the electronic device may establish a wireless connection with a wireless connection module in the wireless transmission device through a wireless connection module disposed inside the electronic device.
Step 102: detecting whether a data interface of the wireless transmission equipment is connected with external storage equipment, if so, entering step 103; if not; continuing to execute the step 102;
the wireless transmission equipment is provided with at least one data interface for connecting with an external storage device corresponding to the data interface. Specifically, the wireless transmission device may be provided with multiple types of data interfaces to support multiple types of external storage devices, such as a USB storage device, an SD card, a Micro SD, and the like, and of course, the external storage device may also be an electronic device with a storage function, such as a mobile phone and a tablet computer.
Step 103: and sending the data to be transmitted in the electronic equipment to the external storage equipment through the wireless transmission equipment.
And when detecting that the data interface of the wireless transmission equipment is connected with the external storage equipment, sending the data to be transmitted in the electronic equipment to the external storage equipment through the wireless transmission equipment.
Optionally, before step 102, the method further includes: determining that the electronic device has data to be transmitted. That is to say, only after the electronic device has the data to be transmitted, whether the data interface of the wireless transmission device is connected with the external storage device is detected, so that when the external storage device is connected, the data to be transmitted is sent to the external storage device through the wireless transmission device.
It should be noted that there are various ways to determine the data to be transmitted in the electronic device, for example, to determine the data to be transmitted currently selected by the user, or to determine the preset data to be transmitted, or to determine to receive the data to be transmitted sent by other devices, or to determine the automatically generated data to be transmitted. The specific setting can be performed according to the actual situation, and the invention is not limited.
In this embodiment, a wireless connection between an electronic device and a wireless transmission device is established, and whether a data interface of the wireless transmission device is connected with an external storage device is detected, if so, data to be transmitted in the electronic device is sent to the external storage device through the wireless transmission device; therefore, when the data to be transmitted is sent to the external storage device through the electronic device, the wireless transmission device can be used as a transmission medium to realize the wireless transmission between the electronic device and the external storage device, and the method is completely different from the physical transmission mode in the prior art.
In another embodiment of the present invention, the sending of the data to be transmitted in the electronic device to the external storage device through the wireless transmission device includes: and determining the equipment identifier of the external storage equipment connected with the wireless transmission equipment, displaying the determined equipment identifier, and sending the data to be transmitted to the external storage equipment corresponding to the equipment identifier selected by the user through the wireless transmission equipment.
That is, the device identifier of the external storage device to which the wireless transmission device is connected is displayed on the electronic device for the user to select to which external storage device the data to be transmitted is to be transmitted.
As another implementation manner, the second embodiment of the present invention discloses a data transmission method, as shown in fig. 2, the data transmission method includes the following steps:
step 201: establishing wireless connection between the electronic equipment and the wireless transmission equipment;
step 202: detecting whether a data interface of the wireless transmission equipment is connected with external storage equipment, if so, entering step 203; if not, continue to execute step 202;
step 203: determining an equipment identifier of an external storage device connected with the wireless transmission equipment, and searching data to be transmitted corresponding to the equipment identifier;
the electronic device may pre-store a correspondence between the data to be transmitted and the device identifier, so as to determine the data to be transmitted corresponding to the external storage device currently connected to the wireless transmission device.
It should be noted that the above correspondence may be a correspondence between a type of data to be transmitted and an equipment identifier, and correspondingly, searching for data to be transmitted corresponding to the equipment identifier includes: and searching the type of the data to be transmitted corresponding to the equipment identifier, and determining the data to be transmitted corresponding to the type of the data to be transmitted.
It can be understood that the wireless transmission device may be connected to one external storage device, or may be connected to at least two external storage devices, and when at least two external storage devices are connected, the device identifier of each external storage device is determined respectively, and the data to be transmitted corresponding to each device identifier is searched, so as to transmit the data to be transmitted to the corresponding external storage devices respectively.
Step 204: and sending the data to be transmitted corresponding to the equipment identification to the external storage equipment through the wireless transmission equipment.
Step 203 and step 204 are specific implementations of the step "sending data to be transmitted in the electronic device to the external storage device through the wireless transmission device" in the first embodiment.
Therefore, in the embodiment, when the data to be transmitted is sent to the external storage device through the electronic device, the wireless transmission device can be used as a transmission medium to realize wireless transmission between the electronic device and the external storage device, which is completely different from a physical transmission mode in the prior art. Furthermore, the data to be transmitted corresponding to the device identification is searched by determining the device identification of the external storage device connected with the wireless transmission device, and the data to be transmitted corresponding to the device identification is sent to the external storage device through the wireless transmission device, so that the purpose of automatically sending the data to be transmitted to the external storage device corresponding to the data to be transmitted is achieved.
The third embodiment of the present invention discloses a data transmission method, in this embodiment, detecting whether a data interface of a wireless transmission device is connected with an external storage device, including: whether a first signal sent by a wireless transmission device is received or not is detected. The first signal sent by the wireless transmission equipment is received and is characterized in that the wireless transmission equipment is connected with the external storage equipment, and the first signal sent by the wireless transmission equipment is not received and is characterized in that the wireless transmission equipment is not connected with the external storage equipment.
It is understood that when the external storage device is inserted into the data interface of the wireless transmission device, the data interface of the wireless transmission device may be triggered to generate the first signal, for example, the data interface of the wireless transmission device is triggered to change from a low level to a high level, then the first signal is a high level signal, or the data interface of the wireless transmission device is triggered to change from a high level to a low level, then the first signal is a low level signal. The present invention is not limited to the above embodiments.
On this basis, the fourth embodiment of the present invention discloses a data transmission method, as shown in fig. 3, the data transmission method includes:
step 301: establishing wireless connection between the electronic equipment and the wireless transmission equipment;
step 302: detecting whether a first signal sent by the wireless transmission equipment is received, if so, entering step 303; if not, go on to step 302;
receiving a first signal sent by the wireless transmission equipment, wherein the first signal is characterized in that the wireless transmission equipment is connected with an external storage device; the fact that the first signal sent by the wireless transmission equipment is not received is characterized in that the wireless transmission equipment is not connected with an external storage equipment.
Step 303: determining a target data interface for the wireless transmission device to generate the first signal;
the wireless transmission device may have more than one data interface, and therefore it is necessary to determine which data interface is connected with the external storage device, wherein the target data interface for generating the first signal is the interface connected with the external storage device.
Step 304: and sending the data to be transmitted in the electronic equipment to the external storage equipment through a target data interface of the wireless transmission equipment.
The data to be transmitted can be sent to the external storage device via the target data interface of the wireless transmission device.
Therefore, in this embodiment, when the data to be transmitted is sent to the external storage device through the electronic device, the wireless transmission device can be used as a transmission medium to realize wireless transmission between the electronic device and the external storage device, which is completely different from a physical transmission mode in the prior art. Furthermore, the target data interface of the wireless transmission equipment for generating the first signal is determined, so that the data to be transmitted is sent to the external storage equipment through the target data interface of the wireless transmission equipment, and the accuracy of data transmission is improved.
Corresponding to the above data transmission method, the present invention also discloses a data transmission system, in the fifth embodiment of the present invention, as shown in fig. 4, a data transmission system includes: a wireless transmission device 100 and an electronic device 200; specifically, the method comprises the following steps:
the wireless transmission device 100 has a data interface 101 for connecting an external storage device.
It should be noted that at least one data interface 101 is provided on the wireless transmission device 100 for connecting with an external storage device corresponding to the data interface. Specifically, the wireless transmission device 100 may be configured with multiple types of data interfaces to support multiple types of external storage devices, such as a USB storage device, an SD card, a Micro SD, and the like, and of course, the external storage device may also be an electronic device with a storage function, such as a mobile phone and a tablet computer. Fig. 4 is only an example that the wireless transmission device 100 is provided with two data interfaces 101, and it is understood that in other embodiments of the present invention, the wireless transmission device 100 may also be provided with other numbers of data interfaces.
The electronic apparatus 200 establishes a wireless connection with the wireless transmission apparatus 100.
The electronic device 200 and the wireless transmission device 100 have a plurality of wireless connection modes, such as a wireless bluetooth connection, a wireless network connection, a wireless radio frequency connection, and the like. Specifically, the electronic device 200 may establish a wireless connection with the wireless connection module in the wireless transmission device 100 through the wireless connection module provided therein.
The electronic device 200 is configured to detect whether the data interface 101 of the wireless transmission device 100 is connected to an external storage device, and if so, send data to be transmitted in the electronic device 200 to the external storage device through the wireless transmission device 100.
Optionally, the electronic device 200 may be specifically configured to detect whether the data interface 101 of the wireless transmission device 100 is connected to an external storage device when it is determined that the electronic device has data to be transmitted, so that when the external storage device is connected, the data to be transmitted is sent to the external storage device through the wireless transmission device.
It should be noted that the connection line between the wireless connection device 100 and the electronic device 200 in fig. 4 is used to represent that there is data transmission between the two, and does not represent that the two are connected by a wired connection.
In this embodiment, a wireless connection between an electronic device and a wireless transmission device is established, and whether a data interface of the wireless transmission device is connected with an external storage device is detected, if so, data to be transmitted in the electronic device is sent to the external storage device through the wireless transmission device; therefore, when the data to be transmitted is sent to the external storage device through the electronic device, the wireless transmission device can be used as a transmission medium to realize the wireless transmission between the electronic device and the external storage device, and the method is completely different from the physical transmission mode in the prior art.
An embodiment of the present invention sixth discloses a data transmission system, as shown in fig. 5, the data transmission system includes: a wireless transmission device 100, an electronic device 200, and an external storage device 300; specifically, the method comprises the following steps:
the wireless transmission device 100 has a data interface 101 connected to an external storage device 300.
Each data interface of the wireless transmission device 100 is used to connect to an external storage device.
The electronic device 200 establishes a wireless connection with the wireless transmission device 100, and is configured to detect whether the data interface 101 of the wireless transmission device 100 is connected with the external storage device 300, and if so, send the data to be transmitted in the electronic device 200 to the external storage device 300 through the wireless transmission device 100.
The seventh embodiment of the present invention discloses a data transmission system, as shown in fig. 6, the data transmission system includes: a wireless transmission device 100 and an electronic device 200;
the wireless transmission device 100 has a data interface 101 for connecting an external storage device.
The electronic apparatus 200 includes: a wireless connection module 201 and a controller 202. The wireless connection module 201 is configured to establish a wireless connection with the wireless transmission device 100. And the controller 202 is configured to detect whether a data interface of the wireless transmission device is connected with an external storage device, and if so, send the data to be transmitted in the electronic device to the external storage device through the wireless transmission device.
Specifically, the controller 202 sends the data to be transmitted in the electronic device 200 to the external storage device through the wireless connection module 201 and the wireless transmission device 100.
In another embodiment of the present invention, the controller is configured to send the data to be transmitted in the electronic device to the external storage device through the wireless transmission device, specifically: the controller is used for determining the equipment identifier of the external storage equipment connected with the wireless transmission equipment, displaying the determined equipment identifier, and sending the data to be transmitted to the external storage equipment corresponding to the equipment identifier selected by the user through the wireless transmission equipment.
That is, the device identifier of the external storage device to which the wireless transmission device is connected is displayed on the electronic device for the user to select to which external storage device the data to be transmitted is to be transmitted.
As another implementation manner, an eighth embodiment of the present invention discloses a data transmission system, and as shown in fig. 7, the data transmission system includes: wireless transmission device 100 and electronic device 200, wherein:
the wireless transmission device 100 has a data interface 101 for connecting an external storage device.
The electronic device 200 includes a wireless connection module 201, a controller 202, and a memory 203; wherein:
the wireless connection module 201 is used to establish a wireless connection with the wireless transmission device 100.
And a memory 202 for storing a correspondence between the device identifier and the data to be transmitted.
The controller 203 is configured to detect whether the data interface 101 of the wireless transmission device 100 is connected to an external storage device, determine an equipment identifier of the external storage device connected to the wireless transmission device 100 if the data interface 101 of the wireless transmission device is connected to the external storage device, search for data to be transmitted corresponding to the equipment identifier based on the correspondence stored in the memory 202, and control the wireless connection module 201 to send the data to be transmitted corresponding to the equipment identifier to the external storage device through the wireless transmission device 100.
It should be noted that the correspondence may be a correspondence between the type of the data to be transmitted and the device identifier, and correspondingly, the controller 203 searches for the data to be transmitted corresponding to the device identifier based on the correspondence stored in the memory 202, specifically is used to search for the type of the data to be transmitted corresponding to the device identifier, and determines the data to be transmitted corresponding to the type of the data to be transmitted.
Therefore, in the embodiment, when the data to be transmitted is sent to the external storage device through the electronic device, the wireless transmission device can be used as a transmission medium to realize wireless transmission between the electronic device and the external storage device, which is completely different from a physical transmission mode in the prior art. Furthermore, the data to be transmitted corresponding to the device identification is searched by determining the device identification of the external storage device connected with the wireless transmission device, and the data to be transmitted corresponding to the device identification is sent to the external storage device through the wireless transmission device, so that the purpose of automatically sending the data to be transmitted to the external storage device corresponding to the data to be transmitted is achieved.
In the ninth embodiment of the present invention, the controller is specifically configured to determine whether the data interface of the wireless transmission device is connected to the external storage device by detecting whether the wireless connection module receives a first signal sent by the wireless transmission device; receiving a first signal sent by the wireless transmission equipment, wherein the first signal is characterized in that the wireless transmission equipment is connected with an external storage device; the fact that the first signal sent by the wireless transmission equipment is not received is characterized in that the wireless transmission equipment is not connected with an external storage equipment.
It is understood that when the external storage device is inserted into the data interface of the wireless transmission device, the data interface of the wireless transmission device may be triggered to generate the first signal, for example, the data interface of the wireless transmission device is triggered to change from a low level to a high level, then the first signal is a high level signal, or the data interface of the wireless transmission device is triggered to change from a high level to a low level, then the first signal is a low level signal. The present invention is not limited to the above embodiments.
On this basis, in a tenth embodiment of the present invention, after detecting that the first signal sent by the wireless transmission device is received, the controller is further configured to determine a target data interface of the wireless transmission device, where the first signal is generated by the wireless transmission device, so as to send data to be transmitted in the electronic device to the external storage device through the target data interface of the wireless transmission device.
Corresponding to the above data transmission method, the present invention also discloses an electronic device, in an eleventh embodiment of the present invention, as shown in fig. 8, the electronic device includes: a first establishing unit 801, a first detecting unit 802, and a first transmitting unit 803; wherein:
a first establishing unit 801, configured to establish a wireless connection between the electronic device and a wireless transmission device;
the electronic device and the wireless transmission device have multiple wireless connection modes, such as wireless bluetooth connection, wireless network connection, wireless radio frequency connection, and the like. Specifically, the electronic device may establish a wireless connection with a wireless connection module in the wireless transmission device through a wireless connection module disposed inside the electronic device.
A first detecting unit 802, configured to detect whether an external storage device is connected to a data interface of the wireless transmission device;
the wireless transmission equipment is provided with at least one data interface for connecting with an external storage device corresponding to the corresponding data interface. Specifically, the wireless transmission device may be provided with multiple types of data interfaces to support multiple types of external storage devices, such as a USB storage device, an SD card, a Micro SD, and the like, and of course, the external storage device may also be an electronic device with a storage function, such as a mobile phone and a tablet computer.
A first sending unit 803, configured to send, when it is determined that the data interface of the wireless transmission device is connected to an external storage device, the data to be transmitted in the electronic device to the external storage device through the wireless transmission device.
Optionally, the electronic device further includes: the first determining unit is used for determining the data to be transmitted which the electronic equipment has.
It should be noted that, in the present invention, there are various ways for the first determining unit to determine the data to be transmitted in the electronic device, for example, the first determining unit is configured to determine the data to be transmitted currently selected by the user, or the first determining unit is configured to determine the preset data to be transmitted, or the first determining unit is configured to determine to receive the data to be transmitted sent by another device, or the first determining unit is configured to determine the automatically generated data to be transmitted. The specific setting can be performed according to the actual situation, and the invention is not limited.
In this embodiment, a wireless connection between an electronic device and a wireless transmission device is established, and whether a data interface of the wireless transmission device is connected with an external storage device is detected, if so, data to be transmitted in the electronic device is sent to the external storage device through the wireless transmission device; therefore, when the data to be transmitted is sent to the external storage device through the electronic device, the wireless transmission device can be used as a transmission medium to realize the wireless transmission between the electronic device and the external storage device, and the method is completely different from the physical transmission mode in the prior art.
In the present invention, there are various ways for the first sending unit to send data to be transmitted, and as an implementation way, in another embodiment of the present invention, the first sending unit includes: the device comprises an identification determining module, an identification displaying module and a data sending module.
The identification determining module is used for determining the equipment identification of the external storage equipment connected with the wireless transmission equipment; a display identification module for displaying the determined device identification; and the data sending module is used for sending the data to be transmitted to the external storage equipment corresponding to the equipment identifier selected by the user through the wireless transmission equipment.
That is, the device identifier of the external storage device to which the wireless transmission device is connected is displayed on the electronic device for the user to select to which external storage device the data to be transmitted is to be transmitted.
As another implementation manner, in another embodiment of the present invention, the first sending unit includes: determining a searching module and a first sending module;
the device comprises a determining and searching module, a determining and searching module and a transmitting module, wherein the determining and searching module is used for determining a device identifier of an external storage device connected with the wireless transmission device and searching data to be transmitted corresponding to the device identifier; and the first sending module is used for sending the data to be transmitted corresponding to the equipment identifier to the external storage equipment through the wireless transmission equipment.
Specifically, the electronic device prestores a corresponding relationship between data to be transmitted and a device identifier, so as to determine the data to be transmitted corresponding to the external storage device currently connected to the wireless transmission device.
It should be noted that the correspondence may be a correspondence between a type of the data to be transmitted and an equipment identifier, and correspondingly, the determining and searching module is specifically configured to determine the equipment identifier of the external storage device connected to the wireless transmission device, search for the type of the data to be transmitted corresponding to the equipment identifier, and determine the data to be transmitted corresponding to the type of the data to be transmitted.
In another embodiment of the present invention, the first detecting unit is specifically configured to detect whether a first signal sent by the wireless transmission device is received; receiving a first signal sent by the wireless transmission equipment, wherein the first signal is characterized in that the wireless transmission equipment is connected with an external storage device; the fact that the first signal sent by the wireless transmission equipment is not received is characterized in that the wireless transmission equipment is not connected with an external storage equipment.
On this basis, electronic equipment still includes: a determination interface unit for determining a target data interface for the wireless transmission device to generate a first signal; correspondingly, the first sending unit is specifically configured to send the data to be transmitted in the electronic device to the external storage device through the target data interface of the wireless transmission device.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
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 (8)

1. A method of data transmission, the method comprising:
establishing wireless connection between the electronic equipment and the wireless transmission equipment;
detecting whether a data interface of the wireless transmission equipment is connected with external storage equipment or not;
if yes, sending the data to be transmitted in the electronic equipment to the external storage equipment through the wireless transmission equipment; wherein, the sending the data to be transmitted in the electronic device to the external storage device through the wireless transmission device includes:
determining an equipment identifier of an external storage device connected with the wireless transmission equipment, and searching data to be transmitted corresponding to the equipment identifier;
sending the data to be transmitted corresponding to the equipment identification to the external storage equipment through the wireless transmission equipment;
when the wireless transmission equipment is connected with at least two pieces of external storage equipment, the equipment identifier of each piece of external storage equipment is respectively determined, and the data to be transmitted corresponding to each equipment identifier is searched, so that the data to be transmitted are respectively transmitted to the corresponding external storage equipment.
2. The method of claim 1, wherein the detecting whether an external storage device is connected to the data interface of the wireless transmission device comprises:
detecting whether a first signal sent by the wireless transmission equipment is received;
receiving a first signal sent by the wireless transmission equipment, wherein the first signal is characterized in that the wireless transmission equipment is connected with an external storage device; the fact that the first signal sent by the wireless transmission equipment is not received is characterized in that the wireless transmission equipment is not connected with an external storage equipment.
3. The method according to claim 2, wherein before sending the data to be transmitted in the electronic device to the external storage device through the wireless transmission device, the method further comprises:
determining a target data interface at which the wireless transmission device generates a first signal;
the sending the data to be transmitted in the electronic device to the external storage device through the wireless transmission device includes:
and sending the data to be transmitted in the electronic equipment to the external storage equipment through a target data interface of the wireless transmission equipment.
4. A data transmission system, comprising:
a wireless transmission device; the wireless transmission equipment is provided with a data interface for connecting with external storage equipment;
the electronic equipment is in wireless connection with the wireless transmission equipment;
the electronic equipment is used for detecting whether a data interface of the wireless transmission equipment is connected with external storage equipment, and if so, sending data to be transmitted in the electronic equipment to the external storage equipment through the wireless transmission equipment; wherein,
the electronic device includes:
the wireless connection module is used for establishing wireless connection with the wireless transmission equipment;
the controller is specifically used for detecting whether a data interface of the wireless transmission equipment is connected with external storage equipment, and if so, sending the data to be transmitted in the electronic equipment to the external storage equipment through the wireless transmission equipment;
the memory is used for storing the corresponding relation between the equipment identifier and the data to be transmitted;
the controller is specifically configured to determine an apparatus identifier of an external storage apparatus connected to the wireless transmission apparatus, search for data to be transmitted corresponding to the apparatus identifier based on a correspondence stored in the memory, and control the wireless connection module to send the data to be transmitted corresponding to the apparatus identifier to the external storage apparatus through the wireless transmission apparatus;
the data transmission system is further configured to, when the wireless transmission device is connected with at least two external storage devices, respectively determine a device identifier of each external storage device, and search for data to be transmitted corresponding to each device identifier, so as to respectively transmit the data to be transmitted to the corresponding external storage devices.
5. The data transmission system of claim 4, further comprising:
the external storage device is connected with the data interface of the wireless transmission device.
6. The data transmission system according to claim 4, wherein the controller is specifically configured to determine whether an external storage device is connected to the data interface of the wireless transmission device by detecting whether the wireless connection module receives a first signal sent by the wireless transmission device;
receiving a first signal sent by the wireless transmission equipment, wherein the first signal is characterized in that the wireless transmission equipment is connected with an external storage device; the fact that the first signal sent by the wireless transmission equipment is not received is characterized in that the wireless transmission equipment is not connected with an external storage equipment.
7. The data transmission system of claim 4, wherein the controller is further configured to determine a target data interface of the wireless transmission device for generating the first signal, so as to send the data to be transmitted in the electronic device to the external storage device through the target data interface of the wireless transmission device.
8. An electronic device, comprising:
the first establishing unit is used for establishing wireless connection between the electronic equipment and the wireless transmission equipment;
the first detection unit is used for detecting whether the data interface of the wireless transmission equipment is connected with external storage equipment or not;
the first sending unit is used for sending the data to be transmitted in the electronic equipment to the external storage equipment through the wireless transmission equipment when the data interface of the wireless transmission equipment is determined to be connected with the external storage equipment;
wherein the first transmitting unit includes:
the determining and searching module is used for determining the equipment identifier of the external storage equipment connected with the wireless transmission equipment and searching the data to be transmitted corresponding to the equipment identifier;
the first sending module is used for sending the data to be transmitted corresponding to the equipment identifier to the external storage equipment through the wireless transmission equipment;
the electronic equipment is further used for determining the equipment identifier of each external storage equipment respectively and searching the data to be transmitted corresponding to each equipment identifier when the wireless transmission equipment is connected with at least two external storage equipment, so that the data to be transmitted are transmitted to the corresponding external storage equipment respectively.
CN201610640276.5A 2016-08-05 2016-08-05 A kind of data transmission method, system and electronic equipment Active CN106254465B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610640276.5A CN106254465B (en) 2016-08-05 2016-08-05 A kind of data transmission method, system and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610640276.5A CN106254465B (en) 2016-08-05 2016-08-05 A kind of data transmission method, system and electronic equipment

Publications (2)

Publication Number Publication Date
CN106254465A CN106254465A (en) 2016-12-21
CN106254465B true CN106254465B (en) 2019-11-26

Family

ID=58079207

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610640276.5A Active CN106254465B (en) 2016-08-05 2016-08-05 A kind of data transmission method, system and electronic equipment

Country Status (1)

Country Link
CN (1) CN106254465B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019056302A1 (en) * 2017-09-22 2019-03-28 深圳传音通讯有限公司 Wireless network storage
CN108959612A (en) * 2018-07-16 2018-12-07 佛山长意云信息技术有限公司 A kind of date storage method, device and movable storage device
CN108966209A (en) * 2018-07-16 2018-12-07 佛山长意云信息技术有限公司 A kind of date storage method, device and movable storage device
CN111506003A (en) * 2020-05-27 2020-08-07 新石器慧通(北京)科技有限公司 Method and device for controlling unmanned equipment, control equipment and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364821A (en) * 2008-09-18 2009-02-11 旭丽电子(广州)有限公司 Wireless file management system
CN103780707A (en) * 2014-02-25 2014-05-07 联想(北京)有限公司 Method and device for data transmission
CN103873566A (en) * 2014-02-28 2014-06-18 联想(北京)有限公司 Method and device of accessing mobile equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364821A (en) * 2008-09-18 2009-02-11 旭丽电子(广州)有限公司 Wireless file management system
CN103780707A (en) * 2014-02-25 2014-05-07 联想(北京)有限公司 Method and device for data transmission
CN103873566A (en) * 2014-02-28 2014-06-18 联想(北京)有限公司 Method and device of accessing mobile equipment

Also Published As

Publication number Publication date
CN106254465A (en) 2016-12-21

Similar Documents

Publication Publication Date Title
CN106254465B (en) A kind of data transmission method, system and electronic equipment
EP2838309A1 (en) Method, device and system for establishing data connection
US10743252B2 (en) Method for identifying access point and hotspot and terminal
CN108762859B (en) Wallpaper display method and device, mobile terminal and storage medium
WO2017084389A1 (en) Wireless device matching method, apparatus and system
CN104580534B (en) Information processing method, device and electronic equipment
CN103986502B (en) Information processing method, electronic device and system
CN103914661A (en) Method for sharing data between devices
CN105764159B (en) Network connection method, system and terminal thereof
US20130023231A1 (en) Sim card expander, communication system, and method for using sim cards
KR101637483B1 (en) Apparatus and method for recognizing peripheral device using distance and intimacy
CN108924908B (en) WiFi scanning method and device and electronic device
CN112069008A (en) Equipment debugging information acquisition method and device and equipment debugging information generation method
US9002273B2 (en) Apparatus and process for detection of a bluetooth device
WO2019228026A1 (en) Information display method, apparatus and mobile terminal
CN108924325B (en) Data processing method and related device
CN104242998A (en) Method and system for fast sharing various types of information through magnetic sensor
EP2843974B1 (en) Device and method for determining redundancies in near field communication tag detection
US10057756B2 (en) Terminal detection method and communication device
CN108632822B (en) Wireless access point detection method and device and mobile terminal
US11291058B2 (en) Interaction between a kiosk and a mobile user equipment
CN109151160B (en) Communication method, communication device, mobile terminal and storage medium
CN108111625B (en) Data transmission method and related product
CN106211036A (en) A kind of method and apparatus connecting equipment
US20140325504A1 (en) Method and system for downloading and installing control software and smart electronic device using the same

Legal Events

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