技术领域Technical field
本发明涉及计算机技术领域,尤其涉及一种文件传输方法、装置、存储介质以及终端。The present invention relates to the field of computer technology, and in particular, to a file transmission method, device, storage medium and terminal.
背景技术Background technique
随着手机、平板电脑等电子设备越来越深入到日常生活中,无线传输技术也越来越普及,用户与用户之间可以通过蓝牙、WiFi(wireless fidelity,无线保真)、NFC(NearField Communication,近距离无线通讯技术)等装置实现近距离的文件传输或者远程的文件传输。相关技术中,这些文件传输方式都需要用户在电子设备亮屏的时候进行操作,导致用户的隐私以及文件的安全性没有得到保护。As mobile phones, tablets and other electronic devices become more and more integrated into daily life, wireless transmission technology is becoming more and more popular. Users can communicate with each other through Bluetooth, WiFi (wireless fidelity), NFC (NearField Communication) , short-range wireless communication technology) and other devices realize short-range file transmission or remote file transmission. In related technologies, these file transfer methods require the user to operate when the screen of the electronic device is turned on, resulting in the user's privacy and file security not being protected.
发明内容Contents of the invention
本申请实施例提供了一种文件传输方法、装置、计算机存储介质以及终端,旨在解决相关技术中在文件传输的过程中,用户的隐私以及文件的安全性没有得到保护的技术问题。所述技术方案如下:Embodiments of the present application provide a file transmission method, device, computer storage medium, and terminal, aiming to solve the technical problem in related technologies that user privacy and file security are not protected during file transmission. The technical solutions are as follows:
第一方面,本申请实施例提供了一种文件传输方法,所述方法包括:In a first aspect, embodiments of the present application provide a file transmission method, which method includes:
在熄屏状态下,第一终端和第二终端完成配对后,所述第一终端和所述第二终端建立无线连接;In the screen-off state, after the first terminal and the second terminal complete pairing, the first terminal and the second terminal establish a wireless connection;
所述第一终端检测到第一文件操作时,确定所述第一文件操作选择的目标文件;When the first terminal detects a first file operation, determine the target file selected by the first file operation;
所述第一终端通过振动单元输出与所述目标文件关联的第一振动提示;The first terminal outputs a first vibration prompt associated with the target file through a vibration unit;
所述第一终端检测到第二文件操作时,通过所述无线连接向所述第二终端发送所述目标文件。When the first terminal detects a second file operation, it sends the target file to the second terminal through the wireless connection.
第二方面,本申请实施例提供了一种文件传输方法,所述方法包括:In a second aspect, embodiments of the present application provide a file transmission method, which method includes:
在熄屏状态下,所述第二终端和所述第一终端完成配对后,所述第二终端和所述第一终端建立所述无线连接;In the screen-off state, after the second terminal and the first terminal complete pairing, the second terminal and the first terminal establish the wireless connection;
所述第二终端接收所述第一终端通过所述无线连接发送的所述目标文件,The second terminal receives the target file sent by the first terminal through the wireless connection,
在完成所述目标文件的传输时,通过所述振动单元输出第三振动提示;其中,所述第三振动提示用于提醒所述用户所述目标文件接收成功。When the transmission of the target file is completed, a third vibration prompt is output through the vibration unit; wherein the third vibration prompt is used to remind the user that the target file has been received successfully.
第三方面,本申请实施例提供了一种文件传输装置,所述装置包括:In a third aspect, embodiments of the present application provide a file transmission device, which includes:
无线连接模块,用于在熄屏状态下,第一终端和第二终端完成配对后,所述第一终端和所述第二终端建立无线连接;A wireless connection module, configured to establish a wireless connection between the first terminal and the second terminal after the first terminal and the second terminal complete pairing in the screen-off state;
文件选择模块,用于所述第一终端检测到第一文件操作时,确定所述第一文件操作选择的目标文件;A file selection module configured to determine the target file selected by the first file operation when the first terminal detects the first file operation;
第一提示模块,用于所述第一终端通过振动单元输出与所述目标文件关联的第一振动提示;A first prompt module, configured for the first terminal to output a first vibration prompt associated with the target file through a vibration unit;
文件发送模块,用于所述第一终端检测到第二文件操作时,通过所述无线连接向所述第二终端发送所述目标文件。A file sending module, configured to send the target file to the second terminal through the wireless connection when the first terminal detects a second file operation.
第四方面,本申请实施例提供了一种文件传输装置,所述装置包括:In a fourth aspect, embodiments of the present application provide a file transmission device, which includes:
无线连接模块,用于在熄屏状态下,所述第二终端和所述第一终端完成配对后,所述第二终端和所述第一终端建立所述无线连接;A wireless connection module, configured to establish the wireless connection between the second terminal and the first terminal after the second terminal and the first terminal complete pairing in the screen-off state;
文件接收模块,用于所述第二终端接收所述第一终端通过所述无线连接发送的所述目标文件;A file receiving module, configured for the second terminal to receive the target file sent by the first terminal through the wireless connection;
第二提示模块,用于在完成所述目标文件的传输时,通过所述振动单元输出第三振动提示;其中,所述第三振动提示用于提醒所述用户所述目标文件接收成功。The second prompt module is configured to output a third vibration prompt through the vibration unit when the transmission of the target file is completed; wherein the third vibration prompt is used to remind the user that the target file has been received successfully.
第五方面,本申请实施例提供了一种计算机存储介质,所述计算机存储介质有多条指令,所述指令适于由处理器加载并执行上述的方法步骤。In a fifth aspect, embodiments of the present application provide a computer storage medium. The computer storage medium has a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the above method steps.
第六方面,本申请实施例提供了一种终端,可包括:存储器和处理器;其中,所述存储器存储有计算机程序,所述计算机程序适于由所述存储器加载并执行上述的方法步骤。In a sixth aspect, embodiments of the present application provide a terminal, which may include: a memory and a processor; wherein the memory stores a computer program, and the computer program is adapted to be loaded by the memory and execute the above method steps.
本申请实施例提供的技术方案带来的有益效果至少包括:The beneficial effects brought by the technical solutions provided by the embodiments of this application at least include:
本申请实施例的方案在执行时,在熄屏状态下,第一终端和第二终端完成配对后,第一终端和第二终端建立无线连接,第一终端检测到用户执行的第一文件操作时,确定第一文件操作选择的目标文件,第一终端通过振动单元输出与目标文件关联的第一振动提示,在第一终端检测到用户执行的第二文件操作时,通过无线连接向第二终端发送目标文件。本申请通过终端在熄屏状态下,根据用户的操作开启秘密传输功能,通过振动单元输出振动提示提醒用户目标文件的选择以及目标文件的传输情况,保护了用户的隐私,增强了文件安全性。When the solution of the embodiment of the present application is executed, in the screen-off state, after the first terminal and the second terminal complete pairing, the first terminal and the second terminal establish a wireless connection, and the first terminal detects the first file operation performed by the user. When the target file selected by the first file operation is determined, the first terminal outputs a first vibration prompt associated with the target file through the vibration unit, and when the first terminal detects the second file operation performed by the user, the first terminal sends a message to the second file through the wireless connection. The terminal sends the target file. This application turns on the secret transmission function according to the user's operation when the terminal is in a screen-off state, and outputs vibration prompts through the vibration unit to remind the user of the selection of the target file and the transmission status of the target file, thus protecting the user's privacy and enhancing file security.
附图说明Description of the drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are only These are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without exerting creative efforts.
图1是本申请实施例提供的终端的结构示意图;Figure 1 is a schematic structural diagram of a terminal provided by an embodiment of the present application;
图2是本申请实施例提供的操作系统和用户空间的结构示意图;Figure 2 is a schematic structural diagram of the operating system and user space provided by the embodiment of the present application;
图3是图1中安卓操作系统的架构图;Figure 3 is the architecture diagram of the Android operating system in Figure 1;
图4是图1中IOS操作系统的架构图;Figure 4 is the architecture diagram of the IOS operating system in Figure 1;
图5是本申请实施例提供的一种文件传输方法的流程示意图;Figure 5 is a schematic flowchart of a file transmission method provided by an embodiment of the present application;
图6是本申请实施例提供的另一种文件传输方法的流程示意图;Figure 6 is a schematic flowchart of another file transmission method provided by an embodiment of the present application;
图7是本申请实施例提供的又一种文件传输方法的流程示意图;Figure 7 is a schematic flow chart of yet another file transmission method provided by an embodiment of the present application;
图8是本申请实施例提供的再一种文件传输方法的流程示意图;Figure 8 is a schematic flowchart of yet another file transmission method provided by an embodiment of the present application;
图9是本申请实施例提供的一种文件传输装置的结构示意图;Figure 9 is a schematic structural diagram of a file transmission device provided by an embodiment of the present application;
图10是本申请实施例提供的一种文件传输装置的结构示意图。Figure 10 is a schematic structural diagram of a file transmission device provided by an embodiment of the present application.
具体实施方式Detailed ways
为使得本申请实施例的发明目的、特征、优点能够更加的明显和易懂,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而非全部实施例。基于本申请中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, features, and advantages of the invention in the embodiments of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, The described embodiments are only some, but not all, of the embodiments of the present application. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative efforts shall fall within the scope of protection of this application.
下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。When the following description refers to the drawings, the same numbers in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.
在本申请的描述中,需要理解的是,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本申请中的具体含义。In the description of the present application, it should be understood that the terms "first", "second", etc. are used for descriptive purposes only and shall not be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood on a case-by-case basis.
请参见图1,其示出了本申请一个示例性实施例提供的终端的结构方框图。本申请中的终端可以包括一个或多个如下部件:处理器110、存储器120、输入装置130、输出装置140和总线150。处理器110、存储器120、输入装置130和输出装置140之间可以通过总线150连接。Please refer to Figure 1, which shows a structural block diagram of a terminal provided by an exemplary embodiment of the present application. The terminal in this application may include one or more of the following components: a processor 110, a memory 120, an input device 130, an output device 140, and a bus 150. The processor 110, the memory 120, the input device 130 and the output device 140 may be connected through a bus 150.
处理器110可以包括一个或者多个处理核心。处理器110利用各种接口和线路连接整个终端内的各个部分,通过运行或执行存储在存储器120内的指令、程序、代码集或指令集,以及调用存储在存储器120内的数据,执行终端的各种功能和处理数据。可选地,处理器110可以采用数字信号处理(digital signal processing,DSP)、现场可编程门阵列(field-programmable gate array,FPGA)、可编程逻辑阵列(programmable logicArray,PLA)中的至少一种硬件形式来实现。处理器110可集成中央处理器(centralprocessing unit,CPU)、图像处理器(graphics processing unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器110中,单独通过一块通信芯片进行实现。Processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire terminal, and executes the terminal by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Various functions and processing data. Optionally, the processor 110 may adopt at least one of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). implemented in hardware form. The processor 110 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a modem, etc. Among them, the CPU mainly handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the display content; and the modem is used to handle wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 110 and may be implemented solely through a communication chip.
存储器120可以包括随机存储器(randomAccess Memory,RAM),也可以包括只读存储器(read-onlymemory,ROM)。可选地,该存储器120包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器120可用于存储指令、程序、代码、代码集或指令集。存储器120可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等,该操作系统可以是安卓(Android)系统(包括基于Android系统深度开发的系统)、苹果公司开发的IOS系统(包括基于IOS系统深度开发的系统)或其它系统。存储数据区还可以存储终端在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。The memory 120 may include random access memory (RAM) or read-only memory (read-only memory, ROM). Optionally, the memory 120 includes non-transitory computer-readable storage medium. Memory 120 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 120 may include a program storage area and a data storage area, where the program storage area may store instructions for implementing an operating system and instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing each of the following method embodiments, etc., the operating system can be an Android system (including a system developed in depth based on the Android system), an IOS system developed by Apple (including a system developed in depth based on the IOS system) ) or other systems. The storage data area can also store data created during use of the terminal (such as phone book, audio and video data, chat record data), etc.
参见图2所示,存储器120可分为操作系统空间和用户空间,操作系统即运行于操作系统空间,原生及第三方应用程序即运行于用户空间。为了保证不同第三方应用程序均能够达到较好的运行效果,操作系统针对不同第三方应用程序为其分配相应的系统资源。然而,同一第三方应用程序中不同应用场景对系统资源的需求也存在差异,比如,在本地资源加载场景下,第三方应用程序对磁盘读取速度的要求较高;在动画渲染场景下,第三方应用程序则对GPU性能的要求较高。而操作系统与第三方应用程序之间相互独立,操作系统往往不能及时感知第三方应用程序当前的应用场景,导致操作系统无法根据第三方应用程序的具体应用场景进行针对性的系统资源适配。As shown in FIG. 2 , the memory 120 can be divided into operating system space and user space. The operating system runs in the operating system space, and native and third-party applications run in the user space. In order to ensure that different third-party applications can achieve better operating results, the operating system allocates corresponding system resources to different third-party applications. However, different application scenarios in the same third-party application also have different requirements for system resources. For example, in the local resource loading scenario, the third-party application has higher requirements for disk reading speed; in the animation rendering scenario, the Third-party applications have higher requirements for GPU performance. The operating system and third-party applications are independent of each other, and the operating system is often unable to detect the current application scenarios of third-party applications in a timely manner, resulting in the operating system being unable to perform targeted system resource adaptation according to the specific application scenarios of third-party applications.
为了使操作系统能够区分第三方应用程序的具体应用场景,需要打通第三方应用程序与操作系统之间的数据通信,使得操作系统能够随时获取第三方应用程序当前的场景信息,进而基于当前场景进行针对性的系统资源适配。In order for the operating system to distinguish the specific application scenarios of third-party applications, it is necessary to open up data communication between the third-party applications and the operating system, so that the operating system can obtain the current scenario information of the third-party applications at any time, and then perform operations based on the current scenario. Targeted system resource adaptation.
以操作系统为Android系统为例,存储器120中存储的程序和数据如图3所示,存储器120中可存储有Linux内核层320、系统运行时库层340、应用框架层360和应用层380,其中,Linux内核层320、系统运行库层340和应用框架层360属于操作系统空间,应用层380属于用户空间。Linux内核层320为终端的各种硬件提供了底层的驱动,如显示驱动、音频驱动、摄像头驱动、蓝牙驱动、Wi-Fi驱动、电源管理等。系统运行库层340通过一些C/C++库来为Android系统提供了主要的特性支持。如SQLite库提供了数据库的支持,OpenGL/ES库提供了3D绘图的支持,Webkit库提供了浏览器内核的支持等。在系统运行时库层340中还提供有安卓运行时库(Androidruntime),它主要提供了一些核心库,能够允许开发者使用Java语言来编写Android应用。应用框架层360提供了构建应用程序时可能用到的各种API,开发者也可以通过使用这些API来构建自己的应用程序,比如活动管理、窗口管理、视图管理、通知管理、内容提供者、包管理、通话管理、资源管理、定位管理。应用层380中运行有至少一个应用程序,这些应用程序可以是操作系统自带的原生应用程序,比如联系人程序、短信程序、时钟程序、相机应用等;也可以是第三方开发者所开发的第三方应用程序,比如游戏类应用程序、即时通信程序、相片美化程序、购物程序等。Taking the operating system as an Android system as an example, the programs and data stored in the memory 120 are shown in Figure 3. The memory 120 can store a Linux kernel layer 320, a system runtime library layer 340, an application framework layer 360 and an application layer 380. Among them, the Linux kernel layer 320, the system runtime layer 340 and the application framework layer 360 belong to the operating system space, and the application layer 380 belongs to the user space. The Linux kernel layer 320 provides underlying drivers for various terminal hardware, such as display drivers, audio drivers, camera drivers, Bluetooth drivers, Wi-Fi drivers, power management, etc. The system runtime library layer 340 provides main feature support for the Android system through some C/C++ libraries. For example, the SQLite library provides database support, the OpenGL/ES library provides 3D drawing support, and the Webkit library provides browser kernel support, etc. The system runtime library layer 340 also provides an Android runtime library (Androidruntime), which mainly provides some core libraries and allows developers to write Android applications using Java language. The application framework layer 360 provides various APIs that may be used when building applications. Developers can also use these APIs to build their own applications, such as activity management, window management, view management, notification management, content providers, Package management, call management, resource management, positioning management. At least one application program runs in the application layer 380. These applications can be native applications that come with the operating system, such as contact programs, SMS programs, clock programs, camera applications, etc.; they can also be developed by third-party developers. Third-party applications, such as game applications, instant messaging programs, photo beautification programs, shopping programs, etc.
以操作系统为IOS系统为例,存储器120中存储的程序和数据如图4所示,IOS系统包括:核心操作系统层420(Core OS layer)、核心服务层440(Core Services layer)、媒体层460(Media layer)、可触摸层480(CocoaTouch Layer)。核心操作系统层420包括了操作系统内核、驱动程序以及底层程序框架,这些底层程序框架提供更接近硬件的功能,以供位于核心服务层440的程序框架所使用。核心服务层440提供给应用程序所需要的系统服务和/或程序框架,比如基础(Foundation)框架、账户框架、广告框架、数据存储框架、网络连接框架、地理位置框架、运动框架等等。媒体层460为应用程序提供有关视听方面的接口,如图形图像相关的接口、音频技术相关的接口、视频技术相关的接口、音视频传输技术的无线播放(AirPlay)接口等。可触摸层480为应用程序开发提供了各种常用的界面相关的框架,可触摸层480负责用户在终端上的触摸交互操作。比如本地通知服务、远程推送服务、广告框架、游戏工具框架、消息用户界面接口(User Interface,UI)框架、用户界面UIKit框架、地图框架等等。Taking the operating system as an IOS system as an example, the programs and data stored in the memory 120 are shown in Figure 4. The IOS system includes: a core operating system layer 420 (Core OS layer), a core service layer 440 (Core Services layer), and a media layer. 460 (Media layer), touchable layer 480 (CocoaTouch Layer). The core operating system layer 420 includes the operating system kernel, drivers and underlying program frameworks. These underlying program frameworks provide functions closer to hardware for use by the program framework located in the core service layer 440 . The core service layer 440 provides system services and/or program frameworks required by applications, such as foundation framework, account framework, advertising framework, data storage framework, network connection framework, geographical location framework, sports framework, etc. The media layer 460 provides audio-visual interfaces for applications, such as interfaces related to graphics and images, interfaces related to audio technology, interfaces related to video technology, wireless playback (AirPlay) interfaces of audio and video transmission technology, etc. The touchable layer 480 provides various commonly used interface-related frameworks for application development. The touchable layer 480 is responsible for the user's touch interaction operations on the terminal. For example, local notification service, remote push service, advertising framework, game tool framework, message user interface interface (User Interface, UI) framework, user interface UIKit framework, map framework, etc.
在图4所示出的框架中,与大部分应用程序有关的框架包括但不限于:核心服务层440中的基础框架和可触摸层480中的UIKit框架。基础框架提供许多基本的对象类和数据类型,为所有应用程序提供最基本的系统服务,和UI无关。而UIKit框架提供的类是基础的UI类库,用于创建基于触摸的用户界面,iOS应用程序可以基于UIKit框架来提供UI,所以它提供了应用程序的基础架构,用于构建用户界面,绘图、处理和用户交互事件,响应手势等等。In the framework shown in FIG. 4 , frameworks related to most applications include but are not limited to: the basic framework in the core service layer 440 and the UIKit framework in the touchable layer 480 . The basic framework provides many basic object classes and data types, providing the most basic system services for all applications, regardless of the UI. The classes provided by the UIKit framework are basic UI class libraries, used to create touch-based user interfaces. iOS applications can provide UI based on the UIKit framework, so it provides the application infrastructure for building user interfaces, drawing , handle user interaction events, respond to gestures, etc.
其中,在IOS系统中实现第三方应用程序与操作系统数据通信的方式以及原理可参考Android系统,本申请在此不再赘述。Among them, the method and principle of realizing data communication between third-party applications and the operating system in the IOS system can be referred to the Android system, which will not be described in detail here in this application.
其中,输入装置130用于接收输入的指令或数据,输入装置130包括但不限于键盘、鼠标、摄像头、麦克风或触控设备。输出装置140用于输出指令或数据,输出装置140包括但不限于显示设备和扬声器等。在一个示例中,输入装置130和输出装置140可以合设,输入装置130和输出装置140为触摸显示屏,该触摸显示屏用于接收用户使用手指、触摸笔等任何适合的物体在其上或附近的触摸操作,以及显示各个应用程序的用户界面。触摸显示屏通常设置在终端的前面板。触摸显示屏可被设计成为全面屏、曲面屏或异型屏。触摸显示屏还可被设计成为全面屏与曲面屏的结合,异型屏与曲面屏的结合,本申请实施例对此不加以限定。The input device 130 is used to receive input instructions or data, and the input device 130 includes but is not limited to a keyboard, a mouse, a camera, a microphone, or a touch device. The output device 140 is used to output instructions or data, and the output device 140 includes but is not limited to a display device and a speaker. In one example, the input device 130 and the output device 140 may be co-located. The input device 130 and the output device 140 may be a touch display screen. The touch display screen is used to receive the user's finger, touch pen, or any other suitable object on the touch screen or the touch screen. Nearby touch operations, as well as displaying the user interface of individual applications. The touch screen display is usually provided on the front panel of the terminal. Touch display screens can be designed as full screens, curved screens or special-shaped screens. The touch display screen can also be designed as a combination of a full screen and a curved screen, or a combination of a special-shaped screen and a curved screen, which are not limited in the embodiments of the present application.
除此之外,本领域技术人员可以理解,上述附图所示出的终端的结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。比如,终端中还包括射频电路、输入单元、传感器、音频电路、无线保真模块、电源、蓝牙模块等部件,在此不再赘述。In addition, those skilled in the art can understand that the structure of the terminal shown in the above drawings does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown in the figures, or combine certain components. Or a different component arrangement. For example, the terminal also includes radio frequency circuits, input units, sensors, audio circuits, wireless fidelity modules, power supplies, Bluetooth modules and other components, which will not be described in detail here.
在本申请实施例中,各步骤的执行主体可以是上文介绍的终端。可选地,各步骤的执行主体为终端的操作系统。操作系统可以是安卓系统,也可以是IOS系统,或者其它操作系统,本申请实施例对此不作限定。In this embodiment of the present application, the execution subject of each step may be the terminal introduced above. Optionally, the execution subject of each step is the operating system of the terminal. The operating system may be an Android system, an IOS system, or other operating systems, which are not limited in the embodiments of this application.
本申请实施例的终端,其上还可以安装有显示设备,显示设备可以是各种能实现显示功能的设备,例如:阴极射线管显示器(cathode ray tubedisplay,简称CR)、发光二极管显示器(light-emitting diode display,简称LED)、电子墨水屏、液晶显示屏(liquidcrystal display,简称LCD)、等离子显示面板(plasma displaypanel,简称PDP)等。用户可以利用终端101上的显示设备,来查看显示的文字、图像、视频等信息。所述终端可以是智能手机、平板电脑、游戏设备、AR(Augmented Reality,增强现实)设备、汽车、数据存储装置、音频播放装置、视频播放装置、笔记本、桌面计算设备、可穿戴设备诸如电子手表、电子眼镜、电子头盔、电子手链、电子项链、电子衣物等设备。The terminal in the embodiment of the present application can also be equipped with a display device. The display device can be various devices that can realize display functions, such as: cathode ray tube display (cathode ray tube display, CR for short), light-emitting diode display (light-emitting diode display) emitting diode display (LED for short), electronic ink screen, liquid crystal display (LCD for short), plasma display panel (PDP for short), etc. The user can use the display device on the terminal 101 to view displayed text, images, videos and other information. The terminal may be a smartphone, a tablet computer, a game device, an AR (Augmented Reality, augmented reality) device, a car, a data storage device, an audio playback device, a video playback device, a notebook, a desktop computing device, a wearable device such as an electronic watch , electronic glasses, electronic helmets, electronic bracelets, electronic necklaces, electronic clothing and other equipment.
在图1所示的终端中,处理器110可以用于调用存储器120中存储的应用程序,并具体执行本申请实施例的文件传输方法。In the terminal shown in FIG. 1 , the processor 110 may be configured to call an application program stored in the memory 120 and specifically execute the file transmission method according to the embodiment of the present application.
本申请实施例的方案在执行时,在熄屏状态下,第一终端和第二终端完成配对后,第一终端和第二终端建立无线连接,第一终端检测到用户执行的第一文件操作时,确定第一文件操作选择的目标文件,第一终端通过振动单元输出与目标文件关联的第一振动提示,在第一终端检测到用户执行的第二文件操作时,通过无线连接向第二终端发送目标文件。本申请通过终端在熄屏状态下,根据用户的操作开启秘密传输功能,通过振动单元输出振动提示提醒用户目标文件的选择以及目标文件的传输情况,保护了用户的隐私,增强了文件安全性。When the solution of the embodiment of the present application is executed, in the screen-off state, after the first terminal and the second terminal complete pairing, the first terminal and the second terminal establish a wireless connection, and the first terminal detects the first file operation performed by the user. When the target file selected by the first file operation is determined, the first terminal outputs a first vibration prompt associated with the target file through the vibration unit, and when the first terminal detects the second file operation performed by the user, the first terminal sends a message to the second file through the wireless connection. The terminal sends the target file. This application turns on the secret transmission function according to the user's operation when the terminal is in a screen-off state, and outputs vibration prompts through the vibration unit to remind the user of the selection of the target file and the transmission status of the target file, thus protecting the user's privacy and enhancing file security.
在下述方法实施例中,为了便于说明,仅以各步骤的执行主体为终端进行介绍说明。In the following method embodiments, for convenience of explanation, only the execution subject of each step is a terminal.
请参见图5,为本申请实施例提供的一种文件传输方法的流程示意图。如图5所示,本申请实施例的所述方法可以包括以下步骤:Please refer to Figure 5, which is a schematic flow chart of a file transmission method provided by an embodiment of the present application. As shown in Figure 5, the method according to the embodiment of the present application may include the following steps:
S501,在熄屏状态下,第一终端和第二终端完成配对后,第一终端和第二终端建立无线连接。S501. In the screen-off state, after the first terminal and the second terminal complete pairing, the first terminal and the second terminal establish a wireless connection.
其中,熄屏状态是终端未点亮屏幕的状态,第一终端是文件传输过程中发送文件的发送终端,第二终端是文件传输过程中接收文件的接收终端,无线连接包括蓝牙连接和WiFi(Wireless Fidelity,无线保真)热点连接。Among them, the screen-off state is the state in which the screen of the terminal is not lit. The first terminal is the sending terminal that sends files during the file transfer process. The second terminal is the receiving terminal that receives files during the file transfer process. The wireless connection includes Bluetooth connection and WiFi ( Wireless Fidelity, wireless fidelity) hotspot connection.
一般的,在第一终端和第二终端的显示屏都处于未点亮状态,第一终端检测到配对操作时,判断是否接收到用户开启秘密传输功能的触发操作,在接收到该触发操作时,第一终端通过振动单元输出第二振动提示,该第二振动提示用于提醒用户已开启秘密传输功能。在秘密传输功能开启之后,第一终端向第第二终端发送配对请求,第二终端接收到该配对请求,向第一终端发送响应于该配对请求的配对响应,并且该配对响应中携带第二终端的操作类型信息,在该操作类型信息为配对信息时,则表示第一终端和第二终端完成配对,建立无线连接。Generally, when the display screens of the first terminal and the second terminal are both in an unlit state, when the first terminal detects the pairing operation, it determines whether it has received a trigger operation from the user to turn on the secret transmission function. When receiving the trigger operation , the first terminal outputs a second vibration prompt through the vibration unit, and the second vibration prompt is used to remind the user that the secret transmission function has been turned on. After the secret transmission function is turned on, the first terminal sends a pairing request to the second terminal. The second terminal receives the pairing request and sends a pairing response to the first terminal in response to the pairing request, and the pairing response carries the second When the operation type information of the terminal is pairing information, it means that the first terminal and the second terminal have completed pairing and established a wireless connection.
S502,第一终端检测到第一文件操作时,确定第一文件操作选择的目标文件。S502: When the first terminal detects the first file operation, determine the target file selected by the first file operation.
其中,第一文件操作是用户执行的选择进行传输的目标文件的触发操作,该触发操作可以是在显示屏上的上下滑动操作。在第一终端检测到用户执行的第一文件操作时,确定该第一文件操作选择的目标文件。The first file operation is a trigger operation performed by the user to select a target file for transmission. The trigger operation may be an up and down sliding operation on the display screen. When the first terminal detects the first file operation performed by the user, the target file selected by the first file operation is determined.
S503,第一终端通过振动单元输出与目标文件关联的第一振动提示。S503. The first terminal outputs the first vibration prompt associated with the target file through the vibration unit.
其中,第一振动提示用于提醒用户区分用户所选择的待传输的目标文件。每个目标文件对应的第一振动提示都是不同的,第一终端获取与目标文件关联的第一振动提示,通过振动单元输出与该第一振动提示。The first vibration prompt is used to remind the user to distinguish the target file selected by the user to be transferred. The first vibration prompt corresponding to each target file is different. The first terminal obtains the first vibration prompt associated with the target file and outputs the first vibration prompt through the vibration unit.
S504,第一终端检测到第二文件操作时,通过无线连接向第二终端发送目标文件。S504: When detecting the second file operation, the first terminal sends the target file to the second terminal through a wireless connection.
其中,第二文件操作是用户执行的发送目标文件的触发操作,该触发操作可以是在显示屏上的左右滑动操作,目标文件为一个或多个,每个目标文件都对应同一个第二文件操作。在第一终端检测到用户执行的第二文件操作时,通过蓝牙连接或WiFi热点连接向第二终端发送目标文件。Among them, the second file operation is a trigger operation performed by the user to send the target file. The trigger operation can be a left and right sliding operation on the display screen. There are one or more target files, and each target file corresponds to the same second file. operate. When the first terminal detects the second file operation performed by the user, the target file is sent to the second terminal through a Bluetooth connection or a WiFi hotspot connection.
本申请实施例的方案在执行时,在熄屏状态下,第一终端和第二终端完成配对后,第一终端和第二终端建立无线连接,第一终端检测到用户执行的第一文件操作时,确定第一文件操作选择的目标文件,第一终端通过振动单元输出与目标文件关联的第一振动提示,在第一终端检测到用户执行的第二文件操作时,通过无线连接向第二终端发送目标文件。本申请通过终端在熄屏状态下,根据用户的操作开启秘密传输功能,通过振动单元输出振动提示提醒用户目标文件的选择以及目标文件的传输情况,保护了用户的隐私,增强了文件安全性。When the solution of the embodiment of the present application is executed, in the screen-off state, after the first terminal and the second terminal complete pairing, the first terminal and the second terminal establish a wireless connection, and the first terminal detects the first file operation performed by the user. When the target file selected by the first file operation is determined, the first terminal outputs a first vibration prompt associated with the target file through the vibration unit, and when the first terminal detects the second file operation performed by the user, the first terminal sends a message to the second file through the wireless connection. The terminal sends the target file. This application turns on the secret transmission function according to the user's operation when the terminal is in a screen-off state, and outputs vibration prompts through the vibration unit to remind the user of the selection of the target file and the transmission status of the target file, thus protecting the user's privacy and enhancing file security.
请参见图6,为本申请实施例提供的另一种文件传输方法的流程示意图。如图6所示,本申请实施例的所述方法可以包括以下步骤:Please refer to FIG. 6 , which is a schematic flow chart of another file transmission method provided by an embodiment of the present application. As shown in Figure 6, the method according to the embodiment of the present application may include the following steps:
S601,在熄屏状态下,第一终端检测到配对操作时,判断是否开启秘密传输功能。S601: When the first terminal detects the pairing operation in the screen-off state, it determines whether to enable the secret transmission function.
其中,第一终端为文件传输过程中的发送终端。在一种可能的实施方式中,第一终端开启蓝牙连接功能,第一终端创建蓝牙连接,寻呼周围的蓝牙连接终端,即第二终端,此时把第一终端叫做主设备,第二终端叫做从设备。主设备以跳频的方式寻呼从设备,从设备会固定间隔地扫描外部寻呼,当从设备扫描到外部寻呼时,会响应该寻呼,由此主设备和从设备建立连接。在第一终端和第二终端的显示屏都处于未点亮状态时,且第一终端与第二终端建立蓝牙配对连接时,即第一终端检测到配对操作时,第一终端判断用户是否执行开启秘密传输功能的触发操作。Wherein, the first terminal is a sending terminal during file transmission. In a possible implementation, the first terminal turns on the Bluetooth connection function, creates a Bluetooth connection, and pages surrounding Bluetooth connection terminals, that is, the second terminal. At this time, the first terminal is called the main device, and the second terminal It's called a slave device. The master device pages the slave device in a frequency hopping manner. The slave device scans external paging at fixed intervals. When the slave device scans for external paging, it responds to the paging, thereby establishing a connection between the master device and the slave device. When the display screens of the first terminal and the second terminal are both unlit, and the first terminal and the second terminal establish a Bluetooth pairing connection, that is, when the first terminal detects the pairing operation, the first terminal determines whether the user performs the pairing operation. Turn on the trigger operation of the secret transmission function.
在一种可能的实施方式中,第一终端开启WiFi热点连接功能,向周围的其他终端,即第二终端发射WiFi信号,第二终端通过信道扫描发现第一终端,获取第一终端的属性信息,包括WiFi信号的信号强度、WiFi信号的加密方式、基本服务集标识、服务集标识中的一种或多种。第二终端扫描到第一终端的WiFi信号,输入对应的WiFi密码,与第一终端建立连接。在第一终端和第二设备的显示屏都处于未点亮状态时,且第一终端和第二终端建立WiFi连接时,即第一终端检测到配对操作时,第一终端判断用户是否执行开启秘密传输功能的触发操作。In a possible implementation, the first terminal turns on the WiFi hotspot connection function and transmits WiFi signals to other surrounding terminals, that is, the second terminal. The second terminal discovers the first terminal through channel scanning and obtains the attribute information of the first terminal. , including one or more of the signal strength of the WiFi signal, the encryption method of the WiFi signal, the basic service set identifier, and the service set identifier. The second terminal scans the WiFi signal of the first terminal, inputs the corresponding WiFi password, and establishes a connection with the first terminal. When the display screens of the first terminal and the second device are both unlit, and the first terminal and the second terminal establish a WiFi connection, that is, when the first terminal detects the pairing operation, the first terminal determines whether the user performs the opening Trigger operation of the secret transfer function.
S602,在检测到用户已开启秘密传输功能时,通过振动单元输出第二振动提示。S602: When it is detected that the user has turned on the secret transmission function, output a second vibration prompt through the vibration unit.
其中,第二振动提示用于提醒用户秘密传输功能已开启。第一终端检测到用户执行开启秘密传输功能的触发操作时,通过振动单元输出第二振动提示。Among them, the second vibration prompt is used to remind the user that the secret transmission function is turned on. When the first terminal detects that the user performs a triggering operation for turning on the secret transmission function, it outputs a second vibration prompt through the vibration unit.
比如:该触发操作可以是用户长按音量上键加音量下键的操作,第二振动提示为短暂振动一次,在用户执行长按音量上键加音量下键的操作时,第一终端检测到该触发操作,通过振动单元输出短暂振动一次,用于提醒用户秘密传输功能已开启。For example, the trigger operation may be the user's operation of long pressing the volume up button and the volume down button. The second vibration prompt is a brief vibration. When the user performs the operation of long pressing the volume up button and the volume down button, the first terminal detects This trigger operation outputs a brief vibration through the vibration unit to remind the user that the secret transmission function is turned on.
S603,在检测到用户未开启秘密传输功能时,退出私密传输模式。S603: When it is detected that the user has not turned on the secret transmission function, exit the private transmission mode.
其中,私密传输模式是指在终端的显示屏处于未点亮状态下的一种私密文件传输模式。第一终端检测到用户未执行开启秘密传输功能的触发操作时,则退出私密传输模式。Among them, the private transmission mode refers to a private file transmission mode when the display screen of the terminal is not lit. When the first terminal detects that the user has not performed the triggering operation to enable the secret transmission function, it exits the private transmission mode.
比如:用户执行的触发操作是长按音量上键或长按音量下键的操作,第一终端检测到该触发操作,与预配置的触发操作不符,表明用户未开启秘密传输功能,则退出私密传输模式。For example: the trigger operation performed by the user is to long press the volume up button or long press the volume down button. The first terminal detects that the trigger operation is inconsistent with the preconfigured trigger operation, indicating that the user has not turned on the secret transmission function, and then exits the private mode. transmission mode.
S604,第一终端向第二终端发送配对请求。S604. The first terminal sends a pairing request to the second terminal.
其中,第二终端为文件传输过程中的接收终端,配对请求用于判断第二终端是否满足配对条件。基于S602,第一终端检测到用户已开启秘密传输功能,第一终端向第二终端发送配对请求,检测第二终端是否满足秘密传输的配对条件。Wherein, the second terminal is a receiving terminal during the file transmission process, and the pairing request is used to determine whether the second terminal meets the pairing conditions. Based on S602, the first terminal detects that the user has turned on the secret transmission function, and the first terminal sends a pairing request to the second terminal to detect whether the second terminal meets the pairing conditions for secret transmission.
S605,第一终端接收第二终端响应于配对请求发送的配对响应,该配对响应携带第二终端的操作类型信息。S605: The first terminal receives a pairing response sent by the second terminal in response to the pairing request, where the pairing response carries operation type information of the second terminal.
一般的,第二终端检测到用户执行开启秘密传输功能的触发操作,向第一终端发送携带该触发操作的操作类型信息的配对响应,第一终端接收该配对响应。Generally, the second terminal detects that the user performs a triggering operation to enable the secret transmission function, and sends a pairing response carrying the operation type information of the triggering operation to the first terminal, and the first terminal receives the pairing response.
S606,若操作类型信息为配对信息,则第一终端和第二终端完成配对。S606: If the operation type information is pairing information, the first terminal and the second terminal complete pairing.
其中,配对信息为预设的与第一终端完成配对的操作类型信息。举例来说:配对信息要求第二终端的用户与第一终端的用户执行开启秘密传输功能的触发操作是一样的,即长按音量上键加音量下键。The pairing information is preset operation type information for completing pairing with the first terminal. For example: the pairing information requires the user of the second terminal to perform the same trigger operation as the user of the first terminal to enable the secret transmission function, that is, long press the volume up button and the volume down button.
S607,第一终端和第二终端完成配对后,第一终端和第二终端建立无线连接。S607: After the first terminal and the second terminal complete pairing, the first terminal and the second terminal establish a wireless connection.
一般的,在第一终端和第二终端完成配对后,第一终端和第二终端通过蓝牙连接或WiFi热点连接建立无线连接。Generally, after the first terminal and the second terminal complete pairing, the first terminal and the second terminal establish a wireless connection through a Bluetooth connection or a WiFi hotspot connection.
S608,第一终端检测到第一文件操作时,确定第一文件操作选择的目标文件。S608: When the first terminal detects the first file operation, determine the target file selected by the first file operation.
其中,第一文件操作是用户执行的选择目标文件的触发操作,用于选择待传输的目标文件,该触发操作可以是显示屏上的上下滑动操作,目标文件存储在私密文件夹中,每个目标文件在私密文件夹中对应着一个文件编号。Among them, the first file operation is a triggering operation of selecting a target file performed by the user. It is used to select the target file to be transferred. The triggering operation can be an up and down sliding operation on the display screen. The target file is stored in a private folder, and each The target file corresponds to a file number in the private folder.
比如:用户在显示屏上执行上下滑动操作,用户的手指滑动至显示屏上的某一位置停下,第一终端根据用户的滑动轨迹,确定此时用户选择的目标文件为文件5。For example: the user performs an up and down sliding operation on the display screen, and the user's finger slides to a certain position on the display screen and stops. The first terminal determines that the target file selected by the user at this time is file 5 based on the user's sliding trajectory.
S609,第一终端通过振动单元输出与目标文件关联的第一振动提示。S609: The first terminal outputs the first vibration prompt associated with the target file through the vibration unit.
一般的,目标文件在私密文件夹中除了有对应的文件编号,文件编号又对着不同的第一振动提示,在用户选择了某个目标文件夹时,终端获取与该目标文件的文件编号对应的第一振动提示,通过振动单元输出第一振动提示。Generally, in addition to the corresponding file number of the target file in the private folder, the file number also faces different first vibration prompts. When the user selects a certain target folder, the terminal obtains the file number corresponding to the target file. The first vibration prompt is outputted through the vibration unit.
举例来说:私密文件夹中存储有10个目标文件,文件1对应的第一振动提示为短暂振动1次,文件2对应的第一振动提示为短暂振动2次,文件3对应的第一振动提示为短暂振动3次,文件4对应的第一振动提示为短暂振动4次,文件5对应的第一振动提示为长振动1次,文件6对应的第一振动提示为长振动1次加短暂振动1次,文件7对应的第一振动提示为长振动1次加短暂振动2次,文件8对应的第一振动提示为长振动1次加短暂振动3次,文件9对应的第一振动提示为长振动1次加短暂振动4次,文件10对应的第一振动提示为长振动2次。在第一终端的用户选择的目标文件为文件5时,第一终端获取与文件5对应的第一振动提示,即长振动1次,第一终端通过振动单元执行长振动一次的操作。For example: There are 10 target files stored in the private folder. The first vibration prompt corresponding to file 1 is 1 brief vibration, the first vibration prompt corresponding to file 2 is 2 brief vibrations, and the first vibration corresponding to file 3 is The prompt is 3 short vibrations. The first vibration prompt corresponding to file 4 is 4 short vibrations. The first vibration prompt corresponding to file 5 is 1 long vibration. The first vibration prompt corresponding to file 6 is 1 long vibration plus short time. Vibrate once, the first vibration prompt corresponding to file 7 is 1 long vibration plus 2 short vibrations, the first vibration prompt corresponding to file 8 is 1 long vibration plus 3 short vibrations, the first vibration prompt corresponding to file 9 is It is one long vibration plus four short vibrations. The first vibration prompt corresponding to file 10 is two long vibrations. When the target file selected by the user of the first terminal is file 5, the first terminal obtains the first vibration prompt corresponding to file 5, that is, one long vibration, and the first terminal performs the operation of one long vibration through the vibration unit.
S610,第一终端检测到第二文件操作时,向第二终端发送文件传输请求。S610: When the first terminal detects the second file operation, it sends a file transfer request to the second terminal.
其中,第二文件操作是用户执行的发送目标文件的触发操作,用于指示第一终端待发送的目标文件,该触发操作可以是显示屏上的左右滑动操作,文件传输请求用于请求地第二终端向其发送目标文件。比如:在S609的例子中,用户选择目标文件为文件6,当用户在滑动到文件6时,执行左右滑动操作,第一终端检测到滑动操作时,向第二终端发送文件传输请求。The second file operation is a trigger operation performed by the user to send the target file, and is used to indicate the target file to be sent by the first terminal. The trigger operation may be a left and right sliding operation on the display screen, and the file transfer request is used to request the third file. The second terminal sends the target file to it. For example: In the example of S609, the user selects the target file as file 6. When the user slides to file 6, he performs a left and right sliding operation. When the first terminal detects the sliding operation, it sends a file transfer request to the second terminal.
S611,第一终端接收来自第二终端的允许传输响应。S611. The first terminal receives a transmission permission response from the second terminal.
其中,允许传输响应用于告知第一终端,第二终端允许接收目标文件的传输。第一终端在发送文件处传输请求之后,会接收到第二终端对于该文件传输请求作出的允许传输响应。The transmission allowed response is used to inform the first terminal that the second terminal is allowed to receive transmission of the target file. After sending a file transfer request, the first terminal will receive a transfer permission response from the second terminal in response to the file transfer request.
S612,第一终端向第二终端发送目标文件。S612. The first terminal sends the target file to the second terminal.
一般的,第一终端接收到第二终端的允许传输响应之后,向第二终端发送目标文件。比如:在S609的例子中,第一终端的用户选择的目标文件为文件6,在第一终端接收到第二终端对于文件6的允许传输响应之后,向第二终端发送文件6。Generally, after receiving a transmission permission response from the second terminal, the first terminal sends the target file to the second terminal. For example: in the example of S609, the target file selected by the user of the first terminal is file 6. After the first terminal receives the transmission permission response of file 6 from the second terminal, it sends file 6 to the second terminal.
本申请实施例的方案在执行时,在熄屏状态下,第一终端和第二终端完成配对后,第一终端和第二终端建立无线连接,第一终端检测到用户执行的第一文件操作时,确定第一文件操作选择的目标文件,第一终端通过振动单元输出与目标文件关联的第一振动提示,在第一终端检测到用户执行的第二文件操作时,通过无线连接向第二终端发送目标文件。本申请通过终端在熄屏状态下,根据用户的操作开启秘密传输功能,通过振动单元输出振动提示提醒用户目标文件的选择以及目标文件的传输情况,保护了用户的隐私,增强了文件安全性。When the solution of the embodiment of the present application is executed, in the screen-off state, after the first terminal and the second terminal complete pairing, the first terminal and the second terminal establish a wireless connection, and the first terminal detects the first file operation performed by the user. When the target file selected by the first file operation is determined, the first terminal outputs a first vibration prompt associated with the target file through the vibration unit, and when the first terminal detects the second file operation performed by the user, the first terminal sends a message to the second file through the wireless connection. The terminal sends the target file. This application turns on the secret transmission function according to the user's operation when the terminal is in a screen-off state, and outputs vibration prompts through the vibration unit to remind the user of the selection of the target file and the transmission status of the target file, thus protecting the user's privacy and enhancing file security.
请参见图7,为本申请实施例提供的又一种文件传输方法的流程示意图。如图7所示,本申请实施例的所述方法可以包括以下步骤:Please refer to FIG. 7 , which is a schematic flow chart of another file transmission method provided by an embodiment of the present application. As shown in Figure 7, the method according to the embodiment of the present application may include the following steps:
S701,在熄屏状态下,第二终端和第一终端完成配对后,第二终端和第一终端建立无线连接。S701. In the screen-off state, after the second terminal and the first terminal complete pairing, the second terminal and the first terminal establish a wireless connection.
一般的,在第二终端和第一终端的显示屏都处于未点亮状态时,第二终端检测到配对操作时,第二终端接收到第一终端的配对请求,第二终端检测是否接收到用户执行的开启秘密传输功能触发操作,在检测到该触发操作时,向第一终端发送响应于配对请求的配对响应,该配对响应中携带第二终端用户执行的触发操作的操作类型信息,在该操作类型信息为配对信息时,表示第二终端和第一终端完成配对建立无线连接。Generally, when the display screens of the second terminal and the first terminal are both unlit, and the second terminal detects the pairing operation, the second terminal receives the pairing request from the first terminal, and the second terminal detects whether it has received the pairing request. The user performs a triggering operation of turning on the secret transmission function. When the triggering operation is detected, a pairing response in response to the pairing request is sent to the first terminal. The pairing response carries the operation type information of the triggering operation performed by the second terminal user. When the operation type information is pairing information, it means that the second terminal and the first terminal have completed pairing and established a wireless connection.
S702,第二终端接收第一终端通过无线连接发送的目标文件。S702. The second terminal receives the target file sent by the first terminal through the wireless connection.
一般的,第二终端和第一终端建立无线连接之后,第二终端接收第一终端发送的文件传输请求,通过振动单元输出第四振动提示,该第四振动提示用于提醒用户是否接收目标文件的传输,第二终端检测是否接收到用户执行的允许传输操作,在接收到该允许传输操作时,获取与该允许传输操作关联的第五振动提示,通过振动单元输出第五振动提示,该第五振动提示用于提醒用户允许接收第一终端传输的目标文件。Generally, after the second terminal and the first terminal establish a wireless connection, the second terminal receives the file transfer request sent by the first terminal and outputs a fourth vibration prompt through the vibration unit. The fourth vibration prompt is used to remind the user whether to receive the target file. transmission, the second terminal detects whether it receives the allow transmission operation performed by the user, when receiving the allow transmission operation, obtains the fifth vibration prompt associated with the allow transmission operation, and outputs the fifth vibration prompt through the vibration unit. Five vibration prompts are used to remind the user to allow receiving the target file transmitted by the first terminal.
S703,在完成目标文件的传输时,通过振动单元输出第三振动提示。S703: When the transmission of the target file is completed, a third vibration prompt is output through the vibration unit.
其中,第三振动提示用于提醒用户目标文件接收成功。第二终端接收来自第一终端传输的目标文件,在完成该目标文件的传输时,通过振动单元输出第三振动提示,该第三振动提示用于提醒用户目标文件接收成功。Among them, the third vibration prompt is used to remind the user that the target file is received successfully. The second terminal receives the target file transmitted from the first terminal. When the transmission of the target file is completed, the second terminal outputs a third vibration prompt through the vibration unit. The third vibration prompt is used to remind the user that the target file has been received successfully.
本申请实施例的方案在执行时,在熄屏状态下,第一终端和第二终端完成配对后,第一终端和第二终端建立无线连接,第一终端检测到用户执行的第一文件操作时,确定第一文件操作选择的目标文件,第一终端通过振动单元输出与目标文件关联的第一振动提示,在第一终端检测到用户执行的第二文件操作时,通过无线连接向第二终端发送目标文件。本申请通过终端在熄屏状态下,根据用户的操作开启秘密传输功能,通过振动单元输出振动提示提醒用户目标文件的选择以及目标文件的传输情况,保护了用户的隐私,增强了文件安全性。When the solution of the embodiment of the present application is executed, in the screen-off state, after the first terminal and the second terminal complete pairing, the first terminal and the second terminal establish a wireless connection, and the first terminal detects the first file operation performed by the user. When the target file selected by the first file operation is determined, the first terminal outputs a first vibration prompt associated with the target file through the vibration unit, and when the first terminal detects the second file operation performed by the user, the first terminal sends a message to the second file through the wireless connection. The terminal sends the target file. This application turns on the secret transmission function according to the user's operation when the terminal is in a screen-off state, and outputs vibration prompts through the vibration unit to remind the user of the selection of the target file and the transmission status of the target file, thus protecting the user's privacy and enhancing file security.
请参见图8,为本申请实施例提供的再一种文件传输方法的流程示意图。如图8所示,本申请实施例的所述方法可以包括以下步骤:Please refer to FIG. 8 , which is a schematic flow chart of yet another file transmission method provided by an embodiment of the present application. As shown in Figure 8, the method according to the embodiment of the present application may include the following steps:
S801,在熄屏状态下,第二终端接收来自于第一终端发送的配对请求,向第一终端发送配对请求对应的配对响应。S801. In the screen-off state, the second terminal receives a pairing request sent from the first terminal, and sends a pairing response corresponding to the pairing request to the first terminal.
其中,配对请求用于判断第二终端是否满足配对条件,配对响应携带第二终端的操作类型信息。在熄屏状态下,第二终端接收来自第一终端发送的配对请求,随即第二终端检测是否接收到用户执行的开启秘密传输功能的触发操作,若第二终端检测到该触发操作,向第一终端发送响应于配对请求的配对响应。The pairing request is used to determine whether the second terminal meets the pairing conditions, and the pairing response carries the operation type information of the second terminal. In the screen-off state, the second terminal receives the pairing request sent from the first terminal, and then the second terminal detects whether it has received the trigger operation of turning on the secret transmission function performed by the user. If the second terminal detects the trigger operation, it sends a request to the third terminal. A terminal sends a pairing response in response to the pairing request.
S802,在操作类型信息为配对信息时,则第二终端和第一终端完成配对。S802: When the operation type information is pairing information, the second terminal and the first terminal complete pairing.
其中,配对信息为预设的与第一终端完成配对的第二终端的用户的操作类型信息。比如:配对信息要求第二终端的用户与第一终端的用户执行开启秘密传输功能的触发操作是一样的,即长按音量上键加音量下键。The pairing information is preset operation type information of the user of the second terminal that has completed pairing with the first terminal. For example, the pairing information requires the user of the second terminal to perform the same trigger operation as the user of the first terminal to enable the secret transmission function, that is, long press the volume up button and the volume down button.
S803,第二终端和第一终端完成配对后,第二终端和第一终端建立无线连接。S803: After the second terminal and the first terminal complete pairing, the second terminal and the first terminal establish a wireless connection.
一般的,在第二终端和第一终端完成配对后,第二终端和第一终端通过蓝牙连接或WiFi连接建立无线连接。Generally, after the second terminal and the first terminal complete pairing, the second terminal and the first terminal establish a wireless connection through a Bluetooth connection or a WiFi connection.
S804,第二终端接收第一终端发送的文件传输请求时,通过振动单元输出第四振动提示。S804: When receiving the file transfer request sent by the first terminal, the second terminal outputs a fourth vibration prompt through the vibration unit.
其中,第四振动提示用于提醒第二终端的用户是否接收目标文件的传输。比如第四振动提示为短暂振动一次,在第二终端接收到文件传输请求时,就输出一次短暂振动提示提醒用户是否接收目标文件的传输。The fourth vibration prompt is used to remind the user of the second terminal whether to receive the transmission of the target file. For example, the fourth vibration prompt is a brief vibration. When the second terminal receives a file transfer request, a short vibration prompt is output to remind the user whether to accept the transmission of the target file.
S805,第二终端检测是否接收到允许传输操作。S805: The second terminal detects whether a transmission permission operation is received.
其中,允许传输操作用于指示第二终端是否接收第一终端传输的目标文件。The allow transmission operation is used to indicate whether the second terminal receives the target file transmitted by the first terminal.
S806,在第二终端检测到允许传输操作时,通过振动单元输出与允许传输操作关联的第五振动提示。S806: When the second terminal detects the allowed transmission operation, output a fifth vibration prompt associated with the allowed transmission operation through the vibration unit.
一般的,若第二终端的用户选择接收目标文件的传输,执行允许传输操作,第二终端检测该允许传输操作,获取与该允许传输操作关联的第五振动提示,输出该第五振动提示。比如:允许传输操作为按下音量上键,第五振动提示为长振动一次,用户在第四振动提示之后,执行按下音量上键的操作,第二终端检测到该操作,接收目标文件的传输,并通过振动单元输出长振动一次,提醒用户接收该目标文件的传输。Generally, if the user of the second terminal chooses to receive the transmission of the target file and performs a transmission permission operation, the second terminal detects the transmission permission operation, obtains a fifth vibration prompt associated with the transmission permission operation, and outputs the fifth vibration prompt. For example: the allowed transmission operation is to press the volume up button, and the fifth vibration prompt is a long vibration. After the fourth vibration prompt, the user performs the operation of pressing the volume up button. The second terminal detects this operation and receives the target file. transmission, and outputs a long vibration through the vibration unit to remind the user to receive the transmission of the target file.
S807,第二终端未检测到允许传输操作时,通过振动单元输出第六振动提示,该第六振动提示是与拒绝传输操相关联的。S807: When the second terminal does not detect the transmission operation allowed, the vibration unit outputs a sixth vibration prompt, and the sixth vibration prompt is associated with the rejection of the transmission operation.
一般的,若第二终端的用户选择拒绝接收目标文件的传输,执行拒绝传输操作,第二终端检测该拒绝传输操作,获取与该拒绝传输操作关联的第六振动提示,输出该第六振动提示。比如:拒绝传输操作为按下音量下键,第六振动提示为长振动两次,用户在第四振动提示之后,执行按下音量下键的操作,第二终端检测到该操作,拒绝接收目标文件的传输,并通过振动单元输出长振动两次,提醒用户拒绝接收该目标文件的传输。Generally, if the user of the second terminal chooses to refuse to receive the transmission of the target file and performs the transmission refusal operation, the second terminal detects the transmission refusal operation, obtains the sixth vibration prompt associated with the transmission refusal operation, and outputs the sixth vibration prompt. . For example: the transmission refusal operation is to press the volume down button, the sixth vibration prompt is two long vibrations, the user performs the operation of pressing the volume down button after the fourth vibration prompt, the second terminal detects this operation and refuses to receive the target file transmission, and outputs two long vibrations through the vibration unit to remind the user to refuse to receive the transmission of the target file.
S808,在完成目标文件的传输时,通过振动单元输出第三振动提示。S808: When the transmission of the target file is completed, a third vibration prompt is output through the vibration unit.
其中,第三振动提示用于提醒用户目标文件接收成功。比如:第三振动提示为短暂振动两次,第二终端在目标文件接收完成之后,通过振动单元输出短暂振动两次,提醒用户该目标文件接收完成。Among them, the third vibration prompt is used to remind the user that the target file is received successfully. For example: the third vibration prompt is to vibrate twice briefly, and after the target file is received, the second terminal outputs two short vibrations through the vibration unit to remind the user that the target file is received.
本申请实施例的方案在执行时,在熄屏状态下,第一终端和第二终端完成配对后,第一终端和第二终端建立无线连接,第一终端检测到用户执行的第一文件操作时,确定第一文件操作选择的目标文件,第一终端通过振动单元输出与目标文件关联的第一振动提示,在第一终端检测到用户执行的第二文件操作时,通过无线连接向第二终端发送目标文件。本申请通过终端在熄屏状态下,根据用户的操作开启秘密传输功能,通过振动单元输出振动提示提醒用户目标文件的选择以及目标文件的传输情况,保护了用户的隐私,增强了文件安全性。When the solution of the embodiment of the present application is executed, in the screen-off state, after the first terminal and the second terminal complete pairing, the first terminal and the second terminal establish a wireless connection, and the first terminal detects the first file operation performed by the user. When the target file selected by the first file operation is determined, the first terminal outputs a first vibration prompt associated with the target file through the vibration unit, and when the first terminal detects the second file operation performed by the user, the first terminal sends a message to the second file through the wireless connection. The terminal sends the target file. This application turns on the secret transmission function according to the user's operation when the terminal is in a screen-off state, and outputs vibration prompts through the vibration unit to remind the user of the selection of the target file and the transmission status of the target file, thus protecting the user's privacy and enhancing file security.
请参见图9,为本申请实施例提供的一种文件传输装置的结构示意图。该文件传输装置可以通过软件、硬件或者两者的结合实现成为终端的全部或一部分。该装置包括:Please refer to FIG. 9 , which is a schematic structural diagram of a file transmission device provided by an embodiment of the present application. The file transmission device can be implemented as all or part of the terminal through software, hardware, or a combination of both. The device includes:
无线连接模块910,用于在熄屏状态下,第一终端和第二终端完成配对后,所述第一终端和所述第二终端建立无线连接;The wireless connection module 910 is used to establish a wireless connection between the first terminal and the second terminal after the first terminal and the second terminal complete pairing in the screen-off state;
文件选择模块920,与无线连接模块910连接,用于所述第一终端检测到第一文件操作时,确定所述第一文件操作选择的目标文件;The file selection module 920 is connected to the wireless connection module 910 and is used to determine the target file selected by the first file operation when the first terminal detects the first file operation;
第一提示模块930,与无线连接模块910、文件选择模块920连接,用于所述第一终端通过振动单元输出与所述目标文件关联的第一振动提示;The first prompt module 930 is connected to the wireless connection module 910 and the file selection module 920, and is used for the first terminal to output the first vibration prompt associated with the target file through the vibration unit;
文件发送模块940,与无线连接模块910、文件选择模块920连接、第一提示模块930,用于所述第一终端检测到第二文件操作时,通过所述无线连接向所述第二终端发送所述目标文件。The file sending module 940 is connected to the wireless connection module 910 and the file selection module 920. The first prompt module 930 is used to send the file to the second terminal through the wireless connection when the first terminal detects the second file operation. The object file.
可选地,文件发送模块940包括:Optionally, the file sending module 940 includes:
检测单元,用于所述第一终端检测到第二文件操作;A detection unit, used for the first terminal to detect the second file operation;
请求单元,用于所述第一终端向所述第二终端发送文件传输请求;其中,所述文件传输请求用于请求传输所述目标文件;A request unit, configured for the first terminal to send a file transfer request to the second terminal; wherein the file transfer request is used to request the transmission of the target file;
接收单元,用于所述第一终端接收来自所述第二终端的允许传输响应;其中,所述允许传输响应表示所述第二终端允许接收所述目标文件;A receiving unit configured for the first terminal to receive a transmission allowed response from the second terminal; wherein the transmission allowed response indicates that the second terminal allows receiving the target file;
发送单元,用于所述第一终端向所述第二终端发送所述目标文件。A sending unit, configured for the first terminal to send the target file to the second terminal.
本申请实施例的方案在执行时,在熄屏状态下,第一终端和第二终端完成配对后,第一终端和第二终端建立无线连接,第一终端检测到用户执行的第一文件操作时,确定第一文件操作选择的目标文件,第一终端通过振动单元输出与目标文件关联的第一振动提示,在第一终端检测到用户执行的第二文件操作时,通过无线连接向第二终端发送目标文件。本申请通过终端在熄屏状态下,根据用户的操作开启秘密传输功能,通过振动单元输出振动提示提醒用户目标文件的选择以及目标文件的传输情况,保护了用户的隐私,增强了文件安全性。When the solution of the embodiment of the present application is executed, in the screen-off state, after the first terminal and the second terminal complete pairing, the first terminal and the second terminal establish a wireless connection, and the first terminal detects the first file operation performed by the user. When the target file selected by the first file operation is determined, the first terminal outputs a first vibration prompt associated with the target file through the vibration unit, and when the first terminal detects the second file operation performed by the user, the first terminal sends a message to the second file through the wireless connection. The terminal sends the target file. This application turns on the secret transmission function according to the user's operation when the terminal is in a screen-off state, and outputs vibration prompts through the vibration unit to remind the user of the selection of the target file and the transmission status of the target file, thus protecting the user's privacy and enhancing file security.
请参见图10,为本申请实施例提供的一种文件传输装置的结构示意图。该文件传输装置可以通过软件、硬件或者两者的结合实现成为终端的全部或一部分。该装置包括:Please refer to Figure 10, which is a schematic structural diagram of a file transmission device provided by an embodiment of the present application. The file transmission device can be implemented as all or part of the terminal through software, hardware, or a combination of both. The device includes:
无线连接模块1010,用于在熄屏状态下,所述第二终端和所述第一终端完成配对后,所述第二终端和所述第一终端建立所述无线连接;Wireless connection module 1010, configured to establish the wireless connection between the second terminal and the first terminal after the second terminal and the first terminal complete pairing in the screen-off state;
文件接收模块1020,与无线连接模块1010连接,用于所述第二终端接收所述第一终端通过所述无线连接发送的所述目标文件;The file receiving module 1020 is connected to the wireless connection module 1010, and is used by the second terminal to receive the target file sent by the first terminal through the wireless connection;
第二提示模块1030,与无线连接模块1010、文件接收模块1020连接,用于在完成所述目标文件的传输时,通过所述振动单元输出第三振动提示;其中,所述第三振动提示用于提醒所述用户所述目标文件接收成功。The second prompt module 1030 is connected to the wireless connection module 1010 and the file receiving module 1020, and is used to output a third vibration prompt through the vibration unit when the transmission of the target file is completed; wherein the third vibration prompt is To remind the user that the target file is received successfully.
可选地,文件接收模块1020包括:Optionally, the file receiving module 1020 includes:
接收单元,用于所述第二终端接收所述第一终端发送的所述文件传输请求时,通过所述振动单元输出第四振动提示;其中,所述第四振动提示用于提醒所述用户是否接收所述目标文件的传输;A receiving unit configured to output a fourth vibration prompt through the vibration unit when the second terminal receives the file transfer request sent by the first terminal; wherein the fourth vibration prompt is used to remind the user Whether to receive the transmission of the target file;
提示单元,用于在所述第二终端检测到允许传输操作时,通过所述振动单元输出与所述允许传输操作关联的第五振动提示。A prompt unit configured to output, through the vibration unit, a fifth vibration prompt associated with the permitted transmission operation when the second terminal detects the permitted transmission operation.
本申请实施例的方案在执行时,在熄屏状态下,第一终端和第二终端完成配对后,第一终端和第二终端建立无线连接,第一终端检测到用户执行的第一文件操作时,确定第一文件操作选择的目标文件,第一终端通过振动单元输出与目标文件关联的第一振动提示,在第一终端检测到用户执行的第二文件操作时,通过无线连接向第二终端发送目标文件。本申请通过终端在熄屏状态下,根据用户的操作开启秘密传输功能,通过振动单元输出振动提示提醒用户目标文件的选择以及目标文件的传输情况,保护了用户的隐私,增强了文件安全性。When the solution of the embodiment of the present application is executed, in the screen-off state, after the first terminal and the second terminal complete pairing, the first terminal and the second terminal establish a wireless connection, and the first terminal detects the first file operation performed by the user. When the target file selected by the first file operation is determined, the first terminal outputs a first vibration prompt associated with the target file through the vibration unit, and when the first terminal detects the second file operation performed by the user, the first terminal sends a message to the second file through the wireless connection. The terminal sends the target file. This application turns on the secret transmission function according to the user's operation when the terminal is in a screen-off state, and outputs vibration prompts through the vibration unit to remind the user of the selection of the target file and the transmission status of the target file, thus protecting the user's privacy and enhancing file security.
本申请实施例还提供了一种计算机存储介质,所述计算机存储介质可以存储有多条指令,所述指令适于由处理器加载并执行如上述的方法步骤,具体执行过程可以参见图5~图8所示实施例的具体说明,在此不进行赘述。Embodiments of the present application also provide a computer storage medium. The computer storage medium can store multiple instructions. The instructions are suitable for the processor to load and execute the above method steps. The specific execution process can be seen in Figure 5~ The specific description of the embodiment shown in Figure 8 will not be repeated here.
本申请还提供了一种终端,包括处理器和存储器;其中,所述存储器存储有计算机程序,所述计算机程序适于由所述处理器加载并执行上述的方法步骤。This application also provides a terminal, including a processor and a memory; wherein the memory stores a computer program, and the computer program is adapted to be loaded by the processor and execute the above method steps.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体或随机存储记忆体等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program. The program can be stored in a computer-readable storage medium. The program can be stored in a computer-readable storage medium. During execution, the process may include the processes of the embodiments of each of the above methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory or a random access memory, etc.
以上所揭露的仅为本申请较佳实施例而已,当然不能以此来限定本申请之权利范围,因此依本申请权利要求所作的等同变化,仍属本申请所涵盖的范围。What is disclosed above is only the preferred embodiment of the present application. Of course, it cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application still fall within the scope of the present application.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911409884.5ACN111212411B (en) | 2019-12-31 | 2019-12-31 | File transmission method, device, storage medium and terminal |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911409884.5ACN111212411B (en) | 2019-12-31 | 2019-12-31 | File transmission method, device, storage medium and terminal |
| Publication Number | Publication Date |
|---|---|
| CN111212411A CN111212411A (en) | 2020-05-29 |
| CN111212411Btrue CN111212411B (en) | 2023-11-14 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201911409884.5AActiveCN111212411B (en) | 2019-12-31 | 2019-12-31 | File transmission method, device, storage medium and terminal |
| Country | Link |
|---|---|
| CN (1) | CN111212411B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114925027A (en)* | 2022-05-31 | 2022-08-19 | 青岛海信移动通信技术股份有限公司 | A terminal device and MTP-based file transmission method |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102707880A (en)* | 2012-04-24 | 2012-10-03 | 华为终端有限公司 | File transmission method and terminal |
| WO2013185730A2 (en)* | 2012-10-25 | 2013-12-19 | 中兴通讯股份有限公司 | Control method, control device and terminal |
| CN104808768A (en)* | 2015-04-15 | 2015-07-29 | 广东欧珀移动通信有限公司 | Prompting method and prompting device for file transfer progress and mobile terminal |
| CN105607843A (en)* | 2015-08-27 | 2016-05-25 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for controlling terminal on the basis of gesture |
| CN105700810A (en)* | 2016-02-23 | 2016-06-22 | 东莞盛世科技电子实业有限公司 | Information interaction method and device |
| CN106411917A (en)* | 2016-10-21 | 2017-02-15 | 宇龙计算机通信科技(深圳)有限公司 | File transmission detection method and related device |
| CN106648576A (en)* | 2016-09-07 | 2017-05-10 | 北京珠穆朗玛移动通信有限公司 | Method for quickly starting application, and mobile terminal |
| WO2017140068A1 (en)* | 2016-02-16 | 2017-08-24 | 中兴通讯股份有限公司 | Wireless transmission method and apparatus, terminal, and computer readable storage medium |
| CN107450839A (en)* | 2017-07-28 | 2017-12-08 | 广东欧珀移动通信有限公司 | Black screen gesture-based control method, device, storage medium and mobile terminal |
| CN107450838A (en)* | 2017-07-28 | 2017-12-08 | 广东欧珀移动通信有限公司 | Black screen gesture response method, device, storage medium and mobile terminal |
| WO2019019899A1 (en)* | 2017-07-28 | 2019-01-31 | Oppo广东移动通信有限公司 | Method and device for improving response to black screen gesture, storage medium, and mobile terminal |
| CN109753776A (en)* | 2018-12-29 | 2019-05-14 | 维沃移动通信有限公司 | Information processing method, device and mobile terminal |
| CN110191225A (en)* | 2019-05-06 | 2019-08-30 | 无锡睿勤科技有限公司 | A kind of communication means and communication device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8457651B2 (en)* | 2009-10-02 | 2013-06-04 | Qualcomm Incorporated | Device movement user interface gestures for file sharing functionality |
| US11184754B2 (en)* | 2016-09-06 | 2021-11-23 | Huawei Technologies Co., Ltd. | Data sharing method and terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102707880A (en)* | 2012-04-24 | 2012-10-03 | 华为终端有限公司 | File transmission method and terminal |
| WO2013185730A2 (en)* | 2012-10-25 | 2013-12-19 | 中兴通讯股份有限公司 | Control method, control device and terminal |
| CN104808768A (en)* | 2015-04-15 | 2015-07-29 | 广东欧珀移动通信有限公司 | Prompting method and prompting device for file transfer progress and mobile terminal |
| CN105607843A (en)* | 2015-08-27 | 2016-05-25 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for controlling terminal on the basis of gesture |
| WO2017140068A1 (en)* | 2016-02-16 | 2017-08-24 | 中兴通讯股份有限公司 | Wireless transmission method and apparatus, terminal, and computer readable storage medium |
| CN105700810A (en)* | 2016-02-23 | 2016-06-22 | 东莞盛世科技电子实业有限公司 | Information interaction method and device |
| WO2017143676A1 (en)* | 2016-02-23 | 2017-08-31 | 东莞盛世科技电子实业有限公司 | Information interaction method and apparatus |
| CN106648576A (en)* | 2016-09-07 | 2017-05-10 | 北京珠穆朗玛移动通信有限公司 | Method for quickly starting application, and mobile terminal |
| CN106411917A (en)* | 2016-10-21 | 2017-02-15 | 宇龙计算机通信科技(深圳)有限公司 | File transmission detection method and related device |
| CN107450839A (en)* | 2017-07-28 | 2017-12-08 | 广东欧珀移动通信有限公司 | Black screen gesture-based control method, device, storage medium and mobile terminal |
| CN107450838A (en)* | 2017-07-28 | 2017-12-08 | 广东欧珀移动通信有限公司 | Black screen gesture response method, device, storage medium and mobile terminal |
| WO2019019899A1 (en)* | 2017-07-28 | 2019-01-31 | Oppo广东移动通信有限公司 | Method and device for improving response to black screen gesture, storage medium, and mobile terminal |
| CN109753776A (en)* | 2018-12-29 | 2019-05-14 | 维沃移动通信有限公司 | Information processing method, device and mobile terminal |
| CN110191225A (en)* | 2019-05-06 | 2019-08-30 | 无锡睿勤科技有限公司 | A kind of communication means and communication device |
| Title |
|---|
| Android用户隐私保护系统;吴剑华等;《信息网络安全》;20120910(第09期);全文* |
| 网络安全检测系统的设计与实现;徐宝海;《信息安全与技术》;20141110(第11期);全文* |
| Publication number | Publication date |
|---|---|
| CN111212411A (en) | 2020-05-29 |
| Publication | Publication Date | Title |
|---|---|---|
| US12120585B2 (en) | Messaging system interacting with dynamic extension app | |
| US10635379B2 (en) | Method for sharing screen between devices and device using the same | |
| US9203252B2 (en) | Redirecting notifications to a wearable computing device | |
| US10725972B2 (en) | Continuous and concurrent device experience in a multi-device ecosystem | |
| JP6228676B2 (en) | Connection state prompting method and apparatus | |
| CN108733334A (en) | Image quality parameter adjusting method, device, terminal and storage medium | |
| CN107613118A (en) | Method, device, mobile terminal and storage medium for enabling shortcut function | |
| CN108702414A (en) | Screen lock method and device | |
| CN113157368B (en) | Screen locking method and device | |
| WO2021190184A1 (en) | Remote assistance method and apparatus, and storage medium and terminal | |
| CN113268212A (en) | Screen projection method and device, storage medium and electronic equipment | |
| CN109522131A (en) | Resource allocation method, device and equipment | |
| CN113595662A (en) | Signal prompting method and device, terminal equipment and storage medium | |
| CN113286349B (en) | Personal hotspot connection method, device, terminal and storage medium | |
| CN111212411B (en) | File transmission method, device, storage medium and terminal | |
| CN113419873A (en) | Chat message reminding method and device, storage medium and terminal equipment | |
| CN113419650B (en) | Data moving method, device, storage medium and electronic device | |
| CN113950043B (en) | Communication method, device, storage medium and terminal | |
| WO2023241613A1 (en) | Call establishment method, device and system, terminal, and readable storage medium | |
| CN106357513B (en) | Message processing method, device, server and message processing system | |
| CN114125048B (en) | A message push setting method, device, storage medium and electronic device | |
| CN111859999A (en) | Message translation method, device, storage medium and electronic device | |
| CN115145660A (en) | Multimedia playing method, device, storage medium and terminal equipment | |
| CN114691006A (en) | Information processing method based on screen projection and related device | |
| CN115314588B (en) | Background synchronization method, device, terminal, equipment, system and storage medium |
| 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 | ||
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right | Effective date of registration:20250702 Address after:101207 No.5, East Street, Zhenluoying Town, Pinggu District, Beijing Patentee after:Beijing Zhifengbo Technology Co.,Ltd. Country or region after:China Address before:7 / F, building B, Bolton Science Park, chaguang Road, Xili street, Nanshan District, Shenzhen City, Guangdong Province Patentee before:YULONG COMPUTER TELECOMMUNICATION SCIENTIFIC (SHENZHEN) Co.,Ltd. Country or region before:China |