US20200244782A1 - Communication device, method of communication device, and non-transitory computer readable storage medium - Google Patents

Communication device, method of communication device, and non-transitory computer readable storage medium Download PDF

Info

Publication number
US20200244782A1
US20200244782A1 US16/845,051 US202016845051A US2020244782A1 US 20200244782 A1 US20200244782 A1 US 20200244782A1 US 202016845051 A US202016845051 A US 202016845051A US 2020244782 A1 US2020244782 A1 US 2020244782A1
Authority
US
United States
Prior art keywords
external device
connection interval
communication device
communication
determining
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.)
Abandoned
Application number
US16/845,051
Inventor
Kai-Hsiu Chen
Cheng-Kang LIN
Yao-Te Tsai
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.)
HTC Corp
Original Assignee
HTC Corp
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 HTC Corp filed Critical HTC Corp
Priority to US16/845,051 priority Critical patent/US20200244782A1/en
Assigned to HTC CORPORATION reassignment HTC CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: CHEN, KAI-HSIU, LIN, CHENG-KANG, TSAI, YAO-TE
Publication of US20200244782A1 publication Critical patent/US20200244782A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/24Negotiation of communication capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Definitions

  • the present disclosure relates to an electronic device, a method, and a non-transitory computer readable storage medium. More particularly, the present disclosure relates to a communication device, a method of the communication device, and a non-transitory computer readable storage medium.
  • a communication device may communicate with different target devices in a same connection speed.
  • the target devices may respectively have different abilities and require different data. It is not able to the communications with the same connection speed to fit the requirements of the targets devices.
  • One aspect of the present disclosure is related to a method of a communication device.
  • the method includes performing a scan procedure to receive a device name and an address of an external device; determining a connection interval corresponding to the external device according to one or more policies stored in the communication device under a condition that the device name and/or the address match the one or more policies; and building a connection with the external device according to the connection interval and the address of the external device, so that the communication device and the external device communicate corresponding to the connection interval.
  • the communication device includes a communication component, one or more processing components, memory, and one or more programs.
  • the one or more processing components are electrically connected to communication component.
  • the memory is electrically connected to the one or more processing components.
  • the one or more programs are stored in the memory and configured to be executed by the one or more processing components.
  • the one or more programs include instructions for controlling the communication component for performing a scan procedure to receive a device name and an address of an external device; determining a connection interval corresponding to the external device according to one or more policies stored in the communication device under a condition that the device name and/or the address match the one or more policies; and controlling the communication component for building a connection with the external device according to the connection interval and the address of the external device, so that the communication device and the external device communicate corresponding to the connection interval.
  • the non-transitory computer readable storage medium storing one or more programs include instructions, which when executed, causes one or more processing components to perform operations including performing a scan procedure to receive a device name and an address of an external device; determining a connection interval corresponding to the external device according to one or more policies stored in the communication device under a condition that the device name and/or the address match the one or more policies; and building a connection with the external device according to the connection interval and the address of the external device, so that the communication device and the external device communicate corresponding to the connection interval.
  • connection intervals can be individually determined according to the policy.
  • FIG. 1 is a schematic block diagram of a communication system in accordance with one embodiment of the present disclosure.
  • FIG. 2 is a flowchart of an operating method in accordance with one embodiment of the present disclosure.
  • FIG. 3 is a flowchart of an operating method in accordance with one embodiment of the present disclosure.
  • FIG. 4 is a flowchart of an operating method in accordance with one embodiment of the present disclosure.
  • FIG. 5 illustrates an illustrative example of a communication system in accordance with one embodiment of the present disclosure.
  • One aspect of the present disclosure is related to a communication device.
  • a smart phone will be taken as an example to describe details of the communication device.
  • another communication device such as a tablet computer or a laptop computer, is within the contemplated scope of the present disclosure.
  • FIG. 1 is a schematic block diagram of a communication system 10 in accordance with one embodiment of the present disclosure.
  • the communication system 10 includes a communication device 100 and an external device 20 .
  • the communication device 100 may communicate with the external device 20 via wireless connection.
  • the communication device 100 may communicate with the external device 20 by using, for example, bluetooth technology, bluetooth low energy (BLE) technology, or Wi-Fi technology, but the present disclosure is not limited in this regard.
  • BLE bluetooth low energy
  • the communication device 100 includes one or more processing components 110 , a memory 120 , and a communication component 130 .
  • the processing component one or more processing components 110 is electrically connected to the memory 120 and the communication component 130 .
  • the one or more processing components 110 can be realized by, for example, one or more processors, such as central processors and/or microprocessors, but are not limited in this regard.
  • the memory 120 includes one or more memory devices, each of which comprises, or a plurality of which collectively comprise a computer readable storage medium.
  • the computer readable storage medium may include a read-only memory (ROM), a flash memory, a floppy disk, a hard disk, an optical disc, a flash disk, a flash drive, a tape, a database accessible from a network, or any storage medium with the same functionality that can be contemplated by persons of ordinary skill in the art to which this invention pertains.
  • the communication component 130 can be realized by, for example, a bluetooth communication component, a BLE communication component, or a Wi-Fi communication component, but is not limited in this regard.
  • the one or more processing components 110 may run or execute various software programs and/or sets of instructions stored in the memory 120 to perform various functions for the communication device 100 and to process data.
  • the external device 20 may continuously broadcast its advertising data.
  • the advertising data may include a device name and an address of the external device 20 .
  • the one or more processing components 110 may control the communication component 130 to perform a scanning procedure to receive device names and addresses of devices within the connection range of the communication component 130 .
  • the one or more processing components 110 can acquire the device name and the address of the external device 20 in the scanning procedure.
  • the one or more processing components 110 may compare the device name and the address of the external device 20 with policies stored in the memory 120 . Under a condition that the device name and/or the address of the external device 20 match one or more of the policies, the one or more processing components 110 may determine a connection interval corresponding to a connection between the communication device 100 and the external device 20 .
  • connection interval corresponds to a connection speed of the connection between the communication device 100 and the external device 20 .
  • connection interval indicates an interval time between two adjacent times of the communication device 100 connecting the external device 20 in the connection. For example, when the interval time of the connection between the communication device 100 and the external device 20 is 7.5 ms, the communication device 100 communicates with the external device 20 once every 7.5 ms. In one embodiment, the capability of the connection interval of the communication device 100 is, for example, 7.5 ms-50 ms.
  • the one or more processing components 110 can control the communication component 130 to build a connection with the external device 20 according to the determined connection interval and the address of the external device 20 , so that the communication device 100 and the external device 20 communicate corresponding to the connection interval.
  • connection intervals corresponding to different external devices can be determined individually.
  • the operating method can be applied to a communication device having a structure that is the same as or similar to the structure of the communication device 100 shown in FIG. 1 .
  • the embodiment shown in FIG. 1 will be used as an example to describe the operating method according to an embodiment of the present disclosure.
  • the present disclosure is not limited to application to the embodiment shown in FIG. 1 .
  • the operating method 200 includes the operations below.
  • the one or more processing components 110 control the communication component 130 to perform a scan procedure to receive a device name and an address of the external device 20 .
  • the external device 20 continuously broadcasts advertising data including the device name and the address of itself.
  • the one or more processing components 110 determine a connection interval corresponding to the external device 20 according to one or more of policies stored in the memory 120 under a condition that the device name and/or the address match the one or more of the policies.
  • the policies may include a first policy that when the device name is abc123 or includes a certain string (e.g., HTC-VIVE), determining the corresponding connection interval to be a shortest connection interval (e.g., 7.5 ms) available for the communication device 100 . Additionally, the policies may include a second policy that when the address is a certain address or within a certain address range, determining the corresponding connection interval to be a longest connection interval (e.g., 50 ms) available for the communication device 100 . When the device name of the external device 20 meets the first policy, the corresponding connection interval is determined to be the shortest connection interval available for the communication device 100 .
  • a certain string e.g., HTC-VIVE
  • the corresponding connection interval is determined to be the longest connection interval available for the communication device 100 .
  • the one or more processing components 110 may determine the corresponding connection interval according to the priorities of the first policy and the second policy.
  • the policies may be predetermined. In one embodiment, the policies may be determined according to the device types, the power statuses, and/or the data characteristic of the external devices. For example, when the external device is a light house of HTC Vive, when the external device 20 has a local power supply (e.g., receiving AC power from mains electricity), or when the data corresponding to the external device is timing constrained (e.g., needing a short connection interval to meet the deadline), the corresponding connection interval may be short.
  • the one or more processing components 110 may determine the connection interval corresponding to the external device 20 to be a default value (e.g., 50 ms).
  • the one or more processing components 110 control the communication component 130 to build a connection with the external device 20 according to the determined connection interval and the address of the external device 20 . After the connection corresponding to the connection interval between the communication device 100 and the external device 20 is built, the communication device 100 and the external device 20 communicate corresponding to the connection interval.
  • connection intervals corresponding to different external devices can be determined individually.
  • the one or more processing components 110 can set a new connection interval corresponding to the connection. Additionally, the external device 20 may send a request to the one or more processing components 110 to change the connection interval corresponding to the connection. The one or more processing components 110 can accept the request or ignore the request according to actual requirements.
  • the one or more processing components 110 may set a new connection interval or the external device 20 may send a request to the one or more processing components 110 to change the connection interval according to a variation of the condition, such as a variation of power statuses, and/or the data characteristic.
  • the one or more processing components 110 may set a new connection interval or the external device 20 may send a request to the one or more processing components 110 to change the connection interval from a short interval (e.g., 7.5 ms) to a long interval (e.g., 50 ms).
  • a short interval e.g., 7.5 ms
  • a long interval e.g., 50 ms
  • the one or more processing components 110 may set a new connection interval or the external device 20 may send a request to the one or more processing components 110 to change the connection interval from a long interval (e.g., 50 ms) to a short interval (e.g., 7.5 ms).
  • a long interval e.g., 50 ms
  • a short interval e.g., 7.5 ms
  • the one or more processing components 110 may set a new connection interval or the external device 20 may send a request to the one or more processing components 110 to change the connection interval from a short interval (e.g., 7.5 ms) to a long interval (e.g., 50 ms).
  • a short interval e.g., 7.5 ms
  • a long interval e.g., 50 ms
  • the one or more processing components 110 may set a new connection interval or the external device 20 may send a request to the one or more processing components 110 to change the connection interval from a long interval (e.g., 50 ms) to a short interval (e.g., 7.5 ms).
  • a second predetermined threshold e.g., 80%
  • the one or more processing components 110 may set a new connection interval or the external device 20 may send a request to the one or more processing components 110 to change the connection interval from a long interval (e.g., 50 ms) to a short interval (e.g., 7.5 ms).
  • a long interval e.g. 50 ms
  • a short interval e.g., 7.5 ms
  • the one or more processing components 110 may set a new connection interval or the external device 20 may send a request to the one or more processing components 110 to change the connection interval from a short interval (e.g., 7.5 ms) to a long interval (e.g., 50 ms).
  • the one or more processing components 110 can receive information of whether the external device 20 has a local power supply, the battery level of the external device 20 , whether data communicated between the communication device 100 and the external device 20 includes time-related data, the loading of the external device 20 , and/or the capability of the external device 20 . Additionally, the one or more processing components 110 can detect the loading of the communication device 100 and/or the degree of congestion between the communication device 100 and the external device 20 .
  • the one or more processing components 110 can determine the connection interval corresponding to the external device 20 according to one or more of the criteria including whether the device name and/or the address name of the external device 20 match one or more of the policies stored in the memory 120 , whether the external device 20 has a local power supply, the battery level of the external device 20 , whether data communicated between the communication device 100 and the external device 20 includes time-related data, the loading of the external device 20 , the loading of the communication device 100 , the degree of congestion between the communication device 100 and the external device 20 , the capability of the external device 20 , and an alarm.
  • the criteria including whether the device name and/or the address name of the external device 20 match one or more of the policies stored in the memory 120 , whether the external device 20 has a local power supply, the battery level of the external device 20 , whether data communicated between the communication device 100 and the external device 20 includes time-related data, the loading of the external device 20 , the loading of the communication device 100 , the degree of congestion between the communication device 100 and the external device 20
  • connection interval when the external device 20 has a local power supply, the connection interval may be determined to be 7.5 ms, and/or when the external device 20 has no local power supply, the connection interval may be determined to be 50 ms.
  • connection interval when the battery level of the external device 20 is between 80%-100%, the connection interval may be determined to be 7.5 ms, when the battery level of the external device 20 is between 60%-80%, the connection interval may be determined to be 30 ms, and/or when the battery level of the external device 20 is between 0%-60%, the connection interval may be determined to be 50 ms.
  • the connection interval may be determined to be 7.5 ms, and/or when the data communicated between the communication device 100 and the external device 20 do not includes time-related data, the connection interval may be determined to be 50 ms.
  • connection interval when the CPU loading of the external device 20 is between 0%-40%, the connection interval may be determined to be 7.5 ms, when the CPU loading of the external device 20 is between 40%-60%, the connection interval may be determined to be 15 ms, and/or when the CPU loading of the external device 20 is between 60%-100%, the connection interval may be determined to be 50 ms.
  • the connection interval may be determined to be 7.5 ms, when the CPU loading of the communication device 100 is between 30%-60%, the connection interval may be determined to be 15 ms, and/or when the CPU loading of the communication device 100 is between 60%-100%, the connection interval may be determined to be 50 ms.
  • connection interval when the degree of congestion between the communication device 100 and the external device 20 is light, the connection interval may be determined to be 7.5 ms, and/or when the degree of congestion between the communication device 100 and the external device 20 is severe, the connection interval may be determined to be 50 ms.
  • the one or more processing components 110 determine the connection interval to be the shortest connection interval (e.g., 7.5 ms) available for the communication device 100 , and/or when the external device 20 is incapable of the shortest connection interval (e.g., the available connection interval is 15 ms-50 ms) available for the communication device 100 , the one or more processing components 110 determine the connection interval to be the shortest connection interval (e.g., 15 ms) available for the external device 20 .
  • connection interval when an alarm occurs indicating that data between the communication device 100 and the external device 20 is timing constrained, the connection interval may be determined to be 7.5 ms, and/or when an alarm indicating the external device 20 or the communication device 100 has a heavy CPU loading, the connection interval may be determined to be 50 ms.
  • the one or more processing components 110 may determine the connection interval to be a shortest interval available for the communication device 100 in response to the facts that the battery level of the external device 20 is between 80%-100%, the CPU loadings of the external device 20 and the communication device 100 are between 0%-40%, and the degree of the congestion between the communication device 100 and the external device 20 is light.
  • the operating method 300 includes the operations below.
  • the one or more processing components 110 control the communication component 130 to perform a scan procedure to receive a device name and an address of the external device 20 .
  • the one or more processing components 110 determine whether the device name and/or the address name of the external device 20 match one or more of the policies stored in the memory 120 . If so, operation U 3 is performed. If not operation U 4 is performed.
  • the one or more processing components 110 determine a connection interval corresponding to the external device 20 according to the matched one or more of the policies.
  • operation U 4 under a condition that the device name and the address name of the external device 20 do not match any of the policies stored in the memory 120 , the one or more processing components 110 determine whether the external device 20 has a local power supply. If so, operation U 5 is performed. If not, one of operation U 6 -U 11 is performed.
  • the one or more processing components 110 determine the connection interval corresponding to the external device 20 to be a shortest connection interval (e.g., 7.5 ms) available for the communication device 100 .
  • a shortest connection interval e.g., 7.5 ms
  • the one or more processing components 110 determine the connection interval corresponding to the external device 20 according to the battery level of the external device 20 .
  • the one or more processing components 110 determine the connection interval corresponding to the external device 20 according to whether the data communicated between the communication device 100 and the external device 20 includes time-related data.
  • the one or more processing components 110 determine the connection interval corresponding to the external device 20 according to the loading of the external device 20 and/or the loading of the communication device 100 .
  • the one or more processing components 110 determine the connection interval corresponding to the external device 20 according to the degree of congestion between the communication device 100 and the external device 20 .
  • the one or more processing components 110 determine the connection interval corresponding to the external device 20 according to the capability of the connection interval of the external device 20 .
  • the one or more processing components 110 determine the connection interval corresponding to the external device 20 according to an alarm.
  • the one or more processing components 110 control the communication component 130 to build a connection with the external device 20 according to the determined/default connection interval and the address of the external device 20 .
  • connection intervals corresponding to different external devices can be determined individually.
  • operations U 2 and U 3 , operations U 4 and U 5 , and/or one or more of operations U 6 -U 11 can be omitted on a basis of actual requirements.
  • the operating method 400 includes the operations below.
  • the one or more processing components 110 control the communication component 130 to perform a scan procedure to receive a device name and an address of the external device 20 .
  • the one or more processing components 110 determine whether the device name and/or the address name of the external device 20 match one or more of the policies stored in the memory 120 . If so, operation S 3 is performed. If not operation S 4 is performed.
  • the one or more processing components 110 determine a connection interval corresponding to the external device 20 according to the matched one or more of the policies.
  • operation S 4 the one or more processing components 110 determine whether the external device 20 has a local power supply. If so, operation S 5 is performed. If not, operation S 6 is performed.
  • the one or more processing components 110 determine the connection interval corresponding to the external device 20 to be a shortest connection interval (e.g., 7.5 ms) available for the communication device 100 .
  • a shortest connection interval e.g., 7.5 ms
  • the one or more processing components 110 determine whether a battery level of the external device 20 is greater than a predetermined threshold (e.g., 60%). If so, operation S 7 is performed. If not, operation S 8 is performed.
  • a predetermined threshold e.g. 60%
  • the one or more processing components 110 determine the connection interval corresponding to the external device 20 according to the battery level of the external device 20 .
  • operation S 8 the one or more processing components 110 determine whether data communicated between the communication device 100 and the external device 20 includes time-related data. If so, operation S 9 is performed. If not, operation S 10 is performed.
  • the one or more processing components 110 determine the connection interval corresponding to the external device 20 corresponding to the data communicated between the communication device 100 and the external device 20 .
  • the one or more processing components 110 determine whether a loading of the external device 20 and/or a loading of the communication device 100 are lower than one or more predetermined thresholds (e.g., 60%). If so, operation S 11 is performed. If not, operation S 12 is performed.
  • one or more predetermined thresholds e.g., 60%
  • the one or more processing components 110 determine the connection interval corresponding to the external device 20 according to the loading of the external device 20 and/or the loading of the communication device 100 .
  • operation S 12 the one or more processing components 110 determine whether a degree of congestion between the communication device 100 and the external device 20 is light. If so, operation S 13 is performed. If not, operation S 14 is performed.
  • the one or more processing components 110 determine the connection interval corresponding to the external device 20 to be the shortest connection interval (e.g., 7.5 ms) available for the communication device 100 .
  • the one or more processing components 110 determine whether the external device 20 is capable of the shortest connection interval (e.g., 7.5 ms) available for the communication device 100 . If so, operation S 15 is performed. If not, operation S 16 is performed.
  • the shortest connection interval e.g., 7.5 ms
  • the one or more processing components 110 determine the connection interval to be the shortest connection interval (e.g., 7.5 ms) available for the communication device 100 .
  • operation S 16 the one or more processing components 110 determine whether an alarm occurs indicating that the connecting speed of the connection between the communication device 100 and the external device 20 should be fast. If so, operation S 17 is performed. If not, operation S 18 is performed.
  • the one or more processing components 110 determine the connection interval corresponding to the external device 20 according to the alarm.
  • connection interval corresponding to the external device 20 under a condition that the connection interval corresponding to the external device 20 is not determined in the previous operation, the one or more processing components 110 determine the connection interval corresponding to the external device 20 to be a default connection interval (e.g., 50 ms).
  • a default connection interval e.g. 50 ms
  • the one or more processing components 110 control the communication component 130 to build a connection with the external device 20 according to the determined connection interval and the address of the external device 20 .
  • connection intervals corresponding to different external devices can be determined individually.
  • operations S 2 and S 3 , operations S 4 and S 5 , operations S 6 and S 7 , operations S 8 and S 9 , operations S 10 and S 11 , operations S 12 and S 13 , operations S 14 and S 15 , and/or operations S 16 and S 17 can be omitted on a basis of actual requirements.
  • the communication system 10 a includes the communication device 100 and the external devices 20 a , 20 b , 20 c .
  • the external devices 20 a , 20 b , 20 c continuously broadcast their advertising data.
  • the external devices 20 a , 20 b , 20 c may respectively broadcast their Bluetooth device names or their Bluetooth device addresses.
  • the external devices 20 a , 20 b , 20 c may respectively broadcast their BLE device names or their BLE device addresses.
  • the one or more processing components 110 perform a scanning procedure to receive device names and addresses of the external devices 20 a , 20 b , 20 c . Subsequently, the one or more processing components 110 determine the connection intervals corresponding to the external devices 20 a , 20 b , 20 c , and accordingly build the connections therebetween.
  • connection interval of the connection between the one or more processing components 110 and the external device 20 a is determined to be a first connection interval with a value 7.5 ms because that the device name of the external device 20 a matches one of the policies in memory 120 .
  • the connection interval of the connection between the one or more processing components 110 and the external device 20 b is determined to be a second connection interval with a value 30 ms because that the battery level of the external device 20 b is between 60%-80%.
  • connection interval of the connection between the one or more processing components 110 and the external device 20 c is determined to be the default connection interval with a value 50 ms because that the external device 20 c does not fit any condition described in operations S 2 , S 4 , S 6 , S 8 , S 10 , S 12 , S 14 , S 16 .
  • connection intervals corresponding to external devices 20 a , 20 b , 20 c can be determined individually.
  • the operating methods 200 , 300 , 400 described above may be implemented as a computer program.
  • this executing device performs the operating method.
  • the computer program can be stored in a non-transitory computer readable medium such as a ROM (read-only memory), a flash memory, a floppy disk, a hard disk, an optical disc, a flash disk, a flash drive, a tape, a database accessible from a network, or any storage medium with the same functionality that can be contemplated by persons of ordinary skill in the art to which this invention pertains.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephone Function (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephonic Communication Services (AREA)

Abstract

An operating method of a communication device includes performing a wireless scan procedure by utilizing a radio communication technology to receive advertising data broadcasted by an external device; determining a connection interval corresponding to the external device according to one or more policies stored in the communication device under a condition that at least one of a device name and an address of the advertising data matches the one or more policies; and building a wireless connection with the external device for communication in the connection interval.

Description

    RELATED APPLICATIONS
  • The present application is a continuation application of the U.S. application Ser. No. 15/465,578, filed Mar. 21, 2017, which claims priority to U.S. Provisional Application Ser. No. 62/404,776, filed Oct. 6, 2016, all of which are herein incorporated by reference.
  • BACKGROUND Technical Field
  • The present disclosure relates to an electronic device, a method, and a non-transitory computer readable storage medium. More particularly, the present disclosure relates to a communication device, a method of the communication device, and a non-transitory computer readable storage medium.
  • Description of Related Art
  • With advances in technology, communication devices, such as phones and computers, are being increasingly used.
  • A communication device may communicate with different target devices in a same connection speed. However, the target devices may respectively have different abilities and require different data. It is not able to the communications with the same connection speed to fit the requirements of the targets devices.
  • SUMMARY
  • One aspect of the present disclosure is related to a method of a communication device. In accordance with one embodiment of the present disclosure, the method includes performing a scan procedure to receive a device name and an address of an external device; determining a connection interval corresponding to the external device according to one or more policies stored in the communication device under a condition that the device name and/or the address match the one or more policies; and building a connection with the external device according to the connection interval and the address of the external device, so that the communication device and the external device communicate corresponding to the connection interval.
  • Another aspect of the present disclosure is related to a communication device. In accordance with one embodiment of the present disclosure, the communication device includes a communication component, one or more processing components, memory, and one or more programs. The one or more processing components are electrically connected to communication component. The memory is electrically connected to the one or more processing components. The one or more programs are stored in the memory and configured to be executed by the one or more processing components. The one or more programs include instructions for controlling the communication component for performing a scan procedure to receive a device name and an address of an external device; determining a connection interval corresponding to the external device according to one or more policies stored in the communication device under a condition that the device name and/or the address match the one or more policies; and controlling the communication component for building a connection with the external device according to the connection interval and the address of the external device, so that the communication device and the external device communicate corresponding to the connection interval.
  • Another aspect of the present disclosure is related to a non-transitory computer readable storage medium. In accordance with one embodiment of the present disclosure, the non-transitory computer readable storage medium storing one or more programs include instructions, which when executed, causes one or more processing components to perform operations including performing a scan procedure to receive a device name and an address of an external device; determining a connection interval corresponding to the external device according to one or more policies stored in the communication device under a condition that the device name and/or the address match the one or more policies; and building a connection with the external device according to the connection interval and the address of the external device, so that the communication device and the external device communicate corresponding to the connection interval.
  • Through the operations of one embodiment described above, the connection intervals can be individually determined according to the policy.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • The invention can be more fully understood by reading the following detailed description of the embodiments, with reference made to the accompanying drawings as follows:
  • FIG. 1 is a schematic block diagram of a communication system in accordance with one embodiment of the present disclosure.
  • FIG. 2 is a flowchart of an operating method in accordance with one embodiment of the present disclosure.
  • FIG. 3 is a flowchart of an operating method in accordance with one embodiment of the present disclosure.
  • FIG. 4 is a flowchart of an operating method in accordance with one embodiment of the present disclosure.
  • FIG. 5 illustrates an illustrative example of a communication system in accordance with one embodiment of the present disclosure.
  • DETAILED DESCRIPTION
  • Reference will now be made in detail to the present embodiments of the invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers are used in the drawings and the description to refer to the same or like parts.
  • It will be understood that, in the description herein and throughout the claims that follow, when an element is referred to as being “connected” or “coupled” to another element, it can be directly connected or coupled to the other element or intervening elements may be present. In contrast, when an element is referred to as being “directly connected” or “directly coupled” to another element, there are no intervening elements present. Moreover, “electrically connect” or “connect” can further refer to the interoperation or interaction between two or more elements.
  • It will be understood that, in the description herein and throughout the claims that follow, although the terms “first,” “second,” etc. may be used to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of the embodiments.
  • It will be understood that, in the description herein and throughout the claims that follow, the terms “comprise” or “comprising,” “include” or “including,” “have” or “having,” “contain” or “containing” and the like used herein are to be understood to be open-ended, i.e., to mean including but not limited to.
  • It will be understood that, in the description herein and throughout the claims that follow, the phrase “and/or” includes any and all combinations of one or more of the associated listed items.
  • It will be understood that, in the description herein and throughout the claims that follow, words indicating direction used in the description of the following embodiments, such as “above,” “below,” “left,” “right,” “front” and “back,” are directions as they relate to the accompanying drawings. Therefore, such words indicating direction are used for illustration and do not limit the present disclosure.
  • It will be understood that, in the description herein and throughout the claims that follow, unless otherwise defined, all terms (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
  • Any element in a claim that does not explicitly state “means for” performing a specified function, or “step for” performing a specific function, is not to be interpreted as a “means” or “step” clause as specified in 35 U.S.C. § 112(f). In particular, the use of “step of” in the claims herein is not intended to invoke the provisions of 35 U.S.C. § 112(f).
  • One aspect of the present disclosure is related to a communication device. In the paragraphs below, a smart phone will be taken as an example to describe details of the communication device. However, another communication device, such as a tablet computer or a laptop computer, is within the contemplated scope of the present disclosure.
  • FIG. 1 is a schematic block diagram of a communication system 10 in accordance with one embodiment of the present disclosure. In this embodiment, the communication system 10 includes a communication device 100 and an external device 20. In one embodiment, the communication device 100 may communicate with the external device 20 via wireless connection. In one embodiment, the communication device 100 may communicate with the external device 20 by using, for example, bluetooth technology, bluetooth low energy (BLE) technology, or Wi-Fi technology, but the present disclosure is not limited in this regard.
  • In one embodiment, the communication device 100 includes one or more processing components 110, a memory 120, and a communication component 130. In this embodiment, the processing component one or more processing components 110 is electrically connected to the memory 120 and the communication component 130.
  • In one embodiment, the one or more processing components 110 can be realized by, for example, one or more processors, such as central processors and/or microprocessors, but are not limited in this regard. In one embodiment, the memory 120 includes one or more memory devices, each of which comprises, or a plurality of which collectively comprise a computer readable storage medium. The computer readable storage medium may include a read-only memory (ROM), a flash memory, a floppy disk, a hard disk, an optical disc, a flash disk, a flash drive, a tape, a database accessible from a network, or any storage medium with the same functionality that can be contemplated by persons of ordinary skill in the art to which this invention pertains. The communication component 130 can be realized by, for example, a bluetooth communication component, a BLE communication component, or a Wi-Fi communication component, but is not limited in this regard.
  • In one embodiment, the one or more processing components 110 may run or execute various software programs and/or sets of instructions stored in the memory 120 to perform various functions for the communication device 100 and to process data.
  • In one embodiment, the external device 20 may continuously broadcast its advertising data. The advertising data may include a device name and an address of the external device 20. The one or more processing components 110 may control the communication component 130 to perform a scanning procedure to receive device names and addresses of devices within the connection range of the communication component 130. In this embodiment, the one or more processing components 110 can acquire the device name and the address of the external device 20 in the scanning procedure. Subsequently, the one or more processing components 110 may compare the device name and the address of the external device 20 with policies stored in the memory 120. Under a condition that the device name and/or the address of the external device 20 match one or more of the policies, the one or more processing components 110 may determine a connection interval corresponding to a connection between the communication device 100 and the external device 20.
  • In one embodiment, the connection interval corresponds to a connection speed of the connection between the communication device 100 and the external device 20. In one embodiment, the connection interval indicates an interval time between two adjacent times of the communication device 100 connecting the external device 20 in the connection. For example, when the interval time of the connection between the communication device 100 and the external device 20 is 7.5 ms, the communication device 100 communicates with the external device 20 once every 7.5 ms. In one embodiment, the capability of the connection interval of the communication device 100 is, for example, 7.5 ms-50 ms.
  • After the connection interval is determined, the one or more processing components 110 can control the communication component 130 to build a connection with the external device 20 according to the determined connection interval and the address of the external device 20, so that the communication device 100 and the external device 20 communicate corresponding to the connection interval.
  • Through such a configuration, different connection intervals corresponding to different external devices can be determined individually.
  • Details of the present disclosure are described in the paragraphs below with reference to an operating method in FIG. 2. However, the present disclosure is not limited to the embodiment below.
  • It should be noted that the operating method can be applied to a communication device having a structure that is the same as or similar to the structure of the communication device 100 shown in FIG. 1. To simplify the description below, the embodiment shown in FIG. 1 will be used as an example to describe the operating method according to an embodiment of the present disclosure. However, the present disclosure is not limited to application to the embodiment shown in FIG. 1.
  • Reference is made to FIGS. 1 and 2. The operating method 200 includes the operations below.
  • In operation T1, the one or more processing components 110 control the communication component 130 to perform a scan procedure to receive a device name and an address of the external device 20. In one embodiment, the external device 20 continuously broadcasts advertising data including the device name and the address of itself.
  • In operation T2, the one or more processing components 110 determine a connection interval corresponding to the external device 20 according to one or more of policies stored in the memory 120 under a condition that the device name and/or the address match the one or more of the policies.
  • For example, the policies may include a first policy that when the device name is abc123 or includes a certain string (e.g., HTC-VIVE), determining the corresponding connection interval to be a shortest connection interval (e.g., 7.5 ms) available for the communication device 100. Additionally, the policies may include a second policy that when the address is a certain address or within a certain address range, determining the corresponding connection interval to be a longest connection interval (e.g., 50 ms) available for the communication device 100. When the device name of the external device 20 meets the first policy, the corresponding connection interval is determined to be the shortest connection interval available for the communication device 100. When the address of the external device 20 matches the second policy, the corresponding connection interval is determined to be the longest connection interval available for the communication device 100. When the device name of the external device 20 match the first policy and the address of the external device 20 match the second policy concurrently, the one or more processing components 110 may determine the corresponding connection interval according to the priorities of the first policy and the second policy.
  • In one embodiment, the policies may be predetermined. In one embodiment, the policies may be determined according to the device types, the power statuses, and/or the data characteristic of the external devices. For example, when the external device is a light house of HTC Vive, when the external device 20 has a local power supply (e.g., receiving AC power from mains electricity), or when the data corresponding to the external device is timing constrained (e.g., needing a short connection interval to meet the deadline), the corresponding connection interval may be short.
  • In one embodiment, under a condition that both of the device name and the address of the external device 20 do not match anyone of the policies stored in the memory, the one or more processing components 110 may determine the connection interval corresponding to the external device 20 to be a default value (e.g., 50 ms).
  • In operation T3, after the connection interval is determined, the one or more processing components 110 control the communication component 130 to build a connection with the external device 20 according to the determined connection interval and the address of the external device 20. After the connection corresponding to the connection interval between the communication device 100 and the external device 20 is built, the communication device 100 and the external device 20 communicate corresponding to the connection interval.
  • Through such operations, different connection intervals corresponding to different external devices can be determined individually.
  • In one embodiment of the present disclosure, after the connection between the communication device 100 and the external device 20 is built, the one or more processing components 110 can set a new connection interval corresponding to the connection. Additionally, the external device 20 may send a request to the one or more processing components 110 to change the connection interval corresponding to the connection. The one or more processing components 110 can accept the request or ignore the request according to actual requirements.
  • In one embodiment, the one or more processing components 110 may set a new connection interval or the external device 20 may send a request to the one or more processing components 110 to change the connection interval according to a variation of the condition, such as a variation of power statuses, and/or the data characteristic.
  • For example, under a condition that the power status of the external device 20 is changed from having a local power supply to having no local power supply, the one or more processing components 110 may set a new connection interval or the external device 20 may send a request to the one or more processing components 110 to change the connection interval from a short interval (e.g., 7.5 ms) to a long interval (e.g., 50 ms). Under a condition that the power status of the external device 20 is changed from having no local power supply to having a local power supply, the one or more processing components 110 may set a new connection interval or the external device 20 may send a request to the one or more processing components 110 to change the connection interval from a long interval (e.g., 50 ms) to a short interval (e.g., 7.5 ms).
  • As another example, under a condition that the battery level of the external device 20 is lower than a first predetermined threshold (e.g., 60%), the one or more processing components 110 may set a new connection interval or the external device 20 may send a request to the one or more processing components 110 to change the connection interval from a short interval (e.g., 7.5 ms) to a long interval (e.g., 50 ms). Under a condition that the battery level of the external device 20 is greater than a second predetermined threshold (e.g., 80%), the one or more processing components 110 may set a new connection interval or the external device 20 may send a request to the one or more processing components 110 to change the connection interval from a long interval (e.g., 50 ms) to a short interval (e.g., 7.5 ms).
  • As another example, under a condition that the data between the communication device 100 and the external device 20 is timing constrained, the one or more processing components 110 may set a new connection interval or the external device 20 may send a request to the one or more processing components 110 to change the connection interval from a long interval (e.g., 50 ms) to a short interval (e.g., 7.5 ms). Under a condition that the data between the communication device 100 and the external device 20 is not timing constrained, the one or more processing components 110 may set a new connection interval or the external device 20 may send a request to the one or more processing components 110 to change the connection interval from a short interval (e.g., 7.5 ms) to a long interval (e.g., 50 ms).
  • Another aspect of the present disclosure is described in the paragraphs below, but the present disclosure is not limited in this regard.
  • In one embodiment, the one or more processing components 110 can receive information of whether the external device 20 has a local power supply, the battery level of the external device 20, whether data communicated between the communication device 100 and the external device 20 includes time-related data, the loading of the external device 20, and/or the capability of the external device 20. Additionally, the one or more processing components 110 can detect the loading of the communication device 100 and/or the degree of congestion between the communication device 100 and the external device 20.
  • In one embodiment, the one or more processing components 110 can determine the connection interval corresponding to the external device 20 according to one or more of the criteria including whether the device name and/or the address name of the external device 20 match one or more of the policies stored in the memory 120, whether the external device 20 has a local power supply, the battery level of the external device 20, whether data communicated between the communication device 100 and the external device 20 includes time-related data, the loading of the external device 20, the loading of the communication device 100, the degree of congestion between the communication device 100 and the external device 20, the capability of the external device 20, and an alarm.
  • For example, when the external device 20 has a local power supply, the connection interval may be determined to be 7.5 ms, and/or when the external device 20 has no local power supply, the connection interval may be determined to be 50 ms.
  • As another example, when the battery level of the external device 20 is between 80%-100%, the connection interval may be determined to be 7.5 ms, when the battery level of the external device 20 is between 60%-80%, the connection interval may be determined to be 30 ms, and/or when the battery level of the external device 20 is between 0%-60%, the connection interval may be determined to be 50 ms.
  • As another example, when the data communicated between the communication device 100 and the external device 20 include a time-related data (e.g., a power management command, such as a wake-up command or a shut-down command) needed to be transmitted to the external device 20 within a short time period, the connection interval may be determined to be 7.5 ms, and/or when the data communicated between the communication device 100 and the external device 20 do not includes time-related data, the connection interval may be determined to be 50 ms.
  • As another example, when the CPU loading of the external device 20 is between 0%-40%, the connection interval may be determined to be 7.5 ms, when the CPU loading of the external device 20 is between 40%-60%, the connection interval may be determined to be 15 ms, and/or when the CPU loading of the external device 20 is between 60%-100%, the connection interval may be determined to be 50 ms.
  • As another example, when the CPU loading of the communication device 100 is between 0%-30%, the connection interval may be determined to be 7.5 ms, when the CPU loading of the communication device 100 is between 30%-60%, the connection interval may be determined to be 15 ms, and/or when the CPU loading of the communication device 100 is between 60%-100%, the connection interval may be determined to be 50 ms.
  • As another example, when the degree of congestion between the communication device 100 and the external device 20 is light, the connection interval may be determined to be 7.5 ms, and/or when the degree of congestion between the communication device 100 and the external device 20 is severe, the connection interval may be determined to be 50 ms.
  • As another example, when the external device 20 is capable of the shortest connection interval (e.g., 7.5 ms) available for the communication device 100, the one or more processing components 110 determine the connection interval to be the shortest connection interval (e.g., 7.5 ms) available for the communication device 100, and/or when the external device 20 is incapable of the shortest connection interval (e.g., the available connection interval is 15 ms-50 ms) available for the communication device 100, the one or more processing components 110 determine the connection interval to be the shortest connection interval (e.g., 15 ms) available for the external device 20.
  • As another example, when an alarm occurs indicating that data between the communication device 100 and the external device 20 is timing constrained, the connection interval may be determined to be 7.5 ms, and/or when an alarm indicating the external device 20 or the communication device 100 has a heavy CPU loading, the connection interval may be determined to be 50 ms.
  • As another example, the one or more processing components 110 may determine the connection interval to be a shortest interval available for the communication device 100 in response to the facts that the battery level of the external device 20 is between 80%-100%, the CPU loadings of the external device 20 and the communication device 100 are between 0%-40%, and the degree of the congestion between the communication device 100 and the external device 20 is light.
  • Details of the present disclosure are described in the paragraphs below with reference to an operating method in FIG. 3. However, the present disclosure is not limited to the embodiment below.
  • Reference is made to FIGS. 1 and 3. The operating method 300 includes the operations below.
  • In operation U1, the one or more processing components 110 control the communication component 130 to perform a scan procedure to receive a device name and an address of the external device 20.
  • In operation U2, the one or more processing components 110 determine whether the device name and/or the address name of the external device 20 match one or more of the policies stored in the memory 120. If so, operation U3 is performed. If not operation U4 is performed.
  • In operation U3, under a condition that the device name and/or the address name of the external device 20 match one or more of the policies stored in the memory 120, the one or more processing components 110 determine a connection interval corresponding to the external device 20 according to the matched one or more of the policies.
  • In operation U4, under a condition that the device name and the address name of the external device 20 do not match any of the policies stored in the memory 120, the one or more processing components 110 determine whether the external device 20 has a local power supply. If so, operation U5 is performed. If not, one of operation U6-U11 is performed.
  • In operation U5, under a condition that the external device 20 has a local power supply, the one or more processing components 110 determine the connection interval corresponding to the external device 20 to be a shortest connection interval (e.g., 7.5 ms) available for the communication device 100.
  • In operation U6, under a condition that the external device 20 has no local power supply, the one or more processing components 110 determine the connection interval corresponding to the external device 20 according to the battery level of the external device 20.
  • In operation U7, under a condition that the external device 20 has no local power supply, the one or more processing components 110 determine the connection interval corresponding to the external device 20 according to whether the data communicated between the communication device 100 and the external device 20 includes time-related data.
  • In operation U8, under a condition that the external device 20 has no local power supply, the one or more processing components 110 determine the connection interval corresponding to the external device 20 according to the loading of the external device 20 and/or the loading of the communication device 100.
  • In operation U9, under a condition that the external device 20 has no local power supply, the one or more processing components 110 determine the connection interval corresponding to the external device 20 according to the degree of congestion between the communication device 100 and the external device 20.
  • In operation U10, under a condition that the external device 20 has no local power supply, the one or more processing components 110 determine the connection interval corresponding to the external device 20 according to the capability of the connection interval of the external device 20.
  • In operation U11, under a condition that the external device 20 has no local power supply, the one or more processing components 110 determine the connection interval corresponding to the external device 20 according to an alarm.
  • In operation U12, after one of operation U6-U11 is performed, the one or more processing components 110 control the communication component 130 to build a connection with the external device 20 according to the determined/default connection interval and the address of the external device 20.
  • Through such operations, different connection intervals corresponding to different external devices can be determined individually.
  • It should be noted that, details of the operating method 400 can be ascertained with reference to the paragraphs above, and a description in this regard will not be repeated.
  • It should be noted that, in different embodiments, operations U2 and U3, operations U4 and U5, and/or one or more of operations U6-U11 can be omitted on a basis of actual requirements.
  • Details of the present disclosure are described in the paragraphs below with reference to an operating method in FIG. 4. However, the present disclosure is not limited to the embodiment below.
  • Reference is made to FIGS. 1 and 4. The operating method 400 includes the operations below.
  • In operation S1, the one or more processing components 110 control the communication component 130 to perform a scan procedure to receive a device name and an address of the external device 20.
  • In operation S2, the one or more processing components 110 determine whether the device name and/or the address name of the external device 20 match one or more of the policies stored in the memory 120. If so, operation S3 is performed. If not operation S4 is performed.
  • In operation S3, under a condition that the device name and/or the address name of the external device 20 match one or more of the policies stored in the memory 120, the one or more processing components 110 determine a connection interval corresponding to the external device 20 according to the matched one or more of the policies.
  • In operation S4, the one or more processing components 110 determine whether the external device 20 has a local power supply. If so, operation S5 is performed. If not, operation S6 is performed.
  • In operation S5, under a condition that the external device 20 has a local power supply, the one or more processing components 110 determine the connection interval corresponding to the external device 20 to be a shortest connection interval (e.g., 7.5 ms) available for the communication device 100.
  • In operation S6, the one or more processing components 110 determine whether a battery level of the external device 20 is greater than a predetermined threshold (e.g., 60%). If so, operation S7 is performed. If not, operation S8 is performed.
  • In operation S7, under a condition that the battery level of the external device 20 is greater than the predetermined threshold (e.g., 60%), the one or more processing components 110 determine the connection interval corresponding to the external device 20 according to the battery level of the external device 20.
  • In operation S8, the one or more processing components 110 determine whether data communicated between the communication device 100 and the external device 20 includes time-related data. If so, operation S9 is performed. If not, operation S10 is performed.
  • In operation S9, under a condition that the data communicated between the communication device 100 and the external device 20 includes time-related data, the one or more processing components 110 determine the connection interval corresponding to the external device 20 corresponding to the data communicated between the communication device 100 and the external device 20.
  • In operation S10, the one or more processing components 110 determine whether a loading of the external device 20 and/or a loading of the communication device 100 are lower than one or more predetermined thresholds (e.g., 60%). If so, operation S11 is performed. If not, operation S12 is performed.
  • In operation S11, under a condition that the loading of the external device 20 and/or the loading of the communication device 100 are lower than the one or more predetermined thresholds (e.g., 60%), the one or more processing components 110 determine the connection interval corresponding to the external device 20 according to the loading of the external device 20 and/or the loading of the communication device 100.
  • In operation S12, the one or more processing components 110 determine whether a degree of congestion between the communication device 100 and the external device 20 is light. If so, operation S13 is performed. If not, operation S14 is performed.
  • In operation S13, under a condition that the degree of congestion between the communication device 100 and the external device 20 is light, the one or more processing components 110 determine the connection interval corresponding to the external device 20 to be the shortest connection interval (e.g., 7.5 ms) available for the communication device 100.
  • In operation S14, the one or more processing components 110 determine whether the external device 20 is capable of the shortest connection interval (e.g., 7.5 ms) available for the communication device 100. If so, operation S15 is performed. If not, operation S16 is performed.
  • In operation S15, under a condition that the external device 20 is capable of the shortest connection interval (e.g., 7.5 ms) available for the communication device 100, the one or more processing components 110 determine the connection interval to be the shortest connection interval (e.g., 7.5 ms) available for the communication device 100.
  • In operation S16, the one or more processing components 110 determine whether an alarm occurs indicating that the connecting speed of the connection between the communication device 100 and the external device 20 should be fast. If so, operation S17 is performed. If not, operation S18 is performed.
  • In operation S17, under a condition that the alarm occurs, the one or more processing components 110 determine the connection interval corresponding to the external device 20 according to the alarm.
  • In operation S18, under a condition that the connection interval corresponding to the external device 20 is not determined in the previous operation, the one or more processing components 110 determine the connection interval corresponding to the external device 20 to be a default connection interval (e.g., 50 ms).
  • In operation S19, after the connection interval is determined, the one or more processing components 110 control the communication component 130 to build a connection with the external device 20 according to the determined connection interval and the address of the external device 20.
  • Through such operations, different connection intervals corresponding to different external devices can be determined individually.
  • It should be noted that, details of the operating method 400 can be ascertained with reference to the paragraphs above, and a description in this regard will not be repeated.
  • It should be noted that, in different embodiments, operations S2 and S3, operations S4 and S5, operations S6 and S7, operations S8 and S9, operations S10 and S11, operations S12 and S13, operations S14 and S15, and/or operations S16 and S17 can be omitted on a basis of actual requirements.
  • To allow the disclosure to be more fully understood, illustrative examples are described in the paragraphs below with reference to FIG. 5, but the present disclosure is not limited to the examples below.
  • In this illustrative example, the communication system 10 a includes the communication device 100 and the external devices 20 a, 20 b, 20 c. The external devices 20 a, 20 b, 20 c continuously broadcast their advertising data. For example, the external devices 20 a, 20 b, 20 c may respectively broadcast their Bluetooth device names or their Bluetooth device addresses. As another example, the external devices 20 a, 20 b, 20 c may respectively broadcast their BLE device names or their BLE device addresses.
  • The one or more processing components 110 perform a scanning procedure to receive device names and addresses of the external devices 20 a, 20 b, 20 c. Subsequently, the one or more processing components 110 determine the connection intervals corresponding to the external devices 20 a, 20 b, 20 c, and accordingly build the connections therebetween.
  • In this illustrative example, the connection interval of the connection between the one or more processing components 110 and the external device 20 a is determined to be a first connection interval with a value 7.5 ms because that the device name of the external device 20 a matches one of the policies in memory 120. The connection interval of the connection between the one or more processing components 110 and the external device 20 b is determined to be a second connection interval with a value 30 ms because that the battery level of the external device 20 b is between 60%-80%. The connection interval of the connection between the one or more processing components 110 and the external device 20 c is determined to be the default connection interval with a value 50 ms because that the external device 20 c does not fit any condition described in operations S2, S4, S6, S8, S10, S12, S14, S16.
  • Through the operations described above, different connection intervals corresponding to external devices 20 a, 20 b, 20 c can be determined individually.
  • It should be noted that, in some embodiments, the operating methods 200, 300, 400 described above may be implemented as a computer program. When the computer program is executed by a computer, an electronic device, or the one or more processor one or more processing components 110 in FIG. 1, this executing device performs the operating method. The computer program can be stored in a non-transitory computer readable medium such as a ROM (read-only memory), a flash memory, a floppy disk, a hard disk, an optical disc, a flash disk, a flash drive, a tape, a database accessible from a network, or any storage medium with the same functionality that can be contemplated by persons of ordinary skill in the art to which this invention pertains.
  • In addition, it should be noted that in the operations of the operating methods described above, no particular sequence is required unless otherwise specified. Moreover, the operations of the operating methods described above also may be performed simultaneously or the execution times thereof may at least partially overlap.
  • Furthermore, the operations of the operating method described above may be added to, replaced, and/or eliminated as appropriate, in accordance with various embodiments of the present disclosure.
  • Although the present invention has been described in considerable detail with reference to certain embodiments thereof, other embodiments are possible. Therefore, the scope of the appended claims should not be limited to the description of the embodiments contained herein.

Claims (20)

What is claimed is:
1. A method of a communication device comprising:
performing a wireless scan procedure by utilizing a radio communication technology to receive advertising data broadcasted by an external device;
determining a connection interval corresponding to the external device according to one or more policies stored in the communication device under a condition that at least one of a device name and an address of the advertising data matches the one or more policies; and
building a wireless connection with the external device for communication in the connection interval.
2. The method as claimed in claim 1 further comprising:
determining the connection interval according to whether the external device has a local power supply.
3. The method as claimed in claim 1 further comprising:
determining the connection interval according to a battery level of the external device.
4. The method as claimed in claim 1 further comprising:
determining the connection interval according to whether data communicated between the communication device and the external device includes time-related data.
5. The method as claimed in claim 1 further comprising:
determining the connection interval according to a loading of the external device and/or a loading of the communication device.
6. The method as claimed in claim 1 further comprising:
determining the connection interval according to a degree of congestion between the communication device and the external device.
7. The method as claimed in claim 1 further comprising:
determining the connection interval according to the capacity of the connection interval of the external device.
8. A communication device comprising:
a communication component;
one or more processing components electrically connected to the communication component;
a memory electrically connected to the one or more processing components; and
one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processing components, the one or more programs comprising instructions for:
controlling the communication component for performing a wireless scan procedure by utilizing a radio communication technology to receive advertising data broadcasted by an external device;
determining a connection interval corresponding to the external device according to one or more policies stored in the communication device under a condition that at least one of a device name and an address of the advertising data matches the one or more policies; and
controlling the communication component to build a wireless connection with the external device for communication in the connection interval.
9. The communication device as claimed in claim 8, wherein the communication component is a bluetooth communication component, a bluetooth low energy (BLE) communication component, or a Wi-Fi communication component.
10. The communication device as claimed in claim 8, wherein the one or more programs further comprises instructions for:
determining the connection interval according to whether the external device has a local power supply.
11. The communication device as claimed in claim 8, wherein the one or more programs further comprises instructions for:
determining the connection interval according to a battery level of the external device.
12. The communication device as claimed in claim 8, wherein the one or more programs further comprises instructions for:
determining the connection interval according to whether data communicated between the communication device and the external device includes time-related data.
13. The communication device as claimed in claim 8, wherein the one or more programs further comprises instructions for:
determining the connection interval according to a loading of the external device and/or a loading of the communication device.
14. The communication device as claimed in claim 8, wherein the one or more programs further comprises instructions for:
determining the connection interval according to a degree of congestion between the communication device and the external device.
15. A non-transitory computer readable storage medium storing one or more programs comprising instructions, which when executed, causes one or more processing components to perform operations comprising:
performing a wireless scan procedure by utilizing a radio communication technology to receive advertising data broadcasted by an external device;
determining a connection interval corresponding to the external device according to one or more policies stored in the communication device under a condition that at least one of a device name and an address of the advertising data matches the one or more policies; and
building a wireless connection with the external device for communication in the connection interval.
16. The non-transitory computer readable storage medium as claimed in claim 15 comprising instructions, which when executed, causes the one or more processing components to further perform operations comprising:
determining the connection interval according to whether the external device has a local power supply.
17. The non-transitory computer readable storage medium as claimed in claim 15 comprising instructions, which when executed, causes the one or more processing components to further perform operations comprising:
determining the connection interval according to a battery level of the external device.
18. The non-transitory computer readable storage medium as claimed in claim 15 comprising instructions, which when executed, causes the one or more processing components to further perform operations comprising:
determining the connection interval according to whether data communicated between the communication device and the external device includes time-related data.
19. The non-transitory computer readable storage medium as claimed in claim 15 comprising instructions, which when executed, causes the one or more processing components to further perform operations comprising:
determining the connection interval according to a loading of the external device and/or a loading of the communication device.
20. The non-transitory computer readable storage medium as claimed in claim 15 comprising instructions, which when executed, causes the one or more processing components to further perform operations comprising:
determining the connection interval according to a degree of congestion between the communication device and the external device.
US16/845,051 2016-10-06 2020-04-09 Communication device, method of communication device, and non-transitory computer readable storage medium Abandoned US20200244782A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/845,051 US20200244782A1 (en) 2016-10-06 2020-04-09 Communication device, method of communication device, and non-transitory computer readable storage medium

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US201662404776P 2016-10-06 2016-10-06
US15/465,578 US10659574B2 (en) 2016-10-06 2017-03-21 Communication device, method of communication device, and non-transitory computer readable storage medium
US16/845,051 US20200244782A1 (en) 2016-10-06 2020-04-09 Communication device, method of communication device, and non-transitory computer readable storage medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US15/465,578 Continuation US10659574B2 (en) 2016-10-06 2017-03-21 Communication device, method of communication device, and non-transitory computer readable storage medium

Publications (1)

Publication Number Publication Date
US20200244782A1 true US20200244782A1 (en) 2020-07-30

Family

ID=61829223

Family Applications (2)

Application Number Title Priority Date Filing Date
US15/465,578 Active 2038-02-06 US10659574B2 (en) 2016-10-06 2017-03-21 Communication device, method of communication device, and non-transitory computer readable storage medium
US16/845,051 Abandoned US20200244782A1 (en) 2016-10-06 2020-04-09 Communication device, method of communication device, and non-transitory computer readable storage medium

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US15/465,578 Active 2038-02-06 US10659574B2 (en) 2016-10-06 2017-03-21 Communication device, method of communication device, and non-transitory computer readable storage medium

Country Status (1)

Country Link
US (2) US10659574B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210017327A (en) * 2019-08-07 2021-02-17 삼성전자주식회사 Apparatus and method for fast communication between mast and slave

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7583625B2 (en) * 2006-04-06 2009-09-01 Broadcom Corporation Access point multi-level transmission power and protocol control based on the exchange of characteristics
US8686685B2 (en) * 2009-12-25 2014-04-01 Golba, Llc Secure apparatus for wirelessly transferring power and communicating with one or more slave devices

Also Published As

Publication number Publication date
US20180103130A1 (en) 2018-04-12
US10659574B2 (en) 2020-05-19

Similar Documents

Publication Publication Date Title
US20210389973A1 (en) Electronic device and method for operating the same
US8885565B2 (en) Mixed off-site/on-site prediction computation for reducing wireless reconnection time of a computing device
US9942839B2 (en) Reducing wireless reconnection time of a computing device
US20190052100A1 (en) Method of transmitting and receiving power and electronic device using the same
US8521929B2 (en) Virtual serial port management system and method
US9026863B2 (en) Replacement of storage responsive to remaining life parameter
US10007507B2 (en) Method for updating firmware of a battery included in a rechargeable battery module, portable electronic device, and rechargeable battery module
US10402222B2 (en) Task migration method and apparatus
CN109075588B (en) Electronic device and method for charging battery
US10921870B2 (en) System and method for hybrid power supply
CN106062763A (en) Method and apparatus for displaying application and picture, and electronic device
US11816200B2 (en) Terminal and method for managing launch of an application of a terminal
CN109450009B (en) Charging control method and device and computer storage medium
US20200244782A1 (en) Communication device, method of communication device, and non-transitory computer readable storage medium
US10237087B2 (en) Method for controlling transmission speed and electronic device thereof
US10520929B2 (en) Techniques for implementing universal commands in a welding or cutting system
CN104424142B (en) The method and apparatus of shared resource is accessed in a kind of multi-core processor system
US20160234785A1 (en) Adaptable power-budget for mobile devices
US20140281474A1 (en) System and Method for Unattended Out of Band Job Execution
JP6908664B2 (en) Systems and methods for extending power supply hold-up time
KR102252617B1 (en) Method for transmitting data and electronic device implementing the same
US9501116B2 (en) Power integrated device and power control method thereof
CN116528300A (en) Task issuing method, device, system and communication equipment
EP3507049A1 (en) Techniques for implementing memory segmentation in a welding or cutting system

Legal Events

Date Code Title Description
AS Assignment

Owner name: HTC CORPORATION, TAIWAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:CHEN, KAI-HSIU;LIN, CHENG-KANG;TSAI, YAO-TE;REEL/FRAME:052384/0807

Effective date: 20200409

STPP Information on status: patent application and granting procedure in general

Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION

STPP Information on status: patent application and granting procedure in general

Free format text: NON FINAL ACTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER

STPP Information on status: patent application and granting procedure in general

Free format text: FINAL REJECTION MAILED

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION