CN106912002B - Communication control method, communication control device, vehicle-mounted equipment and transportation means - Google Patents

Communication control method, communication control device, vehicle-mounted equipment and transportation means Download PDF

Info

Publication number
CN106912002B
CN106912002B CN201710047326.3A CN201710047326A CN106912002B CN 106912002 B CN106912002 B CN 106912002B CN 201710047326 A CN201710047326 A CN 201710047326A CN 106912002 B CN106912002 B CN 106912002B
Authority
CN
China
Prior art keywords
mobile terminal
state
call
instruction information
vehicle
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.)
Active
Application number
CN201710047326.3A
Other languages
Chinese (zh)
Other versions
CN106912002A (en
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.)
Banma Information Technology Co Ltd
Original Assignee
Banma Information Technology 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 Banma Information Technology Co Ltd filed Critical Banma Information Technology Co Ltd
Priority to CN201710047326.3A priority Critical patent/CN106912002B/en
Publication of CN106912002A publication Critical patent/CN106912002A/en
Application granted granted Critical
Publication of CN106912002B publication Critical patent/CN106912002B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/16Communication-related supplementary services, e.g. call-transfer or call-hold
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities

Landscapes

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

Abstract

The invention provides a communication control method, a communication control device, vehicle-mounted equipment and a transportation means. The communication control method is used for acquiring call state information from a mobile terminal by vehicle-mounted equipment, and comprises the following steps: periodically sending a status query message from the vehicle-mounted device to the mobile terminal; sequentially sending first instruction information and second instruction information from the mobile terminal to the vehicle-mounted equipment, wherein at least one of the first instruction information and the second instruction information is a response of the mobile terminal to the state inquiry message; determining a parameter value indicating a call state in the first instruction information and the second instruction information; and determining whether the mobile terminal is in a call-off state based on the parameter value. According to the communication control method, the communication control device, the vehicle-mounted equipment and the transportation tool, the vehicle-mounted equipment can correctly obtain the call state information of the mobile terminal, so that the communication performance of the vehicle-mounted information service system is improved.

Description

Communication control method, communication control device, vehicle-mounted equipment and transportation means
Technical Field
The present invention relates to the field of communication control, and in particular, to a communication control method, a communication control apparatus, an in-vehicle device, and a transportation means for acquiring call state information from a mobile terminal.
Background
As the next stop of the intelligent terminal, the trend of intellectualization of automobiles is gradually accelerating. As a core component of an intelligent automobile, a vehicle-mounted intelligent information service system based on network connection is also greatly developed.
Similar to other types of intelligent information service systems, the vehicle-mounted intelligent information service system mainly includes functions related to information acquisition, information processing, and information communication. For example, data is collected by various types of sensors, processed by a vehicle terminal module (also referred to as a T-box), and then communicated through a vehicle contact system.
The traditional vehicle contact system is a networking system arranged on a vehicle, realizes the extraction and effective utilization of static and dynamic information of the vehicle on a network platform, and effectively supervises and services the running state of the vehicle, and mainly relates to the communication between the vehicle and an external network node. With the development of the intellectualization of automobiles, the concept of the car-networking system is gradually extended, and a large-system network for performing wireless communication and information exchange between cars and X (X: car, road, pedestrian, internet, etc.) according to the agreed communication protocol and data interaction standard based on the in-car network system, the communication between cars and the mobile internet on the vehicle is developed.
The main requirements in the use of an in-vehicle system come from two aspects. First, the user of the car wants to obtain more substantial contents through the wireless connection, for example, the mobile phone used by the user daily is connected to the car-connected system. On the other hand, auto companies want to connect vehicles together through an in-vehicle system, pushing consumer services through a built-in embedded T-box.
For a vehicle-mounted intelligent information service system, besides a networking communication function, a plurality of functions such as positioning, an automobile driving recorder and the like are integrated, and the vehicle-mounted intelligent information service system has an increasingly strong service scheduling function and data processing capacity. And the vehicle-mounted intelligent information service system can support phone book calling, text information voice broadcasting and the like, and has the functions of security alarm, line cutting alarm, remote safe oil cut and power cut safety protection. The vehicle-mounted intelligent information service system mainly comprises a vehicle-mounted video server, an LCD touch screen, an external camera, a call handle, an automobile burglar alarm and the like.
For users, since dialing a mobile phone while driving is easily distracted, more and more vehicle-mounted intelligent information service systems integrate a function of performing a conversation by receiving with the mobile phone. Specifically, the vehicle-mounted intelligent information service system realizes the input and output of voice through the microphone and the loudspeaker, so that a user can use the vehicle-mounted intelligent information service system to replace a mobile phone to perform a call function, which will remarkably improve the safety of voice communication performed by the user while driving.
In this case, the in-vehicle intelligent information service system needs to correctly acquire the call state information of the mobile terminal, thereby satisfying the need for a voice call using the in-vehicle intelligent information service system.
Therefore, there is a need for an improved communication control method, communication control apparatus, vehicle-mounted device, and transportation means for acquiring call state information from a mobile terminal.
Disclosure of Invention
The present invention is directed to overcoming the above-mentioned drawbacks and deficiencies of the prior art and providing a communication control method, a communication control apparatus, an in-vehicle device, and a transportation means for acquiring call state information from a mobile terminal.
An object of the present invention is to provide a communication control method, a communication control apparatus, an in-vehicle device, and a transportation means, in which whether or not a mobile terminal is in a call-on-hook state is determined by first instruction information and second instruction information from the mobile terminal, and at least one of the first instruction information and the second instruction information is a response of the mobile terminal to a status inquiry from the in-vehicle device, so that the in-vehicle device can correctly acquire the call state of the mobile terminal.
An object of the present invention is to provide a communication control method, a communication control apparatus, an in-vehicle device, and a transportation means, in which, in the case where first instruction information and second instruction information are responses as described above, a case where the response content is empty and a case where no response is received are handled as the same case, whereby it is possible to accurately determine whether or not the mobile terminal is in a call-on-hook state.
An object of the present invention is to provide a communication control method, a communication control apparatus, an in-vehicle device, and a transportation means, in which one of first instruction information and second instruction information is call state information automatically transmitted by a mobile terminal, so that it is possible to accurately determine whether the mobile terminal is in a call hang-up state.
An object of the present invention is to provide a communication control method, a communication control apparatus, an in-vehicle device, and a transportation means, in which a call state of a mobile terminal is divided into a call start state, a call progress state, and a call hang-up state and judged respectively, thereby correctly acquiring the call state of the mobile terminal.
An object of the present invention is to provide a communication control method, a communication control apparatus, an in-vehicle device, and a transportation means, in which a status inquiry message is periodically transmitted from the in-vehicle device to a mobile terminal, thereby correctly acquiring a call status of the mobile terminal.
According to an aspect of the present invention, there is provided a communication control method for an in-vehicle device to acquire call state information from a mobile terminal, the communication control method including: periodically sending a status query message from the vehicle-mounted device to the mobile terminal; sequentially sending first instruction information and second instruction information from the mobile terminal to the vehicle-mounted equipment, wherein at least one of the first instruction information and the second instruction information is a response of the mobile terminal to the state inquiry message; determining a parameter value indicating a call state in the first instruction information and the second instruction information; and determining whether the mobile terminal is in a hanging-up state based on the parameter value.
In the above communication control method, the first instruction information and the second instruction information are both responses of the mobile terminal to the status inquiry message.
In the communication control method, the step of determining whether the mobile terminal is in a call drop state based on the parameter value specifically includes: and under the condition that the parameter value indicating the call state in the first instruction information and the second instruction information is empty, determining that the mobile terminal is in a call hang-up state.
In the communication control method, the step of indicating that the parameter value of the call state in the first instruction information and the second instruction information is null may specifically include one of the following steps: a parameter value indicating a call state in the first instruction information and the second instruction information acquired from the mobile terminal is null; and not receiving the first instruction information and the second instruction information from the mobile terminal within a predetermined time after transmitting a status inquiry message corresponding to the first instruction information and the second instruction information from the in-vehicle device to the mobile terminal.
In the communication control method, the step of determining whether the mobile terminal is in a call drop state based on the parameter value specifically includes: and under the condition that the mobile terminal is not in the call hang-up state and the parameter values indicating the call state in the first instruction information and the second instruction information are empty, determining that the mobile terminal is in the call hang-up state.
In the communication control method, the first instruction information is a response of the mobile terminal to the status inquiry message, and the second instruction information is information indicating a call status of the mobile terminal, which is actively transmitted from the mobile terminal to the in-vehicle device.
In the communication control method, the step of determining whether the mobile terminal is in a call drop state based on the parameter value specifically includes: and under the condition that the parameter value indicating the call state in the first instruction information is null and the parameter value indicating the call state in the second instruction information is zero, determining that the mobile terminal is in a call hang-up state.
In the communication control method, the method further includes: and when the parameter value indicating the call state in the first instruction information is not empty, determining that the mobile terminal is in a call starting state.
In the communication control method, the method further includes: and when the parameter value indicating the call state in the second instruction information is not empty, determining that the mobile terminal is in a call proceeding state.
In the communication control method, when the mobile terminal is in a call-in state, a parameter value indicating a call state is one in information indicating the call state of the mobile terminal, which is actively sent from the mobile terminal to the in-vehicle device.
In the communication control method, the periodically sending a status query message from the in-vehicle device to the mobile terminal specifically includes: periodically transmitting a status query message from the in-vehicle device to the mobile terminal after determining that the mobile terminal is in a call start state or a call progress state.
According to another aspect of the present invention, there is provided a communication control apparatus for an in-vehicle device to acquire call state information from a mobile terminal, the communication control apparatus including: the state query unit is used for periodically sending a state query message to the mobile terminal from the vehicle-mounted equipment; the command transmission unit is used for sequentially transmitting first command information and second command information from the mobile terminal to the vehicle-mounted equipment, wherein at least one of the first command information and the second command information is a response of the mobile terminal to the state inquiry message; a parameter determining unit, configured to determine a parameter value indicating a call state in the first instruction information and the second instruction information; and the state acquisition unit is used for determining whether the mobile terminal is in a hanging-up state or not based on the parameter value.
In the above communication control apparatus, the first instruction information and the second instruction information are both responses of the mobile terminal to the status inquiry message.
In the communication control device, the state acquiring unit is specifically configured to: and under the condition that the parameter value indicating the call state in the first instruction information and the second instruction information is empty, determining that the mobile terminal is in a call hang-up state.
In the communication control apparatus, the parameter value indicating the call state in the first instruction information and the second instruction information is null may specifically include one of: a parameter value indicating a call state in the first instruction information and the second instruction information acquired from the mobile terminal is null; the first instruction information and the second instruction information are not received from the mobile terminal within a predetermined time after the status inquiry message corresponding to the first instruction information and the second instruction information is transmitted from the in-vehicle apparatus to the mobile terminal.
In the communication control device, the state acquiring unit is specifically configured to: and under the condition that the mobile terminal is not in the call hang-up state and the parameter values indicating the call state in the first instruction information and the second instruction information are empty, determining that the mobile terminal is in the call hang-up state.
In the above communication control apparatus, the first instruction information is a response of the mobile terminal to the status inquiry message, and the second instruction information is information indicating a call state of the mobile terminal, which is actively transmitted from the mobile terminal to the in-vehicle device.
In the communication control device, the state acquiring unit is specifically configured to: and under the condition that the parameter value indicating the call state in the first instruction information is null and the parameter value indicating the call state in the second instruction information is zero, determining that the mobile terminal is in a call hang-up state.
In the above communication control apparatus, the state acquisition unit is further configured to: and when the parameter value indicating the call state in the first instruction information is not empty, determining that the mobile terminal is in a call starting state.
In the above communication control apparatus, the state acquisition unit is further configured to: and when the parameter value indicating the call state in the second instruction information is not empty, determining that the mobile terminal is in a call proceeding state.
In the communication control apparatus, when the mobile terminal is in a call-in state, a parameter value indicating a call state is one in the information indicating the call state of the mobile terminal, which is actively transmitted from the mobile terminal to the in-vehicle device.
In the communication control device, the state inquiry unit is specifically configured to: a status query message periodically transmitted from the in-vehicle device to the mobile terminal after determining that the mobile terminal is in a call start status or a call progress status.
According to still another aspect of the present invention, there is provided an in-vehicle apparatus including a communication control module for acquiring call state information from a mobile terminal, the communication control module including: the state query unit is used for periodically sending a state query message to the mobile terminal from the vehicle-mounted equipment; an instruction receiving unit, configured to receive first instruction information and second instruction information sequentially sent from a mobile terminal, where at least one of the first instruction information and the second instruction information is a response of the mobile terminal to the status query message; a parameter determining unit, configured to determine a parameter value indicating a call state in the first instruction information and the second instruction information; and the state acquisition unit is used for determining whether the mobile terminal is in a hanging-up state or not based on the parameter value.
In the above vehicle-mounted device, the first instruction information and the second instruction information are both responses of the mobile terminal to the status inquiry message.
In the above vehicle-mounted device, the state acquiring unit is specifically configured to: and under the condition that the parameter value indicating the call state in the first instruction information and the second instruction information is empty, determining that the mobile terminal is in a call hang-up state.
In the above vehicle-mounted device, the parameter value indicating the call state in the first instruction information and the second instruction information is null specifically includes one of the following: a parameter value indicating a call state in the first instruction information and the second instruction information acquired from the mobile terminal is null; and not receiving the first instruction information and the second instruction information from the mobile terminal within a predetermined time after transmitting a status inquiry message corresponding to the first instruction information and the second instruction information from the in-vehicle device to the mobile terminal.
In the above vehicle-mounted device, the state acquiring unit is specifically configured to: and under the condition that the mobile terminal is not in the call hang-up state and the parameter values indicating the call state in the first instruction information and the second instruction information are empty, determining that the mobile terminal is in the call hang-up state.
In the above vehicle-mounted device, the first instruction information is a response of the mobile terminal to the status inquiry message, and the second instruction information is information indicating a call status of the mobile terminal, which is actively transmitted from the mobile terminal to the vehicle-mounted device.
In the above vehicle-mounted device, the state acquiring unit is specifically configured to: and under the condition that the parameter value indicating the call state in the first instruction information is null and the parameter value indicating the call state in the second instruction information is zero, determining that the mobile terminal is in a call hang-up state.
In the above vehicle-mounted device, the state acquisition unit is further configured to: and when the parameter value indicating the call state in the first instruction information is not empty, determining that the mobile terminal is in a call starting state.
In the above vehicle-mounted device, the state acquisition unit is further configured to: and when the parameter value indicating the call state in the second instruction information is not empty, determining that the mobile terminal is in a call proceeding state.
In the above vehicle-mounted device, when the mobile terminal is in a call-in state, a parameter value indicating a call state is one in information indicating a call state of the mobile terminal, which is actively sent from the mobile terminal to the vehicle-mounted device.
In the foregoing vehicle-mounted device, the status query unit is specifically configured to: a status query message periodically transmitted from the in-vehicle device to the mobile terminal after determining that the mobile terminal is in a call start status or a call progress status.
According to still another aspect of an embodiment of the present invention, there is provided a transportation including an in-vehicle device including a communication control module for acquiring call state information from a mobile terminal, the communication control module including: the state query unit is used for periodically sending a state query message to the mobile terminal from the vehicle-mounted equipment; an instruction receiving unit, configured to receive first instruction information and second instruction information sequentially sent from a mobile terminal, where at least one of the first instruction information and the second instruction information is a response of the mobile terminal to the status query message; a parameter determining unit, configured to determine a parameter value indicating a call state in the first instruction information and the second instruction information; and the state acquisition unit is used for determining whether the mobile terminal is in a hanging-up state or not based on the parameter value.
In the transportation means, the first instruction information and the second instruction information are both responses of the mobile terminal to the status inquiry message.
In the transportation vehicle, the state acquiring unit is specifically configured to: and under the condition that the parameter value indicating the call state in the first instruction information and the second instruction information is empty, determining that the mobile terminal is in a call hang-up state.
In the transportation vehicle, the parameter value indicating the call state in the first instruction information and the second instruction information is null specifically includes one of the following: a parameter value indicating a call state in the first instruction information and the second instruction information acquired from the mobile terminal is null; and not receiving the first instruction information and the second instruction information from the mobile terminal within a predetermined time after transmitting a status inquiry message corresponding to the first instruction information and the second instruction information from the in-vehicle device to the mobile terminal.
In the transportation vehicle, the state acquiring unit is specifically configured to: and under the condition that the mobile terminal is not in the call hang-up state and the parameter values indicating the call state in the first instruction information and the second instruction information are empty, determining that the mobile terminal is in the call hang-up state.
In the transportation vehicle, the first instruction information is a response of the mobile terminal to the status inquiry message, and the second instruction information is information indicating a call status of the mobile terminal, which is actively transmitted from the mobile terminal to the in-vehicle device.
In the transportation vehicle, the state acquiring unit is specifically configured to: and under the condition that the parameter value indicating the call state in the first instruction information is null and the parameter value indicating the call state in the second instruction information is zero, determining that the mobile terminal is in a call hang-up state.
In the transportation vehicle described above, the state acquisition unit is further configured to: and when the parameter value indicating the call state in the first instruction information is not empty, determining that the mobile terminal is in a call starting state.
In the transportation vehicle described above, the state acquisition unit is further configured to: and when the parameter value indicating the call state in the second instruction information is not empty, determining that the mobile terminal is in a call proceeding state.
In the transportation vehicle, when the mobile terminal is in a call-in state, a parameter value indicating a call state is one in the information indicating the call state of the mobile terminal actively sent from the mobile terminal to the vehicle-mounted device.
In the transportation vehicle, the state query unit is specifically configured to: a status query message periodically transmitted from the in-vehicle device to the mobile terminal after determining that the mobile terminal is in a call start status or a call progress status.
According to the communication control method, the communication control device, the vehicle-mounted equipment and the transportation tool, the vehicle-mounted equipment can correctly obtain the call state information of the mobile terminal, so that the communication performance of the vehicle-mounted information service system is improved.
Drawings
Fig. 1 is a schematic flow chart of a communication control method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an application environment of a communication control method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an example of a call state determination process in the communication control method according to the embodiment of the present invention;
fig. 4 is a schematic diagram of another example of a call state determination process in the communication control method according to the embodiment of the present invention;
fig. 5 is a schematic block diagram of a communication control apparatus according to an embodiment of the present invention.
FIG. 6 is a schematic block diagram of an in-vehicle device according to an embodiment of the present invention;
FIG. 7 is a schematic block diagram of a vehicle according to an embodiment of the present invention.
Detailed Description
The following description is presented to disclose the invention so as to enable any person skilled in the art to practice the invention. The preferred embodiments in the following description are given by way of example only, and other obvious variations will occur to those skilled in the art. The basic principles of the invention, as defined in the following description, may be applied to other embodiments, variations, modifications, equivalents, and other technical solutions without departing from the spirit and scope of the invention.
The terms and words used in the following specification and claims are not limited to the literal meanings, but are used only by the inventors to enable a clear and consistent understanding of the invention. Accordingly, it will be apparent to those skilled in the art that the following descriptions of the various embodiments of the present invention are provided for illustration only and not for the purpose of limiting the invention as defined by the appended claims and their equivalents.
It is understood that the terms "a" and "an" should be interpreted as meaning that a number of one element or element is one in one embodiment, while a number of other elements is one in another embodiment, and the terms "a" and "an" should not be interpreted as limiting the number.
While ordinal numbers such as "first," "second," etc., will be used to describe various components, those components are not limited herein. The term is used only to distinguish one element from another. For example, a first component could be termed a second component, and, similarly, a second component could be termed a first component, without departing from the teachings of the inventive concepts. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
The terminology used herein is for the purpose of describing various embodiments only and is not intended to be limiting. As used herein, the singular forms are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, numbers, steps, operations, components, elements, or combinations thereof, but do not preclude the presence or addition of one or more other features, numbers, steps, operations, components, elements, or groups thereof.
Terms used herein, including technical and scientific terms, have the same meaning as terms commonly understood by one of ordinary skill in the art, unless otherwise defined. It will be understood that terms defined in commonly used dictionaries have meanings that are consistent with their meanings in the prior art.
The invention is described in further detail below with reference to the following figures and detailed description:
in order to realize communication between the mobile terminal and the in-vehicle device, the mobile terminal and the in-vehicle device are communicatively coupled to each other through a specific communication protocol, thereby realizing data exchange. For example, bluetooth is a common communication protocol used between a mobile terminal and a vehicle-mounted device, which are connected and exchange data through the bluetooth protocol. However, many mobile terminals sold in the market currently have bluetooth modules that do not pass the authentication of SIG (bluetooth alliance), and have bluetooth protocols that do not comply with the standards, which results in very many problems with bluetooth compatibility during the actual development of the vehicle-mounted devices, especially in the acquisition of current call information of the mobile terminals.
According to the standard protocol of bluetooth, the vehicle-mounted device acquires the current call information of the mobile phone through bluetooth, and a standard at (attention) instruction needs to be used. The AT command set is sent from the terminal device or data terminal device to the terminal adapter or data circuit terminal device and defines the size of the data packets to be transmitted, i.e. for the transmission of the AT command, a length of 1056 characters (including the last null character) can be received AT the maximum, in addition to the two characters of the AT. Each AT command line can only contain one AT command, and for URC (unsolicited result code) indication or response actively reported by the terminal equipment, AT most one line is required, and multiple indications or responses in one line are not allowed to be reported. The AT command ends with a carriage return, and the response or report ends with a carriage return and line feed. For AT commands, there is a corresponding return for each command execution success or failure. Other unexpected information (such as people dial in, no signal on the line, etc.), the module will have some corresponding information prompts, and the receiving end can do corresponding processing.
Specifically, when the in-vehicle device wants to acquire the current call state information of the mobile terminal, an AT + CLCC command is sent to the mobile terminal, but the command may not acquire a message, so that the in-vehicle device may display a call end screen assuming that there is no call information currently. Meanwhile, the mobile terminal sends an AT command, namely an AT + CIND command, to the vehicle-mounted device through the Bluetooth. The value of the call parameter of the command is 0, which indicates that there is no call currently, and if it is 1, it indicates that there is a call currently being connected by 1. However, the AT + CIND command is not correct every time, and when the call on the mobile phone is not connected, the call is hung up, and the mobile phone will not send the command, because the mobile phone does not have a valid call, the state on the mobile phone is not changed, that is, the value is from 0 to 0. Therefore, a problem often occurs when the in-vehicle device acquires the current call state information of the mobile terminal.
Therefore, according to an aspect of the embodiments of the present invention, there is provided a communication control method for an in-vehicle device to acquire call state information from a mobile terminal, the communication control method including: periodically transmitting a status query message from the in-vehicle device to the mobile terminal; sequentially sending first instruction information and second instruction information from the mobile terminal to the vehicle-mounted equipment, wherein at least one of the first instruction information and the second instruction information is a response of the mobile terminal to the state inquiry message; determining a parameter value indicating a call state in the first instruction information and the second instruction information; and determining whether the mobile terminal is in a hanging-up state based on the parameter value.
Fig. 1 is a schematic flowchart of a communication control method according to an embodiment of the present invention. As shown in fig. 1, a communication control method according to an embodiment of the present invention is for an in-vehicle device to acquire call state information from a mobile terminal, and includes: s1, periodically sending a status inquiry message from the in-vehicle device to the mobile terminal; s2, sequentially sending first instruction information and second instruction information from the mobile terminal to the vehicle-mounted equipment, wherein at least one of the first instruction information and the second instruction information is a response of the mobile terminal to the state inquiry message; s3, determining the parameter value indicating the call state in the first instruction information and the second instruction information; and S4, determining whether the mobile terminal is in the hanging up state based on the parameter value.
In this way, in the communication control method according to the embodiment of the present invention, it is determined whether the mobile terminal is in the call drop state by the first instruction information and the second instruction information from the mobile terminal, and at least one of the first instruction information and the second instruction information is a response of the mobile terminal to the status inquiry from the in-vehicle apparatus, so that the in-vehicle apparatus can correctly acquire the call state of the mobile terminal.
Here, it can be understood by those skilled in the art that in the communication control method according to the embodiment of the present invention, the in-vehicle device may communicate with the mobile terminal through various short-range communication protocols, including but not limited to RFID (radio frequency identification technology), bluetooth, WiFi (wireless fidelity), UWB (ultra wide band wireless technology), Zigbee, and the like. Also, in each specific kind of short-range communication protocol, the in-vehicle device and the mobile terminal exchange data by different types of instructions and messages, and the communication control method according to the embodiment of the present invention is not limited in any way.
In embodiments of the present invention, the in-vehicle device may be installed in various types of transportation vehicles, not limited to a family car in the conventional sense, but any other type of vehicle or manned or unmanned vehicle, such as a ground, water and/or air transportation vehicle. Therefore, although in the description of the present invention, the term "in-vehicle device" is used, it will be understood by those skilled in the art that the device is not limited to being associated with a vehicle, but may be any on-board device having a communication function with a mobile terminal, including, but not limited to, various types of navigation devices, Global Positioning System (GPS) receivers, Event Data Recorders (EDRs), Flight Data Recorders (FDRs), automotive infotainment devices, marine electronic devices (e.g., marine navigation devices, gyroscopes or compasses), and avionic devices.
In particular, the in-vehicle device may include one or more processors, each of which may be a device capable of executing machine-readable and executable instructions, such as a computer, microprocessor, microcontroller, integrated circuit, microchip, or any other computing device. The one or more processors may be coupled to a communication path that provides signal interconnection between various modules of the vehicle. The communication path may enable any number of processors to be communicatively coupled to each other, including but not limited to processors in-vehicle devices, and may allow modules in-vehicle devices coupled to the communication path to operate in a distributed computing environment. In particular, each module may operate as a node that may send and/or receive data. Also, "communicatively coupled" means that the components coupled to each other may exchange data with each other, for example, in the form of electrical, electromagnetic, or optical signals.
Thus, the communication paths may be formed by any medium or combination of media capable of conveying information, such as wires, conductive traces, fiber optic cables, and the like. For example, the communication path may include a combination of conductive traces, wire lines, wires, and buses that cooperate to allow the point data signals to be communicated to components such as processors, memories, sensors, input devices, output devices, and communication devices. Also, the communication path may include a vehicle bus such as a LIN bus, a CAN bus, a VAN bus, or the like.
Additionally, the in-vehicle device may also include one or more memory modules coupled to the communication path, which may be configured to include volatile memory, such as static random access memory (S-RAM) and dynamic random access memory (D-RAM), and non-volatile memory, such as flash memory, Read Only Memory (ROM), and Erasable Programmable Read Only Memory (EPROM), and Electrically Erasable Programmable Read Only Memory (EEPROM). In which any form of machine-readable and executable instructions are stored for access by the processor. The machine-readable and executable instructions may be logic or algorithms written in any programming language, such as a machine language that is directly executable by a processor, or an assembly language, an Object Oriented Programming (OOP) language, a Javascript language, microcode, etc., that may be compiled or assembled into machine-readable instructions and stored in a memory module. Alternatively, the machine-readable and executable instructions may also be written in a hardware description language such as logic implemented in a programmable logic array (FPGA) or an Application Specific Integrated Circuit (ASIC).
Further, the in-vehicle device may include a display for providing a visual output to the user. The display may be coupled with the processor, communication path, and memory described above, and thus further coupled to other modules in the vehicle. The display may include various displays such as a Cathode Ray Tube (CRT) display, a Light Emitting Diode (LED) display, a Liquid Crystal Display (LCD), a Plasma Display Panel (PDP), and the like. In addition, the display may further integrate a touch sensor that detects tactile input on the surface of the display or in proximity to the display for use as a touch screen. Also, in addition to a touch screen, the in-vehicle device may include other types of tactile input hardware to convert mechanical, optical, or electrical signals into data signals that can be communicated between the various modules of the vehicle via a communication path. In particular, the tactile input hardware may include conventional buttons, switches, knobs, etc. for translating physical actions of the user into data for operational control.
In one example, the vehicle-mounted device is composed of a broadband part, a radio frequency part, a power supply part, an in-vehicle communication part and a main control chip. The power supply part is mainly completed by PM1018, and the battery power supply part is divided into two parts, namely a vehicle-mounted 12V power supply and a built-in lithium battery unit as a backup power supply. The master control unit adopts iMx6s industrial grade master control board of the flying skal company. The broadband module MDM9615 is a high-pass-developed mobile data modem chip supporting LTE (FDD and TDD), dual-carrier HSPA +, EV-DO version B and TD-SCDMA. The radio frequency and in-vehicle communication part is realized by a CAN transceiver, which consists of two chips of TJA1051 and NCV7346 and is connected with a CAN network of the whole vehicle through an interface circuit of the CAN.
In the embodiments of the present invention, a mobile terminal may refer to any electronic device that is convenient for a user to carry and that integrates a call function, including a tablet Personal Computer (PC), an e-book reader, a laptop PC, a netbook PC, a Personal Digital Assistant (PDA), a Portable Multimedia Player (PMP), an MP3 player, a camera, a wearable device (e.g., a Head Mounted Device (HMD), an electronic garment, an electronic bracelet, an electronic necklace, an electronic accessory, an electronic tattoo, or a smart watch), etc., having a call function, in addition to a general smart phone, a mobile phone, a video phone, etc. The mobile terminal may communicate with the in-vehicle device in any form of wired or wireless communication, including wireless communication, wired communication, optical communication, or a combination thereof. As the wireless communication, cellular communication, Bluetooth Low Energy (BLE), wireless High Definition Multimedia Interface (HDMI), ZigBee, Near Field Communication (NFC), infrared data association standard (IrDA), wireless fidelity (WiFi), Worldwide Interoperability for Microwave Access (WiMAX), and the like are included, but not limited thereto.
Fig. 2 is a schematic diagram of an application environment of a communication control method according to an embodiment of the present invention. As shown in FIG. 2, the in-vehicle device 100 includes a processor 102, a communication path 104, a memory 106, a display 108, and tactile input hardware 110 as described above. In addition, the in-vehicle device 100 further includes a removable data module 112 for providing additional storage functionality for the in-vehicle device, which may be, for example, an optical storage medium, a solid-state storage medium, a flash memory (e.g., a USB memory or a memory card), or the like.
Further, as shown in FIG. 2, the in-vehicle device 100 further includes a network interface 114 for communicatively coupling the in-vehicle device to the mobile terminal 120 or the external network 122, and further to external servers 124 and 126. The network interface 114 may be any device capable of transmitting and/or receiving data over a wireless network, including a wireless transceiver to transmit and/or receive data according to any wireless communication standard, for example, the network interface may include a chipset for communication (including an antenna, a processor, machine readable and executable instructions, etc.) and communicate externally based on techniques such as cellular communication, Bluetooth Low Energy (BLE), wireless High Definition Multimedia Interface (HDMI), ZigBee, Near Field Communication (NFC), infrared data association standard (IrDA), wireless fidelity (WiFi), and Worldwide Interoperability for Microwave Access (WiMAX), etc. Here, it will be understood by those skilled in the art that the network interface 114 may further integrate a module for implementing wired communication, for example, connected with the mobile terminal 120 through a USB cable.
That is, the in-vehicle apparatus 100 may be communicatively coupled to the mobile terminal 120 through the network interface 114 to obtain various types of information from the mobile terminal 120. Also, the mobile terminal 120 may be connected to an external network 122, the network 122 typically including a plurality of base stations configured to receive and transmit data in accordance with mobile telecommunications standards, and spanning a plurality of network topologies and distances. For example, the network 122 may include direct connections, Personal Area Networks (PANs), Local Area Networks (LANs), Metropolitan Area Networks (MANs), Wide Area Networks (WANs), or any combination thereof. In addition, the network may be a network for voice and data communication, such as an LTE system proposed in the third generation project partnership 2(3GPP2), an LTE-advanced (LTE-a) system, a High Speed Downlink Packet Access (HSDPA) mobile communication system, a High Speed Uplink Packet Access (HSUPA) mobile communication system, a High Rate Packet Data (HRPD) mobile communication system, a Wideband Code Division Multiple Access (WCDMA) mobile communication system proposed in 3GPP2, a Code Division Multiple Access (CDMA) mobile communication system proposed in 3GPP2, an Institute of Electrical and Electronics Engineers (IEEE) mobile communication system, an Extended Packet System (EPS), a mobile internet protocol (mobile IP) system, and the like.
In addition, the external network 122 may be used for the mobile terminal 120 and the in-vehicle devices to access one or more servers, such as servers 124 and 126 shown in FIG. 2. The servers 124 and 126 may transfer data to the mobile terminal 120, or transfer data to the in-vehicle device 100 via the mobile terminal 120 or directly. Here, servers 124 and 126 may be servers associated with a communications carrier, and may also be servers associated with an organization that manufactures or otherwise provides repair or other services for the vehicle.
Next, other aspects of the communication control method according to the embodiment of the present invention will be explained continuously.
In the above communication control method, the first instruction information and the second instruction information are both responses of the mobile terminal to the status inquiry message.
In the communication control method, the step of determining whether the mobile terminal is in a call drop state based on the parameter value specifically includes: and under the condition that the parameter value indicating the call state in the first instruction information and the second instruction information is empty, determining that the mobile terminal is in a call hang-up state.
In the communication control method, the step of setting the parameter value indicating the call state in the first instruction information and the second instruction information to null may specifically include one of the following steps: the parameter value indicating the call state in the first instruction information and the second instruction information acquired from the mobile terminal is null; and not receiving the first instruction information and the second instruction information from the mobile terminal within a predetermined time after transmitting a status inquiry message corresponding to the first instruction information and the second instruction information from the in-vehicle apparatus to the mobile terminal.
In this way, in the case where the first instruction information and the second instruction information are responses of the mobile terminal to the status inquiry request transmitted from the in-vehicle apparatus, the case where the response content is empty and the case where no response is received are treated as the same case, that is, the case where the response content is empty, so that even if the in-vehicle apparatus does not receive any response by transmitting the status inquiry message, the call status of the mobile terminal can be determined accordingly. Therefore, according to the condition that the response content of the first instruction information and the second instruction information is empty or no response is obtained in the sending of the state inquiry message, whether the mobile terminal is in the call hang-up state or not can be accurately determined.
In the communication control method, the step of determining whether the mobile terminal is in a call drop state based on the parameter value specifically includes: and under the condition that the mobile terminal is not in the hanging-up state and the parameter values indicating the call state in the first instruction information and the second instruction information are empty, determining that the mobile terminal is in the hanging-up state.
That is, for an actual call, the states may be several states, such as on-call, ringing, on-hold, waiting for on-hold, and off-hold. Besides, in the off-call state, the in-vehicle device is required to keep the speaker outputting the call sound and the microphone inputting the call sound, and is used by, for example, the bluetooth module. Therefore, even if the state acquisition is wrong except for the call hang-up state, a normal call is not affected as long as the call hang-up state is correct.
Therefore, in the communication control method according to the embodiment of the present invention, the call state of the mobile terminal is correctly acquired by determining whether the mobile terminal is in the call-on-hook state, but not in other states.
In addition, in the communication control method according to the embodiment of the present invention, when it is previously determined that the mobile terminal is not in the call-off state, that is, a state other than the above-described call-off state, for example, a state in which the mobile terminal is in a call-on state, a state in which the mobile terminal is in a ring state, a state in which the mobile terminal is in a key-on state, a state in which the mobile terminal is in a hold state, a state in which the mobile terminal is waiting for a medium state, and the like, the mobile terminal may be shifted to the call-off state. Therefore, it is preferable that, in a case where the mobile terminal is not previously in the hung-up state, the mobile terminal is determined to be in the hung-up state when the parameter value indicating the call state in the first instruction information and the second instruction information is determined to be null.
In the communication control method, the first instruction information is a response of the mobile terminal to the status inquiry message, and the second instruction information is information indicating a call status of the mobile terminal, which is actively transmitted from the mobile terminal to the in-vehicle device.
In the communication control method, the step of determining whether the mobile terminal is in a call drop state based on the parameter value specifically includes: and determining that the mobile terminal is in a hanging-up state under the condition that the parameter value indicating the call state in the first instruction information is null and the parameter value indicating the call state in the second instruction information is zero.
That is, in the communication control method according to the embodiment of the present invention, one of the first instruction information and the second instruction information is the correspondence of the mobile terminal to the status inquiry message transmitted from the in-vehicle apparatus, and the other is the call status information automatically transmitted by the mobile terminal, so that it is possible to accurately determine whether or not the mobile terminal is in the call hanging-up state in conjunction with each other.
Here, it will be understood by those skilled in the art that, although the communication protocols adopted are different, when the mobile terminal is in the call-off state, the information on the call state acquired from the mobile terminal is generally empty. However, due to the format difference between various communication protocols for transferring information of a call state on one hand and due to frequent errors in information transfer in the communication process itself on the other hand, in the communication control method according to an embodiment of the present invention, it is not determined whether the mobile terminal is in a call-off state only based on the condition that the information on the call state transmitted from the mobile terminal is empty. Therefore, by adopting the communication control method according to the embodiment of the invention, the current call state of the mobile terminal can be accurately determined no matter what communication protocol is adopted by the vehicle-mounted equipment to acquire the call state from the mobile terminal.
In the communication control method, the method further includes: and when the parameter value indicating the call state in the first instruction information is not empty, determining that the mobile terminal is in a call starting state.
In the communication control method, the method further includes: and when the parameter value indicating the call state in the second instruction information is not empty, determining that the mobile terminal is in a call proceeding state.
In the communication control method, when the mobile terminal is in a call-in state, a parameter value indicating a call state is one in the information indicating the call state of the mobile terminal actively transmitted from the mobile terminal to the in-vehicle device.
That is, in the communication control method according to the embodiment of the present invention, the call state of the mobile terminal is divided into the call start state, the call in progress state, and the call off-hook state and is determined separately, thereby correctly acquiring the call state of the mobile terminal.
Specifically, when the vehicle-mounted device sends a state query message to the mobile terminal and a parameter value indicating a call state in first instruction information as a response of the mobile terminal is not empty, the vehicle-mounted device may determine that the mobile terminal is in a call start state, that is, a call dialing state or a call incoming state, according to the first instruction information because the mobile terminal is in a call hang-up state before. This corresponds to the case where the user is dialing a telephone number to make an outgoing telephone call or the telephone is responding to make an incoming telephone call, respectively. Accordingly, at this time, the in-vehicle device can output the key sound of the telephone number dialed by the user or the ring tone when the telephone receives the incoming call through the communication connection with the mobile terminal by the loudspeaker.
Then, when the parameter value indicating the call state is not empty in the second instruction information received after the first instruction information, since it is determined that the mobile terminal is in the call start stage by the first instruction information before, the vehicle-mounted device may determine that the mobile terminal is in the call-in-progress state, that is, the user is in a call. Accordingly, at this time, the in-vehicle device can output the voice of the other party of the telephone call with the speaker and input the voice of the user with the microphone through the communication connection with the mobile terminal, thereby realizing the voice call of the user through the mobile terminal with the in-vehicle device.
In the communication control method, the periodically sending the status query message from the in-vehicle device to the mobile terminal specifically includes: after determining that the mobile terminal is in a call start state or a call in progress state, a status inquiry message is periodically transmitted from the in-vehicle apparatus to the mobile terminal.
That is, in the communication control method according to the embodiment of the present invention, the call state of the mobile terminal is determined based on the call drop state of the mobile terminal, and in the call start state or the call progress state, the mobile terminal enters the call drop state, either actively or passively. Therefore, by periodically transmitting the status inquiry message from the in-vehicle apparatus to the mobile terminal after the call start status or the call progress status, the call status of the mobile terminal can be correctly acquired.
Here, as can be understood by those skilled in the art, when the mobile terminal is in a call start state or a call on state, or when the mobile terminal is in a call hang-up state, the in-vehicle device needs to send a status query message to the mobile terminal to determine the call state of the mobile terminal based on a response to the status query message. In addition, in the process of the mobile terminal changing from the no-call state to the call state or in the process of the mobile terminal changing from the call state to the no-call state, the sending periods of the state inquiry messages can be set to be not completely the same. For example, the first period is set in the former process and the second period is set in the latter process, and the time of the first period is preferably set to be longer than that of the second period, thereby being suitable for a specific call situation of the mobile terminal. In addition, in some cases, in order to reduce power consumption of the in-vehicle device for sending the message query state, the in-vehicle device may send the state query message again after the mobile terminal actively sends the message indicating that there is a call, but this may cause a delay of a voice call function of the in-vehicle device, thereby reducing user experience.
In summary, in the communication control method according to the embodiment of the present invention, the current call state of the mobile terminal is determined based on the response condition of the status query message sent by the vehicle-mounted device to the mobile terminal, and optionally in combination with the information about the call state autonomously sent by the mobile terminal to the vehicle-mounted device. And when the response condition of the status query message sent to the mobile terminal by the vehicle-mounted equipment is considered, the condition that the content of the response message is empty and the status query message is not responded is taken as the same judgment condition for processing, so that the misjudgment caused by the fact that the message cannot be received due to communication faults and the like is avoided.
In addition, in the case that the in-vehicle device fails to receive information about the call state, which is autonomously transmitted by the mobile terminal, the call state of the mobile terminal can be determined based only on the response of the state query message, thereby avoiding a problem that the call state of the mobile terminal cannot be determined due to a communication failure or the like.
In addition, under the condition that the content of the response message of the status query message is not empty, the mobile terminal can be further determined to be in a call starting state or a call proceeding state according to the contents of the first instruction information and the second instruction information which are received in sequence, so that the accuracy of obtaining the current call state is further improved.
Next, an example of a call state determination process in the communication control method according to the embodiment of the present invention will be described with reference to fig. 3 and 4. In the examples of fig. 3 and 4, the mobile terminal and the in-vehicle device communicate via the bluetooth protocol, and the AT + CLCC instruction and the AT + CIND instruction are used to transmit the parameter values associated with determining the call state of the mobile terminal. Of course, those skilled in the art will appreciate that the examples of fig. 3 and 4 are merely illustrative, and that the communication control method according to the embodiment of the present invention is not limited to a specific bluetooth protocol and a specific instruction format.
Fig. 3 is a schematic diagram of an example of a call state determination process in a communication control method according to an embodiment of the present invention. As shown in fig. 3, the in-vehicle device transmits an AT + CLCC command to the mobile terminal AT S11, and thereafter, the in-vehicle device receives an AT + CLCC response transmitted from the mobile terminal AT S12. The in-vehicle device checks the contents contained in the AT + CLCC response AT S13, and then determines that the mobile terminal is in a state of dialing or ringing when the contents are not empty AT S14. Then, the in-vehicle device continues to transmit the AT + CLCC command to the mobile terminal AT S15, and receives the AT + CLCC response transmitted from the mobile terminal AT S16. The in-vehicle apparatus checks the content contained in the AT + CLCC response AT S17, and then determines that the mobile terminal is in a state of a call AT S18 when the content is not empty. When the mobile terminal is in a state of being in a call, AT S19, an AT + CIND command is actively transmitted from the mobile terminal to the in-vehicle device, and the value of the parameter call in the command is 1. In this case, since the AT + CIND instruction automatically transmitted from the mobile terminal to the in-vehicle device can further determine that the mobile terminal is in a call state, the in-vehicle device can accurately determine the call state of the mobile terminal.
Then, AT S20, AT + CLCC commands are periodically transmitted from the in-vehicle device to the mobile terminal, preferably AT a frequency of once per second. Thereafter, the in-vehicle device transmits an AT + CLCC command to the mobile terminal AT S21, and thereafter, the in-vehicle device receives an AT + CLCC response transmitted from the mobile terminal AT S22. AT S23, the in-vehicle device checks the content contained in the AT + CLCC response described above, and detects that the content is empty. Thereafter, AT S24, the in-vehicle device receives the AT + CIND command actively transmitted by the mobile terminal, and the value of the parameter call in the command is 0. The in-vehicle apparatus determines that the mobile terminal is in a hung-up state at S25. Also, since the AT + CLCC response transmitted from the mobile terminal to the in-vehicle device is combined with the AT + CIND command automatically transmitted from the mobile terminal to the in-vehicle device, the in-vehicle device can accurately determine the call drop state of the mobile terminal.
Fig. 4 is a schematic diagram of another example of a call state determination process in a communication control method according to an embodiment of the present invention. As shown in fig. 4, the in-vehicle device transmits an AT + CLCC command to the mobile terminal AT S31, and thereafter, the in-vehicle device receives an AT + CLCC response transmitted from the mobile terminal AT S32. The in-vehicle device checks the contents contained in the AT + CLCC response AT S33, and then determines that the mobile terminal is in a state of dialing or ringing when the contents are not empty AT S34. Then, AT S35, AT + CLCC commands are periodically transmitted from the in-vehicle device to the mobile terminal, preferably AT a frequency of once per second. Thereafter, the in-vehicle device transmits an AT + CLCC command to the mobile terminal AT S36, and thereafter, the in-vehicle device receives an AT + CLCC response transmitted from the mobile terminal AT S37. AT S38, the in-vehicle device checks the content contained in the AT + CLCC response described above, and detects that the content is empty. Thereafter, the in-vehicle device transmits an AT + CLCC command to the mobile terminal AT S39, and thereafter, the in-vehicle device receives an AT + CLCC response transmitted from the mobile terminal AT S40. AT S41, the in-vehicle device checks the content contained in the AT + CLCC response described above, and detects that the content is empty. Then AT S42, since the contents of the AT + CLCC responses obtained by the in-vehicle device twice consecutively are all empty, the in-vehicle device determines that the mobile terminal is in a hang-up state. As described above, the dotted line of the AT + CLCC response indicates a case where the content of the AT + CLCC response may be empty, or a case where the AT + CLCC response is not received. In this case, the condition that the contents of the AT + CLCC responses are empty twice in succession is used as a criterion, so that it can be accurately determined that the mobile terminal is in the on-hook state.
Here, it will be understood by those skilled in the art that although in fig. 3 and 4, when the mobile terminal is in the call-in state and the call-start state, different conditions are employed to determine whether the mobile terminal is in the call-off state, this is merely exemplary. Although in the call-in-progress state, it is preferable to determine whether the mobile terminal is in a call-on-hook state in conjunction with an AT + CIND instruction actively transmitted from the mobile terminal to the in-vehicle device. However, in the on-call state, the mobile terminal may be determined to be in the on-call state by using a condition that the contents of AT + CLCC responses are empty twice in succession as a criterion.
In fact, in the communication control method between the mobile terminal and the in-vehicle device according to the embodiment of the present invention, the in-vehicle device only plays an auxiliary role of the call function of the mobile terminal. That is, even if the in-vehicle device determines that the mobile terminal is in a call-hang-up state, thereby releasing the channel resources and the voice input and output resources occupied by the mobile terminal, the voice communication actually performed by the mobile terminal will not be disconnected. Therefore, in the communication control method according to the embodiment of the present invention, the effective utilization of resources and the convenience of the user are both considered, so as to improve the system performance of the telematics system to the maximum extent.
According to another aspect of the embodiments of the present invention, there is provided a communication control apparatus for an in-vehicle device to acquire call state information from a mobile terminal, the communication control apparatus including: a state inquiry unit for periodically sending a state inquiry message from the in-vehicle device to the mobile terminal; the command transmission unit is used for sequentially transmitting first command information and second command information from the mobile terminal to the vehicle-mounted equipment, wherein at least one of the first command information and the second command information is a response of the mobile terminal to the state inquiry message; a parameter determining unit, configured to determine a parameter value indicating a call state in the first instruction information and the second instruction information; and the state acquisition unit is used for determining whether the mobile terminal is in a hanging-up state or not based on the parameter value.
Fig. 5 is a schematic block diagram of a communication control apparatus according to an embodiment of the present invention. As shown in fig. 5, the communication control apparatus 200 according to the embodiment of the present invention is used for the in-vehicle device 210 to acquire call state information from the mobile terminal 220. Further, the communication control apparatus 200 includes: a status inquiry unit 201 for periodically transmitting a status inquiry message from the in-vehicle device 210 to the mobile terminal 220; an instruction transmission unit 202, configured to sequentially transmit first instruction information and second instruction information from the mobile terminal 220 to the vehicle-mounted device 210, where at least one of the first instruction information and the second instruction information is a response of the mobile terminal 220 to the status inquiry message transmitted by the status inquiry unit 201; a parameter determining unit 203, configured to determine a parameter value indicating a call state in the first instruction information and the second instruction information sent by the instruction transmitting unit 202; and a state acquisition unit 204 for determining whether the mobile terminal 220 is in a hanging-up state based on the parameter value determined by the parameter determination unit 203.
In the above communication control apparatus, the first instruction information and the second instruction information are both responses of the mobile terminal to the status inquiry message.
In the communication control device, the state acquisition unit is specifically configured to: and under the condition that the parameter value indicating the call state in the first instruction information and the second instruction information is empty, determining that the mobile terminal is in a call hang-up state.
In the communication control apparatus, the parameter value indicating the call state in the first instruction information and the second instruction information is null may specifically include one of: the parameter value indicating the call state in the first instruction information and the second instruction information acquired from the mobile terminal is null; the first instruction information and the second instruction information are not received from the mobile terminal within a predetermined time after the status inquiry message corresponding to the first instruction information and the second instruction information is transmitted from the in-vehicle apparatus to the mobile terminal.
In the communication control device, the state acquisition unit is specifically configured to: and under the condition that the mobile terminal is not in the hanging-up state and the parameter values indicating the call state in the first instruction information and the second instruction information are empty, determining that the mobile terminal is in the hanging-up state.
In the above communication control apparatus, the first instruction information is a response of the mobile terminal to the status inquiry message, and the second instruction information is information indicating a call status of the mobile terminal, which is actively transmitted from the mobile terminal to the in-vehicle device.
In the communication control device, the state acquisition unit is specifically configured to: and determining that the mobile terminal is in a hanging-up state under the condition that the parameter value indicating the call state in the first instruction information is null and the parameter value indicating the call state in the second instruction information is zero.
In the communication control apparatus described above, the state acquisition unit is further configured to: and when the parameter value indicating the call state in the first instruction information is not empty, determining that the mobile terminal is in a call starting state.
In the communication control apparatus, it is determined that the mobile terminal is in a call-in state when the parameter value indicating the call state in the first instruction information is not empty.
In the communication control device, when the mobile terminal is in a call-in state, a parameter value indicating a call state is one in the information indicating the call state of the mobile terminal actively transmitted from the mobile terminal to the in-vehicle apparatus.
In the communication control device, the state inquiry unit is specifically configured to: and a status inquiry message periodically transmitted from the in-vehicle device to the mobile terminal after determining that the mobile terminal is in a call start status or a call in progress status.
Here, it can be understood by those skilled in the art that other details of the communication control apparatus according to the embodiment of the present invention are the same as those of the communication control method according to the embodiment of the present invention described earlier, and are not described again to avoid redundancy.
In addition, those skilled in the art can understand that each functional module of the communication control apparatus according to the embodiment of the present invention may be implemented at one end of the vehicle-mounted device, at one end of the mobile terminal, or in a distributed manner at both ends of the vehicle-mounted device and the mobile terminal. In addition, the communication control apparatus according to the embodiment of the present invention may also be implemented as a separate device separate from the in-vehicle device and the mobile terminal for implementing a communication control function between the in-vehicle device and the mobile terminal.
According to still another aspect of embodiments of the present invention, there is provided an in-vehicle device including a communication control module for acquiring call state information from a mobile terminal, the communication control module including: a state inquiry unit for periodically sending a state inquiry message from the in-vehicle device to the mobile terminal; an instruction receiving unit, configured to receive first instruction information and second instruction information sequentially sent from a mobile terminal, where at least one of the first instruction information and the second instruction information is a response of the mobile terminal to the status query message; a parameter determining unit, configured to determine a parameter value indicating a call state in the first instruction information and the second instruction information; and the state acquisition unit is used for determining whether the mobile terminal is in a hanging-up state or not based on the parameter value.
Fig. 6 is a schematic block diagram of an in-vehicle apparatus according to an embodiment of the present invention. As shown in fig. 6, the in-vehicle apparatus 300 includes a communication control module 310 for acquiring call state information from a mobile terminal 320. Also, the communication control module 310 includes: a status inquiry unit 311 for periodically transmitting a status inquiry message from the in-vehicle device 300 to the mobile terminal 320; an instruction receiving unit 312, configured to receive first instruction information and second instruction information sequentially sent from the mobile terminal 320, where at least one of the first instruction information and the second instruction information is a response of the mobile terminal 320 to the status query message sent by the status query unit 311; a parameter determining unit 313 configured to determine a parameter value indicating a call state in the first instruction information and the second instruction information received by the instruction receiving unit 312; and a state acquisition unit 314 for determining whether the mobile terminal 320 is in a call-off state based on the parameter value determined by the parameter determination unit 313.
In the above vehicle-mounted device, the first instruction information and the second instruction information are both responses of the mobile terminal to the status inquiry message.
In the above vehicle-mounted device, the state acquisition unit is specifically configured to: and under the condition that the parameter value indicating the call state in the first instruction information and the second instruction information is empty, determining that the mobile terminal is in a call hang-up state.
In the above vehicle-mounted device, the parameter value indicating the call state in the first instruction information and the second instruction information is null specifically includes one of the following: the parameter value indicating the call state in the first instruction information and the second instruction information acquired from the mobile terminal is null; and not receiving the first instruction information and the second instruction information from the mobile terminal within a predetermined time after transmitting a status inquiry message corresponding to the first instruction information and the second instruction information from the in-vehicle apparatus to the mobile terminal.
In the above vehicle-mounted device, the state acquisition unit is specifically configured to: and under the condition that the mobile terminal is not in the hanging-up state and the parameter values indicating the call state in the first instruction information and the second instruction information are empty, determining that the mobile terminal is in the hanging-up state.
In the above vehicle-mounted device, the first instruction information is a response of the mobile terminal to the status inquiry message, and the second instruction information is information indicating a call status of the mobile terminal, which is actively transmitted from the mobile terminal to the vehicle-mounted device.
In the above vehicle-mounted device, the state acquisition unit is specifically configured to: and determining that the mobile terminal is in a hanging-up state under the condition that the parameter value indicating the call state in the first instruction information is null and the parameter value indicating the call state in the second instruction information is zero.
In the above vehicle-mounted device, the state acquisition unit is further configured to: and when the parameter value indicating the call state in the first instruction information is not empty, determining that the mobile terminal is in a call starting state.
In the above vehicle-mounted device, the state acquisition unit is further configured to: and when the parameter value indicating the call state in the first instruction information is not empty, determining that the mobile terminal is in a call-in state.
In the above-described in-vehicle device, when the mobile terminal is in a call-in state, a parameter value indicating a call state is one in information indicating a call state of the mobile terminal, which is actively transmitted from the mobile terminal to the in-vehicle device.
In the above vehicle-mounted device, the status query unit is specifically configured to: and a status inquiry message periodically transmitted from the in-vehicle device to the mobile terminal after determining that the mobile terminal is in a call start status or a call in progress status.
Here, it can be understood by those skilled in the art that other details of the communication control module in the vehicle-mounted device according to the embodiment of the present invention are the same as those of the communication control method according to the embodiment of the present invention described above, and are not described again to avoid redundancy.
According to still another aspect of an embodiment of the present invention, there is provided a transportation including an in-vehicle device including a communication control module for acquiring call state information from a mobile terminal, the communication control module including: a state inquiry unit for periodically sending a state inquiry message from the in-vehicle device to the mobile terminal; an instruction receiving unit, configured to receive first instruction information and second instruction information sequentially sent from a mobile terminal, where at least one of the first instruction information and the second instruction information is a response of the mobile terminal to the status query message; a parameter determining unit, configured to determine a parameter value indicating a call state in the first instruction information and the second instruction information; and the state acquisition unit is used for determining whether the mobile terminal is in a hanging-up state or not based on the parameter value.
FIG. 7 is a schematic block diagram of a vehicle according to an embodiment of the present invention. As shown in fig. 7, a transportation vehicle 400 according to an embodiment of the present invention includes an in-vehicle device 401 including a communication control module 410 for acquiring call state information from a mobile terminal 402. Also, the communication control module 410 includes: a status inquiry unit 411 for periodically transmitting a status inquiry message from the in-vehicle device 401 to the mobile terminal 402; an instruction receiving unit 412, configured to receive first instruction information and second instruction information sequentially sent from the mobile terminal 402, where at least one of the first instruction information and the second instruction information is a response of the mobile terminal 402 to the status query message sent by the status querying unit 411; a parameter determining unit 413 configured to determine a parameter value indicating a call state in the first instruction information and the second instruction information received by the instruction receiving unit 412; and a state acquisition unit 414 for determining whether the mobile terminal 402 is in a hanging-up state based on the parameter value determined by the parameter determination unit 413.
In the transportation means, the first instruction information and the second instruction information are both responses of the mobile terminal to the status inquiry message.
In the transportation vehicle, the state acquiring unit is specifically configured to: and under the condition that the parameter value indicating the call state in the first instruction information and the second instruction information is empty, determining that the mobile terminal is in a call hang-up state.
In the transportation means, the parameter value indicating the call state in the first instruction information and the second instruction information is null specifically includes one of the following: the parameter value indicating the call state in the first instruction information and the second instruction information acquired from the mobile terminal is null; and not receiving the first instruction information and the second instruction information from the mobile terminal within a predetermined time after transmitting a status inquiry message corresponding to the first instruction information and the second instruction information from the in-vehicle apparatus to the mobile terminal.
In the transportation vehicle, the state acquiring unit is specifically configured to: and under the condition that the mobile terminal is not in the hanging-up state and the parameter values indicating the call state in the first instruction information and the second instruction information are empty, determining that the mobile terminal is in the hanging-up state.
In the transportation means, the first instruction information is a response of the mobile terminal to the status inquiry message, and the second instruction information is information indicating a call status of the mobile terminal, which is actively transmitted from the mobile terminal to the in-vehicle device.
In the transportation vehicle, the state acquiring unit is specifically configured to: and determining that the mobile terminal is in a hanging-up state under the condition that the parameter value indicating the call state in the first instruction information is null and the parameter value indicating the call state in the second instruction information is zero.
In the transportation vehicle described above, the state acquisition unit is further configured to: and when the parameter value indicating the call state in the first instruction information is not empty, determining that the mobile terminal is in a call starting state.
In the transportation vehicle described above, the state acquisition unit is further configured to: and when the parameter value indicating the call state in the first instruction information is not empty, determining that the mobile terminal is in a call-in state.
In the transportation device, when the mobile terminal is in a call-in state, a parameter value indicating a call state is one in the information indicating the call state of the mobile terminal actively transmitted from the mobile terminal to the in-vehicle device.
In the transportation vehicle, the state query unit is specifically configured to: and a status inquiry message periodically transmitted from the in-vehicle device to the mobile terminal after determining that the mobile terminal is in a call start status or a call in progress status.
Here, as can be understood by those skilled in the art, other details of the communication control module in the vehicle-mounted device included in the transportation vehicle according to the embodiment of the present invention are the same as those of the communication control method according to the embodiment of the present invention described earlier, and are not described again to avoid redundancy.
According to the communication control method, the communication control device, the vehicle-mounted equipment and the transportation tool, the vehicle-mounted equipment can correctly obtain the call state information of the mobile terminal, so that the communication performance of the vehicle-mounted information service system is improved.
The implementations described herein may be implemented, for example, in methods or processes, devices, software programs, data streams, or signals. Even if only discussed in the context of a single form of implementation (e.g., as a method or apparatus only), implementation of the features discussed may also be implemented in other forms (e.g., as a program). The device may be implemented in, for example, appropriate hardware, software and firmware. The method may be implemented, for example, in an apparatus such as a processor, which refers generally to a processing device including, for example, a computer, a microprocessor, an integrated circuit, or a programmable logic device. Processors also include communication devices, such as smart phones, tablets, computers, mobile phones, portable/personal digital assistants ("PDAs"), and other devices that facilitate communication of information between end-users.
Additionally, the method may be implemented by instructions being executed by a processor, and such instructions (and/or data values resulting from the implementation) may be stored on a (non-transitory) processor-readable medium, such as an integrated circuit, a software carrier, or other storage device, such as a hard disk, a compact disc ("CD"), an optical disc (e.g., a DVD, commonly referred to as a digital versatile disc or a digital video disc), a random access memory ("RAM"), or a read only memory ("ROM"). The instructions may form an application program tangibly embodied on a processor-readable medium. The instructions may be in hardware, firmware, software, or a combination, for example. The instructions may be found in, for example, an operating system, a separate application, or a combination of both. Thus, for example, a processor may be characterized as both an apparatus configured to perform a process and an apparatus comprising a processor-readable medium (such as a storage device) having instructions for performing a process. Additionally, a processor-readable medium may store, in addition to or in place of instructions, data values resulting from implementation.
As will be apparent to those of skill in the art, implementations may produce various signals formatted to carry information that may be, for example, stored or transmitted. The information may include, for example, instructions for executing a method or data resulting from one of the described implementations. For example, the signal may be formatted to carry as data the rules for writing or reading the syntax of the described embodiment, or to carry as data the actual syntax values written by the described embodiment. For example, such signals may be formatted as electromagnetic waves (e.g., using the radio frequency portion of the spectrum) or as baseband signals. Formatting may include, for example, encoding a data stream and modulating a carrier with the encoded data stream. The information carried by the signal may be, for example, analog or digital information. The signals may be transmitted via a variety of different wired or wireless links as is known. The signal may be stored on a processor readable medium.
It is to be understood that the present invention may be implemented in various forms of hardware, software, firmware, special purpose processors, or a combination thereof. In particular, the invention may be implemented in an electronic device comprising a processor configured to perform the steps of the method described in the embodiments of the invention. Further, the software is preferably implemented as an application program tangibly embodied on a program storage device. The application program may be uploaded to, and executed by, a machine comprising any suitable architecture. Preferably, the machine is implemented on a computer platform having hardware such as one or more Central Processing Units (CPU), a Random Access Memory (RAM), and one or more input/output (I/O) interfaces. The computer platform also includes an operating system and microinstruction code. The various processes and functions described herein may either be part of the microinstruction code or part of the application program (or a combination thereof) that is executed via the operating system. In addition, various other external devices may be connected to the computer platform such as an additional data storage device and a printing device.
It is to be further understood that, because some of the constituent system components and method steps depicted in the accompanying figures are preferably implemented in software, the actual connections between the system components (or the process steps) may differ depending upon the manner in which the present invention is programmed.
It will be appreciated by persons skilled in the art that the embodiments of the invention described above and shown in the drawings are given by way of example only and are not limiting of the invention. The objects of the invention have been fully and effectively accomplished. The functional and structural principles of the present invention have been shown and described in the examples, and any variations or modifications of the embodiments of the present invention may be made without departing from the principles.

Claims (4)

1. A communication control method for an in-vehicle device to acquire call state information from a mobile terminal, the communication control method comprising:
periodically sending a status query message from the vehicle-mounted device to the mobile terminal;
sequentially sending first instruction information and second instruction information from the mobile terminal to the vehicle-mounted equipment, wherein at least one of the first instruction information and the second instruction information is a response of the mobile terminal to the state inquiry message;
determining a parameter value indicating a call state in the first instruction information and the second instruction information; and
determining whether the mobile terminal is in a call hang-up state based on the parameter value;
the first instruction information is a response of the mobile terminal to the state query message, and the second instruction information is information which is sent from the mobile terminal to the vehicle-mounted equipment actively and indicates a call state of the mobile terminal; the step of determining whether the mobile terminal is in a call hang-up state based on the parameter value specifically includes:
determining that the mobile terminal is in a call hang-up state under the condition that the parameter value indicating the call state in the first instruction information is null and the parameter value indicating the call state in the second instruction information is zero;
when the parameter value indicating the call state in the first instruction information is not empty, and the mobile terminal is in a call hang-up state before the first instruction information is received, determining that the mobile terminal is in a call starting state;
and if the parameter value indicating the call state in the second instruction information received after the first instruction information is not empty and the mobile terminal is determined to be in the call starting state before through the first instruction information, determining that the mobile terminal is in the call proceeding state.
2. The communication control method according to claim 1, wherein a parameter value indicating a call state is one from information indicating a call state of the mobile terminal actively transmitted to the in-vehicle apparatus by the mobile terminal in a case where the mobile terminal is in a call-in-progress state.
3. The communication control method according to any one of claims 1 to 2, wherein the periodically sending a status query message from the in-vehicle device to the mobile terminal specifically includes:
periodically transmitting a status query message from the in-vehicle device to the mobile terminal after determining that the mobile terminal is in a call start state or a call progress state.
4. A communication control apparatus for an in-vehicle device to acquire call state information from a mobile terminal, the communication control apparatus comprising:
the state query unit is used for periodically sending a state query message to the mobile terminal from the vehicle-mounted equipment;
the command transmission unit is used for sequentially transmitting first command information and second command information from the mobile terminal to the vehicle-mounted equipment, wherein at least one of the first command information and the second command information is a response of the mobile terminal to the state inquiry message;
a parameter determining unit, configured to determine a parameter value indicating a call state in the first instruction information and the second instruction information; and
the state acquisition unit is used for determining whether the mobile terminal is in a hanging-up state or not based on the parameter value;
the first instruction information is a response of the mobile terminal to the state query message, and the second instruction information is information which is sent from the mobile terminal to the vehicle-mounted equipment actively and indicates a call state of the mobile terminal;
the state acquisition unit is specifically configured to:
determining that the mobile terminal is in a call hang-up state under the condition that the parameter value indicating the call state in the first instruction information is null and the parameter value indicating the call state in the second instruction information is zero;
the state acquisition unit is further configured to:
when the parameter value indicating the call state in the first instruction information is not empty, and the mobile terminal is in a call hang-up state before the first instruction information is received, determining that the mobile terminal is in a call starting state; and
and if the parameter value indicating the call state in the second instruction information received after the first instruction information is not empty and the mobile terminal is determined to be in the call starting state before through the first instruction information, determining that the mobile terminal is in the call proceeding state.
CN201710047326.3A 2017-01-22 2017-01-22 Communication control method, communication control device, vehicle-mounted equipment and transportation means Active CN106912002B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710047326.3A CN106912002B (en) 2017-01-22 2017-01-22 Communication control method, communication control device, vehicle-mounted equipment and transportation means

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710047326.3A CN106912002B (en) 2017-01-22 2017-01-22 Communication control method, communication control device, vehicle-mounted equipment and transportation means

Publications (2)

Publication Number Publication Date
CN106912002A CN106912002A (en) 2017-06-30
CN106912002B true CN106912002B (en) 2022-02-15

Family

ID=59206596

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710047326.3A Active CN106912002B (en) 2017-01-22 2017-01-22 Communication control method, communication control device, vehicle-mounted equipment and transportation means

Country Status (1)

Country Link
CN (1) CN106912002B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111083274A (en) * 2019-12-30 2020-04-28 北京梧桐车联科技有限责任公司 Voice acquisition method, device and system and computer readable storage medium
JP6997823B2 (en) * 2020-03-16 2022-01-18 日立建機株式会社 Work machine

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7142959B2 (en) * 2003-10-30 2006-11-28 General Motors Corporation Providing status data for vehicle maintenance
CN101227199A (en) * 2008-02-02 2008-07-23 宇龙计算机通信科技(深圳)有限公司 Apparatus and method for monitoring mobile phone state
CN101340727A (en) * 2008-08-07 2009-01-07 宇龙计算机通信科技(深圳)有限公司 Mobile terminal, multipath call control method and system
JP5011424B2 (en) * 2009-08-06 2012-08-29 アイシン・エィ・ダブリュ株式会社 In-vehicle terminal device and wireless connection program for in-vehicle terminal device
CN103108066A (en) * 2013-02-27 2013-05-15 广州番禺巨大汽车音响设备有限公司 Achieving vehicle hands-free method and system based on bluetooth communication
CN104735696B (en) * 2015-03-09 2018-06-19 惠州Tcl移动通信有限公司 Method and system are surveyed in a kind of mobile terminal call switching field based on AT instructions
CN108134867B (en) * 2016-12-01 2020-08-07 比亚迪股份有限公司 Vehicle-mounted Bluetooth telephone processing method and device

Also Published As

Publication number Publication date
CN106912002A (en) 2017-06-30

Similar Documents

Publication Publication Date Title
US8892175B2 (en) Connected phone system and method with associated bandwidth connections in a vehicle environment
US9374843B2 (en) Bluetooth-based system for automatically matching vehicle-mounted device with mobile phone terminal
CN101494474B (en) Method and terminal equipment for automatic connection of Bluetooth vehicle-mounted hands-free equipment
CN105722059B (en) Mobile terminal and communication method of dual-modem system
CN101808276A (en) Vehicle communication terminal and vehicle communication system
CN104270732A (en) Call forwarding configuration method and device
CN103401996B (en) Real-time data transmission system and method in a kind of car networking
WO2013179555A1 (en) Short-range wireless communication device
CN102647529A (en) Method for setting navigation destination by utilizing SD (secure digital) card
CN201629738U (en) Vehicle-mounted communication terminal and vehicle-mounted communication system
CN106094512B (en) The method of content-data is provided to the user of vehicle
CN102291483A (en) Vehicle-mounted communication device and switching system and switching method thereof with mobile communication device
CN106912002B (en) Communication control method, communication control device, vehicle-mounted equipment and transportation means
CN105487887B (en) Bluetooth starting method and Bluetooth device
CN102917102A (en) Vehicle-mounted telephone system and method for answering telephone in vehicle
CN112219367B (en) HARQ (hybrid automatic repeat request) time delay configuration method, HARQ time delay configuration device and storage medium
CN107395661B (en) Vehicle computer system, server and telematics control unit
KR101655823B1 (en) Method and apparatus for controlling usage of mobile device in vehicle
CN104166637A (en) Information receiving and sending method, terminal and system
US9300778B2 (en) Bluetooth headset for mobile phone
CN202448892U (en) Vehicle-mounted mobile intelligent terminal
CN106911842B (en) Communication control method, communication control device, vehicle-mounted equipment and transportation tool
CN103686295A (en) Method and system allowing set top box and mobile terminal to share Bluetooth function
CN103716069B (en) A kind of bluetooth call reminding system and method based on onboard system
CN116636241A (en) Management of interference on V2X channels by disabling on-vehicle functions

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