[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN106792434B - Hotspot establishing method and terminal equipment - Google Patents

Hotspot establishing method and terminal equipment Download PDF

Info

Publication number
CN106792434B
CN106792434B CN201611033847.5A CN201611033847A CN106792434B CN 106792434 B CN106792434 B CN 106792434B CN 201611033847 A CN201611033847 A CN 201611033847A CN 106792434 B CN106792434 B CN 106792434B
Authority
CN
China
Prior art keywords
terminal
data
data transfer
application
hotspot
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611033847.5A
Other languages
Chinese (zh)
Other versions
CN106792434A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201611033847.5A priority Critical patent/CN106792434B/en
Publication of CN106792434A publication Critical patent/CN106792434A/en
Application granted granted Critical
Publication of CN106792434B publication Critical patent/CN106792434B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/60Subscription-based services using application servers or record carriers, e.g. SIM application toolkits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/18Management of setup rejection or failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/64Details of telephonic subscriber devices file transfer between terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a hotspot establishing method and terminal equipment, wherein the method comprises the following steps: the first terminal receives a request for establishing a data transfer hotspot; judging whether the application currently running in the first terminal is a preset application or not; if yes, judging whether the first terminal is in a wireless network environment; and if so, the first terminal refuses the establishment request of the data transfer hotspot. According to the embodiment of the invention, whether the important application runs in the first terminal is judged before the data transfer hotspot is established, whether the first terminal is in a wireless network environment is continuously judged when the important application runs in the first terminal, and if not, the data transfer hotspot is not established temporarily, so that the normal execution of the preset application in the first terminal is ensured, the establishment of the data transfer hotspot is closer to the user requirement, and the user experience is improved.

Description

一种热点建立方法及终端设备A method for establishing a hotspot and a terminal device

技术领域technical field

本发明涉及通信领域,具体涉及一种热点建立方法及终端设备。The invention relates to the field of communications, in particular to a method for establishing a hotspot and a terminal device.

背景技术Background technique

随着信息时代的发展,智能手机已经成为每个人生活的信息中枢,但面对手机产品快速迭代,用户频繁更换手机,为了保持新旧两机在软件环境和数据资料上的一致,目前普遍使用的方法是对手机上的资料进行备份与恢复,从而将手机上的数据资源从一个手机转移至另一个手机中,该转移的数据资源可以包括通讯录、信息(短信、彩信)、通话记录、日程、图片、音频、视频、文档、应用程序甚至应用程序数据、备忘录、闹钟、浏览器书签、旧手机的偏好设置等一切数据。With the development of the information age, smartphones have become the information center of everyone's life. However, in the face of rapid iteration of mobile phone products, users frequently replace mobile phones. The method is to back up and restore the data on the mobile phone, so as to transfer the data resources on the mobile phone from one mobile phone to another mobile phone. The transferred data resources can include address book, information (SMS, MMS), call records, schedules , pictures, audio, video, documents, apps and even app data, memos, alarms, browser bookmarks, old phone preferences, everything.

目前市场上很多安卓Android手机进行数据迁移时,都是通过一个终端建立无线热点,然后另一终端连接至该无线热点然后进行数据传输,但是在该过程中将可能导致消耗热点方的移动网络数据,所述需要关闭数据网络,但当关闭数据网络后,将可能导致终端中需要利用网络的应用不可用。At present, when many Android phones on the market perform data migration, a wireless hotspot is established through one terminal, and then another terminal is connected to the wireless hotspot and then performs data transmission, but in this process, the mobile network data of the hotspot may be consumed. , the data network needs to be turned off, but when the data network is turned off, the applications in the terminal that need to use the network may be unavailable.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供了一种热点建立方法及终端设备,可以不影响终端当前运行的重要应用的运行。The embodiments of the present invention provide a method for establishing a hotspot and a terminal device, which may not affect the operation of important applications currently running on the terminal.

本发明实施例第一方面提供一种将第一终端中的数据转移至第二终端时的热点建立方法,包括:A first aspect of the embodiments of the present invention provides a method for establishing a hotspot when data in a first terminal is transferred to a second terminal, including:

所述第一终端接收数据转移热点的建立请求,所述数据转移热点用于建立所述第一终端与所述第二终端之间的数据通道;判断所述第一终端中当前运行的应用是否为预设应用;若第一终端中当前运行的应用为预设应用,判断所述第一终端是否处于无线网络环境;若所述第一终端不处于无线网络环境,则所述第一终端拒绝所述数据转移热点的建立请求。The first terminal receives a request for establishing a data transfer hotspot, and the data transfer hotspot is used to establish a data channel between the first terminal and the second terminal; and determine whether an application currently running in the first terminal is is a preset application; if the application currently running in the first terminal is a preset application, determine whether the first terminal is in a wireless network environment; if the first terminal is not in a wireless network environment, the first terminal rejects The establishment request of the data transfer hotspot.

本发明实施例第二方面提供一种终端设备,包括:A second aspect of the embodiments of the present invention provides a terminal device, including:

接收模块,用于所述第一终端接收用户的数据转移热点的建立请求,所述数据转移热点用于建立所述第一终端与所述第二终端之间的数据通道;a receiving module, used for the first terminal to receive a user's request for establishing a data transfer hotspot, where the data transfer hotspot is used to establish a data channel between the first terminal and the second terminal;

判断模块,用于判断所述第一终端中当前运行的应用是否为预设应用;a judgment module, configured to judge whether the application currently running in the first terminal is a preset application;

所述判断模块还用于若第一终端中当前运行的应用为预设应用,判断所述第一终端是否处于无线网络环境;The judging module is further configured to judge whether the first terminal is in a wireless network environment if the application currently running in the first terminal is a preset application;

拒绝模块,用于若所述第一终端不处于无线网络环境,则所述第一终端拒绝所述数据转移热点的建立请求。A rejecting module, configured to reject the establishment request of the data transfer hotspot by the first terminal if the first terminal is not in a wireless network environment.

本发明实施例第三方面提供一种终端设备,包括:A third aspect of the embodiments of the present invention provides a terminal device, including:

存储有可执行程序代码的存储器;a memory in which executable program code is stored;

与所述存储器耦合的处理器;a processor coupled to the memory;

所述处理器调用所述存储器中存储的所述可执行程序代码,执行本发明第一方面所述的方法。The processor invokes the executable program code stored in the memory to execute the method described in the first aspect of the present invention.

在本发明实施例提供的技术方案中,所述第一终端接收数据转移热点的建立请求,所述数据转移热点用于建立所述第一终端与所述第二终端之间的数据通道;判断所述第一终端中当前运行的应用是否为预设应用;若第一终端中当前运行的应用为预设应用,判断所述第一终端是否处于无线网络环境;若所述第一终端不处于无线网络环境,则所述第一终端拒绝所述数据转移热点的建立请求。通过在建立数据转移热点之前,判断第一终端中是否运行重要应用,以及在第一终端中运行重要应用时继续判断第一终端是否处于无线网络环境下,若否,则此时暂时不建立数据转移热点,以保证第一终端中的预设应用能正常执行,使得数据转移热点的建立更贴近用户需求,提升用户体验。In the technical solution provided by the embodiment of the present invention, the first terminal receives a request for establishing a data transfer hotspot, and the data transfer hotspot is used to establish a data channel between the first terminal and the second terminal; determine Whether the application currently running in the first terminal is a preset application; if the application currently running in the first terminal is a preset application, determine whether the first terminal is in a wireless network environment; if the first terminal is not in a wireless network environment, the first terminal rejects the establishment request of the data transfer hotspot. Before establishing a data transfer hotspot, judging whether an important application is running in the first terminal, and continuing to judge whether the first terminal is in a wireless network environment when an important application is running in the first terminal, if not, no data is temporarily established at this time The hotspot is transferred to ensure that the preset application in the first terminal can be executed normally, so that the establishment of the data transfer hotspot is closer to the user's needs and improves the user experience.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.

图1-a是本发明实施例提供的热点建立系统的网络架构图;1-a is a network architecture diagram of a hotspot establishment system provided by an embodiment of the present invention;

图1-b是本发明实施例提供的一种将第一终端中的数据转移至第二终端时的热点建立方法的第一实施例流程示意图;1-b is a schematic flowchart of a first embodiment of a method for establishing a hotspot when data in a first terminal is transferred to a second terminal according to an embodiment of the present invention;

图2是本发明实施例提供的数据转移热点验证示意图;2 is a schematic diagram of a data transfer hotspot verification provided by an embodiment of the present invention;

图3是本发明实施例提供的一种将第一终端中的数据转移至第二终端时的热点建立方法的第二实施例流程示意图;3 is a schematic flowchart of a second embodiment of a method for establishing a hotspot when data in a first terminal is transferred to a second terminal according to an embodiment of the present invention;

图4是本发明实施例提供的一种将第一终端中的数据转移至第二终端时的热点建立方法的第三实施例流程示意图;4 is a schematic flowchart of a third embodiment of a method for establishing a hotspot when data in a first terminal is transferred to a second terminal according to an embodiment of the present invention;

图5是本发明实施例提供的一种将第一终端中的数据转移至第二终端时的热点建立方法的第四实施例流程示意图;5 is a schematic flowchart of a fourth embodiment of a method for establishing a hotspot when data in a first terminal is transferred to a second terminal according to an embodiment of the present invention;

图6是本发明实施例提供的一种终端设备的第一实施例结构示意图;6 is a schematic structural diagram of a first embodiment of a terminal device provided by an embodiment of the present invention;

图7是本发明实施例提供的一种终端设备的第二实施例结构示意图;7 is a schematic structural diagram of a second embodiment of a terminal device provided by an embodiment of the present invention;

图8是本发明实施例提供的一种终端设备的第三实施例结构示意图;8 is a schematic structural diagram of a third embodiment of a terminal device provided by an embodiment of the present invention;

图9是本发明实施例提供的一种终端设备的第四实施例结构示意图。FIG. 9 is a schematic structural diagram of a fourth embodiment of a terminal device provided by an embodiment of the present invention.

具体实施方式Detailed ways

本发明实施例提供了一种热点建立方法及终端设备,可以不影响终端当前运行的重要应用的运行。The embodiments of the present invention provide a method for establishing a hotspot and a terminal device, which may not affect the operation of important applications currently running on the terminal.

为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to make those skilled in the art better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only Embodiments are part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”和“第三”等是用于区别不同对象,而非用于描述特定顺序。此外,术语“包括”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second" and "third" in the description and claims of the present invention and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the term "comprising" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally also includes For other steps or units inherent to these processes, methods, products or devices.

本发明实施例的一种将第一终端中的数据转移至第二终端时的热点建立方法,包括:所述第一终端接收数据转移热点的建立请求,所述数据转移热点用于建立所述第一终端与所述第二终端之间的数据通道;判断所述第一终端中当前运行的应用是否为预设应用;若第一终端中当前运行的应用为预设应用,判断所述第一终端是否处于无线网络环境;若所述第一终端不处于无线网络环境,则所述第一终端拒绝所述数据转移热点的建立请求。A method for establishing a hotspot when transferring data in a first terminal to a second terminal according to an embodiment of the present invention includes: the first terminal receives a request for establishing a data transfer hotspot, and the data transfer hotspot is used to establish the a data channel between the first terminal and the second terminal; determine whether the application currently running in the first terminal is a preset application; if the application currently running in the first terminal is a preset application, determine whether the application currently running in the first terminal is a preset application Whether a terminal is in a wireless network environment; if the first terminal is not in a wireless network environment, the first terminal rejects the establishment request of the data transfer hotspot.

首先参见图1-a,图1-a是本发明实施例提供的热点建立系统的网络架构图,在图1-a所示的网络架构图中,第一终端100和第二终端200均可以为手机、平板电脑等移动智能终端,在本发明实施例中,第一终端100为终端数据传送方,第二终端200为终端数据接收方,第一终端100通过建立数据转移热点,然后第二终端200连接到该数据转移热点上,从而建立第一终端100与第二终端200之间的通信连接,第一终端100基于该通信连接将终端数据转移至第二终端200,从而完成数据转移过程。Referring first to FIG. 1-a, FIG. 1-a is a network architecture diagram of a hotspot establishment system provided by an embodiment of the present invention. In the network architecture diagram shown in FIG. 1-a, both the first terminal 100 and the second terminal 200 may It is a mobile smart terminal such as a mobile phone and a tablet computer. In this embodiment of the present invention, the first terminal 100 is the terminal data transmitter, and the second terminal 200 is the terminal data receiver. The first terminal 100 establishes a data transfer hotspot, and then the second terminal The terminal 200 is connected to the data transfer hotspot, thereby establishing a communication connection between the first terminal 100 and the second terminal 200, and the first terminal 100 transfers the terminal data to the second terminal 200 based on the communication connection, thereby completing the data transfer process .

首先参见图1-b,图1-b是本发明实施例提供的一种将第一终端中的数据转移至第二终端时的热点建立方法的第一实施例流程示意图。其中,如图1-b所示,该将第一终端中的数据转移至第二终端时的热点建立方法可以包括以下步骤:Referring first to FIG. 1-b, FIG. 1-b is a schematic flowchart of a first embodiment of a method for establishing a hotspot when data in a first terminal is transferred to a second terminal according to an embodiment of the present invention. Wherein, as shown in FIG. 1-b, the method for establishing a hotspot when transferring data in the first terminal to the second terminal may include the following steps:

S101、第一终端接收用户的数据转移热点的建立请求。S101. The first terminal receives a user's request for establishing a data transfer hotspot.

S102、判断所述第一终端中当前运行的应用是否为预设应用。S102. Determine whether the application currently running in the first terminal is a preset application.

其中,所述数据转移热点用于建立所述第一终端与所述第二终端之间的数据通道。The data transfer hotspot is used to establish a data channel between the first terminal and the second terminal.

其中,第一终端是指手机、平板电脑等移动智能终端;第二终端是指手机、平板电脑等移动智能终端。The first terminal refers to a mobile intelligent terminal such as a mobile phone and a tablet computer; the second terminal refers to a mobile intelligent terminal such as a mobile phone and a tablet computer.

其中,数据可以为第一终端中的应用或文件数据等,例如可以为通讯录、信息(短信、彩信)、通话记录、日程、图片、音频、视频、文档、应用程序甚至应用程序数据、备忘录、闹钟、浏览器书签、旧手机的偏好设置等一切数据。The data may be application or file data in the first terminal, for example, address book, information (SMS, MMS), call record, schedule, picture, audio, video, document, application or even application data, memo , alarms, browser bookmarks, old phone preferences, and more.

可选地,所述数据包括以下至少一种:Optionally, the data includes at least one of the following:

通讯录数据、短信数据、通话记录、日程、文档、备忘录、浏览器标签。Contacts data, SMS data, call logs, schedules, documents, memos, browser tabs.

其中,预设应用是指终端预设的一些重要应用,具体地,可以用应用标识来判断终端当前运行的应用是否为预设应用。The preset applications refer to some important applications preset by the terminal. Specifically, an application identifier may be used to determine whether an application currently running on the terminal is a preset application.

其中,数据转移热点是指在需要将第一终端中的数据转移至第二终端时,为了建立在第一终端与第二终端之间的一个点对点的数据通道,而设置在第一终端的一个热点,从而第二终端可以通过该数据转移热点建立第一终端与第二终端之间的一个数据连接,然后再通过该数据通道可以实现在第一终端和第二终端之间的数据传输,并且在此时不需要借助于其它任何如数据网络或无线保真WiFi等通讯连接,但如果此时第一终端与第二终端之间的数据网络为连接状态,将使得将第一终端中的数据转移至第二终端的过程中也会消耗数据网络的流量。The data transfer hotspot refers to a point-to-point data channel set on the first terminal in order to establish a point-to-point data channel between the first terminal and the second terminal when the data in the first terminal needs to be transferred to the second terminal. hotspot, so that the second terminal can establish a data connection between the first terminal and the second terminal through the data transfer hotspot, and then the data transmission between the first terminal and the second terminal can be realized through the data channel, and At this time, there is no need to resort to any other communication connection such as data network or Wi-Fi, but if the data network between the first terminal and the second terminal is in the connected state at this time, the data in the first terminal will be In the process of transferring to the second terminal, the traffic of the data network will also be consumed.

可选地,可以通过在第一终端和第二终端中安装一数据转移应用,从而当需要将第一终端中的数据转移至第二终端时,可同时打开第一终端与第二终端中的该应用。Optionally, a data transfer application can be installed in the first terminal and the second terminal, so that when the data in the first terminal needs to be transferred to the second terminal, the data in the first terminal and the second terminal can be opened at the same time. the app.

S103、若第一终端中当前运行的应用为预设应用,判断所述第一终端是否处于无线网络环境。S103. If the application currently running in the first terminal is a preset application, determine whether the first terminal is in a wireless network environment.

其中,无线网络环境可以指无线保真WiFi,无线局域网Wlan等,从而在无线网络环境下终端不需要消耗数据流量即可以利用网络资源。The wireless network environment may refer to wireless fidelity WiFi, wireless local area network Wlan, etc., so that the terminal can utilize network resources without consuming data traffic in the wireless network environment.

举例说明,在本发明的一个示例中,若检测到A手机中当前运行地图运行进行导航,该地图运行为终端中预设的重要应用,所以此时判断终端是否处于无线网络环境下。For example, in an example of the present invention, if it is detected that a map is currently running in mobile phone A for navigation, the map is an important application preset in the terminal, so it is determined whether the terminal is in a wireless network environment at this time.

S104、若所述第一终端不处于无线网络环境,则所述第一终端拒绝所述数据转移热点的建立请求。S104. If the first terminal is not in a wireless network environment, the first terminal rejects the establishment request of the data transfer hotspot.

举例说明,在本发明的一个示例中,可以在手机中安装一个数据转移应用,当需要将A手机中的短信和通讯录数据转移至B手机中,用户开启该数据转移应用,此时表示需要请求A手机建立数据转移热点,从而A手机判断当前运行应用是否为预设应用,若当前运行的应用为地图应用等重要应用时,此时判断A手机是否处于无线网络环境下,若不处于,则此时不建立数据转移热点,也即先停止运行数据转移应用,而首先执行完毕该地图应用。For example, in an example of the present invention, a data transfer application can be installed in the mobile phone. When the SMS and address book data in mobile phone A needs to be transferred to mobile phone B, the user opens the data transfer application, indicating that the need for Request mobile phone A to establish a data transfer hotspot, so that mobile phone A can determine whether the currently running application is a preset application. If the currently running application is an important application such as a map application, it can judge whether mobile phone A is in a wireless network environment at this time. In this case, the data transfer hotspot is not established, that is, the data transfer application is stopped first, and the map application is executed first.

本发明实施例提供的技术方案中,所述第一终端接收数据转移热点的建立请求,所述数据转移热点用于建立所述第一终端与所述第二终端之间的数据通道;判断所述第一终端中当前运行的应用是否为预设应用;若第一终端中当前运行的应用为预设应用,判断所述第一终端是否处于无线网络环境;若所述第一终端不处于无线网络环境,则所述第一终端拒绝所述数据转移热点的建立请求。通过在建立数据转移热点之前,判断第一终端中是否运行重要应用,以及在第一终端中运行重要应用时继续判断第一终端是否处于无线网络环境下,若否,则此时暂时不建立数据转移热点,以保证第一终端中的预设应用能正常执行,使得数据转移热点的建立更贴近用户需求,提升用户体验。In the technical solution provided by the embodiment of the present invention, the first terminal receives a request for establishing a data transfer hotspot, and the data transfer hotspot is used to establish a data channel between the first terminal and the second terminal; Whether the application currently running in the first terminal is a preset application; if the application currently running in the first terminal is a preset application, determine whether the first terminal is in a wireless network environment; if the first terminal is not in a wireless network environment network environment, the first terminal rejects the establishment request of the data transfer hotspot. Before establishing a data transfer hotspot, judging whether an important application is running in the first terminal, and continuing to judge whether the first terminal is in a wireless network environment when an important application is running in the first terminal, if not, no data is temporarily established at this time The hotspot is transferred to ensure that the preset application in the first terminal can be executed normally, so that the establishment of the data transfer hotspot is closer to the user's needs and improves the user experience.

可选地,在本发明的一些实施例中,所述方法还包括:Optionally, in some embodiments of the present invention, the method further includes:

若第一终端中当前运行的应用不为预设应用,则判断所述第一终端的数据网络的当前状态是否为开启状态;If the application currently running in the first terminal is not a preset application, determine whether the current state of the data network of the first terminal is an open state;

若所述第一终端的数据网络的当前状态为开启状态,则关闭所述第一终端的数据网络并建立数据转移热点,以使所述第一终端与所述第二终端之间基于所述数据转移热点建立数据连接并转移所述数据。If the current state of the data network of the first terminal is an open state, the data network of the first terminal is closed and a data transfer hotspot is established, so that the connection between the first terminal and the second terminal is based on the A data transfer hotspot establishes a data connection and transfers the data.

其中,基于该数据转移热点所建立的第一终端与第二终端之间的数据连接后,第一终端和第二终端之间基于该数据连接转移数据数据,并且在此时,即使第一终端或第二终端没有连接到任何通讯网络中,例如数据网络或无线网络,第一终端和第二终端也可以进行通信。Wherein, after the data connection between the first terminal and the second terminal is established based on the data transfer hotspot, the data data is transferred between the first terminal and the second terminal based on the data connection, and at this time, even if the first terminal Or the second terminal is not connected to any communication network, such as a data network or a wireless network, the first terminal and the second terminal can also communicate.

其中,数据网络是指终端所接入的移动运营商网络,例如第三代移动通信技术(the 3rd Generation mobile communication technology,简称3G)或4G网络,当终端开户数据网络时,此时当在第一终端和第二终端之间传输数据时,将需要消耗运营商网络流量,产生较高的流量资费。The data network refers to the mobile operator network to which the terminal is connected, such as the 3rd Generation mobile communication technology (3G for short) or 4G network. When data is transmitted between a terminal and a second terminal, the network traffic of the operator needs to be consumed, resulting in higher traffic charges.

在本发明实施例中,当建立该数据转移热点后,第二终端则可以连接到该数据转移热点,从而第一终端和第二终端则可以基于该数据转移热点建立数据连接,并通过该数据连接转移数据。In this embodiment of the present invention, after the data transfer hotspot is established, the second terminal can connect to the data transfer hotspot, so that the first terminal and the second terminal can establish a data connection based on the data transfer hotspot, and use the data transfer hotspot to establish a data connection. Connect to transfer data.

可以理解,当第一终端当前没有运行重要应用时,此时可以在第一终端中建立数据转移热点,而为了使得基于该数据转移热点建立第一终端和第二终端之间的数据连接并传输数据时不消耗第一终端的数据流量,所以在建立数据转移热点之前首先判断第一终端的数据网络是否关闭,从而可节约第一终端的数据流量。It can be understood that when the first terminal is not currently running an important application, a data transfer hotspot can be established in the first terminal at this time, and in order to establish and transmit a data connection between the first terminal and the second terminal based on the data transfer hotspot The data flow of the first terminal is not consumed during data, so it is first determined whether the data network of the first terminal is closed before establishing a data transfer hotspot, thereby saving the data flow of the first terminal.

可选地,在本发明的一些实施例中,所述方法还包括:Optionally, in some embodiments of the present invention, the method further includes:

若所述第一终端处于无线网络环境,则判断所述第一终端的数据网络的当前状态是否为开启状态;If the first terminal is in a wireless network environment, determining whether the current state of the data network of the first terminal is an open state;

若所述第一终端的数据网络的当前状态为开启状态,则关闭所述第一终端的数据网络并建立数据转移热点,以使所述第一终端与所述第二终端之间基于所述数据转移热点建立数据连接并转移所述数据。If the current state of the data network of the first terminal is an open state, the data network of the first terminal is closed and a data transfer hotspot is established, so that the connection between the first terminal and the second terminal is based on the A data transfer hotspot establishes a data connection and transfers the data.

可以理解,在第一终端中运行有预设应用时,但此时第一终端处于无线网络环境,从而可以在第一终端中建立数据转移热点,而该预设应用则可以使用无线网络下的数据流量,此时关闭数据流量建立数据转移热点也不会影响该预设应用的使用。It can be understood that when a preset application is running in the first terminal, but the first terminal is in a wireless network environment at this time, a data transfer hotspot can be established in the first terminal, and the preset application can use the wireless network. Data traffic, at this time, closing the data traffic to establish a data transfer hotspot will not affect the use of the preset application.

更进一步地,当第一终端中的预设应用运行完毕后,此时不需要判断终端是否处于无线网络环境,均可以在第一终端中建立数据转移热点并进一步建立第一终端和第二终端之间的数据连接。Furthermore, after the preset application in the first terminal is completed, it is not necessary to determine whether the terminal is in a wireless network environment at this time, and a data transfer hotspot can be established in the first terminal and further establish the first terminal and the second terminal. data connection between.

更进一步地,当终端中运行预设应用时,而此时第一终端需要转移到第二终端的数据的数据流量比较小,此时不需要关闭第一终端的数据流量,而直接在第一终端中建立数据转移热点,由于当需要转移的数据流量较小,所以此时即使使用数据流量进行转移也不会导致较大的流量消耗,并且当不关闭数据流量时,也能使预设应用正常使用,提升用户体验。具体地,可以判断需要转移的数据的大小是否大于一阈值来确定是否建立数据转移热点。Further, when the preset application is running in the terminal, and the data flow of the data that the first terminal needs to transfer to the second terminal is relatively small, it is not necessary to close the data flow of the first terminal at this time, and the data flow of the first terminal is directly A data transfer hotspot is established in the terminal. Since the data traffic to be transferred is small, even if the data traffic is used for transfer at this time, it will not cause a large traffic consumption, and when the data traffic is not turned off, the preset application can be enabled Use it normally to improve user experience. Specifically, it can be determined whether the size of the data to be transferred is larger than a threshold to determine whether to establish a data transfer hotspot.

举例说明,在本发明的一个示例中,当需要将A手机中的通讯录数据和短信数据转移至B手机中,此时由于A手机中正运行地图应用进行导航,为了不影响该导航软件的正常使用,所以此时判断A手机是否处于无线网络环境,而如果A手机在室外使用数据网络,此时首先不进行数据转移。For example, in an example of the present invention, when it is necessary to transfer the address book data and short message data in the mobile phone A to the mobile phone B, at this time, since the map application is running in the mobile phone A for navigation, in order not to affect the normal operation of the navigation software Therefore, it is judged whether the mobile phone A is in the wireless network environment at this time, and if the mobile phone A uses the data network outdoors, the data transfer is not performed at this time.

更进一步地,若此时A手机可使用无线网络,所以此时可直接关闭A手机的数据网络并建立数据转移热点,以基于该数据转移热点建立A手机与B手机之间的数据连接进行通讯录数据和短信数据的转移。Furthermore, if the mobile phone A can use the wireless network at this time, the data network of the mobile phone A can be directly turned off at this time and a data transfer hotspot can be established, so as to establish a data connection between the mobile phone A and the mobile phone B based on the data transfer hotspot for communication. Transfer of recorded data and SMS data.

更进一步地,若此时A手机中运行的为音乐播放器,所以此时可直接关闭A手机的数据网络并建立数据转移热点,以基于该数据转移热点建立A手机与B手机之间的数据连接进行通讯录数据和短信数据的转移。Furthermore, if the music player is running in the mobile phone A at this time, the data network of the mobile phone A can be directly closed and a data transfer hotspot can be established at this time, so as to establish the data between the mobile phone A and the mobile phone B based on the data transfer hotspot. Connect to transfer address book data and SMS data.

更进一步地,当导航完毕后,此时可关闭A手机的数据网络并建立数据转移热点,以基于该数据转移热点建立A手机与B手机之间的数据连接进行通讯录数据和短信数据的转移。Further, after the navigation is completed, the data network of the mobile phone A can be closed and a data transfer hotspot can be established at this time, so as to establish a data connection between the mobile phone A and the mobile phone B based on the data transfer hotspot to transfer the address book data and the short message data. .

可选地,在本发明的一些实施例中,所述方法还包括:Optionally, in some embodiments of the present invention, the method further includes:

设置所述应用与所述建立数据转移热点的优先级等级;setting the priority level of the application and the establishment of a data transfer hotspot;

判断所述第一终端中当前运行的应用是否为预设应用,包括:Determining whether the application currently running in the first terminal is a preset application includes:

判断所述应用的优先级等级是否大于所述建立数据转移热点的优先级等级,以在所述应用的优先级等级大于所述建立数据转移热点的优先级等级时确定所述第一终端中当前运行的应用为预设应用。judging whether the priority level of the application is greater than the priority level of the establishment of a data transfer hotspot, so as to determine whether the priority level of the application is greater than the priority level of the establishment of the data transfer hotspot The running application is the default application.

其中,优先级等级是指用于标识各应用重要性的标识,从而当应用的优先级等级高时,此时则确定需要先执行该应用,而当该应用的优先级等级低于该建立数据转移热点的优先级等级,所以此时可直接建立数据转移热点。The priority level refers to an identifier used to identify the importance of each application, so when the priority level of the application is high, it is determined that the application needs to be executed first, and when the priority level of the application is lower than the establishment data The priority level of the transfer hotspot, so the data transfer hotspot can be established directly at this time.

可以理解,通过优先级等级来确定终端当前运行的应用是否为预设应用,将使得对预设应用的判断更为灵活。It can be understood that determining whether the application currently running on the terminal is a preset application through the priority level will make the judgment on the preset application more flexible.

可选地,在本发明的一些实施例中,所述建立所述数据转移热点之后,所述方法还包括:Optionally, in some embodiments of the present invention, after the data transfer hotspot is established, the method further includes:

对所述数据转移热点设置加密密码,所述加密密码用于对所述第一终端发送所述数据转移热点的连接请求的所述第二终端进行身份验证。An encryption password is set on the data transfer hotspot, where the encryption password is used to authenticate the second terminal that sends the connection request of the data transfer hotspot by the first terminal.

其中,加密密码是指用于验证连接到第一终端建立的第二终端的身份的密码。The encrypted password refers to a password used to verify the identity of the second terminal established by connecting to the first terminal.

更进一步地,在本发明的一些实施例中,所述对所述数据转移热点设置加密密码之后,所述方法还包括:Further, in some embodiments of the present invention, after the encryption password is set on the data transfer hotspot, the method further includes:

在接收到所述第二终端的发送的所述连接请求时,向所述第二终端发送鉴权验证请求;sending an authentication verification request to the second terminal when receiving the connection request sent by the second terminal;

获取所述第二终端发送的鉴权验证密码;obtaining the authentication and verification password sent by the second terminal;

在所述鉴权验证密码为所述加密密码时,通过所述第二终端的所述连接请求并建立所述第一终端与所述第二终端之间的数据连接。When the authentication and verification password is the encrypted password, a data connection between the first terminal and the second terminal is established through the connection request from the second terminal.

其中,鉴权验证密码是指在第二终端请求连接至第一终端时,第一终端所需要第二终端输入的验证密码。The authentication and verification password refers to a verification password that the first terminal needs to input by the second terminal when the second terminal requests to connect to the first terminal.

具体地,在第一终端建立数据转移热点的同时提示用户输入加密密码。Specifically, when the first terminal establishes the data transfer hotspot, the user is prompted to input the encryption password.

具体地,在第二终端向第一终端发送连接请求时,第一终端接收到该连接请求后,指示第二终端输入验证密码,然后在第二终端的界面弹出一对话框,指示用户输入验证密码。参见图2,图2是本发明实施例提供的数据转移热点验证示意图。Specifically, when the second terminal sends a connection request to the first terminal, after receiving the connection request, the first terminal instructs the second terminal to input the verification password, and then a dialog box pops up on the interface of the second terminal, instructing the user to input the verification password password. Referring to FIG. 2, FIG. 2 is a schematic diagram of data transfer hotspot verification provided by an embodiment of the present invention.

可以理解,通过第一终端设置该数据转移热点的加密密码,然后在其它终端请求接入该数据转移热点时,只在其它终端发送的鉴权验证密码与该数据转移热点匹配时,才通过该连接请求,从而防止其它不法终端连接至第一终端的数据转移热点,提高通信安全。It can be understood that the encryption password of the data transfer hotspot is set by the first terminal, and then when other terminals request to access the data transfer hotspot, only when the authentication and verification password sent by other terminals matches the data transfer hotspot, the data transfer hotspot can be passed. connection request, thereby preventing other illegal terminals from connecting to the data transfer hotspot of the first terminal and improving communication security.

可选地,在本发明的一些实施例中,所述第一终端接收用户的数据转移热点的建立请求之后,所述方法还包括:Optionally, in some embodiments of the present invention, after the first terminal receives the user's request for establishing a data transfer hotspot, the method further includes:

判断所述第一终端的无线保真WiFi的当前状态是否为开启状态;Determine whether the current state of the Wi-Fi WiFi of the first terminal is an open state;

若所述第一终端的无线保真WiFi的当前状态为开启状态,则关闭所述WiFi。If the current state of the Wi-Fi WiFi of the first terminal is an on state, the WiFi is turned off.

可以理解,当需要在终端中建立热点时,需要保证终端的WiFi处于关闭状态,所以可以判断终端中的WiFi是否为关闭状态,并在不是关闭状态下关闭终端中的WiFi,以保证热点能顺利建立。It can be understood that when a hotspot needs to be established in the terminal, it is necessary to ensure that the WiFi of the terminal is turned off, so you can judge whether the WiFi in the terminal is turned off, and turn off the WiFi in the terminal if it is not turned off to ensure that the hotspot can run smoothly. Establish.

可选地,在本发明的一些实施例中,所述建立所述第一终端与所述第二终端之间的数据连接之后,所述方法还包括:Optionally, in some embodiments of the present invention, after the data connection between the first terminal and the second terminal is established, the method further includes:

对所述数据连接设置数据连接名称,所述数据连接名称用于唯一标识所述第一终端与所述第二终端之间的数据连接。A data connection name is set for the data connection, where the data connection name is used to uniquely identify the data connection between the first terminal and the second terminal.

更进一步,当有第三终端连接至第一终端时,可再设置一数据连接名称用于标识第一终端与第三终端之间的数据连接。Furthermore, when a third terminal is connected to the first terminal, a data connection name can be set to identify the data connection between the first terminal and the third terminal.

可以理解,通过设置数据连接名称,所以当下次第二终端再将连接到第一终端时,则可以通过名称识别该数据连接,也防止其它终端冒充第二终端连接至第一终端中,提高通信安全。It can be understood that by setting the data connection name, when the second terminal is connected to the first terminal next time, the data connection can be identified by the name, which also prevents other terminals from pretending to be the second terminal to connect to the first terminal, thereby improving communication. Safety.

更进一步地,当第二终端连接至第一终端时,由于第一终端中保存有第一终端与第二终端的数据连接名称,所以此时不需要再对第二终端进行验证。Further, when the second terminal is connected to the first terminal, since the data connection name between the first terminal and the second terminal is stored in the first terminal, the second terminal does not need to be verified at this time.

可选地,在本发明的一些实施例中,所述建立数据转移热点之后,所述方法还包括:Optionally, in some embodiments of the present invention, after the data transfer hotspot is established, the method further includes:

以第一预设时间为周期对外发送信标Beacon广播,所述Beacon中包括所述数据连接的数据连接名称;Send a beacon Beacon broadcast externally with the first preset time as a period, and the Beacon includes the data connection name of the data connection;

判断所述数据连接是否建立;determine whether the data connection is established;

若所述第二终端在超过预设时间阀值时没有建立所述数据连接,则将所述第一预设时间设置为第二预设时间,所述第二预设时间大于所述第一预设时间。If the second terminal does not establish the data connection when the preset time threshold is exceeded, the first preset time is set as a second preset time, and the second preset time is greater than the first preset time. preset time.

可以理解,由于第一终端需要在第一预设时间后外发包括数据连接名称的广播,所以若第一终端与第二终端在第一预设时间内没有建立好数据连接,可以延长广播周期时间,以保证新的数据连接能够建立,保证广播内容的正确。It can be understood that since the first terminal needs to send out a broadcast including the data connection name after the first preset time, if the first terminal and the second terminal do not establish a data connection within the first preset time, the broadcast period can be extended. time to ensure that a new data connection can be established and that the broadcast content is correct.

请参见图3,图3是本发明实施例提供的一种将第一终端中的数据转移至第二终端时的热点建立方法的第二实施例流程示意图。图3所示的方法中,与图1所示方法相同或类似的内容可以参考图1中的详细描述,此处不再赘述。其中,如图3所示,该将第一终端中的数据转移至第二终端时的热点建立方法可以包括以下步骤:Referring to FIG. 3 , FIG. 3 is a schematic flowchart of a second embodiment of a method for establishing a hotspot when data in a first terminal is transferred to a second terminal according to an embodiment of the present invention. In the method shown in FIG. 3 , for the same or similar content as the method shown in FIG. 1 , reference may be made to the detailed description in FIG. 1 , which will not be repeated here. Wherein, as shown in FIG. 3 , the method for establishing a hotspot when transferring data in the first terminal to the second terminal may include the following steps:

S301、第一终端接收用户的数据转移热点的建立请求。S301. The first terminal receives a user's request for establishing a data transfer hotspot.

S302、判断第一终端中当前运行的应用是否为预设应用。S302. Determine whether the application currently running in the first terminal is a preset application.

其中,所述数据转移热点用于建立所述第一终端与所述第二终端之间的数据通道。The data transfer hotspot is used to establish a data channel between the first terminal and the second terminal.

可选地,若第一终端中当前运行的应用为预设应用,则执行步骤S302。Optionally, if the application currently running in the first terminal is a preset application, step S302 is performed.

可选地,若第一终端中当前运行的应用不为预设应用,则执行步骤S303。Optionally, if the application currently running in the first terminal is not the preset application, step S303 is performed.

S303、若第一终端中当前运行的应用为预设应用,判断所述第一终端是否处于无线网络环境。S303. If the application currently running in the first terminal is a preset application, determine whether the first terminal is in a wireless network environment.

S304、若第一终端中当前运行的应用不为预设应用,则判断所述第一终端的数据网络的当前状态是否为开启状态。S304. If the application currently running in the first terminal is not a preset application, determine whether the current state of the data network of the first terminal is an open state.

S305、若所述第一终端的数据网络的当前状态为开启状态,则关闭所述第一终端的数据网络并建立数据转移热点,以使所述第一终端与所述第二终端之间基于所述数据转移热点建立数据连接并转移所述数据。S305. If the current state of the data network of the first terminal is an open state, close the data network of the first terminal and establish a data transfer hotspot, so that the connection between the first terminal and the second terminal is based on the The data transfer hotspot establishes a data connection and transfers the data.

本发明实施例通过判断第一终端中当前运行的应用是否为预设应用,从而在第一终端中当前运行的应用不为预设应用时直接开启第一终端中的数据转移热点,提高热点建立效率。In this embodiment of the present invention, by judging whether the application currently running in the first terminal is a preset application, when the application currently running in the first terminal is not a preset application, the data transfer hotspot in the first terminal is directly opened, thereby improving the establishment of the hotspot. efficiency.

参见图4,图4是本发明实施例提供的一种将第一终端中的数据转移至第二终端时的热点建立方法的第三实施例流程示意图。图4所示的方法中,与图1所示方法相同或类似的内容可以参考图1中的详细描述,此处不再赘述。其中,如图4所示,该将第一终端中的数据转移至第二终端时的热点建立方法可以包括以下步骤:Referring to FIG. 4 , FIG. 4 is a schematic flowchart of a third embodiment of a method for establishing a hotspot when data in a first terminal is transferred to a second terminal according to an embodiment of the present invention. In the method shown in FIG. 4 , for the same or similar content as the method shown in FIG. 1 , reference may be made to the detailed description in FIG. 1 , and details are not repeated here. Wherein, as shown in FIG. 4 , the method for establishing a hotspot when transferring data in the first terminal to the second terminal may include the following steps:

S401、第一终端接收用户的数据转移热点的建立请求。S401. The first terminal receives a user's request for establishing a data transfer hotspot.

S402、判断所述第一终端中当前运行的应用是否为预设应用。S402. Determine whether the application currently running in the first terminal is a preset application.

其中,所述数据转移热点用于建立所述第一终端与所述第二终端之间的数据通道。The data transfer hotspot is used to establish a data channel between the first terminal and the second terminal.

S403、若第一终端中当前运行的应用为预设应用,判断所述第一终端是否处于无线网络环境。S403. If the application currently running in the first terminal is a preset application, determine whether the first terminal is in a wireless network environment.

可选地,若所述第一终端不处于无线网络环境,则执行步骤S403。Optionally, if the first terminal is not in a wireless network environment, step S403 is performed.

可选地,若所述第一终端处于无线网络环境,则执行步骤S404。Optionally, if the first terminal is in a wireless network environment, step S404 is performed.

S404、若所述第一终端不处于无线网络环境,则所述第一终端拒绝所述数据转移热点的建立请求。S404. If the first terminal is not in a wireless network environment, the first terminal rejects the establishment request of the data transfer hotspot.

S405、若所述第一终端处于无线网络环境,则判断所述第一终端的数据网络的当前状态是否为开启状态。S405. If the first terminal is in a wireless network environment, determine whether the current state of the data network of the first terminal is an open state.

S406、若所述第一终端的数据网络的当前状态为开启状态,则关闭所述第一终端的数据网络并建立数据转移热点,以使所述第一终端与所述第二终端之间基于所述数据转移热点建立数据连接并转移所述数据。S406. If the current state of the data network of the first terminal is an open state, close the data network of the first terminal and establish a data transfer hotspot, so that the connection between the first terminal and the second terminal is based on the The data transfer hotspot establishes a data connection and transfers the data.

本发明实施例通过在建立数据转移热点之前,判断第一终端中是否运行重要应用,以及在第一终端中运行重要应用时继续判断第一终端是否处于无线网络环境下,若否,则此时暂时不建立数据转移热点,以保证第一终端中的预设应用能正常执行,使得数据转移热点的建立更贴近用户需求,提升用户体验。In this embodiment of the present invention, before establishing a data transfer hotspot, judging whether an important application is running in the first terminal, and continuing to judge whether the first terminal is in a wireless network environment when an important application is running in the first terminal, if not, at this time The data transfer hotspot is not established temporarily to ensure that the preset application in the first terminal can be executed normally, so that the establishment of the data transfer hotspot is closer to user needs and improves user experience.

参见图5,图5是本发明实施例提供的一种将第一终端中的数据转移至第二终端时的热点建立方法的第四实施例流程示意图。图5所示的方法中,与图1所示方法相同或类似的内容可以参考图1中的详细描述,此处不再赘述。其中,如图5所示,该将第一终端中的数据转移至第二终端时的热点建立方法可以包括以下步骤:Referring to FIG. 5 , FIG. 5 is a schematic flowchart of a fourth embodiment of a method for establishing a hotspot when data in a first terminal is transferred to a second terminal according to an embodiment of the present invention. In the method shown in FIG. 5 , for the same or similar content as the method shown in FIG. 1 , reference may be made to the detailed description in FIG. 1 , and details are not repeated here. Wherein, as shown in FIG. 5 , the method for establishing a hotspot when transferring data in the first terminal to the second terminal may include the following steps:

S501、第一终端接收用户的数据转移热点的建立请求。S501. The first terminal receives a user's request for establishing a data transfer hotspot.

S502、判断所述第一终端中当前运行的应用是否为预设应用。S502. Determine whether the application currently running in the first terminal is a preset application.

其中,所述数据转移热点用于建立所述第一终端与所述第二终端之间的数据通道。The data transfer hotspot is used to establish a data channel between the first terminal and the second terminal.

S503、若第一终端中当前运行的应用为预设应用,判断所述第一终端是否处于无线网络环境。S503. If the application currently running in the first terminal is a preset application, determine whether the first terminal is in a wireless network environment.

可选地,若所述第一终端不处于无线网络环境,则执行步骤S503。Optionally, if the first terminal is not in a wireless network environment, step S503 is performed.

可选地,若所述第一终端处于无线网络环境,则执行步骤S504。Optionally, if the first terminal is in a wireless network environment, step S504 is performed.

S504、若所述第一终端不处于无线网络环境,则所述第一终端拒绝所述数据转移热点的建立请求。S504. If the first terminal is not in a wireless network environment, the first terminal rejects the establishment request of the data transfer hotspot.

S505、若所述第一终端处于无线网络环境,则判断所述第一终端的数据网络的当前状态是否为开启状态。S505. If the first terminal is in a wireless network environment, determine whether the current state of the data network of the first terminal is an open state.

S506、若所述第一终端的数据网络的当前状态为开启状态,则关闭所述第一终端的数据网络并建立数据转移热点,以使所述第一终端与所述第二终端之间基于所述数据转移热点建立数据连接并转移所述数据。S506. If the current state of the data network of the first terminal is an open state, close the data network of the first terminal and establish a data transfer hotspot, so that the connection between the first terminal and the second terminal is based on the The data transfer hotspot establishes a data connection and transfers the data.

S507、对数据转移热点设置加密密码。S507. Set an encryption password for the data transfer hotspot.

其中,该加密密码用于对第一终端发送数据转移热点的连接请求的第二终端进行身份验证。Wherein, the encrypted password is used to authenticate the second terminal that sends the connection request of the data transfer hotspot by the first terminal.

S508、在接收到第二终端的发送的连接请求时,向第二终端发送鉴权验证请求。S508. When receiving the connection request sent by the second terminal, send an authentication verification request to the second terminal.

S509、获取第二终端发送的鉴权验证密码。S509: Obtain the authentication verification password sent by the second terminal.

S510、在鉴权验证密码为加密密码时,通过第二终端的连接请求并建立第一终端与第二终端之间的数据连接。S510. When the authentication and verification password is an encrypted password, establish a data connection between the first terminal and the second terminal through a connection request of the second terminal.

本发明实施例通过在建立数据转移热点之前,判断第一终端中是否运行重要应用,以及在第一终端中运行重要应用时继续判断第一终端是否处于无线网络环境下,若否,则此时暂时不建立数据转移热点,以保证第一终端中的预设应用能正常执行,使得数据转移热点的建立更贴近用户需求,提升用户体验。In this embodiment of the present invention, before establishing a data transfer hotspot, judging whether an important application is running in the first terminal, and continuing to judge whether the first terminal is in a wireless network environment when an important application is running in the first terminal, if not, at this time The data transfer hotspot is not established temporarily to ensure that the preset application in the first terminal can be executed normally, so that the establishment of the data transfer hotspot is closer to user needs and improves user experience.

更进一步地,通过对数据转移热点进行加密,提升数据转移的安全性。Further, by encrypting data transfer hotspots, the security of data transfer is improved.

本发明实施例还提供一种终端设备,该终端设备包括:The embodiment of the present invention also provides a terminal device, the terminal device includes:

接收模块,用于所述终端设备接收用户的数据转移热点的建立请求,所述数据转移热点用于建立所述终端设备与所述第二终端之间的数据通道;a receiving module, configured for the terminal device to receive a user's request for establishing a data transfer hotspot, where the data transfer hotspot is used to establish a data channel between the terminal device and the second terminal;

判断模块,用于判断所述终端设备中当前运行的应用是否为预设应用;a judgment module for judging whether the application currently running in the terminal device is a preset application;

所述判断模块还用于若终端设备中当前运行的应用为预设应用,判断所述终端设备是否处于无线网络环境;The judging module is further configured to judge whether the terminal device is in a wireless network environment if the application currently running in the terminal device is a preset application;

拒绝模块,用于若所述终端设备不处于无线网络环境,则所述终端设备拒绝所述数据转移热点的建立请求。A rejecting module, configured to reject the establishment request of the data transfer hotspot by the terminal device if the terminal device is not in a wireless network environment.

具体的,请参见图6,图6是本发明实施例提供的一种终端设备的第一实施例结构示意图,用于实现本发明实施例公开的将第一终端中的数据转移至第二终端时的热点建立方法。其中,如图6所示,该终端设备600可以包括:Specifically, please refer to FIG. 6. FIG. 6 is a schematic structural diagram of a first embodiment of a terminal device provided by an embodiment of the present invention, which is used to implement the transfer of data in the first terminal to the second terminal disclosed in the embodiment of the present invention. hotspot creation method. Wherein, as shown in FIG. 6, the terminal device 600 may include:

接收模块610、判断模块620和拒绝模块630。A receiving module 610 , a judging module 620 and a rejecting module 630 .

其中,接收模块610,用于所述终端设备接收用户的数据转移热点的建立请求,所述数据转移热点用于建立所述终端设备与所述第二终端之间的数据通道。The receiving module 610 is used for the terminal device to receive a user's request for establishing a data transfer hotspot, where the data transfer hotspot is used to establish a data channel between the terminal device and the second terminal.

判断模块620,用于判断所述终端设备中当前运行的应用是否为预设应用。The judgment module 620 is used for judging whether the application currently running in the terminal device is a preset application.

判断模块620,还用于若第一终端中当前运行的应用为预设应用,判断所述第一终端是否处于无线网络环境。The judgment module 620 is further configured to judge whether the first terminal is in a wireless network environment if the application currently running in the first terminal is a preset application.

拒绝模块630,用于若所述第一终端不处于无线网络环境,则所述第一终端拒绝所述数据转移热点的建立请求。The rejecting module 630 is configured to reject, by the first terminal, the establishment request of the data transfer hotspot if the first terminal is not in a wireless network environment.

可选地,在本发明的一些实施例中,所述数据包括以下至少一种:Optionally, in some embodiments of the present invention, the data includes at least one of the following:

通讯录、短信、通话记录、日程、文档、备忘录、浏览器标签。Contacts, text messages, call logs, schedules, documents, memos, browser tabs.

可以理解的是,本实施例的终端设备600的各功能模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。It can be understood that the functions of each functional module of the terminal device 600 in this embodiment can be specifically implemented according to the methods in the foregoing method embodiments, and the specific implementation process can refer to the relevant descriptions of the foregoing method embodiments, which will not be repeated here.

本发明实施例提供的技术方案中,终端设备600接收用户的数据转移热点的建立请求并判断所述终端设备600中当前运行的应用是否为预设应用,所述数据转移热点用于建立所述终端设备600与所述第二终端之间的数据通道;若终端设备600中当前运行的应用为预设应用,判断所述终端设备600是否处于无线网络环境;若所述终端设备600不处于无线网络环境,则所述终端设备600拒绝所述数据转移热点的建立请求。通过在建立数据转移热点之前,判断终端设备中是否运行重要应用,以及在终端设备中运行重要应用时继续判断终端设备是否处于无线网络环境下,若否,则此时暂时不建立数据转移热点,以保证终端设备中的预设应用能正常执行,使得数据转移热点的建立更贴近用户需求,提升用户体验。In the technical solution provided by the embodiment of the present invention, the terminal device 600 receives a user's request for establishing a data transfer hotspot and determines whether the application currently running in the terminal device 600 is a preset application, and the data transfer hotspot is used to establish the data transfer hotspot. A data channel between the terminal device 600 and the second terminal; if the application currently running in the terminal device 600 is a preset application, determine whether the terminal device 600 is in a wireless network environment; if the terminal device 600 is not in a wireless network environment network environment, the terminal device 600 rejects the establishment request of the data transfer hotspot. By judging whether an important application is running in the terminal device before establishing the data transfer hotspot, and continuing to determine whether the terminal device is in a wireless network environment when the important application is running in the terminal device, if not, the data transfer hotspot will not be established temporarily at this time, In order to ensure that the preset application in the terminal device can be executed normally, the establishment of data transfer hotspots is closer to the user's needs, and the user experience is improved.

请参见图7,图7是本发明实施例提供的终端设备的第二实施例结构示意图,用于实现本发明实施例公开的将第一终端中的数据转移至第二终端时的热点建立方法。其中,图7所示的终端设备是由图6所示的终端设备进行优化得到的。图7所示的终端设备除了包括图6所示的终端设备的模块及功能之外,还有以下扩展:Please refer to FIG. 7. FIG. 7 is a schematic structural diagram of a second embodiment of a terminal device according to an embodiment of the present invention, which is used to implement the method for establishing a hotspot when transferring data from a first terminal to a second terminal disclosed in an embodiment of the present invention. . The terminal device shown in FIG. 7 is obtained by optimizing the terminal device shown in FIG. 6 . In addition to the modules and functions of the terminal device shown in Figure 6, the terminal device shown in Figure 7 has the following extensions:

可选地,在本发明的一些可能的实施方式中,所述判断模块720还用于若第一终端中当前运行的应用不为预设应用,则判断所述第一终端的数据网络的当前状态是否为开启状态;Optionally, in some possible implementations of the present invention, the judging module 720 is further configured to judge the current status of the data network of the first terminal if the application currently running in the first terminal is not a preset application. Whether the status is open;

所述终端设备700还包括:The terminal device 700 further includes:

建立模块740,用于若所述第一终端的数据网络的当前状态为开启状态,则关闭所述第一终端的数据网络并建立数据转移热点,以使所述第一终端与所述第二终端之间基于所述数据转移热点建立数据连接并转移所述数据。The establishment module 740 is configured to close the data network of the first terminal and establish a data transfer hotspot if the current state of the data network of the first terminal is an open state, so that the first terminal and the second terminal are connected to each other. A data connection is established between the terminals based on the data transfer hotspot, and the data is transferred.

可选地,在本发明的一些可能的实施方式中,所述判断模块720还用于若所述第一终端处于无线网络环境,则判断所述第一终端的数据网络的当前状态是否为开启状态。Optionally, in some possible implementations of the present invention, the judging module 720 is further configured to judge whether the current state of the data network of the first terminal is open if the first terminal is in a wireless network environment state.

可选地,在本发明的一些可能的实施方式中,所述终端设备700还包括:Optionally, in some possible implementations of the present invention, the terminal device 700 further includes:

设置模块750,用于设置所述应用与所述建立数据转移热点的优先级等级;a setting module 750, configured to set the priority level of the application and the establishment of a data transfer hotspot;

所述判断模块720判断所述第一终端中当前运行的应用是否为预设应用,具体用于:The judging module 720 judges whether the application currently running in the first terminal is a preset application, and is specifically used for:

判断所述应用的优先级等级是否大于所述建立数据转移热点的优先级等级,以在所述应用的优先级等级大于所述建立数据转移热点的优先级等级时确定所述第一终端中当前运行的应用为预设应用。judging whether the priority level of the application is greater than the priority level of the establishment of a data transfer hotspot, so as to determine whether the priority level of the application is greater than the priority level of the establishment of the data transfer hotspot The running application is the default application.

可选地,在本发明的一些可能的实施方式中,所述设置模块750还用于对所述数据转移热点设置加密密码;Optionally, in some possible implementations of the present invention, the setting module 750 is further configured to set an encryption password for the data transfer hotspot;

所述终端设备700还包括:The terminal device 700 further includes:

获取模块760,用于在接收到所述第二终端的所述连接请求时,获取所述第二终端发送的验证密码;an obtaining module 760, configured to obtain the verification password sent by the second terminal when receiving the connection request from the second terminal;

所述建立模块740还用于:在所述验证密码为所述加密密码时,通过所述第二终端的所述连接请求并建立所述终端设备与所述第二终端之间的数据连接。The establishing module 740 is further configured to establish a data connection between the terminal device and the second terminal through the connection request of the second terminal when the verification password is the encrypted password.

可选地,在本发明的一些可能的实施方式中,所述数据包括以下至少一种:Optionally, in some possible implementations of the present invention, the data includes at least one of the following:

通讯录、短信、通话记录、日程、文档、备忘录、浏览器标签。Contacts, text messages, call logs, schedules, documents, memos, browser tabs.

可以理解的是,本实施例的终端设备700的各功能模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。It can be understood that, the functions of each functional module of the terminal device 700 in this embodiment can be specifically implemented according to the methods in the above method embodiments, and the specific implementation process can refer to the relevant descriptions of the above method embodiments, which will not be repeated here.

本发明实施例提供的技术方案中,终端设备700接收用户的数据转移热点的建立请求并判断所述终端设备700中当前运行的应用是否为预设应用,所述数据转移热点用于建立所述终端设备700与所述第二终端之间的数据通道;若终端设备700中当前运行的应用为预设应用,判断所述终端设备700是否处于无线网络环境;若所述终端设备700不处于无线网络环境,则所述终端设备700拒绝所述数据转移热点的建立请求。通过在建立数据转移热点之前,判断终端设备中是否运行重要应用,以及在终端设备中运行重要应用时继续判断终端设备是否处于无线网络环境下,若否,则此时暂时不建立数据转移热点,以保证终端设备中的预设应用能正常执行,使得数据转移热点的建立更贴近用户需求,提升用户体验。In the technical solution provided by the embodiment of the present invention, the terminal device 700 receives a user's request for establishing a data transfer hotspot and determines whether the application currently running in the terminal device 700 is a preset application, and the data transfer hotspot is used to establish the data transfer hotspot. A data channel between the terminal device 700 and the second terminal; if the application currently running in the terminal device 700 is a preset application, determine whether the terminal device 700 is in a wireless network environment; if the terminal device 700 is not in a wireless network environment network environment, the terminal device 700 rejects the establishment request of the data transfer hotspot. By judging whether an important application is running in the terminal device before establishing the data transfer hotspot, and continuing to determine whether the terminal device is in a wireless network environment when the important application is running in the terminal device, if not, the data transfer hotspot will not be established temporarily at this time, In order to ensure that the preset application in the terminal device can be executed normally, the establishment of data transfer hotspots is closer to the user's needs, and the user experience is improved.

参见图8,图8是本发明实施例提供的终端设备的第三实施例的结构示意图。如图8所示,该终端设备800可以包括:至少一个输入设备801;至少一个输出设备802;至少一个处理器803,例如CPU;和存储器804,上述输入设备801、输出设备802、处理器803和存储器804通过总线805连接。Referring to FIG. 8 , FIG. 8 is a schematic structural diagram of a third embodiment of a terminal device provided by an embodiment of the present invention. As shown in FIG. 8 , the terminal device 800 may include: at least one input device 801; at least one output device 802; at least one processor 803, such as a CPU; and memory 804 are connected by bus 805 .

上述存储器804可以是高速RAM存储器,也可为非不稳定的存储器(non-volatilememory),例如磁盘存储器。上述存储器604用于存储一组程序代码,上述输入设备801、输出设备802和处理器803用于调用存储器804中存储的程序代码,执行如下操作:The above-mentioned memory 804 may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as a disk memory. The above-mentioned memory 604 is used to store a group of program codes, and the above-mentioned input device 801, output device 802 and processor 803 are used to call the program code stored in the memory 804, and perform the following operations:

上述处理器803,用于所述第一终端接收数据转移热点的建立请求,所述数据转移热点用于建立所述第一终端与所述第二终端之间的数据通道;判断所述第一终端中当前运行的应用是否为预设应用;若第一终端中当前运行的应用为预设应用,判断所述第一终端是否处于无线网络环境;若所述第一终端不处于无线网络环境,则所述第一终端拒绝所述数据转移热点的建立请求。。The above processor 803 is used for the first terminal to receive a request for establishing a data transfer hotspot, and the data transfer hotspot is used to establish a data channel between the first terminal and the second terminal; Whether the application currently running in the terminal is a preset application; if the application currently running in the first terminal is a preset application, determine whether the first terminal is in a wireless network environment; if the first terminal is not in a wireless network environment, Then, the first terminal rejects the establishment request of the data transfer hotspot. .

上述处理器803,还用于若第一终端中当前运行的应用不为预设应用,则判断所述第一终端的数据网络的当前状态是否为开启状态;若所述第一终端的数据网络的当前状态为开启状态,则关闭所述第一终端的数据网络并建立数据转移热点,以使所述第一终端与所述第二终端之间基于所述数据转移热点建立数据连接并转移所述数据。The above processor 803 is further configured to judge whether the current state of the data network of the first terminal is an open state if the application currently running in the first terminal is not a preset application; If the current state of the terminal is on, then close the data network of the first terminal and establish a data transfer hotspot, so that a data connection is established between the first terminal and the second terminal based on the data transfer hotspot and all data transfer hotspots are established. stated data.

上述处理器803,还用于若所述第一终端处于无线网络环境,则判断所述第一终端的数据网络的当前状态是否为开启状态;若所述第一终端的数据网络的当前状态为开启状态,则关闭所述第一终端的数据网络并建立数据转移热点,以使所述第一终端与所述第二终端之间基于所述数据转移热点建立数据连接并转移所述数据。The above processor 803 is further configured to determine whether the current state of the data network of the first terminal is an open state if the first terminal is in a wireless network environment; if the current state of the data network of the first terminal is In the ON state, the data network of the first terminal is turned off and a data transfer hotspot is established, so that a data connection is established between the first terminal and the second terminal based on the data transfer hotspot and the data is transferred.

上述处理器803,还用于设置所述应用与所述建立数据转移热点的优先级等级;The above-mentioned processor 803 is further configured to set the priority level of the application and the establishment of a data transfer hotspot;

上述处理器803判断所述第一终端中当前运行的应用是否为预设应用,包括:The above-mentioned processor 803 determines whether the application currently running in the first terminal is a preset application, including:

判断所述应用的优先级等级是否大于所述建立数据转移热点的优先级等级,以在所述应用的优先级等级大于所述建立数据转移热点的优先级等级时确定所述第一终端中当前运行的应用为预设应用。judging whether the priority level of the application is greater than the priority level of the establishment of a data transfer hotspot, so as to determine whether the priority level of the application is greater than the priority level of the establishment of the data transfer hotspot The running application is the default application.

上述处理器803,还用于对所述数据转移热点设置加密密码;The above-mentioned processor 803 is further configured to set an encryption password for the data transfer hotspot;

在接收到所述第二终端的所述连接请求时,获取所述第二终端发送的验证密码;When receiving the connection request from the second terminal, obtain the verification password sent by the second terminal;

在所述验证密码为所述加密密码时,通过所述第二终端的所述连接请求并建立所述第一终端与所述第二终端之间的数据连接。When the verification password is the encrypted password, a data connection between the first terminal and the second terminal is established through the connection request from the second terminal.

可选地,所述数据包括以下至少一种:Optionally, the data includes at least one of the following:

通讯录数据、短信数据、通话记录、日程、文档、备忘录、浏览器标签。Contacts data, SMS data, call logs, schedules, documents, memos, browser tabs.

可以理解的是,本实施例的终端设备800的各功能模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。It can be understood that the functions of each functional module of the terminal device 800 in this embodiment can be specifically implemented according to the methods in the above method embodiments, and the specific implementation process can refer to the relevant descriptions of the above method embodiments, which will not be repeated here.

可以看出,本发明实施例提供的技术方案中,终端设备800接收用户的数据转移热点的建立请求并判断所述终端设备800中当前运行的应用是否为预设应用,所述数据转移热点用于建立所述终端设备800与所述第二终端之间的数据通道;若终端设备800中当前运行的应用为预设应用,判断所述终端设备800是否处于无线网络环境;若所述终端设备800不处于无线网络环境,则所述终端设备800拒绝所述数据转移热点的建立请求。通过在建立数据转移热点之前,判断终端设备中是否运行重要应用,以及在终端设备中运行重要应用时继续判断终端设备是否处于无线网络环境下,若否,则此时暂时不建立数据转移热点,以保证终端设备中的预设应用能正常执行,使得数据转移热点的建立更贴近用户需求,提升用户体验。It can be seen that in the technical solution provided by the embodiment of the present invention, the terminal device 800 receives the user's request for establishing a data transfer hotspot and determines whether the application currently running in the terminal device 800 is a preset application, and the data transfer hotspot uses to establish a data channel between the terminal device 800 and the second terminal; if the application currently running in the terminal device 800 is a preset application, determine whether the terminal device 800 is in a wireless network environment; if the terminal device 800 is in a wireless network environment; 800 is not in a wireless network environment, the terminal device 800 rejects the establishment request of the data transfer hotspot. By judging whether an important application is running in the terminal device before establishing the data transfer hotspot, and continuing to determine whether the terminal device is in a wireless network environment when the important application is running in the terminal device, if not, the data transfer hotspot will not be established temporarily at this time, In order to ensure that the preset application in the terminal device can be executed normally, the establishment of data transfer hotspots is closer to the user's needs, and the user experience is improved.

本发明实施例还提供了一个更为具体的应用场景,如下:上述终端设备为手机,下面结合图9对手机的各个构成部件进行具体的介绍:The embodiment of the present invention also provides a more specific application scenario, as follows: the above-mentioned terminal device is a mobile phone, and each component of the mobile phone is specifically introduced below with reference to FIG. 9 :

RF电路910可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器980处理;另外,将设计上行的数据发送给基站。通常,RF电路910包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low NoiseAmplifier,LNA)、双工器等。此外,RF电路910还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(GlobalSystem of Mobile communication,GSM)、通用分组无线服务(General Packet RadioService,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 910 can be used for receiving and sending signals during sending and receiving of information or during a call. In particular, after receiving the downlink information of the base station, it is processed by the processor 980; in addition, the designed uplink data is sent to the base station. Typically, the RF circuit 910 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuitry 910 may communicate with networks and other devices via wireless communications. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access) , CDMA), Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), email, Short Messaging Service (Short Messaging Service, SMS) and the like.

存储器920可用于存储软件程序以及模块,处理器980通过运行存储在存储器920的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器920可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如锁屏图片显示方法)等;存储数据区可存储根据手机的使用所创建的数据(不同分辨率与压缩比例的锁屏图片)等。此外,存储器920可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 920 can be used to store software programs and modules, and the processor 980 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 920 . The memory 920 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a lock screen picture display method), and the like; Created data (lock screen images of different resolutions and compression ratios), etc. Additionally, memory 920 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

输入单元930可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元930可包括触控面板931、其他输入设备932。触控面板931,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板931上或在触控面板931附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板931可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器980,并能接收处理器980发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板931。除以了触控面板931,输入单元930还可以包括其他输入设备932。具体地,其他输入设备932可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的至少一种。The input unit 930 may be used to receive inputted numerical or character information, and generate key signal input related to user setting and function control of the mobile phone. Specifically, the input unit 930 may include a touch panel 931 and other input devices 932 . The touch panel 931, also referred to as a touch screen, can collect touch operations made by the user on or near it (such as the user's finger, stylus, etc., any suitable object or accessory on or near the touch panel 931). operation), and drive the corresponding connection device according to the preset program. Optionally, the touch panel 931 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To the processor 980, and can receive the command sent by the processor 980 and execute it. In addition, the touch panel 931 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 931 , the input unit 930 may further include other input devices 932 . Specifically, other input devices 932 may include, but are not limited to, at least one of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, and the like.

显示单元940可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元940可包括显示面板941,可选的,可以采用液晶显示器(Liquid CrystalDisplay,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板941。进一步的,触控面板931可覆盖显示面板941,当触控面板931检测到在其上或附近的触摸操作后,传送给处理器980以确定触摸事件的类型,随后处理器980根据触摸事件的类型在显示面板941上提供相应的视觉输出。虽然在图9中,触控面板931与显示面板941是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板931与显示面板941集成而实现手机的输入和输出功能。The display unit 940 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 940 may include a display panel 941. Optionally, the display panel 941 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like. Further, the touch panel 931 can cover the display panel 941. When the touch panel 931 detects a touch operation on or near it, it transmits it to the processor 980 to determine the type of the touch event, and then the processor 980 determines the type of the touch event according to the touch event. Type provides corresponding visual output on display panel 941 . Although in FIG. 9, the touch panel 931 and the display panel 941 are used as two independent components to realize the input and input functions of the mobile phone, in some embodiments, the touch panel 931 and the display panel 941 can be integrated to form Realize the input and output functions of the mobile phone.

手机还可包括至少一种传感器950,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板941的亮度,接近传感器可在手机移动到耳边时,关闭显示面板941和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The cell phone may also include at least one sensor 950, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor can include an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 941 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 941 and/or when the mobile phone is moved to the ear. or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes), and can detect the magnitude and direction of gravity when it is stationary. games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. Repeat.

音频电路960、扬声器961,传声器962可提供用户与手机之间的音频接口。音频电路960可将接收到的音频数据转换后的电信号,传输到扬声器961,由扬声器961转换为声音信号输出;另一方面,传声器962将收集的声音信号转换为电信号,由音频电路960接收后转换为音频数据,再将音频数据输出处理器980处理后,经RF电路910以发送给比如另一手机,或者将音频数据输出至存储器920以便进一步处理。The audio circuit 960, the speaker 961, and the microphone 962 can provide an audio interface between the user and the mobile phone. The audio circuit 960 can convert the received audio data into an electrical signal, and transmit it to the speaker 961, and the speaker 961 converts it into a sound signal for output; on the other hand, the microphone 962 converts the collected sound signal into an electrical signal, which is converted by the audio circuit 960 After receiving, it is converted into audio data, and then the audio data is output to the processor 980 for processing, and then sent to, for example, another mobile phone through the RF circuit 910, or the audio data is output to the memory 920 for further processing.

WiFi属于短距离无线传输技术,手机通过WiFi模块970可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图9示出了WiFi模块970,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-distance wireless transmission technology. The mobile phone can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 970. It provides users with wireless broadband Internet access. Although FIG. 9 shows the WiFi module 970, it can be understood that it is not a necessary component of the mobile phone, and can be completely omitted as required within the scope of not changing the essence of the invention.

处理器980是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器920内的软件程序和/或模块,以及调用存储在存储器920内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器980可包括一个或多个处理单元;优选的,处理器980可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器980中。The processor 980 is the control center of the mobile phone, using various interfaces and lines to connect various parts of the entire mobile phone, by running or executing the software programs and/or modules stored in the memory 920, and calling the data stored in the memory 920. Various functions of the mobile phone and processing data, so as to monitor the mobile phone as a whole. Optionally, the processor 980 may include one or more processing units; preferably, the processor 980 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc. , the modem processor mainly deals with wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 980.

手机还包括给各个部件供电的电源990(比如电池),优选的,电源可以通过电源管理系统与处理器980逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone also includes a power supply 990 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 980 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.

尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may also include a camera, a Bluetooth module, and the like, which will not be repeated here.

前述实施例中,各步骤方法流程可以基于图9所示的终端设备的结构实现。In the foregoing embodiment, the method flow of each step can be implemented based on the structure of the terminal device shown in FIG. 9 .

本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任何图片校验方法的部分或全部步骤。Embodiments of the present invention further provide a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program includes part or all of the steps of any picture verification method described in the above method embodiments.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the sake of simple description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. As in accordance with the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components may be combined or Integration into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本发明的各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes .

以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: The technical solutions described in the embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (9)

1.一种将第一终端中的数据转移至第二终端时的热点建立方法,其特征在于,所述方法包括:1. A method for establishing a hotspot when transferring data in a first terminal to a second terminal, wherein the method comprises: 所述第一终端接收数据转移热点的建立请求,所述数据转移热点用于建立所述第一终端与所述第二终端之间的数据通道;receiving, by the first terminal, a request for establishing a data transfer hotspot, where the data transfer hotspot is used to establish a data channel between the first terminal and the second terminal; 判断所述第一终端中当前运行的应用是否为预设应用;所述预设应用是指终端预设的重要应用;Determine whether the application currently running in the first terminal is a preset application; the preset application refers to an important application preset by the terminal; 若第一终端中当前运行的应用不为预设应用,则判断所述第一终端的数据网络的当前状态是否为开启状态;所述数据网络是指移动运营商网络;If the application currently running in the first terminal is not a preset application, determine whether the current state of the data network of the first terminal is an open state; the data network refers to a mobile operator network; 若所述第一终端的数据网络的当前状态为开启状态,则关闭所述第一终端的数据网络并建立数据转移热点,以使所述第一终端与所述第二终端之间基于所述数据转移热点建立数据连接并转移所述数据;If the current state of the data network of the first terminal is an open state, the data network of the first terminal is closed and a data transfer hotspot is established, so that the connection between the first terminal and the second terminal is based on the A data transfer hotspot establishes a data connection and transfers the data; 若第一终端中当前运行的应用为预设应用,判断所述第一终端是否处于无线网络环境;所述无线网络环境是指不需要消耗数据流量即可以利用网络资源的无线网络环境;If the application currently running in the first terminal is a preset application, determine whether the first terminal is in a wireless network environment; the wireless network environment refers to a wireless network environment that can utilize network resources without consuming data traffic; 若所述第一终端不处于无线网络环境,则所述第一终端拒绝所述数据转移热点的建立请求;若所述第一终端处于无线网络环境,则判断所述第一终端的数据网络的当前状态是否为开启状态;若所述第一终端的数据网络的当前状态为开启状态,则关闭所述第一终端的数据网络并建立数据转移热点,以使所述第一终端与所述第二终端之间基于所述数据转移热点建立数据连接并转移所述数据。If the first terminal is not in a wireless network environment, the first terminal rejects the establishment request of the data transfer hotspot; if the first terminal is in a wireless network environment, judges the data network of the first terminal Whether the current state is an open state; if the current state of the data network of the first terminal is an open state, then close the data network of the first terminal and establish a data transfer hotspot, so that the first terminal and the first terminal can communicate with each other. A data connection is established between the two terminals based on the data transfer hotspot and the data is transferred. 2.根据权利要求1所述的方法,其特征在于,所述方法还包括:2. The method according to claim 1, wherein the method further comprises: 设置所述应用与所述建立数据转移热点的优先级等级;setting the priority level of the application and the establishment of a data transfer hotspot; 判断所述第一终端中当前运行的应用是否为预设应用,包括:Determining whether the application currently running in the first terminal is a preset application includes: 判断所述应用的优先级等级是否大于所述建立数据转移热点的优先级等级,以在所述应用的优先级等级大于所述建立数据转移热点的优先级等级时确定所述第一终端中当前运行的应用为预设应用。judging whether the priority level of the application is greater than the priority level of the establishment of a data transfer hotspot, so as to determine whether the priority level of the application is greater than the priority level of the establishment of the data transfer hotspot The running application is the default application. 3.根据权利要求1所述的方法,其特征在于,所述方法还包括:3. The method according to claim 1, wherein the method further comprises: 对所述数据转移热点设置加密密码;Setting an encryption password for the data transfer hotspot; 在接收到所述第二终端的所述连接请求时,获取所述第二终端发送的验证密码;When receiving the connection request from the second terminal, obtain the verification password sent by the second terminal; 在所述验证密码为所述加密密码时,通过所述第二终端的所述连接请求并建立所述第一终端与所述第二终端之间的数据连接。When the verification password is the encrypted password, a data connection between the first terminal and the second terminal is established through the connection request from the second terminal. 4.根据权利要求1所述方法,其特征在于,所述方法还包括:4. The method according to claim 1, wherein the method further comprises: 当所述第一终端中的所述预设应用运行完毕后,关闭所述第一终端的数据网络并在第一终端中建立数据转移热点,建立第一终端和第二终端之间的数据连接。After the preset application in the first terminal is completed, the data network of the first terminal is closed, a data transfer hotspot is established in the first terminal, and a data connection between the first terminal and the second terminal is established . 5.根据权利要求1所述方法,其特征在于,所述方法还包括:5. The method according to claim 1, wherein the method further comprises: 当所述第一终端中运行所述预设应用时,若所述第一终端需要转移到第二终端的数据的数据流量小于阈值,则不关闭第一终端的数据流量,在所述第一终端中建立数据转移热点。When the preset application is running in the first terminal, if the data flow of the data that the first terminal needs to transfer to the second terminal is less than the threshold, the data flow of the first terminal is not closed, and the first terminal is not closed. A data transfer hotspot is established in the terminal. 6.根据权利要求1所述方法,其特征在于,所述方法还包括:6. The method according to claim 1, wherein the method further comprises: 以第一预设时间为周期对外发送信标Beacon广播,所述Beacon中包括所述数据连接的数据连接名称;判断所述数据连接是否建立;Send a beacon Beacon broadcast externally with the first preset time as a period, and the Beacon includes the data connection name of the data connection; determine whether the data connection is established; 若所述第二终端在超过预设时间阀值时没有建立所述数据连接,则将所述第一预设时间设置为第二预设时间,所述第二预设时间大于所述第一预设时间。If the second terminal does not establish the data connection when the preset time threshold is exceeded, the first preset time is set as a second preset time, and the second preset time is greater than the first preset time. preset time. 7.一种终端设备,其特征在于,所述终端设备包括:7. A terminal device, wherein the terminal device comprises: 接收模块,用于所述终端设备接收用户的数据转移热点的建立请求,所述数据转移热点用于建立所述终端设备与所述第二终端之间的数据通道;a receiving module, configured for the terminal device to receive a user's request for establishing a data transfer hotspot, where the data transfer hotspot is used to establish a data channel between the terminal device and the second terminal; 判断模块,用于判断所述终端设备中当前运行的应用是否为预设应用;若终端设备中当前运行的应用不为预设应用,则判断所述终端设备的数据网络的当前状态是否为开启状态;所述数据网络是指移动运营商网络;A judgment module, configured to judge whether the application currently running in the terminal device is a preset application; if the application currently running in the terminal device is not a preset application, then judge whether the current state of the data network of the terminal device is open Status; the data network refers to the mobile operator network; 所述判断模块还用于若终端设备中当前运行的应用为预设应用,判断所述终端设备是否处于无线网络环境;所述无线网络环境是指不需要消耗数据流量即可以利用网络资源的无线网络环境;The judging module is further configured to judge whether the terminal device is in a wireless network environment if the application currently running in the terminal device is a preset application; the wireless network environment refers to a wireless network that can utilize network resources without consuming data traffic. Web environment; 若所述终端设备处于无线网络环境,则判断所述终端设备的数据网络的当前状态是否为开启状态;若所述终端设备的数据网络的当前状态为开启状态,则关闭所述终端设备的数据网络并建立数据转移热点,以使所述终端设备与所述第二终端之间基于所述数据转移热点建立数据连接并转移所述数据;If the terminal device is in a wireless network environment, determine whether the current state of the data network of the terminal device is an open state; if the current state of the data network of the terminal device is an open state, close the data network of the terminal device network and establish a data transfer hotspot, so that a data connection is established between the terminal device and the second terminal based on the data transfer hotspot and the data is transferred; 拒绝模块,用于若所述终端设备不处于无线网络环境,则所述终端设备拒绝所述数据转移热点的建立请求;a rejecting module, configured to reject the establishment request of the data transfer hotspot by the terminal device if the terminal device is not in a wireless network environment; 建立模块,用于若所述终端设备的数据网络的当前状态为开启状态,则关闭所述终端设备的数据网络并建立数据转移热点,以使所述终端设备与所述第二终端之间基于所述数据转移热点建立数据连接并转移所述数据。The establishment module is configured to close the data network of the terminal device and establish a data transfer hotspot if the current state of the data network of the terminal device is an open state, so that the connection between the terminal device and the second terminal is based on the The data transfer hotspot establishes a data connection and transfers the data. 8.根据权利要求7所述的终端设备,其特征在于,所述终端设备还包括:8. The terminal device according to claim 7, wherein the terminal device further comprises: 所述设置模块,还用于设置所述应用与所述建立数据转移热点的优先级等级;The setting module is further configured to set the priority level of the application and the establishment of a data transfer hotspot; 所述判断模块判断所述终端设备中当前运行的应用是否为预设应用,具体用于:The judgment module judges whether the application currently running in the terminal device is a preset application, and is specifically used for: 判断所述应用的优先级等级是否大于所述建立数据转移热点的优先级等级,以在所述应用的优先级等级大于所述建立数据转移热点的优先级等级时确定所述终端设备中当前运行的应用为预设应用。Judging whether the priority level of the application is greater than the priority level of the establishment of a data transfer hotspot, so as to determine whether the priority level of the application is greater than the priority level of the establishment of a data transfer hotspot to determine the current running in the terminal device The application is the default application. 9.根据权利要求7或8所述的终端设备,其特征在于,9. The terminal device according to claim 7 or 8, wherein, 所述设置模块还用于对所述数据转移热点设置加密密码;The setting module is further configured to set an encryption password for the data transfer hotspot; 所述终端设备还包括:The terminal equipment also includes: 获取模块,用于在接收到所述第二终端的所述连接请求时,获取所述第二终端发送的验证密码;an obtaining module, configured to obtain the verification password sent by the second terminal when receiving the connection request from the second terminal; 所述建立模块还用于:在所述验证密码为所述加密密码时,通过所述第二终端的所述连接请求并建立所述终端设备与所述第二终端之间的数据连接。The establishing module is further configured to establish a data connection between the terminal device and the second terminal through the connection request of the second terminal when the verification password is the encrypted password.
CN201611033847.5A 2016-11-14 2016-11-14 Hotspot establishing method and terminal equipment Active CN106792434B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611033847.5A CN106792434B (en) 2016-11-14 2016-11-14 Hotspot establishing method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611033847.5A CN106792434B (en) 2016-11-14 2016-11-14 Hotspot establishing method and terminal equipment

Publications (2)

Publication Number Publication Date
CN106792434A CN106792434A (en) 2017-05-31
CN106792434B true CN106792434B (en) 2020-01-10

Family

ID=58971826

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611033847.5A Active CN106792434B (en) 2016-11-14 2016-11-14 Hotspot establishing method and terminal equipment

Country Status (1)

Country Link
CN (1) CN106792434B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107659998A (en) * 2017-08-30 2018-02-02 深圳市金立通信设备有限公司 A kind of method, terminal and the computer-readable medium of control data connection
CN114339926B (en) * 2020-09-30 2023-04-28 极米科技股份有限公司 Method for converting terminal operation mode, terminal, network access equipment and medium
CN117715234A (en) * 2022-09-07 2024-03-15 维沃移动通信有限公司 Data channel establishment method, first terminal and second terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102480311A (en) * 2010-11-26 2012-05-30 宏碁股份有限公司 Data transfer method and system between mobile devices
CN105228120A (en) * 2015-11-02 2016-01-06 上海斐讯数据通信技术有限公司 The method and system of data cube computation are kept during a kind of voice call
CN105392169A (en) * 2015-10-19 2016-03-09 小米科技有限责任公司 File transmission method, device and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102711165B (en) * 2012-05-18 2015-03-18 中国科学院信息工程研究所 Radio interface switching method of smart phone
CN105703808A (en) * 2014-11-28 2016-06-22 腾讯科技(深圳)有限公司 Method and device for transmitting data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102480311A (en) * 2010-11-26 2012-05-30 宏碁股份有限公司 Data transfer method and system between mobile devices
CN105392169A (en) * 2015-10-19 2016-03-09 小米科技有限责任公司 File transmission method, device and system
CN105228120A (en) * 2015-11-02 2016-01-06 上海斐讯数据通信技术有限公司 The method and system of data cube computation are kept during a kind of voice call

Also Published As

Publication number Publication date
CN106792434A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN102832975B (en) Data transmission method, data transmission device and terminal with touch screen
WO2018049897A1 (en) Data backup method and device
WO2018049886A1 (en) Hotspot establishment method and terminal device
WO2018049912A1 (en) Data transmission method and related devices
WO2018049971A1 (en) Hotspot network switching method and terminals
WO2018049881A1 (en) Data migration method and device
CN106507269B (en) Data migration method and terminal equipment
CN106658354B (en) Data transmission method and equipment
WO2018103443A1 (en) Network positioning method and terminal device
BR112016018783B1 (en) METHOD, APPARATUS, DEVICE AND INTERCOMMUNICATION SYSTEM
CN106484326B (en) Data transmission processing method and mobile terminal
WO2018049969A1 (en) Hotspot establishment method and related device
WO2018049970A1 (en) Hotspot network switching method and terminal
CN106502826A (en) Data backup and transmission method and mobile terminal
CN106534324A (en) Data sharing method and cloud server
WO2018049901A1 (en) Data migration method and related devices
CN106790981A (en) A terminal device setting method and terminal device
CN106469028A (en) A data migration method and mobile terminal
WO2014094600A1 (en) Mobile terminal and method for reducing power consumption thereof
CN106445739B (en) Data migration method and terminal equipment
CN106792434B (en) Hotspot establishing method and terminal equipment
CN106714279A (en) A hotspot network switching method and terminal equipment
WO2018049968A1 (en) Hotspot establishment method and terminals
CN106453571A (en) Data migration method and terminal
CN106686704B (en) Terminal monitoring method and mobile terminal

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.