CN115834751A - Detection method, detection system and storage medium for mobile phone interconnection equipment - Google Patents
Detection method, detection system and storage medium for mobile phone interconnection equipment Download PDFInfo
- Publication number
- CN115834751A CN115834751A CN202211399741.2A CN202211399741A CN115834751A CN 115834751 A CN115834751 A CN 115834751A CN 202211399741 A CN202211399741 A CN 202211399741A CN 115834751 A CN115834751 A CN 115834751A
- Authority
- CN
- China
- Prior art keywords
- parameters
- mobile phone
- equipment
- detection
- external equipment
- 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.)
- Granted
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 71
- 238000004891 communication Methods 0.000 claims description 37
- 238000000034 method Methods 0.000 claims description 21
- 238000004590 computer program Methods 0.000 claims description 8
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000012216 screening Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Landscapes
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a detection method, a detection system and a storage medium of mobile phone interconnection equipment, which at least comprises the following real-time parameters by acquiring the real-time parameters of external equipment: hardware parameters, connection information and disconnection information; and selecting external equipment meeting preset conditions according to the real-time parameters, detecting the mobile phone interconnection state of the external equipment, pushing a detection result to a user, and completing the detection in the current round. The invention can accurately judge the external equipment on the vehicle machine, thereby enabling users to normally use the mobile phone for interconnection and avoiding the condition of misjudgment.
Description
Technical Field
The invention relates to the technical field of automobiles, in particular to a detection method, a detection system and a storage medium of mobile phone interconnection equipment.
Background
With the continuous development of the In-Vehicle Infotainment (IVI) Vehicle-mounted Infotainment system, the interconnection of the mobile phones is used as a bridge for connecting the mobile phones and the Vehicle machines, and the function is almost the standard configuration of all IVIs.
How to detect the access of the mobile phone and judge whether the equipment supports the mobile phone interconnection is a key step for using the mobile phone interconnection function. Because there are numerous android manufacturers and there is no unified standard, it is very important how to detect whether an external device is a mobile phone. At present, no better mode or interface is available for direct judgment no matter in a linux system or an Android system, and the mobile phone is possibly considered to be a mobile phone when the mobile phone is accessed to a mobile storage device, so that a mechanism for connecting the mobile phone with each other is triggered, misjudgment is caused, and user experience is influenced.
Disclosure of Invention
In view of this, the present invention provides a detection method, a detection system and a storage medium for a mobile phone interconnection device, which can make an accurate determination on an in-vehicle device for an external device, so that a user can use the mobile phone interconnection normally, and a situation of misdetermination is avoided.
The invention provides a detection method of mobile phone interconnection equipment, which specifically comprises the following steps:
s100: after starting, initializing the USB equipment to access the interface library.
S200: acquiring real-time parameters of the external equipment, wherein the real-time parameters at least comprise: hardware parameters, connection information, and disconnection information.
S300: and selecting external equipment meeting preset conditions according to the real-time parameters, detecting the mobile phone interconnection state of the external equipment, pushing a detection result to a user, and completing the detection in the current round.
In the technical scheme, the USB peripheral can set parameters of some hardware in factory leaving under the common condition, such as manufacturer parameters, supplier ID, product identification codes, serial numbers, port numbers, storage interface parameters, USB distributed equipment class codes, USB distributed subclass codes and protocols followed by interfaces, and corresponding equipment is screened out by respectively processing the parameters, so that users can normally use mobile phone interconnection and the condition of misjudgment is avoided.
Further, the step S300 specifically includes:
s310: if the connection information of the external equipment is detected, the step S320 is entered; if the disconnection information of the external device is detected, the process proceeds to S330.
S320: comparing the hardware parameters with the comparison parameters, selecting external equipment meeting preset conditions for detection, judging whether mobile phone interconnection is supported, and if so, pushing information supporting mobile phone interconnection to a user to complete the detection; otherwise, return to S200.
S330: judging whether the hardware parameters are consistent with the hardware parameters of the currently used mobile phone interconnection equipment, if so, pushing an equipment disconnection message to a user, and completing the detection in the current round; otherwise, return to 200.
Further, the hardware parameters at least include:
manufacturer parameters, supplier ID, product identification code, serial number, port number, storage interface parameters, USB assigned device class code, USB assigned subclass code, and protocol followed by the interface;
the contrast parameters at least comprise:
first communication terminal parameters including at least a first manufacturer parameter and a first vendor ID;
special equipment parameters at least comprising a special equipment supplier ID and a special equipment product identification code;
and removable storage device parameters including at least removable storage device storage interface parameters, removable storage device USB assigned device class codes, removable storage device USB assigned subclass codes, and protocols followed by the removable storage device interface.
In the technical scheme, the first communication terminal can be an apple mobile phone, and as the manufacturer, the supplier ID and the product identification code of the apple mobile phone are all fixed, the judgment of the apple mobile phone can be carried out through the parameters; the judgment of the removable storage device is that the normal USB storage device, the storage interface, the USB-assigned device class code, the USB-assigned subclass code, and the parameter value of the protocol to which the interface conforms are all fixed, and therefore, the filtering can be performed by these parameters.
Further, the step S320 specifically includes:
s321: comparing the hardware parameter with the first communication terminal parameter, if the hardware parameter accords with any item in the first communication terminal parameter, judging the hardware parameter to be the first communication terminal, and entering S324; otherwise, the process proceeds to S322.
S322: and comparing the hardware parameters with the parameters of the movable storage equipment, if the hardware parameters accord with any item in the parameters of the movable storage equipment, judging the movable storage equipment, returning to S200, and otherwise, entering S323.
S323: and comparing the hardware parameters with the special equipment parameters, if the hardware parameters accord with any item in the special equipment parameters, judging the special equipment, returning to the S200, otherwise, judging the second communication terminal, and entering the S324.
S324: detecting whether the current equipment supports mobile phone interconnection, if so, pushing information supporting mobile phone interconnection to a user, and completing the current round of detection; otherwise, return to S200.
Among the above-mentioned technical scheme, the second communication terminal can be the android mobile phone, because there are many android manufacturers on the market, and there is not unified standard, so there is the easy condition that misjudgment appears in the android mobile phone, after the screening of principle S321 to S322, remaining equipment is exactly the android mobile phone under the normal circumstances, but here still need further filter the firm and the type of specific cell-phone, so this scheme also can provide a configuration function, when there is some special equipment not to need as mobile phone device, can be with the supplier ID of this equipment, the product identification code adds into the configuration item, can get rid of when actual judgement, the accuracy of judgement has been improved.
Further, the step S324 specifically includes:
when the external equipment is a first communication terminal, whether mobile phone interconnection is supported or not is judged by checking an iap2 protocol defined by the first communication terminal, if the iap2 protocol supports mobile phone interconnection, information supporting the mobile phone interconnection is pushed to a user, and the current round of detection is completed; otherwise, returning to S200;
when the external equipment is a second communication terminal, whether the corresponding interconnection application is installed on the mobile phone is checked through the adb command, if yes, information supporting mobile phone interconnection is pushed to a user, and the current round of detection is completed; otherwise, return to S200.
In the technical scheme, when the external device is the iPhone, whether the interconnection of the mobile phones is supported or not is judged by checking an iap2 protocol defined by the iPhone, and if the iap2 protocol supports the interconnection of the mobile phones, information supporting the interconnection of the mobile phones is pushed to a user to complete the detection of the current round; otherwise, returning to S200; when the external equipment is an android mobile phone, whether a corresponding interconnection application is installed on the mobile phone is checked through an adb command, if yes, information supporting mobile phone interconnection is pushed to a user, and the current round of detection is completed; otherwise, return to S200.
As another preferred embodiment, the present invention further provides a detection system for a mobile phone interconnection device, where the detection system at least includes:
the driving module is used for initializing the equipment access interface library and transmitting the real-time parameters of the external equipment to the detection module; the real-time parameters at least include: hardware parameters, connection information, and disconnection information.
The detection module is used for selecting the external equipment meeting the preset conditions according to the real-time parameters, detecting the mobile phone interconnection state of the external equipment and transmitting the detection result to the application module.
And the application module is used for pushing the detection result to a user.
Further, the detection module at least comprises:
the first judgment module is used for judging the connection information and the disconnection information of the external equipment, and if the connection information of the external equipment is detected, the hardware parameters are transmitted to the second judgment module; and if the disconnection information of the external equipment is detected, transmitting the hardware parameters to a fourth judgment module.
And the second judgment module is used for comparing the hardware parameters with the comparison parameters, selecting the external equipment meeting the preset conditions and transmitting the hardware parameters to the third judgment module.
The third judging module is used for judging whether the current external equipment supports the mobile phone interconnection, and if so, the information supporting the mobile phone interconnection is sent to the application module; otherwise, continuously acquiring the real-time parameters of the external equipment.
The fourth judging module is used for judging whether the hardware parameters are consistent with the hardware parameters of the currently used mobile phone interconnection equipment, and if so, sending an equipment disconnection message to the application module; otherwise, continuously acquiring the real-time parameters of the external equipment.
Further, the comparison parameter is set in the second determining module, and the comparison parameter at least includes:
the first communication terminal parameters include at least a first communication terminal manufacturer parameter and a first communication terminal provider ID.
The special device parameters include at least a special device vendor ID and a special device product identification code.
And removable storage device parameters including at least removable storage device storage interface parameters, removable storage device USB assigned device class codes, removable storage device USB assigned subclass codes, and a protocol followed by the removable storage device interface.
Furthermore, the driving module, the detection module and the application module are embedded in the vehicle-mounted information entertainment system.
In the technical scheme, the method is mainly realized on a software level, extra hardware cost is not increased, the vehicle can be delivered from a factory and standard configuration, and the vehicle can be upgraded by OTA at a later stage, so that the method is wide in applicability.
As another preferred, the present invention further provides a storage medium located in any control unit, where the storage medium includes a computer program executable by a processor, and the computer program is used to execute the detection method of the mobile phone interconnection device described above.
Compared with the prior art, the invention has the beneficial effects that:
corresponding equipment is screened out by comparing hardware parameters of the external equipment, so that a user can normally use the mobile phone for interconnection, and the condition of misjudgment is avoided; by adding a configuration function related to special equipment, when some special equipment does not need to be used as mobile phone equipment, the supplier ID and the product identification code of the equipment can be added into a configuration item, and can be eliminated in actual judgment, so that the judgment accuracy is improved; the scheme is suitable for common platforms such as android or Linux, has good compatibility and portability, is mainly realized by a software layer, does not increase extra hardware cost, can be used for ex-factory standard matching of vehicles, can be upgraded by OTA at a later stage, and is wide in applicability.
Drawings
Fig. 1 is a flowchart of a detection method of a mobile phone interconnection device according to the present invention.
Fig. 2 is a schematic diagram of a detection system of the mobile phone interconnection device of the present invention.
Detailed Description
To facilitate an understanding of the invention, the invention will now be described more fully with reference to the accompanying drawings. Preferred embodiments of the present invention are shown in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein.
Referring to fig. 1, the present invention provides a method for detecting a mobile phone interconnection device, where the method specifically includes:
s100: after starting, initializing the USB equipment to access the interface library.
S200: acquiring real-time parameters of the external equipment, wherein the real-time parameters at least comprise: hardware parameters, connection information, and disconnection information.
S300: and selecting external equipment meeting preset conditions according to the real-time parameters, detecting the mobile phone interconnection state of the external equipment, pushing a detection result to a user, and completing the detection in the current round.
In the specific implementation process, the USB peripheral can set some hardware parameters in the factory, such as manufacturer parameters, supplier ID, product identification codes, serial numbers, port numbers, storage interface parameters, USB-allocated equipment class codes, USB-allocated subclass codes and protocols followed by interfaces, and corresponding equipment is screened out by respectively processing the parameters, so that users can normally use mobile phone interconnection and the condition of misjudgment is avoided.
In this embodiment, the step S300 specifically includes:
s310: if the connection information of the external equipment is detected, the step S320 is entered; if the disconnection information of the external device is detected, the process proceeds to S330.
S320: comparing the hardware parameters with the comparison parameters, selecting external equipment meeting preset conditions for detection, judging whether mobile phone interconnection is supported, and if so, pushing information supporting mobile phone interconnection to a user to complete the detection; otherwise, return to S200.
S330: judging whether the hardware parameters are consistent with the hardware parameters of the currently used mobile phone interconnection equipment, if so, pushing an equipment disconnection message to a user, and completing the detection in the current round; otherwise, return to 200.
In this embodiment, the hardware parameters at least include:
manufacturer parameters, supplier ID, product identification code, serial number, port number, storage interface parameters, USB assigned device class code, USB assigned subclass code, and protocol followed by the interface;
the contrast parameters at least comprise:
first communication terminal parameters including at least a first manufacturer parameter and a first vendor ID;
special equipment parameters at least comprising a special equipment supplier ID and a special equipment product identification code;
and removable storage device parameters including at least removable storage device storage interface parameters, removable storage device USB assigned device class codes, removable storage device USB assigned subclass codes, and protocols followed by the removable storage device interface.
In the specific implementation process, the first communication terminal can be an apple mobile phone, and as the manufacturer, the supplier ID and the product identification code of the apple mobile phone are all fixed, the judgment of the apple mobile phone can be carried out through the parameters; the judgment of the removable storage device is that the normal USB storage device, the storage interface, the USB-assigned device class code, the USB-assigned subclass code, and the parameter value of the protocol to which the interface conforms are all fixed, and therefore, the filtering can be performed by these parameters.
In this embodiment, the step S320 specifically includes:
s321: comparing the hardware parameter with the first communication terminal parameter, if the hardware parameter accords with any item in the first communication terminal parameter, judging the hardware parameter to be the first communication terminal, and entering S324; otherwise, S322 is entered.
S322: and comparing the hardware parameters with the parameters of the movable storage equipment, if the hardware parameters accord with any item in the parameters of the movable storage equipment, judging the movable storage equipment, returning to S200, and otherwise, entering S323.
S323: and comparing the hardware parameters with the special equipment parameters, if the hardware parameters accord with any item in the special equipment parameters, judging the special equipment, returning to the S200, otherwise, judging the second communication terminal, and entering the S324.
S324: detecting whether the current equipment supports mobile phone interconnection, if so, pushing information supporting mobile phone interconnection to a user, and completing the current round of detection; otherwise, return to S200.
In the specific implementation process, the second communication terminal can be an android mobile phone, because there are many android manufacturers on the market, and there is no unified standard, so there is the easy misjudgment condition of the android mobile phone, after the screening of principle S321 to S322, the remaining equipment is regarded as the android mobile phone under the normal condition, but here still needs to further screen the manufacturer and the type of specific mobile phone, so this scheme also can provide a configuration function, when there is some special equipment not to need as mobile phone equipment, can be with the supplier ID of this equipment, the product identification code adds into the configuration item, can get rid of when actual judgement, the accuracy of judgement has been improved.
In this embodiment, the step S324 specifically includes:
when the external equipment is a first communication terminal, whether mobile phone interconnection is supported or not is judged by checking an iap2 protocol defined by the first communication terminal, if the iap2 protocol supports mobile phone interconnection, information supporting the mobile phone interconnection is pushed to a user, and the current round of detection is completed; otherwise, returning to S200;
when the external equipment is a second communication terminal, whether the corresponding interconnection application is installed on the mobile phone is checked through the adb command, if yes, information supporting mobile phone interconnection is pushed to a user, and the current round of detection is completed; otherwise, return to S200.
In the specific implementation process, when the external device is the apple mobile phone, whether the mobile phone interconnection is supported or not is judged by checking an iap2 protocol defined by the apple mobile phone, if the iap2 protocol supports the mobile phone interconnection, information supporting the mobile phone interconnection is pushed to a user, and the current round of detection is completed; otherwise, returning to S200; when the external equipment is an android mobile phone, whether a corresponding interconnection application is installed on the mobile phone is checked through an adb command, if yes, information supporting mobile phone interconnection is pushed to a user, and the current round of detection is completed; otherwise, return to S200.
Referring to fig. 2, as another preferred embodiment, the present invention further provides a detection system for a mobile phone interconnection device, where the detection system at least includes:
the driving module is used for initializing the equipment access interface library and transmitting the real-time parameters of the external equipment to the detection module; the real-time parameters at least include: hardware parameters, connection information, and disconnection information.
The detection module is used for selecting the external equipment meeting the preset conditions according to the real-time parameters, detecting the mobile phone interconnection state of the external equipment and transmitting the detection result to the application module.
And the application module is used for pushing the detection result to a user.
In this embodiment, the detecting module at least includes:
the first judgment module is used for judging the connection information and the disconnection information of the external equipment, and if the connection information of the external equipment is detected, the hardware parameters are transmitted to the second judgment module; and if the disconnection information of the external equipment is detected, transmitting the hardware parameters to a fourth judgment module.
And the second judgment module is used for comparing the hardware parameters with the comparison parameters, selecting the external equipment meeting the preset conditions and transmitting the hardware parameters to the third judgment module.
The third judging module is used for judging whether the current external equipment supports mobile phone interconnection, and if so, sending information supporting mobile phone interconnection to the application module; otherwise, continuously acquiring the real-time parameters of the external equipment.
The fourth judging module is used for judging whether the hardware parameters are consistent with the hardware parameters of the currently used mobile phone interconnection equipment, and if so, sending an equipment disconnection message to the application module; otherwise, continuously acquiring the real-time parameters of the external equipment.
In this embodiment, the comparison parameter is set in the second determining module, and the comparison parameter at least includes:
the first communication terminal parameters include at least a first communication terminal manufacturer parameter and a first communication terminal provider ID.
The special device parameters include at least a special device vendor ID and a special device product identification code.
And removable storage device parameters including at least removable storage device storage interface parameters, removable storage device USB assigned device class codes, removable storage device USB assigned subclass codes, and a protocol followed by the removable storage device interface.
In this embodiment, the driving module, the detecting module and the application module are embedded in the in-vehicle infotainment system.
In the specific implementation process, the method is mainly realized in a software layer, the extra hardware cost is not increased, the vehicle delivery standard configuration can be realized, the vehicle can be upgraded through OTA at a later stage, and the applicability is wide.
As another preferred, the present invention further provides a storage medium located in any control unit, where the storage medium includes a computer program executable by a processor, and the computer program is used to execute the detection method of the mobile phone interconnection device described above.
Compared with the prior art, the invention has the beneficial effects that:
the corresponding equipment is screened out by comparing the hardware parameters of the external equipment, so that the user can normally use the mobile phone for interconnection, and the condition of misjudgment is avoided; by adding a configuration function related to special equipment, when some special equipment does not need to be used as mobile phone equipment, the supplier ID and the product identification code of the equipment can be added into a configuration item, and can be eliminated in actual judgment, so that the judgment accuracy is improved; the scheme is suitable for common platforms such as android or Linux, has good compatibility and portability, is mainly realized by a software layer, does not increase extra hardware cost, can be used for ex-factory standard matching of vehicles, can be upgraded by OTA at a later stage, and is wide in applicability.
Although the illustrative embodiments have been described herein with reference to the accompanying drawings, it is to be understood that the foregoing illustrative embodiments are merely exemplary and are not intended to limit the scope of the invention thereto. Various changes and modifications may be effected therein by one of ordinary skill in the pertinent art without departing from the scope or spirit of the present invention. All such changes and modifications are intended to be included within the scope of the present invention as set forth in the appended claims.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The various system and method embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some of the modules according to embodiments of the present invention. The present invention may also be embodied as system programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
In the several embodiments provided in the present application, it should be understood that the disclosed system and method may be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of functions is merely a logical division, and other divisions may be realized in practice, for example, multiple tools or components may be combined or integrated into another system, or some features may be omitted, or not executed.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
While the invention has been described in conjunction with the specific embodiments set forth above, it is evident that many alternatives, modifications and variations will be apparent to those skilled in the art in light of the foregoing description. Accordingly, it is intended to embrace all such alternatives, modifications, and variations that fall within the spirit and scope of the appended claims.
Claims (10)
1. A detection method for mobile phone interconnection equipment is characterized by specifically comprising the following steps:
s100: after starting, initializing a USB device to access an interface library;
s200: acquiring real-time parameters of the external equipment, wherein the real-time parameters at least comprise: hardware parameters, connection information and disconnection information;
s300: and selecting external equipment meeting preset conditions according to the real-time parameters, detecting the mobile phone interconnection state of the external equipment, pushing a detection result to a user, and completing the detection in the current round.
2. The method for detecting the mobile phone interconnection device according to claim 1, wherein the step S300 specifically includes:
s310: if the connection information of the external equipment is detected, the step S320 is entered; if the disconnection information of the external equipment is detected, entering S330;
s320: comparing the hardware parameters with the comparison parameters, selecting external equipment meeting preset conditions for detection, judging whether mobile phone interconnection is supported, and if so, pushing information supporting mobile phone interconnection to a user to finish the detection; otherwise, returning to S200;
s330: judging whether the hardware parameters are consistent with the hardware parameters of the currently used mobile phone interconnection equipment, if so, pushing an equipment disconnection message to a user, and completing the current round of detection; otherwise, return to 200.
3. The method for detecting the mobile phone interconnection device according to claim 2, wherein the hardware parameters at least include:
manufacturer parameters, supplier ID, product identification code, serial number, port number, storage interface parameters, USB assigned device class code, USB assigned subclass code, and protocol followed by the interface;
the contrast parameters at least comprise:
first communication terminal parameters including at least a first manufacturer parameter and a first vendor ID;
special equipment parameters at least comprising a special equipment supplier ID and a special equipment product identification code;
and removable storage device parameters including at least removable storage device storage interface parameters, removable storage device USB assigned device class codes, removable storage device USB assigned subclass codes, and protocols followed by the removable storage device interface.
4. The method for detecting the mobile phone interconnection device according to claim 3, wherein the step S320 specifically includes:
s321: comparing the hardware parameter with the first communication terminal parameter, if the hardware parameter accords with any item in the first communication terminal parameter, judging the hardware parameter to be the first communication terminal, and entering S324; otherwise, go to S322;
s322: comparing the hardware parameters with the parameters of the movable storage equipment, if the hardware parameters accord with any item in the parameters of the movable storage equipment, judging the movable storage equipment, returning to S200, otherwise, entering S323;
s323: comparing the hardware parameter with the special equipment parameter, if the hardware parameter accords with any item in the special equipment parameter, judging the special equipment, returning to S200, otherwise, judging the special equipment as a second communication terminal, and entering S324;
s324: detecting whether the current equipment supports mobile phone interconnection, if so, pushing information supporting mobile phone interconnection to a user, and completing the detection in the current round; otherwise, return to S200.
5. The method for detecting the mobile phone interconnection device according to claim 4, wherein the step S324 specifically includes:
when the external equipment is a first communication terminal, whether mobile phone interconnection is supported is judged by checking an iap2 protocol defined by the first communication terminal, if the iap2 protocol supports mobile phone interconnection, information supporting mobile phone interconnection is pushed to a user, and the current round of detection is completed; otherwise, returning to S200;
when the external equipment is a second communication terminal, whether the corresponding interconnection application is installed on the mobile phone is checked through the adb command, if yes, information supporting mobile phone interconnection is pushed to a user, and the current round of detection is completed; otherwise, return to S200.
6. A detection system using the detection method of the mobile phone interconnection device according to any one of claims 1 to 5, wherein the detection system at least comprises:
the driving module is used for initializing the equipment access interface library and transmitting the real-time parameters of the external equipment to the detection module; the real-time parameters at least include: hardware parameters, connection information and disconnection information;
the detection module is used for selecting the external equipment meeting the preset conditions according to the real-time parameters, detecting the mobile phone interconnection state of the external equipment and transmitting the detection result to the application module;
and the application module is used for pushing the detection result to a user.
7. The detection system according to claim 6, characterized in that said detection module comprises at least:
the first judgment module is used for judging the connection information and the disconnection information of the external equipment, and if the connection information of the external equipment is detected, the hardware parameters are transmitted to the second judgment module; if the disconnection information of the external equipment is detected, the hardware parameters are transmitted to a fourth judgment module;
the second judgment module is used for comparing the hardware parameters with the comparison parameters, selecting the external equipment meeting the preset conditions and transmitting the hardware parameters to the third judgment module;
the third judging module is used for judging whether the current external equipment supports the mobile phone interconnection, and if so, the information supporting the mobile phone interconnection is sent to the application module; otherwise, continuously acquiring the real-time parameters of the external equipment;
the fourth judging module is used for judging whether the hardware parameters are consistent with the hardware parameters of the currently used mobile phone interconnection equipment, and if so, sending an equipment disconnection message to the application module; otherwise, continuously acquiring the real-time parameters of the external equipment.
8. The detecting system according to claim 7, wherein the comparison parameter is provided in the second determining module, and the comparison parameter at least includes:
first communication terminal parameters including at least a first communication terminal manufacturer parameter and a first communication terminal provider ID;
special equipment parameters at least comprising a special equipment supplier ID and a special equipment product identification code;
and removable storage device parameters including at least removable storage device storage interface parameters, removable storage device USB assigned device class codes, removable storage device USB assigned subclass codes, and protocols followed by the removable storage device interface.
9. The detection system of claim 7, wherein the driver module, the detection module, and the application module are embedded in a vehicle infotainment system.
10. A storage medium at any control unit, characterized in that the storage medium comprises a computer program executable by a processor, the computer program being configured to perform the method for detecting a handset interconnect device according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211399741.2A CN115834751B (en) | 2022-11-09 | 2022-11-09 | Detection method, detection system and storage medium of mobile phone interconnection equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211399741.2A CN115834751B (en) | 2022-11-09 | 2022-11-09 | Detection method, detection system and storage medium of mobile phone interconnection equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115834751A true CN115834751A (en) | 2023-03-21 |
CN115834751B CN115834751B (en) | 2024-08-16 |
Family
ID=85527361
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211399741.2A Active CN115834751B (en) | 2022-11-09 | 2022-11-09 | Detection method, detection system and storage medium of mobile phone interconnection equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115834751B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105320616A (en) * | 2014-06-24 | 2016-02-10 | 腾讯科技(深圳)有限公司 | External device control method and device |
CN106713384A (en) * | 2015-11-12 | 2017-05-24 | 厦门雅迅网络股份有限公司 | Vehicle-mounted terminal peripheral program remote updating method and system |
CN107423091A (en) * | 2017-06-30 | 2017-12-01 | 百度在线网络技术(北京)有限公司 | USB device driver loading method and its device for mobile unit |
CN110046033A (en) * | 2018-01-12 | 2019-07-23 | 广东欧珀移动通信有限公司 | Applied program processing method and device, electronic equipment, computer readable storage medium |
CN114489825A (en) * | 2022-04-13 | 2022-05-13 | 荣耀终端有限公司 | Electronic equipment and shutdown method thereof |
CN114691568A (en) * | 2020-12-31 | 2022-07-01 | 上海博泰悦臻网络技术服务有限公司 | Protocol adaptation method, storage medium, device and system for interconnection between devices |
CN115139939A (en) * | 2022-06-06 | 2022-10-04 | 智己汽车科技有限公司 | Method and system for connecting and controlling vehicle-mounted peripheral equipment |
-
2022
- 2022-11-09 CN CN202211399741.2A patent/CN115834751B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105320616A (en) * | 2014-06-24 | 2016-02-10 | 腾讯科技(深圳)有限公司 | External device control method and device |
CN106713384A (en) * | 2015-11-12 | 2017-05-24 | 厦门雅迅网络股份有限公司 | Vehicle-mounted terminal peripheral program remote updating method and system |
CN107423091A (en) * | 2017-06-30 | 2017-12-01 | 百度在线网络技术(北京)有限公司 | USB device driver loading method and its device for mobile unit |
CN110046033A (en) * | 2018-01-12 | 2019-07-23 | 广东欧珀移动通信有限公司 | Applied program processing method and device, electronic equipment, computer readable storage medium |
CN114691568A (en) * | 2020-12-31 | 2022-07-01 | 上海博泰悦臻网络技术服务有限公司 | Protocol adaptation method, storage medium, device and system for interconnection between devices |
CN114489825A (en) * | 2022-04-13 | 2022-05-13 | 荣耀终端有限公司 | Electronic equipment and shutdown method thereof |
CN115139939A (en) * | 2022-06-06 | 2022-10-04 | 智己汽车科技有限公司 | Method and system for connecting and controlling vehicle-mounted peripheral equipment |
Also Published As
Publication number | Publication date |
---|---|
CN115834751B (en) | 2024-08-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12001825B2 (en) | Method and apparatus for vehicle software update installation | |
US12087104B2 (en) | Method, system, and device for diagnosing vehicle, and server | |
CN110928567A (en) | Vehicle system upgrading method, terminal device and computer-readable storage medium | |
CN111708584A (en) | Vehicle diagnosis method and device, diagnosis equipment and storage medium | |
CN111090445B (en) | Vehicle service upgrading method, device and system | |
CN110784846A (en) | Vehicle-mounted Bluetooth device identification method and device, electronic device and storage medium | |
JP2008505592A (en) | System for measuring the true electrical properties of a device | |
CN105391464A (en) | Vehicle-mounted terminal, vehicle data acquisition system and method | |
CN110795124A (en) | Remote upgrading method, device, equipment and storage medium for automobile safety part | |
CN114237683A (en) | Software upgrading method and device, electronic equipment and storage medium | |
CN113259942B (en) | Connection method, connection device, electronic equipment, connection system and computer-readable storage medium | |
CN114448779A (en) | Wireless communication module, function recovery method thereof, electronic device and storage medium | |
CN107368061B (en) | Self-diagnosis system and method for vehicle-mounted sound equipment | |
CN112532678B (en) | In-vehicle control device, information processing device, network system for vehicle, application program providing method, and non-volatile storage medium | |
CN115834751A (en) | Detection method, detection system and storage medium for mobile phone interconnection equipment | |
CN111447231B (en) | Vehicle protocol identification method and device | |
CN111885492A (en) | Automatic vehicle positioning method and electronic equipment | |
CN115002730A (en) | Application installation method and device, electronic equipment and computer readable storage medium | |
CN114281065A (en) | Electronic control unit flashing method and device for vehicle and diagnostic equipment | |
CN111213123B (en) | Software upgrading method and software upgrading system for intelligent terminal | |
JP6802279B2 (en) | Transmission of messages to be displayed to the display device of a car | |
CN111770472A (en) | Vehicle positioning method and device, vehicle, storage medium and terminal | |
CN106896802B (en) | Automobile model increasing method and device | |
CN110764803A (en) | Software upgrading method and device | |
CN112305345B (en) | Vehicle-mounted navigator interface state recovery method, device and system and electronic 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |