CN116367111A - Communication control method, electronic device and medium - Google Patents
Communication control method, electronic device and medium Download PDFInfo
- Publication number
- CN116367111A CN116367111A CN202310254413.1A CN202310254413A CN116367111A CN 116367111 A CN116367111 A CN 116367111A CN 202310254413 A CN202310254413 A CN 202310254413A CN 116367111 A CN116367111 A CN 116367111A
- Authority
- CN
- China
- Prior art keywords
- signal
- wired interface
- electronic device
- adjustment module
- signal strength
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/40—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/19—Connection re-establishment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
- H04W84/22—Self-organising networks, e.g. ad-hoc networks or sensor networks with access to wired networks
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application discloses a communication control method, electronic equipment and a medium, and belongs to the technical field of communication. The communication control method is applied to electronic equipment, wherein the electronic equipment comprises a signal adjustment module and an application processor, and the electronic equipment is connected with a vehicle machine through a wired interface; the communication control method includes: determining that the communication connection corresponding to the wired interface is disconnected based on a first signal received by the application processor, wherein the first signal is a signal transmitted under the condition that the electronic equipment and the vehicle machine are in wireless connection; and controlling the signal adjustment module to enhance the signal strength of a second signal, wherein the second signal is transmitted through the wired interface.
Description
Technical Field
The application belongs to the technical field of communication, and particularly relates to a communication control method, electronic equipment and a medium.
Background
With the development of communication technology, more and more automobiles are provided with automobile machines, and the automobile machines can realize data transmission with other intelligent equipment functionally. For example, the mobile phone and the car phone can be in communication connection, so that the car phone can complete functions of part of applications of the mobile phone, such as navigation, music control, weather preview or language control, and the like.
Most of the target vehicle models support a wired connection mode. The electronic equipment can be connected with the car machine through a wired connection mode, and a user can accidentally touch a wired connection interface or the car passes through a relatively tremble road section, the situation that the wired connection interface is poor in contact can occur, the shaking can occur to wired signals transmitted between the electronic equipment and the car machine, the signal intensity of the wired signals is weakened, and then the situation that the communication connection corresponding to the wired interface is suddenly interrupted under the condition that the electronic equipment is connected with the wired interface is kept can occur, so that the user cannot normally use part of car networking functions. For example: when a user drives on a highway and navigates through the Internet of vehicles, if a signal interruption occurs suddenly, the user is led to go wrong at the intersection, or when the user listens to songs on the vehicle, the songs are interrupted suddenly, and the like.
Disclosure of Invention
The embodiment of the application aims to provide a communication control method, electronic equipment and medium, which can solve the problem of disconnection of communication connection when a vehicle networking function is used in a wired mode.
In a first aspect, an embodiment of the present application provides a communication control method, which is applied to an electronic device, where the electronic device includes: a signal adjustment module and an application processor; the electronic equipment is connected with the vehicle machine through a wired interface;
The method comprises the following steps:
determining that the communication connection corresponding to the wired interface is disconnected based on a first signal received by the application processor, wherein the first signal is a signal transmitted under the condition that the electronic equipment and the vehicle machine are in wireless connection;
and controlling the signal adjustment module to enhance the signal strength of a second signal, wherein the second signal is transmitted through the wired interface.
In a second aspect, an embodiment of the present application provides an electronic device, including: a signal adjustment module and an application processor; the electronic equipment is connected with the vehicle machine through a wired interface;
the application processor is used for controlling the signal adjustment module to enhance the signal strength of a second signal based on the received first signal, and the second signal is transmitted through the wired interface;
the first signal is used for indicating that the communication connection corresponding to the wired interface is disconnected, and the first signal is a signal transmitted under the condition that the electronic equipment and the vehicle machine are in wireless connection.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, the connection state of the communication connection corresponding to the wired interface can be determined in time by applying the first signal received by the processor, the signal intensity of the second signal transmitted based on the wired interface can be dynamically adjusted by the signal adjusting module according to the connection state real-time control signal, the signal intensity of the second signal is enhanced, the signal intensity of the communication connection corresponding to the wired interface is built, the disconnection condition is reduced, and the vehicle-mounted experience of a user is improved; in addition, a signal adjusting module is added in the electronic equipment, so that the circuit structure is simple and the cost is low.
Drawings
Fig. 1 is a schematic diagram of a communication control system of a communication control method according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a communication control method according to an embodiment of the present application;
FIG. 3 is a second schematic diagram of a communication control system according to the communication control method according to the embodiment of the present application;
FIG. 4 is a second flow chart of a communication control method according to the embodiment of the present application;
fig. 5 is a third schematic diagram of a communication control system of the communication control method according to the embodiment of the present application;
FIG. 6 is a third flow chart of a communication control method according to the embodiment of the present application;
fig. 7 is one of schematic structural diagrams of an electronic device according to an embodiment of the present application;
FIG. 8 is a second schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 9 is a hardware schematic of an electronic device according to an embodiment of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
In the related art, there are two connection modes for realizing interconnection between a vehicle and electronic equipment.
The wired connection is based on a data line, wherein the data line can be a Micro USB interface data line, a Type-C interface data line or a Lighting interface data line and the like; another is wireless connection based on bluetooth, wireless local area network (Wireless Local Area Networks, WLAN), zigBee (ZigBee) protocol, near field communication (Near Field Communication, NFC), radio frequency identification (Radio Frequency Identification, RFID), or Ultra Wide Band (UWB) technology.
In the wired connection mode, the quality of the signal transmitted by the wired interface mainly depends on the design and selection of modules such as electronic equipment, data lines, a car machine and the like. The performance of a functional module related to the data line in the electronic equipment is relatively stable, and the influence on the wired signal transmitted by the data line is small; different types of data lines have different lengths and larger performance difference, and have larger influence on wired signals transmitted by the data lines; because the layout position of the main control board is limited, an extension line corresponding to a wired interface is added in the vehicle, and the extension line has a large influence on wired signals transmitted by the data line. The problem of disconnection of communication connection due to poor quality of the existing line signal occurs regardless of the data line or the extension line.
The communication control method, the electronic device and the readable storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings by means of specific embodiments and application scenarios thereof.
The communication control method can be applied to the electronic equipment, and can be specifically executed by hardware or software in the electronic equipment. The electronic device in the embodiment of the present application includes, but is not limited to, mobile communication devices such as a mobile phone, a tablet computer, a camera, and a wearable device, and the communication control method provided in the embodiment of the present application is described below by taking the electronic device as an execution body as an example.
Fig. 1 is a schematic diagram of a communication control system of a communication control method according to an embodiment of the present application. The communication control method provided by the embodiment of the application can be applied to a communication control system shown in fig. 1.
As shown in fig. 1, a communication control system according to an embodiment of the present application may include an electronic device 100 and a car machine 130. The electronic device 100 and the car machine 130 are connected through a wired interface; the electronic device 100 may include, among other things, an application processor 110 and a signal conditioning module 120.
In actual implementation, the electronic device 100 may be connected to the vehicle 130 by a data line. It will be appreciated that the two ends of the data line are also provided with wired interfaces, and the electronic device 100 and the vehicle 130 are provided with interfaces for connecting with the wired interfaces of the data line.
It should be noted that, the car machine refers to the abbreviation of the car information entertainment product installed in the car, the car machine can realize the information communication between the user terminal and the car, between the car and the outside or between the car and the car functionally, and the car machine is mostly installed in the car center console at present.
After the electronic device 100 and the car machine 130 in the embodiment of the present application are connected in a wired manner, a communication connection corresponding to the wired interface may be established based on a protocol such as USB2.0 or USB 3.2.
In the USB2.0 protocol, in order to prevent interference signals from affecting normal signal transmission, a Squelch detection (Squelch) parameter and a high-speed device disconnection detection (hs_disconnect) parameter are designed.
When the amplitude of a signal received by electronic equipment or a vehicle machine is smaller than a threshold value set by the Squelch parameter, the received signal is judged to be an interference signal, decoding is not performed, the interference signal is filtered, the electronic equipment cannot receive the signal, namely, data transmission is not performed, and further the problem that the signal is disconnected when a user performs the function of the vehicle networking in a wired mode is caused, so that the experience of the user is affected. Similarly, when the signal amplitude received by the electronic equipment is larger than the threshold value set by the HS_disconnect parameter, the electronic equipment is judged to be disconnected from communication, and the problem of signal disconnection when a user performs the function of the internet of vehicles in a wired mode is also caused, so that the experience of the user is affected.
Fig. 2 is a schematic flow chart of a communication control method according to an embodiment of the present application. As shown in fig. 2, the communication control method includes:
step 210, determining that the communication connection corresponding to the wired interface is disconnected based on the first signal received by the application processor 110; the first signal is a signal transmitted in the case where the electronic device 100 establishes a wireless connection with the car machine 130;
In step 220, the control signal adjusting module 120 enhances the signal strength of the second signal, and the second signal is transmitted through the wired interface.
In actual implementation, the electronic device 100 and the vehicle 130 may be connected by a wired connection through a data line. The data line may be a Lighting data line, a Micro USB interface data line, a Type-C data line, or the like. The types of wired interfaces at both ends of the data line may be: micro USB interface, mini USB interface, lightning interface, type-A interface, type-B interface or Type-C interface etc..
In the embodiment of the present application, one end of the data line may be inserted into the electronic device 100, and the other end may be inserted into the car machine 130. The wired interface at one end of the data line is usually a Type-a interface, and is used for being plugged into the vehicle 130; the wired interface at the other end of the data line is connected with the electronic device 100, and taking a mobile phone as an example, the wired interface of the mobile phone can be a Micro USB interface, a Mini USB interface, a Type-B interface, a Lighting interface, a Type-C interface or the like. The types of the wired interfaces at the two ends of the data line can be set according to practical situations, and the application is not particularly limited.
In some scenarios, the user may normally use the vehicle networking function in case the electronic device 100 and the vehicle 130 are wired via a data line. When the automobile passes through a bumpy road section, the automobile body can shake, so that the wired signal transmitted by the data line shakes, and the wired connection has path attenuation, and although the data line still maintains a connection state, the signal strength of the wired signal may not meet the communication connection requirement at this time, so that the electronic device 100 and the automobile machine 130 disconnect the communication connection corresponding to the wired interface.
It should be noted that, in addition to the wired connection through the data line, the electronic device 100 and the vehicle machine 130 may also be connected wirelessly, so that when the communication connection corresponding to the wired interface is disconnected, the electronic device 100 and the vehicle machine 130 may also perform data transmission through the wireless communication connection. For example: a bluetooth connection, zigBee network connection, or wireless fidelity (Wireless Fidelity, wi-Fi) connection, etc. may be made.
When the vehicle machine 130 detects that the communication connection corresponding to the wired interface is in the disconnected state and the electronic device 100 and the vehicle machine 130 have established wireless connection, the vehicle machine 130 may send a first signal to the electronic device 100 through wireless communication, so that the vehicle machine 130 may timely feed back to the electronic device 100 that the vehicle machine 130 is in the disconnected state.
In the embodiment of the application, a signal transmitter may also be disposed in the data line. When the car machine 130 or the data line detects that the communication connection corresponding to the wired interface is in the disconnected state, the signal transmitters in the car machine 130 or the data line can both send the first signal to the electronic device 100.
The electronic device 100 may receive the first signal through a function module for receiving a wireless signal, such as a signal receiver or a bluetooth module, and transmit the first signal to the application processor 110 of the electronic device 100.
After receiving the first signal, the application processor 110 in the electronic device 100 may send a control signal to the signal adjustment module 120, so that the signal adjustment module 120 may be controlled to dynamically adjust the signal strength of the second signal transmitted through the wired interface, and enhance the signal strength of the second signal, so as to achieve the signal strength required by the electronic device 100 and the vehicle machine 130 to restore the communication connection. The signal strength required for the communication connection may be determined based on a universal serial bus (Universal Serial Bus, USB) communication protocol, which is not particularly limited herein.
The signal adjustment module 120 may be configured based on a signal enhancement chip, which will be described in the following embodiments. The second signal refers to a differential signal transmitted based on a wired interface, and the differential signal may include a Data Minus (DM) signal and a Data Positive (DP) signal.
The signal adjustment module 120 in the embodiment of the present application can monitor signals transmitted by data lines with different lengths and different types in real time, and adjust signal strength in real time, so that the application range is wider.
According to the communication control method provided by the embodiment of the application, the connection state of the communication connection corresponding to the wired interface can be determined in time by applying the first signal received by the processor, and the signal intensity of the second signal transmitted based on the wired interface can be dynamically adjusted by the signal adjusting module according to the connection state in real time, so that the signal intensity of the second signal can be enhanced, the signal intensity of the communication connection corresponding to the wired interface can be established, the disconnection condition is reduced, and the vehicle-mounted experience of a user is improved; in addition, a signal adjusting module is added in the electronic equipment, so that the circuit structure is simple and the cost is low.
In some embodiments, the signal conditioning module 120 includes at least one of: a driver chip or a repeater chip.
In practical implementation, the signal adjustment module 120 may be constructed based on a signal enhancement chip, and the signal enhancement chip may include, but is not limited to, a driver chip and a Retimer chip, and may also be other chips with signal adjustment functions, which are not specifically limited herein.
It should be noted that the driver chip may be a chip that functions as a signal repeater, which may amplify a signal and increase signal quality or signal strength on a high-speed interface. In particular by using techniques such as equalization and pre-emphasis to adjust and correct the loss of the channel signal at the transmitting end and to restore the integrity of the signal at the receiving end.
The Retimer chip is a device that mixes digital and analog signals. The analog signal entering the Retimer chip is restored to a digital signal, and then is changed into an analog signal again to be sent out. It has sensing capability and can fully recover the data signal and re-send. Specifically, an embedded clock in an input signal is extracted through a clock data recovery circuit embedded in the clock data recovery circuit, and data is retransmitted by using a clock signal which is completely unattenuated and deformed so as to form a new copy of an original data signal. The mode that the data is recovered first and then the signal is retransmitted through the serial channel of the Retimer chip can effectively solve the problem of attenuation of the signal intensity.
In the embodiment of the present application, one or more of a driver chip or a Retimer chip may be added to the electronic device 100. The driver chip or the repeater chip can dynamically adjust the signal strength of the second signal transmitted based on the USB interface, so that the vehicle machine 130 and the electronic device 100 can reestablish communication connection corresponding to the USB interface as soon as possible, further, the function of the vehicle networking can be quickly recovered, and the vehicle-mounted experience of a user is improved.
In some embodiments, the control signal adjustment module 120 enhances the signal strength of the second signal, including:
based on the signal strength of the second signal, the signal strength configuration parameter of the signal adjustment module 120 is adjusted, and the signal strength configuration parameter is used to enhance the signal strength of the second signal.
In actual implementation, parameters may be configured for different types and lengths of data lines corresponding to different signal strengths.
After the signal adjustment module 120 receives the control signal from the application processor 110, the signal strength configuration parameter of the data line is determined based on the length and the type of the data line, and the signal strength configuration parameter is written into the signal adjustment module 120. And based on the signal strength configuration parameter, adjusting the signal strength of the second signal, and recovering the integrity of the second signal, thereby enhancing the signal strength of the second signal.
According to the communication control method provided by the embodiment of the application, the signal intensity of the second signal can be adjusted in real time through the signal adjusting module, so that the signal intensity of the second signal can be enhanced, and the disconnection condition of the communication connection corresponding to the wired interface is reduced.
In some embodiments, after the control signal adjustment module 120 enhances the signal strength of the second signal, the communication control method further includes:
reestablishing a communication connection corresponding to the wired interface with the vehicle machine 130 when the signal strength of the second signal meets the strength threshold;
and under the condition that the holding time of the communication connection corresponding to the wired interface exceeds a time threshold, the signal strength configuration parameters are saved.
In this embodiment, the application processor 110 controls the signal adjustment module 120 to adjust the signal strength of the second signal until the signal strength of the second signal meets the strength threshold, so that the electronic device 100 and the vehicle machine 130 may reestablish the communication connection through the wired interface. The intensity threshold may be set based on a USB protocol, or may be set according to a device-related parameter corresponding to the electronic device 100 or the vehicle 130, which is not specifically limited herein.
In the case that the holding time of the communication connection corresponding to the wired interface exceeds the time threshold, it may be considered that the communication connection corresponding to the wired interface tends to be stable, and the application processor 110 further saves the signal strength configuration parameter of the signal adjustment module 120. The time threshold may be determined according to actual requirements, and is not specifically limited herein.
Based on the signal strength configuration parameters of the signal adjustment module 120, the electronic device 100 and the vehicle machine 130 can perform data transmission, and the user can normally use the vehicle networking function through the electronic device 100, for example: a portion of the applications in the electronic device 100 may be projected onto a corresponding display screen of the vehicle 130.
According to the communication control method provided by the embodiment of the application, the signal intensity of the second signal is adjusted through the signal adjustment module, so that the signal intensity of the second signal meets the intensity threshold, after the electronic equipment and the vehicle are stably connected through the wired interface, the dynamically adjusted signal intensity configuration parameters are stored, and the signal intensity configuration parameters are used in the subsequent vehicle-to-vehicle connection, so that the stability of the communication connection is further improved.
In some embodiments, after determining that the communication connection corresponding to the wired interface has been disconnected, the communication control method further includes:
Judging the insertion state of the wired interface;
in the event that a determination is made that the wired interface is plugged into the truck 130, the control signal adjustment module 120 enhances the signal strength of the second signal.
It can be appreciated that, when the application processor 110 receives the first signal, it can determine the insertion state of the data line, and determine whether the wired interface is inserted into the vehicle 130.
If it is determined that the wired interface is not plugged into the car set 130, the application processor 110 does not send a control signal to the signal adjustment module 120, and the signal adjustment module 120 does not perform signal strength adjustment. The car machine 130 may send a prompt message to the electronic device 100 to prompt the user that the data line is in a disconnected state, so as to facilitate reconnection of the data line by the user.
If it is determined that the wired interface is plugged into the car set 130, the application processor 110 may send a control signal to the signal adjustment module 120 to control the signal adjustment module 120 to perform signal enhancement on the signal strength of the second signal.
Fig. 3 is a second schematic diagram of a communication control system of the communication control method according to the embodiment of the present application. The communication control method provided by the embodiment of the application can be applied to a communication control system shown in fig. 3.
The communication control system may include: cell-phone and car machine. The mobile phone and the car phone are connected in a wired way through a USB data line. The handset may include an application processor, handset bluetooth, a signal conditioning module (r driver chip or re timer chip), a USB switch, and an audio switch. The vehicle may include vehicle bluetooth and vehicle systems.
The USB data line is mainly used for connecting a mobile phone with a car phone and is a hardware medium for data transmission; the USB switch may employ DIO5000, where DIO5000 is a high-speed, low-power-consumption, double-pole/double-throw analog switch for switching high-speed USB2.0 signals in handheld devices (such as cell phones, digital cameras and notebook computers, or devices with hubs or controllers); the audio switch may employ an FSA4480, the FSA4480 being a high performance multimedia switch allowing for the transmission of USB2.0 signals, analog audio signals, and analog microphone signals.
The application processor is responsible for the running of a mobile phone software system, the realization of mobile phone terminal functions and the control of peripheral devices, and is a control center of the whole mobile phone.
The mobile phone Bluetooth can be used for receiving signals sent by the vehicle phone Bluetooth, so that whether the wired interface corresponding to the USB data line of the mobile phone is in a communication connection state or not is confirmed.
The driver chip or the repeater chip is used for adjusting the signal intensity of the DP/DM signal transmitted by the USB data line, so as to enhance the signal intensity of the DP/DM signal.
The USB switch can realize the switching of a central processing unit (Central Processing Unit, CPU), a charging micro-control unit (Microcontroller Unit; MCU) and a power management chip.
The audio switch may implement switching of earphone, USB and OTG (On-The-Go) functions. The OTG function is a technology that allows a mobile phone to connect to multiple peripheral devices without transferring a computer.
Fig. 4 is a second flowchart of a communication control method according to an embodiment of the present application. As shown in fig. 4, the communication control method provided in the embodiment of the present application may include:
the USB interface at one end of the USB data line is connected with the mobile phone, and the USB interface at the other end of the USB data line is connected with the vehicle-mounted system. The vehicle-mounted display can display the data line connection information of the mobile phone and the vehicle system.
The mobile phone and the car system perform normal data transmission, and the application processor performs data output based on the original signal strength configuration parameters of the driver chip or the Retimer chip in the signal adjustment module. The vehicle-mounted display can display that the vehicle-mounted system and the mobile phone are in normal communication connection through the USB data line.
And under the condition that the communication connection corresponding to the USB interface is in a communication disconnection state, the vehicle machine system generates a vehicle disconnection signal. It should be noted that, the disconnection of the vehicle is caused by that the signal intensity of the DP/DM signal is not satisfied by the signal intensity required to establish the communication connection of the USB interface due to the attenuation of the path during the transmission process of the DP/DM signal, and finally, the disconnection of the vehicle is caused.
The car machine Bluetooth can send a car disconnection signal to the mobile phone Bluetooth, and the mobile phone Bluetooth receives the car disconnection signal and feeds the car disconnection signal back to the application processor.
The application processor judges whether the USB interface is in an inserted state. If the USB interface is in the non-inserted state, the application processor does not perform any processing, and the vehicle-mounted display can display that the mobile phone and the vehicle system are not in communication connection through the USB interface. If the USB interface is in the inserted state, the application processor controls the driver chip or the timer chip to adjust the signal intensity of the DP/DM signal transmitted by the USB data line so as to enhance the signal intensity of the DP/DM signal until the mobile phone is in normal communication connection with the vehicle.
After the vehicle-mounted device and the mobile phone are normally connected in a communication way through the USB interface and are stable for a period of time, the application processor stores the dynamically adjusted signal strength configuration parameters, and the signal strength configuration parameters are used in the connection of the vehicle-mounted device in the future. After the application processor determines that the vehicle-mounted system reestablishes communication connection through the USB interface, the vehicle networking function can be normally used between the mobile phone and the vehicle-mounted system.
Fig. 5 is a third schematic diagram of a communication control system of the communication control method according to the embodiment of the present application. The communication control method provided by the embodiment of the application can be applied to the communication control system structure shown in fig. 5.
It should be noted that, unlike the communication control system shown in fig. 3, the wireless connection of the communication control system shown in fig. 5 is not completed through bluetooth of the car set and bluetooth of the mobile phone. Instead, a wireless signal transmitter is added to the USB data line, and a wireless signal receiver is added to the mobile phone to perform wireless connection.
Fig. 6 is a third flow chart of a communication control method according to an embodiment of the present application. As shown in fig. 6, the communication control method provided in the embodiment of the present application may include:
one end of the USB interface of the USB data line is connected with the mobile phone, and the other end of the USB data line is connected with the car machine system. The vehicle-mounted display can display connection information of the mobile phone and the vehicle system.
The mobile phone and the car system perform normal data transmission, and the application processor performs data output based on the original signal strength configuration parameters of the signal adjustment module. The vehicle-mounted display can display that the vehicle-mounted system and the mobile phone are in normal communication connection through the USB data line.
And under the condition that the communication connection corresponding to the USB interface is in a communication disconnection state, the vehicle machine system generates a vehicle disconnection signal. It should be noted that, the disconnection of the vehicle is caused by that the signal intensity of the DP/DM signal is not satisfied by the signal intensity required to establish the communication connection of the USB interface due to the attenuation of the path during the transmission process of the DP/DM signal, and finally, the disconnection of the vehicle is caused.
The wireless signal transmitter in the USB data line transmits the disconnection signal of the vehicle to the wireless signal receiver in the mobile phone, and the wireless signal receiver receives the disconnection signal of the vehicle and feeds the disconnection signal back to the application processor.
The application processor judges whether the USB interface is in an inserted state. If the USB interface is in an uninstalled state, the application processor does not perform any processing, and the vehicle-mounted display can display that the mobile phone and the vehicle system are not in communication connection through the USB data line. If the USB interface is in the inserted state, the application processor controls the driver chip or the timer chip to adjust the signal intensity of the DP/DM signal transmitted by the USB data line so as to enhance the signal intensity of the DP/DM signal until the mobile phone is in normal communication connection with the vehicle.
After the vehicle-mounted device and the mobile phone are normally connected in a communication way through the USB interface and are stable for a period of time, the application processor stores the dynamically adjusted signal strength configuration parameters, and the signal strength configuration parameters are used in the connection of the vehicle-mounted device in the future. After the application processor determines that the vehicle-mounted system reestablishes communication connection through the USB interface, the vehicle networking function can be normally used between the mobile phone and the vehicle-mounted system.
According to the communication control method provided by the embodiment of the application, on the basis of guaranteeing the integrity of the vehicle-mounted circuit, the signal parameters are dynamically adjusted in real time by utilizing the internal circuit of the mobile phone, the USB data line and the driver chip or the Retimer chip, so that the situation that the vehicle is disconnected is avoided; the circuit is very simple, the cost is low, and the implementation is easy; the pain point of the disconnection of the user vehicle can be solved, user complaints are reduced, and the vehicle-mounted experience of the user is improved.
In the communication control method provided in the embodiment of the present application, the execution subject may be the electronic device 700. In the embodiment of the present application, the electronic device 700 provided in the embodiment of the present application is described by taking the electronic device 700 as an example to execute the communication control method.
The embodiment of the application also provides electronic equipment 700. Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 7, the electronic device 700 includes: the electronic device 700 is connected with the vehicle machine through a wired interface.
The application processor 710 is configured to control the signal adjustment module 720 to enhance a signal strength of a second signal based on the received first signal, where the second signal is transmitted through the wired interface;
the first signal is used for indicating that the communication connection corresponding to the wired interface is disconnected, and the first signal is a signal transmitted when the electronic device 700 establishes a wireless connection with the vehicle.
According to the electronic device provided by the embodiment of the application, the first signal is received through the application processor, so that the connection state of the communication connection corresponding to the wired interface can be determined in time, the signal intensity of the second signal transmitted based on the wired interface can be dynamically adjusted by the signal adjusting module according to the connection state in real time, the signal intensity of the second signal can be enhanced, the signal intensity of the communication connection corresponding to the wired interface can be established, the disconnection condition is reduced, and the vehicle-mounted experience of a user is improved; in addition, the electronic equipment is also provided with a signal adjustment module, and the circuit structure is simple and the cost is lower.
In some embodiments, the application processor 710 is specifically configured to:
and adjusting a signal strength configuration parameter of the signal adjustment module based on the signal strength of the second signal, wherein the signal strength configuration parameter is used for enhancing the signal strength of the second signal.
In some embodiments, the application processor 710 is specifically configured to:
after the signal adjustment module is controlled to enhance the signal intensity of a second signal, reestablishing communication connection corresponding to the wired interface with the vehicle machine under the condition that the signal intensity of the second signal meets an intensity threshold;
and under the condition that the holding time of the communication connection corresponding to the wired interface exceeds a time threshold, storing the signal strength configuration parameter.
In some embodiments, the application processor 710 is further configured to:
after determining that the communication connection corresponding to the wired interface is disconnected, judging the insertion state of the wired interface;
and under the condition that the wired interface is inserted into the car machine, controlling the signal adjustment module to enhance the signal strength of the second signal.
In some embodiments, the signal adjustment module 720 includes at least one of: a driver chip or a repeater chip.
The electronic device in the embodiments of the present application may be a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, the electronic device may be a mobile phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, mobile internet appliance (Mobile Internet Device, MID), augmented reality (augmented reality, AR)/Virtual Reality (VR) device, robot, wearable device, ultra-mobile personal computer, UMPC, netbook or personal digital assistant (personal digital assistant, PDA), etc., but may also be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The electronic device in the embodiment of the application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The electronic device provided in the embodiment of the present application can implement each process implemented by the embodiments of the methods of fig. 1 to 6, and in order to avoid repetition, a description is omitted here.
Optionally, as shown in fig. 8, the embodiment of the present application further provides an electronic device 800, including a processor 801, a memory 802, and a program or an instruction stored in the memory 802 and capable of running on the processor 801, where the program or the instruction implements each process of the embodiment of the communication control method when executed by the processor 801, and the process can achieve the same technical effect, and for avoiding repetition, a description is omitted herein.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 9 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 900 includes, but is not limited to: radio frequency unit 901, network module 902, audio output unit 903, input unit 904, sensor 905, display unit 906, user input unit 907, interface unit 908, memory 909, and processor 910.
Those skilled in the art will appreciate that the electronic device 900 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 910 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 9 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
The processor 910 is configured to determine, based on a first signal received by the application processor, that a communication connection corresponding to the wired interface is disconnected, where the first signal is a signal transmitted when the electronic device establishes a wireless connection with the vehicle machine;
and controlling the signal adjustment module to enhance the signal strength of a second signal, wherein the second signal is transmitted through the wired interface.
According to the electronic equipment provided by the embodiment of the application, the first signal is received through the application processor, so that the connection state of the communication connection corresponding to the wired interface can be determined in time, the signal intensity of the second signal transmitted based on the wired interface can be dynamically adjusted by the signal adjusting module according to the connection state in real time, the signal intensity of the second signal is enhanced, the signal intensity of the communication connection corresponding to the wired interface is built, the disconnection condition is reduced, and the vehicle-mounted experience of a user is improved; in addition, a signal adjusting module is added in the electronic equipment, so that the circuit structure is simple and the cost is low.
Optionally, the processor 910 is further configured to adjust a signal strength configuration parameter of the signal adjustment module based on a signal strength of the second signal, where the signal strength configuration parameter is used to enhance the signal strength of the second signal.
Optionally, the processor 910 is further configured to reestablish a communication connection corresponding to the wired interface with the vehicle machine when the signal strength of the second signal meets the strength threshold after the signal strength of the second signal is enhanced by the signal adjustment module;
and under the condition that the holding time of the communication connection corresponding to the wired interface exceeds a time threshold, storing the signal strength configuration parameter.
Optionally, the processor 910 is further configured to determine an insertion state of the wired interface after the determining that the communication connection corresponding to the wired interface has been disconnected;
and under the condition that the wired interface is inserted into the car machine, controlling the signal adjustment module to enhance the signal strength of the second signal.
Optionally, the signal adjustment module includes at least one of: a driver chip or a repeater chip.
It should be appreciated that in embodiments of the present application, the input unit 904 may include a graphics processor (Graphics Processing Unit, GPU) 9041 and a microphone 9042, with the graphics processor 9041 processing image data of still pictures or video obtained by an image capture device (e.g., a camera) in a video capture mode or an image capture mode. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 907 includes at least one of a touch panel 9071 and other input devices 9072. Touch panel 9071, also referred to as a touch screen. The touch panel 9071 may include two parts, a touch detection device and a touch controller. Other input devices 9072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
The memory 909 may be used to store software programs as well as various data. The memory 909 may mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 909 may include a volatile memory or a nonvolatile memory, or the memory 909 may include both volatile and nonvolatile memories. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 909 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the program or the instruction realizes each process of the embodiment of the communication control method, and the same technical effects can be achieved, so that repetition is avoided, and no redundant description is provided herein.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used for running a program or an instruction, so as to implement each process of the embodiment of the communication control method, and achieve the same technical effect, so that repetition is avoided, and no redundant description is provided here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.
Claims (12)
1. A communication control method applied to an electronic device, characterized in that the electronic device comprises: an application processor and a signal adjustment module; the electronic equipment is connected with the vehicle machine through a wired interface;
the communication control method includes:
determining that the communication connection corresponding to the wired interface is disconnected based on a first signal received by the application processor, wherein the first signal is a signal transmitted under the condition that the electronic equipment and the vehicle machine are in wireless connection;
and controlling the signal adjustment module to enhance the signal strength of a second signal, wherein the second signal is transmitted through the wired interface.
2. The communication control method according to claim 1, wherein the controlling the signal adjustment module to enhance the signal strength of the second signal includes:
and adjusting a signal strength configuration parameter of the signal adjustment module based on the signal strength of the second signal, wherein the signal strength configuration parameter is used for enhancing the signal strength of the second signal.
3. The communication control method according to claim 2, wherein after the controlling the signal adjustment module to enhance the signal strength of the second signal, the method further comprises:
Reestablishing communication connection corresponding to the wired interface with the vehicle machine under the condition that the signal strength of the second signal meets the strength threshold value;
and under the condition that the holding time of the communication connection corresponding to the wired interface exceeds a time threshold, storing the signal strength configuration parameter.
4. The communication control method according to claim 1, wherein after the determination that the communication connection corresponding to the wired interface has been disconnected, the method further comprises:
judging the insertion state of the wired interface;
and under the condition that the wired interface is inserted into the car machine, controlling the signal adjustment module to enhance the signal strength of the second signal.
5. The communication control method according to any one of claims 1 to 4, wherein the signal adjustment module includes at least one of: a driver chip or a repeater chip.
6. An electronic device, the electronic device comprising: an application processor and a signal adjustment module; the electronic equipment is connected with the vehicle machine through a wired interface;
the application processor is used for controlling the signal adjustment module to enhance the signal strength of a second signal based on the received first signal, and the second signal is transmitted through the wired interface;
The first signal is used for indicating that the communication connection corresponding to the wired interface is disconnected, and the first signal is a signal transmitted under the condition that the electronic equipment and the vehicle machine are in wireless connection.
7. The electronic device of claim 6, wherein the application processor is specifically configured to:
and adjusting a signal strength configuration parameter of the signal adjustment module based on the signal strength of the second signal, wherein the signal strength configuration parameter is used for enhancing the signal strength of the second signal.
8. The electronic device of claim 7, wherein the application processor is specifically configured to:
after the signal adjustment module is controlled to enhance the signal intensity of a second signal, reestablishing communication connection corresponding to the wired interface with the vehicle machine under the condition that the signal intensity of the second signal meets an intensity threshold;
and under the condition that the holding time of the communication connection corresponding to the wired interface exceeds a time threshold, storing the signal strength configuration parameter.
9. The electronic device of claim 6, wherein the application processor is further configured to:
After determining that the communication connection corresponding to the wired interface is disconnected, judging the insertion state of the wired interface;
and under the condition that the wired interface is inserted into the car machine, controlling the signal adjustment module to enhance the signal strength of the second signal.
10. The electronic device of any of claims 6-9, wherein the signal conditioning module comprises at least one of: a driver chip or a repeater chip.
11. An electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the communication control method of any one of claims 1-5.
12. A readable storage medium, wherein a program or instructions is stored on the readable storage medium, which when executed by a processor, implements the steps of the communication control method according to any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310254413.1A CN116367111A (en) | 2023-03-15 | 2023-03-15 | Communication control method, electronic device and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310254413.1A CN116367111A (en) | 2023-03-15 | 2023-03-15 | Communication control method, electronic device and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116367111A true CN116367111A (en) | 2023-06-30 |
Family
ID=86906183
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310254413.1A Pending CN116367111A (en) | 2023-03-15 | 2023-03-15 | Communication control method, electronic device and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116367111A (en) |
-
2023
- 2023-03-15 CN CN202310254413.1A patent/CN116367111A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10764898B2 (en) | Media access control (MAC) address identification | |
KR101664247B1 (en) | Remote rendering for efficient use of wireless bandwidth for wireless docking | |
KR102480875B1 (en) | Method for reconnecting bluetooth communication and apparatus using the same | |
CN111818667B (en) | Device connection method, device and readable storage medium | |
US20220217682A1 (en) | Method for determining sidelink resource and terminal | |
EP3659302B1 (en) | Method for processing message and electronic device implementing the same | |
CN111698668B (en) | Wireless communication link establishment method and electronic device supporting same | |
CN111107524A (en) | Bluetooth connection method, system and vehicle-mounted terminal | |
CN111818657B (en) | Uplink transmission discarding method, uplink transmission discarding configuration method and related equipment | |
WO2022166877A1 (en) | Wifi uplink data sending method and apparatus, and electronic device and storage medium | |
CN113840269B (en) | Multimedia data transmission method and device, electronic equipment and storage medium | |
US20230378767A1 (en) | Charging control method and apparatus, electronic device, and charger | |
CN112925501A (en) | Audio playing control method, device and system and computer readable storage medium | |
CN111277972B (en) | Method for determining QoS parameter of direct communication interface and related equipment | |
CN109992430B (en) | Data transmission method, first terminal and second terminal | |
CN116367111A (en) | Communication control method, electronic device and medium | |
US20220417296A1 (en) | Registration Method and Electronic Device | |
CN110758242A (en) | Vehicle trunk control method and device and vehicle-mounted terminal | |
CN111836311A (en) | Capability negotiation method, terminal and network equipment | |
CN113556217B (en) | Communication method, network device, terminal device, and storage medium | |
CN202694029U (en) | WIFI mobile terminal multimedia playing system based on vehicle-mounted navigation | |
CN111246433A (en) | Resource pool switching method, device, mobile terminal, network side equipment and medium | |
CN112261712B (en) | Power adjusting method and device | |
KR102395293B1 (en) | Wireless Communication System, Vehicle, Smart Apparatus and controlling method thereof | |
CN110972299B (en) | Uplink control information transmission method, terminal and network equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |