CN116610613A - External device, data transmission method and communication system - Google Patents

External device, data transmission method and communication system Download PDF

Info

Publication number
CN116610613A
CN116610613A CN202310577094.8A CN202310577094A CN116610613A CN 116610613 A CN116610613 A CN 116610613A CN 202310577094 A CN202310577094 A CN 202310577094A CN 116610613 A CN116610613 A CN 116610613A
Authority
CN
China
Prior art keywords
module
data
communication unit
sent
folder
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.)
Pending
Application number
CN202310577094.8A
Other languages
Chinese (zh)
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.)
Xi'an Guanghetong Wireless Communication Co ltd
Original Assignee
Xi'an Guanghetong Wireless Communication Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xi'an Guanghetong Wireless Communication Co ltd filed Critical Xi'an Guanghetong Wireless Communication Co ltd
Priority to CN202310577094.8A priority Critical patent/CN116610613A/en
Publication of CN116610613A publication Critical patent/CN116610613A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

An external device, a data transmission method and a communication system. The external device comprises a first module and a second module, wherein the first module comprises a first USB interface, a first processing unit and a first communication unit. The second module comprises a second USB interface and a second communication unit which is matched with the first communication unit. The first module is connected with the first electronic equipment through a first USB interface. The second module is connected with the second electronic equipment through a second USB interface. And the first communication unit is used for establishing connection with the second communication unit through the matching relationship, so that the first electronic equipment and the second electronic equipment are connected. The convenience of data transmission between the networking electronic devices is improved, so that the data transmission between the networking electronic devices is more convenient and efficient.

Description

External device, data transmission method and communication system
Technical Field
The present application relates to the field of communications technologies, and in particular, to an external device, a data transmission method, and a communications system.
Background
In the case that the device has no network or cannot be networked, data is transmitted across the device, and usually, the data is required to be transmitted by using an external device such as a universal serial bus flash disk (universal serial bus flash disk) or a mobile hard disk as a carrier.
In the first example, the target file is copied from the device A to the USB flash disk, and then the target file is copied from the USB flash disk to the device B, so that the cross-device transmission of the target file is completed.
The second example, the target file to be transferred between the device a and the device B occupies a large amount of storage space, and the transfer of the target file can be completed only by means of multiple copies of the USB flash disk (which is equivalent to repeating the step of the first example multiple times).
Therefore, the use of external devices such as USB flash memory drives and the like for cross-device data transmission is very inconvenient, and labor-consuming. Therefore, how to improve the convenience of data transmission between devices without a network is a problem that needs to be solved at present.
Disclosure of Invention
The application provides the external equipment, the data transmission method and the communication system, which can complete the data exchange between the electronic equipment under the condition that two or more electronic equipment are in the non-network state, thereby improving the convenience of data transmission between the non-network electronic equipment and ensuring that the data transmission between the non-network electronic equipment is more convenient and efficient.
In a first aspect, the present application provides an external device,
the external device comprises a first module and a second module, wherein the first module comprises a first USB interface, a first processing unit and a first communication unit. The second module comprises a second USB interface and a second communication unit which is matched with the first communication unit. The first module is connected with a first electronic device through the first USB interface. The second module is connected with a second electronic device through the second USB interface.
The first communication unit is configured to establish connection with the second communication unit based on the matching relationship, so that the first module establishes connection with the second module.
The first processing unit is configured to monitor whether a first folder has data to be sent, where the first folder is located in the first electronic device. The first folder is used for storing data to be sent, and the data to be sent are data to be sent to the second electronic device in the first electronic device.
The first communication unit is further configured to, when the first folder has data to be sent, obtain the data to be sent from the first folder, and send the data to be sent to the second electronic device based on connection between the first communication unit and the second communication unit.
In this scheme, provide an external equipment, wherein, first module includes first USB interface, first processing unit and first communication unit. The second module comprises a second USB interface and a second communication unit which is matched with the first communication unit. The first communication unit is capable of establishing a connection with the second communication unit based on the matching relationship so that the first electronic device and the second electronic device can communicate. The first module further comprises a processing unit which can monitor whether the first folder in the first electronic device has data to be transmitted. Under the condition that data to be sent exists in the first folder, the first communication unit can acquire the data to be sent and send the data to be sent to the second electronic equipment, so that the data in the first electronic equipment are sent to the second electronic equipment, the first electronic equipment and the second electronic equipment without a network can realize data transmission, and convenience in data transmission among the networking electronic equipment is improved.
In one possible implementation, the first processing unit is further configured to send a first indication to the first electronic device, where the first indication is used to instruct the first electronic device to delete the data to be sent, where the first communication unit completes sending the data to be sent.
In a possible implementation, the first processing unit is further configured to monitor whether the first electronic device has the first folder.
And when the first electronic device does not have the first folder, the first processing unit sends a second instruction to the first electronic device, wherein the second instruction is used for instructing the first electronic device to create the first folder.
In one possible implementation, the first communication unit is specifically configured to:
and transmitting the data to be transmitted to the second communication unit. Or sending the data to be sent to the second electronic equipment through the cloud server.
In one possible implementation, the second module further includes a second processing unit. The second processing unit is configured to send a third instruction to the second electronic device. The third instruction is used for instructing the second electronic device to store the data to be sent into a second folder. The second folder is used for storing data received by the second module.
In one possible implementation, the first module further includes a first storage unit, where the first storage unit is used to store data to be copied. The data to be copied comprises data which needs to be copied to third electronic equipment in the first electronic equipment, and the third electronic equipment can be connected with the first module through the first USB interface.
In a second aspect, the present application provides a data transmission method,
the method is applied to external equipment. The external device comprises a first module and a second module, wherein the first module comprises a first USB interface, a first processing unit and a first communication unit. The second module comprises a second USB interface and a second communication unit which is matched with the first communication unit. The first module is connected with a first electronic device through the first USB interface. The second module is connected with a second electronic device through the second USB interface. The first communication unit is configured to establish connection with the second communication unit based on the matching relationship, so that the first module establishes connection with the second module.
And monitoring whether the first folder has data to be transmitted or not through the first processing unit, wherein the first folder is positioned in the first electronic equipment. The first folder is used for storing data to be sent, and the data to be sent are data to be sent to the second electronic device in the first electronic device.
And when the first folder has data to be transmitted, acquiring the data to be transmitted from the first folder through the first communication unit, and transmitting the data to be transmitted to the second electronic equipment based on the connection between the first communication unit and the second communication unit.
In a third aspect, the present application provides a communication system,
the communication system comprises a first electronic device, at least one second electronic device and an external device. The external device comprises a first module and at least one second module, wherein the first module comprises a first USB interface, a first processing unit and a first communication unit. And the ith second module in the at least one second module comprises a second USB interface and a second communication unit which has a matching relation with the first communication unit, and i is a positive integer. The first module is connected with the first electronic device through the first USB interface. The ith second module is connected with the at least one second electronic device through the second USB interface. The first communication unit is configured to establish connection with the second communication unit based on the matching relationship, so that the first module establishes connection with the ith second module.
The first electronic device is configured to create a first folder, where the first folder is used to store data to be sent, and the data to be sent is data to be sent to the second electronic device in the first electronic device.
The first processing unit is configured to monitor the first folder, and determine whether the data to be sent exists in the first folder.
The first communication unit is further configured to, when the first folder has data to be sent, obtain the data to be sent from the first folder, and send the data to be sent to the second electronic device based on connection between the first communication unit and the second communication unit.
And the ith second electronic equipment is used for receiving the data to be sent through the second communication unit.
In a fourth aspect, the present application provides a communication system,
the communication system comprises a first electronic device, at least one second electronic device, an external device and a cloud server. The external device comprises a first module and at least one second module, wherein the first module comprises a first USB interface, a first processing unit and a first communication unit. And the ith second module in the at least one second module comprises a second USB interface and a second communication unit which has a matching relation with the first communication unit, and i is a positive integer.
The first module is connected with the first electronic device through the first USB interface. The ith second module is connected with the ith second electronic equipment in the at least one second electronic equipment through the second USB interface. The first communication unit is configured to establish connection with the second communication unit based on the matching relationship, so that the first module establishes connection with the ith second module.
The first electronic device is configured to create a first folder, where the first folder is used to store data to be sent, and the data to be sent is data to be sent to the second electronic device in the first electronic device.
The first processing unit is configured to monitor the first folder, and determine whether the data to be sent exists in the first folder.
The first communication unit is further configured to obtain the data to be sent from the first folder when the first folder has the data to be sent, and send the data to be sent to the cloud server based on connection between the first communication unit and the second communication unit.
And the ith second electronic device is configured to obtain, through the second communication unit, the data to be sent in the cloud server.
In a fifth aspect, the present application provides a computer-readable storage medium having stored therein a computer program or instructions which, when executed by a computer, implement a method as in the third aspect.
In a sixth aspect, the application provides a computer program product comprising instructions, the computer program product comprising computer program code for implementing a method as in the third aspect, when the computer program code is run on a computer.
The solutions provided in the second aspect to the sixth aspect are used to implement or cooperate to implement the method correspondingly provided in the first aspect, so that the content corresponding to the first aspect may achieve the same or corresponding beneficial effects, which are not described herein.
Drawings
In order to more clearly describe the embodiments of the present application or the technical solutions in the background art, the following description will describe the drawings that are required to be used in the embodiments of the present application or the background art.
Fig. 1 is a schematic logic structure diagram of a first module of an external device according to an embodiment of the present application;
fig. 2 is a schematic diagram of an application scenario of a communication system according to an embodiment of the present application;
fig. 3 is a schematic diagram of an application scenario of another communication system according to an embodiment of the present application;
Fig. 4 is a schematic flow chart of an external device according to an embodiment of the present application;
fig. 5 is a flow chart of another method for using an external device according to an embodiment of the present application.
Detailed Description
In the embodiments of the present application, "a plurality" means two or more. In the embodiment of the present application, "and/or" is used to describe the association relationship of the association object, and represents three relationships that may exist independently, for example, a and/or B may represent: a alone, B alone, or both a and B. Description modes such as "at least one (or at least one) of a1, a2, … … and an" adopted in the embodiment of the present application include a case where any one of a1, a2, … … and an exists alone, and also include a case where any combination of any plurality of a1, a2, … … and an exists alone; for example, the description of "at least one of a, b, and c" includes the case of a alone, b alone, c alone, a and b in combination, a and c in combination, b and c in combination, or abc in combination.
In various embodiments of the application, where terminology and/or descriptions of the various embodiments are consistent and may be referred to each other, unless specifically indicated as such and where logical conflict, features of different embodiments may be combined to form new embodiments in accordance with their inherent logical relationships.
Embodiments of the present application are described below by way of example with reference to the accompanying drawings.
First, referring to fig. 1, fig. 1 is a schematic logic structure diagram of a first module of an external device according to an embodiment of the present application. It should be understood that the external device provided in the embodiment of the present application includes two or more modules, where each module is similar and may include, but is not limited to, a USB interface, a processing unit, a communication unit, and a storage unit. Fig. 1 schematically shows a logical structure of a first module. As shown in fig. 1, the first module 100 includes a USB interface 101, a processing unit 102, a communication unit 103, a storage unit 104, and the like.
The USB interface 101 is used for connecting the first module 100 and the electronic device, and implementing data exchange. The USB interface is also called a universal serial bus (universal serial bus, USB), which is a serial bus standard, and is also a technical specification of an input/output interface, and is widely applied to information communication products such as personal computers and mobile devices, and is extended to other related fields such as photographic equipment, digital televisions (set top boxes), game machines, and the like. According to the interface Type of USB, the USB interface can be classified into USB A Type loose port, USB B Type 4Pin, USB B Type 5Pin, USB B Type 8Pin, micro USB or Type-C Type and the like.
The processing unit 102 is a hardware circuit or processor capable of implementing the monitoring function. For example, the hardware circuitry may include an application-specific integrated circuit (ASIC), a programmable logic device (programmable logic device, PLD), or a field programmable gate array (field programmable gate array, FPGA), or the like. The processor may comprise a central processing unit (central processing unit, CPU) or microprocessor or the like. The embodiment of the present application is not limited in this regard with respect to the specific implementation of the processing unit 102.
The communication unit 103 is configured to support the first module 100 to perform communication, for example, receiving or transmitting data, signals, and the like. For example, the communication unit 103 is configured to support communication between the first module 100 and another external device. For example, the communication unit 103 is further configured to support communication between the first module 100 and the cloud server. The embodiment of the present application is not limited in terms of the specific implementation of the communication unit 103.
Illustratively, the communication unit 103 includes an intelligent wireless communication module based on a single-chip microcomputer, FPGA, or microprocessor technology. The intelligent communication module can realize Wi-Fi, bluetooth, purple peak (ZigBee) or roller (LoRa) communication technologies.
The storage unit 104 is used to store data to be copied or data received by the communication unit 103, or the like. Specific implementations of the memory unit 104 may include, but are not limited to, random access memory (random access memory, RAM), read-only memory (ROM), erasable programmable read-only memory (erasable programmable read only memory, EPROM), or portable read-only memory (compact disc read-only memory, CD-ROM), etc.
It should be understood that the division of the units in the first module 100 is merely a division of a logic function, and may be fully or partially integrated into one physical entity or may be physically separated in actual implementation, which is not limited by the embodiment of the present application.
The foregoing description of fig. 1 is merely exemplary of the first module 100 provided in the embodiment of the present application, and the specific use of the first module 100 and the functions that may be implemented by each module inside the first module 100 are described in the following related descriptions of fig. 4 and fig. 5, which are not described in detail herein.
Before describing the specific use of the first module 100 shown in fig. 1, an embodiment of the present application will be described with reference to the use field Jing Jinhang of the first module 100, please refer to fig. 2 and 3. Fig. 2 is a schematic application scenario diagram of a communication system according to an embodiment of the present application.
As shown in fig. 2, fig. 2 includes a first electronic device, at least one second electronic device, and an external device, where the external device includes a first module and at least one second module. The electronic device may include, but is not limited to, any electronic product based on an intelligent operating system, which can perform man-machine interaction with a user through input devices such as a keyboard, a virtual keyboard, a touch pad, a touch screen, a voice control device and the like. Such as smartphones, tablet computers (Tablet personal computer, tablet PCs), handheld computers, wearable electronic devices, personal computers (personal computer, PCs), desktop computers, and the like. The electronic device may also include, but is not limited to, any internet of things (internet of things, ioT) device. The IoT device may be, for example, a smart sound box, a Television (TV), an in-vehicle display of an automobile, and so forth. Among these, intelligent operating systems include, but are not limited to, any operating system that enriches device functionality by providing various applications to the device, such as Android (Android), IOS, windows, MAC, or the hong system (Harmony OS).
Any module in the external device is the first module 100 shown in fig. 1, and for the description of the first module 100, please refer to the related description of fig. 1, which is not repeated here.
As shown in fig. 2, the first electronic device or any one of the second electronic devices is connected to one module, for example, the first electronic device is connected to the first module, and the second electronic device is connected to the second module. In fig. 2, the "+" symbol is used to indicate that there is a connection relationship between the electronic device and a module in the external device, for example, there is a "+" symbol between the first electronic device and the first module.
In a possible implementation, the modules in the electronic device and the external device are connected through a USB interface, for example, the USB interface 101 shown in fig. 1 and described above. For a specific description of the USB interface 101, please refer to the related description of fig. 1, and the detailed description is omitted here.
Illustratively, the first electronic device and the first module are connected through a USB type-a loose-top.
As shown in fig. 2, the first module and the second module of the external device are further connected with each other by means of wireless communication. Specifically, any one of the modules of the external device establishes communication connection with the other modules through a built-in communication unit, which is the communication unit 103 shown in fig. 1.
In one possible implementation, the modules that establish the communication connection with the external device can send data to each other through the built-in communication unit.
Illustratively, any one of the modules of the external device can implement Wi-Fi, bluetooth, zigBee, or LoRa, etc. communication technologies.
In the case of a connection between a first module and a second module, the first module can transmit data to the second module via its built-in communication unit, and the first module can also receive data transmitted from the second module via its built-in communication unit.
The first communication unit and the second communication unit need to transmit identification codes to each other before the communication connection is established, and the communication connection can be established only if the identification codes pass verification.
The first electronic device may create a first folder for storing data to be transmitted, which is data to be transmitted to other electronic devices (e.g., a second electronic device). The second electronic device may also create a second folder for storing data received by the second module. For example, the second folder is used for storing data received by the second module from the first electronic device.
The embodiment of the application also provides another application scenario of the first module 100, please refer to fig. 3. Fig. 3 is a schematic diagram of an application scenario of another communication system according to an embodiment of the present application.
As shown in fig. 3, fig. 3 includes a first electronic device, at least one second electronic device, an external device, and a cloud server. The description of the electronic devices shown in fig. 2 is referred to in the introduction of the first electronic device and the second electronic device, and the external device is the external device described in fig. 1. The description about the electronic device and the external device is not repeated here.
The difference between the application scenario shown in fig. 3 and the application scenario shown in fig. 2 is that a cloud server is added in the application scenario shown in fig. 3, and the cloud server is used as a transfer station of data, so as to realize data transmission at a longer distance.
In the scenario shown in fig. 3, there is also a matching relationship between the modules of the external device and the cloud server. For example, the matching relationship between the module and the cloud server is embodied by means of account number/password verification.
In one possible implementation, after the module connected to the first electronic device and the module connected to the second electronic device log into the same account, the two modules can access the same storage space in the cloud server, and the two modules can upload data to the storage space or download data from the storage space, so that the connection between the first electronic device and the second electronic device is realized.
As shown in fig. 3, any one of the plurality of electronic devices is connected with one module of the external device through a USB interface. For a specific implementation, please refer to the description related to the connection between the electronic device and the external device in fig. 2, which is not repeated here.
In one possible implementation, the electronic device establishes a communication connection with the cloud server through a module in an external device connected with the electronic device. The first electronic device establishes a communication connection with the cloud server through a first module connected thereto. After the first electronic device and the cloud server are in communication connection, data can be sent to the cloud server through the first module, and data from the cloud server can also be received or acquired. Likewise, the second electronic device may also establish a communication connection with the cloud server through a second module connected thereto. After the second electronic device and the cloud server are in communication connection, data can be sent to the cloud server through the second module, and data from the cloud server can also be received or acquired.
For example, the first electronic device may create a first folder for storing data to be transmitted, where the data to be transmitted is data to be transmitted to the cloud server. The second electronic device may also create a second folder for storing data received by the second module. For example, the second folder is used for storing data received by the second module from the cloud server.
Based on the application scenario shown in fig. 2, the embodiment of the application provides a method for using the external device in the application scenario shown in fig. 2, please refer to fig. 4.
Fig. 4 is a flow chart of an external device according to an embodiment of the present application. The use process of the external device includes but is not limited to the following steps:
S401A, a first module is connected to a first electronic device.
The first module is the first module 100 shown in fig. 1, and the first electronic device includes the electronic device shown in fig. 2. For example, the first electronic device may include a smart phone, a Tablet PC, a handheld computer, a wearable electronic device, a PC, a desktop computer, and the like.
The first module and the first electronic device may be connected by means of a USB interface. The embodiment of the application does not limit the Type of the USB interface, and can comprise USB A Type loose port, USB B Type 4Pin, USB B Type 5Pin, USB B Type 8Pin, micro USB or Type-C Type and the like.
In one possible implementation manner, after the first module and the first electronic device establish a connection, an information prompt for completing the connection establishment is provided on the first module.
After the connection between the first module and the first electronic device is established, the first electronic device may prompt the user in the form of a prompt tone, which is not limited by the embodiment of the present application. The first electronic device may also prompt the user by displaying the animation or the symbol of the connection on the man-machine interaction interface, where the embodiment of the application is not limited by the specific implementation of the animation or the symbol of the man-machine interaction interface.
S401B, a second module and a second electronic device are connected.
The second module is the first module 100 shown in fig. 1, and the second electronic device may include the electronic device shown in fig. 2. For example, the second electronic device may include a smart phone, a Tablet PC, a handheld computer, a wearable electronic device, a PC, a desktop computer, and the like.
For a specific implementation of the connection between the second module and the second electronic device, please refer to the related description of step S401A, which is not repeated here.
S402A, the first module judges whether a first folder exists in the first electronic device.
It is understood that a folder is a data structure used to organize and manage disk files, and corresponds to a piece of disk space. The folder provides an address pointing to the corresponding space and has no extension, i.e., unlike the format of a file that is identified by an extension.
The first folder is a folder located on the first electronic device or is a folder created by the first electronic device. The first folder is used for storing data to be sent, and the data to be sent are data to be sent to the second electronic device in the first electronic device. For example, the data in the first electronic device is stored in the first folder by copying or moving, and the like, and is to be sent.
In one possible implementation, the first module determines, via the path address, whether a first folder exists on the first electronic device.
The path address of the first folder is preset as 'C \first address\first folder' by way of example. The first module determines whether a first folder exists on the first electronic device by judging whether a corresponding folder exists on a preset path address. For example, if a folder named as a first folder is not available on the path address of "C: \first address\first folder", the first electronic device is considered to be free of the first folder. Otherwise, the first folder is considered to exist on the first electronic device.
S402B, the second module judges whether a second folder exists in the second electronic device.
The second folder is a folder located on the first electronic device, or is a folder created by the second electronic device. The second folder is used for storing data received by the second module.
In a possible implementation, the implementation process of determining whether the second electronic device has the second folder is referred to the description of step S402A, which is not repeated here.
S403A, if the first electronic device does not have the first folder, creating the first folder.
In a possible implementation, if the result of the determining in step S402A is that the first electronic device does not have the first folder, the processing unit on the first module sends, to the first electronic device, indication information, where the indication information is used to instruct the first electronic device to create the first folder on the preset path. The processing unit is the processing unit 102 in fig. 1, and for the description of the processing unit, please refer to the corresponding description in fig. 1, which is not repeated here.
S403B, if the second electronic device does not have the second folder, creating the second folder.
For a specific implementation of creating the second folder, please refer to the description of step S403A, which is not repeated here.
S404, the first module and the second module establish communication connection.
The first module and the second module establish a communication connection through their built-in communication unit, which is the communication unit 103 shown in the aforementioned fig. 1. For the description of the communication unit, please refer to the related description of fig. 1, and the description is omitted here.
The first communication unit built in the first module and the second communication unit built in the second module have a matching relationship. For example, the first communication unit and the second communication unit need to transmit identification codes to each other before establishing a communication connection, and the communication connection can be established only when the identification codes pass verification.
In one possible implementation, after the first module is connected with the first electronic device, the communication unit in the first module generates a Wi-Fi hotspot, and after the second module is connected with the second electronic device, the communication unit in the second module searches for the Wi-Fi hotspot and establishes a Wi-Fi communication connection.
In another possible implementation, the communication unit in the first module and the communication unit in the second module both support bluetooth communication. After the first module is connected with the first electronic device, the communication unit of the first module generates a Bluetooth signal. After the second module is connected with the second electronic device, the communication unit of the second module also generates a bluetooth signal. The communication unit of the first module and the communication unit of the second module establish a bluetooth communication connection in a matched or pre-matched manner.
It should be understood that the technical version of Wi-Fi communication or bluetooth communication is not limited in the embodiment of the present application, for example, the technical version using Wi-Fi communication is Wi-Fi 0, wi-Fi 1, wi-Fi 2, wi-Fi 3, wi-Fi 4, wi-Fi 5, wi-Fi 6, or Wi-Fi 7, etc. For example, the technical version using bluetooth communication is bluetooth 2.0, bluetooth 2.1, bluetooth 3.0, bluetooth 4.0, bluetooth 4.2, bluetooth 5.0, bluetooth 5.1, bluetooth 5.2, bluetooth 5.3, etc.
In a possible implementation manner, the first module and the second module may also establish a communication connection through other wireless communication technologies. For example ZigBee or LoRa, etc.
S405, the first module sends data to be sent to the second module.
In one possible implementation, the user needs to put data to be sent into the first folder, where the data to be sent is data to be sent to the second electronic device.
Illustratively, the user selects data to be transmitted using a mouse, and drops the data into the first folder by dragging.
The user places the data to be sent in the first folder, for example, by copy-and-paste.
The first module monitors whether the first folder has newly added data or not through the processing unit of the first module, and judges the newly added data in the first folder as data to be sent to the second electronic equipment. The processing unit may be, for example, the processing unit 102 in fig. 1, and the detailed description of the processing unit is referred to in fig. 1 and is not repeated here.
It should be noted that, the newly added data in the first folder only includes the data actively stored in the first folder by the user. The data that the first module receives and stores in the first folder is not determined to be data to be transmitted.
In a possible implementation, the communication unit in the first module processes the data to be transmitted, where the processing includes data encoding or data modulation, etc. Then, the data to be transmitted is transmitted through the communication connection established in step S404 described above. The communication unit may be, for example, the communication unit 103 in fig. 1, and for a specific description of the communication unit, please refer to the related description in fig. 1, which is not repeated here.
The communication unit in the first module sends the data to be sent to the second module by Wi-Fi communication.
In a possible implementation, after the first module completes sending the data to be sent, the processing unit of the first module sends first indication information to the first electronic device, where the first indication information is used to instruct the first electronic device to delete the data to be sent in the first folder. In the scheme, after the first module finishes transmitting the data to be transmitted, the indication information is transmitted to the first electronic device, the data to be transmitted stored in the first folder is deleted, the storage space of the first electronic device can be saved, and meanwhile, a user can be prompted that the data to be transmitted is already transmitted.
It should be noted that, the user stores the data to be sent into the first folder, and the first module automatically performs the processes of data monitoring, data processing, data sending, data deleting, and the like.
In one possible implementation, after the user stores the data to be sent in the first folder, the processing unit in the first module sends indication information to the first electronic device, where the indication information is used to enable the first electronic device to display the progress of data sending.
S406, the second module stores the received data to be sent into a second folder.
In a possible implementation, the second module receives the data to be sent by the first module through the communication connection established in step S404.
Illustratively, the communication unit in the second module receives the data to be transmitted from the first module by way of Wi-Fi communication.
In a possible implementation, the second module stores, through its processing unit, the received data to be sent in the second folder created in step S403B.
In another possible implementation, the second module may store the received data to be sent in the second folder created in step S403B, where the processing unit and the communication unit cooperate.
The steps of the data transmission method shown in fig. 4, which require user operations, include connecting the first module with the first electronic device, connecting the second module with the second electronic device, and storing the data to be transmitted in the first folder. Therefore, the data transmission method shown in fig. 4 is simple and convenient to operate, and the data transmission is not limited to the storage space of the external device. Meanwhile, the data transmission method shown in fig. 4 supports the repeated data transmission of the user.
The first module may also be capable of receiving data transmitted from the second module. Similarly, the second module can also send data to the first module. That is, the first module or the second module supports both transmission and reception of data. Therefore, the data transmission method shown in fig. 4 also supports the situation that the first electronic device and the second electronic device need to exchange data frequently. The user can simply, conveniently and quickly transmit data in the two internet-free electronic devices.
In one possible implementation, the first module receives data sent from the second module and stores the received data in the first folder. It can be seen that the first module is not only able to send data to the second module, but also able to receive data from the second module, so that a mutual transmission of data between two netless electronic devices can be achieved.
In another possible implementation, the first module sends, through the processing unit thereof, indication information to the first electronic device, instructing the first electronic device to create a third folder, where the third folder is used to store the data received by the first module. In the scheme, the data sent by the first module is stored in the first folder, the data received by the first module is stored in the third file, so that a user can conveniently distinguish the data sent and received by the first module.
In a possible implementation, the data transmission method shown in fig. 4 can also support data transmission between multiple modules of the external device, as shown in fig. 2.
The first module and the plurality of second modules are illustratively connected to the plurality of electronic devices, respectively, and a communication connection shown in the above step S404 is also established between the first module and the plurality of second modules, and the first module and the plurality of second modules are capable of mutually transmitting data. For example, the first module can perform data transmission with any one of the second modules, and the second modules can also perform data transmission with each other.
In one possible implementation, the storage unit of the first module is configured to store data to be copied, where the data to be copied includes data that needs to be copied to a third electronic device in the first electronic device, and the third electronic device is capable of being connected to the first module through the first USB interface. The third electronic device may be the first electronic device or the second electronic device. In the scheme, the first module can directly store the data to be sent to the third electronic equipment by utilizing the built-in storage unit, so that the use function of the module is expanded, and the data can be stored for a long time conveniently.
In order to realize data transmission between remote internet-free electronic devices, based on the application scenario shown in fig. 3, an embodiment of the present application provides a method for using an external device in the application scenario shown in fig. 3, please refer to fig. 5.
Fig. 5 is a flow chart of another method for using an external device according to an embodiment of the present application. The use process of the external device includes but is not limited to the following steps:
S501A, the first module is connected to the first electronic device.
The first module is the first module 100 shown in fig. 1, and the first electronic device may include the electronic device shown in fig. 3. For example, the first electronic device may include a smart phone, a Tablet PC, a handheld computer, a wearable electronic device, a PC, a desktop computer, and the like.
The first module and the first electronic device may be connected by means of a USB interface. The embodiment of the application does not limit the Type of the USB interface, and can comprise USB A Type loose port, USB B Type 4Pin, USB B Type 5Pin, USB B Type 8Pin, micro USB or Type-C Type and the like.
For a specific implementation of the first module after being connected to the first electronic device, please refer to the description related to step S401A, which is not repeated here.
S501B, the second module is connected to the second electronic device.
The second module is the first module 100 shown in fig. 1, and the second electronic device may include the electronic device shown in fig. 3. For example, the second electronic device may include a smart phone, a Tablet PC, a handheld computer, a wearable electronic device, a PC, a desktop computer, and the like.
For a specific implementation of the connection between the second module and the second electronic device, please refer to the description related to step S501A, which is not repeated here.
S502A, the first module judges whether a first folder exists in the first electronic device. The specific implementation is described in the above step S402A, and will not be described herein.
S502B, the second module judges whether a second folder exists in the second electronic device. The specific implementation is referred to the above description of step S402B, and will not be repeated here.
S503A, if the first electronic device does not have the first folder, creating the first folder. The specific implementation is described in the above step S403A, and will not be described herein.
S503B, if the second electronic device does not have the second folder, creating the second folder. The specific implementation is referred to the above description of step S403B, and will not be repeated here.
S504, the first module and the cloud server establish communication connection.
The first module establishes a communication connection with the cloud server through its built-in communication unit, which is the communication unit 103 shown in fig. 1 described above. For the description of the communication unit, please refer to the related description of fig. 1, and the description is omitted here.
In one possible implementation, after the first module is connected to the first electronic device, the communication unit in the first module generates a Wi-Fi signal, and establishes a communication connection with the cloud server through the public network.
In one possible implementation, after the first module and the first electronic device establish connection, the user interface of the first electronic device displays an account login window, the user logs in the account by inputting an account/password, and the user interface further displays data/files corresponding to the account.
S505, the first module sends data to be sent to the cloud server.
In one possible implementation, a user places data to be sent to a cloud server in a first folder.
Illustratively, the user selects data to be transmitted using a mouse, and stores the data in the first folder by dragging.
The user places the data to be transmitted in the first folder, for example, by copy-and-paste.
The first module monitors whether the first folder has newly added data or not through the processing unit of the first module, and judges the newly added data in the first folder as data to be sent to the cloud server. The processing unit may be, for example, the processing unit 102 in fig. 1, and the detailed description of the processing unit is referred to in fig. 1 and is not repeated here.
It should be noted that, the newly added data in the first folder only includes the data actively stored in the first folder by the user. The first module receives and stores the data received by the first module into the first folder, and the data does not belong to the newly added data in the first folder.
In another possible implementation, after the user puts the data to be sent to the cloud server into the first folder, the first module first reads the data in the first folder into the storage unit in the first module. The processing unit judges the newly added data in the storage unit as data to be transmitted.
In a possible implementation, the communication unit in the first module processes the data to be transmitted, where the processing includes data encoding or data modulation, etc. Then, the data to be transmitted is transmitted through the communication connection established in step S504 described above. The communication unit may be, for example, the communication unit 103 in fig. 1, and for a specific description of the communication unit, please refer to the related description in fig. 1, which is not repeated here.
The communication unit in the first module sends the data to be sent to the cloud server in a Wi-Fi communication manner.
In a possible implementation, after the first module completes sending the data to be sent, the processing unit of the first module sends first indication information to the first electronic device, where the first indication information is used to instruct the first electronic device to delete the data to be sent in the first folder. In the scheme, after the first module finishes transmitting the data to be transmitted, the indication information is transmitted to the first electronic device, the data to be transmitted stored in the first folder is deleted, the storage space of the first electronic device can be saved, and meanwhile, a user can be prompted that the data to be transmitted is already transmitted.
It should be noted that, the user stores the data to be sent into the first folder, and the first module automatically performs the processes of data monitoring, data processing, data sending, data deleting, and the like.
In one possible implementation, after the user stores the data to be sent in the first folder, the processing unit in the first module sends indication information to the first electronic device, where the indication information is used to enable the first electronic device to display the progress of data sending.
S506, the second module and the cloud server establish communication connection.
The second module establishes a communication connection with the cloud server through its built-in communication unit, which is the communication unit 103 shown in fig. 1 described above. For the description of the communication unit, please refer to the related description of fig. 1, and the description is omitted here.
In one possible implementation, after the second module is connected to the second electronic device, the communication unit in the first module generates a Wi-Fi signal, and establishes a communication connection with the cloud server through the public network.
In one possible implementation, after the second module and the second electronic device are connected, the user interface of the first electronic device displays an account login window, the user logs in the account by inputting an account/password, the user interface further displays data/files corresponding to the account, and the user can select the data/files displayed by the user interface to download.
S507, the second module acquires data to be transmitted in the cloud server.
In one possible implementation, after the second module and the cloud server establish a communication connection, the relevant attribute of the data stored on the cloud server can be acquired and displayed on the man-machine interaction interface of the second electronic device. Such as the type of data, the name of the data, or the size of the data.
S508, the second module stores the received data to be sent into a second folder.
And the processing unit of the second module receives an acquisition instruction from a user, wherein the instruction instructs the second module to acquire data to be transmitted in the cloud server. The second module obtains the data to be sent in the cloud server through the communication unit thereof, and stores the data to be sent in the second folder shown in the step S503B.
Note that, the sequence of the step S504 and the step S506 is not limited. For example, step S504 is performed first, and step S505 is performed later. Alternatively, step S505 is performed first, and step S504 is performed later. Alternatively, step S504 and step S505 are performed simultaneously.
According to the data transmission method shown in fig. 5, the cloud server is used as a transfer station for data transmission, so that long-distance data transmission can be realized, and two long-distance network-free devices can also transmit data.
It should be noted that, the above-mentioned first module can also obtain data in the cloud server. Similarly, the second module can also send data to the cloud server. That is, the first module or the second module supports both transmission and reception of data. Therefore, the data transmission method shown in fig. 5 also supports the situation that the first electronic device and the second electronic device need to exchange data frequently.
In a possible implementation, the data transmission method shown in fig. 5 can also support data transmission between a plurality of electronic devices, as shown in fig. 3.
The first module and the two second modules are connected to three electronic devices, and the three modules are all connected to the cloud server in a communication manner as shown in step S504, so that data transmission between the plurality of electronic devices is achieved. For example, the first module sends data to be sent to the cloud server, and the second module can obtain the data to be sent from the cloud server.
The embodiments of the present application also provide a computer-readable storage medium storing a computer program that is executed by a processor to implement operations performed by the electronic device of any of the above-described respective embodiments and possible embodiments thereof.
Embodiments of the present application also provide a computer program product, which when read and executed by a computer, performs the operations of the electronic device of any of the above embodiments and possible embodiments thereof.
The terms "first," "second," and the like in this disclosure are used for distinguishing between similar elements or items having substantially the same function and function, and it should be understood that there is no logical or chronological dependency between the terms "first," "second," and "n," and that there is no limitation on the amount and order of execution. It will be further understood that, although the following description uses the terms first, second, etc. to describe various elements, these elements should not be limited by the terms. These terms are only used to distinguish one element from another element.
It should also be understood that, in the embodiments of the present application, the sequence number of each process does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiments of the present application.
It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should be further appreciated that reference throughout this specification to "one embodiment," "an embodiment," "one possible implementation" means that a particular feature, structure, or characteristic described in connection with the embodiment or implementation is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment," "one possible implementation" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.

Claims (10)

1. The external device is characterized by comprising a first module and a second module, wherein the first module comprises a first USB interface, a first processing unit and a first communication unit; the second module comprises a second USB interface and a second communication unit which has a matching relation with the first communication unit; the first module is connected with first electronic equipment through the first USB interface; the second module is connected with second electronic equipment through the second USB interface;
the first communication unit is used for establishing connection with the second communication unit based on the matching relation, so that the first module establishes connection with the second module;
The first processing unit is used for monitoring whether a first folder is provided with data to be sent or not, and the first folder is located in the first electronic equipment; the first folder is used for storing data to be sent, and the data to be sent are data to be sent to the second electronic device in the first electronic device;
the first communication unit is further configured to obtain, when the first folder has data to be sent, the data to be sent from the first folder, and send the data to be sent to the second electronic device based on connection between the first communication unit and the second communication unit.
2. The external device of claim 1, wherein the first processing unit is further configured to send a first indication to the first electronic device, where the first communication unit completes sending the data to be sent, and the first indication is used to instruct the first electronic device to delete the data to be sent.
3. The external device according to claim 1 or 2, wherein the first processing unit is further configured to monitor whether the first folder exists in the first electronic device;
In the case that the first electronic device does not exist the first folder, the first processing unit sends a second instruction to the first electronic device, wherein the second instruction is used for instructing the first electronic device to create the first folder.
4. The external device according to any of claims 1-3, wherein the first communication unit is specifically configured to:
transmitting the data to be transmitted to the second communication unit; or sending the data to be sent to the second electronic equipment through a cloud server.
5. The external device of any of claims 1-4, wherein the second module further comprises a second processing unit; the second processing unit is used for sending a third instruction to the second electronic equipment; the third instruction is used for instructing the second electronic equipment to store the data to be sent into a second folder; the second folder is used for storing the data received by the second module.
6. The external device of any of claims 1-5, wherein the first module further comprises a first storage unit, the first storage unit being configured to store data to be copied; the data to be copied comprises data which needs to be copied to third electronic equipment in the first electronic equipment, and the third electronic equipment can be connected with the first module through the first USB interface.
7. The data transmission method is characterized by being applied to external equipment; the external equipment comprises a first module and a second module, wherein the first module comprises a first USB interface, a first processing unit and a first communication unit; the second module comprises a second USB interface and a second communication unit which has a matching relation with the first communication unit; the first module is connected with first electronic equipment through the first USB interface; the second module is connected with second electronic equipment through the second USB interface; the first communication unit is used for establishing connection with the second communication unit based on the matching relation, so that the first module establishes connection with the second module;
monitoring whether a first folder is provided with data to be sent or not through the first processing unit, wherein the first folder is positioned in the first electronic equipment; the first folder is used for storing data to be sent, and the data to be sent are data to be sent to the second electronic device in the first electronic device;
when the first folder has data to be sent, the data to be sent is obtained from the first folder through the first communication unit, and the data to be sent is sent to the second electronic equipment based on the connection of the first communication unit and the second communication unit.
8. A communication system, wherein the communication system comprises a first electronic device, at least one second electronic device and an external device; the external equipment comprises a first module and at least one second module, wherein the first module comprises a first USB interface, a first processing unit and a first communication unit; an ith second module in the at least one second module comprises a second USB interface and a second communication unit which has a matching relation with the first communication unit, wherein i is a positive integer; the first module is connected with the first electronic equipment through the first USB interface; the ith second module is connected with the at least one second electronic device through the second USB interface; the first communication unit is used for establishing connection with the second communication unit based on the matching relation, so that the first module is connected with the ith second module;
the first electronic device is configured to create a first folder, where the first folder is used to store data to be sent, and the data to be sent is data to be sent to the second electronic device in the first electronic device;
the first processing unit is used for monitoring the first folder and judging whether the data to be sent exist in the first folder or not;
The first communication unit is further configured to obtain, when the first folder has data to be sent, the data to be sent from the first folder, and send the data to be sent to the second electronic device based on connection between the first communication unit and the second communication unit;
and the ith second electronic equipment is used for receiving the data to be sent through the second communication unit.
9. The communication system is characterized by comprising a first electronic device, at least one second electronic device, an external device and a cloud server; the external equipment comprises a first module and at least one second module, wherein the first module comprises a first USB interface, a first processing unit and a first communication unit; an ith second module in the at least one second module comprises a second USB interface and a second communication unit which has a matching relation with the first communication unit, wherein i is a positive integer;
the first module is connected with the first electronic equipment through the first USB interface; the ith second module is connected with the ith second electronic equipment in the at least one second electronic equipment through the second USB interface; the first communication unit is used for establishing connection with the second communication unit based on the matching relation, so that the first module is connected with the ith second module;
The first electronic device is configured to create a first folder, where the first folder is used to store data to be sent, and the data to be sent is data to be sent to the second electronic device in the first electronic device;
the first processing unit is used for monitoring the first folder and judging whether the data to be sent exist in the first folder or not;
the first communication unit is further configured to obtain, when the first folder has data to be sent, the data to be sent from the first folder, and send the data to be sent to the cloud server based on connection between the first communication unit and the second communication unit;
the ith second electronic device is configured to obtain, through the second communication unit, the data to be sent in the cloud server.
10. A computer readable storage medium comprising instructions which, when executed by a processor, cause the method according to claim 7 to be implemented.
CN202310577094.8A 2023-05-22 2023-05-22 External device, data transmission method and communication system Pending CN116610613A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310577094.8A CN116610613A (en) 2023-05-22 2023-05-22 External device, data transmission method and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310577094.8A CN116610613A (en) 2023-05-22 2023-05-22 External device, data transmission method and communication system

Publications (1)

Publication Number Publication Date
CN116610613A true CN116610613A (en) 2023-08-18

Family

ID=87677637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310577094.8A Pending CN116610613A (en) 2023-05-22 2023-05-22 External device, data transmission method and communication system

Country Status (1)

Country Link
CN (1) CN116610613A (en)

Similar Documents

Publication Publication Date Title
CN102255887B (en) Method and system for providing online services corresponding to multiple mobile devices
CN105704837B (en) Method and equipment for establishing wireless connection
US11030143B2 (en) System for sharing content between electronic devices, and content sharing method for electronic device
KR102396801B1 (en) System of providing product information using copy/paste function of electronic commerce shopping cart, method thereof and computer readable medium having computer program recorded thereon
US20220214932A1 (en) Methods, devices and computer storage media for inter-mini program platform communication
US10908889B2 (en) Method, user equipment, and application server for downloading application
EP3944584B1 (en) Method supporting wireless access to storage device, and mobile routing hotspot device
WO2019019811A1 (en) Method and device for acquiring wireless access point information
CN113556715B (en) Device connection method and apparatus, computer readable medium and electronic device
CN114697879B (en) Bluetooth pairing method, electronic device, chip and storage medium
CN105516246A (en) Method for preventing application program downloading hijacking and server
US20150257183A1 (en) Apparatus, system and method of identifying a wireless docking station
US20150242076A1 (en) Method of editing one or more objects and apparatus for same
US20140372528A1 (en) Information processing system, information processing apparatus, and recording medium
CN103618780A (en) Method and device for realizing multiple virtual machine mounted externally-arranged components
CN114637703B (en) Data access device, method, readable medium and electronic equipment
GB2524646A (en) Communication apparatus, information processing apparatus, and control method for the same
KR101419275B1 (en) Data synchronizing and servicing apparatus and method based on cloud storage
CN116610613A (en) External device, data transmission method and communication system
CN107241262B (en) Data receiving, sending and transmitting method, sending end, receiving end and server
CN114860213A (en) Application package generation method, device, equipment and medium
CN109714734B (en) DMR system, wireless communication method and device of DMR and terminal equipment
CN115225627A (en) File transmission method and device, computer equipment and storage medium
CN108933755B (en) Application server message sending, receiving and interacting method and device
EP3179361A1 (en) External display system and external display method therefor

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