CN116367111A - Communication control method, electronic device and medium - Google Patents

Communication control method, electronic device and medium Download PDF

Info

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
signal strength
adjustment module
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
CN202310254413.1A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202310254413.1A priority Critical patent/CN116367111A/en
Publication of CN116367111A publication Critical patent/CN116367111A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • H04W84/22Self-organising networks, e.g. ad-hoc networks or sensor networks with access to wired networks
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing 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

本申请公开了一种通信控制方法、电子设备及介质,属于通信技术领域。该通信控制方法应用于电子设备,所述电子设备包括信号调整模块和应用处理器,所述电子设备与车机通过有线接口连接;所述通信控制方法包括:基于所述应用处理器接收到的第一信号,确定所述有线接口对应的通信连接已断开,所述第一信号为在所述电子设备与所述车机建立无线连接的情况下所传输的信号;控制所述信号调整模块增强第二信号的信号强度,所述第二信号通过所述有线接口传输。

Figure 202310254413

The application discloses a communication control method, electronic equipment and media, which belong to the technical field of communication. The communication control method is applied to electronic equipment, and the electronic equipment includes a signal adjustment module and an application processor, and the electronic equipment is connected to the vehicle through a wired interface; the communication control method includes: based on the signal received by the application processor The first signal is to determine that the communication connection corresponding to the wired interface has been disconnected, and the first signal is a signal transmitted when the electronic device establishes a wireless connection with the vehicle; control the signal adjustment module Boosting the signal strength of a second signal transmitted through the wired interface.

Figure 202310254413

Description

通信控制方法、电子设备及介质Communication control method, electronic device and medium

技术领域technical field

本申请属于通信技术领域,具体涉及一种通信控制方法、电子设备及介质。The present application belongs to the technical field of communication, and in particular relates to a communication control method, electronic equipment and media.

背景技术Background technique

随着通信技术的发展,越来越多的汽车开始装有车机,车机在功能上能够实现与其他智能设备进行数据传输。例如可以将手机与车机建立通信连接,使得车机可以完成手机中部分应用的功能,比如能够进行导航、音乐控制、天气预览或语言控制等。With the development of communication technology, more and more cars are equipped with car machines, which can realize data transmission with other smart devices functionally. For example, it is possible to establish a communication connection between the mobile phone and the car, so that the car can complete the functions of some applications in the mobile phone, such as navigation, music control, weather preview or language control.

目标大多数车型支持的是有线连接方式。电子设备可以通过有线连接方式与车机连接,而用户无意间触碰到有线连接接口或者车经过比较抖的路段,可能会出现有线连接接口接触不良的情况,电子设备和车机之间传输的有线信号会出现抖动,有线信号的信号强度减弱,进而会出现电子设备在保持有线接口连接的情况下,有线接口对应的通信连接突然中断的情况,使得用户无法正常使用部分车联网功能。例如:用户在高速公路上驾驶,通过车联网进行导航时,如果突然出现信号中断,导致用户错过分岔路口,或者是用户在车上听歌时,歌曲突然中断等。Target Most models support wired connections. Electronic devices can be connected to the car through a wired connection. If the user accidentally touches the wired connection interface or the car passes through a road section that is shaking, the wired connection interface may be in poor contact. The transmission between the electronic device and the car The wired signal will jitter, the signal strength of the wired signal will weaken, and then the communication connection corresponding to the wired interface will suddenly be interrupted when the electronic device is kept connected to the wired interface, making the user unable to use some car networking functions normally. For example: when the user is driving on the highway and navigating through the Internet of Vehicles, if the signal is interrupted suddenly, causing the user to miss the fork, or when the user is listening to the song in the car, the song is suddenly interrupted, etc.

发明内容Contents of the invention

本申请实施例的目的是提供一种通信控制方法、电子设备及介质,能够解决通过有线方式使用车联网功能时出现的通信连接断开的问题。The purpose of the embodiments of the present application is to provide a communication control method, an electronic device and a medium, which can solve the problem of disconnection of the communication connection when using the Internet of Vehicles function in a wired manner.

第一方面,本申请实施例提供了一种通信控制方法,应用于电子设备,所述电子设备包括:信号调整模块和应用处理器;所述电子设备与车机通过有线接口连接;In the first aspect, the embodiment of the present application provides a communication control method, which is applied to electronic equipment, and the electronic equipment includes: a signal adjustment module and an application processor; the electronic equipment is connected to the vehicle through a wired interface;

该方法包括:The method includes:

基于所述应用处理器接收到的第一信号,确定所述有线接口对应的通信连接已断开,所述第一信号为在所述电子设备与所述车机建立无线连接的情况下所传输的信号;Determine that the communication connection corresponding to the wired interface has been disconnected based on the first signal received by the application processor, where the first signal is transmitted when the electronic device establishes a wireless connection with the vehicle machine signal of;

控制所述信号调整模块增强第二信号的信号强度,所述第二信号通过所述有线接口传输。The signal adjustment module is controlled to increase the signal strength of the second signal, and the second signal is transmitted through the wired interface.

第二方面,本申请实施例提供了一种电子设备,所述电子设备包括:信号调整模块和应用处理器;所述电子设备与车机通过有线接口连接;In the second aspect, the embodiment of the present application provides an electronic device, the electronic device includes: a signal adjustment module and an application processor; the electronic device is connected to the vehicle through a wired interface;

所述应用处理器用于基于接收到的第一信号,控制所述信号调整模块增强第二信号的信号强度,所述第二信号通过所述有线接口传输;The application processor is configured to control 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;

其中,所述第一信号用于指示所述有线接口对应的通信连接已断开,所述第一信号为在所述电子设备与所述车机建立无线连接的情况下所传输的信号。Wherein, the first signal is used to indicate that the communication connection corresponding to the wired interface has been disconnected, and the first signal is a signal transmitted when the electronic device establishes a wireless connection with the vehicle machine.

第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In the third aspect, the embodiment of the present application provides an electronic device, the electronic device includes a processor and a memory, the memory stores programs or instructions that can run on the processor, and the programs or instructions are processed by the The steps of the method described in the first aspect are realized when the controller is executed.

第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .

第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In the fifth aspect, the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect the method described.

第六方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第一方面所述的方法。In a sixth aspect, an embodiment of the present application provides a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the method described in the first aspect.

在本申请实施例中,通过应用处理器接收到的第一信号,从而可以及时确定有线接口对应的通信连接的连接状态,并可以根据连接状态实时控制信号调整模块对基于有线接口传输的第二信号的信号强度进行动态调整,增强第二信号的信号强度,使其达到建立有线接口对应的通信连接的信号强度,减少断连情况,提升用户车载体验;此外,在电子设备中增加了信号调整模块,电路结构简单且成本较低。In the embodiment of the present application, the connection state of the communication connection corresponding to the wired interface can be determined in time through the first signal received by the application processor, and the signal adjustment module can be controlled in real time according to the connection state to the second signal transmitted based on the wired interface. The signal strength of the signal is dynamically adjusted to enhance the signal strength of the second signal so that it reaches the signal strength of the communication connection corresponding to the wired interface, reducing disconnection and improving the user's car experience; in addition, signal adjustment is added to the electronic device module, the circuit structure is simple and the cost is low.

附图说明Description of drawings

图1是本申请实施例提供的通信控制方法的通信控制系统结构示意图之一;Fig. 1 is one of the structural diagrams of the communication control system of the communication control method provided by the embodiment of the present application;

图2是本申请实施例提供的通信控制方法的流程示意图之一;FIG. 2 is one of the schematic flow diagrams of the communication control method provided by the embodiment of the present application;

图3是本申请实施例提供的通信控制方法的通信控制系统结构示意图之二;Fig. 3 is the second structural diagram of the communication control system of the communication control method provided by the embodiment of the present application;

图4是本申请实施例提供的通信控制方法的流程示意图之二;FIG. 4 is the second schematic flow diagram of the communication control method provided by the embodiment of the present application;

图5是本申请实施例提供的通信控制方法的通信控制系统结构示意图之三;Fig. 5 is the third structural diagram of the communication control system of the communication control method provided by the embodiment of the present application;

图6是本申请实施例提供的通信控制方法的流程示意图之三;FIG. 6 is the third schematic flow diagram of the communication control method provided by the embodiment of the present application;

图7是本申请实施例提供的电子设备的结构示意图之一;FIG. 7 is one of the structural schematic diagrams of the electronic device provided by the embodiment of the present application;

图8是本申请实施例提供的电子设备的结构示意图之二;Fig. 8 is the second structural schematic diagram of the electronic device provided by the embodiment of the present application;

图9是本申请实施例提供的电子设备的硬件示意图。FIG. 9 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The following will clearly describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in this application belong to the protection scope of this application.

本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It should be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein, and that references to "first," "second," etc. distinguish Objects are generally of one type, and the number of objects is not limited. For example, there may be one or more first objects. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.

相关技术中,有两种连接方式实现车与电子设备互连。In the related art, there are two connection methods to realize the interconnection between the vehicle and the electronic equipment.

一种是基于数据线进行的有线连接,数据线可以是Micro USB接口数据线、Type-C接口数据线或Lighting接口数据线等;另一种是基于蓝牙、无线局域网(Wireless LocalArea Networks,WLAN)、紫蜂(ZigBee)协议、近场通信(Near Field Communication,NFC)、射频识别(Radio Frequency Identification,RFID)或超宽带(Ultra Wide Band,UWB)等技术的无线连接。One is a wired connection based on a data cable, and the data cable can be a Micro USB interface data cable, a Type-C interface data cable or a Lighting interface data cable, etc.; the other is based on Bluetooth, 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 (Ultra Wide Band, UWB) and other technologies for wireless connection.

有线连接方式中,有线接口传输的信号质量主要取决于电子设备、数据线和车机等模块的设计和选用。电子设备内部与数据线相关的功能模块的性能相对稳定,对数据线传输的有线信号影响较小;不同类型的数据线长短不一,性能差异较大,对数据线传输的有线信号影响较大;由于主控板布局位置有限,会在车机内部增加有线接口对应的延长线,延长线对数据线传输的有线信号影响较大。不管是数据线还是延长线,都会出现有线信号质量不佳而导致通信连接断开的问题。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, and vehicles. The performance of the functional modules related to the data line inside the electronic device is relatively stable, and has little impact on the wired signal transmitted by the data line; different types of data lines have different lengths, and the performance varies greatly, which has a greater impact on the wired signal transmitted by the data line ; Due to the limited layout of the main control board, an extension cable corresponding to the wired interface will be added inside the car, and the extension cable will have a greater impact on the wired signal transmitted by the data cable. Whether it is a data cable or an extension cable, there will always be problems with poor wired signal quality that will cause the communication connection to be disconnected.

下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的通信控制方法、电子设备和可读存储介质进行详细地说明。The communication control method, electronic device, and readable storage medium provided by the embodiments of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.

其中,通信控制方法可应用于电子设备,具体可由,电子设备中的硬件或软件执行。本申请实施例提及的电子设备包括但不限于手机、平板电脑、电脑、相机、可穿戴设备等移动通信设备,下面以电子设备作为执行主体为例对本申请实施例提供的通信控制方法进行说明。Wherein, the communication control method can be applied to electronic equipment, and specifically can be executed by hardware or software in the electronic equipment. The electronic devices mentioned in the embodiments of the present application include but are not limited to mobile communication devices such as mobile phones, tablet computers, computers, cameras, and wearable devices. The communication control method provided in the embodiments of the present application will be described below using electronic devices as the execution subject as an example. .

图1是本申请实施例提供的通信控制方法的通信控制系统结构示意图之一。本申请实施例提供的通信控制方法可以应用于如图1所示的通信控制系统。FIG. 1 is one of the structural diagrams of a communication control system of a communication control method provided in an embodiment of the present application. The communication control method provided in the embodiment of the present application may be applied to the communication control system shown in FIG. 1 .

如图1所示,本申请实施例通信控制系统可以包括电子设备100和车机130。电子设备100和车机130通过有线接口连接;其中,电子设备100可以包括应用处理器110和信号调整模块120。As shown in FIG. 1 , the communication control system in this 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; wherein, the electronic device 100 may include an application processor 110 and a signal adjustment module 120 .

在实际执行中,电子设备100可以通过数据线与车机130进行有线连接。可以理解的是,数据线两端也设置有有线接口,电子设备100和车机130中设置有与数据线的有线接口进行连接的接口。In actual implementation, the electronic device 100 may be wired with the vehicle 130 through a data cable. It can be understood that both ends of the data line are also provided with wired interfaces, and the electronic device 100 and the car machine 130 are provided with interfaces for connecting with the wired interfaces of the data lines.

需要说明的是,车机指的是安装在汽车里面的车载信息娱乐产品的简称,车机在功能上能够实现用户终端与车、车与外界或车与车的信息通讯,目前车机大多安装在汽车中控台里。It should be noted that the car machine refers to the abbreviation of the in-vehicle infotainment product installed in the car. The car machine can realize the information communication between the user terminal and the car, the car and the outside world, or the car and the car. At present, most of the car machines are installed In the car center console.

本申请实施例中的电子设备100和车机130进行有线连接之后,可以基于USB2.0或USB3.2等协议建立有线接口对应的通信连接。After the electronic device 100 and the car machine 130 in the embodiment of the present application are wired connected, a communication connection corresponding to the wired interface can be established based on protocols such as USB2.0 or USB3.2.

USB2.0协议中,为了防止干扰信号影响正常的信号传输,设计了静噪检测(Squelch)参数和高速设备断开检测(HS_Disconnect)参数。In the USB2.0 protocol, in order to prevent interference signals from affecting normal signal transmission, the parameters of squelch detection (Squelch) and high-speed device disconnection detection (HS_Disconnect) are designed.

当电子设备或者车机接收到的信号幅值小于Squelch参数设置的阈值时,会将接收到的信号判断成干扰信号,不进行解码,并对干扰信号进行滤除,电子设备接收不到信号,即没有数据传输,进而导致用户在使用有线方式进行车联网功能时出现信号断开的问题,影响用户的体验。同理,当电子设备接收到的信号幅值大于HS_disconnect参数设置的阈值时,会判断成电子设备断开通信连接,同样也会导致用户在使用有线方式进行车联网功能时出现信号断开问题,影响用户的体验。When the amplitude of the signal received by the electronic device or the vehicle is less than the threshold set by the Squelch parameter, the received signal will be judged as an interference signal, and will not be decoded, and the interference signal will be filtered out, and the electronic device will not receive the signal. That is, there is no data transmission, which leads to the problem of signal disconnection when the user uses the wired method for the Internet of Vehicles function, which affects the user experience. Similarly, when the amplitude of the signal received by the electronic device is greater than the threshold set by the HS_disconnect parameter, it will be judged that the electronic device is disconnected from the communication connection, which will also cause the signal disconnection problem when the user uses the wired method for the car networking function. affect the user experience.

图2是本申请实施例提供的通信控制方法的流程示意图之一。如图2所示,该通信控制方法包括:Fig. 2 is one of the schematic flowcharts of the communication control method provided by the embodiment of the present application. As shown in Figure 2, the communication control method includes:

步骤210、基于应用处理器110接收到的第一信号,确定有线接口对应的通信连接已断开;第一信号为在电子设备100与车机130建立无线连接的情况下所传输的信号;Step 210, based on the first signal received by the application processor 110, determine that the communication connection corresponding to the wired interface has been disconnected; the first signal is a signal transmitted when the electronic device 100 establishes a wireless connection with the vehicle 130;

步骤220、控制信号调整模块120增强第二信号的信号强度,第二信号通过有线接口传输。Step 220, control the signal adjustment module 120 to increase the signal strength of the second signal, and the second signal is transmitted through the wired interface.

在实际执行中,电子设备100与车机130可以通过数据线实现有线连接。其中,数据线可以是Lighting数据线、Micro USB接口数据线或Type-C数据线等。数据线两端的有线接口的类型可以为:Micro USB接口、Mini USB接口、Lightning接口、Type-A接口、Type-B接口或Type-C接口等。In actual implementation, the electronic device 100 and the car machine 130 may be connected via a data cable. Wherein, the data cable may be a Lighting data cable, a Micro USB interface data cable, or a Type-C data cable. The type of the wired interface at both ends of the data cable may be: Micro USB interface, Mini USB interface, Lightning interface, Type-A interface, Type-B interface or Type-C interface, etc.

在本申请实施例中,数据线一端可以插入电子设备100,另一端可以插入车机130。数据线一端的有线接口通常为Type-A接口,用于插入车机130;数据线另一端的有线接口与电子设备100连接,以手机为例,手机的有线接口可以是Micro USB接口、Mini USB接口、Type-B接口、Lighting接口或Type-C接口等。数据线两端的有线接口类型可以根据实际情况设置,本申请对此不作具体限定。In the embodiment of the present application, one end of the data cable can be plugged into the electronic device 100 , and the other end can be plugged into the car machine 130 . The wired interface at one end of the data line is usually a Type-A interface, which is used to plug into the vehicle 130; the wired interface at the other end of the data line is connected to the electronic device 100. Taking a mobile phone as an example, the wired interface of the mobile phone can be a Micro USB interface, Mini USB Interface, Type-B interface, Lighting interface or Type-C interface, etc. The type of the wired interface at both ends of the data line can be set according to the actual situation, which is not specifically limited in this application.

而在一些场景下,在电子设备100和车机130通过数据线进行有线连接的情况下,用户可以正常使用车联网功能。当汽车经过颠簸路段时,汽车车身会产生抖动,导致数据线传输的有线信号出现抖动,且有线连接存在通路衰减,虽然数据线仍保持连接状态,但是此时有线信号的信号强度可能会不满足通信连接要求,导致电子设备100与车机130断开有线接口对应的通信连接。However, in some scenarios, when the electronic device 100 and the car machine 130 are connected via a data cable, the user can normally use the Internet of Vehicles function. When the car passes through a bumpy road, the body of the car will vibrate, causing the wired signal transmitted by the data line to jitter, and there is path attenuation in the wired connection. Although the data line is still connected, the signal strength of the wired signal may not be satisfactory at this time. The communication connection request causes the electronic device 100 and the car machine 130 to disconnect the communication connection corresponding to the wired interface.

需要说明的是,电子设备100和车机130除了通过数据线进行有线连接之外,还可以进行无线连接,确保在有线接口对应的通信连接断开的情况下,电子设备100和车机130还可以通过无线通信连接进行数据传输。例如:可以进行蓝牙连接、ZigBee网络连接或无线保真(Wireless Fidelity,Wi-Fi)连接等。It should be noted that, in addition to the wired connection through the data cable, the electronic device 100 and the car-machine 130 can also be connected wirelessly, so as to ensure that the electronic device 100 and the car-machine 130 are still connected when the communication connection corresponding to the wired interface is disconnected. Data transmission may take place via a wireless communication link. For example: a Bluetooth connection, a ZigBee network connection or a wireless fidelity (Wireless Fidelity, Wi-Fi) connection, etc. can be performed.

当车机130检测到有线接口对应的通信连接处于断开状态且电子设备100与车机130已经建立无线连接时,车机130可以通过无线通信向电子设备100发送第一信号,从而可以及时向电子设备100反馈车机130处于断连状态。When the in-vehicle 130 detects that the communication connection corresponding to the wired interface is disconnected and the electronic device 100 has established a wireless connection with the in-vehicle 130, the in-vehicle 130 can send a first signal to the electronic device 100 through wireless communication, so that the The electronic device 100 reports back that the car machine 130 is in a disconnected state.

在本申请实施例中,还可以在数据线中设置信号发送器。当车机130或数据线检测到有线接口对应的通信连接处于断开状态时,车机130或数据线中的信号发送器都可以向电子设备100发送第一信号。In the embodiment of the present application, a signal transmitter may also be provided in the data line. When the car-machine 130 or the data line detects that the communication connection corresponding to the wired interface is disconnected, the signal transmitter in the car-machine 130 or the data line can both send a first signal to the electronic device 100 .

电子设备100可以通过用于信号接收器或者蓝牙模块等接收无线信号的功能模块来接收第一信号,并将第一信号发送至电子设备100的应用处理器110。The electronic device 100 may receive the first signal through a functional module for receiving wireless signals such as a signal receiver or a Bluetooth module, and send the first signal to the application processor 110 of the electronic device 100 .

电子设备100中的应用处理器110接收到第一信号后,可以向信号调整模块120发送控制信号,从而可以控制信号调整模块120对通过有线接口传输的第二信号的信号强度进行动态调整,增强第二信号的信号强度,使其达到电子设备100与车机130恢复通信连接所要求的信号强度。通信连接所要求的信号强度可以基于通用串行总线(UniversalSerial Bus,USB)通信协议确定,在此不作具体限定。After receiving the first signal, the application processor 110 in the electronic device 100 can send a control signal to the signal adjustment module 120, so that the signal adjustment module 120 can be controlled to dynamically adjust the signal strength of the second signal transmitted through the wired interface to enhance The signal strength of the second signal is such that it reaches the signal strength required by the electronic device 100 and the car 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 specifically limited herein.

其中,信号调整模块120可以基于信号增强芯片构建,信号增强芯片将在后续实施例中进行说明。第二信号指的是基于有线接口传输的差分信号,该差分信号可以包括数据负(Data Minus,DM)信号和数据正(Data Positive,DP)信号。Wherein, the signal adjustment module 120 may be constructed based on a signal enhancement chip, and the signal enhancement chip will be described in subsequent embodiments. The second signal refers to a differential signal transmitted based on a wired interface, and the differential signal may include a data negative (Data Minus, DM) signal and a data positive (Data Positive, DP) signal.

本申请实施例中的信号调整模块120可以针对不同长度和不同类型的数据线所传输的信号进行实时监控,并实时进行信号强度的调整,适用范围较广。The signal adjustment module 120 in the embodiment of the present application can monitor the signals transmitted by different lengths and different types of data lines in real time, and adjust the signal strength in real time, which has a wide range of applications.

根据本申请实施例提供的通信控制方法,通过应用处理器接收到的第一信号,从而可以及时确定有线接口对应的通信连接的连接状态,并可以根据连接状态实时控制信号调整模块对基于有线接口传输的第二信号的信号强度进行动态调整,从而可以增强第二信号的信号强度,使其达到建立有线接口对应的通信连接的信号强度,减少断连情况,提升用户车载体验;此外,在电子设备中增加了信号调整模块,电路结构简单且成本较低。According to the communication control method provided by the embodiment of the present application, the connection status of the communication connection corresponding to the wired interface can be determined in time through the first signal received by the application processor, and the signal adjustment module can be adjusted in real time according to the connection status. The signal strength of the transmitted second signal is dynamically adjusted, so that the signal strength of the second signal can be enhanced to reach the signal strength of the communication connection corresponding to the wired interface, reducing disconnection and improving the user's vehicle experience; in addition, in the electronic A signal adjustment module is added to the device, and the circuit structure is simple and the cost is low.

在一些实施例中,信号调整模块120包括如下至少一项:Redriver芯片或Retimer芯片。In some embodiments, the signal adjustment module 120 includes at least one of the following: a Redriver chip or a Retimer chip.

在实际执行中,信号调整模块120可以基于信号增强芯片构建,信号增强芯片可以包括但不限于Redriver芯片和Retimer芯片,也可以是其他具有信号调整功能的芯片,在此不作具体限定。In actual implementation, the signal adjustment module 120 can be constructed based on a signal enhancement chip, and the signal enhancement chip can include but not limited to a Redriver chip and a Retimer chip, or other chips with a signal adjustment function, which are not specifically limited here.

需要说明的是,Redriver芯片可以是充当信号中继器功能的芯片,它可以放大信号,在高速接口上增加信号质量或信号强度。具体是通过使用同等化和预强调等技术来调整与矫正传输端上频道信号的损失,并在接收端上恢复信号的完整性。It should be noted that the Redriver chip can be a chip that functions as a signal repeater, which can amplify signals and increase signal quality or signal strength on high-speed interfaces. Specifically, by using techniques such as equalization and pre-emphasis to adjust and correct the loss of the channel signal on the transmission end, and restore the integrity of the signal on the receiving end.

Retimer芯片是一种数字信号和模拟信号的混合设备。进入Retimer芯片的模拟信号会被还原成数字信号,再重新变成模拟信号发出去。它具有感知能力,能够完全恢复数据信号重新发出。具体是通过其内部嵌有的时钟数据恢复电路提取输入信号中的嵌入式时钟,再使用完整未经衰减变形的时钟信号重新传输数据,以形成一个原数据信号的新副本。Retimer芯片这种先恢复数据再通过串行通道重新发送信号的模式,可以有效地解决信号强度的衰减问题。A Retimer chip is a hybrid device of digital and analog signals. The analog signal entering the Retimer chip will be restored to a digital signal, and then re-transmitted as an analog signal. It is sentient and fully recovers the data signal re-emission. Specifically, the embedded clock in the input signal is extracted through the clock data recovery circuit embedded in it, and then the complete unattenuated clock signal is used to retransmit the data to form a new copy of the original data signal. The Retimer chip first recovers the data and then resends the signal through the serial channel, which can effectively solve the problem of signal strength attenuation.

在本申请实施例中,可以通过在电子设备100中增加Redriver芯片或Retimer芯片中的一种或多种。Redriver芯片或Retimer芯片均可以动态调整基于USB接口传输的第二信号的信号强度,使得车机130和电子设备100能够尽快重新建立USB接口对应的通信连接,进而可以快速恢复车联网功能,提高用户的车载体验。In the embodiment of the present application, one or more of a Redriver chip or a Retimer chip may be added to the electronic device 100 . Both the Redriver chip and the Retimer chip can dynamically adjust the signal strength of the second signal transmitted based on the USB interface, so that the car machine 130 and the electronic device 100 can re-establish the communication connection corresponding to the USB interface as soon as possible, thereby quickly restoring the Internet of Vehicles function and improving the user experience. in-vehicle experience.

在一些实施例中,控制信号调整模块120增强第二信号的信号强度,包括:In some embodiments, the control signal adjustment module 120 enhances the signal strength of the second signal, including:

基于第二信号的信号强度,调整信号调整模块120的信号强度配置参数,信号强度配置参数用于增强第二信号的信号强度。Based on the signal strength of the second signal, a 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, for data lines of different types and lengths, different signal strength configuration parameters may correspond to them.

在信号调整模块120接收到应用处理器110的控制信号后,基于数据线的长度和类型,确定该数据线的信号强度配置参数,并将信号强度配置参数写入信号调整模块120。并基于该信号强度配置参数,调整第二信号的信号强度,恢复第二信号的完整性,从而可以增强第二信号的信号强度。After receiving the control signal from the application processor 110 , the signal adjustment module 120 determines the signal strength configuration parameters of the data line based on the length and type of the data line, and writes the signal strength configuration parameters into the signal adjustment module 120 . And based on the signal strength configuration parameter, the signal strength of the second signal is adjusted to restore the integrity of the second signal, so that the signal strength of the second signal can be enhanced.

根据本申请实施例提供的通信控制方法,通过信号调整模块可以实现对第二信号的信号强度的实时调整,从而可以增强第二信号的信号强度,减少有线接口对应的通信连接的断连情况。According to the communication control method provided by the embodiment of the present application, the signal adjustment module can realize real-time adjustment of the signal strength of the second signal, thereby enhancing the signal strength of the second signal and reducing disconnection of the communication connection corresponding to the wired interface.

在一些实施例中,控制信号调整模块120增强第二信号的信号强度之后,该通信控制方法还包括:In some embodiments, after the control signal adjustment module 120 enhances the signal strength of the second signal, the communication control method further includes:

在第二信号的信号强度满足强度阈值的情况下,与车机130重新建立有线接口对应的通信连接;When the signal strength of the second signal meets the strength threshold, re-establish the communication connection corresponding to the wired interface with the car machine 130;

在有线接口对应的通信连接的保持时间超过时间阈值的情况下,保存信号强度配置参数。When the holding time of the communication connection corresponding to the wired interface exceeds the time threshold, the signal strength configuration parameter is saved.

在本申请实施例中,应用处理器110控制信号调整模块120对第二信号的信号强度进行调整,直至第二信号的信号强度满足强度阈值,从而电子设备100与车机130可以通过有线接口重新建立通信连接。其中,强度阈值可以基于USB协议设置,也可以根据电子设备100或车机130对应的设备相关参数设置,在此不作具体限定。In the embodiment of the present application, 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 car machine 130 can reconnect to each other through the wired interface. Establish a communication connection. Wherein, the intensity threshold can be set based on the USB protocol, or can be set according to device-related parameters corresponding to the electronic device 100 or the vehicle 130 , which is not specifically limited here.

在有线接口对应的通信连接的保持时间超过时间阈值的情况下,可以认为有线接口对应的通信连接趋于稳定,应用处理器110再保存信号调整模块120的信号强度配置参数。其中,时间阈值可以根据实际需求确定,在此不做具体限定。When the holding time of the communication connection corresponding to the wired interface exceeds the time threshold, it can be considered that the communication connection corresponding to the wired interface tends to be stable, and the application processor 110 then saves the signal strength configuration parameters of the signal adjustment module 120 . Wherein, the time threshold may be determined according to actual requirements, and is not specifically limited here.

基于信号调整模块120的信号强度配置参数,电子设备100与车机130可以进行数据传输,则用户可以通过电子设备100正常使用车联网功能,例如:可以将电子设备100中的部分应用投屏至车机130对应的显示屏幕上。Based on the signal strength configuration parameters of the signal adjustment module 120, the electronic device 100 and the vehicle 130 can perform data transmission, and the user can use the electronic device 100 to use the Internet of Vehicles function normally, for example: some applications in the electronic device 100 can be projected to the on the corresponding display screen of the car machine 130.

根据本申请实施例提供的通信控制方法,通过信号调整模块调整第二信号的信号强度,使得第二信号的信号强度满足强度阈值,并在电子设备与车机通过有线接口保持稳定的通信连接后,保存动态调整后的信号强度配置参数,并在后续车机连接中使用该的信号强度配置参数,进一步提高了通信连接的稳定性。According to the communication control method provided by the embodiment of the present application, the signal strength of the second signal is adjusted by the signal adjustment module, so that the signal strength of the second signal meets the strength threshold, and after the electronic device and the vehicle maintain a stable communication connection through the wired interface , save the dynamically adjusted signal strength configuration parameters, and use the signal strength configuration parameters in the subsequent car-machine connection, further improving the stability of the communication connection.

在一些实施例中,确定有线接口对应的通信连接已断开之后,该通信控制方法还包括:In some embodiments, after determining that the communication connection corresponding to the wired interface has been disconnected, the communication control method further includes:

判断有线接口的插入状态;Determine the plug-in state of the wired interface;

在确定有线接口插入车机130的情况下,控制信号调整模块120增强第二信号的信号强度。When it is determined that the wired interface is plugged into the vehicle machine 130, the control signal adjustment module 120 increases the signal strength of the second signal.

可以理解的是,应用处理器110在接收到第一信号的情况下,可以判断数据线的插入状态,对有线接口是否插入车机130进行确认。It can be understood that, when the application processor 110 receives the first signal, it can judge the insertion state of the data line, and confirm whether the wired interface is inserted into the vehicle machine 130 .

若确定有线接口没有插入车机130,则应用处理器110不向信号调整模块120发送控制信号,信号调整模块120则不进行信号强度调整。车机130可以向电子设备100发送提示信息,用以提示用户数据线处于断连状态,便于用户对数据线进行重连。If it is determined that the wired interface is not plugged into the vehicle machine 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 in-vehicle device 130 may send prompt information to the electronic device 100 to remind the user that the data line is disconnected, so as to facilitate the user to reconnect the data line.

若确定有线接口插入车机130,则应用处理器110可以向信号调整模块120发送控制信号,以控制信号调整模块120对第二信号的信号强度进行信号增强。If it is determined that the wired interface is plugged into the vehicle machine 130, the application processor 110 may send a control signal to the signal adjustment module 120, so as to control the signal adjustment module 120 to enhance the signal strength of the second signal.

图3是本申请实施例提供的通信控制方法的通信控制系统结构示意图之二。本申请实施例提供的通信控制方法可以应用于如图3所示的通信控制系统。FIG. 3 is the second structural diagram of the communication control system of the communication control method provided by the embodiment of the present application. The communication control method provided in the embodiment of the present application may be applied to the communication control system shown in FIG. 3 .

该通信控制系统可以包括:手机和车机。手机和车机通过USB数据线进行有线连接。手机可以包括应用处理器、手机蓝牙、信号调整模块(Redriver芯片或Retimer芯片)、USB开关和音频开关。车机可以包括车机蓝牙和车机系统。The communication control system may include: a mobile phone and a car machine. The mobile phone and the car machine are wired through a USB data cable. The mobile phone can include application processor, mobile phone Bluetooth, signal conditioning module (Redriver chip or Retimer chip), USB switch and audio switch. The car-machine can include car-machine Bluetooth and car-machine systems.

其中,USB数据线主要用于连接手机与车机,是数据传输的硬件媒介;USB开关可以采用DIO5000,DIO5000是一种高速、低功耗的双刀/双掷模拟开关,用于在手持设备(如手机、数码相机和笔记本电脑,或带有集线器或控制器的设备)中切换高速USB2.0信号;音频开关可以采用FSA4480,FSA4480是高性能的多媒体开关,允许传输USB2.0信号、模拟音频信号和模拟麦克风信号。Among them, the USB data cable is mainly used to connect the mobile phone and the car machine, which is the hardware medium for data transmission; the USB switch can use DIO5000, which is a high-speed, low-power double-pole/double-throw analog switch, used in handheld devices (such as mobile phones, digital cameras and notebook computers, or devices with hubs or controllers) to switch high-speed USB2.0 signals; the audio switch can use FSA4480, FSA4480 is a high-performance multimedia switch that allows the transmission of USB2.0 signals, analog audio signal and analog microphone signal.

应用处理器负责手机软件系统的运行、手机终端功能的实现以及外围器件的控制,应用处理器是整个手机的控制中枢。The application processor is responsible for the operation of the mobile phone software system, the realization of mobile terminal functions and the control of peripheral devices. The application processor is the control center of the entire mobile phone.

手机蓝牙可以用于接收车机蓝牙发送的信号,从而确认车机系统与手机的USB数据线对应的有线接口是否处于通信连接状态。The Bluetooth of the mobile phone can be used to receive the signal sent by the Bluetooth of the car, so as to confirm whether the wired interface corresponding to the USB data cable of the car system and the mobile phone is in a communication connection state.

Redriver芯片或Retimer芯片用于对USB数据线传输的DP/DM信号的信号强度进行调整,目的是为了增强DP/DM信号的信号强度。The Redriver chip or the Retimer chip is used to adjust the signal strength of the DP/DM signal transmitted by the USB data line, in order to enhance the signal strength of the DP/DM signal.

USB开关可以实现中央处理器(Central Processing Unit,CPU)、充电微控制单元(Microcontroller Unit;MCU)及电源管理芯片的切换。The USB switch can realize switching of a central processing unit (Central Processing Unit, CPU), a charging microcontroller unit (Microcontroller Unit; MCU) and a power management chip.

音频开关可以实现耳机、USB和OTG(On-The-Go)功能的切换。其中,OTG功能是一种让手机可以在没有电脑中转的情况下,连接多种外设的技术。The audio switch can switch between the headset, USB and OTG (On-The-Go) functions. Among them, the OTG function is a technology that allows mobile phones to connect to various peripherals without computer transfer.

图4是本申请实施例提供的通信控制方法的流程示意图之二。如图4所示,本申请实施例提供的通信控制方法可以包括:FIG. 4 is the second schematic flow diagram of the communication control method provided by the embodiment of the present application. As shown in Figure 4, the communication control method provided in the embodiment of the present application may include:

USB数据线一端的USB接口接入手机,USB数据线另一端的USB接口接入车机系统。车载显示器可以显示手机与车机系统的数据线连接信息。The USB interface on one end of the USB data cable is connected to the mobile phone, and the USB interface on the other end of the USB data cable is connected to the car system. The on-board display can display the data cable connection information between the mobile phone and the car-machine system.

手机与车机系统进行正常数据传输,应用处理器基于信号调整模块中Redriver芯片或Retimer芯片的原有信号强度配置参数进行数据输出。车载显示器可以显示车机系统与手机通过USB数据线进行正常通信连接。The mobile phone and the vehicle system perform normal data transmission, and the application processor performs data output based on the original signal strength configuration parameters of the Redriver chip or Retimer chip in the signal adjustment module. The on-board display can display the normal communication connection between the car-machine system and the mobile phone through the USB data cable.

在USB接口对应的通信连接处于通信断连状态的情况下,车机系统生成车机断连信号。需要说明的是,车机断连是因为DP/DM信号在传输过程中,通路衰减导致DP/DM信号的信号强度不满足建立USB接口的通信连接所需要达到的信号强度,最后导致车机断连。When the communication connection corresponding to the USB interface is in a communication disconnection state, the vehicle-machine system generates a vehicle-machine disconnection signal. It should be noted that the disconnection of the car and the machine is because the signal strength of the DP/DM signal does not meet the signal strength required to establish the communication connection of the USB interface due to the path attenuation during the transmission of the DP/DM signal, which finally leads to the disconnection of the car and the machine. even.

车机蓝牙可以向手机蓝牙发送车机断连信号,手机蓝牙接收到车机断连信号后反馈给应用处理器。The car machine Bluetooth can send the car machine disconnection signal to the mobile phone Bluetooth, and the mobile phone Bluetooth will feed back to the application processor after receiving the car machine disconnection signal.

应用处理器判断USB接口是否处于插入状态。若USB接口处于未插入状态,则应用处理器不做任何处理,车载显示器可以显示手机与车机系统未通过USB接口进行通信连接。若USB接口处于插入状态,应用处理器控制Redriver芯片或Retimer芯片对USB数据线传输的DP/DM信号的信号强度进行调整,以增强DP/DM信号的信号强度,直至手机与车机正常通信连接。The application processor determines whether the USB interface is in a plugged state. If the USB interface is not plugged in, the application processor does not perform any processing, and the vehicle display can display that the mobile phone and the vehicle system are not connected through the USB interface. If the USB interface is in the plug-in state, the application processor controls the Redriver chip or the Retimer chip to adjust the signal strength of the DP/DM signal transmitted by the USB data line to enhance the signal strength of the DP/DM signal until the mobile phone and the car are connected normally. .

在车机与手机通过USB接口正常通信连接且稳定一段时间后,应用处理器保存动态调整后的信号强度配置参数,并在以后的车机连接中使用该信号强度配置参数。应用处理器确定车机系统通过USB接口重新建立通信连接后,则手机与车机之间可以正常使用车联网功能。After the car-machine and the mobile phone are normally connected through the USB interface and stabilized for a period of time, the application processor saves the dynamically adjusted signal strength configuration parameters, and uses the signal strength configuration parameters in future car-machine connections. After the application processor determines that the vehicle-machine system re-establishes the communication connection through the USB interface, the Internet of Vehicles function can be used normally between the mobile phone and the vehicle-machine.

图5是本申请实施例提供的通信控制方法的通信控制系统结构示意图之三。本申请实施例提供的通信控制方法可以应用于如图5所示的通信控制系统结构。FIG. 5 is a third schematic structural diagram of a communication control system of a communication control method provided in an embodiment of the present application. The communication control method provided in the embodiment of the present application may be applied to the structure of the communication control system shown in FIG. 5 .

需要说明的是,与图3所示通信控制系统不同的是,图5所示的通信控制系统的无线连接不是通过车机蓝牙和手机蓝牙完成。而是在USB数据线中增加无线信号发送器,在手机内增加无线信号接收器来进行无线连接。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 the Bluetooth of the vehicle and the Bluetooth of the mobile phone. Instead, a wireless signal transmitter is added to the USB data cable, and a wireless signal receiver is added to the mobile phone for wireless connection.

图6是本申请实施例提供的通信控制方法的流程示意图之三。如图6所示,本申请实施例提供的通信控制方法可以包括:FIG. 6 is a third schematic flowchart of a communication control method provided by an embodiment of the present application. As shown in Figure 6, the communication control method provided in the embodiment of the present application may include:

USB数据线的USB接口一端接入手机,USB数据线另一端的USB接口接入车机系统。车载显示器可以显示手机与车机系统的连接信息。One end of the USB interface of the USB data cable is connected to the mobile phone, and the USB interface of the other end of the USB data cable is connected to the vehicle system. The on-board display can display the connection information between the mobile phone and the car-machine system.

手机与车机系统进行正常数据传输,应用处理器基于信号调整模块的原有信号强度配置参数进行数据输出。车载显示器可以显示车机系统与手机通过USB数据线进行正常通信连接。The mobile phone and the vehicle 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 on-board display can display the normal communication connection between the car-machine system and the mobile phone through the USB data cable.

在USB接口对应的通信连接处于通信断连状态的情况下,车机系统生成车机断连信号。需要说明的是,车机断连是因为DP/DM信号在传输过程中,通路衰减导致DP/DM信号的信号强度不满足建立USB接口的通信连接所需要达到的信号强度,最后导致车机断连。When the communication connection corresponding to the USB interface is in a communication disconnection state, the vehicle-machine system generates a vehicle-machine disconnection signal. It should be noted that the disconnection of the car and the machine is because the signal strength of the DP/DM signal does not meet the signal strength required to establish the communication connection of the USB interface due to the path attenuation during the transmission of the DP/DM signal, which finally leads to the disconnection of the car and the machine. even.

USB数据线内的无线信号发送器发送车机断连信号给手机内的无线信号接收器,无线信号接收器接收到车机断连信号后反馈给应用处理器。The wireless signal transmitter in the USB data cable sends the car machine disconnection signal to the wireless signal receiver in the mobile phone, and the wireless signal receiver feeds back the application processor after receiving the car machine disconnection signal.

应用处理器判断USB接口是否处于插入状态。若USB接口处于未插入状态,则应用处理器不做任何处理,车载显示器可以显示手机与车机系统未通过USB数据线进行通信连接。若USB接口处于插入状态,应用处理器控制Redriver芯片或Retimer芯片对USB数据线传输的DP/DM信号的信号强度进行调整,以增强DP/DM信号的信号强度,直至手机与车机正常通信连接。The application processor determines whether the USB interface is in a plugged state. If the USB interface is not plugged in, the application processor does not perform any processing, and the vehicle display can display that the mobile phone and the vehicle system are not connected through the USB data cable. If the USB interface is in the plug-in state, the application processor controls the Redriver chip or the Retimer chip to adjust the signal strength of the DP/DM signal transmitted by the USB data line to enhance the signal strength of the DP/DM signal until the mobile phone and the car are connected normally. .

在车机与手机通过USB接口正常通信连接且稳定一段时间后,应用处理器保存动态调整后的信号强度配置参数,并在以后的车机连接中使用该信号强度配置参数。应用处理器确定车机系统通过USB接口重新建立通信连接后,则手机与车机之间可以正常使用车联网功能。After the car-machine and the mobile phone are normally connected through the USB interface and stabilized for a period of time, the application processor saves the dynamically adjusted signal strength configuration parameters, and uses the signal strength configuration parameters in future car-machine connections. After the application processor determines that the vehicle-machine system re-establishes the communication connection through the USB interface, the Internet of Vehicles function can be used normally between the mobile phone and the vehicle-machine.

根据本申请实施例提供的通信控制方法,通过在保证车载电路完整性的基础上,利用手机内部电路、USB数据线、以及Redriver芯片或Retimer芯片实现信号参数实时动态调整,确保车机不会出现断连的情况;电路非常简单,成本低,实现容易;可以解决用户车机断连的痛点,减少用户投诉,提升用户的车载体验。According to the communication control method provided by the embodiment of the present application, on the basis of ensuring the integrity of the vehicle circuit, the internal circuit of the mobile phone, the USB data line, and the Redriver chip or Retimer chip are used to realize real-time dynamic adjustment of signal parameters to ensure that the vehicle will not appear The situation of disconnection; the circuit is very simple, the cost is low, and the implementation is easy; it can solve the pain point of the user's car disconnection, reduce user complaints, and improve the user's car experience.

本申请实施例提供的通信控制方法,执行主体可以为电子设备700。本申请实施例中以电子设备700执行通信控制方法为例,说明本申请实施例提供的电子设备700。The communication control method provided in the embodiment of the present application may be executed by 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 executing the communication control method as an example.

本申请实施例还提供一种电子设备700。图7是本申请实施例提供的电子设备的结构示意图之一。如图7所示,所述电子设备700包括:应用处理器710和信号调整模块720,所述电子设备700与车机通过有线接口连接。The embodiment of the present application also provides an electronic device 700 . FIG. 7 is one of the structural schematic diagrams of the electronic device provided by the embodiment of the present application. As shown in FIG. 7 , the electronic device 700 includes: an application processor 710 and a signal adjustment module 720 , and the electronic device 700 is connected to the vehicle through a wired interface.

所述应用处理器710用于基于接收到的第一信号,控制所述信号调整模块720增强第二信号的信号强度,所述第二信号通过所述有线接口传输;The application processor 710 is configured to control the signal adjustment module 720 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;

其中,所述第一信号用于指示所述有线接口对应的通信连接已断开,所述第一信号为在所述电子设备700与所述车机建立无线连接的情况下所传输的信号。Wherein, the first signal is used to indicate that the communication connection corresponding to the wired interface has been disconnected, and the first signal is a signal transmitted when the electronic device 700 establishes a wireless connection with the vehicle machine.

根据本申请实施例提供的电子设备,通过应用处理器接收第一信号,从而可以及时确定有线接口对应的通信连接的连接状态,并可以根据连接状态实时控制信号调整模块对基于有线接口传输的第二信号的信号强度进行动态调整,从而可以增强第二信号的信号强度,使其达到建立有线接口对应的通信连接的信号强度,减少断连情况,提升用户车载体验;此外,电子设备还设置有信号调整模块,电路结构简单且成本较低。According to the electronic device provided in the embodiment of the present application, the application processor receives the first signal, so that the connection status of the communication connection corresponding to the wired interface can be determined in time, and the signal adjustment module can be controlled in real time according to the connection status to the first signal transmitted based on the wired interface. The signal strength of the second signal is dynamically adjusted, so that the signal strength of the second signal can be enhanced so that it reaches the signal strength of the communication connection corresponding to the wired interface, reducing disconnection and improving the user's vehicle experience; in addition, the electronic device is also provided with The signal adjustment module has simple circuit structure and low cost.

在一些实施例中,所述应用处理器710具体用于:In some embodiments, the application processor 710 is specifically configured to:

基于所述第二信号的信号强度,调整所述信号调整模块的信号强度配置参数,所述信号强度配置参数用于增强所述第二信号的信号强度。Adjusting a signal strength configuration parameter of the signal adjustment module based on the signal strength of the second signal, where the signal strength configuration parameter is used to enhance the signal strength of the second signal.

在一些实施例中,所述应用处理器710具体用于:In some embodiments, the application processor 710 is specifically configured to:

在所述控制所述信号调整模块增强第二信号的信号强度之后,在所述第二信号的信号强度满足强度阈值的情况下,与所述车机重新建立所述有线接口对应的通信连接;After the signal adjustment module is controlled to enhance the signal strength of the second signal, if the signal strength of the second signal meets a strength threshold, re-establish the communication connection corresponding to the wired interface with the vehicle machine;

在所述有线接口对应的通信连接的保持时间超过时间阈值的情况下,保存所述信号强度配置参数。In a case where the hold time of the communication connection corresponding to the wired interface exceeds a time threshold, the signal strength configuration parameter is saved.

在一些实施例中,所述应用处理器710还用于:In some embodiments, the application processor 710 is further configured to:

在确定所述有线接口对应的通信连接已断开之后,判断所述有线接口的插入状态;After determining that the communication connection corresponding to the wired interface has been disconnected, judging the insertion status of the wired interface;

在确定所述有线接口插入所述车机的情况下,控制所述信号调整模块增强第二信号的信号强度。When it is determined that the wired interface is plugged into the vehicle machine, the signal adjustment module is controlled to enhance the signal strength of the second signal.

在一些实施例中,所述信号调整模块720包括如下至少一项:Redriver芯片或Retimer芯片。In some embodiments, the signal adjustment module 720 includes at least one of the following: a Redriver chip or a Retimer chip.

本申请实施例中的电子设备可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile InternetDevice,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The electronic device in this embodiment of the present application may be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or other devices other than the terminal. Exemplarily, the electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., can also be a server, network attached storage (Network Attached Storage, NAS ), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which are not specifically limited in this embodiment of the present application.

本申请实施例中的电子设备可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The electronic device in this embodiment of the present application may be a device with 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 this embodiment of the present application.

本申请实施例提供的电子设备能够实现图1至图6的方法实施例实现的各个过程,为避免重复,这里不再赘述。The electronic device provided in the embodiment of the present application can implement various processes implemented by the method embodiments in FIG. 1 to FIG. 6 , and details are not repeated here to avoid repetition.

可选地,如图8所示,本申请实施例还提供一种电子设备800,包括处理器801,存储器802,存储在存储器802上并可在所述处理器801上运行的程序或指令,该程序或指令被处理器801执行时实现上述通信控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。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 programs or instructions stored in the memory 802 and operable on the processor 801, When the program or instruction is executed by the processor 801, each process of the above-mentioned communication control method embodiment can be realized, and the same technical effect can be achieved, so in order to avoid repetition, details are not repeated here.

需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.

图9为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.

该电子设备900包括但不限于:射频单元901、网络模块902、音频输出单元903、输入单元904、传感器905、显示单元906、用户输入单元907、接口单元908、存储器909以及处理器910等部件。The electronic device 900 includes, but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, and a processor 910. .

本领域技术人员可以理解,电子设备900还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器910逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图9中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 900 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 910 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions. The structure of the electronic device shown in FIG. 9 does not constitute a limitation to the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .

其中,处理器910,用于基于所述应用处理器接收到的第一信号,确定所述有线接口对应的通信连接已断开,所述第一信号为在所述电子设备与所述车机建立无线连接的情况下所传输的信号;Wherein, the processor 910 is configured to determine that the communication connection corresponding to the wired interface has been disconnected based on a first signal received by the application processor. Signals transmitted when a wireless connection is established;

控制所述信号调整模块增强第二信号的信号强度,所述第二信号通过所述有线接口传输。The signal adjustment module is controlled to increase the signal strength of the second signal, and the second signal is transmitted through the wired interface.

根据本申请实施例提供的电子设备,通过应用处理器接收第一信号,从而可以及时确定有线接口对应的通信连接的连接状态,并可以根据连接状态实时控制信号调整模块对基于有线接口传输的第二信号的信号强度进行动态调整,增强第二信号的信号强度,使其达到建立有线接口对应的通信连接的信号强度,减少断连情况,提升用户车载体验;此外,在电子设备中增加了信号调整模块,电路结构简单且成本较低。According to the electronic device provided in the embodiment of the present application, the application processor receives the first signal, so that the connection status of the communication connection corresponding to the wired interface can be determined in time, and the signal adjustment module can be controlled in real time according to the connection status to the first signal transmitted based on the wired interface. The signal strength of the second signal is dynamically adjusted to enhance the signal strength of the second signal so that it reaches the signal strength of the communication connection corresponding to the wired interface, reducing disconnection and improving the user's vehicle experience; in addition, the electronic device adds a signal The adjustment module has simple circuit structure and low cost.

可选地,处理器910,还用于基于所述第二信号的信号强度,调整所述信号调整模块的信号强度配置参数,所述信号强度配置参数用于增强所述第二信号的信号强度。Optionally, the processor 910 is further configured to adjust a signal strength configuration parameter of the signal adjustment module based on the signal strength of the second signal, where the signal strength configuration parameter is used to enhance the signal strength of the second signal .

可选地,处理器910,还用于在所述控制所述信号调整模块增强第二信号的信号强度之后,在所述第二信号的信号强度满足强度阈值的情况下,与所述车机重新建立所述有线接口对应的通信连接;Optionally, the processor 910 is further configured to, after the signal adjustment module is controlled to increase the signal strength of the second signal, if the signal strength of the second signal satisfies a strength threshold, communicate with the vehicle-machine Re-establish the communication connection corresponding to the wired interface;

在所述有线接口对应的通信连接的保持时间超过时间阈值的情况下,保存所述信号强度配置参数。In a case where the hold time of the communication connection corresponding to the wired interface exceeds a time threshold, the signal strength configuration parameter is saved.

可选地,处理器910,还用于在所述确定所述有线接口对应的通信连接已断开之后,判断所述有线接口的插入状态;Optionally, the processor 910 is further configured to determine the plug-in status of the wired interface after determining that the communication connection corresponding to the wired interface has been disconnected;

在确定所述有线接口插入所述车机的情况下,控制所述信号调整模块增强第二信号的信号强度。When it is determined that the wired interface is plugged into the vehicle machine, the signal adjustment module is controlled to enhance the signal strength of the second signal.

可选地,所述信号调整模块包括如下至少一项:Redriver芯片或Retimer芯片。Optionally, the signal adjustment module includes at least one of the following: a Redriver chip or a Retimer chip.

应理解的是,本申请实施例中,输入单元904可以包括图形处理器(GraphicsProcessing Unit,GPU)9041和麦克风9042,图形处理器9041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元906可包括显示面板9061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板9061。用户输入单元907包括触控面板9071以及其他输入设备9072中的至少一种。触控面板9071,也称为触摸屏。触控面板9071可包括触摸检测装置和触摸控制器两个部分。其他输入设备9072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that, in this embodiment of the present application, the input unit 904 may include a graphics processing unit (Graphics Processing Unit, GPU) 9041 and a microphone 9042, and the graphics processing unit 9041 is compatible with an image capture device (such as Camera) to process the image data of still pictures or videos. 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 . The touch panel 9071 is also called 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, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, which will not be repeated here.

存储器909可用于存储软件程序以及各种数据。存储器909可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器909可以包括易失性存储器或非易失性存储器,或者,存储器909可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器909包括但不限于这些和任意其它适合类型的存储器。The memory 909 can be used to store software programs as well as various data. The memory 909 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required by at least one function (such as a sound playing function, image playback function, etc.), etc. Furthermore, memory 909 may include volatile memory or nonvolatile memory, or, memory 909 may include both volatile and nonvolatile memory. Wherein, the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electronically programmable Erase Programmable Read-Only Memory (Electrically EPROM, EEPROM) or Flash. Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (Synch link DRAM , SLDRAM) and Direct Memory Bus Random Access Memory (Direct Rambus RAM, DRRAM). The memory 909 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

处理器910可包括一个或多个处理单元;可选地,处理器910集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器910中。The processor 910 may include one or more processing units; optionally, the processor 910 integrates an application processor and a modem processor, wherein the application processor mainly handles operations related to the operating system, user interface, and application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the foregoing modem processor may not be integrated into the processor 910 .

本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述通信控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium. The readable storage medium stores programs or instructions. When the program or instructions are executed by the processor, the various processes of the above-mentioned communication control method embodiments can be achieved, and the same To avoid repetition, the technical effects will not be repeated here.

其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk, and the like.

本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述通信控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above communication control method embodiment Each process can achieve the same technical effect, so in order to avoid repetition, it will not be repeated here.

应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, 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.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of computer software products, which are stored in a storage medium (such as ROM/RAM, magnetic disk, etc.) , optical disc), including several instructions to enable a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.

上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this 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.
CN202310254413.1A 2023-03-15 2023-03-15 Communication control method, electronic device and medium Pending CN116367111A (en)

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)

Similar Documents

Publication Publication Date Title
EP3101867B1 (en) Wireless audio output devices
CN103401997B (en) Data transmission method and system of vehicle-mounted terminal and intelligent mobile phone under USB (universal serial bus) connection
KR101664247B1 (en) Remote rendering for efficient use of wireless bandwidth for wireless docking
CN104333844A (en) Interconnection method of vehicle-mounted terminal and smart phone
US10380049B2 (en) Multi-host supported universal serial bus hub and automobile head unit using the same
US20060160569A1 (en) Cellular phone and portable storage device using the same
CN114449503A (en) Bluetooth connection method and Bluetooth connection device
CN107979385B (en) A kind of radio frequency front-end data processing method and mobile terminal
CN108541058A (en) Control method of mobile terminal, mobile terminal and storage medium
CN110972320B (en) Receiving method, sending method, terminal and network side equipment
CN111277972A (en) A kind of direct communication interface QoS parameter determination method and related equipment
CN108008808B (en) Operating parameter adjustment method and mobile terminal
CN111818657A (en) Upstream sending discarding method, uplink sending discarding configuration method and related equipment
CN112929793B (en) Audio framework, audio control method, device and equipment
CN113115179B (en) Working state adjusting method and device
CN109921959A (en) A kind of parameter regulation means and communication equipment
WO2018049968A1 (en) Hotspot establishment method and terminals
CN116367111A (en) Communication control method, electronic device and medium
CN108234673A (en) Vehicle-carrying distribution mapped system and mapping method
CN112925501A (en) Audio playing control method, device and system and computer readable storage medium
CN112769196B (en) A charging control method, device, electronic equipment and charger
CN113556217B (en) Communication method, network device, terminal device, and storage medium
CN114710804A (en) Data transmission adjustment method, device, electronic device and readable storage medium
CN110381491B (en) Signal transmission method and terminal
CN110351692B (en) Data transmission method, device, storage medium and vehicle-mounted terminal

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