CN107613081B - Method and device for recording data connection information in mobile terminal - Google Patents

Method and device for recording data connection information in mobile terminal Download PDF

Info

Publication number
CN107613081B
CN107613081B CN201710691779.XA CN201710691779A CN107613081B CN 107613081 B CN107613081 B CN 107613081B CN 201710691779 A CN201710691779 A CN 201710691779A CN 107613081 B CN107613081 B CN 107613081B
Authority
CN
China
Prior art keywords
information
connection
data connection
data
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710691779.XA
Other languages
Chinese (zh)
Other versions
CN107613081A (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.)
Beijing Anyun Century Technology Co Ltd
Original Assignee
Beijing Anyun Century Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Anyun Century Technology Co Ltd filed Critical Beijing Anyun Century Technology Co Ltd
Priority to CN201710691779.XA priority Critical patent/CN107613081B/en
Publication of CN107613081A publication Critical patent/CN107613081A/en
Application granted granted Critical
Publication of CN107613081B publication Critical patent/CN107613081B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a device for recording data connection information in a mobile terminal, relates to the technical field of communication, and realizes that the corresponding connection mode of a contact and related data connection information are checked in an address list by associating the data connection information of the mobile terminal with the information in the address list. The main technical scheme of the invention is as follows: when data connection is established with connection equipment, acquiring data connection information and equipment communication information of the connection equipment, wherein the equipment communication information is data information recorded in an address list; searching a corresponding contact in a local address book according to the equipment communication information; and if the contact exists, adding the data connection information into the communication information of the contact so as to trigger the data connection information in an operable interface of the contact in the address book and establish data connection with the connection equipment. The invention is mainly used for recording the data connection information.

Description

Method and device for recording data connection information in mobile terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for recording data connection information in a mobile terminal.
Background
With the development of mobile Communication technology, especially the popularization of smart phones, networking activities bring more and more convenience to people, people can realize operations such as conversation, video, payment, data sharing and the like through mobile phones, and the realization of the operations is based on data connection of mobile phones or mobile terminal devices, and currently, mainstream WIreless connection modes include Wi-Fi (WIreless-Fidelity, WIreless broadband), bluetooth, NFC (Near Field Communication ), ZigBee and the like. Generally, when a data connection is made, a mobile phone records connection information of the data connection, for example, when a Wi-Fi network is connected, the mobile phone automatically records connection information such as a network name and a connection password of the Wi-Fi network. However, when a user inquires about the connection information in the mobile phone, because the content recorded in the connection information is relatively simplified, when the connection information is relatively large, the user is difficult to establish a corresponding relationship between the connection information and a specific connection device, so that when the user of the mobile phone needs to establish a data connection with a certain terminal device, the user of the mobile phone cannot quickly inquire whether the terminal device has established the data connection once and which specific connection mode, and when the terminal device has multiple connection modes, the user of the mobile phone is more difficult to determine the optimal data connection mode.
Disclosure of Invention
In view of this, the present invention provides a method and an apparatus for recording data connection information in a mobile terminal, which enable a connection mode corresponding to a contact and related data connection information to be checked in an address book by associating the data connection information of the mobile terminal with information in the address book.
According to an aspect of the present invention, there is provided a method for recording data connection information in a mobile terminal, the method including:
when data connection is established with connection equipment, acquiring data connection information and equipment communication information of the connection equipment, wherein the equipment communication information is data information recorded in an address list;
searching a corresponding contact in a local address book according to the equipment communication information;
and if the contact exists, adding the data connection information into the communication information of the contact so as to trigger the data connection information in an operable interface of the contact in the address book and establish data connection with the connection equipment.
According to another aspect of the present invention, there is provided an apparatus for recording data connection information in a mobile terminal, the apparatus comprising:
the device comprises an acquisition unit, a processing unit and a communication unit, wherein the acquisition unit is used for acquiring data connection information and device communication information of a connection device when establishing data connection with the connection device, and the device communication information is data information recorded in an address list;
the query unit is used for searching a corresponding contact in a local address book according to the equipment communication information acquired by the acquisition unit;
and the adding unit is used for adding the data connection information acquired by the acquiring unit into the communication information of the contact person when the contact person is found by the inquiring unit so as to trigger the data connection information in an operable interface of the contact person in the address list and establish data connection with the connecting equipment.
The invention adopts a method and a device for recording data connection information in a mobile terminal, which are characterized in that when the mobile terminal establishes data connection with other terminal equipment, corresponding equipment communication information is acquired from the terminal equipment and relevant information of the data connection is recorded, the acquired equipment communication information is utilized to match in a local address book, and the relevant information of the data connection is added into the corresponding contact information in the local address book when the matching is successful, so that when a user of the mobile terminal checks the contact information in the address book, whether the data connection is established between the local equipment and the terminal equipment corresponding to a contact or not can be quickly checked, a specific connection mode can be obtained according to the specific relevant information of the data connection, and the user can directly establish the data connection with the corresponding terminal equipment under a contact information interface through the added data connection information in the contact, therefore, the process of establishing the data connection is simpler and more targeted, and the operation experience of establishing the data connection by a user is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating a method for recording data connection information in a mobile terminal according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for recording data connection information in another mobile terminal according to an embodiment of the present invention;
fig. 3 is a block diagram illustrating a recording apparatus for data connection information in a mobile terminal according to an embodiment of the present invention;
fig. 4 is a block diagram showing a recording apparatus for data connection information in another mobile terminal according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
The embodiment of the invention provides a method for recording data connection information in a mobile terminal, which is mainly used for identifying terminal equipment for data connection, recording the data connection information, storing the data connection information in a local address book, so that a user can check the data connection information of different contacts and corresponding connection modes in the address book, and directly initiate data connection to the terminal equipment corresponding to the contacts through the address book, and the following description is given for the specific recording mode of the data connection information, wherein the specific steps are shown in fig. 1 and comprise:
101. and when the data connection is established with the connecting equipment, acquiring the data connection information and the equipment communication information of the connecting equipment.
The connection mode of the data connection established between the mobile terminal and the connection device in the embodiment of the invention is wireless connection, the current mainstream wireless connection mode comprises Wi-Fi, Bluetooth, NFC, ZigBee and the like, and the current mainstream wireless connection mode also comprises some leading edge wireless connection modes, such as ultra wide band UWB wireless technology, also called pulse radio technology. Because the UWB system can provide reliable data transmission of over 480Mbps indoors under the condition of very low power spectral density. Compared with the current popular short-distance wireless communication technology, the UWB has huge data transmission rate advantage, and can provide the transmission rate of more than 1000Mbps at most. Through the wireless connection mode, the mobile terminal and the connection device can transmit data, and real-time interaction of data is realized, which is also an important direction for the development of the existing mobile terminal.
When establishing data connection, a general flow is that a connection request is sent by a connection initiator, and a data connection is established after the connection request is received by a connection receiver, wherein in the process of establishing the data connection, an authentication step of connecting equipment generally exists, different connection modes are different, and the adopted authentication modes are different, for example, when Wi-Fi connection is established, the connection receiver sets fixed connection authentication information, the connection initiator sends the connection authentication information for authentication, and Wi-Fi connection can be realized after the connection authentication information passes, while when bluetooth connection is performed, the connection initiator sends pairing information, the receiver sends corresponding authentication information to the initiator according to the pairing information, and the initiator realizes the establishment of the bluetooth connection after the authentication passes. It can be seen that, in the process of establishing the data connection, there may be information for establishing the data connection, and the information is recorded and stored, and at the same time, device communication information of the connected device is obtained, where the device communication information refers to data information recorded in a device address book, for example, a contact name, a phone number, and the like in a mobile phone address book. It should be noted that the device communication information in the embodiment of the present invention refers to identification information of the connection device itself, for example, a name or a number of a contact in a mobile phone address book should be a name or a number of a mobile phone owner.
In addition, the device communication information of the connection device is obtained without distinguishing whether the device communication information of the connection initiator is obtained or the device communication information of the connection receiver is obtained, that is, in the process of establishing data connection, all the connected terminals can obtain the device communication information of the opposite terminal.
102. And searching a corresponding contact in the local address list according to the equipment communication information.
After the data connection is established, the mobile terminal obtains the device communication information of the opposite-end connection device, and since the device communication information is the data information recorded in the address book, the terminal device matches the obtained device information with the information stored in the local address book, and when the matching is successful, the connection device is indicated to correspond to the contact in the local address book, and then step 103 is executed.
When the specific matching is carried out, the equipment communication information can be matched with the contact person information in the local address list one by one; or extracting the equipment communication information in the contact information in the local address book, comparing the equipment communication information with the equipment communication information of the connected equipment, and determining to extract the contact information corresponding to the equipment communication information after matching the same equipment communication information. The embodiment of the present invention is not particularly limited with respect to a specific data matching method.
103. And adding the data connection information into the communication information of the corresponding contact.
When the contact information in the local address book contains the equipment communication information of the connected equipment, the mobile equipment adds the data connection information of the connected equipment to the contact information. Generally, the contact information in the address book of the mobile terminal includes a contact name, device communication information, remark information, and the like. In the embodiment of the present invention, a column of information content is added to contact information for recording data connection information of the contact, wherein the data connection information mainly includes a connection manner and corresponding connection information, a plurality of different data connection information can be added to the added column of information, and a trigger button is set for each data connection information, and a user can directly send a data connection request to a terminal device corresponding to the contact through the trigger button, so as to implement data connection in an address book. The advantage of implementing data connection under the address book is that data connection request can be sent directionally without selecting specific connection object in the connection list.
The method for recording data connection information in a mobile terminal according to the embodiments of the present invention is to obtain corresponding device communication information from a terminal device and record related information of data connection when the mobile terminal establishes data connection with other terminal devices, match the obtained device communication information in a local address book, add the related information of data connection to corresponding contact information in the local address book when the matching is successful, so that a user of the mobile terminal can quickly check whether data connection has been established between the local device and the terminal device corresponding to the contact when checking the contact information in the address book, and can also obtain a specific connection mode according to the specific related information of data connection, and can enable the user to establish data connection with the corresponding terminal device directly under a contact information interface through the data connection information added in the contact, therefore, the process of establishing the data connection is simpler and more targeted, and the operation experience of establishing the data connection by a user is improved.
Further, to describe in more detail the implementation of the above method for recording data connection information in a mobile terminal in practical application, and particularly to specifically describe the implementation in a mobile phone, in an embodiment of the present invention, the mobile terminal performing wireless connection is set as a smart phone, and specifically as shown in fig. 2, the method includes:
201. and acquiring data connection information and equipment communication information of the connected equipment.
In the embodiment of the invention, the data connection information and the equipment communication information of the connecting equipment are acquired simultaneously when the data connection is established. That is, when the data connection request is sent to the connection device, the acquisition request of the device communication information is also sent, and when the connection device receives the data connection request, the response information of the acquisition request of the device communication information is fed back together, and the response information is the local communication information of the connection device. In practical applications, the data connection request and the device communication information acquisition request may be bound as a data connection establishment request, and received and responded by the connection device. For the connection device, after receiving a request for establishing a data connection, the connection device analyzes the request for establishing the data connection, acquires operation information of a user for the data connection request to determine whether to accept the data connection, and if the user accepts the data connection request, the connection device acquires communication information of the device according to the request for acquiring the communication information of the device and sends the communication information to a sender of the request for establishing. For the mobile terminal sending the data connection establishment, the mobile terminal receives the device communication information fed back by the connection device, and simultaneously synchronously records the data connection information applied in the data connection establishment process, such as an authentication password, a pairing password, a device name of the connection device, and the like.
It should be noted that, this step is an operation that needs to be executed in the process of using the mobile phone to perform data connection, and before that, there are two operation modes mainly used by the mobile phone user when the mobile phone user needs to establish wireless data connection with another mobile phone, one is that the connection device is searched through a connection list in a function interface of a specified connection mode, and an establishment request is sent to the selected device through user selection, taking bluetooth connection as an example, the user needs to start the bluetooth function first, then searches for the device that needs to be connected in the bluetooth function list, and sends pairing information to the selected device after determining, so as to perform the step of establishing bluetooth connection. And the other method is that a contact person needing to establish wireless data connection is searched in the address list, the communication information of the contact person is checked, whether relevant data connection information exists or not is judged, and if the relevant data connection information exists, the data connection information is utilized to directly establish data connection with the terminal equipment corresponding to the contact person. That is, the user can initiate a request for establishing data connection to the mobile phone of the contact by searching the contact in the local address book. When the contact information contains data connection information of a plurality of different connection modes, for example, in one contact, a plurality of connection modes such as Wi-Fi, bluetooth, UWB and the like may exist at the same time, at this time, the user may select one connection mode to establish the data connection according to the own needs, or may select one connection mode to provide to the user according to a preset rule by the mobile phone system, and the user is suggested to establish the data connection using the recommended connection mode. The preset rule may be set by a user in a self-defined manner, for example, according to the number of times of connection establishment, or according to a current network state, or based on a specific connection mode of last connection establishment, and the specific rule is not specifically limited in the embodiment of the present invention.
For the mode of initiating the establishment request in the address list, in practical application, a column of wireless connection functions can be added in a contact person of the mobile phone address list, corresponding connection keys can be displayed in the function column according to the connection modes of the mobile phone and the mobile phone of the contact person, a user can send the connection establishment request in the corresponding connection mode by triggering different connection keys, the connection mode is recommended to the user corresponding to a preset rule, the position of each connection key can not be fixed in the function column, the connection keys are displayed in a sequence according to the preset rule, and the recommended connection mode is displayed in the front.
202. And searching a corresponding contact in the local address list according to the equipment communication information.
The specific content of this step is the same as that of step 102 in the above embodiment, specifically, in this embodiment, the mobile phone extracts the contact information in the local address book, including information such as contact name, mobile phone number, and the like, and compares the contact information with the acquired communication information connected to the mobile phone to query, if the same communication information exists, step 203 is executed, and if the same communication information does not exist, step 204 is executed.
203. And adding the data connection information into the communication information of the corresponding contact.
The method comprises the steps that a function bar for adding data connection is arranged in contact person information in a mobile phone address list, when a corresponding contact person is stored in a local address list of a connected mobile phone, the local mobile phone analyzes a current connection mode according to the data connection information, and adds the determined connection mode into the function bar for data connection in an icon or connection key mode. In practical applications, there are two different situations when adding data connection information: one is that there is no icon or connection key added in the function bar, which indicates that the connection mode is the first use, at this time, the icon or connection key is directly added in the function bar, and the data connection information is associated with the added icon or connection key, so that the user can establish data connection with the contact mobile phone by using the data connection information when triggering the icon or connection key at a later date. And the other is that an icon or a connection key of the connection mode already exists in the function bar, which indicates that the connection mode is not used for the first time, at this time, the system judges whether the data connection information associated with the existing icon or connection key is the same as the data connection information acquired this time, if so, the system does not process the data connection information, and if not, the data connection information acquired this time is used for replacing the stored data connection information. Or the newly acquired data connection information may be directly substituted for the stored data connection information without making a judgment. Thereby ensuring that the data connection information associated with the icon or the connection key is the latest valid information.
204. And adding the data connection information into the communication information of the newly-built contact person in the address book.
If the currently connected mobile phone does not have a corresponding contact in the local address book, the embodiment of the invention newly establishes a contact in the local address book, simultaneously adds the equipment communication information acquired from the connected mobile phone into the communication information of the newly established contact, and adds a corresponding icon or function key in a function bar of data connection in the newly established contact according to the data connection information to establish the association relationship between the icon or function key and the data connection information. That is to say, in a specific application process, if the connected device is not found in the local address book, then, according to the established data connection, the local mobile phone will newly create a contact in the address book, and record the obtained device information into the information of the contact, where the device information mainly includes the name, number, and the like of the contact, and more importantly, a currently connected connection mode icon or connection key is added in the function bar of the data connection in the contact information.
The above detailed description describes a specific implementation manner of the method for recording data connection information in a mobile terminal according to the present invention, and as a specific apparatus for implementing the method, an embodiment of the present invention further provides an apparatus for recording data connection information in a mobile terminal, as shown in fig. 3 specifically, the apparatus includes:
an obtaining unit 31, configured to obtain data connection information and device communication information of a connection device when establishing a data connection with the connection device, where the device communication information is data information recorded in an address book;
the query unit 32 is configured to search a corresponding contact in a local address book according to the device communication information acquired by the acquisition unit 31;
the adding unit 33 is configured to add the data connection information acquired by the acquiring unit 31 to the communication information of the contact when the querying unit 32 finds the contact, so as to trigger the data connection information in an operable interface of the contact in the address book and establish data connection with the connection device.
Further, as shown in fig. 4, the apparatus further includes:
the judging unit 34 is configured to, before establishing data connection with a terminal device of a contact in an address list, search whether data connection information is recorded in communication information of the contact;
a connection creating unit 35, configured to, when the determining unit 34 determines that data connection information is recorded in the communication information of the contact, establish a corresponding data connection with the terminal device by using the data connection information.
Further, the connection creating unit 35 is further configured to, when there are a plurality of data connection information of different connection modes, select data connection information of one connection mode according to a preset rule to establish data connection; or determining data connection information of a connection mode according to a selection result fed back by the operation interface to establish data connection.
Further, as shown in fig. 4, the apparatus further includes:
the establishing unit 36 is configured to, when the querying unit 32 queries that the contact does not exist, newly establish a contact in the address book;
the adding unit 33 is further configured to add the device communication information of the connection device to the communication information of the contact newly established by the establishing unit 36;
the recording unit 37 is configured to add a corresponding connection mode to the communication information of the contact newly established by the establishing unit 36 according to the data connection information of the connection device, and record the data connection information in the connection mode.
Further, as shown in fig. 4, the adding unit 33 includes:
a determining module 331, configured to determine a connection mode according to the data connection information;
a judging module 332, configured to judge whether the communication information of the contact has the connection mode determined by the determining module 331;
an adding module 333, configured to create the connection manner in the communication information of the contact when the determining module 332 determines that the connection manner does not exist, and add the data connection information to the created connection manner;
a replacing module 334, configured to replace the stored data connection information with the data connection information when the determining module 332 determines that the connection manner exists.
Further, as shown in fig. 4, the acquiring unit 31 includes:
a sending module 311, configured to send a request for establishing a data connection to the connection device, where the request for establishing includes an obtaining request for obtaining device communication information of the connection device;
a receiving module 312, configured to receive the device communication information sent by the connection device and record data connection information applied in the process of establishing the data connection when the connection device receives the establishment request sent by the sending module.
To sum up, the method and apparatus for recording data connection information in a mobile terminal according to embodiments of the present invention acquire corresponding device communication information from a terminal device and record related information of data connection when the mobile terminal establishes data connection with other terminal devices, perform matching in a local address book using the acquired device communication information, add the related information of data connection to corresponding contact information in the local address book when matching is successful, so that a user of the mobile terminal can quickly check whether data connection has been established between the terminal device corresponding to a local device and a contact when checking the contact information in the address book, and can obtain a specific connection mode according to the specific related information of data connection, and can enable the user to directly establish data connection with the corresponding terminal device under a contact information interface through the data connection information added in the contact, therefore, the process of establishing the data connection is simpler and more targeted, and the operation experience of establishing the data connection by a user is improved.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It is understood that the above-mentioned cloud server and related features in the device may be mutually referred to. In addition, "first", "second", and the like in the above embodiments are for distinguishing the embodiments, and do not represent merits of the embodiments.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the apparatus and the unit described above may refer to the corresponding processes in the foregoing embodiment of the cloud server, and are not described herein again.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known cloud servers, structures, and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the invention and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed cloud server should not be interpreted to reflect the intent: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any cloud server or device so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components in the title of the invention (e.g., means for determining the level of connectivity within a web site) in accordance with an embodiment of the invention. The present invention may also be embodied as devices or apparatus programs (e.g., computer programs and computer program products) for executing a portion or all of the cloud servers described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
The invention also discloses the following technical scheme:
a1, a method for recording data connection information in a mobile terminal, the method comprising:
when data connection is established with connection equipment, acquiring data connection information and equipment communication information of the connection equipment, wherein the equipment communication information is data information recorded in an address list;
searching a corresponding contact in a local address book according to the equipment communication information;
and if the contact exists, adding the data connection information into the communication information of the contact so as to trigger the data connection information in an operable interface of the contact in the address book and establish data connection with the connection equipment.
A2, the method of A1, the method further comprising:
before establishing data connection with terminal equipment of a contact person in an address list, searching whether data connection information is recorded in communication information of the contact person;
and if so, establishing corresponding data connection with the terminal equipment by using the data connection information.
A3, according to the method of A2, the establishing the corresponding data connection with the terminal device by using the data connection information includes:
when a plurality of data connection information of different connection modes exist, selecting data connection information of one connection mode according to a preset rule to establish data connection;
or determining data connection information of a connection mode according to a selection result fed back by the operation interface to establish data connection.
A4, the method of A1, the method further comprising:
if the contact does not exist, a new contact is established in the address list;
adding the equipment communication information of the connecting equipment into the communication information of the contact;
and adding a corresponding connection mode in the communication information of the contact person according to the data connection information of the connection equipment, and recording the data connection information in the connection mode.
A5, the method according to any one of A1-A4, wherein the adding the data connection information to the communication information of the contact includes:
determining a connection mode according to the data connection information;
judging whether the connection mode exists in the communication information of the contact person;
if the data connection information does not exist, the connection mode is established in the communication information of the contact person, and the data connection information is added into the established connection mode;
and if so, replacing the stored data connection information with the data connection information.
A6, according to the method of a1, when establishing data connection with a connection device, acquiring data connection information and device communication information of the connection device includes:
sending a request for establishing data connection to the connection equipment, wherein the request for establishing data connection comprises an acquisition request for acquiring equipment communication information of the connection equipment;
and when the connection equipment receives the establishment request, receiving equipment communication information sent by the connection equipment, and recording data connection information applied in the data connection establishment process.
B7, an apparatus for recording data connection information in a mobile terminal, the apparatus comprising:
the device comprises an acquisition unit, a processing unit and a communication unit, wherein the acquisition unit is used for acquiring data connection information and device communication information of a connection device when establishing data connection with the connection device, and the device communication information is data information recorded in an address list;
the query unit is used for searching a corresponding contact in a local address book according to the equipment communication information acquired by the acquisition unit;
and the adding unit is used for adding the data connection information acquired by the acquiring unit into the communication information of the contact person when the contact person is found by the inquiring unit so as to trigger the data connection information in an operable interface of the contact person in the address list and establish data connection with the connecting equipment.
B8, the apparatus of B7, the apparatus further comprising:
the judging unit is used for searching whether data connection information is recorded in the communication information of the contact person before establishing data connection with the terminal equipment of the contact person in the address list;
and the connection establishing unit is used for establishing corresponding data connection with the terminal equipment by using the data connection information when the judging unit judges that the data connection information is recorded in the communication information of the contact person.
B9, the apparatus according to B8, the connection creating unit is further configured to select data connection information of one connection mode according to a preset rule to establish data connection when there are data connection information of a plurality of different connection modes; or determining data connection information of a connection mode according to a selection result fed back by the operation interface to establish data connection.
B10, the apparatus of B7, the apparatus further comprising:
the establishing unit is used for establishing a new contact in the address list when the inquiring unit inquires that the contact does not exist;
the adding unit is also used for adding the equipment communication information of the connecting equipment into the communication information of the contact person newly established by the establishing unit;
and the recording unit is used for adding a corresponding connection mode in the communication information of the contact person according to the data connection information of the connection equipment and recording the data connection information in the connection mode.
B11, the device according to any one of B7-B10, the addition unit comprising:
the determining module is used for determining a connection mode according to the data connection information;
the judging module is used for judging whether the communication information of the contact person has the connection mode determined by the determining module;
the adding module is used for creating the connection mode in the communication information of the contact person and adding the data connection information into the created connection mode when the judging module judges that the connection mode does not exist;
and the replacing module is used for replacing the stored data connection information with the data connection information when the judging module judges that the connection mode exists.
B12, the apparatus according to B7, the obtaining unit includes:
a sending module, configured to send a request for establishing a data connection to the connection device, where the request for establishing includes an acquisition request for acquiring device communication information of the connection device;
and the receiving module is used for receiving the equipment communication information sent by the connecting equipment and recording the data connection information applied in the data connection establishing process when the connecting equipment receives the establishing request sent by the sending module.

Claims (12)

1. A method for recording data connection information in a mobile terminal, the method comprising:
when data connection is established with connection equipment, acquiring data connection information and equipment communication information of the connection equipment, wherein the equipment communication information is data information recorded in an address list;
searching a corresponding contact in a local address book according to the equipment communication information;
if the contact exists, adding the data connection information into the communication information of the contact so as to trigger the data connection information in an operable interface of the contact in an address book and establish data connection with the connection equipment;
when the contact has data connection information of a plurality of different connection modes, setting a connection key corresponding to the data connection information in a preset wireless connection function bar according to a preset rule; if the connection key corresponding to the data connection information is empty, adding the connection key corresponding to the data connection information, otherwise, judging whether the data connection information is the same as the stored information corresponding to the connection key, if so, retaining the stored information, and if not, updating the stored information by the data connection information; the wireless connection function bar is arranged in the local address list and used for displaying corresponding connection keys according to data connection information of contacts in the local address list; and sending a connection establishment request in a corresponding connection mode when the connection key is triggered.
2. The method of claim 1, further comprising:
before establishing data connection with terminal equipment of a contact person in an address list, searching whether data connection information is recorded in communication information of the contact person;
and if so, establishing corresponding data connection with the terminal equipment by using the data connection information.
3. The method according to claim 2, wherein the establishing the corresponding data connection with the terminal device by using the data connection information comprises:
when a plurality of data connection information of different connection modes exist, selecting data connection information of one connection mode according to a preset rule to establish data connection;
or determining data connection information of a connection mode according to a selection result fed back by the operation interface to establish data connection.
4. The method of claim 1, further comprising:
if the contact does not exist, a new contact is established in the address list;
adding the equipment communication information of the connecting equipment into the communication information of the contact;
and adding a corresponding connection mode in the communication information of the contact person according to the data connection information of the connection equipment, and recording the data connection information in the connection mode.
5. The method of any of claims 1-4, wherein the adding the data connection information to the contact's correspondence information comprises:
determining a connection mode according to the data connection information;
judging whether the connection mode exists in the communication information of the contact person;
if the data connection information does not exist, the connection mode is established in the communication information of the contact person, and the data connection information is added into the established connection mode;
and if so, replacing the stored data connection information with the data connection information.
6. The method of claim 1, wherein obtaining data connection information and device communication information of a connection device when establishing a data connection with the connection device comprises:
sending a request for establishing data connection to the connection equipment, wherein the request for establishing data connection comprises an acquisition request for acquiring equipment communication information of the connection equipment;
and when the connection equipment receives the establishment request, receiving equipment communication information sent by the connection equipment, and recording data connection information applied in the data connection establishment process.
7. An apparatus for recording data connection information in a mobile terminal, the apparatus comprising:
the device comprises an acquisition unit, a processing unit and a communication unit, wherein the acquisition unit is used for acquiring data connection information and device communication information of a connection device when establishing data connection with the connection device, and the device communication information is data information recorded in an address list;
the query unit is used for searching a corresponding contact in a local address book according to the equipment communication information acquired by the acquisition unit;
the adding unit is used for adding the data connection information acquired by the acquiring unit into the communication information of the contact person when the contact person is found by the inquiring unit so as to trigger the data connection information in an operable interface of the contact person in an address list and establish data connection with the connecting equipment;
the device further comprises:
the connection establishing unit is used for setting a connection key corresponding to the data connection information in a preset wireless connection function bar according to a preset rule when the contact has the data connection information of a plurality of different connection modes; if the connection key corresponding to the data connection information is empty, adding the connection key corresponding to the data connection information, otherwise, judging whether the data connection information is the same as the stored information corresponding to the connection key, if so, retaining the stored information, and if not, updating the stored information by the data connection information; the wireless connection function bar is arranged in the local address list and used for displaying corresponding connection keys according to data connection information of contacts in the local address list; and sending a connection establishment request in a corresponding connection mode when the connection key is triggered.
8. The apparatus of claim 7, further comprising:
the judging unit is used for searching whether data connection information is recorded in the communication information of the contact person before establishing data connection with the terminal equipment of the contact person in the address list;
and the connection establishing unit is used for establishing corresponding data connection with the terminal equipment by using the data connection information when the judging unit judges that the data connection information is recorded in the communication information of the contact person.
9. The apparatus according to claim 8, wherein the connection creating unit is further configured to select data connection information of one connection method according to a preset rule to establish the data connection when there are data connection information of a plurality of different connection methods; or determining data connection information of a connection mode according to a selection result fed back by the operation interface to establish data connection.
10. The apparatus of claim 7, further comprising:
the establishing unit is used for establishing a new contact in the address list when the inquiring unit inquires that the contact does not exist;
the adding unit is also used for adding the equipment communication information of the connecting equipment into the communication information of the contact person newly established by the establishing unit;
and the recording unit is used for adding a corresponding connection mode in the communication information of the contact person according to the data connection information of the connection equipment and recording the data connection information in the connection mode.
11. The apparatus according to any one of claims 7-10, the adding unit comprising:
the determining module is used for determining a connection mode according to the data connection information;
the judging module is used for judging whether the communication information of the contact person has the connection mode determined by the determining module;
the adding module is used for creating the connection mode in the communication information of the contact person and adding the data connection information into the created connection mode when the judging module judges that the connection mode does not exist;
and the replacing module is used for replacing the stored data connection information with the data connection information when the judging module judges that the connection mode exists.
12. The apparatus of claim 7, the obtaining unit comprising:
a sending module, configured to send a request for establishing a data connection to the connection device, where the request for establishing includes an acquisition request for acquiring device communication information of the connection device;
and the receiving module is used for receiving the equipment communication information sent by the connecting equipment and recording the data connection information applied in the data connection establishing process when the connecting equipment receives the establishing request sent by the sending module.
CN201710691779.XA 2017-08-11 2017-08-11 Method and device for recording data connection information in mobile terminal Active CN107613081B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710691779.XA CN107613081B (en) 2017-08-11 2017-08-11 Method and device for recording data connection information in mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710691779.XA CN107613081B (en) 2017-08-11 2017-08-11 Method and device for recording data connection information in mobile terminal

Publications (2)

Publication Number Publication Date
CN107613081A CN107613081A (en) 2018-01-19
CN107613081B true CN107613081B (en) 2020-12-08

Family

ID=61065293

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710691779.XA Active CN107613081B (en) 2017-08-11 2017-08-11 Method and device for recording data connection information in mobile terminal

Country Status (1)

Country Link
CN (1) CN107613081B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594987A (en) * 2012-02-09 2012-07-18 深圳市中兴移动通信有限公司 Method for realizing safe and quick Bluetooth pairing connection
CN104581999A (en) * 2014-12-11 2015-04-29 惠州Tcl移动通信有限公司 Connecting strategy selection method and terminal
CN106534451A (en) * 2016-12-05 2017-03-22 奇酷互联网络科技(深圳)有限公司 Information display method and apparatus of access device list

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102780818A (en) * 2012-07-25 2012-11-14 广东欧珀移动通信有限公司 Method for realizing mobile phone reminding function through combination of Bluetooth and phone book
CN102983890B (en) * 2012-11-14 2015-08-12 小米科技有限责任公司 A kind of method that device pairing connects and device
CN104426582B (en) * 2013-08-28 2018-09-25 中兴通讯股份有限公司 Bluetooth communication processing method, Bluetooth communication terminal and communication device
CN104506214A (en) * 2014-12-23 2015-04-08 北京深思数盾科技有限公司 Short-distance Bluetooth pairing method and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594987A (en) * 2012-02-09 2012-07-18 深圳市中兴移动通信有限公司 Method for realizing safe and quick Bluetooth pairing connection
CN104581999A (en) * 2014-12-11 2015-04-29 惠州Tcl移动通信有限公司 Connecting strategy selection method and terminal
CN106534451A (en) * 2016-12-05 2017-03-22 奇酷互联网络科技(深圳)有限公司 Information display method and apparatus of access device list

Also Published As

Publication number Publication date
CN107613081A (en) 2018-01-19

Similar Documents

Publication Publication Date Title
CN104378145B (en) The matching method and system of bluetooth equipment
US10079913B2 (en) Transmission method, terminal and system for application software
US9277391B2 (en) Pairing method between bluetooth devices and bluetooth system using the same
US9774642B2 (en) Method and device for pushing multimedia resource and display terminal
EP3253080B1 (en) Data sharing method and system
KR102275720B1 (en) Bluetooth communication method and bluetooth communication device
US20180041893A1 (en) Method and system of multi-terminal mapping to a virtual sim card
CN104092723B (en) Document down loading method, Apparatus and system
CN108781473B (en) Method and equipment for sharing files among different terminals
CN102710549B (en) To be established a communications link the method for relation, terminal and system by shooting
CN104955028A (en) Method, device and sensor for identifying phishing WIFI (wireless fidelity)
CN103188328A (en) Mobile terminal application program sharing method, server and system
CN104363666A (en) Method and device for setting up wireless connection between electronic devices and external device
CN107979830B (en) Bluetooth connection method, device, equipment and storage medium for intelligent rearview mirror
CN104767767A (en) Method, device and system for sharing Internet access data and network equipment
EP2648438A1 (en) Terminal coordination system and method therefor
CN109886670B (en) Payment method, device, system, mobile terminal, payment machine and server
CN108418780A (en) Filter method and device, system, the dns server of IP address
CN107610452B (en) Quick car booking method and system for short-distance Bluetooth hotspot positioning
CN102932430B (en) A kind of connect the method for terminal unit, Apparatus and system
CN107580132B (en) Information sending method, information sending device, storage medium and electronic equipment
CN106856585B (en) Method and device for establishing short-distance wireless channel
CN107205210B (en) Method, device, system and computer program for configuring wireless network node
CN113691610B (en) Data acquisition method and device, electronic equipment and storage medium
CN113691609B (en) Data acquisition method and device, electronic equipment and storage medium

Legal Events

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