CN112688741B - File sending method, device and equipment - Google Patents

File sending method, device and equipment Download PDF

Info

Publication number
CN112688741B
CN112688741B CN202011497464.XA CN202011497464A CN112688741B CN 112688741 B CN112688741 B CN 112688741B CN 202011497464 A CN202011497464 A CN 202011497464A CN 112688741 B CN112688741 B CN 112688741B
Authority
CN
China
Prior art keywords
file
input
electronic device
target
sending
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
CN202011497464.XA
Other languages
Chinese (zh)
Other versions
CN112688741A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011497464.XA priority Critical patent/CN112688741B/en
Publication of CN112688741A publication Critical patent/CN112688741A/en
Application granted granted Critical
Publication of CN112688741B publication Critical patent/CN112688741B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The application discloses a file sending method, a file sending device and file sending equipment, and belongs to the technical field of communication. The method comprises the following steps: receiving a first input of a user under the condition that the first electronic equipment establishes connection with at least one second electronic equipment; the first input is used for indicating at least one target file; and responding to the first input, and sending the at least one target file to the at least one second electronic device by taking infrasonic waves as carriers. According to the file sending method and device, due to the fact that the infrasonic waves have the advantages of being strong in penetrating power and long in propagation distance, the infrasonic waves are used as carriers for sending the target files, sending quality and stability of file sending are improved, extra flow does not need to be used, and cost of file sending is reduced.

Description

File sending method, device and equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a file sending method, device and equipment.
Background
With the development of electronic device technology, electronic devices have become a necessary tool for file transmission in people's daily life.
In the related art, there are various file transmission methods, for example, file transmission is performed by bluetooth, file transmission may also be performed through a wireless network, and the like. However, the existing file transmission method is limited by various factors, for example, the device needs to be within a certain distance range to transmit the file by using bluetooth, and for example, when the file is transmitted by using a wireless network, the strength of the network signal affects the file transmission efficiency.
Therefore, in the process of implementing the present application, the inventors found that the following problems still exist in the related art: due to the limitation of factors such as sending distance and unstable network signals, the file sending method in the related art has low quality and stability of file sending and high cost.
Disclosure of Invention
The embodiment of the application aims to provide a file sending method, a file sending device and file sending equipment, and the problems that in a file sending mode in the related technology, the quality and the stability of file sending are low and the cost is high can be solved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a file sending method, where the method includes:
receiving a first input of a user under the condition that the first electronic equipment establishes connection with at least one second electronic equipment; the first input is used for indicating at least one target file;
and responding to the first input, and sending the at least one target file to the at least one second electronic device by taking infrasonic waves as carriers.
In a second aspect, an embodiment of the present application provides a file sending apparatus, including:
the receiving module is used for receiving a first input of a user under the condition that the first electronic equipment is connected with at least one second electronic equipment; the first input is used for indicating at least one target file;
and the sending module is used for responding to the first input and sending the at least one target file to the at least one second electronic device by taking infrasonic waves as carriers.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium on which a program or instructions are stored, which when executed by a processor, implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, under the condition that the first electronic device is connected with at least one second electronic device, after the first electronic device receives a first input for indicating at least one target file, the first electronic device can use an infrasonic wave as a carrier to send the at least one target file to the at least one second electronic device, and because the infrasonic wave has the characteristics of strong penetrating power and long propagation distance, the infrasonic wave is used as the carrier for sending the target file, the problem of signal attenuation caused by long distance does not occur, and the problem of low sending quality caused by unstable network signals does not occur.
Drawings
Fig. 1 is a schematic structural diagram of a file delivery system according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a file sending method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a file sending interface provided in an embodiment of the present application;
FIG. 4 is a schematic diagram of another file delivery interface provided by an embodiment of the present application;
FIG. 5 is a schematic diagram of yet another file delivery interface provided by an embodiment of the present application;
fig. 6 is a schematic structural diagram of a file sending device according to an embodiment of the present application;
fig. 7 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present disclosure;
fig. 8 is a schematic hardware structure diagram of another electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, of the embodiments of the present application. 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 application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be understood that the information so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein as a class of elements and not a limitation on the number of elements, e.g., a first element may be one or more. Further, in the specification and claims, "and/or" means at least one of the connected elements, the character "/" generally means that the preceding and following associated elements are in an "or" relationship.
Fig. 1 is a schematic structural diagram of a file sending system 100 according to an embodiment of the present application. The file transmission method according to the embodiment of the present application can be applied to the file transmission system 100.
As shown in fig. 1, in some embodiments of the present application, the file delivery system 100 may include a first electronic device 101 and at least one second electronic device 102. The first electronic device 101 and the second electronic device 102 may be devices with file sending and receiving functions, such as a mobile phone, a tablet computer, and an intelligent wearable device. The first electronic device 101 and the second electronic device 102 can communicate with each other, for example, wireless network, bluetooth, near-field communication (NFC), infrasonic wave, etc. may be used for communication.
In some embodiments of the present application, in a case where the first electronic device 101 and the second electronic device 102 establish a connection, file transmission may be performed, for example, transmission of a video file, transmission of a document, transmission of a picture file, or the like. For example, the first electronic device 101 and the second electronic device 102 perform file transmission through a wireless network, and may also perform file transmission through bluetooth. When the first electronic device 101 and the second electronic device 102 perform file transmission through a wireless network, the file transmission may be affected by unstable network signals, resulting in low quality and stability of file transmission. Moreover, using wireless networks for file transmission may also require the use of traffic, which is costly. When the first electronic device 101 and the second electronic device 102 perform file transmission through bluetooth, since the bluetooth is limited by the distance between the first electronic device 101 and the second electronic device 102, when the distance between the first electronic device 101 and the second electronic device 102 is long, the first electronic device 101 cannot transmit a file to the second electronic device 102 through bluetooth. Therefore, in the related art, due to the limitation of various factors such as the transmission distance and unstable network signals, the file transmission quality and stability in the file transmission mode in the related art are low, and the cost is high.
Based on this, an embodiment of the present application provides a file sending method, where, when a first electronic device is connected to at least one second electronic device, after the first electronic device receives a first input for indicating at least one target file, the first electronic device can send the at least one target file to the at least one second electronic device using an infrasonic wave as a carrier, and since the infrasonic wave has characteristics of strong penetrating power and long propagation distance, the infrasonic wave is used as a carrier for sending the target file, so that a problem of signal attenuation due to long distance does not occur, and a problem of low sending quality due to unstable network signals does not occur.
In the following, with reference to the accompanying drawings, by taking an execution subject of a file sending method as an example, a power adjusting method provided in an embodiment of the present application is described in detail through a specific embodiment and an application scenario thereof.
Fig. 2 is a flowchart illustrating a file sending method 200 according to an embodiment of the present application. As shown in fig. 2, a file sending method 200 provided in the embodiment of the present application may include S201 and S202.
S201: receiving a first input of a user under the condition that the first electronic equipment establishes connection with at least one second electronic equipment; the first input is for indicating at least one target file.
S202: and responding to the first input, and transmitting at least one target file to at least one second electronic device by taking the infrasonic wave as a carrier.
In the embodiment of the application, under the condition that the first electronic device is connected with at least one second electronic device, after the first electronic device receives a first input for indicating at least one target file, the first electronic device can use an infrasonic wave as a carrier to send the at least one target file to the at least one second electronic device, and because the infrasonic wave has the characteristics of strong penetrating power and long propagation distance, the infrasonic wave is used as the carrier for sending the target file, the problem of signal attenuation caused by long distance does not occur, and the problem of low sending quality caused by unstable network signals does not occur.
Before describing S201 and S202, a detailed description will be given of a process of performing communication connection between the first electronic device and the second electronic device.
Specifically, before S201, the following steps may be further included: first, the first electronic device detects whether an infrasonic signal transmitted outward by the second electronic device exists, and sends a connection request to the second electronic device when the infrasonic signal transmitted outward by the second electronic device is detected. Then, after receiving the connection request, the second electronic device feeds back connection confirmation information to the first electronic device, so that the first electronic device establishes communication connection with the second electronic device after receiving the connection confirmation information.
In some embodiments of the application, when the first electronic device detects that the second electronic device propagates the infrasonic wave signal outwards, the device identifier of the second electronic device may be displayed on an interface of the electronic device, the user may select the device identifier of the second electronic device that needs to be connected according to the user's own needs, and then the first electronic device sends the connection request to the second electronic device corresponding to the device identifier according to the device identifier.
Next, the contents of S201 and S202 are described, respectively:
first, S201 is referred to.
Illustratively, as shown in fig. 3, a first electronic device may establish a connection with at least one second electronic device. And the file sending interface displays the identification of at least one target file. When the user needs to send the target file to at least one second electronic device, the file identifier displayed on the interface of the electronic device can be operated, so that the electronic device can receive a first input indicating at least one target file. Here, the first input may include an input of a user selecting an identification of the at least one target file, may further include an input of a user selecting an identification of the second electronic device, and the like.
For example, as shown in fig. 4, a mobile phone a and a mobile phone B communicate through an infrasonic wave, a user needs to send a file 1 in the mobile phone a to the mobile phone B, and the user can operate an identifier of the file 1 displayed on an interface of the mobile phone a, so that the mobile phone a can receive an input of selecting the file 1 by the user, the interface of the mobile phone a can display an identifier of the mobile phone B, and the user can operate the identifier of the mobile phone B, so that the mobile phone a can receive an input of selecting the mobile phone B by the user.
Among other things, the inputs referred to in this application may include: click input, slide input, drag input, and the like, which are not limited in this application.
Next, S202 is referred to.
The first electronic device responds to input indicating at least one target file after receiving the input. Because the first electronic device and the second electronic device communicate with each other through the infrasonic wave, after responding to the first input, the first electronic device can send at least one target file to the second electronic device connected with the first electronic device by using the infrasonic wave as a carrier.
In some embodiments of the present application, to improve the accuracy of file transmission, before S101, the first electronic device may further detect an infrasonic wave frequency corresponding to an infrasonic wave emitted by the second electronic device. Specifically, the first electronic device may detect whether or not infrasonic waves are present. And under the condition that the first electronic equipment detects that the second electronic equipment emits the infrasonic wave, acquiring the infrasonic wave frequency of the second electronic equipment. In addition, the first electronic device also sends a connection request to the second electronic device. And under the condition of receiving a connection confirmation request sent by the second electronic equipment, the first electronic equipment establishes connection with the second electronic equipment.
After the first electronic device detects the infrasonic frequency of the infrasonic wave transmitted by the second electronic device, in S202, the first electronic device may transmit the target file to the second electronic device at the infrasonic frequency.
For example, cell phone a communicates with cell phone B and cell phone C, respectively, with infrasonic waves. The mobile phone A detects that the frequency of the infrasound wave emitted by the mobile phone B is 5Hz, and the frequency of the infrasound wave emitted by the mobile phone C is 6.2Hz. The user needs to send the file 1 to the mobile phone B and the mobile phone C through the mobile phone A, the mobile phone A can send the target file to the mobile phone B through the infrasonic wave with the frequency of 5Hz, and the target file is sent to the mobile phone C through the infrasonic wave with the frequency of 6.2Hz.
Therefore, the first electronic equipment can transmit the target file based on the frequency of the infrasound waves of the second electronic equipment, and the accuracy of file transmission is higher.
In some embodiments of the present application, the user may send each of the at least one object file to at least one second electronic device, and may further specify the second electronic device to which each object file is to be sent. Specifically, before S201, the following steps may be further included: firstly, receiving a second input of a user; then, responding to a second input, and displaying at least one file sending mode; and finally, receiving third input of the user to a target sending mode, wherein at least one file sending mode comprises the target sending mode. After determining the file sending method, S202 may specifically include: and responding to the first input, and transmitting at least one target file to at least one second electronic device by taking infrasonic waves as carriers according to a target transmission mode.
The target interface of the first electronic device may display file identifiers of a plurality of files, the second input may be an input of a user to a file identifier of any one of the plurality of files, and after the first electronic device receives the input of the file identifier of the user, the first electronic device may display at least one file transmission mode, where the file transmission mode may be displayed in a floating window mode. For example, the user may press the file identifier of any file for a long time, and the first electronic device displays the file sending mode after receiving the long-press input of the user. The file transmission mode refers to a mode of transmitting the target file to the electronic device associated with the target file. The user can select a file sending mode based on the self requirement, and then the first electronic device sends the target file to the second electronic device according to the file sending mode selected by the user.
For example, as shown in fig. 5, the file transmission interface of the mobile phone a displays the file identifier 1XXX of the file 1, the file identifier 2XXX of the file 2, the file identifier 3XXX of the file 3, the file identifier 4XXX of the file 4, and the file identifier 5XXX of the file 5. The user presses the file identification 3XXX, and after receiving the input of the user, the mobile phone A displays a file sending mode, wherein the file sending mode comprises the steps of sending the target files to at least one second electronic device (a file sending mode 1) and appointing the second electronic device (a file sending mode 2) to which each target file is sent. For example, the user selects the target file to be transmitted to the at least one second electronic device as the target transmission mode. And the mobile phone A receives the user selection and sends the target file to at least one second electronic device. When a user needs to send files 1 and 4 to the mobile phone B and the mobile phone C, the mobile phone A sends the files 1 and 4 to the mobile phone B and sends the files 1 and 4 to the mobile phone C.
Therefore, the user can select the file sending mode according to the self requirement, so that the convenience of file sending is improved, and the user experience is improved.
In some embodiments of the present application, based on different file sending manners, the user needs to select a second electronic device that needs to send a file.
In particular, after receiving the second input, the first electronic device may also respond to the second input and then display the file identification of the file and the device identifications of the multiple electronic devices (i.e., the third electronic device). Here, the file includes at least one object file, and the third electronic device includes at least one second electronic device.
After displaying the file identifier of the file and the device identifiers of the plurality of electronic devices, the user may select the file identifier and the device identifiers to determine the target file and the second electronic device to be transmitted. Wherein, S201 specifically includes: a first input of a target identification by a user is received. Wherein the target identifier is at least one of a file identifier of the at least one target file and a device identifier of the at least one second electronic device. For example, if the user selects file id 2XXX of file 2 and file id 3XXX of file 3, and selects id a of cell phone a and id B of cell phone B, the target id includes file ids 2XXX, 3XXX, id a and id B. For another example, if the user drags the identifier a of the mobile phone a to the layer on which the file identifier 3XXX of the file 3 is located, the target identifier may be the identifier a of the mobile phone a.
After first input of the target identification by the user is received, the first electronic equipment responds to the first input. Specifically, S202 specifically includes: in response to the first input, second electronic devices associated with each target file are determined, wherein each target file may be associated with at least one second electronic device. And then, at least one target file is sent to at least one second electronic device by taking the infrasonic wave as a carrier.
The first electronic device can determine a second electronic device associated with each target file based on a first input of the target identification by the user, thereby enabling the first electronic device to send the target files to the second electronic devices associated with the target files. For example, if the first input is a user selecting file identification 2XXX of file 2 and file identification 3XXX of file 3, and selecting identification a of cell phone a and identification B of cell phone B, then the first electronic device may determine that the second electronic devices associated with the files are cell phone a and cell phone B, and the second electronic devices associated with file 3 are cell phone a and cell phone B. So that the first electronic device will send file 2 to cell phone a and cell phone B and file 3 to cell phone a and cell phone B.
For example, the file identifier of each file may include a checkbox, and the device identifier of each electronic device may also include a checkbox, and when the target file sending manner selected by the user is to send the target files to the designated electronic device, the screen background of the file sending interface of the first electronic device may become semi-transparent, and the checkbox appears in the upper right corner of each file. And popping up a dialog box below the screen, displaying the equipment identifier of the connected second electronic equipment, enabling a check box to appear at the upper right corner of the equipment identifier of the second electronic equipment, checking and checking the second electronic equipment in the dialog box below the file sending interface after checking the target file to be sent, wherein one second electronic equipment can be selected, and a plurality of second electronic equipments can also be selected. For example, if the files to be sent by the user are file 2 and file 3, the checkboxes of file 2 and file 3 are checked, the checkbox a or B is clicked in the dialog box below the file sending interface, and multiple target devices can be checked at the same time.
In addition, the target file sending method may also be that the second electronic devices associated with different target files are different, and specifically, in this file sending method, the file identifier and the device identifier may be displayed in the following manner: after the file identifiers are displayed, device identifiers of a plurality of electronic devices (third electronic devices) are displayed in a preset area associated with each file identifier. For example, the device identifiers of the plurality of electronic devices may be displayed within a preset circumferential area of the file identifier. For another example, the device identifiers of the plurality of electronic devices may be displayed from top to bottom in the right area of the file identifier.
Next, S201 is referred to. In S201, the user may select a file identifier of at least one target file from the file identifiers of the multiple files, and after receiving a third input that the user selects the target file, the electronic device may determine at least one target file that the user needs to send. Next, the user may select, for each target file, a device identification of at least one second electronic device from the device identifications of the third electronic device, wherein the at least one second electronic device is associated with the target file. At this point, the first electronic device can receive a fourth input and respond to the fourth input to determine the second electronic device associated with each target file.
For example, the electronic devices connected to the mobile phone a include a mobile phone B, a mobile phone C, a mobile phone D, a mobile phone E, a mobile phone F, and a mobile phone G. The user needs to send the file 2 and the file 4 through the mobile phone A, wherein the file 2 needs to be sent to the mobile phone B and the mobile phone C, and the file 4 needs to be sent to the mobile phone D and the mobile phone E. After receiving the input of the target file sending mode selected by the user, the mobile phone A enables the picture background of the file sending interface to be semi-transparent. Then, file identification 1XXX, file identification 2XXX, file identification 3XXX and file identification 4XXX are displayed, the user may select the file identifications of file 2 and file 4 from the plurality of file identifications, such that the file transmission interface displays only file identification 2XXX and file identification 4XXX, and the cell phone identification displayed around file identification 2XXX includes B, C, D, E, F and G, and the cell phone identification displayed around file identification 4XXX includes B, C, D, E, F and G. For the file 2, the user can select the identifiers of the mobile phone B and the mobile phone C from the plurality of mobile phone identifiers, so that the mobile phone a can determine that the electronic devices associated with the file 2 are the mobile phone B and the mobile phone C, and the file 2 needs to be sent to the mobile phone B and the mobile phone C. For the file 4, the user may select the identifiers of the mobile phone D and the mobile phone E from the plurality of mobile phone identifiers, so that the mobile phone a may determine that the electronic devices associated with the file 4 are the mobile phone D and the mobile phone E, and need to send the file 4 to the mobile phone D and the mobile phone E.
For another example, the user needs to send file 2 and file 4 through mobile phone a, where file 2 needs to be sent to mobile phone B and mobile phone C, and file 4 needs to be sent to mobile phone D and mobile phone E. The mobile phone identifiers displayed around the file identifier 2XXX include B, C, D, E, F and G, and the mobile phone identifiers displayed around the file identifier 4XXX include B, C, D, E, F and G. For file 2, the user may drag the identifier B of cell phone B and the identifier C of cell phone C onto the file identifier 2XXX of file 2. For file 4, the user may drag the identifier D of the mobile phone D and the identifier E of the mobile phone E onto the file identifier 4XXX of file 4. After receiving the input of the mobile phone identifier dragged by the user, the mobile phone a determines that the electronic devices associated with the file 2 are the mobile phone B and the mobile phone C, and determines that the electronic devices associated with the file 4 are the mobile phone D and the mobile phone E.
And after determining the second electronic equipment associated with each target file, transmitting each target file to the second electronic equipment associated with each target file by taking the infrasonic wave as a carrier.
Therefore, the user can send a plurality of files to at least one electronic device at the same time, the files do not need to be selected for each file, and the file sending efficiency is improved.
In some embodiments of the present application, the user may also cancel the sending of the file to avoid file sending errors. Specifically, after receiving the first input of the user, a fifth input for indicating the target file is received, and the first electronic device cancels the sending of the target file after responding to the fifth input.
For example, a checkbox is displayed on file identification 2XXX of file 2, and file 2 has been checked. When the user clicks or presses the check box of the file identifier 2XXX again, the mobile phone a can receive the input of the user to the check box, and then the check of the file identifier 2XXX is cancelled, and then the file 2 does not need to be sent.
For another example, the user may drag the file identifier 2XXX of the file 2 in any direction, and cancel sending the file 2 after the mobile phone a receives the drag input of the user to the file identifier 2 XXX.
Therefore, the user can cancel sending the files selected by misoperation, and file sending errors are avoided.
In some embodiments of the present application, in order to ensure the security of the file during transmission, the first electronic device further needs to encrypt the target file. Specifically, firstly, target information is generated according to first encryption information in first electronic equipment and second encryption information sent by second electronic equipment; then, encrypting each target file in the at least one target file by using the target information to obtain at least one target encrypted file; and finally, sending at least one target encryption file to the second electronic equipment by taking the infrasonic wave as a carrier.
In the process of establishing communication connection between the first electronic device and the second electronic device, the first electronic device may carry the first encryption information in the connection request and send the connection request to the second electronic device. The second electronic device may send the connection confirmation information to the first electronic device by carrying the second encrypted information in the connection confirmation information. The first electronic device generates target encryption information according to the first encryption information and the received second encryption information. The second electronic device comprises the first encryption information and the second encryption information, so that the second electronic device can crack the target encryption information.
Therefore, after the target file is encrypted by the first electronic device, the target encryption information is generated, and only the second electronic device stores the first encryption information and the second encryption information, so that only the second electronic device can decrypt the target encryption information, the security of file transmission is ensured, and the leakage of information is avoided.
According to the file sending method provided by the embodiment of the application, under the condition that the first electronic device is connected with the at least one second electronic device, after the first electronic device receives the first input for indicating the at least one target file, the first electronic device can use the infrasonic wave as a carrier to send the at least one target file to the at least one second electronic device, and the infrasonic wave has the characteristics of strong penetrating power and long propagation distance.
It should be noted that, in the embodiment of the present application, an electronic device executes a file sending method as an example, and the file sending method provided in the embodiment of the present application is described. However, in the file transmission method provided in the embodiment of the present application, the execution main body may be an electronic device, and may also be a file transmission apparatus or a control module in the file transmission apparatus for executing the file transmission method.
Based on the file sending method provided by the application, the application correspondingly provides a file sending device of one embodiment. In the following, a file transmitting apparatus provided in an embodiment of the present application will be described by taking an example in which the file transmitting apparatus executes a file transmitting method.
Fig. 6 is a schematic structural diagram of a file sending apparatus 600 according to the present application.
As shown in fig. 6, the file sending apparatus 600 provided by the present application is applied to a first electronic device, where the apparatus 600 may include: a receiving module 601 and a sending module 602.
A receiving module 601, configured to receive a first input of a user when a first electronic device establishes a connection with at least one second electronic device; the first input is for indicating at least one target file;
a sending module 602, configured to send, in response to the first input, at least one target file to at least one second electronic device using infrasonic waves as a carrier.
In some embodiments of the present application, the apparatus 600 further comprises:
the detection module is used for detecting whether infrasonic waves exist or not;
the acquisition module is used for acquiring infrasonic wave frequency corresponding to the infrasonic wave emitted by the second electronic equipment under the condition of detecting the infrasonic wave emitted by the second electronic equipment;
the sending module is used for sending a connection request to the second electronic equipment;
the connection module is used for establishing connection with the second electronic equipment under the condition of receiving a connection confirmation request sent by the second electronic equipment;
the sending module 602 is specifically configured to send at least one target file to a second electronic device at an infrasonic frequency.
In some embodiments of the present application, the receiving module 601 is further configured to receive a second input from the user;
the apparatus 600 further comprises:
the display module is used for responding to the second input and displaying at least one file sending mode;
the receiving module 601 is further configured to receive a third input of the target sending method from the user; at least one file sending mode comprises a target sending mode;
the sending module 602 is specifically configured to send, in response to the first input and the second input, at least one target file to at least one second electronic device by using an infrasonic wave as a carrier according to a target sending manner.
In some embodiments of the application, the display module is further configured to display, in response to the second input, a file identifier of the file and a device identifier of the third electronic device; the file comprises at least one target file, and the third electronic equipment comprises at least one second electronic equipment;
a receiving module 601, specifically configured to receive a first input of a target identifier by a user, where the target identifier is at least one of a file identifier of at least one target file and a device identifier of at least one second electronic device;
the sending module 602 specifically includes:
a determining unit for determining at least one second electronic device associated with each target file in response to the first input;
and the transmitting unit is used for transmitting at least one target file to at least one second electronic device by taking the infrasonic wave as a carrier.
In some embodiments of the application, the display module is specifically configured to, in response to the second input, display file identifiers of the files, and display device identifiers of the third electronic device in a preset area associated with each file identifier;
the receiving module 601 specifically includes:
the receiving unit is used for receiving a third input of the file identification of at least one target file selected from the file identifications of the files by a user;
a determining unit for determining at least one target file in response to a third input;
the receiving unit is further used for receiving a fourth input of the user aiming at each target file, wherein the fourth input is used for indicating that the equipment identification of at least one second electronic equipment is selected from the equipment identifications of third electronic equipment;
a determining unit, specifically configured to determine, in response to a fourth input, at least one second electronic device associated with each target file.
In some embodiments of the present application, the sending module 602 is specifically configured to send, in response to the first input, each target file to the at least one second electronic device associated with each target file by using the infrasonic wave as a carrier.
In some embodiments of the present application, the receiving module 601 is further configured to receive a fifth input for indicating a target file;
the apparatus 600 further comprises:
and the cancellation sending module is used for responding to the fifth input and canceling the sending of the target file to the second electronic equipment.
In some embodiments of the present application, the apparatus 600 further comprises:
the generating module is used for generating target information according to first encryption information in the first electronic equipment and second encryption information sent by the second electronic equipment;
the encryption module is used for encrypting each target file in the at least one target file by using the target information to obtain at least one target encrypted file;
the sending module 602 is specifically configured to send at least one target encrypted file to the second electronic device by using the infrasonic wave as a carrier.
According to the file sending device provided by the embodiment of the application, under the condition that the first electronic device is connected with the at least one second electronic device, after the first electronic device receives the first input for indicating the at least one target file, the first electronic device can use the infrasonic wave as a carrier to send the at least one target file to the at least one second electronic device, and the infrasonic wave has the characteristics of strong penetrating power and long propagation distance.
The file sending device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiment of the present application is not particularly limited.
The file sending device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present application.
The file sending apparatus provided in the embodiment of the present application can implement each process implemented by the file sending apparatus in the method embodiment of fig. 2, and is not described here again to avoid repetition.
Optionally, as shown in fig. 7, an electronic device 700 is further provided in this embodiment of the present application, and includes a processor 701, a memory 702, and a program or an instruction stored in the memory 702 and executable on the processor 701, where the program or the instruction is executed by the processor 701 to implement each process of the above-mentioned embodiment of the file sending method, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 8 is a schematic hardware structure diagram of an electronic device 800 implementing an embodiment of the present application.
The electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810. The input unit 804 includes a graphics processor and a microphone, among others. The display unit 806 includes a display panel. The user input unit 807 includes a touch panel and other input devices. Memory 809 includes application programs and an operating system.
Those skilled in the art will appreciate that the electronic device 800 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 810 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The user input unit 807 is configured to receive a first input of a user when the first electronic device establishes a connection with at least one second electronic device; the first input is for indicating at least one target file;
and the radio frequency unit 801 is configured to send, in response to the first input, at least one target file to at least one second electronic device by using an infrasonic wave as a carrier.
Therefore, under the condition that the first electronic device is connected with the at least one second electronic device, after the first electronic device receives a first input for indicating at least one target file, the first electronic device can use the infrasonic wave as a carrier to transmit the at least one target file to the at least one second electronic device, and because the infrasonic wave has the characteristics of strong penetrating power and long propagation distance, the infrasonic wave is used as the carrier for transmitting the target file, the problem of signal attenuation caused by long distance does not occur, and the problem of low transmission quality caused by unstable network signals does not occur.
In some embodiments of the present application, a processor 810 for detecting the presence of infrasonic waves; under the condition that the infrasonic waves emitted by the second electronic equipment are detected, acquiring the infrasonic wave frequency corresponding to the infrasonic waves emitted by the second electronic equipment;
a radio frequency unit 801 configured to send a connection request to a second electronic device;
a processor 810, configured to establish a connection with a second electronic device in a case where a connection confirmation request sent by the second electronic device is received;
the radio frequency unit 801 is specifically configured to send at least one target file to a second electronic device at an infrasonic frequency.
In some embodiments of the present application, the user input unit 807 is further configured to receive a second input from the user;
a display unit 806, configured to display at least one file transmission manner in response to a second input;
a user input unit 807 for receiving a third input of the target transmission mode from the user; at least one file sending mode comprises a target sending mode;
the radio frequency unit 801 is specifically configured to respond to the first input and the second input, and transmit at least one target file to at least one second electronic device by using infrasonic waves as carriers according to a target transmission mode.
In some embodiments of the present application, the display unit 806 is further configured to display, in response to the second input, a file identifier of the file and a device identifier of the third electronic device; the file comprises at least one target file, and the third electronic equipment comprises at least one second electronic equipment;
a user input unit 807, configured to receive a first input of a target identifier by a user, where the target identifier is at least one of a file identifier of at least one target file and a device identifier of at least one second electronic device;
a processor 810 for determining at least one second electronic device associated with each target file in response to the first input;
and the radio frequency unit 801 is configured to send at least one target file to at least one second electronic device by using an infrasonic wave as a carrier.
In some embodiments of the present application, the display unit 806 is specifically configured to, in response to the second input, display file identifiers of files, and display device identifiers of the third electronic device in a preset area associated with each file identifier;
a user input unit 807 for receiving a third input of a user for selecting a file identification of at least one target file from among file identifications of files;
a processor 810 for determining at least one target file in response to a third input;
a user input unit 807, further configured to receive, for each target file, a fourth input of the user, the fourth input being used to instruct to select a device identifier of at least one second electronic device from device identifiers of third electronic devices;
the processor 810 is specifically configured to determine, in response to the fourth input, at least one second electronic device associated with each target file.
In some embodiments of the present application, the radio frequency unit 801 is specifically configured to transmit each target file to at least one second electronic device associated with each target file by using an infrasonic wave as a carrier in response to the first input.
In some embodiments of the present application, the user input unit 807 is further configured to receive a fifth input indicating the target file;
a processor 810 is configured to cancel sending the target file to the second electronic device in response to the fifth input.
In some embodiments of the present application, the processor 810 is configured to generate target information according to first encryption information in the first electronic device and second encryption information sent by the second electronic device;
a processor 810, configured to encrypt each target file of the at least one target file using the target information, to obtain at least one target encrypted file;
the radio frequency unit 801 is specifically configured to send at least one target encrypted file to the second electronic device by using an infrasonic wave as a carrier.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above file sending method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above file sending method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (9)

1. The file sending method is applied to first electronic equipment and comprises the following steps:
receiving a first input of a user under the condition that the first electronic equipment establishes connection with at least one second electronic equipment; the first input is used for indicating at least one target file;
responding to the first input, and sending the at least one target file to the at least one second electronic device by taking infrasonic waves as carriers;
wherein, prior to the receiving the first input by the user, the method further comprises:
detecting whether infrasonic waves exist or not;
under the condition that the infrasonic wave emitted by the second electronic equipment is detected, acquiring the infrasonic wave frequency corresponding to the infrasonic wave emitted by the second electronic equipment;
sending a connection request to the second electronic device;
under the condition that a connection confirmation request sent by the second electronic equipment is received, connection is established with the second electronic equipment;
the sending of the at least one target file to the at least one second electronic device using the infrasonic wave as a carrier includes:
and transmitting the at least one target file to the second electronic equipment at the infrasonic frequency.
2. The method of claim 1, wherein prior to said receiving a first input from a user, the method further comprises:
receiving a second input of the user;
responding to the second input, and displaying at least one file sending mode;
receiving a third input of a target file sending mode from a user; the at least one file sending mode comprises the target file sending mode;
the sending, by taking an infrasonic wave as a carrier, the at least one target file to the at least one second electronic device in response to the first input specifically includes:
and responding to the first input, and transmitting the at least one target file to the at least one second electronic device by taking infrasonic waves as carriers according to the target file transmission mode.
3. The method of claim 1, wherein prior to said receiving a first input from a user, the method further comprises:
displaying a file identifier of the file and an equipment identifier of the third electronic equipment; the file comprises the at least one target file, and the third electronic device comprises the at least one second electronic device;
the receiving of the first input of the user specifically includes:
receiving a first input of a target identifier by the user, wherein the target identifier is at least one of a file identifier of the at least one target file and a device identifier of the at least one second electronic device;
the sending, by taking infrasonic waves as a carrier, the at least one target file to the at least one second electronic device in response to the first input specifically includes:
determining the at least one second electronic device associated with each of the target files in response to the first input;
and sending the at least one target file to the at least one second electronic device by taking the infrasonic wave as a carrier.
4. The method of claim 3, wherein displaying, in response to the second input, a file identifier of the file and a device identifier of the third electronic device specifically comprises:
responding to the second input, displaying file identifications of files, and displaying equipment identifications of third electronic equipment in a preset area associated with each file identification;
the receiving of the first input of the user to the target identifier specifically includes:
receiving a third input of the user for selecting the file identification of at least one target file from the file identifications of the files;
determining the at least one target file in response to the third input;
for each target file, receiving a fourth input of the user, wherein the fourth input is used for indicating that the device identification of at least one second electronic device is selected from the device identifications of the third electronic devices;
the determining, in response to the first input, the at least one second electronic device associated with the at least one target file specifically includes:
in response to the fourth input, determining the at least one second electronic device associated with each of the target files.
5. The method according to claim 3 or 4, wherein the sending the at least one object file to the at least one second electronic device using infrasonic waves as a carrier in response to the first input specifically comprises:
in response to the first input, transmitting each of the target files to the at least one second electronic device associated with each of the target files using infrasonic waves as a carrier.
6. The method of claim 1, wherein after the receiving the first input from the user, the method further comprises:
receiving a fifth input indicating the target file;
canceling the transmission of the target file to the second electronic device in response to the fifth input.
7. The method of claim 1, wherein prior to the receiving the first input from the user, the method further comprises:
generating target information according to first encryption information in the first electronic equipment and second encryption information sent by the second electronic equipment;
after the responding to the first input, before the infrasonic wave is used as a carrier to send the target file to the second electronic device, the method further comprises the following steps:
encrypting each target file in the at least one target file by using the target information to obtain at least one target encrypted file;
the sending of at least one target file to the second electronic device by using the infrasonic wave as a carrier specifically includes:
and sending the at least one target encryption file to the second electronic equipment by taking infrasonic waves as carriers.
8. A file sending device is applied to first electronic equipment and comprises:
the receiving module is used for receiving a first input of a user under the condition that the first electronic equipment is connected with at least one second electronic equipment; the first input is used for indicating at least one target file;
the sending module is used for responding to the first input and sending the at least one target file to the at least one second electronic device by taking infrasonic waves as carriers;
further comprising:
the detection module is used for detecting whether infrasonic waves exist or not;
the acquisition module is used for acquiring infrasonic wave frequency corresponding to the infrasonic wave emitted by the second electronic equipment under the condition of detecting the infrasonic wave emitted by the second electronic equipment;
a sending module, configured to send a connection request to the second electronic device;
the connection module is used for establishing connection with the second electronic equipment under the condition of receiving a connection confirmation request sent by the second electronic equipment;
the sending module is specifically configured to send the at least one target file to the second electronic device at the infrasonic frequency.
9. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the file transmission method according to any one of claims 1 to 7.
CN202011497464.XA 2020-12-17 2020-12-17 File sending method, device and equipment Active CN112688741B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011497464.XA CN112688741B (en) 2020-12-17 2020-12-17 File sending method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011497464.XA CN112688741B (en) 2020-12-17 2020-12-17 File sending method, device and equipment

Publications (2)

Publication Number Publication Date
CN112688741A CN112688741A (en) 2021-04-20
CN112688741B true CN112688741B (en) 2022-12-02

Family

ID=75448748

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011497464.XA Active CN112688741B (en) 2020-12-17 2020-12-17 File sending method, device and equipment

Country Status (1)

Country Link
CN (1) CN112688741B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116149502A (en) * 2021-11-22 2023-05-23 华为终端有限公司 Method for identifying position and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103560836A (en) * 2013-10-31 2014-02-05 深圳市凡趣科技有限公司 Sound wave wireless communication method and device
CN106160878A (en) * 2015-04-01 2016-11-23 飞云卓越数据应用科技(平潭)有限公司 Active the ultrasonic infrasonic wave that involves is utilized to send and add the electronic installation of confidential information
CN107249168A (en) * 2017-05-18 2017-10-13 宇龙计算机通信科技(深圳)有限公司 A kind of data directional transmissions and method of reseptance and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101744851B1 (en) * 2016-01-08 2017-06-20 도용남 Method for transceiving file based on inaudible frequency signal broadcasting scheme, and system thereof
EP3675460B1 (en) * 2017-10-09 2022-06-22 Huawei Technologies Co., Ltd. File sharing method and terminal
US20190274030A1 (en) * 2018-03-05 2019-09-05 Swishh, Inc. System and Method for Contact Information Exchange Using Ultrasonic Waves

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103560836A (en) * 2013-10-31 2014-02-05 深圳市凡趣科技有限公司 Sound wave wireless communication method and device
CN106160878A (en) * 2015-04-01 2016-11-23 飞云卓越数据应用科技(平潭)有限公司 Active the ultrasonic infrasonic wave that involves is utilized to send and add the electronic installation of confidential information
CN107249168A (en) * 2017-05-18 2017-10-13 宇龙计算机通信科技(深圳)有限公司 A kind of data directional transmissions and method of reseptance and device

Also Published As

Publication number Publication date
CN112688741A (en) 2021-04-20

Similar Documents

Publication Publication Date Title
US11126981B2 (en) Resource transferring method and apparatus
EP3735101B1 (en) Transmission method for configuration information, and relevant device
US20180308182A1 (en) Information processing method and apparatus
CN110166192B (en) Cell processing method, terminal equipment and network equipment
EP2720135B1 (en) Data transmission method, data transmission device and terminal provided with touch screen
KR101629875B1 (en) Redirecting notifications to a wearable computing device
US20170127018A1 (en) Video interaction method, terminal, server and system
US20200076876A1 (en) Image Sharing Method and System, and Electronic Device
EP3531290A1 (en) Data backup method, apparatus, electronic device, storage medium, and system
AU2018399177B2 (en) Electronic transaction method and terminal
CN111147661B (en) Interface display method and electronic equipment
CN108243282A (en) Message display method, device, mobile terminal and storage medium
WO2015185018A1 (en) Item transfer apparatus, system and method
CN109521978B (en) Content display method and terminal equipment
CN108712561A (en) Right management method, device, mobile terminal and storage medium
CN110049486B (en) SIM card selection method and terminal equipment
CN108681427B (en) Access right control method and terminal equipment
CN110007822B (en) Interface display method and terminal equipment
CN110557499B (en) Information processing method and device and mobile terminal
US20190205976A1 (en) Account number registration method, apparatus, and system
CN110730424A (en) Positioning method, device and system
CN108345422A (en) Application control method, apparatus, mobile terminal and computer-readable medium
CN108390992A (en) Message display method, device, mobile terminal and storage medium
CN112688741B (en) File sending method, device and equipment
CN104363590A (en) Access point connection method and device

Legal Events

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