CN113692066A - Short-distance communication equipment connection method and device and terminal - Google Patents

Short-distance communication equipment connection method and device and terminal Download PDF

Info

Publication number
CN113692066A
CN113692066A CN202111092125.8A CN202111092125A CN113692066A CN 113692066 A CN113692066 A CN 113692066A CN 202111092125 A CN202111092125 A CN 202111092125A CN 113692066 A CN113692066 A CN 113692066A
Authority
CN
China
Prior art keywords
short
equipment
range communication
target
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111092125.8A
Other languages
Chinese (zh)
Inventor
赵友军
王蓓蓓
王鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202111092125.8A priority Critical patent/CN113692066A/en
Publication of CN113692066A publication Critical patent/CN113692066A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B5/48
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • H04W76/34Selective release of ongoing connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a short-distance communication equipment connection method, a short-distance communication equipment connection device and a short-distance communication equipment connection terminal, and belongs to the technical field of communication. The method comprises the following steps: acquiring information of optional short-range communication equipment; selecting target equipment from the selectable short-range communication equipment according to the information of the selectable short-range communication equipment and the use requirement of the terminal; acquiring a use record of target equipment; determining the use rule of the target equipment according to the use record of the target equipment; and determining whether the target equipment is connected or not according to the use rule of the target equipment. The method can ensure the reasonability of the target equipment connected with the terminal, so that the short-distance communication equipment is connected to the corresponding terminal according to the user requirement, the user is prevented from switching the connection terminal of the short-distance communication equipment through manual operation, and the use experience of the user is improved.

Description

Short-distance communication equipment connection method and device and terminal
Technical Field
The application relates to the technical field of communication, in particular to a method, a device and a terminal for connecting short-distance communication equipment.
Background
With the reduction of the price of the terminal and the demand of life and work, more and more people start to use a plurality of terminals. When a plurality of terminals share a short-range communication device (e.g., bluetooth device), the short-range communication device, after being powered on, typically establishes a connection directly with the last disconnected terminal without considering the actual connection requirements of the user at the current moment. If the terminal that the user wants to connect to the short-distance communication device is not the terminal that the short-distance communication device was disconnected last time, the user needs to switch the short-distance communication device to the terminal that the user wants to establish connection through a manual mode, the operation is tedious, and the user experience is poor.
Disclosure of Invention
Therefore, the application provides a method, a device and a terminal for connecting short-range communication equipment, so as to solve the problem that the short-range communication equipment cannot be connected to a proper terminal according to the requirements of a user, so that the user needs to manually connect the short-range communication equipment to the terminal.
In order to achieve the above object, a first aspect of the present application provides a short-range communication device connection method, including:
acquiring information of optional short-range communication equipment;
selecting target equipment from the selectable short-range communication equipment according to the information of the selectable short-range communication equipment and the use requirement of the terminal;
acquiring a use record of the target equipment;
determining the use rule of the target equipment according to the use record of the target equipment;
and determining whether the target equipment is connected or not according to the use rule of the target equipment.
Further, before the acquiring the information of the optional short-range communication device, the method further includes:
determining whether the short-range communication device needs to be used according to any one or more of the terminal type, the device type, the service type and the usage scenario;
in the event that it is determined that a short-range communication device needs to be used, the step of obtaining information for the alternate short-range communication device is performed.
Further, the selectable short-range communication device includes a short-range communication device to which the terminal has been historically connected, and the information of the selectable short-range communication device includes at least one of a device identification, a device name, a device type, and a connection status of the selectable short-range communication device.
Further, the use requirement of the terminal comprises a service type requirement and/or a use scene requirement;
the selecting target equipment from the selectable short-range communication equipment according to the information of the selectable short-range communication equipment and the use requirement of the terminal comprises the following steps:
comparing the use requirement of the terminal with a preset screening rule to obtain a first equipment list, wherein the preset screening rule is a corresponding relation between any one or more of a preset equipment identifier, an equipment name and an equipment type of the short-distance communication equipment and a service type and/or a use scene, and the first equipment list is a list of the short-distance communication equipment meeting the use requirement of the terminal;
comparing the information of the selectable short-range communication equipment with the first equipment list to obtain an equipment comparison result;
and determining the target equipment according to the equipment comparison result.
Further, after selecting a target device from the selectable short-range communication devices according to the information of the selectable short-range communication devices and the usage requirement of the terminal, and before acquiring the usage record of the target device, the method further includes:
acquiring the connection state of the target equipment and the terminal;
and when the connection state is not connected, executing the step of acquiring the use record of the target device.
Further, the usage record of the target device comprises a connection time and a service type;
the determining the usage rule of the target device according to the usage record of the target device includes:
determining the average use frequency and/or the total use duration of the target equipment aiming at each service type according to the connection time and the service type of the target equipment;
and obtaining the use rule of the target equipment according to the average use frequency and/or the total use time of the target equipment aiming at each service type.
Further, the usage record of the target device further includes connection device information;
the determining the usage rule of the target device according to the usage record of the target device includes:
determining the average use frequency and/or total use duration of each service type of the terminal corresponding to the target equipment according to the connection time, the service type and the connection equipment information of the target equipment;
and obtaining the use rule of the target equipment according to the average use frequency and/or the total use duration of each service type of the terminal corresponding to the target equipment.
Further, the determining whether to connect the target device according to the usage rule of the target device includes:
determining whether the target equipment is common equipment which meets the service type requirement and/or the use scene requirement at the current moment or not according to the use rule of the target equipment;
and connecting the target equipment under the condition that the target equipment is determined to be the common equipment which meets the service type requirement and/or the use scene requirement at the current moment.
In order to achieve the above object, a second aspect of the present application provides a short range communication device connection apparatus, comprising:
an information acquisition module configured to acquire information of an optional short-range communication device;
a device selection module configured to select a target device from the selectable short-range communication devices according to the information of the selectable short-range communication devices and the use requirements of the terminal;
a record acquisition module configured to acquire a usage record of the target device;
the rule determining module is configured to determine the usage rule of the target device according to the usage record of the target device;
a connection determination module configured to determine whether to connect the target device according to a usage rule of the target device.
In order to achieve the above object, a third aspect of the present application provides a terminal comprising: a short-range communication device connection means;
the short-range communication device connection apparatus is used for implementing the short-range communication device connection method disclosed in any embodiment of the present application.
This application has following advantage:
according to the short-distance communication equipment connection method, the short-distance communication equipment connection device and the terminal, the information of the optional short-distance communication equipment is firstly acquired, so that the condition that the short-distance communication equipment which cannot be used is subsequently selected is avoided; secondly, selecting target equipment from the selectable short-distance communication equipment according to the information of the selectable short-distance communication equipment and the use requirement of the terminal, thereby preliminarily screening the short-distance communication equipment meeting the requirement of a user; the usage rule of the target equipment is obtained according to the usage record of the target equipment, and whether the target equipment is connected or not is determined according to the usage rule of the target equipment, so that the reasonability of the target equipment connected with the terminal is further guaranteed, the short-distance communication equipment is connected to the corresponding terminal according to the user requirement, the situation that a user switches the connection terminal of the short-distance communication equipment through manual operation is avoided, and the user experience is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the principles of the application and not to limit the application.
Fig. 1 is a flowchart of a short-range communication device connection method according to an embodiment of the present application;
fig. 2 is a flowchart of a short-range communication device connection method according to another embodiment of the present application;
fig. 3 is a flowchart of a target device selection method provided in an embodiment of the present application;
fig. 4 is a block diagram of a short-range communication device connection apparatus according to an embodiment of the present application;
fig. 5 is a block diagram of a short-range communication device connection apparatus according to still another embodiment of the present application;
fig. 6 is a block diagram illustrating a terminal according to an embodiment of the present application;
fig. 7 is a block diagram of a short-range communication device connection system according to an embodiment of the present application;
fig. 8 is a flowchart of a connection method of a short-range communication device connection system according to an embodiment of the present application.
Detailed Description
The following detailed description of embodiments of the present application will be made with reference to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present application, are given by way of illustration and explanation only, and are not intended to limit the present application.
In the prior art, a user needs to switch a terminal connected with the short-distance communication equipment through manual operation, so that the operation is complex and the user experience is not good. Furthermore, the short-range communication device, after being powered on, typically establishes a connection directly with the last disconnected terminal without taking into account the actual connection requirements of the user at the current moment.
In view of this, embodiments of the present application provide a method, an apparatus, and a terminal for connecting a short-range communication device, where a target device is selected from selectable short-range communication devices according to information such as a use requirement of the terminal, and whether to connect the target device is determined according to a use rule of the target device, so that the reasonability of the target device connected to the terminal can be ensured, the short-range communication device is connected to a matched terminal, a user is prevented from switching a connection terminal of the short-range communication device through manual operation, and use experience of the user is improved.
A first aspect of the present application provides a short-range communication device connection method. Fig. 1 is a flowchart of a short-range communication device connection method according to an embodiment of the present application, which is applicable to a short-range communication device connection apparatus. As shown in fig. 1, the short range communication device connection method includes the steps of:
step S101, information of the optional short-range communication device is acquired.
Wherein the short-range communication device comprises a device for communicating based on a short-range communication technology. Short-range Communication technologies include, but are not limited to, bluetooth Communication, Near Field Communication (NFC), infrared Communication, and Zigbee (Zigbee) Communication.
The optional short-range communication device refers to a short-range communication device to which the current terminal can connect.
In some embodiments, the optional short-range communication device comprises a terminal historically connected short-range communication device. The information of the alternate short-range communication device includes at least one of a device identification, a device name, a device type, and a connection status of the alternate short-range communication device.
For example, information of the optional short-range communication device is acquired according to the historical connection record of the short-range communication device stored in the terminal.
And step S102, selecting target equipment from the optional short-range communication equipment according to the information of the optional short-range communication equipment and the use requirement of the terminal.
The use requirement of the terminal comprises a service type requirement and/or a use scene requirement.
In some embodiments, selecting the target device from the selectable short-range communication devices according to the information of the selectable short-range communication devices and the use requirements of the terminal includes:
comparing the use requirement of the terminal with a preset screening rule to obtain a first equipment list, wherein the preset screening rule is a corresponding relation between any one or more of a preset equipment identifier, an equipment name and an equipment type of the short-distance communication equipment and the service type and/or the use scene, and the first equipment list is a list of the short-distance communication equipment meeting the use requirement of the terminal; comparing the information of the optional short-range communication equipment with the first equipment list to obtain an equipment comparison result; and determining the target equipment according to the equipment comparison result.
Step S103, acquiring the use record of the target device.
Wherein the usage record of the target device comprises at least a connection time and a traffic type. The usage record of the target device may be obtained from a local storage space of the terminal, or may be obtained by sending a query request to the target device and returning feedback information to the target device, which is not limited in this application.
The usage record of the target device acquired by the terminal may be the usage record of the terminal and the target device, or may include the usage record of other terminals and the target device. In some implementations, when the usage record of the target device corresponds to multiple terminals, the usage record of the target device may include connection device information in addition to the connection time and the service type, so as to know the usage record of the target device more accurately in detail. The connection device information is information of the terminal device that establishes a connection with the target device.
In some embodiments, the terminal obtains connection record information of the terminal and the target device from the local storage space, and determines connection time and a corresponding service type of the terminal and the target device according to the connection record information.
In some other embodiments, the terminal obtains the connection record information of the terminal and the target device and the connection record information of the terminal-attached wearable device and the target device from the local storage space, and determines the usage record of the target device according to the connection record information.
In other embodiments, the terminal sends a first query request to the target device, the target device receives the first query request, and the first feedback information returned to the terminal includes a usage record of the target device corresponding to the terminal. Wherein, the first inquiry request defines that the usage record of the target device and the terminal is to be acquired.
In some other embodiments, the terminal sends the second query request to the target device, and the target device returns the first feedback information including usage records of all connected devices corresponding to the target device to the terminal. Wherein, the second inquiry request defines that the use records of all the historical connection terminals of the target equipment are to be acquired.
For example, the user includes two terminals, a first terminal and a second terminal, respectively. After the first terminal has the requirement of connecting the short-distance communication equipment and determines the target equipment, the first terminal sends an inquiry request to the target equipment, and the inquiry request is limited to obtain the use records of the first terminal, the second terminal and the target equipment. The target device returns the usage record of the target device to the first terminal, and the usage record of the target device comprises the usage record of the target device for the first terminal and the usage record of the target device corresponding to the second terminal.
And step S104, determining the use rule of the target equipment according to the use record of the target equipment.
In some embodiments, the usage record of the target device includes connection time and traffic type. Determining the usage rule of the target device according to the usage record of the target device, comprising the following steps: determining the average use frequency and/or the total use time of the target equipment aiming at each service type according to the connection time and the service type of the target equipment; and obtaining the use rule of the target equipment according to the average use frequency and/or the total use duration of the target equipment aiming at each service type.
In other embodiments, the usage record of the target device includes connection time, type of service, and connected device information. Determining the usage rule of the target device according to the usage record of the target device, comprising the following steps: determining the average use frequency and/or total use duration of each service type of a terminal corresponding to the target equipment according to the connection time, the service type and the connection equipment information of the target equipment; and obtaining the use rule of the target equipment according to the average use frequency and/or the total use duration of each service type of the terminal corresponding to the target equipment.
It should be noted that, when the usage rule of the target device is obtained according to the average usage frequency and/or the total usage duration of each service type of the target device, a frequency threshold or a duration threshold may be set according to experience, statistical data, or usage requirements, and the usage rule of the target device is obtained according to a comparison result by comparing the average usage frequency with the frequency threshold, and/or comparing the total usage duration with the duration threshold.
It should be further noted that, the above method for obtaining the usage rule of the target device is only an example, and a person skilled in the art may determine the usage rule of the target device in any manner, which is not limited in the present application.
And step S105, determining whether the target equipment is connected or not according to the use rule of the target equipment.
In some embodiments, determining whether to connect the target device according to the usage rule of the target device includes: determining whether the target equipment is common equipment which meets the requirements of the service types and/or the use scenes at the current moment or not according to the use rule of the target equipment; and under the condition that the target equipment is determined to be the common equipment meeting the service type requirement and/or the use scene requirement at the current moment, connecting the target equipment.
In the embodiment, the information of the optional short-range communication device is firstly acquired, so that the subsequent selection of the short-range communication device which cannot be used is avoided; secondly, selecting target equipment from the selectable short-distance communication equipment according to the information of the selectable short-distance communication equipment and the use requirement of the terminal, thereby preliminarily screening the short-distance communication equipment meeting the requirement of a user; the usage rule of the target equipment is obtained according to the usage record of the target equipment, and whether the target equipment is connected or not is determined according to the usage rule of the target equipment, so that the reasonability of the target equipment connected with the terminal is further guaranteed, the short-distance communication equipment is connected to the corresponding terminal according to the user requirement, the situation that a user switches the connection terminal of the short-distance communication equipment through manual operation is avoided, and the user experience is improved.
Fig. 2 is a flowchart of a short-range communication device connection method according to another embodiment of the present application, which can be applied to a short-range communication device connection apparatus. As shown in fig. 2, the short range communication device connection method includes the steps of:
step S201, determining whether the short-range communication device needs to be used according to any one or more of the terminal type, the device type, the service type, and the usage scenario.
The terminal types comprise a smart phone, a tablet computer, wearable equipment and the like; the device types comprise a Bluetooth earphone, a Bluetooth mouse and the like; the service types comprise call service, audio service, video service and the like; the use scene includes an office scene, a leisure scene, and the like.
In some embodiments, it is assumed that the terminal type is a wearable device, the device type is a bluetooth headset, the service type is a call service, and the usage scenario is an office scenario, and based on this, it is determined that the bluetooth headset needs to be used for a call currently to avoid affecting other people in the office.
In other embodiments, it is assumed that the terminal type is a smart phone, the device type is a bluetooth headset, the service type is a video service, and the usage scenario is a leisure scenario. Since the use scene is a leisure scene, people do not need to be worried about influencing other people, and therefore, the user does not need to use a Bluetooth headset to watch videos.
In step S202, in the case where it is determined that the short-range communication device needs to be used, information of the optional short-range communication device is acquired.
And step S203, selecting target equipment from the optional short-range communication equipment according to the information of the optional short-range communication equipment and the use requirement of the terminal.
Steps S202 to S203 in this embodiment are the same as steps S101 to S102 in this embodiment, and are not described herein again.
Step S204, acquiring the connection state of the target device and the terminal.
Wherein, the connection state of the target device and the terminal comprises connected state and unconnected state.
In some embodiments, after the connection state between the target device and the terminal is obtained, if the connection state is connected, it indicates that the terminal has currently established connection with the target device, and no subsequent operation needs to be performed.
In step S205, when the connection state is not connected, the usage record of the target device is acquired.
And step S206, determining the use rule of the target equipment according to the use record of the target equipment.
Step S207, determining whether to connect the target device according to the usage rule of the target device.
Steps S205 to S207 in this embodiment are the same as steps S103 to S105 in this embodiment, and are not described herein again.
In the embodiment, whether the short-range communication equipment needs to be used is determined according to any one or more of the terminal type, the equipment type, the service type and the use scene, so that the use requirement of the terminal on the short-range communication equipment can be accurately and quickly determined; under the condition that the short-distance communication equipment is determined to be used, the information of the optional short-distance communication equipment is acquired, so that the condition that the short-distance communication equipment which cannot be used is selected subsequently is avoided; according to the information of the optional short-distance communication equipment and the use requirement of the terminal, target equipment is selected from the optional short-distance communication equipment, so that short-distance communication equipment meeting the requirement of a user is preliminarily screened out; acquiring the connection state of the target equipment and the terminal so as to acquire the use record of the target equipment under the condition that the connection state is not connected, and determining the use rule of the target equipment according to the use record of the target equipment; according to the use rule of the target equipment, whether the target equipment is connected or not is determined, and the reasonability of the target equipment connected with the terminal is further guaranteed, so that the short-distance communication equipment is connected to the corresponding terminal according to the user requirement, the user is prevented from switching the connection terminal of the short-distance communication equipment through manual operation, and the use experience of the user is improved.
Fig. 3 is a flowchart of a target device selection method provided in the embodiment of the present application. As shown in fig. 3, the target device selecting method includes the following steps:
step S301, comparing the use requirement of the terminal with a preset screening rule to obtain a first equipment list.
The service requirements of the terminal comprise service type requirements and/or use scene requirements, the preset screening rule is a corresponding relation between any one or more of preset equipment identification, equipment name and equipment type of the short-distance communication equipment and the service type and/or the use scene, and the first equipment list is a list of the short-distance communication equipment meeting the use requirements of the terminal.
For example, the preset filtering rules are shown in table 1.
TABLE 1 Preset screening rules
Figure BDA0003267748760000101
If the service type requirement of the terminal is call and the applicable scene requirement is office, the first device list obtained according to the preset screening rule comprises Bluetooth Watch1 and Bluetooth books 1.
If the service type requirement of the terminal is audio and the applicable scene requirement is office, the first device list obtained according to the preset screening rule includes Bluetooth Watch 2.
If the service type requirement of the terminal is a game and the applicable scene requirement is leisure, the first device list obtained according to the preset screening rule includes Bluetooth bubbles 2.
Step S302, comparing the information of the selectable short-range communication device with the first device list, and obtaining a device comparison result.
In some embodiments, the information of the alternate short-range communication device is compared to the first device list to determine the same short-range communication device and a different short-range communication device of the two.
Step S303, determining the target device according to the device comparison result.
In some embodiments, the selectable short-range communication device is determined to be the target device as the same short-range communication device in the first device list. In other words, the selectable short-range communication devices are short-range communication devices currently available for use by the short-range communication devices, and the short-range communication devices in the first device list are short-range communication devices that meet the terminal use requirements, and therefore, the same short-range communication device of the two is an available short-range communication device that can meet the terminal use requirements.
In the embodiment, a first device list is obtained by comparing the use requirement of the terminal with a preset screening rule, so as to obtain a set of short-distance communication devices which theoretically meet the use requirement of the terminal; and comparing the information of the optional short-distance communication equipment with the first equipment list to obtain an equipment comparison result, and determining the target equipment according to the equipment comparison result so as to select the short-distance communication equipment meeting the actual use requirement from the first equipment list, thereby obtaining reasonably available short-distance communication equipment.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A second aspect of the present application provides a short-range communication device connection apparatus. Fig. 4 is a block diagram illustrating a short-range communication device connection apparatus according to an embodiment of the present disclosure. As shown in fig. 4, the short range communication device connection apparatus 400 includes:
an information acquisition module 401 configured to acquire information of the optional short-range communication device.
A device selection module 402 configured to select a target device from the selectable short-range communication devices according to information of the selectable short-range communication devices and usage requirements of the terminal.
A record obtaining module 403 configured to obtain a usage record of the target device.
And a rule determining module 404 configured to determine a usage rule of the target device according to the usage record of the target device.
A connection determining module 405 configured to determine whether to connect the target device according to a usage rule of the target device.
In this embodiment, the information acquisition module acquires information of the selectable short-range communication device, thereby avoiding subsequent selection of the short-range communication device that cannot be used; the device selection module selects target devices from the selectable short-distance communication devices according to the information of the selectable short-distance communication devices and the use requirements of the terminal, so that the short-distance communication devices meeting the requirements of users are preliminarily screened out; the record obtaining module obtains the use record of the target equipment, and the rule determining module determines the use rule of the target equipment according to the use record of the target equipment; the connection determining module determines whether to connect the target equipment according to the use rule of the target equipment, so that the reasonability of the target equipment connected with the terminal is further guaranteed, the short-distance communication equipment is connected to the corresponding terminal according to the user requirement, the user is prevented from switching the connection terminal of the short-distance communication equipment through manual operation, and the use experience of the user is improved.
Fig. 5 is a block diagram of a short-range communication device connection apparatus according to another embodiment of the present application. As shown in fig. 5, the short-range communication device connection apparatus 500 includes:
the usage determination module 501 is configured to determine whether the short-range communication device needs to be used according to any one or more of a terminal type, a device type, a service type, and a usage scenario.
An information acquisition module 502 configured to acquire information of the optional short-range communication device in case it is determined that the short-range communication device needs to be used.
A device selection module 503 configured to select a target device from the selectable short-range communication devices according to the information of the selectable short-range communication devices and the usage requirements of the terminal.
A state obtaining module 504 configured to obtain a connection state of the target device and the terminal.
A record obtaining module 505 configured to obtain the usage record of the target device if the connection state is unconnected.
And a rule determining module 506 configured to determine a usage rule of the target device according to the usage record of the target device.
A connection determining module 507 configured to determine whether to connect the target device according to a usage rule of the target device.
In this embodiment, the use requirement of the terminal for the short-range communication device can be accurately and quickly determined by determining whether the short-range communication device needs to be used or not by using the determining module according to any one or more of the terminal type, the device type, the service type and the use scene; the information acquisition module acquires the information of the optional short-distance communication equipment under the condition that the short-distance communication equipment is determined to be used, so that the short-distance communication equipment which cannot be used is prevented from being selected subsequently; the device selection module selects target devices from the selectable short-distance communication devices according to the information of the selectable short-distance communication devices and the use requirements of the terminal, so that the short-distance communication devices meeting the requirements of users are preliminarily screened out; the state acquisition module acquires the connection state of the target equipment and the terminal, so that the record acquisition module acquires the use record of the target equipment under the condition that the connection state is not connected, and the rule determination module determines the use rule of the target equipment according to the use record of the target equipment; the connection determining module determines whether to connect the target equipment according to the use rule of the target equipment, so that the reasonability of the target equipment connected with the terminal is further guaranteed, the short-distance communication equipment is connected to the corresponding terminal according to the user requirement, the user is prevented from switching the connection terminal of the short-distance communication equipment through manual operation, and the use experience of the user is improved.
Fig. 6 is a block diagram of a terminal according to an embodiment of the present disclosure. As shown in fig. 6, the terminal 600 includes: a short-range communication device connecting apparatus 601, wherein the short-range communication device connecting apparatus 601 is used to implement any one of the short-range communication device connecting methods provided by the embodiments.
It should be noted that, in addition to the short-range communication device connection device, other functional modules (not shown in fig. 6) are disposed in the terminal, and are not described herein again.
In this embodiment, be provided with short-range communication equipment connecting device in the terminal, through this short-range communication equipment connecting device, can ensure the rationality of the target device that the terminal is connected for short-range communication equipment can be connected to corresponding terminal according to the user's demand, avoids the user to pass through the connection terminal that manual operation switched short-range communication equipment, has promoted user's use and has experienced.
Fig. 7 is a block diagram of a short-range communication device connection system according to an embodiment of the present disclosure. As shown in fig. 7, the short range communication device connection system 700 includes: two terminals and n short-range communication devices, n being an integer greater than or equal to 1. Wherein the terminals include a first terminal 710 and a second terminal 720, and the short-range communication devices include a first short-range communication device 731, a second short-range communication device 732, … …, an nth short-range communication device 73 n. Also, the n short-range communication devices may establish a short-range communication connection with the first terminal 710 or the second terminal 720; a first short-range communication device connection means 711 is provided in the first terminal 710 and a second short-range communication device connection means 721 is provided in the second terminal 720.
In some embodiments, when there is a connection requirement for the first terminal 710 or the second terminal 720, the first short-range communication device connection apparatus 711 or the second short-range communication device connection apparatus 721 may establish a connection with a target device by using any one of the short-range communication device connection methods disclosed in this embodiment of the present application, where the target device is a device selected from the n short-range communication devices.
Fig. 8 is a flowchart of a connection method of a short-range communication device connection system according to an embodiment of the present application. As shown in fig. 8, the connection process includes:
step S801 determines whether the short-range communication device needs to be used according to any one or more of the terminal type, the device type, the service type, and the usage scenario.
In step S802, in the case where it is determined that the short-range communication device needs to be used, information of an optional short-range communication device is acquired.
And step S803, selecting the target equipment from the selectable short-range communication equipment according to the information of the selectable short-range communication equipment and the use requirement of the terminal.
Step S804, acquiring a connection state between the target device and the terminal.
In step S805, when the connection state is not connected, the usage record of the target device is acquired.
Step 806, determining the usage rule of the target device according to the usage record of the target device.
In step S807, it is determined whether or not to connect the target device according to the usage rule of the target device.
Step S808, in case that it is determined to connect to the target device, initiates a connection operation with the target device.
It should be noted that each module referred to in this embodiment is a logical module, and in practical applications, one logical unit may be one physical unit, may be a part of one physical unit, and may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present application, a unit that is not so closely related to solving the technical problem proposed by the present application is not introduced in the present embodiment, but it does not indicate that no other unit exists in the present embodiment.
It is to be understood that the above embodiments are merely exemplary embodiments that are employed to illustrate the principles of the present application, and that the present application is not limited thereto. It will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the application, and these changes and modifications are to be considered as the scope of the application.

Claims (10)

1. A method for connecting a short-range communication device, comprising:
acquiring information of optional short-range communication equipment;
selecting target equipment from the selectable short-range communication equipment according to the information of the selectable short-range communication equipment and the use requirement of the terminal;
acquiring a use record of the target equipment;
determining the use rule of the target equipment according to the use record of the target equipment;
and determining whether the target equipment is connected or not according to the use rule of the target equipment.
2. The method of claim 1, wherein the obtaining information of the selectable short-range communication device further comprises, before:
determining whether the short-range communication device needs to be used according to any one or more of the terminal type, the device type, the service type and the usage scenario;
in the event that it is determined that a short-range communication device needs to be used, the step of obtaining information for the alternate short-range communication device is performed.
3. The short-range communication device connection method according to claim 1, wherein the optional short-range communication device comprises a short-range communication device to which the terminal has been historically connected, and the information of the optional short-range communication device comprises at least one of a device identification, a device name, a device type, and a connection status of the optional short-range communication device.
4. The short-range communication device connection method according to any one of claims 1 to 3, wherein the usage requirements of the terminal include service type requirements and/or usage scenario requirements;
the selecting target equipment from the selectable short-range communication equipment according to the information of the selectable short-range communication equipment and the use requirement of the terminal comprises the following steps:
comparing the use requirement of the terminal with a preset screening rule to obtain a first equipment list, wherein the preset screening rule is a corresponding relation between any one or more of a preset equipment identifier, an equipment name and an equipment type of the short-distance communication equipment and a service type and/or a use scene, and the first equipment list is a list of the short-distance communication equipment meeting the use requirement of the terminal;
comparing the information of the selectable short-range communication equipment with the first equipment list to obtain an equipment comparison result;
and determining the target equipment according to the equipment comparison result.
5. The method for connecting short-range communication devices according to claim 1, wherein after selecting a target device from the selectable short-range communication devices according to the information of the selectable short-range communication devices and the usage requirement of the terminal, and before acquiring the usage record of the target device, the method further comprises:
acquiring the connection state of the target equipment and the terminal;
and when the connection state is not connected, executing the step of acquiring the use record of the target device.
6. The short-range communication device connection method according to claim 1, wherein the usage record of the target device includes a connection time and a service type;
the determining the usage rule of the target device according to the usage record of the target device includes:
determining the average use frequency and/or the total use duration of the target equipment aiming at each service type according to the connection time and the service type of the target equipment;
and obtaining the use rule of the target equipment according to the average use frequency and/or the total use time of the target equipment aiming at each service type.
7. The short-range communication device connection method according to claim 6, wherein the usage record of the target device further includes connection device information;
the determining the usage rule of the target device according to the usage record of the target device includes:
determining the average use frequency and/or total use duration of each service type of the terminal corresponding to the target equipment according to the connection time, the service type and the connection equipment information of the target equipment;
and obtaining the use rule of the target equipment according to the average use frequency and/or the total use duration of each service type of the terminal corresponding to the target equipment.
8. The short-range communication device connection method according to claim 4, wherein the determining whether to connect the target device according to the usage rule of the target device includes:
determining whether the target equipment is common equipment which meets the service type requirement and/or the use scene requirement at the current moment or not according to the use rule of the target equipment;
and connecting the target equipment under the condition that the target equipment is determined to be the common equipment which meets the service type requirement and/or the use scene requirement at the current moment.
9. A short-range communication device connection apparatus, comprising:
an information acquisition module configured to acquire information of an optional short-range communication device;
a device selection module configured to select a target device from the selectable short-range communication devices according to the information of the selectable short-range communication devices and the use requirements of the terminal;
a record acquisition module configured to acquire a usage record of the target device;
the rule determining module is configured to determine the usage rule of the target device according to the usage record of the target device;
a connection determination module configured to determine whether to connect the target device according to a usage rule of the target device.
10. A terminal, comprising: a short-range communication device connection means;
wherein the short-range communication device connection means is used to implement the short-range communication device connection method of any one of claims 1 to 8.
CN202111092125.8A 2021-09-17 2021-09-17 Short-distance communication equipment connection method and device and terminal Pending CN113692066A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111092125.8A CN113692066A (en) 2021-09-17 2021-09-17 Short-distance communication equipment connection method and device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111092125.8A CN113692066A (en) 2021-09-17 2021-09-17 Short-distance communication equipment connection method and device and terminal

Publications (1)

Publication Number Publication Date
CN113692066A true CN113692066A (en) 2021-11-23

Family

ID=78586688

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111092125.8A Pending CN113692066A (en) 2021-09-17 2021-09-17 Short-distance communication equipment connection method and device and terminal

Country Status (1)

Country Link
CN (1) CN113692066A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114697942A (en) * 2022-04-14 2022-07-01 北京思必拓科技有限责任公司 Self-connection method, system, terminal equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541440A (en) * 2010-12-23 2012-07-04 Lg电子株式会社 Mobile terminal and controlling method thereof
CN108347720A (en) * 2018-02-08 2018-07-31 广东欧珀移动通信有限公司 communication connecting method, device, terminal and storage medium
CN109314654A (en) * 2018-09-29 2019-02-05 北京小米移动软件有限公司 Method for network access, device and storage medium
CN110049476A (en) * 2019-04-22 2019-07-23 深圳绿米联创科技有限公司 Method, apparatus, mobile terminal and the storage medium of equipment push
WO2020149664A1 (en) * 2019-01-18 2020-07-23 삼성전자 주식회사 Method for providing service on basis of genetic information on user group, and electronic device therefor
CN113287332A (en) * 2019-06-10 2021-08-20 海信视像科技股份有限公司 Display device and method for scanning external Bluetooth device
WO2021175198A1 (en) * 2020-03-04 2021-09-10 华为技术有限公司 Method for invoking nfc applications, electronic device, and nfc apparatus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541440A (en) * 2010-12-23 2012-07-04 Lg电子株式会社 Mobile terminal and controlling method thereof
CN108347720A (en) * 2018-02-08 2018-07-31 广东欧珀移动通信有限公司 communication connecting method, device, terminal and storage medium
CN109314654A (en) * 2018-09-29 2019-02-05 北京小米移动软件有限公司 Method for network access, device and storage medium
WO2020149664A1 (en) * 2019-01-18 2020-07-23 삼성전자 주식회사 Method for providing service on basis of genetic information on user group, and electronic device therefor
CN110049476A (en) * 2019-04-22 2019-07-23 深圳绿米联创科技有限公司 Method, apparatus, mobile terminal and the storage medium of equipment push
CN113287332A (en) * 2019-06-10 2021-08-20 海信视像科技股份有限公司 Display device and method for scanning external Bluetooth device
WO2021175198A1 (en) * 2020-03-04 2021-09-10 华为技术有限公司 Method for invoking nfc applications, electronic device, and nfc apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114697942A (en) * 2022-04-14 2022-07-01 北京思必拓科技有限责任公司 Self-connection method, system, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109842508B (en) Multi-terminal cooperative work method, terminal equipment and multi-terminal cooperative system
US8068866B2 (en) Group communication server
CN106817731A (en) The method for switching network and terminal device of terminal
CN112261339B (en) Video communication method, video communication device, electronic equipment and computer-readable storage medium
CN111432158B (en) Load balancing method and device for media nodes, storage medium and electronic device
CN110708694A (en) Method, system, storage medium and electronic device for realizing simultaneous online public and private networks
CN106453231B (en) Signaling acquisition and transmission method and device
US9602770B2 (en) Method and system for supporting videoconference in distributed telepresence platform
CN104918127A (en) Video file sharing method, terminal device and video file sharing system
CN103517243A (en) Emergency call establishment method, network equipment and communication system
EP3155808A1 (en) Communication apparatus, communication system, communication management system, communication control method, and computer program product
CN105391683A (en) Remote method invocation method, device and system
CN113692066A (en) Short-distance communication equipment connection method and device and terminal
WO2020232711A1 (en) Service handover method and apparatus
CN114143586A (en) Split screen display sharing method, system, storage medium and intelligent screen
CN112492030B (en) Data storage method, device, computer equipment and storage medium
CN111182597B (en) Processing method and device
CN108282752B (en) Method, system, device and storage medium for group callback in broadband cluster system
CN103634484A (en) Terminal switching method, apparatus and system
JP2022141926A (en) Management device, terminal device, and program
US11265969B2 (en) Management device, terminal device, and non-transitory storage medium
CN106331270B (en) Method and device for managing numbers of contact persons
CN112243101A (en) Video group calling method and storage medium
CN110677704B (en) Wireless audio and video transmission device, method and storage medium
CN111818220B (en) Service processing method, device 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