CN115278616A - File sharing method and electronic equipment - Google Patents

File sharing method and electronic equipment Download PDF

Info

Publication number
CN115278616A
CN115278616A CN202110486461.4A CN202110486461A CN115278616A CN 115278616 A CN115278616 A CN 115278616A CN 202110486461 A CN202110486461 A CN 202110486461A CN 115278616 A CN115278616 A CN 115278616A
Authority
CN
China
Prior art keywords
connection
electronic device
information
mobile phone
electronic equipment
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
CN202110486461.4A
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202110486461.4A priority Critical patent/CN115278616A/en
Priority to PCT/CN2022/084614 priority patent/WO2022228028A1/en
Publication of CN115278616A publication Critical patent/CN115278616A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/17Details of further file system functions
    • G06F16/176Support for shared access to files; File sharing support
    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application provides a file sharing method and electronic equipment, relates to the technical field of computers, and aims to enable the two electronic equipment to quickly establish connection and share files based on connection establishment information in a near field scene, so that the accuracy and the efficiency of file sharing are improved. The specific scheme is as follows: the method comprises the steps that first electronic equipment displays a first input interface, and the first input interface is used for a user to input preset connection establishing information; the first electronic equipment responds to a first input operation of a user and stores the preset connection information; the method comprises the steps that the first electronic equipment acquires connection information from at least one second electronic equipment through wireless broadcast of short-distance communication; the first electronic equipment establishes near field connection with the at least one second electronic equipment under the condition that the connection establishing information is determined to be consistent with the preset connection establishing information; and the first electronic equipment sends the target file to the at least one second electronic equipment. The method and the device are used for the process of near field file sharing.

Description

File sharing method and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a file sharing method and electronic equipment.
Background
Today, people are increasingly inclined to use electronic devices to process transactions in work and life, and files are carriers of electronic devices to process transactions. Thus, people often need to share various files (such as documents, pictures, audio or video) to people around, that is, the demand for file sharing is increasing.
Currently, file sharing is typically performed through bluetooth technology. For example, after the bluetooth function is started, the electronic device at the sending end may receive bluetooth broadcast messages of other electronic devices that start the bluetooth function all around, so that the electronic device at the sending end may display identifiers of other electronic devices that start the bluetooth function all around. The sending end user can select target equipment (also called receiving end electronic equipment) for receiving the file from the identification, and then the sending end electronic equipment can respond to the selection operation of the user to send a connection establishment request to the receiving end electronic equipment, and after the receiving end user agrees to establish the connection, the Bluetooth connection is established between the sending end electronic equipment and the receiving end electronic equipment. Then, the sending end electronic device can send a file sharing request to the receiving end electronic device, a receiving end user confirms that a file in the request is a file desired by the receiving end user and clicks to agree, and then the sending end electronic device can transmit the file to the receiving end electronic device based on the previously established Bluetooth connection, so that file sharing is completed.
However, in the process of sharing a file through the bluetooth technology, a sending end user generally needs to manually select a target device from a list of identifiers of a plurality of electronic devices, so that under the condition that the number of electronic devices around the sending end electronic device is large and the identifiers of the electronic devices are the same or similar, the sending end user is difficult to directly identify the identifier of the target device, the sending end user may select the target device by mistake or need to reselect the target device, and the accuracy and efficiency of file sharing are low.
Disclosure of Invention
The embodiment of the application provides a file sharing method and electronic equipment, and two pieces of electronic equipment can be quickly connected and share files based on connection information, so that the accuracy and efficiency of file sharing are improved.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
in a first aspect, an embodiment of the present application provides a file sharing method, which is applied to a first electronic device, and includes: displaying a first input interface, wherein the first input interface is used for a user to input preset connection establishing information; responding to a first input operation of a user, and storing preset connection establishment information; acquiring connection information from at least one second electronic device through wireless broadcast of short-range communication; under the condition that the connection establishing information is determined to be consistent with the preset connection establishing information, establishing near field connection with at least one second electronic device; and transmitting the target file to at least one second electronic device.
In the scheme, the first electronic device can acquire the connection establishment information of the second electronic device through wireless broadcast of short-distance communication, establish near field connection with the second electronic device under the condition that the connection establishment information from the second electronic device is determined to be consistent with the preset connection establishment information, and send the target file to the second electronic device. In the scheme, the first electronic equipment does not need to manually search the second electronic equipment, and the condition of manual misselection can be avoided, so that the target object of file sharing can be accurately identified, and the accuracy and the efficiency of file sharing are improved.
In one possible implementation, the method further includes: after the connection establishment information from at least one electronic device is acquired through wireless broadcast of short-distance communication, a first interface is displayed; the first interface comprises an identifier of the second electronic equipment with the connection information consistent with the preset connection information; transmitting the target file to the at least one electronic device includes: and responding to the indication operation of the user, and sending the target file to the second electronic equipment corresponding to the identification.
Here, the first electronic device may further display an identifier of the second electronic device whose connection information is consistent with the preset connection information, so that the user can conveniently view other electronic devices connected with the first electronic device. In addition, the first electronic device may further send the target file to the second electronic device corresponding to the identifier in response to an instruction operation of the user, for example, in response to an operation of the user clicking the identifier of the second electronic device, or in response to a user clicking another control indicating to transmit the file, so that accuracy of file sharing is improved.
In another possible implementation manner, the first electronic device may further delete one or more identifiers in the first interface in response to an operation of the user, so that the first electronic device does not send the target file to the electronic device corresponding to the deleted identifier.
In another possible implementation manner, the wireless broadcast of the short-distance communication is Bluetooth Low Energy (BLE) broadcast, and the Extended Inquiry Response (EIR) field of the message of the BLE broadcast includes the connection establishment information.
In this way, the first electronic device can obtain the connection establishment information in the EIR field of the message of the BLE broadcast. Furthermore, BLE broadcasting can reduce power consumption for information transmission.
In another possible implementation manner, the sending the target file to the at least one second electronic device specifically includes: and transmitting the target file to at least one second electronic device through the Wi-Fi P2P.
Thus, the transmission speed of the target file can be improved.
In another possible implementation, displaying the first input interface further includes: responding to the operation of opening the first application by a user, and displaying a selection interface, wherein the selection interface at least comprises a first control or a second control, the first control indicates that the file is shared through the connection establishment information, and the second control indicates that the near field connection is established through the connection establishment information; and responding to the selection operation of the user on the first control or the second control, and displaying the first input interface.
In this scheme, the first electronic device may display the first input interface in response to an operation by the user after opening the first application.
In yet another possible implementation, the connection information is any one of a connection code, a connection pattern, or a connection gesture.
In a second aspect, an embodiment of the present application provides a file sharing method, including: the method comprises the steps that the first electronic equipment acquires connection information from at least one second electronic equipment through wireless broadcast of short-distance communication; the method comprises the steps that under the condition that first electronic equipment determines that connection establishment information is consistent with preset connection establishment information stored in the first electronic equipment, near field connection is established with at least one second electronic equipment; the first electronic device sends the target file to at least one second electronic device.
In one possible implementation, the method further includes: the first electronic equipment displays an identifier of the second electronic equipment corresponding to the connection information consistent with the preset connection information; the first electronic device sending the target file to at least one second electronic device comprises: and the first electronic equipment sends the target file to the second electronic equipment corresponding to the identifier.
In another possible implementation manner, the wireless broadcast of the short-distance communication is Bluetooth Low Energy (BLE) broadcast, and the Extended Inquiry Response (EIR) field of the message of the BLE broadcast includes the connection establishment information.
In a third aspect, an embodiment of the present application provides a file sharing method, which is applied to a second electronic device, and the method includes: displaying a second input interface, wherein the second input interface is used for a user to input the connection establishment information; responding to a second input operation of the user, and sending a request message to the first electronic equipment through wireless broadcast of short-range communication, wherein the request message comprises connection establishment information; an object file is received from a first electronic device.
In the scheme, the second electronic equipment can be connected with the first electronic equipment through the connection establishing information and receive the target file from the first electronic equipment, and the second electronic equipment can be determined by the first electronic equipment more directly, so that the situation of manual error selection is avoided, the target object of file sharing can be accurately identified, and the accuracy and the efficiency of file sharing are improved.
In one possible implementation, the method further includes: when the connection information is consistent with the preset connection information stored in the first electronic equipment, displaying a second interface; the second interface includes an identification of the first electronic device.
Thus, the user can confirm that the sender of the target file is correct.
In another possible implementation, the second interface further includes preview information of the target file.
In this way, the user can see the preview information of the target file and determine whether the target file is the file expected to be received.
In yet another possible implementation, the transmitting the request message to the first electronic device by wireless broadcast of the short-range communication includes: sending a request to first electronic equipment in a Bluetooth low energy BLE broadcast message mode; the extended inquiry response EIR field of the BLE broadcast message comprises the connection establishment information.
In another possible implementation, receiving the object file from the first electronic device includes: and receiving the target file from the first electronic device through the Wi-Fi P2P.
In yet another possible implementation, the connection information is any one of a connection code, a connection pattern, or a connection gesture.
In another possible implementation, displaying the second input interface further includes: responding to the operation of opening the first application by a user, and displaying a selection interface, wherein the selection interface at least comprises a first control and a second control, the first control indicates that the file is shared through link establishment, and the second control indicates that near field connection is established through link establishment information; and displaying the second input interface in response to the selection operation of the first control or the second control by the user.
In a fourth aspect, an embodiment of the present application provides a file sharing method, including: the second electronic equipment sends a request message to the first electronic equipment through wireless broadcast of short-distance communication, wherein the request message comprises the connection establishment information; the second electronic device receives the object file from the first electronic device.
In one possible implementation, the method further includes: when the connection information is consistent with the preset connection information stored in the first electronic equipment, displaying a second interface; the second interface includes an identification of the first electronic device.
In another possible implementation, the second electronic device sending the request message to the first electronic device by wireless broadcast of the short-range communication includes: the second electronic equipment sends a request to the first electronic equipment in a Bluetooth low energy BLE broadcast message mode; the extended inquiry response EIR field of the BLE broadcast message comprises the connection establishment information.
In a fifth aspect, an embodiment of the present application provides an electronic device, including: the display screen is used for displaying an interface; one or more processors and one or more memories; one or more memories coupled with the one or more processors, the one or more memories storing computer program code, the computer program code comprising computer instructions that, when executed by the one or more processors, cause the electronic device to perform the file sharing method of any of the possible implementations of the first aspect or the second aspect; or, the electronic device executes the file sharing method in any possible implementation manner of the third aspect or the fourth aspect.
In a sixth aspect, an embodiment of the present application provides a computer storage medium, which includes computer instructions, and when the computer instructions are executed on an electronic device, the electronic device is caused to execute a file sharing method in any possible implementation manner of the first aspect or the second aspect; or, causing the electronic device to execute the file sharing method in any possible implementation manner of the third aspect or the fourth aspect.
In a seventh aspect, an embodiment of the present application provides a computer program product, where when the computer program product runs on a computer, the computer is caused to execute a file sharing method in any possible implementation manner of the first aspect or the second aspect; or, the computer executes the file sharing method in any possible implementation manner of the third aspect or the fourth aspect.
For the beneficial effects of the other aspects, reference may be made to the description of the beneficial effects of the method aspect, which is not described herein again.
Drawings
Fig. 1 is a schematic flow chart of file sharing provided in the prior art;
fig. 2 is a schematic view of a file sharing scenario provided in an embodiment of the present application;
fig. 3 is a schematic diagram of a structure of an electronic device according to an embodiment of the present disclosure;
fig. 4 is a block diagram of a software structure of an electronic device according to an embodiment of the present disclosure;
fig. 5A is a flowchart of a file sharing method according to an embodiment of the present disclosure;
fig. 5B is another flowchart of a file sharing method according to an embodiment of the present disclosure;
fig. 5C is another flowchart of a file sharing method according to an embodiment of the present disclosure;
FIG. 6A is a schematic view of an interface provided by an embodiment of the present application;
FIG. 6B is a schematic view of another interface provided by an embodiment of the present application;
FIG. 6C is a schematic view of another interface provided by an embodiment of the present application;
FIG. 7 is a schematic illustration of yet another interface provided by an embodiment of the present application;
fig. 8 is a schematic flowchart of a file sharing method according to an embodiment of the present disclosure;
FIG. 9 is a schematic view of an interface provided by an embodiment of the present application;
FIG. 10 is a schematic view of another interface provided by an embodiment of the present application;
fig. 11 is a schematic structural diagram of a bluetooth broadcast message according to an embodiment of the present application;
FIG. 12 is a schematic view of an interface provided by an embodiment of the present application;
FIG. 13 is a schematic view of another interface provided by an embodiment of the present application;
FIG. 14 is a schematic illustration of yet another interface provided by an embodiment of the present application;
FIG. 15 is a schematic view of another interface provided by an embodiment of the present application;
FIG. 16 is a schematic illustration of yet another interface provided by an embodiment of the present application;
fig. 17 is a schematic structural 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 described below with reference to the drawings in the embodiments of the present application. In the description of the embodiments herein, "/" means "or" unless otherwise specified, for example, a/B may mean a or B; "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality" means two or more than two.
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present embodiment, "a plurality" means two or more unless otherwise specified.
With the development of computer technology, people tend to use electronic devices to process transactions in work and life. Because the carrier of computer processing affairs is files, people often need to share files to surrounding people, and the file sharing requirement is more and more.
There are currently a variety of ways of file sharing. In a related art, file sharing may be implemented through bluetooth technology. For example, as shown in fig. 1, after the sending-end electronic device starts the bluetooth function, other electronic devices that start the bluetooth function around may be searched for, that is, the sending-end electronic device may scan and find the electronic devices that start the bluetooth function around, and then may obtain the identifiers of the other electronic devices around and display the identifiers. Then, the sending end user can manually select the target device from the identification as the receiving end electronic device, the sending end electronic device can respond to the selection of the user to send a request for establishing connection to the receiving end electronic device, and after the receiving end user agrees to establish connection, the sending end electronic device and the receiving end electronic device establish Bluetooth connection. The sending electronic device may then share the file to the receiving electronic device based on the established bluetooth connection. When the file sharing is performed by the bluetooth technology, a sending end user is required to select a target device from the identifiers of other electronic devices with the bluetooth function, and under the condition that the number of the electronic devices around is large or the identifiers of the electronic devices are the same or similar, the method for manually selecting the target device may be difficult to conveniently identify the identifier of the target device, so that the sending end user selects by mistake or needs to reselect, and the accuracy and the efficiency of file sharing are low. In addition, as shown in fig. 1, when the sending-end electronic device shares a file with multiple receiving-end electronic devices, it is further necessary to manually select each receiving-end electronic device of the multiple receiving-end electronic devices in sequence, and make the sending-end electronic device send a request for establishing a connection to each receiving-end electronic device in sequence, and after the user at the side of each receiving-end electronic device agrees to establish a connection in sequence, the user establishes a bluetooth connection with the sending-end electronic device to share the file. Therefore, once a user at one receiving end electronic device side does not agree to establish a connection later, other receiving end electronic devices at the back can only wait for receiving a connection establishment request from the sending end electronic device, so that the file sharing efficiency is low, and meanwhile, the operation of the sending end user is complicated, and the user experience is poor.
In another related art, file sharing may be implemented through server relay. For example, a list between the sending-end electronic device and the receiving-end electronic device may be configured in advance in the server, for example, a list between the identifier of the sending-end electronic device a and the identifier of the receiving-end electronic device B may be stored in advance in the server. The electronic device a may upload a file to be sent to the server via the internet, and the server may share the file to the electronic device B based on the stored list. However, sharing files by transferring the files through the server requires pre-configuring a relationship list between transmission devices (i.e., the sending-end electronic device and the receiving-end electronic device), and also requires accessing the internet to realize file sharing. Therefore, the method has limited scenes for sharing files, and the method cannot realize file sharing under the condition that a relationship list between transmission devices is not configured in advance or the internet is not accessed.
The embodiment of the application provides a file sharing method, and when confirming that connection information from nearby receiving end electronic equipment is consistent with preset connection information, sending end electronic equipment and the receiving end electronic equipment are quickly connected, so that a file is transmitted from the sending end electronic equipment to the receiving end electronic equipment, and file sharing is achieved. In the process, the sending-end electronic device does not need to display the identifications of other surrounding electronic devices, and a sending-end user does not need to select the target device from a plurality of identifications as the receiving-end device. That is, in this scheme, there is no need to manually select the receiving-end electronic device. Therefore, the accuracy of the electronic equipment selection at the receiving end can be ensured, and the accuracy and the efficiency of file sharing are improved.
For example, in a near field scenario, when connection establishment information received by a sending-end electronic device through Bluetooth Low Energy (BLE) from a receiving-end electronic device is consistent with preset connection establishment information, a Wi-Fi P2P connection may be established between the sending-end electronic device and the receiving-end electronic device, and a target file is transmitted using the Wi-Fi P2P connection.
In addition, under the condition that a plurality of receiving end electronic devices exist, the sending end electronic device can be simultaneously connected with the plurality of receiving end electronic devices at one time based on the connection establishing information, so that the connection establishing request can be prevented from being sent to each electronic device in the plurality of receiving end electronic devices in sequence, the operation of a user is reduced, and the file sharing efficiency is improved.
The file sharing method provided by the embodiment of the application is wider in application scene, and file sharing can be completed among electronic equipment in a scene without accessing the Internet.
The file sharing method provided by the embodiment of the application can be applied to the file sharing scene shown in fig. 2. Referring to fig. 2, the file sharing scenario 10 may include a first electronic device 11, a second electronic device 12, and the like. The first electronic device 11 is a sending-end electronic device and is a sender of file sharing. The second electronic device 12 is a receiving-end electronic device and is a receiver of file sharing. The distance between the first electronic device 11 and the second electronic device 12 is typically short, e.g. less than 10 meters. For example, if the sending-end user wants to share the target file with another user in the same conference room, the sending-end user may select the target file on the first electronic device 11 and set a connection information. The sending end user can inform the receiving end user of the connection establishment information, the receiving end user inputs the connection establishment information on the second electronic device 12, the second electronic device 12 sends the connection establishment information to the first electronic device 11 through the Bluetooth broadcast message, so that the first electronic device 11 is connected with the second electronic device 12, the first electronic device 11 sends a target file to the second electronic device 12, and the process that the sending end user shares the file with the receiving end user is completed. It is understood that the second electronic device 12 may also include a plurality of electronic devices, and the first electronic device 11 may be connected to the plurality of electronic devices at one time and sequentially send the target file to each of the plurality of electronic devices. The number of second electronic devices 12 is not limited in this application.
The first electronic device and the second electronic device may be any one of electronic devices capable of sharing files, such as a mobile phone, a tablet computer, a wearable device (e.g., a smart watch), an in-vehicle device, an Augmented Reality (AR)/Virtual Reality (VR) device, a notebook computer, a super-mobile personal computer (UMPC), a netbook, or a Personal Digital Assistant (PDA), respectively. Exemplarily, in the embodiment of the present application, the file may be shared by the mobile phone to the mobile phone, or the file may be shared by the mobile phone to the tablet computer and the notebook computer. The embodiment of the application does not set any limit to the specific type of the electronic device.
For example, fig. 3 shows a schematic structural diagram of the electronic device 100. The electronic device 100 may be the first electronic device or the second electronic device. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a Central Processing Unit (CPU), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processor (NPU), among others. The different processing units may be separate devices or may be integrated into one or more processors.
The controller may be, among other things, a neural center and a command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the time sequence signal to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), global Navigation Satellite System (GNSS), frequency Modulation (FM), near Field Communication (NFC), infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, and the like) required by at least one function, and the like. The storage data area may store data (such as audio data, phone book, etc.) created during use of the electronic device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
In the embodiment of the present application, the processor 110 may perform the file sharing by executing the instructions stored in the internal memory 121.
The pressure sensor 180A is used for sensing a pressure signal, and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 may utilize the collected fingerprint characteristics to unlock a fingerprint, access an application lock, photograph a fingerprint, answer an incoming call with a fingerprint, and so on.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a touch screen. The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
In this embodiment, the electronic device 100 may be a sending-end electronic device or a receiving-end electronic device.
The memory of the sending-end electronic device may store preset connection establishment information. The wireless communication module of the sending-end electronic device can receive the request message from the receiving-end electronic device via the antenna 2, and further acquire the connection establishment information carried in the request message. The processor of the sending-end electronic device may compare the preset connection information with the connection information acquired from the request message, and send a response message indicating that the connection is successful to the receiving-end electronic device via the antenna 2 when the preset connection information and the connection information are consistent.
The memory of the receiving end electronic device may store the connection information input by the user, and the receiving end electronic device may send a request message carrying the connection information to the transmitting end electronic device through the antenna 2, and receive a response message from the transmitting end electronic device through the antenna 2.
The software system of the electronic device 100 may be any one of an Android system, a hong meng system, or an IOS system, and the software system may adopt a hierarchical architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes an Android system with a layered architecture as an example, and exemplarily illustrates a software structure of the electronic device 100.
Fig. 4 is a block diagram of a software structure of the electronic device 100 according to the embodiment of the present application. The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into at least an application layer, an application framework layer, and a kernel layer from top to bottom.
As shown in fig. 4, the application layer may include a plurality of application modules. The application module may include an application package of a third-party application, and may further include an application package of a system application. Illustratively, the application module may correspond to any one of a camera, a map, navigation, music, video, a short message, a gallery, WLAN, bluetooth, a sharing application, and the like. The sharing application is an application with sharing capability. In this embodiment, the application module may be configured to obtain the preset connection establishment information and store the preset connection establishment information. In addition, the application module may also be responsible for application interface display and user interaction.
The application framework (framework) layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in fig. 4, the application framework layer may include a communication module and a file storage module.
The communication module is used for being responsible for communication connection between devices, for example, being responsible for overall management of specific operations such as bluetooth discovery, bluetooth connection establishment, wi-Fi p2p transmission and the like. The communication module can be considered as an underlying application. Illustratively, the communication module may be a Nearby module.
The file storage module is used for storing and acquiring data and making the data accessible to the application program. The data may include text, video, images, audio, and the like.
In some embodiments, the application framework layer may also include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The kernel layer is a layer between hardware and software. The kernel layer may contain various hardware drivers, such as bluetooth drivers, wi-Fi drivers, display drivers, camera drivers, audio drivers, sensor drivers, and the like.
In the embodiment of the application, the kernel layer at least comprises a Bluetooth drive and a Wi-Fi drive. Wherein, the Bluetooth driver is responsible for the interaction with Bluetooth hardware (such as a Bluetooth antenna), and the Wi-Fi driver is responsible for the interaction with the Wi-Fi module.
For example, in this embodiment of the application, the bluetooth driver of the sending-end electronic device may receive the request message from the receiving-end electronic device through the bluetooth antenna, and transmit the request message to the application module via the communication module. And the application module acquires the connection establishing information carried in the request message from the application module and compares the connection establishing information with the preset connection establishing information stored in the application module. In case of the agreement, the application module may send a response message indicating the successful establishment to the receiving-end electronic device via the communication module and the bluetooth driver by the bluetooth antenna. After the connection is successful, the electronic device at the sending end can share the file with the electronic device at the receiving end through the Bluetooth antenna or the Wi-Fi module. The application module of the receiving end electronic equipment can store the connection information input by the user, transmit the connection information to the Bluetooth driver through the communication module, write the connection information into the request message in the Bluetooth driver, and broadcast the request message by the Bluetooth antenna. The bluetooth antenna may also receive a corresponding message from the transmitting electronic device. After the connection is successful, the receiving end electronic equipment can also receive the file shared by the sending end electronic equipment through the Bluetooth antenna or the Wi-Fi module.
For convenience of understanding, in the following embodiments of the present application, in a near field scenario shown in fig. 2, an electronic device is a mobile phone having a structure shown in fig. 3 and 4 as an example, and a file sharing method provided in the embodiments of the present application is specifically described with reference to the accompanying drawings. Illustratively, the file sharing method provided by the embodiment of the present application may at least include the processes of setting connection establishment information, establishing a connection, and transmitting a file.
As shown in fig. 5A, the process of setting the connection establishment information may include:
401. the first mobile phone is provided with preset connection establishing information.
The first mobile phone is a sending terminal electronic device.
In some embodiments, the first mobile phone may be set with preset connection establishment information in advance. When a user wants to share a file, the first mobile phone can acquire the preset connection information. Optionally, the first mobile phone may further display the preset connection information after acquiring the preset connection information.
In other embodiments, when the user wants to share the file, the user may set the preset connection information in the system of the first mobile phone. For example, as shown in (a) of fig. 6A, the first mobile phone may turn on "setting" in the system in response to the user's operation, and in the setting interface as shown in (b) of fig. 6A, the user may select "bluetooth", and upon entering the interface as shown in (c) of fig. 6A, the first mobile phone may turn on bluetooth. At this time, the first mobile phone may set the preset setup information in response to an input operation of the user. Of course, the user may also select other connection modes such as "WLAN" in the setting interface, and then preset connection establishment information is set in response to the input operation of the user, which is not limited in this embodiment of the application.
In still other embodiments, when the user wants to share the file, the user may start the first application in the first mobile phone, and set the preset connection information in response to the first operation of the user. The first application may be a third-party application or a system application having a file sharing capability, which is not limited in this application. In general, the preset connection information input by the user may be set for the first application. That is, one application corresponds to one preset connection information.
The following description will take the first application as the sharing application as an example.
When a user wants to share a file with other surrounding users through a first mobile phone, the user can open a sharing application to share the file. The file that the user wants to share may be referred to as a target file, and the target file may be a file in any form, such as text, a picture, a video, or an audio.
The first mobile phone can start the sharing application in response to the user opening the sharing application. As shown in fig. 6B (a), the user may click on an icon of the sharing application, so that the first mobile phone opens the sharing application, and then a first selection interface shown in fig. 6B (B) is displayed. Certainly, the operation of opening the sharing application by the user may also be a double-click operation, a voice operation, a gesture operation, or the like, which is not limited in the present application. Here, the user may not select the target file before opening the sharing application, or may select the target file, which is not limited in the present application, and the target file may be selected only before the first mobile phone sends the target file to the second mobile phone. If the user has selected the target file, after the first mobile phone starts the sharing application, the sharing application may obtain basic information of the target file, such as a name, a format, a size, or a storage path of the target file.
In another embodiment, the user can also trigger the first mobile phone to start the sharing application when opening the target file to be shared. As shown in (a) and (b) of fig. 6C, the first mobile phone may display an icon of the sharing application after opening the target picture desired to be shared in the gallery, and the user may enable the first mobile phone to start the sharing application by selecting the icon. After the first mobile phone starts the sharing application, a second selection interface as shown in (C) of fig. 6C may be displayed. It can be understood that, in this case, the first mobile phone already selects the target file before the sharing application is started.
The first selection interface and the second selection interface can both comprise controls of different sharing modes such as 'common sharing' and 'sharing information through building connection'. If the user selects the 'common sharing' control, the first mobile phone can share the file according to a method for sharing the file based on the Bluetooth technology in the related technology. If the user selects the "share information through connection establishment" control, the first mobile phone can respond to the selection operation of the user to display an input interface, and the user can input preset connection establishment information in the input interface.
In some embodiments, the first selection interface and the second selection interface may include a "build by build information" control. It can be understood that if the user selects the "establish connection through establishment information" control, it means that the first mobile phone establishes connection with other electronic devices through establishment information; if the user selects the control of 'sharing through the connection information', the first mobile phone is connected with other electronic equipment through the connection information and carries out file sharing.
The control of "sharing information through the connection establishment" may also be referred to as a first control, and the control of "establishing information through the connection establishment" may also be referred to as a second control.
For example, as shown in fig. 7, taking the first mobile phone displaying the second selection interface as an example, after the user selects the "share information by link setup" control in the second selection interface shown in (a) in fig. 7, the first mobile phone may display an input interface shown in (b) in fig. 7, which may be referred to as a first input interface. In the interface, a user can input a four-bit preset connection information through a virtual keyboard, and meanwhile, the first mobile phone can store the preset connection information. Certainly, the user may also input the preset connection establishment information by handwriting input, voice input, and the like, and the virtual keyboard may also be in other forms such as a pinyin nine-key, and the application does not limit this. In this case, it may be considered that the first operation includes an operation of selecting the "share by setup information" control and an operation of inputting preset setup information.
In another embodiment, after the first mobile phone starts the sharing application, the input interface shown in (b) of fig. 7 can be directly accessed without displaying the selection interface. In this case, the first operation includes only an operation of inputting preset connection information.
After the user inputs the preset connection information, the first mobile phone can automatically store the preset connection information and also can respond to the operation that the user confirms the storage to store the preset connection information. For example, as shown in fig. 7 (c), the input interface may further include a "save" control, a "change" control, and the like, and after the user inputs the preset connection establishment information and clicks the "save" control, the first mobile phone may save the preset connection establishment information in response to an operation of confirming the saving by the user. Of course, the user may also make the first mobile phone save the preset connection establishment information through other operations of confirming the saving, such as voice input, gesture input, and the like, which is not limited in the embodiment of the present application.
In this embodiment of the application, as shown in fig. 8, the first mobile phone may store the preset connection information in an application module of the shared application.
The preset connection information may be any one of multiple forms such as a connection code, a connection pattern, a connection gesture and the like. For example, if the preset connection information is a connection code, the input interface may be as shown in (b) or (c) of fig. 7, and the user may input a preset number of digits, letters, symbols, or the like according to the prompt. The number of bits of the concatenated code is not limited in the embodiments of the present application. As another example, if the preset connection information is a connection pattern, the input interface of the connection information may be a nine-square grid as shown in fig. 9, and the user may draw an arbitrary pattern in the nine-square grid as the preset connection information.
In some embodiments, the first mobile phone may convert the connection pattern into character information for saving after acquiring the connection pattern input by the user. For example, after acquiring the connection pattern input by the user on the nine-square grid shown in fig. 9, the first mobile phone may store the serial numbers of the grid points sequentially crossed by the finger when drawing the connection pattern, that is, convert the connection pattern into a group of character information for storage. For example, when the finger sequentially passes through the grid point (corresponding to the serial number 1) at the upper left corner, the grid point (corresponding to the serial number 5) in the middle, and the grid point (corresponding to the serial number 9) at the lower right corner when the building connection pattern is drawn, the character information stored in the first mobile phone is (1, 5, 9).
402. And the second mobile phone acquires the connection establishment information.
The second mobile phone is a receiving end electronic device.
In some embodiments, when the first mobile phone wants to share the target file with other surrounding electronic devices (e.g., the second mobile phone), the user of the first mobile phone may notify the user of the other electronic devices of the preset connection information. It can also be considered that the second mobile phone is a target object near the first mobile phone, and the first mobile phone wants to share the target file with the target object.
Certainly, the embodiment of the application does not limit the way in which the user of the other surrounding electronic device is informed of the preset connection establishment information, and the user of the first mobile phone can inform the user of the other surrounding electronic device of the preset connection establishment information through any way of voice, gesture, text and the like.
After the user of the second mobile phone is informed of the preset connection establishment information, the second mobile phone can start the first application and respond to the second operation of the user to acquire the connection establishment information.
It will be appreciated that the first application launched by the second handset is the same as the first application launched by the first handset. The type of the connection information acquired by the second mobile phone is the same as the type of the preset connection information stored by the first mobile phone.
Still taking the first application as an example of the sharing application, the user of the second mobile phone may open the sharing application after being informed of the preset connection establishment information saved in the first mobile phone, so that the second mobile phone starts the sharing application. Similarly, the operation of opening the sharing application by the user may be a single-click operation, a double-click operation, a voice operation, a gesture operation, or the like, which is not limited in this application.
Similar to the first mobile phone, after the second mobile phone opens the sharing application, a third selection interface may be displayed as shown in (a) of fig. 10. The third selection interface is similar to the first selection interface, and can also comprise controls of different sharing modes such as 'common sharing' and 'sharing information through building connection'. After the user selects the "share by setup information" control, the second mobile phone may display a setup information input interface as shown in (b) of fig. 10, which may be referred to as a second input interface. In the interface, the user can input the informed preset connection establishment information, so that the second mobile phone obtains the connection establishment information. That is, the second operation may include an operation of selecting the "share by link information" control and an operation of inputting link information. In the third selection interface, as shown in fig. 10 (c), the "share by establishing information" control may also be a "join share by establishing information" control, which is not limited in this application. If the user selects the control of 'adding sharing through the connection information', the connection between the second mobile phone and the first electronic equipment is established through the connection information; and if the user selects the control of 'sharing through the connection information', the second mobile phone is connected with the first electronic equipment through the connection information and carries out file sharing. Of course, the embodiments of the present application do not limit the specific names of the controls. For example, the "share by link information" control may also be referred to as a first control, and the "join share by link information" may also be referred to as a second control. In another embodiment, after the second handset starts the sharing application, the connection information input interface shown in (b) of fig. 10 may be directly displayed for the user to input the connection information. That is, the second operation may include only the operation of inputting the connection information.
It is understood that the connection information input interface displayed by the second mobile phone by the user may be input through a virtual keyboard as shown in (b) of fig. 10, or may be input through handwriting or gestures or other forms. The connection information input on the second mobile phone can be any one of a plurality of forms such as a connection code, a connection pattern and a connection gesture. And the form of the connection establishing information input in the second mobile phone is consistent with the form of the preset connection establishing information stored in the first mobile phone.
403. And the second mobile phone sends a request message to the first mobile phone, wherein the request message comprises the connection establishment information acquired by the second mobile phone.
After the second mobile phone obtains the connection information, the connection information can be carried in the request message, and when the second mobile phone is close to the first mobile phone, the request message is sent to the first mobile phone in a short-distance communication mode. Here, short-range communication means wireless communication between electronic devices performed when the distance between the devices is short.
For example, the second handset may send the request message to the first handset via a wireless broadcast of the short-range communication. The wireless broadcast of the short-distance communication can comprise a wireless broadcast form of short-distance communication between any electronic devices, such as Bluetooth broadcast, wi-Fi broadcast or Wi-Fi P2P broadcast.
For another example, the second mobile phone may also send the request message to the first mobile phone by Near Field Communication (NFC). Specifically, the second mobile phone may send the request message to the first mobile phone when the second mobile phone is close to the first mobile phone or by "touch and bump".
In an embodiment, after the second mobile phone sends the request message to the first mobile phone through the wireless broadcast of the short-distance communication, the second mobile phone may also be close to the first mobile phone, for example, send a message to the first mobile phone point to point in an NFC manner, so that the second mobile phone further confirms the source of the target file desired to be received, the error of the connection object is ensured, the file mistransmission caused by the error of the connection object is avoided, and the security of file sharing is improved.
If the second handset transmits the request message to the first handset through the bluetooth broadcast, the second handset may transmit the request message to the first handset based on any one of the conventional bluetooth broadcast or the bluetooth low energy broadcast. Wherein, the power consumption can be reduced by broadcasting the request message through the low power consumption bluetooth.
In some embodiments, the request message may be a bluetooth broadcast message. For example, the second mobile phone may write the obtained connection establishment information into an Extended Inquiry Response (EIR) field of the bluetooth broadcast message, and send the obtained connection establishment information to the first mobile phone via the bluetooth broadcast message.
Illustratively, FIG. 11 shows the general format of the EIR field. As shown in fig. 11, the EIR field is typically 240octets (octets) and consists of a significant portion and a non-significant portion. The important part comprises a plurality of data structures, each data structure comprises a data length field and a data field, and the data field comprises a data type field and a data content field. The data length field occupies 1octet, indicates the length value of the data field, the data type field indicates the type of the data content, and the data content field can be written into the connection establishment information acquired by the second mobile phone. In addition, the insignificant part is all 0 for extending the EIR field to 240octets. That is to say, the second mobile phone writes the acquired connection establishment information into the data content field of the EIR field of the bluetooth broadcast message, and sends the modified bluetooth broadcast message to the first mobile phone, so as to send the connection establishment information acquired by the second mobile phone to the first mobile phone.
In the embodiment of the present application, for example, as shown in fig. 8, an application module of a sharing application in a second mobile phone sends the obtained connection establishment information to a communication module; then, the communication module sends the connection establishing information to the Bluetooth driver, and an EIR field of a Bluetooth broadcast message is changed in the Bluetooth driver, namely the connection establishing information acquired by a second mobile phone is written into the EIR field in the Bluetooth driver; then, the Bluetooth driver informs the Bluetooth antenna to broadcast the Bluetooth broadcast message written with the connection establishing information.
Through the above steps 401 to 403, the first mobile phone sets the preset connection information, and after the user of the second mobile phone is informed of the preset connection information, the second mobile phone may also obtain the connection information, write the obtained connection information into the request message, and send the request message to the first mobile phone, thereby completing the setting process of the connection information.
After the setup process of the connection establishment information is completed, the first mobile phone can compare the connection establishment information obtained by the second mobile phone carried in the request message with the preset connection establishment information stored by the first mobile phone based on the received request message, so that the connection establishment process is completed. As shown in fig. 5B, the process of establishing the connection includes:
501. the first handset receives a request message from the second handset.
As described above, the second handset transmits a request message to the first handset. Accordingly, the first handset may receive a request message from the second handset. Wherein, the request message includes the connection information.
In some embodiments, after receiving the request message, the first mobile phone may obtain the connection information obtained by the second mobile phone from the request message. For example, the first mobile phone may obtain the connection information obtained by the second mobile phone from the data content field of the bluetooth broadcast message.
In other embodiments, the request message may include a tag indicating whether the request message carries the connection establishment information. Optionally, the tag may further indicate a storage location of the connection information, so that the first mobile phone may more conveniently acquire the connection information acquired by the second mobile phone based on the tag.
In this embodiment, for example, as shown in fig. 8, after receiving a bluetooth broadcast message from a second mobile phone through a bluetooth antenna, the first mobile phone may transmit the bluetooth broadcast message to an application module through a bluetooth driver and a communication module, and then the application module may obtain connection information obtained by the second mobile phone from the bluetooth broadcast message.
502. And the first mobile phone stores the identifier of the second mobile phone under the condition that the connection establishing information acquired by the second mobile phone is determined to be consistent with the preset connection establishing information stored by the first mobile phone.
After the first mobile phone obtains the connection establishment information obtained by the second mobile phone from the request message, the connection establishment information can be compared with the preset connection establishment information stored in the first mobile phone. In some embodiments, if the connection information is consistent with the preset connection information, the first mobile phone may store the identifier of the second mobile phone. In other embodiments, if the connection information is consistent with the preset connection information, the first mobile phone may store and display the identifier of the second mobile phone. Here, the interface displayed on the first handset may be referred to as a first interface.
For example, in the case that the first mobile phone determines that the connection information acquired by the second mobile phone is consistent with the preset connection information stored in the first mobile phone, an interface as shown in (a) in fig. 12 may be displayed, where the interface includes the identifier "XXXX" of the second mobile phone. In some embodiments, the interface may further display an identifier of the first mobile phone and a prompt message, where the prompt message may be "the following device establishes a connection with you through a connection code".
In some embodiments, if the connection information is inconsistent with the preset connection information, the first mobile phone may not store or display the identifier of the second mobile phone. In other embodiments, if the connection information is inconsistent with the preset connection information, the first mobile phone may also send a message indicating that the connection information is inconsistent to the second mobile phone.
The identifier of the mobile phone may include information that can uniquely identify the mobile phone, such as a model of the mobile phone, a user name of the mobile phone, or an MAC address of a device of the mobile phone.
In this embodiment of the application, for example, as shown in fig. 8, after an application module corresponding to a shared application in a first mobile phone acquires connection information acquired by a second mobile phone, the connection information acquired by the second mobile phone may be compared with preset connection information stored in the application module. In the event that the two are consistent, the application module may trigger causing the first handset to display an interface containing an identification of the second handset.
When the first mobile phone determines that the connection information acquired by the second mobile phone is consistent with the preset connection information stored by the first mobile phone, the second mobile phone can also display an interface for entering the file sharing group of the first mobile phone. As shown in fig. 12 (b), an identification of the second handset and an identification of the first handset may be displayed in the interface.
Alternatively, the first mobile phone may select the target file after determining that the connection information acquired by the second mobile phone is consistent with the preset connection information stored by the first mobile phone. The first mobile phone can also send the preview information of the target file to the second mobile phone, so that the preview information of the target file can be displayed in the interface shown in (b) in fig. 12, and a user can conveniently preview the content of the target file.
For example, when the first mobile phone determines that the connection establishment information acquired by the second mobile phone is consistent with the preset connection establishment information stored in the first mobile phone, the identifier of the first mobile phone and the preview information of the target file may be sent to the second mobile phone through, for example, a bluetooth antenna, and after receiving the information, the bluetooth antenna of the second mobile phone may transmit the information to an application module of the second mobile phone, so that the second mobile phone displays an interface as shown in (b) in fig. 12.
Of course, in some embodiments, the first mobile phone may also directly send the target file to the second mobile phone without sending the preview information of the target file, when it is determined that the connection information acquired by the second mobile phone is consistent with the preset connection information stored in the first mobile phone. For example, in the case shown in fig. 6C, the first mobile phone already selects the target file before sharing the file, and at this time, the first mobile phone may directly send the selected target file, for example, the target picture, to the second mobile phone when determining that the connection information acquired by the second mobile phone is consistent with the preset connection information stored in the first mobile phone.
503. And the first mobile phone responds to the third operation of the user and sends a response message to the second mobile phone corresponding to the identifier of the second mobile phone, and the response message indicates the first mobile phone to confirm that the target file is shared with the second mobile phone.
If the first mobile phone displays the interface shown in fig. 12 (a), the user of the first mobile phone can view the identifier of the second mobile phone, so that the user of the first mobile phone can confirm whether the second mobile phone is a target object that the user of the first mobile phone wants to share files. And under the condition that the user of the first mobile phone confirms that the first mobile phone wants to share the target file with the second mobile phone, the first mobile phone can respond to a third operation of the user and send a response message to the second mobile phone, so that the first mobile phone and the second mobile phone are successfully connected. In other embodiments, when the first mobile phone determines that the connection information acquired by the second mobile phone is consistent with the preset connection information stored in the first mobile phone, the first mobile phone and the second mobile phone are successfully connected.
For example, if the user of the first mobile phone confirms that he/she wishes to share the target file with the second mobile phone, the user may click on a "start transmission" control in the interface shown in fig. 13 (a), so that the first mobile phone sends a response message to the second mobile phone. Thus, the third operation may be an operation in which the user clicks the "start transfer" control. It is to be understood that the third operation may also be a voice, a gesture, or the like, and the embodiment of the present application does not limit the type of the third operation.
Of course, the first mobile phone may also set a "confirm sharing" control and a "transfer file" control in the interface displaying the identifier of the second mobile phone, as shown in fig. 13 (b), and the first mobile phone sends a response message to the second mobile phone in response to the operation of the user clicking the "confirm sharing" control. As such, the third operation may be an operation in which the user selects a "confirm share" control.
In some cases, after displaying the identifier of the second mobile phone on the first mobile phone, the user of the first mobile phone may not want the first mobile phone to share the target file with the second mobile phone. For example, the user of the first mobile phone temporarily changes the sharing intention, or the connection information acquired by the second mobile phone is exactly consistent with the preset connection information in the first mobile phone, but the second mobile phone is not the target object that the first mobile phone wishes to share the file. At this point, the user may choose to delete the identity of the second handset.
As shown in fig. 13 (c), the user may select the "x" number at the top right of the second handset identity to delete the identity of the second handset. In addition, as shown in (d) in fig. 13, the user may drag the identifier of the second mobile phone out of the screen to delete the identifier of the second mobile phone, which is not limited in this embodiment of the application.
After the first handset transmits a response message to the second handset in response to the third operation by the user, a notification message that the connection was successfully established may be displayed on the second handset. The notification message may be displayed in any manner, such as a pop-up window, a message, or a voice, which is not limited in this application.
In this embodiment of the application, for example, as shown in fig. 8, after the first mobile phone responds to the third operation of the user, the application module of the first mobile phone may send a response message of successful establishment to the second mobile phone through the bluetooth antenna via the communication module and the bluetooth driver, so that the first mobile phone and the second mobile phone are successfully established.
It should be noted that, in this embodiment of the present application, successfully establishing the connection between the first mobile phone and the second mobile phone means that the first mobile phone and the second mobile phone establish a near-field connection. Here, the near field connection means a bluetooth connection, a Wi-Fi connection, or the like directly established between the first mobile phone and the second mobile phone when the distance between the first mobile phone and the second mobile phone is short. It is also considered that the establishment of the near field connection between the first handset and the second handset does not require the intermediary of a server or router or the like.
Through the steps 501 to 503, the first mobile phone can display the identifier of the second mobile phone when it is determined that the connection information from the second mobile phone is consistent with the preset connection information, and further send a response message to the second mobile phone in response to the third operation of the user, so that the first mobile phone and the second mobile phone are successfully connected.
After the connection is successful, the first mobile phone can transmit the target file to the second mobile phone, so that file sharing is achieved. As shown in fig. 5C, the process of transferring the file may include:
601. and the first mobile phone sends the target file to the second mobile phone.
The target file represents a file that a user of the first mobile phone wishes to share, and the target file may be a file in any form such as a text, a picture, a video, or an audio.
After the first mobile phone is connected with the second mobile phone, the first mobile phone can directly send the target file to the second mobile phone. For example, after the user selects the "start transmission" control shown in (a) of fig. 13, the first mobile phone sends a corresponding message to the second mobile phone and establishes a connection with the second mobile phone, and the first mobile phone may directly send the target file to the second mobile phone.
In other embodiments, the first mobile phone may also transmit the target file to the second mobile phone in response to the user's operation. For example, as shown in fig. 13 (b), the first mobile phone may first send a response message to the second mobile phone in response to the user clicking the "confirm share" control, so that the first mobile phone establishes a connection with the second mobile phone; and then, the first mobile phone can respond to the operation that the user clicks the 'transfer file' control and send the target file to the second mobile phone.
In still other embodiments, the first handset may send the destination file to the second handset in response to a user manipulation of the identity of the second handset, such as a single-click operation, a double-click operation, or the like.
The first handset may send the target file to the second handset in a number of ways. For example, the first handset may transmit the target file to the second handset via short-range wireless communication, such as any of bluetooth, wi-Fi, or Near Field Communication (NFC), etc.
Illustratively, the first handset may send the target file over Wi-Fi P2P. Since the Wi-Fi P2P transmission speed is higher, the transmission speed can be further improved by transmitting the target file through the Wi-Fi P2P after the connection is established.
Generally, the first handset transmits the target file to the second handset in segments. For example, the first mobile phone may divide the data of the target file into several subfiles, and then sequentially send the subfiles to the second mobile phone.
In the embodiment of the present application, for example, as shown in fig. 8, the communication module of the first handset may notify the Wi-Fi driver, and further notify the Wi-Fi module to segment the transmission target file.
602. The second handset receives the target file.
After the first mobile phone sends the target file, the second mobile phone can receive the target file. For example, the second handset may receive the object file from the first handset in segments. In general, the second handset may first receive basic information of the target file, such as the file size and format of the target file. The second handset may then receive and save the contents of the target file.
In other embodiments, the second handset may simultaneously compare the size of the target file that has been received with the total size of the target file, and present the user with receipt status information for the current file.
For example, as shown in fig. 14, if the second handset is receiving the target file, the second handset may display "receiving the file" and the progress of currently receiving the file in the notification message. It will be appreciated that the second handset may also display a "receive complete" notification message if the second handset has already received the target file. The second handset may also display a "wait to receive" notification message if the second handset has not begun accepting the destination file. That is, the reception state information may include information of a reception progress, a reception completion, or a waiting for reception.
In this embodiment of the application, as shown in fig. 8, after the Wi-Fi module of the second mobile phone receives the segmented target file, the received segmented target file may be sent to the Wi-Fi driver, and then the target file is stored in the file storage module. In addition, the Wi-Fi driver of the second mobile phone can also compare the proportion of the size of the received file to the total size of the target file, and then the file transmission progress is transmitted to the application module through the communication module. As shown, the application module may cause the first mobile phone to display an interface containing a file transfer progress.
Through the above steps 601 and 602, the first mobile phone can transmit the target file to the second mobile phone after establishing connection with the second mobile phone, thereby implementing file sharing in a near-field scene.
Through the process of setting the connection establishing information, the process of establishing connection and the process of transmitting files, the first mobile phone can set the connection establishing information, and under the condition that the connection establishing information input in the second mobile phone nearby is confirmed to be consistent with the connection establishing information set by the first mobile phone, the first mobile phone establishes connection with the second mobile phone to complete file sharing. In the process, the first mobile phone does not need to search the second mobile phone manually, and the situation of manual misselection can be avoided, so that the target object of file sharing can be accurately identified, and the accuracy and the efficiency of file sharing are improved.
The above description is made by using the receiving-end electronic device as a mobile phone. It is understood that the above file sharing method is also applicable to the case where there are a plurality of receiving-end electronic devices.
If the first mobile phone receives the request messages from the plurality of electronic devices, the first mobile phone may obtain the connection information obtained by the corresponding electronic device from each request message, and compare the connection information with the preset connection information respectively.
For example, when the first mobile phone confirms that the connection information acquired by 3 mobile phones is consistent with the preset connection information, the first mobile phone may display an interface as shown in (a) of fig. 15, where the interface may include the identifiers "XXXX", "YYY1", and "YYY2" of the 3 mobile phones. The identifiers of the 3 mobile phones can be sequentially displayed in the process of comparing the connection information in the request information with the preset connection information by the first mobile phone, and can also be displayed together after the comparison of the connection information in all the request information with the preset connection information by the first mobile phone is finished. Accordingly, the 3 mobile phones may also respectively display an interface as shown in fig. 15 (b), in which information such as the identifier of the first mobile phone, the identifiers of the 3 mobile phones, and file preview information may be displayed.
When the user of the first mobile phone confirms that the first mobile phone is to be caused to transmit the target file to the 3 mobile phones displayed in (a) in fig. 15, the user may select the "start transmission" control in the interface shown in (a) in fig. 16, and in response to this operation, the first mobile phone simultaneously transmits a response message indicating that the connection is successful to the 3 mobile phones, and then sequentially transmits the target files to the 3 mobile phones.
In addition, the user may also select the "confirm sharing" control in the interface shown in fig. 16 (b) first, and in response to this operation, the first mobile phone simultaneously sends a response message indicating that the sharing target file is confirmed to the 3 mobile phones. Thereafter, the user may select the "transfer file" control in the interface shown in fig. 16 (b), and in response to this operation, the first mobile phone may sequentially send the target file to the 3 mobile phones.
The order in which the first mobile phone sends the target files to the 3 mobile phones is not limited, and the first mobile phone may send the target files in sequence according to the order in which the request messages of the 3 mobile phones are received, may also send the target files in sequence according to the priorities of the 3 mobile phones, and may also send the target files in sequence according to a random order, which is not limited in the embodiment of the present application. The receiving of the target file between the mobile phones of the receiving ends is independent, and the target file can be received without waiting for the confirmation message which is indicated to be received by other mobile phones of the receiving ends.
It can be understood that the mobile phone receiving the target file in the 3 mobile phones can display an interface as shown in fig. 14, and show the file receiving progress to the user. In some embodiments, a handset that has already received the target file may display a "receive completed" prompt message, and a handset that has not begun receiving the target file may display a "wait to receive" prompt message.
In some embodiments, if the user does not want the first mobile phone to send the target file to one or more of the 3 mobile phones, the identifiers of one or more mobile phones may also be deleted in the manner shown in (c) and (d) in fig. 13, and then the first mobile phone sends the target file to the mobile phone corresponding to the identifier of the remaining mobile phone.
According to the file sharing method provided by the embodiment of the application, the sending end electronic equipment can be simultaneously connected with a plurality of nearby receiving end electronic equipment at one time based on the connection establishing information, so that the sending end electronic equipment does not need to send the connection establishing request information to each receiving end electronic equipment in sequence, and does not need to wait for each receiving end electronic equipment to confirm the request information in sequence according to time. Therefore, the method for sharing the file provided by the embodiment of the application can save the process of repeatedly requesting for confirmation, reduce the operation of a user, and further improve the efficiency of sharing the file between the sending terminal electronic equipment and the plurality of receiving terminal electronic equipment.
It will be appreciated that in order to implement the above-described functions, the electronic device comprises corresponding hardware and/or software modules for performing the respective functions. The present application is capable of being implemented in hardware or a combination of hardware and computer software in conjunction with the exemplary algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed in hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, in conjunction with the embodiments, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In this embodiment, the electronic device may be divided into functional modules according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module may be implemented in the form of hardware. It should be noted that the division of the modules in this embodiment is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Embodiments of the present application also provide an electronic device including one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, and the one or more memories are configured to store computer program code comprising computer instructions that, when executed by the one or more processors, cause the electronic device to perform the associated method steps described above to implement the file sharing method in the above-described embodiments.
An embodiment of the present application further provides an electronic device, as shown in fig. 17, including: a display screen 1701, one or more processors 1702, memory 1703, and one or more computer programs 1704, which may be connected via one or more communication buses 1705. Wherein the one or more computer programs 1704 are stored in the memory 1703 and configured to be executed by the one or more processors 1702, the one or more computer programs 1704 including instructions that can be used to perform the various steps in the embodiments described above. All relevant contents of the steps related to the method embodiment may be referred to the functional description of the corresponding entity device, and are not described herein again.
For example, the processor 1702 may be specifically the processor 110 shown in fig. 3, the memory 1703 may be specifically the internal memory 121 shown in fig. 3, and the display 1701 may be specifically the display 194 shown in fig. 3.
An embodiment of the present application further provides a computer-readable storage medium, where a computer instruction is stored in the computer-readable storage medium, and when the computer instruction runs on an electronic device, the electronic device is caused to execute the relevant method steps to implement the file sharing method in the foregoing embodiment.
An embodiment of the present application further provides a computer program product, and when the computer program product runs on a computer, the computer executes the relevant steps to implement the file sharing method executed by the electronic device in the embodiment.
In addition, an apparatus, which may be specifically a chip, a component or a module, may include a processor and a memory connected to each other; when the device runs, the processor can execute the computer execution instructions stored in the memory, so that the chip can execute the file sharing method executed by the electronic equipment in the above method embodiments.
The electronic device, the computer-readable storage medium, the computer program product, or the chip provided in this embodiment are all configured to execute the corresponding method provided above, and therefore, the beneficial effects that can be achieved by the electronic device, the computer-readable storage medium, the computer program product, or the chip may refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
Through the description of the foregoing embodiments, those skilled in the art will understand that, for convenience and simplicity of description, only the division of the functional modules is used for illustration, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the device may be divided into different functional modules, so as to complete all or part of the functions described above.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, that is, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application, or portions of the technical solutions that substantially contribute to the prior art, or all or portions of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (22)

1. A file sharing method is applied to first electronic equipment, and is characterized by comprising the following steps:
displaying a first input interface, wherein the first input interface is used for a user to input preset connection establishing information;
responding to a first input operation of a user, and saving the preset connection information;
acquiring connection information from at least one second electronic device through wireless broadcast of short-range communication;
under the condition that the connection establishing information is determined to be consistent with the preset connection establishing information, establishing near field connection with the at least one second electronic device;
and sending the target file to the at least one second electronic device.
2. The method of claim 1, further comprising:
after the connection establishing information from the at least one electronic device is acquired through wireless broadcast of short-distance communication, a first interface is displayed; the first interface comprises an identifier of the second electronic equipment of which the connection information is consistent with the preset connection information;
the sending the target file to the at least one electronic device comprises:
and responding to the indication operation of the user, and sending the target file to the second electronic equipment corresponding to the identification.
3. The method according to claim 1 or 2, wherein the wireless broadcast of the short-range communication is a Bluetooth Low Energy (BLE) broadcast, and the connection establishment information is included in an Extended Inquiry Response (EIR) field of a BLE broadcast message.
4. The method according to any of claims 1-3, wherein the sending the target file to the at least one second electronic device specifically comprises:
sending the target file to the at least one second electronic device through wireless fidelity direct Wi-Fi P2P.
5. The method of any of claims 1-4, wherein the displaying the first input interface further comprises:
responding to an operation of opening a first application by a user, and displaying a selection interface, wherein the selection interface at least comprises a first control or a second control, the first control indicates to share a file through connection information, and the second control indicates to establish the near field connection through the connection information;
and responding to the selection operation of a user on the first control or the second control, and displaying the first input interface.
6. The method according to any one of claims 1-5, wherein the connection information is any type of connection code, connection pattern, or connection gesture.
7. A file sharing method is characterized by comprising the following steps:
the method comprises the steps that a first electronic device obtains connection information from at least one second electronic device through wireless broadcast of short-distance communication;
the first electronic equipment establishes near-field connection with the at least one second electronic equipment under the condition that the connection establishing information is determined to be consistent with preset connection establishing information stored by the first electronic equipment;
and the first electronic equipment sends the target file to the at least one second electronic equipment.
8. The method of claim 7, further comprising:
the first electronic equipment displays an identifier of second electronic equipment corresponding to the connection information which is consistent with the preset connection information;
the first electronic device sending the target file to the at least one second electronic device comprises:
and the first electronic equipment sends the target file to second electronic equipment corresponding to the identifier.
9. The method according to claim 7 or 8, wherein the wireless broadcast of the short-range communication is a Bluetooth Low Energy (BLE) broadcast, and the connection establishment information is included in an Extended Inquiry Response (EIR) field of a BLE broadcast message.
10. A file sharing method is applied to a second electronic device, and is characterized by comprising the following steps:
displaying a second input interface, wherein the second input interface is used for a user to input the connection establishing information;
responding to a second input operation of the user, and sending a request message to the first electronic equipment through wireless broadcast of short-range communication, wherein the request message comprises the connection establishment information;
and receiving the target file from the first electronic equipment.
11. The method of claim 10, further comprising:
when the connection information is consistent with preset connection information stored in the first electronic equipment, displaying a second interface; the second interface includes an identification of the first electronic device.
12. The method of claim 11, wherein the second interface further comprises preview information for the target file.
13. The method of any of claims 10-12, wherein the sending the request message to the first electronic device via a wireless broadcast of the short-range communication comprises:
sending a request to the first electronic device in a Bluetooth Low Energy (BLE) broadcast message mode; wherein, an extended query response (EIR) field of the BLE broadcast message includes the connection establishment information.
14. The method of any of claims 10-13, wherein receiving the object file from the first electronic device comprises:
receiving the target file from the first electronic device through wireless fidelity direct Wi-Fi P2P.
15. The method according to any one of claims 10-14, wherein the connection information is any type of connection code, connection pattern, or connection gesture.
16. The method of any of claims 10-15, wherein the displaying a second input interface further comprises:
responding to the operation of opening a first application by a user, and displaying a selection interface, wherein the selection interface at least comprises a first control and a second control, the first control indicates that a file is shared through establishing connection information, and the second control indicates that near field connection is established through establishing connection information;
and responding to the selection operation of the user on the first control or the second control, and displaying the second input interface.
17. A file sharing method is characterized by comprising the following steps:
the second electronic equipment sends a request message to the first electronic equipment through wireless broadcast of short-range communication, wherein the request message comprises the connection establishment information;
the second electronic device receives the object file from the first electronic device.
18. The method of claim 17, further comprising:
when the connection information is consistent with preset connection information stored by the first electronic equipment, displaying a second interface; the second interface includes an identification of the first electronic device.
19. The method of claim 17 or 18, wherein the second electronic device transmitting the request message to the first electronic device via a wireless broadcast of the short-range communication comprises:
the second electronic equipment sends a request to the first electronic equipment in a Bluetooth Low Energy (BLE) broadcast message mode; wherein, an extended query response (EIR) field of the BLE broadcast message includes the connection establishment information.
20. An electronic device, comprising:
the display screen is used for displaying an interface;
one or more processors and one or more memories;
the one or more memories coupled with the one or more processors for storing computer program code comprising computer instructions which, when executed by the one or more processors, cause the electronic device to perform the file sharing method of any of claims 1-9; alternatively, the electronic device executes the file sharing method according to any one of claims 10 to 19.
21. A computer storage medium comprising computer instructions that, when run on an electronic device, cause the electronic device to perform the file sharing method of any one of claims 1-9; or causing the electronic device to perform the file sharing method according to any one of claims 10 to 19.
22. A computer program product, characterized in that it causes a computer to perform a file sharing method according to any one of claims 1-9 when said computer program product is run on said computer; alternatively, the computer executes the file sharing method according to any one of claims 10 to 19.
CN202110486461.4A 2021-04-30 2021-04-30 File sharing method and electronic equipment Pending CN115278616A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110486461.4A CN115278616A (en) 2021-04-30 2021-04-30 File sharing method and electronic equipment
PCT/CN2022/084614 WO2022228028A1 (en) 2021-04-30 2022-03-31 File sharing method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110486461.4A CN115278616A (en) 2021-04-30 2021-04-30 File sharing method and electronic equipment

Publications (1)

Publication Number Publication Date
CN115278616A true CN115278616A (en) 2022-11-01

Family

ID=83746116

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110486461.4A Pending CN115278616A (en) 2021-04-30 2021-04-30 File sharing method and electronic equipment

Country Status (2)

Country Link
CN (1) CN115278616A (en)
WO (1) WO2022228028A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115988002A (en) * 2023-02-16 2023-04-18 荣耀终端有限公司 Data transmission method and electronic equipment
WO2024109443A1 (en) * 2022-11-23 2024-05-30 华为技术有限公司 Device connection method, device and system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102883449B (en) * 2012-09-21 2016-08-03 腾讯科技(深圳)有限公司 A kind of realize the method for data sharing, associated terminal and system
US9529439B2 (en) * 2012-11-27 2016-12-27 Qualcomm Incorporated Multi device pairing and sharing via gestures
CN104602232B (en) * 2014-12-26 2018-06-05 广州三星通信技术研究有限公司 The method, apparatus and system of communication connection are established for electric room
CN105142098B (en) * 2015-08-19 2019-10-25 北京字节跳动网络技术有限公司 A kind of data sharing method and device
CN108781473B (en) * 2016-12-12 2022-02-25 华为技术有限公司 Method and equipment for sharing files among different terminals
CN111542033A (en) * 2020-04-24 2020-08-14 深圳传音控股股份有限公司 Near-field data transmission method and device and computer readable storage medium
CN112351414B (en) * 2020-10-26 2021-11-02 北京达佳互联信息技术有限公司 Equipment control method, device, system and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024109443A1 (en) * 2022-11-23 2024-05-30 华为技术有限公司 Device connection method, device and system
CN115988002A (en) * 2023-02-16 2023-04-18 荣耀终端有限公司 Data transmission method and electronic equipment
CN115988002B (en) * 2023-02-16 2023-08-15 荣耀终端有限公司 Data transmission method and electronic equipment

Also Published As

Publication number Publication date
WO2022228028A1 (en) 2022-11-03

Similar Documents

Publication Publication Date Title
WO2021018008A1 (en) Screen projection method and electronic device
US11057762B2 (en) Electronic device and method for switching electronic device between dual standby mode and single standby mode
US20210204127A1 (en) Image Sharing Method and System, and Electronic Device
US20160162240A1 (en) Method and apparatus for constructing multi-screen display
US11076037B2 (en) Electronic device for synchronizing modification among screens and operation method thereof
CN111464987B (en) Method for displaying Bluetooth device identification and electronic device
CN111164983B (en) The interconnection terminal lends local processing capability
KR20140127031A (en) Method for wireless connection using out-of-band channel, machine-readable storage medium and electronic device
KR20150082940A (en) Apparatas and method for controlling a rotation of screen in an electronic device
WO2022228028A1 (en) File sharing method and electronic device
KR20140082460A (en) Message sync method, machine-readable storage medium and server
CN108605373B (en) Method and electronic device for providing network sharing service
US20150178502A1 (en) Method of controlling message of electronic device and electronic device thereof
CN112130788A (en) Content sharing method and device
CN111158539A (en) Method for processing unread message and terminal equipment
US20150293691A1 (en) Electronic device and method for selecting data on a screen
CN113204302B (en) Virtual robot-based operation method, device, equipment and storage medium
KR20180121178A (en) Method for wireless connection and electronic device thereof
US20220006894A1 (en) Electronic device, external electronic device, and method for controlling external electronic device by using electronic device
CN114785766B (en) Control method, terminal and server of intelligent equipment
WO2022247638A1 (en) Method for controlling connection of stylus, and electronic device
WO2022206848A1 (en) Method and device for displaying application widget
CN113301422B (en) Method, terminal and storage medium for acquiring video cover
CN111726848B (en) Equipment binding method, target starting device, fixed terminal and storage medium
CN114157630B (en) Social relation chain migration method, device, equipment and storage medium

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