CN111565382A - Transmission method and electronic device - Google Patents

Transmission method and electronic device Download PDF

Info

Publication number
CN111565382A
CN111565382A CN202010363394.2A CN202010363394A CN111565382A CN 111565382 A CN111565382 A CN 111565382A CN 202010363394 A CN202010363394 A CN 202010363394A CN 111565382 A CN111565382 A CN 111565382A
Authority
CN
China
Prior art keywords
target
electronic device
target sub
password
sending
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010363394.2A
Other languages
Chinese (zh)
Other versions
CN111565382B (en
Inventor
李泽源
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010363394.2A priority Critical patent/CN111565382B/en
Publication of CN111565382A publication Critical patent/CN111565382A/en
Priority to PCT/CN2021/089251 priority patent/WO2021218801A1/en
Application granted granted Critical
Publication of CN111565382B publication Critical patent/CN111565382B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • H04W12/068Authentication using credential vaults, e.g. password manager applications or one time password [OTP] applications
    • 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)
  • Computer Security & Cryptography (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a transmission method and an electronic device, wherein the method comprises the following steps: receiving an input to add a target object to a target area of the first electronic device; in response to the input, adding the target object to the target area; and under the condition that the first electronic equipment establishes near field communication connection with second electronic equipment, sending a target sub-object included by the target object to the second electronic equipment. In the embodiment of the application, the target sub-object is transmitted through the near field communication connection, so that the transmission speed of the target sub-object can be increased, meanwhile, when the target object is located in the target area and the near field communication connection is established between the first electronic device and the second electronic device, the target sub-object can be transmitted, and the operation steps are simplified.

Description

Transmission method and electronic device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a transmission method and an electronic device.
Background
With the development of electronic device technology, sharing and transmission of various objects between electronic devices are more and more frequent. In actual use, the object can be transmitted between different electronic devices. However, the existing object transmission mode is slow, and requires multi-step operation of a user, which results in more complex operation.
Disclosure of Invention
The embodiment of the application provides a transmission method and electronic equipment, and can solve the problems that the existing object transmission mode is low in speed, multi-step operation of a user is needed, and operation is complex.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a transmission method, which is applied to a first electronic device, and the method includes:
receiving an input to add a target object to a target area of the first electronic device;
in response to the input, adding the target object to the target area;
and under the condition that the first electronic equipment establishes near field communication connection with second electronic equipment, sending a target sub-object included by the target object to the second electronic equipment.
In a second aspect, an embodiment of the present application provides another transmission method, which is applied to a second electronic device, and the method includes:
receiving a password input by a user under the condition of establishing a near field communication connection with a first electronic device;
sending the password to the first electronic device, wherein the password is used for matching with a preset password stored in the first electronic device;
and receiving a target sub-object included in a target object sent by the first electronic device under the condition that the password is successfully matched with a preset password stored in the first electronic device, wherein the target sub-object corresponds to the password.
In a third aspect, an embodiment of the present application provides a transmission apparatus, which is applied to a first electronic device, and the transmission apparatus includes:
a first receiving module for receiving an input of adding a target object to a target area of the first electronic device;
an adding module for adding the target object to the target area in response to the input;
the first sending module is used for sending the target sub-object included by the target object to the second electronic equipment under the condition that the first electronic equipment and the second electronic equipment establish near field communication connection.
In a fourth aspect, an embodiment of the present application provides another transmission apparatus, which is applied to a second electronic device, and the transmission apparatus includes:
the second receiving module is used for receiving the password input by the user under the condition of establishing the near field communication connection with the first electronic equipment;
the second sending module is used for sending the password to the first electronic equipment, wherein the password is used for being matched with a preset password stored in the first electronic equipment;
and a third receiving module, configured to receive a target sub-object included in a target object sent by the first electronic device under the condition that the password is successfully matched with a preset password stored in the first electronic device, where the target sub-object corresponds to the password.
In a fifth aspect, the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect or the second aspect.
In a sixth aspect, the present application provides a computer-readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first or second aspect.
In a seventh aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect or the second aspect.
In an embodiment of the application, an input of adding a target object to a target area of the first electronic device is received; in response to the input, adding the target object to the target area; and under the condition that the first electronic equipment establishes near field communication connection with second electronic equipment, sending a target sub-object included by the target object to the second electronic equipment. Therefore, the target sub-object is transmitted through the near field communication connection, the transmission speed of the target sub-object can be improved, meanwhile, when the target object is located in the target area and the first electronic device and the second electronic device are in the near field communication connection, the target sub-object can be transmitted, and the operation steps are simplified.
Drawings
Fig. 1 is a flowchart of a transmission method provided in an embodiment of the present application;
FIG. 2 is a schematic view of a display interface of an electronic device according to an embodiment of the present disclosure;
fig. 3 is a second schematic view of a display interface of an electronic device according to an embodiment of the present disclosure;
fig. 4 is a third schematic view of a display interface of an electronic device according to an embodiment of the present application;
fig. 5 is a fourth schematic view of a display interface of an electronic device according to an embodiment of the present application;
fig. 6 is a second flowchart of a transmission method according to an embodiment of the present application;
fig. 7 is a fifth schematic view of a display interface of an electronic device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a transmission device according to an embodiment of the present application;
fig. 9 is a second schematic structural diagram of a transmission device according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
Referring to fig. 1, fig. 1 is a flowchart of a transmission method provided in an embodiment of the present application, and as shown in fig. 1, the method includes the following steps:
step 101, receiving an input of adding a target object to a target area of the first electronic device.
The specific type of the target object is not limited herein, for example: the target object may include a web site, a picture, video, audio, textual information, or an application package, among others.
As an alternative embodiment, the target area may be a folder, and the folder may be displayed on a desktop of the electronic device; of course, the electronic device may include a plurality of pages of desktop surfaces, the folder may also be displayed on other desktop surfaces of the electronic device besides the current desktop surface, and the other desktop surfaces may be switched and displayed by the current desktop surface according to the input of the user.
It should be noted that the folder may be a folder created by the electronic device according to an input from a user, for example: the electronic device may create a folder based on the user's input and name the folder.
Of course, the folder may also be a folder corresponding to a certain target application program. When the first electronic equipment runs the target application program and can receive input of a user, the target object is added into the folder corresponding to the target application program.
As another alternative, the target area may be a preset area of the electronic device, for example: the target area may be an upper right corner area or a lower right corner area of a desktop of the electronic device, and the like.
It should be noted that, a specific implementation manner of the input for adding the target object to the target area of the first electronic device is not limited herein.
For example: as an optional implementation manner, the first electronic device may receive first instruction information sent by the second electronic device, where the first instruction information may be understood as: an input to add a target object to a target area of a first electronic device; as another alternative, the first electronic device may receive an input from a user and add a target object to a target area of the first electronic device according to the input. As another optional implementation manner, the second electronic device may display information related to the target object, and after the user sees the information related to the target object, the first electronic device may receive an input from the user, and the first electronic device adds the target object to the target area of the first electronic device according to the input.
As another optional implementation, identifiers of a plurality of objects may be displayed on the second electronic device, the user may determine an identifier of the target object among the identifiers of the plurality of objects, the second electronic device may receive a target input of the user on the identifier of the target object, and the second electronic device sends a message for adding the target object to the target area of the first electronic device to the first electronic device according to the target input.
Of course, the type of identification is not limited herein, for example: an icon identifying an application program that may correspond to the target object, or an image representing key features of the target object, etc. The key features may include the type or usage of the target sharing object.
Step 102, responding to the input, and adding the target object to the target area.
The pre-storage location of the target object is not limited herein, for example: referring to fig. 2, the target object (e.g., file a or file b in fig. 2) may be pre-stored in a folder corresponding to another application (e.g., a first application), and then, when an input from a user is received, the target object may be added to a target area (e.g., a folder corresponding to the target application).
For example: referring to fig. 2, an input to the "add N-turn" button may be received, thereby saving a target object (e.g., file a or file b in fig. 2) in a target area (e.g., in a target folder corresponding to N-turns).
Of course, referring to fig. 2, function buttons such as "copy" and "share" may be displayed, and when an input to the function buttons is received, an operation such as copying or sharing may be performed on the target object.
It should be noted that the type of the target application is not limited herein, for example: the target application may be an application installed in the first electronic device and the second electronic device in advance, or may be downloaded from a server. In addition, the name and attributes of the target application may also be edited based on information input by the user. For example: the name of the target application may be named "N circles".
In addition, in the case where an input by the user is received, the target object may be copied and then the target object or a copy object of the target object may be added to the target area.
Step 103, sending the target sub-object included in the target object to the second electronic device under the condition that the first electronic device and the second electronic device establish a near field communication connection.
The Near Field Communication connection may be understood as a transmission channel established based on Near Field Communication (NFC) technology. When the distance between the first electronic device and the second electronic device is within the preset range, the first electronic device and the second electronic device can automatically establish near field communication connection, and after the near field communication connection is successfully established, object transmission is directly carried out through the transmission channel, and a user does not need to input sharing operation.
It should be noted that the preset range is not specifically limited herein, for example: the predetermined range may be 0 to 10 cm.
For example: when the first electronic device and the second electronic device are connected in the near field communication mode and are close to each other, the transmission of the target object can be completed. For another example, when the first electronic device and the second electronic device establish a near field communication connection and the first electronic device and the second electronic device touch each other, the transmission of the target object may be completed.
As an optional implementation, the target sub-object may be a part of sub-objects included in the target object, and certainly, as another optional implementation, the target sub-object may also be all sub-objects included in the target object, and at this time, the target sub-object may be understood as the target object, that is, the target sub-object is equal to the target object.
Optionally, the sending, to the second electronic device, a target sub-object included in the target object in a case that the first electronic device establishes a near field communication connection with the second electronic device includes:
under the condition that the first electronic equipment and second electronic equipment establish near field communication connection, receiving a password sent by the second electronic equipment;
and under the condition that the password is successfully matched with a preset password, sending a target sub-object included by the target object to the second electronic equipment.
As an optional implementation manner, when the target area is the first area, only the first electronic device needs to establish a near field communication connection with the second electronic device, and the first electronic device can send the target sub-object included in the target object to the second electronic device; when the target area is the second area, the password sent by the second electronic device needs to be received, and under the condition that the password is successfully matched with the preset password, the first electronic device sends the target sub-object included in the target object to the second electronic device.
Note that the first region may be referred to as a common region, and the second region may be referred to as a non-common region.
Further, the target sub-object located in the first area may also be encrypted, and after the encrypted target sub-object is sent to the second electronic device, the encrypted target sub-object may not be directly displayed, that is, the encrypted target sub-object may be displayed on the second electronic device, but a prompt message may be displayed, where the content of the prompt message may be shown in fig. 4, and represents that the target sub-object having the encryption (i.e., the encrypted file in fig. 4) needs to be input by the user, and the encrypted target sub-object may be displayed only when the password verification is successful. It should be noted that, referring to fig. 5, the content of the hint message at this time may include "the public area encrypted file is completely displayed".
Of course, if the first area does not include the encrypted target sub-object, the second electronic device may display that the display content includes "the public area does not include the encrypted target file" or "the public area encrypted file is completely displayed".
When the target area of the first electronic device is a folder of the target application, and the second electronic device receives the target sub-object, the target sub-object may be displayed or stored in the folder of the target application on the second electronic device.
In addition, the first area and the second area can be two different subfolders in a folder corresponding to the same target application program; of course, the first area and the second area may also be different areas of the electronic device, for example: the first region may be an upper left corner region of a display area of the electronic device (which may be a desktop, for example), and the second region may be a lower right corner region of the display area of the electronic device.
In addition, more important objects with higher security level (such as password or account) can be added in the second area, and less important objects with lower security level (such as webpage or image without privacy) can be added in the first area.
In the embodiment of the application, the target sub-object included by the target object is sent to the second electronic device only when the password is successfully matched with the preset password, so that the accuracy and the safety of sending the target sub-object can be improved, and the phenomenon of information leakage caused by sending the target sub-object to other irrelevant electronic devices is avoided.
Optionally, the sending, to the second electronic device, a target sub-object included in the target object under the condition that the password is successfully matched with a preset password includes:
under the condition that the password is successfully matched with a preset password and the transmission times of the target sub-object are smaller than the preset times, the target sub-object is sent to the second electronic equipment;
or sending the target sub-object to the second electronic device under the condition that the password is successfully matched with a preset password and the time that the target sub-object is located in the target area is less than the preset time length.
Therefore, when the transmission times are larger than or equal to the preset times or the time that the target sub-object is located in the target area is larger than or equal to the preset duration, even if the password is successfully matched with the preset password, the first electronic device does not send the target sub-object to the second electronic device, the situation that the target sub-object is forgotten to be deleted from the target area by a user and can be repeatedly transmitted by other people and the target sub-object is obtained by irrelevant users can be avoided, and therefore the sending safety of the target sub-object can be further improved.
Optionally, the sending, to the second electronic device, a target sub-object included in the target object includes:
transmitting the target sub-object to the second electronic device based on the near field communication connection under the condition that the target sub-object meets a preset transmission condition; or the like, or, alternatively,
under the condition that the target sub-object does not meet the preset sending condition, establishing Bluetooth connection with the second electronic equipment;
under the condition that the first electronic device establishes Bluetooth connection with the second electronic device, sending the target sub-object to the second electronic device based on the Bluetooth connection;
wherein the preset sending condition comprises at least one of the following: the memory occupied by the target sub-object is smaller than a first threshold, the transmission speed calculated by the target sub-object is larger than a second threshold, and the transmission duration calculated by the target sub-object is smaller than a third threshold.
When the first electronic device establishes bluetooth connection with the second electronic device, the near field communication connection established between the first electronic device and the second electronic device may be disconnected, and certainly, the near field communication connection may also be continuously maintained.
It should be noted that the priority of the bluetooth connection may be higher than the priority of the near field communication connection. Namely, when the first electronic device and the second electronic device establish the bluetooth connection and the near field communication connection at the same time, the first electronic device and the second electronic device preferentially adopt the bluetooth connection to transmit the target sub-object corresponding to the transmission channel.
Wherein, the transmission speed calculated by the target sub-object based on the near field communication connection can be understood as: a transmission speed of the target sub-object based on the near field communication connection; the transmission duration calculated by the target sub-object based on the near field communication connection can be understood as: based on the preset transmission speed of the near field communication connection and the memory occupied by the target sub-object, the transmission duration corresponding to the target sub-object can be calculated.
It should be noted that the transmission speed of the bluetooth-based connection is greater than the transmission speed of the nfc-based connection.
In the embodiment of the application, when the target sub-object does not meet the preset sending condition, it is indicated that the transmission effect of transmitting the target sub-object based on the near field communication connection is poor, at this time, the bluetooth connection needs to be established, and the target sub-object is transmitted based on the bluetooth connection, so that the transmission effect of the target sub-object is improved.
Optionally, when the target object is a folder, the sending, to the second electronic device, a target sub-object included in the target object includes:
and sending target sub-objects to the second electronic equipment, wherein the target sub-objects are all sub-objects included in the folder.
When the target object is a folder, as an optional implementation manner, all the sub-objects included in the target object may not need to be password-matched, and transmission may be completed. That is, all the sub-objects included in the target object are located in the target area, as long as the first electronic device and the second electronic device establish the near field communication connection, the first electronic device may send the target sub-object to the second electronic device.
As another optional implementation manner, at least part of the sub-objects included in the target object need to be subjected to password matching, and the transmission of the at least part of the sub-objects can be completed only when the password is successfully matched with the preset password. For example: referring to fig. 3, one target sub-object (file a) corresponds to a preset password of mm34, and the other target sub-object (video a) corresponds to a preset password of 1i 23.
When the target object includes at least two sub-objects, the target object may also correspond to a preset password, for example: referring to fig. 3, one target sub-object (file a) corresponds to a preset password of mm34, another target sub-object (file b) corresponds to a preset password of 1315, and a target object corresponds to a preset password of 3a7 e. Therefore, when the target object comprises at least two sub-objects, the at least two sub-objects can be transmitted at one time only by matching the password of the target object and under the condition that the password is successfully matched with the preset password.
In the embodiment of the application, since the target object is the folder, all the sub-objects included in the folder can be transmitted at one time, and thus, each sub-object does not need to be transmitted respectively, thereby increasing the transmission speed and simplifying the operation steps.
It should be noted that, in the transmission method provided in the embodiment of the present application, the execution main body may be a transmission device, or a control module in the transmission device for executing a loading transmission method. In the embodiment of the present application, a transmission device is taken as an example to execute a load transmission method, and the transmission method provided in the embodiment of the present application is described.
The first electronic Device and the second electronic Device may be a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
In the embodiment of the application, through steps 101 to 103, the target sub-object is transferred through the near field communication connection, so that the transmission speed of the target sub-object can be increased, and meanwhile, when the target object is located in the target area and the first electronic device and the second electronic device establish the near field communication connection, the target sub-object can be transmitted, so that the operation steps are simplified.
Referring to fig. 6, fig. 6 is a flowchart of another transmission method provided in the embodiment of the present application. The main difference between the present embodiment and the previous embodiment is that it is applied to the second electronic device side. As shown in fig. 6, the method comprises the following steps:
step 601, receiving a password input by a user under the condition of establishing a near field communication connection with a first electronic device.
A password can be input in a password authentication interface of the second electronic device, see fig. 7, and fig. 7 is a schematic diagram of the password authentication interface. And after receiving the password input by the user, the second electronic device can send the password to the first electronic device to match the password with the preset password. After the matching is successful, the target sub-object located in the second area (see the corresponding expression in the embodiment shown in fig. 1 in particular) may be sent to the second electronic device.
It should be noted that the password verification interface may further display prompt information, and the content of the prompt information may be as shown in fig. 7, that is, the password may also be null (the user may input a space on the password verification interface of the second electronic device, which may indicate that the input password is null), and at this time, the first electronic device may send the target sub-object located in the first area to the second electronic device.
Step 602, sending the password to the first electronic device, where the password is used for matching with a preset password stored in the first electronic device.
Step 603, receiving a target sub-object included in a target object sent by the first electronic device under the condition that the password is successfully matched with a preset password stored in the first electronic device, wherein the target sub-object corresponds to the password.
The expressions of step 601, step 602, and step 603 may refer to corresponding expressions in fig. 1, and have the same beneficial technical effects, and are not described herein again in detail.
In the embodiment of the present application, through steps 601 to 603, the transmission speed of the target sub-object can also be increased, the operation steps of transmitting the target sub-object are simplified, and meanwhile, the security of transmitting the target sub-object can also be increased.
Referring to fig. 8, fig. 8 is a structural diagram of a transmission device according to an embodiment of the present application, which can implement details of the transmission method according to the embodiment shown in fig. 1 and achieve the same effects. The transmission apparatus is applied to a first electronic device, and as shown in fig. 8, the transmission apparatus 800 includes:
a first receiving module 801, configured to receive an input of adding a target object to a target area of the first electronic device;
an adding module 802 for adding the target object to the target area in response to the input;
a first sending module 803, configured to send, to a second electronic device, a target sub-object included in the target object when the first electronic device establishes a near field communication connection with the second electronic device.
Optionally, the first sending module 803 includes:
the first receiving submodule is used for receiving the password sent by the second electronic equipment under the condition that the first electronic equipment and the second electronic equipment establish near field communication connection;
and the first sending submodule is used for sending the target sub-object included by the target object to the second electronic equipment under the condition that the password is successfully matched with a preset password.
Optionally, the first sending sub-module is further configured to:
under the condition that the password is successfully matched with a preset password and the transmission times of the target sub-object are smaller than the preset times, the target sub-object is sent to the second electronic equipment;
or sending the target sub-object to the second electronic device under the condition that the password is successfully matched with a preset password and the time that the target sub-object is located in the target area is less than the preset time length.
Optionally, the first sending module 803 includes:
the second sending submodule is used for sending the target sub-object to the second electronic equipment based on the near field communication connection under the condition that the target sub-object meets preset sending conditions; or the like, or, alternatively,
the establishing submodule is used for establishing Bluetooth connection with the second electronic equipment under the condition that the target sub-object does not meet the preset sending condition;
the third sending submodule is used for sending the target sub-object to the second electronic equipment based on the Bluetooth connection under the condition that the first electronic equipment and the second electronic equipment establish the Bluetooth connection;
wherein the preset sending condition comprises at least one of the following: the memory occupied by the target sub-object is smaller than a first threshold value, the transmission speed calculated by the target sub-object based on the near field communication connection is larger than a second threshold value, and the transmission duration calculated by the target sub-object based on the near field communication connection is smaller than a third threshold value.
Optionally, in a case that the target object is a folder, the first sending module 803 is further configured to send a target sub-object to the second electronic device, where the target sub-object is all sub-objects included in the folder.
The transmission device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a kiosk, and the like, and the embodiments of the present application are not particularly limited.
The transmission device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The transmission device provided in the embodiment of the present application can implement each process implemented by the transmission device in the method embodiment of fig. 1, and is not described here again to avoid repetition.
In the embodiment of the application, the transmission speed of the target sub-object can be improved, and the operation steps of target sub-object transmission are simplified.
Referring to fig. 9, fig. 9 is a structural diagram of a transmission device according to an embodiment of the present application, which can implement details of the transmission method according to the embodiment shown in fig. 6 and achieve the same effects. The transmission apparatus is applied to a second electronic device, as shown in fig. 9, the transmission apparatus 900 includes:
a second receiving module 901, configured to receive a password input by a user in a case where a near field communication connection is established with a first electronic device;
a second sending module 902, configured to send the password to the first electronic device, where the password is used to match a preset password stored in the first electronic device;
a third receiving module 903, configured to receive a target sub-object included in a target object sent by the first electronic device under the condition that the password is successfully matched with a preset password stored in the first electronic device, where the target sub-object corresponds to the password.
The transmission device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a kiosk, and the like, and the embodiments of the present application are not particularly limited.
The transmission device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The transmission device provided in the embodiment of the present application can implement each process implemented by the transmission device in the method embodiment of fig. 1, and is not described here again to avoid repetition.
In the embodiment of the application, the transmission speed of the target sub-object can be improved, and the operation steps of target sub-object transmission are simplified.
Fig. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 10 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The user input unit 1007 is used for receiving input of adding a target object to a target area of the first electronic device;
processor 1010 is configured to add the target object to the target area in response to the input;
the radio frequency unit 1001 is configured to send a target sub-object included in the target object to a second electronic device when the first electronic device and the second electronic device establish a near field communication connection.
Optionally, the radio frequency unit 1001 is further configured to receive a password sent by a second electronic device when the first electronic device establishes a near field communication connection with the second electronic device; and under the condition that the password is successfully matched with a preset password, sending a target sub-object included by the target object to the second electronic equipment.
Optionally, the radio frequency unit 1001 is further configured to send the target sub-object to the second electronic device when the password is successfully matched with a preset password and the transmission frequency of the target sub-object is less than a preset frequency; or sending the target sub-object to the second electronic device under the condition that the password is successfully matched with a preset password and the time that the target sub-object is located in the target area is less than the preset time length.
Optionally, the radio frequency unit 1001 is further configured to:
transmitting the target sub-object to the second electronic device based on the near field communication connection under the condition that the target sub-object meets a preset transmission condition; or the like, or, alternatively,
under the condition that the target sub-object does not meet the preset sending condition, establishing Bluetooth connection with the second electronic equipment;
under the condition that the first electronic device establishes Bluetooth connection with the second electronic device, sending the target sub-object to the second electronic device based on the Bluetooth connection;
wherein the preset sending condition comprises at least one of the following: the memory occupied by the target sub-object is smaller than a first threshold value, the transmission speed calculated by the target sub-object based on the near field communication connection is larger than a second threshold value, and the transmission duration calculated by the target sub-object based on the near field communication connection is smaller than a third threshold value.
Optionally, in a case that the target object is a folder, the radio frequency unit 1001 is further configured to send a target sub-object to the second electronic device, where the target sub-object is all sub-objects included in the folder.
Or, the user input unit 1007 is further configured to receive a password input by the user when the near field communication connection is established with the first electronic device;
the radio frequency unit 1001 is further configured to send the password to the first electronic device, where the password is used to match a preset password stored in the first electronic device; and receiving a target sub-object included in a target object sent by the first electronic device under the condition that the password is successfully matched with a preset password stored in the first electronic device, wherein the target sub-object corresponds to the password.
In the embodiment of the application, the transmission speed of the target sub-object can be improved, and the operation steps of target sub-object transmission are simplified.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the foregoing transmission method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the transmission method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (14)

1. A transmission method applied to a first electronic device, the method comprising:
receiving an input to add a target object to a target area of the first electronic device;
in response to the input, adding the target object to the target area;
and under the condition that the first electronic equipment establishes near field communication connection with second electronic equipment, sending a target sub-object included by the target object to the second electronic equipment.
2. The method of claim 1, wherein the sending the target sub-object included in the target object to the second electronic device in a case where the first electronic device establishes a near field communication connection with the second electronic device comprises:
under the condition that the first electronic equipment and second electronic equipment establish near field communication connection, receiving a password sent by the second electronic equipment;
and under the condition that the password is successfully matched with a preset password, sending a target sub-object included by the target object to the second electronic equipment.
3. The method according to claim 2, wherein the sending the target sub-object included in the target object to the second electronic device if the password is successfully matched with a preset password comprises:
under the condition that the password is successfully matched with a preset password and the transmission times of the target sub-object are smaller than the preset times, the target sub-object is sent to the second electronic equipment;
or sending the target sub-object to the second electronic device under the condition that the password is successfully matched with a preset password and the time that the target sub-object is located in the target area is less than the preset time length.
4. The method of claim 1, wherein the sending the target sub-object included in the target object to the second electronic device comprises:
transmitting the target sub-object to the second electronic device based on the near field communication connection under the condition that the target sub-object meets a preset transmission condition; or the like, or, alternatively,
under the condition that the target sub-object does not meet the preset sending condition, establishing Bluetooth connection with the second electronic equipment;
under the condition that the first electronic device establishes Bluetooth connection with the second electronic device, sending the target sub-object to the second electronic device based on the Bluetooth connection;
wherein the preset sending condition comprises at least one of the following: the memory occupied by the target sub-object is smaller than a first threshold value, the transmission speed calculated by the target sub-object based on the near field communication connection is larger than a second threshold value, and the transmission duration calculated by the target sub-object based on the near field communication connection is smaller than a third threshold value.
5. The method of claim 1, wherein, in the case that the target object is a folder, the sending, to the second electronic device, a target sub-object included in the target object comprises:
and sending target sub-objects to the second electronic equipment, wherein the target sub-objects are all sub-objects included in the folder.
6. A transmission method applied to a second electronic device, the method comprising:
receiving a password input by a user under the condition of establishing a near field communication connection with a first electronic device;
sending the password to the first electronic device, wherein the password is used for matching with a preset password stored in the first electronic device;
and receiving a target sub-object included in a target object sent by the first electronic device under the condition that the password is successfully matched with a preset password stored in the first electronic device, wherein the target sub-object corresponds to the password.
7. A transmission device, applied to a first electronic device, the transmission device comprising:
a first receiving module for receiving an input of adding a target object to a target area of the first electronic device;
an adding module for adding the target object to the target area in response to the input;
the first sending module is used for sending the target sub-object included by the target object to the second electronic equipment under the condition that the first electronic equipment and the second electronic equipment establish near field communication connection.
8. The apparatus of claim 7, wherein the first sending module comprises:
the first receiving submodule is used for receiving the password sent by the second electronic equipment under the condition that the first electronic equipment and the second electronic equipment establish near field communication connection;
and the first sending submodule is used for sending the target sub-object included by the target object to the second electronic equipment under the condition that the password is successfully matched with a preset password.
9. The apparatus of claim 8, wherein the first sending submodule is further configured to:
under the condition that the password is successfully matched with a preset password and the transmission times of the target sub-object are smaller than the preset times, the target sub-object is sent to the second electronic equipment;
or sending the target sub-object to the second electronic device under the condition that the password is successfully matched with a preset password and the time that the target sub-object is located in the target area is less than the preset time length.
10. The apparatus of claim 7, wherein the first sending module comprises:
the second sending submodule is used for sending the target sub-object to the second electronic equipment based on the near field communication connection under the condition that the target sub-object meets preset sending conditions; or the like, or, alternatively,
the establishing submodule is used for establishing Bluetooth connection with the second electronic equipment under the condition that the target sub-object does not meet the preset sending condition;
the third sending submodule is used for sending the target sub-object to the second electronic equipment based on the Bluetooth connection under the condition that the first electronic equipment and the second electronic equipment establish the Bluetooth connection;
wherein the preset sending condition comprises at least one of the following: the memory occupied by the target sub-object is smaller than a first threshold value, the transmission speed calculated by the target sub-object based on the near field communication connection is larger than a second threshold value, and the transmission duration calculated by the target sub-object based on the near field communication connection is smaller than a third threshold value.
11. The apparatus of claim 7, wherein, in the case that the target object is a folder, the first sending module is further configured to send a target sub-object to the second electronic device, where the target sub-object is all sub-objects included in the folder.
12. A transmission apparatus, applied to a second electronic device, the transmission apparatus comprising:
the second receiving module is used for receiving the password input by the user under the condition of establishing the near field communication connection with the first electronic equipment;
the second sending module is used for sending the password to the first electronic equipment, wherein the password is used for being matched with a preset password stored in the first electronic equipment;
and a third receiving module, configured to receive a target sub-object included in a target object sent by the first electronic device under the condition that the password is successfully matched with a preset password stored in the first electronic device, where the target sub-object corresponds to the password.
13. An electronic device, comprising: processor, memory and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the transmission method according to any one of claims 1 to 5, or the program or instructions, when executed by the processor, implementing the steps of the transmission method according to claim 6.
14. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the transmission method according to any one of claims 1 to 5, or which, when executed by a processor, implement the steps of the transmission method according to claim 6.
CN202010363394.2A 2020-04-30 2020-04-30 Transmission method and electronic equipment Active CN111565382B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010363394.2A CN111565382B (en) 2020-04-30 2020-04-30 Transmission method and electronic equipment
PCT/CN2021/089251 WO2021218801A1 (en) 2020-04-30 2021-04-23 Transmission methods and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010363394.2A CN111565382B (en) 2020-04-30 2020-04-30 Transmission method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111565382A true CN111565382A (en) 2020-08-21
CN111565382B CN111565382B (en) 2023-10-27

Family

ID=72074567

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010363394.2A Active CN111565382B (en) 2020-04-30 2020-04-30 Transmission method and electronic equipment

Country Status (2)

Country Link
CN (1) CN111565382B (en)
WO (1) WO2021218801A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021218801A1 (en) * 2020-04-30 2021-11-04 维沃移动通信有限公司 Transmission methods and electronic device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009141773A2 (en) * 2008-05-21 2009-11-26 Nxp B.V. Method and device for encrypted active near field communication
CN101815267A (en) * 2010-03-05 2010-08-25 惠州Tcl移动通信有限公司 Method for encrypting short message of mobile communication terminal
CN103176725A (en) * 2011-12-21 2013-06-26 富泰华工业(深圳)有限公司 File operation system and file operation method
CN103455761A (en) * 2012-05-28 2013-12-18 联想(北京)有限公司 File encryption and decryption method and device and electronic device
CN103747102A (en) * 2014-01-24 2014-04-23 宇龙计算机通信科技(深圳)有限公司 File transfer method and device
US20140120840A1 (en) * 2012-08-14 2014-05-01 Huawei Device Co., Ltd. Data transmission method and apparatus, and terminal with touch screen
CN108811177A (en) * 2018-05-29 2018-11-13 维沃移动通信有限公司 A kind of communication means and terminal
CN110536479A (en) * 2019-08-28 2019-12-03 维沃移动通信有限公司 Object transmission method and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103200300B (en) * 2012-01-10 2016-02-10 宇龙计算机通信科技(深圳)有限公司 Terminal and resource sharing method
CN103595775B (en) * 2013-11-04 2018-01-19 惠州Tcl移动通信有限公司 The sharing method and system of media file
CN106528302A (en) * 2016-10-18 2017-03-22 广州视睿电子科技有限公司 File sharing method and apparatus for multi-system integrated machine
CN111565382B (en) * 2020-04-30 2023-10-27 维沃移动通信有限公司 Transmission method and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009141773A2 (en) * 2008-05-21 2009-11-26 Nxp B.V. Method and device for encrypted active near field communication
CN101815267A (en) * 2010-03-05 2010-08-25 惠州Tcl移动通信有限公司 Method for encrypting short message of mobile communication terminal
CN103176725A (en) * 2011-12-21 2013-06-26 富泰华工业(深圳)有限公司 File operation system and file operation method
CN103455761A (en) * 2012-05-28 2013-12-18 联想(北京)有限公司 File encryption and decryption method and device and electronic device
US20140120840A1 (en) * 2012-08-14 2014-05-01 Huawei Device Co., Ltd. Data transmission method and apparatus, and terminal with touch screen
CN103747102A (en) * 2014-01-24 2014-04-23 宇龙计算机通信科技(深圳)有限公司 File transfer method and device
CN108811177A (en) * 2018-05-29 2018-11-13 维沃移动通信有限公司 A kind of communication means and terminal
CN110536479A (en) * 2019-08-28 2019-12-03 维沃移动通信有限公司 Object transmission method and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021218801A1 (en) * 2020-04-30 2021-11-04 维沃移动通信有限公司 Transmission methods and electronic device

Also Published As

Publication number Publication date
WO2021218801A1 (en) 2021-11-04
CN111565382B (en) 2023-10-27

Similar Documents

Publication Publication Date Title
US9705887B2 (en) Remote processsing of mobile applications
CN106534277B (en) Data sharing method and device
WO2015101273A1 (en) Security verification method, and related device and system
CN111880870A (en) Method and device for controlling electronic equipment and electronic equipment
CN110417543B (en) Data encryption method, device and storage medium
CN113259301B (en) Account data sharing method and electronic equipment
CN112769856B (en) Application account sharing method and device and electronic equipment
EP2696603A2 (en) Apparatus and method for communicating data in mobile device having near field communication module
WO2022012614A1 (en) Data processing method and apparatus, and electronic device
CN106778295B (en) File storage method, file display method, file storage device, file display device and terminal
CN111866885A (en) Verification information sharing method and device and electronic equipment
CN113676395B (en) Information processing method, related device and readable storage medium
US20240089223A1 (en) Information display method and apparatus, and electronic device
CN111565382A (en) Transmission method and electronic device
CN113194450A (en) Bluetooth device management method and device
CN112637195B (en) Method and device for controlling electronic equipment and electronic equipment
CN112969147B (en) Call method and device
CN105376399A (en) A method and a device for controlling a smart device
CN112558833B (en) Application running method and device and electronic equipment
CN111444539B (en) Authority processing method and device, storage medium and terminal
CN106778297B (en) Application program running method and device and mobile terminal
CN111414631A (en) Information processing method and electronic equipment
CN117238066B (en) Unlocking method, passive electronic lock, electronic device and storage medium
KR102261789B1 (en) Smishing message monitoring method and smishing level determination method
KR20120087278A (en) Apparatus and mathod for processing query in portable terminal for social network

Legal Events

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