[go: up one dir, main page]

CN117460097A - Electronic device, communication control method, and communication control system - Google Patents

Electronic device, communication control method, and communication control system Download PDF

Info

Publication number
CN117460097A
CN117460097A CN202210851366.4A CN202210851366A CN117460097A CN 117460097 A CN117460097 A CN 117460097A CN 202210851366 A CN202210851366 A CN 202210851366A CN 117460097 A CN117460097 A CN 117460097A
Authority
CN
China
Prior art keywords
connection
terminal device
communication
communication module
terminal devices
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
CN202210851366.4A
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.)
Alps Alpine Co Ltd
Original Assignee
Alps Electric 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 Alps Electric Co Ltd filed Critical Alps Electric Co Ltd
Priority to CN202210851366.4A priority Critical patent/CN117460097A/en
Publication of CN117460097A publication Critical patent/CN117460097A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • 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
    • H04B1/40Circuits
    • H04B1/401Circuits for selecting or indicating operating mode
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The electronic device of the invention at least comprises: a plurality of communication modules; a control unit; a connection processing unit; a connection result detection unit; when the connection establishment processing between any one of the plurality of communication modules and a specific one of the terminal devices fails, based on the result detected by the connection result detection unit, the control unit transmits connection request data of the specific terminal device to the other communication module among the plurality of communication modules, and performs control so that the connection processing unit performs the connection establishment processing between the other communication module and the specific terminal device. The invention provides an electronic device, a communication control method and a communication control system, which can expand the number of terminal devices which can be connected with electronic equipment, and can timely manage the connection condition between two modules and each terminal device when a plurality of connection modules are arranged in the electronic equipment.

Description

Electronic device, communication control method, and communication control system
Technical Field
The invention relates to an electronic device, a communication control method and a communication control system, and belongs to the field of communication control.
Background
In general, after an electronic device turns on a bluetooth function switch, other electronic devices capable of being connected with the electronic device through bluetooth appear in a search list of the electronic device, and then according to operation of a user, after selection of certain other devices, the electronic device can be successfully connected, and data interaction can be further performed. For example, when the other electronic device is an earphone, only the earphone and the electronic device need to be paired once when connected for the first time, and the earphone and the electronic device need not to be paired again when connected again for the next time, so that data interaction can be directly performed.
On the other hand, with the development of technology, there is an increasing demand for one electronic device to be connected to a plurality of other electronic devices at the same time. Because of the limit of the number of devices that can be connected by one communication module, in order to eliminate the limit, the number of devices that can be connected at the same time can be increased by expanding one communication module, but the implementation of the technical scheme requires huge scientific research cost and cannot be applied to products in a short time. Therefore, in order to cope with the increasing demand, a method of placing a plurality of communication modules or chips in an electronic device is generally adopted in the industry, so that the number of devices to which the electronic device can be connected is the sum of the number of devices to which the plurality of communication modules or chips can be connected, thereby realizing an upper limit of the number of devices to which the electronic device can be connected. In this context, as shown in fig. 1, the electronic device has a bluetooth module BT1 and a bluetooth module BT2; the terminal devices t_a, t_b, t_c are paired with the bluetooth module BT1 in the electronic apparatus and successfully connect for communication, respectively, at different time instances. At this time, according to the order from the beginning, after the terminal device t_a and the terminal device t_b are connected to the bluetooth module BT1 and establish communication before the terminal device t_c, i.e. the P1 process and the P2 process are successfully executed, when the terminal device t_c is started, the terminal device t_c will automatically attempt to connect to the bluetooth module BT1 that has been paired before, i.e. execute the P3 process, but since the bluetooth module BT1 is limited by the number of connectable devices (here, the upper limit of the number of terminal devices that the bluetooth module BT1 and the bluetooth module BT2 can be connected is 2, respectively), the terminal device t_c cannot be connected to the bluetooth module BT1, i.e. cannot establish communication with the bluetooth module BT1, and the P3 process fails. Meanwhile, since the terminal device C is not paired with the bluetooth module BT2 in the electronic device, the terminal device t_c cannot automatically connect with the bluetooth module BT2 and establish communication, and the P4 process connection fails when the terminal device t_c needs to be paired in advance. Therefore, there is a problem that an idle bluetooth module is clearly present in the electronic device, but the terminal device cannot be connected to the idle bluetooth module. For the user, the user only knows that the electronic device can be connected with 4 terminal devices, and the terminal device T_C is the 3 rd terminal device, and the upper limit of the connection of the electronic device is not exceeded, but the problem of no connection exists at present, so that the user of the earphone is bothered in use.
Disclosure of Invention
The present invention has been made to solve the above-mentioned problems occurring in the prior art, and an object of the present invention is to provide an electronic device, a communication control method, and a communication control system that can expand the number of terminal devices to which an electronic device can be connected, and can timely manage connection conditions between two modules and each terminal device when a plurality of connection modules are built in the electronic device.
The invention provides an electronic device, comprising: a plurality of communication modules capable of being respectively connected with a plurality of terminal devices through a wireless communication technology to realize data interaction; a control unit connected to the plurality of communication modules so as to be capable of data communication; a connection processing unit for receiving connection request data from the plurality of terminal devices and performing connection establishment processing when data communication is to be started; a connection result detection unit for detecting whether the connection establishment process of the connection processing unit is successful; when the connection establishment processing between any one of the plurality of communication modules and a specific one of the terminal devices fails, based on the result detected by the connection result detection unit, the control unit transmits connection request data of the specific terminal device to the other communication module among the plurality of communication modules, and performs control so that the connection processing unit performs the connection establishment processing between the other communication module and the specific terminal device.
The electronic apparatus further includes a connection number determination unit configured to determine whether or not the number of terminal devices reaches an upper limit of the number of permitted connection terminal devices of the one communication module, or whether or not the number of the terminal devices reaches an upper limit of the number of permitted connection in the same connection protocol, when the connection result detection unit detects that connection establishment processing with a specific terminal device fails in the one communication module; the control unit transmits connection request data of a specific terminal device to the other communication modules when the number of terminal devices in one of the communication modules fails in connection establishment processing with the specific terminal device, based on a result of the determination by the connection number determination unit, reaches an upper limit of the number of permitted connection terminal devices for the one communication module or reaches an upper limit of the number of permitted connections in the same connection protocol.
The electronic device may further include the connection request data including at least an address of the terminal device; when receiving the connection request data of the specific terminal device, the other communication module automatically performs connection establishment processing with the specific terminal device according to the address information of the terminal device contained in the connection request data.
The electronic apparatus further includes a terminal device type identification unit that identifies a type of the terminal device based on the terminal device receiving the connection request data; a device class manual pairing process necessity determination unit configured to determine whether or not the class is a device class which requires manual pairing before the connection establishment process, based on the class of the terminal device identified by the terminal device class identification unit; a display unit connected to the control unit; according to the judging result of the manual pairing process necessity judging part, when the specific terminal device needs to execute the device type of the manual pairing process before the connection establishment process, the control part generates a prompt of the manual pairing process and displays the prompt on the display part.
The invention also provides a communication control method, which comprises an electronic device provided with a plurality of communication modules capable of being respectively connected with a plurality of terminal devices through a wireless communication technology to realize data interaction and a control part capable of being connected with the plurality of communication modules in a data communication mode; a connection processing step of receiving connection request data from the plurality of terminal devices and performing connection establishment processing when the electronic device is about to start data communication; a connection result detection step of detecting a result of success or failure of connection establishment processing in the connection processing step; a connection request data transfer step of transmitting connection request data of a specific terminal device to other communication modules among the plurality of communication modules when the connection establishment processing between any one of the plurality of communication modules and the specific terminal device fails, based on the result detected in the connection result detection step; and a reconnection processing step of performing connection establishment processing with the specific terminal device on the other communication module that receives the connection request data.
Further, the communication control method includes a connection number determination step of determining whether or not the number of the terminal devices reaches an upper limit of the number of permitted connection terminal devices of the terminal device with respect to the one communication module, or whether or not the number of permitted connection terminals reaches an upper limit of the number of permitted connection terminals in the same connection protocol, when a connection establishment process failure between the one communication module and the specific terminal device is detected in the connection result detection step; according to the result of the connection number judging step, when the reason why the connection establishment processing with the specific terminal device in the certain communication module fails is that the number of the terminal devices reaches the upper limit of the number of the allowed connection terminal devices of the terminal device relative to the one communication module or reaches the upper limit of the number of the allowed connection in the same connection protocol, the connection request data forwarding step sends the connection request data of the specific terminal device to the other communication module.
The invention also provides a communication control system, comprising: a plurality of terminal devices having a wireless communication function; the electronic device is composed of a plurality of communication modules which can be respectively connected with the plurality of terminal devices through a wireless communication technology to realize data interaction and a control part which can be connected with the plurality of communication modules in a data communication mode; the electronic device includes: a connection processing unit for receiving connection request data from the plurality of terminal devices and performing connection establishment processing when data communication is to be started; a connection result detection unit for detecting whether the connection establishment process of the connection processing unit is successful; when the connection establishment processing between any one of the plurality of communication modules and a specific one of the terminal devices fails, based on the result detected by the connection result detection unit, the control unit transmits connection request data of the specific terminal device to the other communication module among the plurality of communication modules, and performs control so that the connection processing unit performs the connection establishment processing between the other communication module and the specific terminal device.
The communication control system includes: a connection number determination unit configured to determine, when the connection result detection unit detects that connection establishment processing with a specific terminal device in one of the communication modules fails, whether or not the number of terminal devices reaches an upper limit of the number of permitted connection terminal devices for the one communication module, or whether or not the number of terminal devices reaches an upper limit of the number of permitted connection in the same connection protocol; the control unit transmits connection request data of the specific terminal device to the other communication modules when the number of the terminal devices fails in connection establishment processing of the specific terminal device with the one communication module reaches an upper limit of the number of permitted connection terminal devices of the terminal device with respect to the one communication module or reaches an upper limit of the number of permitted connection in the same connection protocol, based on a result of the determination by the connection number determination unit.
The invention has the advantages that:
according to the electronic device, the communication control method and the communication control system provided by the invention, the upper limit of the number of terminal devices with which one electronic device can be connected for communication can be expanded by controlling the communication among a plurality of modules in the electronic device and between the plurality of modules and the terminal device; meanwhile, the problem of how to control the terminal equipment to be smoothly connected with other modules in the electronic equipment when the terminal equipment cannot be connected with the terminal equipment because the number of the terminal equipment which can be connected with one module in the electronic equipment reaches the upper limit is solved. Thereby realizing the expansion of the upper limit of the terminal equipment which can be connected with the electronic equipment; simultaneously establishing connection sharing information to a plurality of terminal devices; meanwhile, a plurality of terminal devices can be effectively managed, and the terminal devices can be mutually switched and connected among a plurality of modules in the electronic device; thereby improving the stability of the connection of the electronic equipment; meanwhile, for users, the number of the terminal devices which can be connected is increased, so that the requirement that a plurality of users share audio at the same time is met, and even if a problem occurs in connection among a plurality of modules, the users can receive prompt information, and the use experience of the users is improved.
Drawings
Fig. 1 is a diagram for explaining the problem of the background of the invention.
Fig. 2 is a block diagram of an electronic device 100 according to a first embodiment of the present invention.
Fig. 3 is a flowchart of a communication control method of the electronic device 100 according to the first embodiment of the present invention.
Fig. 4 is a schematic diagram of a communication control system according to the present invention.
Fig. 5 is a block diagram of an electronic device 200 according to a second embodiment of the present invention.
Fig. 6 is a flowchart of a communication control method of the electronic device 200 according to the second embodiment of the present invention.
Fig. 7 is a block diagram of an electronic device 300 according to a second embodiment of the present invention.
Fig. 8 is a flowchart of a communication control method of the electronic device 300 according to the second embodiment of the present invention.
Fig. 9 shows a comparison of a terminal device name and a category according to the present invention.
Fig. 10 is a block diagram of a communication control system according to the present invention.
Reference numerals illustrate:
BT1: a Bluetooth module 1; BT2: a Bluetooth module 2; a and B: a communication module; t_a, t_b, t_c: a terminal device; p1: the terminal equipment T_A and the Bluetooth module BT1 attempt to establish connection; p2: the terminal equipment T_B and the Bluetooth module BT1 attempt to establish connection; p3: the terminal equipment T_C and the Bluetooth module BT1 attempt to establish connection; p4: the terminal equipment T_C and the Bluetooth module BT2 attempt to establish connection; 100. 200, 300: an electronic device; 11: a connection processing unit; 12: a control unit; 13: a connection result detection unit; 14: a connection number judgment unit; 15: a terminal device type identification unit; 16: a manual pairing process necessity judgment unit; 17: and a display unit.
Detailed Description
Embodiment one
An electronic device 100 according to a first embodiment of the present invention will be described below with reference to fig. 2. In the specific embodiment, the components of the device may be changed, deleted or added according to the actual situation, and the steps of the method may be changed, deleted, added or added according to the actual situation.
The electronic device 100 of the present embodiment is configured by a plurality of communication modules such as a communication module a and a communication module B, a connection processing unit 11, a control unit 12, a connection result detecting unit 13, and the like.
The communication module a, the communication module B, and other communication modules are built in the electronic device 100, and are composed of a basic circuit set of a chip integrating a wireless communication function, a storage component, a data transmission component, and the like, and are respectively connected with a plurality of terminal devices through a wireless communication technology to realize data interaction so as to realize wireless network communication. Here, when communication is performed by using the bluetooth wireless communication technology, it is constituted by a basic circuit set of a chip integrating bluetooth functions, a storage section, a data transmission section, and the like. Specifically, the communication module a, the communication module B, and the like acquire data through a transmission protocol, and can search for devices that can be connected within a communication range and store information of the devices that can be connected. The communication unit 101 includes an antenna, a radio circuit, a protocol stack, a calculation circuit, and the like, and transmits and receives data by performing near field communication with a terminal device. In the present embodiment, the technology for realizing the short-range wireless communication is Bluetooth (registered trademark). Here, the communication unit 101 may include an information transmitting/receiving unit (not shown) for transmitting and receiving information content transmitted through Bluetooth.
The connection processing unit 11 is composed of a CPU, a data analysis processing module, a storage module, an information decoding module, and the like, and receives connection request data from the plurality of terminal devices and performs connection establishment processing according to a predetermined protocol when data communication is to be started. Here, the processing unit 11 may perform the connection establishment processing when receiving a connection request from the terminal device (the bluetooth module serves as a slave, does not actively establish a connection, waits for the terminal device to connect itself), or may perform the connection establishment processing after acquiring a communication address of the terminal device (the bluetooth module serves as a master, and can search for another bluetooth module and actively establish a connection). When the connection processing unit 11 successfully executes the connection establishment processing between the communication module a, the communication module B, or other modules and other terminal devices, a success signal, for example, a signal "1", is sent to the connection result detection unit 13; in contrast, when the connection processing unit 11 fails to perform the connection establishment processing between the communication module a, the communication module B, or other modules and other terminal devices, a failure signal, for example, a signal "0" is sent to the control unit 12 and the connection result detection unit 13.
The control unit 12 is configured by a CPU, a data analysis processing unit, a storage unit, and the like, and is connected to the plurality of communication modules so as to be capable of performing data communication, and when the connection establishment processing between any one of the plurality of communication modules and a specific one of the terminal devices fails, for example, when the connection establishment processing between the communication module a and the specific one of the terminal devices fails, that is, when a signal "0" indicating that the connection establishment processing sent from the result detection unit 13 fails is received, confirms another communication module capable of establishing a connection, for example, a communication module B, and sends connection request data of the specific terminal device to another communication module among the plurality of communication modules, that is, to the communication module B, and performs the connection establishment processing between the communication module B and the specific terminal device. Here, the connection request data refers to information of a connection request transmitted from the terminal device received by any one of the plurality of communication modules when the terminal device is in communication connection with the communication module, and the information includes, but is not limited to, device name information, device address information, connection key information, and the like.
The connection result detection unit 13 is constituted by a CPU, a storage unit, and the like, and detects the success or failure of the connection establishment processing performed by the connection processing unit 11. When detecting the result of the failure of the connection establishment process transmitted from the connection processing unit 11, the control unit 12 transmits a signal "0", for example, to the result of the failure.
Next, an operation flow of the electronic device 100 according to the first embodiment of the present invention will be described with reference to fig. 3.
Here, the electronic device 100 of the present embodiment will be described by taking 2 communication modules such as the communication module a and the communication module B as an example.
First, the connection processing section 11 receives a connection request transmitted from a terminal device and performs a connection establishment process of the terminal device with the communication module a in the present electronic apparatus (S301);
next, the connection result detecting unit 13 acquires an execution result of the connection establishment process between the terminal device and the communication module a executed by the connection processing unit 11 (step S302);
according to the result of the step S302, when the result of the connection establishment process of the terminal device is successful (yes in step S303), the terminal device performs data interaction after establishing a communication connection with the communication module a in the electronic apparatus 100 (step S308);
When the connection establishment processing of the terminal device is performed as a failure (step S303: NO), the connection establishment processing is performed to send a connection result to the control unit 12 (step S304);
when receiving a signal that the connection establishment process sent from the result detection unit 13 has failed, the control unit 12 sends the connection request data to another communication module in the electronic device 100, that is, to a communication module B (step S305);
next, the control unit 12 transmits the received connection request data to the communication module B, and executes a connection establishment process between the communication module B and the terminal device based on the connection request data (step S306); and after the connection establishment process is successfully executed, the terminal device performs data interaction through the communication module B in the electronic device of the present invention (step S307).
By this embodiment, a plurality of communication modules can exist in the electronic device, and one or more communication modules have established a communication connection with the terminal device before the connection establishment process is performed, that is, if the terminal device is powered on again to establish a connection with the electronic device 100, and if the one or more modules in the electronic device 100 that have previously established a connection with the terminal device cannot establish a connection with the terminal device, the embodiment confirms whether other modules in the electronic device 100 can establish a connection, and if the other modules can be connected, sends connection request data of the terminal device to the other modules, and performs the connection establishment process. In this way, the number of connections of the electronic device 100 can be expanded, and meanwhile, the step of manual operation by a user is omitted, thereby providing convenience for the use of the user, saving the time of the user and improving the use feeling of the user.
An embodiment of the present invention is described in detail below with reference to fig. 4.
As shown in fig. 4, the electronic device 100 includes a communication module a, a communication module B, a connection processing unit 11, a control unit 12, a connection result detection unit 13, and the like. The upper limit of the number of terminal devices which can be connected with the communication module A and the communication module B and establish communication is 2 respectively. The terminal devices are respectively terminal device T_A, terminal device T_B and terminal device T_C. The electronic apparatus 100 establishes a connection with the terminal device t_a, the terminal device t_b, and the terminal device t_c before establishing the connection with each of the terminal devices, and when the connection is a bluetooth connection, that is, the terminal device t_a, the terminal device t_b, and the terminal device t_c respectively perform pairing operations with the communication module a in the electronic apparatus 100, connection request data of the terminal device t_a, the terminal device t_b, and the terminal device t_c, including, but not limited to, device name information, device address information, connection key information, and the like, are stored in the storage unit 1 in the communication module a. If the terminal device t_a and the terminal device t_b are connected to the electronic apparatus 100 before the terminal device t_c, that is, if the terminal device t_a and the terminal device t_b are connected to the communication module a in the electronic apparatus 100 and establish communication, when the terminal device t_c is powered on and then automatically performs the connection operation with the terminal device 100, the terminal device t_c is automatically connected to the communication module a in the electronic apparatus 100 by default to perform bluetooth connection according to the communication address of the communication module a. At this time, since the communication module a has already established a connection with the terminal device t_a and the terminal device t_b, the upper limit of the number of connection terminal devices allowed by the communication module a has already been reached, and therefore the terminal device t_c cannot be connected with the communication module a in the electronic apparatus 100; since the terminal device t_c has never established a communication connection with the communication module B in the electronic apparatus 100 before the connection, the terminal device t_c cannot establish a connection with the communication module B, and finally the terminal device t_c cannot be connected with the electronic apparatus 100, that is, the connection between the terminal device t_c and the electronic apparatus 100 fails. At this time, in the present embodiment, the control unit 12 in the electronic apparatus 100 detects whether or not the communication module B has a connection vacancy after receiving the information of the failure of the connection establishment process between the terminal device t_c and the communication module a in the electronic apparatus 100, which is transmitted from the connection result detection unit 13, and when the communication module B has a vacancy, the control unit 12 transmits the connection request data received by the communication module a to the communication module B. The communication module B automatically connects with the terminal device t_c according to the received connection request data and performs a communication establishment process.
Second embodiment
Next, a second embodiment of the present invention will be described in detail with reference to fig. 5. Fig. 5 is a block diagram of an electronic device 200 according to a second embodiment of the present invention.
The electronic device 200 of the present embodiment includes the connection number determination unit 14 in addition to the electronic device 100. The connection number determination unit 14 is composed of a microprocessor (MPU, micro Processor Unit), a memory, or the like, or is composed of software capable of realizing the functions of the present component in combination with corresponding hardware. When receiving the result of the connection establishment processing failure between any one of the communication modules and a specific terminal device in the electronic apparatus 200 transmitted from the connection result detection unit 13, it is determined whether the cause of the failure is due to the upper limit of the number of terminal devices permitted to be connected to the communication module being reached or whether the cause of the failure is due to the upper limit of the number of terminal devices permitted to be connected to the same connection protocol being reached, and the determination result is transmitted to the control unit 12. Here, the number of terminal devices allowed to be connected of one communication module is generally determined by the performance of the bluetooth chip used by the module, and the number of terminal devices capable of being connected supported by different bluetooth chips is generally 2 to 8 different in current practice; the number of terminal devices allowed to be connected in the same connection protocol refers to the different numbers of terminal devices capable of supporting connection in different bluetooth communication protocols, for example, the number of connectable terminal devices such as HFP (Hands Free Profile) bluetooth communication protocol, A2DP (Advanced Audio Distribution Profile) bluetooth transmission protocol, and the like is different.
Next, the operation flow of the electronic device 200 according to the present embodiment will be described in detail with reference to a specific flowchart, that is, fig. 6.
Here, the electronic device 200 of the present embodiment will be described by taking 2 communication modules such as the communication module a and the communication module B as an example.
First, the connection processing section 11 receives a connection request transmitted from a terminal device and performs a connection establishment process of the terminal device with the communication module a in the present electronic apparatus 200 (S601);
next, the connection result detecting unit 13 acquires an execution result of the connection establishment process between the terminal device and the communication module a executed by the connection processing unit 11 (step S602);
according to the result of the step S602, when the execution result of the connection establishment process of the terminal device is successful (yes in step S603), the terminal device establishes a communication connection with the communication module a in the electronic apparatus 200 according to the present invention and performs data interaction (step S608);
when the execution result of the connection establishment process of the terminal device is failure (no in step S603), further judging whether the communication module a reaches the upper limit of the number of connectable terminal devices or the upper limit of the number of allowable connections in the same connection protocol of the communication module a (step S604); when the determination result is that the communication module a does not reach the upper limit of the number of connectable terminal devices, or the communication module a does not reach the upper limit of the number of terminal devices allowed to be connected in the same connection protocol (step S604: no), prompting the user that the connection between the terminal devices and the electronic apparatus 200 cannot be established;
When it is judged that the communication module a has reached the upper limit of the number of terminal devices to which the communication module a can be connected, that is, when the communication module a has no room for other terminal devices to connect, or when it has reached the upper limit of the number of terminal devices permitted to connect in the same connection protocol of the communication module a (yes in step S604), the connection result detecting section 13 sends the processing result of connection establishment to the control section 12 (step S605);
next, the control unit 12 transmits the connection request data to another communication module (for example, communication module B) among the plurality of communication modules (step S606);
finally, the electronic device 200 is connected to the terminal apparatus 200 through the communication module B and performs data interaction (step S607).
By the present embodiment, when the terminal device fails to connect with one or more modules in the electronic apparatus 200, the cause of the connection failure can be further detected. The reason for the connection failure is as follows: when the upper limit of the number of connectable terminal devices is reached or the upper limit of the number of allowable connections in the same connection protocol is reached, the connection request information from the terminal device can be sent to other connectable communication modules in the electronic apparatus 200, so as to ensure that the terminal device can be smoothly connected with the electronic apparatus 200. The problem that the communication module which is in communication connection with the terminal equipment before cannot be connected with other communication modules in the electronic device 200 is avoided; the manual operation connection of the user is avoided, the time is saved for the user, the operation experience is improved, and the use feeling is improved.
Embodiment III
Next, a third embodiment of the present invention will be described in detail with reference to fig. 7. Fig. 7 is a block diagram of an electronic device 300 according to a third embodiment of the present invention.
The electronic device 300 of the present embodiment includes components such as a connection number determination unit 14, a terminal device type identification unit 15, a manual pairing process necessity determination unit 16, and a display unit 17, in addition to the electronic device 100.
The terminal equipment type identification unit 15 is composed of a microprocessor (MPU, micro Processor Unit), a memory, or the like, or is composed of software capable of realizing the functions of the unit in combination with corresponding hardware, and identifies the type of the terminal equipment that requests connection with the electronic apparatus 300. Specifically, the terminal device type identification unit 15 stores a type table of terminal devices. The terminal devices stored in the category table are terminal devices that have been connected to the electronic device 300 before the connection is established. As shown in fig. 9, when the device name in the connection request data sent by the terminal device is compared with the table shown in fig. 9, a specific category corresponding to the terminal device can be obtained. For example, when the device name in the connection request data is "Bill", then its corresponding category is "Type1".
The manual pairing process necessity determination unit 16 is composed of a microprocessor (MPU, micro Processor Unit), a memory, or the like, or is composed of software capable of realizing the functions of the present component in combination with corresponding hardware, and determines whether or not the category is a device category for which pairing process is required before connection establishment process, based on the category of the terminal device identified by the terminal device category identification unit 15. As shown in fig. 9, the table records whether pairing operation is required when the terminal device establishes a connection with the electronic apparatus. In fig. 9, terminal devices named "Socc", "Bill", "Wang Yi earphone", "Janne", and the like of the above terminal devices are stored. When the name class of the terminal device is "Socc" and "Bill" and the corresponding class is "Type1", the manual pairing process necessity determining portion 16 determines that a manual pairing operation is required when the terminal device and the electronic device are connected; the terminal devices named "Socc" and "Bill" are classified as "Type2", and thus the manual pairing process necessity determining unit 16 determines that the terminal device and the electronic device are connected without performing a manual pairing operation. The contents of the table are incremented according to the number of terminal devices connected to the electronic device.
The display unit 17 is a screen having a display function, which is formed of LEDs or the like. When the manual pairing process necessity determining portion 16 determines that the manual pairing operation is required when the terminal device and the electronic apparatus are connected, the user is reminded in the form of a letter, a picture, a sound, or the like.
Next, the operation flow of the electronic device 300 according to the present embodiment will be described in detail with reference to a specific flowchart, that is, fig. 8.
Here, the electronic device 300 of the present embodiment will be described by taking 2 communication modules such as the communication module a and the communication module B as an example.
First, the connection processing section 11 receives a connection request transmitted from a terminal device and performs a connection establishment process of the terminal device with the communication module a in the present electronic apparatus 300 (S801);
next, the connection result detecting unit 13 acquires an execution result of the connection establishment process between the terminal device and the communication module a executed by the connection processing unit 11 (step S802);
according to the result of the step S802, it is determined whether the connection establishment process between the terminal device and the communication module a is successful. When the connection establishment process between the terminal device and the electronic apparatus 300 is successful (step S803: yes), the terminal device establishes a communication connection with the communication module a in the electronic apparatus 300 according to the present invention and performs data interaction (step S804);
When the connection establishment process between the terminal device and the electronic apparatus 300 is performed as a failure (step S803: no), it is further determined whether the communication module a has reached an upper limit of the number of connectable terminal devices or an upper limit of the number of allowable connections in the same connection protocol of the communication module a (step S805); when the determination result is that the communication module a does not reach the upper limit of the number of connectable terminal devices, or the communication module a does not reach the upper limit of the number of terminal devices allowed to be connected in the same connection protocol (step S805: no), prompting the user that the connection between the terminal devices and the electronic apparatus 300 cannot be established (step S806);
when the communication module A reaches the upper limit of the number of the terminal devices which can be connected or the communication module A reaches the upper limit of the number of the terminal devices which are allowed to be connected in the same connection protocol (step S805: yes), the processing result of the connection establishment is sent to the control part 12 (step S807);
next, the control unit 12 transmits the connection request data to another communication module (for example, communication module B) among the plurality of communication modules (step S808);
Then, the terminal device type identifying unit 15 acquires a device type corresponding to the name of the terminal device from the connection request data information (step S809), and the manual pairing process necessity determining unit 16 determines whether or not the terminal device is a terminal device requiring manual pairing based on the device type of the terminal device and the database (step S810);
according to the judgment result, when the terminal equipment is the terminal equipment which needs to be paired manually (step S811: yes), prompt information for prompting the user that the manual pairing process is needed is generated (step S812). Here, for example, the prompt content is displayed on a display screen in the form of text or pictures or the user is prompted by sound or the like, or the user may be prompted by other means such as locally flashing, vibrating or the like of the terminal device or the electronic apparatus;
when the terminal device is a terminal device that does not require manual pairing (step S811: no), the terminal device establishes a connection with the communication module B in the electronic apparatus 300 (step S813) and performs data interaction (step S814).
According to the embodiment, when the terminal equipment and a certain Bluetooth module in the electronic device are connected, after the module reaches the upper limit of the number of the terminal equipment which can be connected or reaches the upper limit of the number of allowed connections in the same connection protocol, connection failure is caused, connection request data information from the terminal equipment is sent to the Bluetooth module in the electronic device, meanwhile, judgment of the type of the terminal equipment is further detected, and whether manual pairing operation is needed when the terminal equipment is connected for the first time is identified. Therefore, the terminal equipment can be classified and managed, and the problem that the terminal equipment which needs manual pairing cannot be connected with the electronic equipment because the user does not receive the prompt and ignores the operation is avoided; the user can be reminded in time, so that the user time is saved, the operation experience is improved, and the use experience is improved.
Communication control system
The communication control system of the invention consists of an electronic device and terminal equipment. The electronic device may be any one of the electronic device 100, the electronic device 200, and the electronic device 300 according to the embodiments of the present invention; the terminal device is a device capable of realizing a communication function with the electronic device, for example, an earphone, a mobile phone, a tablet computer and the like. As a specific embodiment, the communication control system 400 shown in fig. 10 is composed of the electronic apparatus 300 and the terminal device t_a.
The electronic device 300 includes a communication module a, a communication module B, a connection processing unit 11, a control unit 12, a connection result detection unit 13, a connection number determination unit 14, a terminal device type identification unit 15, a manual pairing process necessity determination unit 16, and a display unit 17. The terminal device t_a is composed of a communication module, an MCU, and other modules, can be connected to the electronic apparatus 300 through the communication module, and automatically enters a state of waiting for the connection of the electronic apparatus to the terminal device when the connection fails. After receiving the connection request from the terminal equipment t_a, the electronic device 300 responds to the communication module a paired with the terminal equipment t_a, and the connection establishment between the terminal equipment t_a and the electronic device 300 fails because the number of the terminal equipment that can be connected reaches the upper limit; the control unit 12 in the electronic apparatus 300 transmits connection request data from the terminal device t_a to another communication module, i.e., a communication module B in the electronic apparatus 300. After receiving the connection request, the communication module B automatically executes connection establishment processing with the terminal device t_a according to the address information of the terminal device t_a in the connection request, and finally realizes data interaction between the electronic apparatus 300 and the terminal device t_a.
The communication control system composed of the electronic device 100, the electronic device 200, and the electronic device 300 according to the above embodiments and the terminal device is also within the scope of the present invention. The communication control system provided by the present application can achieve the technical effects achieved by the electronic device and the modification thereof described above.
The above description of the embodiments and examples of the present invention makes reference to the accompanying drawings. The foregoing embodiments and examples are merely specific examples of the present invention, and are not intended to limit the scope of the present invention. Those skilled in the art can make various modifications, combinations, and reasonable omissions of the elements and the embodiments based on the technical ideas of the present invention, and the manner in which they are obtained is also included in the scope of the present invention. For example, the above embodiments and specific examples may be combined with each other, and the combined embodiments are also included in the scope of the present invention.
The steps included in the priority application determining method according to the embodiments of the present invention may be implemented as steps included in the priority application determining program or as a recording medium in which the priority application determining program is recorded, and similar technical effects are obtained.

Claims (8)

1. An electronic device is provided with:
the communication modules can be respectively connected with the terminal devices through wireless communication technology to realize data interaction; and
A control part connected with the plurality of communication modules in a mode of being capable of data communication,
the electronic device is characterized by comprising:
a connection processing unit configured to receive connection request data from the plurality of terminal devices and perform connection establishment processing from the start of data communication;
a connection result detection unit for detecting whether the connection establishment process by the connection processing unit is successful;
when the connection establishment processing between any one of the plurality of communication modules and a specific one of the terminal devices fails, based on the result detected by the connection result detection unit, the control unit transmits connection request data of the specific terminal device to the other communication module among the plurality of communication modules, and performs control so that the connection processing unit performs the connection establishment processing between the other communication module and the specific terminal device.
2. The electronic device of claim 1, further comprising:
a connection number determination unit configured to determine, when the connection result detection unit detects that connection establishment processing with a specific terminal device in one of the communication modules fails, whether or not the number of terminal devices reaches an upper limit of the number of permitted connection terminal devices for the one communication module, or whether or not the number of permitted connection in the same connection protocol;
The control unit transmits connection request data of a specific terminal device to the other communication modules when the number of terminal devices in one of the communication modules fails in connection establishment processing with the specific terminal device, based on a result of the determination by the connection number determination unit, reaches an upper limit of the number of permitted connection terminal devices for the one communication module or reaches an upper limit of the number of permitted connections in the same connection protocol.
3. The electronic device of claim 2, wherein:
the connection request data at least contains address information of the terminal device,
when receiving the connection request data of the specific terminal device, the other communication module automatically performs connection establishment processing with the specific terminal device according to the address information of the terminal device included in the connection request data.
4. The electronic device according to claim 3, further comprising:
a terminal device type identification unit that identifies a type of the terminal device based on the reception of the connection request data by the terminal device;
a manual pairing process necessity determining unit configured to determine whether or not the category is a device category for which manual pairing is required before the connection establishment process, based on the category of the terminal device identified by the terminal device category identifying unit;
A display unit connected to the control unit;
according to the judging result of the manual pairing process necessity judging part, when the specific terminal device needs to execute the device type of the manual pairing process before the connection establishment process, the control part generates a prompt of the manual pairing process and displays the prompt on the display part.
5. A communication control method is characterized by comprising:
a plurality of communication modules capable of being connected to a plurality of terminal devices by a wireless communication technology to realize data interaction, and an electronic device having a control unit capable of being connected to the plurality of communication modules in a data communication manner;
a connection processing step of receiving connection request data from the plurality of terminal devices and performing connection establishment processing when the electronic device is about to start data communication;
a connection result detection step of detecting a result of success or failure of connection establishment processing in the connection processing step;
a connection request data transfer step of transmitting connection request data of a specific terminal device to other communication modules among the plurality of communication modules when the connection establishment processing between any one of the plurality of communication modules and the specific terminal device fails, based on the result detected in the connection result detection step;
And a reconnection processing step of performing connection establishment processing with the specific terminal device on the other communication module that receives the connection request data.
6. The communication control method according to claim 5, characterized by further comprising:
a connection number determination step of determining, when a connection establishment process between the certain communication module and the specific terminal device is detected to be failed in the connection result detection step, whether or not the number of the terminal devices reaches an upper limit of the number of permitted connection terminal devices of the terminal device with respect to the certain communication module, or whether or not the number of permitted connection terminals in the same connection protocol reaches an upper limit;
according to the result of the connection number judging step, when the reason why the connection establishment processing with the specific terminal device in the certain communication module fails is that the number of the terminal devices reaches the upper limit of the number of the allowed connection terminal devices of the terminal device relative to the one communication module or reaches the upper limit of the number of the allowed connection in the same connection protocol, the connection request data forwarding step sends the connection request data of the specific terminal device to the other communication module.
7. A communication control system, comprising:
a plurality of terminal devices having a wireless communication function; and
an electronic device comprising a plurality of communication modules capable of realizing data interaction by being connected with the plurality of terminal devices respectively through a wireless communication technology, and a control part capable of being connected with the plurality of communication modules in a data communication mode;
the electronic device is characterized by comprising:
a connection processing unit configured to receive connection request data from the plurality of terminal devices and perform connection establishment processing from the start of data communication;
a connection result detection unit for detecting whether the connection establishment process by the connection processing unit is successful;
when the connection establishment processing between any one of the plurality of communication modules and a specific one of the terminal devices fails, based on the result detected by the connection result detection unit, the control unit transmits connection request data of the specific terminal device to the other communication module among the plurality of communication modules, and performs control so that the connection processing unit performs the connection establishment processing between the other communication module and the specific terminal device.
8. The communication control system according to claim 7, further comprising:
a connection number determination unit configured to determine, when the connection result detection unit detects that connection establishment processing with a specific terminal device in one of the communication modules fails, whether the terminal device has reached an upper limit on the number of permitted connection terminal devices of the terminal device with respect to the one communication module or has reached an upper limit on the number of permitted connections in the same connection protocol;
the control unit transmits connection request data of a specific terminal device to the other communication modules when the terminal device fails in connection establishment processing of the specific terminal device with the one communication module based on a result of the determination by the connection number determination unit, because the terminal device reaches an upper limit of the number of permitted connection terminal devices with respect to the one communication module, or reaches an upper limit of the number of permitted connections in the same connection protocol.
CN202210851366.4A 2022-07-19 2022-07-19 Electronic device, communication control method, and communication control system Pending CN117460097A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210851366.4A CN117460097A (en) 2022-07-19 2022-07-19 Electronic device, communication control method, and communication control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210851366.4A CN117460097A (en) 2022-07-19 2022-07-19 Electronic device, communication control method, and communication control system

Publications (1)

Publication Number Publication Date
CN117460097A true CN117460097A (en) 2024-01-26

Family

ID=89584210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210851366.4A Pending CN117460097A (en) 2022-07-19 2022-07-19 Electronic device, communication control method, and communication control system

Country Status (1)

Country Link
CN (1) CN117460097A (en)

Similar Documents

Publication Publication Date Title
US20070129070A1 (en) Portable information terminal, a control method for a portable information terminal, a program of a method of controlling a personal information terminal and a recording medium having recorded therein a program of a method of controlling a personal information terminal
CN108738008B (en) Bluetooth pairing method and system
CN110769516A (en) Random access method and related equipment
CN110944406B (en) Link establishment method of sidelink and terminal
WO2018120645A1 (en) Device connection method and terminal
KR102514692B1 (en) Electronic device suporting multiple wireless communication protocols and method therefor
US9179270B2 (en) Intercommunication methods and devices based on digital networks
WO2015058506A1 (en) Multi-screen interaction method, apparatus and system
WO2015098162A1 (en) Onboard device and control method for onboard device
JP5849857B2 (en) Near field communication device
CN110944313B (en) Bluetooth connection method, device, storage medium and terminal
EP3522491B1 (en) System, mobile terminal and method for providing a user interface to control the storage of data into web storage using wireless lan
CN103561087A (en) Equipment interconnection method and device
EP3965524A1 (en) Pc5 link establishment method, device and system
US8050667B2 (en) Virtual terminal server, mobile communication terminal, communication control system, and communication control method
CA2894937C (en) Intercommunication methods and devices based on digital networks
CN114554470A (en) Interaction method based on Bluetooth device and related device
JP4649295B2 (en) Communication device and communication method
KR20120001924A (en) Apparatus and method for controlling peripheral nodes in a wireless communication system
WO2006129474A1 (en) Data transfer method, transfer instructing communication terminal device, transfer controlling communication terminal device, transfer instructing program, and transfer controlling program
CN117460097A (en) Electronic device, communication control method, and communication control system
JP6970578B2 (en) Communication equipment and its control method, program
JP2008294970A (en) Communication terminal
CN111356183B (en) A transmission method, network equipment and terminal
JP2003198672A (en) Portable communication terminal and its control method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication