A method and device for detecting the operating state of a communication terminal
By real-time positioning and power information analysis of the vehicle-mounted stage in the application processor, and combined with wired detection circuits, the problem of sudden changes in the vehicle-mounted stage operating status cannot be monitored in real time, achieving high-precision and real-time operating status detection, ensuring safety and reliability.
Patent Information
- Application Number
- CN202510388095.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-31
- Publication Date
- 2025-06-13
- Estimated Expiration
- 2045-03-31
AI Technical Summary
The prior art cannot monitor and automatically report the possible state changes during operation of the vehicle-mounted platform in real time, resulting in the inability to take effective measures to avoid the occurrence of danger in an emergency.
By implementing a communication terminal's operating state detection method in the application processor, real-time positioning information and power information are obtained based on the received negative logic level transmission signal analysis, the information is fused to determine the current operating mode, and the connection state is detected through the wired detection circuit, high-precision and real-time detection of the operating state of the communication terminal are realized.
It realizes high-precision and real-time detection of the operating status of the communication terminal, which facilitates timely maintenance and repair, and avoids potential dangers caused by state mutations.
Smart Images

Figure CN119921803B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of communication technologies, and particularly relates to a method and device for detecting the operating state of a communication terminal. Background Art
[0002] There are various types of vehicles in the airport, each with different uses. From the perspective of vehicle functions, they can be divided into several categories, such as passenger transportation, baggage handling, aircraft service, pavement maintenance, and security patrol. These vehicles play an important role in the daily operation of the airport, ensuring the safety and convenience of passengers' travel and the normal operation of the airport. Usually, the management of airport vehicles is to deploy vehicle-mounted stations powered externally on airport vehicles, and through the information transmission of the vehicle-mounted stations, tasks are dispatched to airport vehicles, high-precision position reports are made, etc., and vehicle management and detection of illegal driving can also be carried out.
[0003] However, after long-term operation and use, due to human or non-human (vibration, harness dragging, etc.) factors, the operating state of the vehicle-mounted station will change (power supply or wired connection state, etc.). The existing processing methods mainly adopt preventive measures, that is, using aviation plug sockets, aviation plug cables, etc., and then strengthening them in the form of physical reinforcement to avoid loosening or being unplugged manually.
[0004] For example, Patent CN102508444A discloses a vehicle-mounted desktop control device with a rotatable tabletop and its tabletop rotation method. This control device can be used under harsh vehicle-mounted environments (such as the vibration and impact of a petroleum logging vehicle). The control device includes a main housing, an operation tabletop, a control panel, a computer, a display, and a locking device. The operation tabletop is installed on the main housing through a rotating shaft, and the tabletop can rotate freely around the rotating shaft and can be locked to the main housing in both horizontal and vertical states. When in use, the operation tabletop is opened horizontally, and when not in use, it is flipped to the vertical state and locked. A computer is installed at the lower part of the main housing, a control panel is arranged at the front of the computer, and the front panel can be opened to maintain the computer unit. A display is installed at the upper part of the main housing, and the display is fixed to the main housing by screws. This device has a compact structure, a small volume, strong mobility, is easy to carry, and is easy to operate, effectively meeting the requirements of miniaturizing the desktop control device for vehicle-mounted use.
[0005] However, for the sudden change in the operating state of a vehicle-mounted station, which is a communication terminal, during operation, real-time monitoring and automatic reporting cannot be achieved. As a result, when an emergency occurs, effective measures cannot be taken to avoid the occurrence of danger.
[0006] Therefore, how to solve the problem of state monitoring of possible sudden state changes or emergencies during the use and operation of a vehicle-mounted station is an urgent problem to be solved by those skilled in the art. Summary of the Invention
[0007] In view of the defects existing in the above-mentioned prior art, the present invention provides a method and device for detecting the operating state of a communication terminal, which are applied to an application processor connected to the communication terminal, and specifically include the following steps: Based on the analysis of the received negative logic level transmission signal, obtain the real-time positioning information of the communication terminal; Obtain the power information of the communication terminal, and fuse the positioning information and power information of the communication terminal to give the current operating mode of the communication terminal; Based on the analysis of the current operating mode of the communication terminal, and according to the wired detection circuit, detect the connection state of the communication terminal; Through tracking the change of the wired connection state of the communication terminal, perform early warning processing on the operating state of the communication terminal. The operating state detection of the communication terminal given by the present invention takes into account factors such as positioning and power, and detects and analyzes the wired connection state based on this, which can achieve high-precision and real-time detection of the operating state of the communication terminal, and is convenient for subsequent timely maintenance and repair.
[0008] In a first aspect, the present invention provides a method for detecting the operating state of a communication terminal, which is applied to an application processor connected to the communication terminal, and specifically includes the following steps:
[0009] Based on the analysis of the received negative logic level transmission signal, obtain the real-time positioning information of the communication terminal;
[0010] Obtain the power information of the communication terminal, and fuse the real-time positioning information and power information of the communication terminal to give the current operating mode of the communication terminal, wherein the operating mode of the communication terminal includes full-function operation and standby operation;
[0011] Based on the analysis of the current operating mode of the communication terminal, and according to the wired detection circuit, detect the wired connection state of the communication terminal;
[0012] Through tracking the change of the wired connection state of the communication terminal, perform early warning processing on the operating state of the communication terminal.
[0013] Further, based on the analysis of the received negative logic level transmission signal, obtaining the real-time positioning information of the communication terminal specifically includes the following steps:
[0014] Set the first communication parameter of the application processor, establish a signal transmission connection with the positioning module, wherein the signal transmission is a negative logic relationship, the positioning module is a preset module of the communication terminal, and the positioning module is initialized after being preset, and set the corresponding first communication parameter for the application processor;
[0015] Receive and parse the communication terminal positioning information or communication terminal positioning observation information sent by the positioning module to obtain the real-time positioning information of the communication terminal.
[0016] Further, after obtaining the real-time positioning information of the communication terminal, the following steps are further included:
[0017] Send a status query command to the positioning module, where the status query command is used to inquire about the health status of the embedded antenna in the positioning module;
[0018] Receive the status response returned by the positioning module, parse the status response, and give the status analysis result of the positioning module.
[0019] Furthermore, fuse the real-time positioning information and power information of the communication terminal to give the current operating mode of the communication terminal, which specifically includes the following steps:
[0020] Give the initial operating mode of the communication terminal based on the positioning information of the communication terminal;
[0021] Based on the obtained power information of the communication terminal, correct the initial operating mode of the communication terminal to give the current operating mode of the communication terminal.
[0022] Furthermore, based on the obtained power information of the communication terminal, correct the initial operating mode of the communication terminal to give the current operating mode of the communication terminal, which specifically includes the following steps:
[0023] Obtain the power information of the communication terminal and give the power health status of the communication terminal;
[0024] Based on the power health status of the communication terminal, correct the initial operating mode of the communication terminal to give the current operating mode of the communication terminal.
[0025] Furthermore, obtain the power information of the communication terminal and give the power health status of the communication terminal, which specifically includes the following steps:
[0026] Set the second communication parameter of the application processor to establish a signal transmission connection with the power module. The power module is a preset module of the communication terminal, and the power module includes a power meter unit, an external power supply, and a built-in power supply. Set the second communication parameter corresponding to the application processor in the power meter unit;
[0027] Send an instruction to read power information and a clock signal to the power meter unit. The instruction to read power information includes the address of the power meter unit, which is used for the power meter unit to perform address matching judgment and give a response to give the power information of the communication terminal;
[0028] Receive and parse the power information of the communication terminal sent by the power module, and perform threshold analysis on the power information of the communication terminal;
[0029] Based on the threshold analysis result, match the working states of the external power supply and the built-in power supply to give the analysis result of the power health status of the communication terminal.
[0030] Further, the wired detection circuit includes a first detection circuit and a second detection circuit; the first detection circuit is connected to the first contact of the communication terminal socket, one end of the wired cable is connected to the second detection circuit, and the other end of the wired cable is used to connect to the second contact of the communication terminal socket. When the other end of the wired cable contacts the second contact of the communication terminal socket, the wired cable is connected to the first detection circuit through the second contact, the first contact;
[0031] The first detection circuit includes: a first detection line and a pull-up module connected to the first detection line. One end of the first detection line is connected to the application processor pin, and the other end is connected to the first contact of the communication terminal socket, for transmitting a level signal to the application processor pin;
[0032] The second detection circuit includes: a DC power supply, an identification resistor, and a ground terminal. One end of the identification resistor is connected to the wired cable, and the other end is respectively connected to the negative pole of the DC power supply and the ground terminal. The positive pole of the DC power supply is connected to the wired cable.
[0033] Further, there are at least two pull-up modules. Each pull-up module is formed by connecting a DC constant voltage power supply and a pull-up resistor group corresponding to the DC constant voltage power supply. Each pull-up resistor group includes at least one pull-up resistor, and the pull-up resistors in each pull-up resistor group are in parallel connection;
[0034] Among them, each pull-up module is connected to the first detection line in a parallel manner.
[0035] Further, the first detection circuit further includes a filtering circuit and a comparison circuit. The first detection line is connected to the application processor pin through the filtering circuit, the connection point of the pull-up module, and the comparison circuit;
[0036] One end of the comparison circuit inputs a wired detection signal and a reference signal respectively, and the other end of the comparison circuit outputs a level signal for characterizing the wired connection state;
[0037] The filtering circuit includes a filtering resistor, a filtering capacitor, and a Schmitt trigger. Among them, one end of the filtering resistor is connected to the first contact of the communication terminal socket through the first detection line, and the other end is respectively connected to one end of the filtering capacitor and one end of the Schmitt trigger; the other end of the filtering capacitor is grounded, and the other end of the Schmitt trigger is connected to the application processor pin through the first detection line.
[0038] In a second aspect, the present invention further provides an operating state detection device for a communication terminal, adopting the operating state detection method of the communication terminal as described above, specifically including:
[0039] An information acquisition and analysis unit, configured to obtain real-time positioning information of a communication terminal based on the analysis of a received negative logic level transmission signal; obtain the power information of the communication terminal, and fuse the real-time positioning information and the power information of the communication terminal to give the current operating mode of the communication terminal, where the operating modes of the communication terminal include full-function operation and standby operation;
[0040] A detection unit, configured to detect the wired connection state of the communication terminal based on the analysis of the current operating mode of the communication terminal and according to a wired detection circuit;
[0041] An early warning processing unit, configured to perform early warning processing on the operating state of the communication terminal by tracking changes in the wired connection state of the communication terminal.
[0042] A method and device for detecting the operating state of a communication terminal provided by the present invention have at least the following beneficial effects:
[0043] (1) The detection of the operating state of the communication terminal given by the present invention takes into account factors such as positioning and power, and detects and analyzes the wired connection state based on this, enabling high-precision and real-time detection of the operating state of the communication terminal, which is convenient for subsequent timely maintenance and repair.
[0044] (2) As an external power source in the power module is connected to the communication terminal through a wired cable. At this time, the connection state of the wired cable plays a key role in the operating mode of the communication terminal. When the application processor obtains the current operating mode of the communication terminal, if it is finally determined to be in standby operation, then based on the analysis result of the power health state of the communication terminal, the wired connection state of the communication terminal is further detected, and the operating state of the communication terminal is determined by tracking changes in the wired connection state of the communication terminal.
[0045] (3) In order to achieve real-time detection of the wired connection state of the wired cable, a wired detection circuit is set up. The wired detection circuit is divided into two parts. The first wired detection circuit receives and analyzes the level signal to give the wired connection state, and the second wired detection circuit can not only provide an external power source but also verify and validate the wired connection state according to the voltage drop across the identification resistor. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 It is a structural diagram of a method and device for detecting the operating state of a communication terminal provided by the present invention;
[0047] Figure 2 It is a schematic flow chart of a method and device for detecting the operating state of a communication terminal provided by the present invention;
[0048] Figure 3 It is a schematic flow chart of giving the current operating mode of a communication terminal in a certain embodiment provided by the present invention;
[0049] Figure 4 Structural diagram for detecting the operating state of a communication terminal with a built-in power supply according to an embodiment provided by the present invention;
[0050] Figure 5 Circuit diagram of the wired detection circuit according to the first embodiment provided by the present invention;
[0051] Figure 6 Circuit diagram of the pull-up module according to an embodiment provided by the present invention;
[0052] Figure 7 Circuit diagram of the wired detection circuit according to the second embodiment provided by the present invention;
[0053] Figure 8 Schematic structural diagram of a device for detecting the operating state of a communication terminal provided by the present invention.
[0054] Explanation of reference numerals: 1 - communication terminal, 11 - positioning module, 12 - power module, 121 - coulometer unit, 122 - external power supply, 123 - built-in power supply, 13 - communication terminal socket, 2 - application processor, 21 - wired detection circuit, 211 - first detection circuit, 2111 - first detection line, 2112 - pull-up module, 21121 - DC constant voltage power supply, 21122 - pull-up resistor group, 2113 - filtering circuit, 21131 - filtering resistor, 21132 - filtering capacitor, 21133 - Schmitt trigger, 2114 - comparison circuit, 212 - second detection circuit, 2121 - DC power supply, 2122 - identification resistor, 22 - application processor pin, 3 - wired cable. Detailed implementation manners
[0055] In order to better understand the above technical solutions, the following will describe the above technical solutions in detail in conjunction with the accompanying drawings of the specification and specific implementation manners. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present invention.
[0056] The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "the" and "said" used in the embodiments of the present invention and the appended claims are also intended to include the plural forms, unless the context clearly indicates otherwise. "Plural" generally includes at least two.
[0057] It should also be noted that the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, such that a commodity or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such commodity or device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the commodity or device comprising said element.
[0058] For the in-vehicle station deployed in airport vehicles, the management and behavior detection of vehicles within the airport are achieved by task dispatching to the vehicles and high-precision position reporting. Due to the external power supply and the plug-and-play connection method of external devices of the in-vehicle station, abnormal situations are likely to occur during use. Such abnormal situations may be caused by humans or may be due to power disconnection or external accessory removal caused by non-human factors.
[0059] In order to achieve real-time monitoring of the operating status of communication terminals such as in-vehicle stations and timely identify abnormal situations in the plug-and-play connection status of external power supplies and external wired cables, it is necessary to start from factors such as the communication positioning implemented by the in-vehicle station and the power status of the in-vehicle station itself, and combine the built wired detection circuit to detect the wired connection status of the communication terminal in a specific operating mode and report the detected abnormal situations to the background for timely and effective maintenance and repair.
[0060] As Figure 1 shown, the operating status of the communication terminal 1 is detected by setting the application processor 2. The application processor 2 is connected to the communication terminal 1. In a certain embodiment, the connection between the application processor 2 and the communication terminal 1 is a wired connection. The application processor 2 receives signal data from the communication terminal 1 and analyzes the signal data, thereby realizing the judgment and identification of the operating status of the communication terminal 1.
[0061] The detection of the operating status of the communication terminal can be achieved through the application processor as Figure 2 shown. The present invention provides a method for detecting the operating status of a communication terminal, which is applied to an application processor connected to the communication terminal and specifically includes the following steps:
[0062] Based on the analysis of the received negative logic level transmission signal, obtain the real-time positioning information of the communication terminal;
[0063] Obtain the power information of the communication terminal, and fuse the real-time positioning information and power information of the communication terminal to give the current operating mode of the communication terminal, where the operating mode of the communication terminal includes full-function operation and standby operation;
[0064] Based on the analysis of the current operating mode of the communication terminal, the wired connection status of the communication terminal is detected by a wired detection circuit;
[0065] By tracking the change of the wired connection status of the communication terminal, early warning processing is performed on the operating status of the communication terminal.
[0066] For a communication terminal such as a vehicle-mounted station, it realizes the functions of vehicle positioning and management. For the detection of the operating status of the communication terminal, it is necessary to start from the functions it realizes, consider indicators such as positioning and battery power, and analyze the current operating mode of the vehicle-mounted station based on this. If it is in the standby operating mode at this time, then detect and analyze the wired connection status, and analyze the reason for the standby operating mode, which can realize high-precision and real-time detection of the operating status of the communication terminal, facilitating subsequent timely maintenance and repair.
[0067] Among them, based on the analysis of the received negative logic level transmission signal, the real-time positioning information of the communication terminal is obtained, and the specific steps are as follows:
[0068] Set the first communication parameter of the application processor to establish a signal transmission connection with the positioning module. Among them, the signal transmission is a negative logic relationship, the positioning module is a preset module of the communication terminal, and the positioning module is initialized after being preset, and the first communication parameter corresponding to the application processor is set;
[0069] Receive and analyze the communication terminal positioning information or communication terminal positioning observation information sent by the positioning module to obtain the real-time positioning information of the communication terminal.
[0070] As Figure 1 shown, the positioning module 11 of the communication terminal can be an external hardware device or an embedded device. Here, the specific form of the positioning module is not limited. For example, the positioning module can be a GPS positioning module. The GPS positioning module receives satellite signals through its internal radio frequency antenna, and calculates the position information of the communication terminal through the time difference of arrival (TOF) or time of arrival (TOA) of the satellite signals, so as to be able to obtain the real-time positioning information of the communication terminal. At the same time, due to the different types of positioning modules, the application processor may receive communication terminal positioning information or communication terminal positioning observation information; if the received is communication terminal positioning observation information (that is, pseudorange data and carrier phase data), then it is processed according to the corresponding algorithm to give the real-time positioning information of the communication terminal.
[0071] To determine that the positioning module and the application processor can correctly send and receive data, it is necessary to initialize the positioning module and simultaneously set the first communication parameters for the application processor and the positioning module. The first communication parameters include baud rate, data bits, stop bits, and parity bits. With the above settings for the first communication parameters, the high-precision positioning module and the application processor can correctly send and receive data, ensuring the accuracy and reliability of the positioning data transmission.
[0072] Meanwhile, for the serial communication standard between the application processor and the communication terminal, a negative logic relationship can be adopted. This negative logic relationship means that logic "1" represents a lower voltage and logic "0" represents a higher voltage. In a specific communication standard, logic "1" corresponds to a voltage of -5V to -15V, and logic "0" corresponds to a voltage of +5V to +15V. This negative logic relationship can ensure the stability and reliability of the positioning signal during transmission. Thus, effective data transmission between the communication terminal and the application processor within a short distance is achieved.
[0073] In addition, after obtaining the real-time positioning information of the communication terminal, the following steps are also included:
[0074] Send a status query command to the positioning module, where the status query command is used to inquire about the health status of the embedded antenna in the positioning module;
[0075] Receive the status response returned by the positioning module and parse the status response to give the status analysis result of the positioning module.
[0076] After obtaining the real-time positioning information of the communication terminal, the operation status of the high-precision positioning module can be ensured through the interaction link between the application processor and the communication terminal to guarantee the accuracy of the positioning information. In a specific embodiment, the interaction link between the application processor and the communication terminal is the status query process. The application processor sends a status query command to the positioning module of the communication terminal. The format of this status query command can be a specific string or byte sequence, which is used to request the high-precision positioning module to return the health status of the embedded antenna. Of course, the logic of sending the status query command can also adopt a negative logic relationship, that is, logic "1" corresponds to a voltage of -5V to -15V, and logic "0" corresponds to a voltage of +5V to +15V.
[0077] The corresponding unit inside the application processor parses the received status response, identifies the health status of the antenna, and gives the status analysis result of the positioning module. If the status response indicates that the antenna connection is normal, the application processor can continue to normally receive and process the positioning information sent by the positioning module. If the status response indicates that the antenna connection is abnormal, the application processor can take corresponding measures, such as prompting the user to check the antenna connection, recording the fault information, or entering the fault mode.
[0078] As shown Figure 3 in the figure, the real-time location information and power information of the converged communication terminal are integrated to obtain the current operating mode of the communication terminal. The specific steps are as follows:
[0079] Obtain the initial operating mode of the communication terminal based on the location information of the communication terminal;
[0080] Based on the obtained power information of the communication terminal, correct the initial operating mode of the communication terminal to obtain the current operating mode of the communication terminal.
[0081] The operating modes of the communication terminal include at least two modes: full-function operation and standby operation. Among them, full-function operation means that the communication terminal is in a normal working state, and all functions are activated and available; standby operation means a low-power state when no communication or other operations are performed.
[0082] After the application processor obtains the real-time location information of the communication terminal, it performs cumulative tracking analysis on the real-time location information. Based on the change of the real-time location information of the communication terminal, it determines whether the communication terminal is currently in full-function operation or standby operation mode. For example, if the real-time location information does not change within the first threshold time, it is preliminarily determined that the communication terminal is in standby operation mode; otherwise, it can be considered that the communication terminal is in full-function operation mode.
[0083] Of course, the operating modes of the communication terminal can also include other modes. The matching between the real-time location information and the operating mode of the communication terminal can also be defined by setting other threshold times, change thresholds of the real-time location information, etc. However, the change of the operating mode of the communication terminal through the threshold time and the change threshold of the real-time location information may be inaccurate in some specific scenarios. For example, a vehicle performing airport maintenance may not have a change in real-time location information for a long time due to the maintenance scenario and difficulty. Therefore, after obtaining the initial operating mode of the communication terminal based on the location information of the communication terminal, the initial operating mode of the communication terminal can be corrected through the power information of the communication terminal to obtain the final operating mode of the communication terminal.
[0084] Therefore, based on the obtained power information of the communication terminal, correct the initial operating mode of the communication terminal to obtain the current operating mode of the communication terminal. The specific steps are as follows:
[0085] Obtain the power information of the communication terminal to obtain the power health status of the communication terminal;
[0086] Based on the power health status of the communication terminal, correct the initial operating mode of the communication terminal to obtain the current operating mode of the communication terminal.
[0087] Specifically, asFigure 4 As shown, obtain the power information of the communication terminal and give the power health status of the communication terminal. The specific steps are as follows:
[0088] Set the second communication parameter of the application processor to establish a signal transmission connection with the power module. The power module is a preset module of the communication terminal, which includes a power meter unit, an external power supply, and a built-in power supply. Set the second communication parameter corresponding to the application processor in the power meter unit;
[0089] Send an instruction to read the power information and a clock signal to the power meter unit. The instruction to read the power information includes the address of the power meter unit, which is used for the power meter unit to perform address matching judgment and respond, and give the power information of the communication terminal;
[0090] Receive and analyze the power information of the communication terminal sent by the power module, and perform threshold analysis on the power information of the communication terminal;
[0091] Based on the threshold analysis result, match the working states of the external power supply and the built-in power supply, and give the analysis result of the power health status of the communication terminal.
[0092] As Figure 1 shown, the power module 12 of the communication terminal includes an external power supply 122 and a built-in power supply 123. Among them, the external power supply 122 mainly provides the power used by the communication terminal, and the built-in power supply 123 is used as a backup power supply. When the external power supply 122 fails, it provides a preset power, and this preset power can enable the communication terminal to be in a standby operation mode.
[0093] In a specific embodiment, the preset power is the threshold for performing threshold analysis on the power information of the communication terminal. If it is higher than the preset power, it means that the external power supply is in a working state and the power health status of the communication terminal is good. If it is equal to the preset power or even no power is detected, it means that only the built-in power supply is working or neither the external power supply nor the built-in power supply is working. At this time, the power health status of the communication terminal is poor and requires manual intervention for processing.
[0094] The power module 12 further includes a fuel gauge unit 121. The power module 12 transmits signals to and from the application processor 2 through the fuel gauge unit 121. During the transmission between the fuel gauge unit and the application processor, the application processor acts as the master device, and the fuel gauge unit acts as the slave device. The hardware connection between the application processor and the fuel gauge unit is through a serial data line and a serial clock line. Then, by separately setting the second communication parameters of the master device and the slave device, the signal transmission between the master device and the slave device is established. Among them, the second communication parameters include the clock frequency and the slave device address. The application processor, as the master device, sends an instruction to read the power information to the fuel gauge unit. Among them, the instruction to read the power information includes the fuel gauge unit address of the slave device. After receiving the instruction to read the power information sent by the application processor, the fuel gauge unit makes a matching judgment through the fuel gauge unit address in the instruction to read the power information, makes a response, and feeds back the power information of the communication terminal to the application processor. The application processor analyzes the received data and gives the analysis result of the power health status of the communication terminal.
[0095] The application processor and the fuel gauge unit are connected through a serial data line and a serial clock line. The application processor sends an instruction to read the power information to the fuel gauge unit through the serial data line, and also receives the power information of the communication terminal fed back from the fuel gauge unit through the serial data line. At the same time, when the application processor sends an instruction to read the power information to the fuel gauge unit through the serial data line, the application processor also sends a clock signal to the fuel gauge unit through the serial clock line. If the power information of the communication terminal fed back from the fuel gauge unit cannot be received through the serial data line beyond the preset time, a result of communication non-response is fed back.
[0096] In a specific application scenario, an external power supply in the power module is connected to the communication terminal through a wired cable. At this time, the connection state of the wired cable plays a key role in the operation mode of the communication terminal. When the application processor obtains the current operation mode of the communication terminal, if it is finally determined to be in standby operation, based on the analysis result of the power health status of the communication terminal, the wired connection state of the communication terminal is further detected, and the operation state of the communication terminal is determined by tracking the change of the wired connection state of the communication terminal.
[0097] To detect the wired connection state of the communication terminal in real time, a wired detection circuit needs to be set up. Specifically, such as Figure 5As shown, the wired detection circuit 21 includes a first detection circuit 211 and a second detection circuit 212; the first detection circuit 211 is connected to the first contact of the communication terminal socket 13, one end of the wired cable 3 is connected to the second detection circuit 212, and the other end of the wired cable 3 is used to connect to the second contact of the communication terminal socket 13, and when the other end of the wired cable 3 contacts the second contact of the communication terminal socket 13, the wired cable 3 is connected to the first detection circuit 211 through the second contact and the first contact;
[0098] The first detection circuit 211 includes: a first detection line 2111 and a pull-up module 2112 connected to the first detection line 2111, one end of the first detection line 2111 is connected to the application processor pin 22, and the other end is connected to the first contact of the communication terminal socket 13, for transmitting a level signal to the application processor pin 22;
[0099] The second detection circuit 212 includes: a DC power supply 2121, an identification resistor 2122 and a ground terminal. One end of the identification resistor 2122 is connected to the wired cable 3, and the other end is respectively connected to the negative electrode of the DC power supply 2121 and the ground terminal. The positive electrode of the DC power supply 2121 is connected to the wired cable 3.
[0100] The communication terminal is provided with a socket, and the type of the socket can be an aviation plug socket. The wired cable can use an aviation plug cable, and the aviation plug cable is connected to the aviation plug socket to realize the connection between the external power supply and the communication terminal. In order to realize the real-time detection of the wired connection status of the wired cable, a wired detection circuit is set. The wired detection circuit is divided into two parts, wherein the first wired detection circuit receives and analyzes the level signal and gives the wired connection status, and the second wired detection circuit can provide an external power supply and can review and verify the wired connection status according to the voltage drop across the identification resistor.
[0101] At this time, the first contact of the communication terminal socket is connected to the second contact, and the external power supply in the power module of the communication terminal is integrated into the second detection circuit, that is, the DC power supply in the second detection circuit.
[0102] Among them, Figure 6 As shown, there are at least two pull-up modules 2112, each of which includes: a DC constant voltage power supply 21121 and a pull-up resistor group 21122 corresponding to the DC constant voltage power supply 21121, each pull-up resistor group 21122 includes at least one pull-up resistor, and each pull-up resistor in each pull-up resistor group 21122 is in parallel relationship;
[0103] Each DC constant voltage power supply 21121 is connected to a corresponding pull-up resistor group 21122 to form a pull-up module 2112 , and each pull-up module 2112 is connected to the first detection line 2111 in parallel.
[0104] The first detection line is connected to both the first contact of the communication terminal socket and the pull-up module. When the pull-up module is provided in the first detection circuit and the second detection circuit is connected to the ground terminal, when the wired cable is not connected to the communication terminal socket, the DC constant voltage power supply gives a high-level signal through the pull-up resistor group, and the level signal transmitted by the first detection circuit to the application processor pin is high level; when the wired cable is connected to the communication terminal socket, the grounded second detection circuit gives a low level, and the level signal transmitted by the first detection circuit to the application processor pin is low level.
[0105] To ensure the reliability and flexibility of the first detection circuit, multiple pull-up modules are provided. Each pull-up module is provided with a pull-up resistor group composed of multiple pull-up resistors. By providing redundant DC constant voltage power supplies and pull-up resistors, it is ensured that when one pull-up module fails, the first detection circuit can still work normally. In addition, multiple pull-up modules can also better reduce the noise of the DC constant voltage power supply, provide stability, and facilitate the management of the DC constant voltage power supply.
[0106] In addition, as Figure 7 shown, the first detection circuit 211 further includes a filter circuit 2113 and a comparison circuit 2114. The first detection line 2111 is connected to the application processor pin 22 through the filter circuit 2113, the pull-up module connection point, and the comparison circuit 2114;
[0107] One end of the comparison circuit 2114 inputs a wired detection signal and a reference signal respectively, and the other end of the comparison circuit 2114 outputs a level signal for characterizing the wired connection state;
[0108] The filter circuit 2113 includes a filter resistor 21131, a filter capacitor 21132, and a Schmitt trigger 21133. Among them, one end of the filter resistor 21131 is connected to the first contact of the communication terminal socket 13 through the first detection line 2111, and the other end is respectively connected to one end of the filter capacitor 21132 and one end of the Schmitt trigger 21133; the other end of the filter capacitor 21132 is grounded, and the other end of the Schmitt trigger 21133 is connected to the application processor pin 22 through the first detection line 2111.
[0109] To avoid electromagnetic interference and signal reflection, a filter circuit is provided in the first detection circuit to filter the signal of the first detection line. Among them, the filter circuit includes a filter resistor, a filter capacitor, and a Schmitt trigger. The filter resistor and the filter capacitor are used to filter out the high-frequency noise in the signal, and then the signal is further stabilized through the Schmitt trigger to reduce signal jitter.
[0110] One end of the comparison circuit is also connected to a reference signal, which is used to determine whether the wired detection signal is larger or smaller than the reference signal by comparing it with the wired detection signal, and feedback a high-level or low-level signal, which is transmitted to the application processor through the application processor pin, and is used to indicate the wired connection state of the communication terminal.
[0111] In a second aspect, as Figure 8 shown, the present invention also provides an operating state detection device for a communication terminal, which adopts the operating state detection method of the above-mentioned communication terminal, and specifically includes:
[0112] An information acquisition and analysis unit, which is used to obtain the real-time positioning information of the communication terminal based on the analysis of the received negative logic level transmission signal; obtain the power information of the communication terminal, and fuse the real-time positioning information and power information of the communication terminal to give the current operating mode of the communication terminal, where the operating mode of the communication terminal includes full-function operation and standby operation;
[0113] A detection unit, which is used to detect the wired connection state of the communication terminal based on the analysis of the current operating mode of the communication terminal and according to the wired detection circuit;
[0114] An early warning processing unit, which is used to track the change of the wired connection state of the communication terminal and perform early warning processing on the operating state of the communication terminal.
[0115] An operating state detection method and device for a communication terminal provided by the present invention have at least the following beneficial effects:
[0116] (1) The operating state detection of the communication terminal given by the present invention considers factors such as positioning and power, and detects and analyzes the wired connection state based on this, which can achieve high-precision and real-time detection of the operating state of the communication terminal, and is convenient for subsequent timely maintenance and repair.
[0117] (2) As an external power supply in the power module is connected to the communication terminal through a wired cable. At this time, the connection state of the wired cable plays a key role in the operating mode of the communication terminal. When the application processor obtains the current operating mode of the communication terminal, if it is finally determined to be in standby operation, then based on the analysis result of the power health state of the communication terminal, the wired connection state of the communication terminal is further detected, and the operating state of the communication terminal is determined by tracking the change of the wired connection state of the communication terminal.
[0118] (3) In order to achieve real-time detection of the wired connection state of the wired cable, a wired detection circuit is set up. The wired detection circuit is divided into two parts. The first wired detection circuit receives and analyzes the level signal to give the wired connection state, and the second wired detection circuit can not only provide an external power supply but also verify and confirm the wired connection state according to the voltage drop across the identification resistor.
[0119] Although the preferred embodiments of the present invention have been described, additional changes and modifications can be made by those skilled in the art once they learn of the basic inventive concept. Therefore, the appended claims are intended to be construed to include the preferred embodiments as well as all changes and modifications that fall within the scope of the present invention. Obviously, those skilled in the art can make various changes and variations to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention is also intended to include these modifications and variations.
Claims
1. A method for detecting the operating status of a communication terminal, applied to an application processor connected to the communication terminal, characterized in that: The specific steps include: Based on the analysis of the received negative logic level transmission signal, the real-time positioning information of the communication terminal is obtained; The power information of the communication terminal is obtained, and the real-time positioning information and the power information of the communication terminal are integrated to give the current operation mode of the communication terminal, wherein the operation mode of the communication terminal includes full-function operation and standby operation, and specifically includes the following steps: the initial operation mode of the communication terminal is given through the positioning information of the communication terminal, if the real-time positioning information does not change within the first threshold time, it is preliminarily determined that the communication terminal is in the standby operation mode, otherwise, it is preliminarily determined that the communication terminal is in the full-function operation mode; the power information of the communication terminal is obtained, and the power health status of the communication terminal is given. If the power information of the communication terminal is higher than the preset power, it is determined that the external power supply is in a working state, and the power health status of the communication terminal is good. If the power information of the communication terminal is equal to the preset power or the power is not measured, it is determined that only the built-in power supply is working or both the external power supply and the built-in power supply are not working, and the power health status of the communication terminal is poor; based on the power health status of the communication terminal, the initial operation mode of the communication terminal is corrected to give the current operation mode of the communication terminal; Based on the analysis of the current operation mode of the communication terminal, when it is determined that the current operation mode of the communication terminal is standby operation, the wired connection state of the communication terminal is detected according to the wired detection circuit, and the wired detection circuit includes a first detection circuit and a second detection circuit; the first detection circuit is connected to the first contact of the communication terminal socket, one end of the wired cable is connected to the second detection circuit, and the other end of the wired cable is used to connect to the second contact of the communication terminal socket, and when the other end of the wired cable contacts the second contact of the communication terminal socket, the wired cable is connected to the first detection circuit through the second contact and the first contact, wherein the first detection circuit is used to receive and analyze the level signal to determine the wired connection state, and the second detection circuit is used to provide an external power supply, and to review and verify the wired connection state according to the voltage drop across the identification resistor; By tracking the changes in the wired connection status of the communication terminal, early warning processing is performed on the operation status of the communication terminal.
2. The method for detecting the operating status of a communication terminal according to claim 1, characterized in that: Based on the analysis of the received negative logic level transmission signal, the real-time positioning information of the communication terminal is obtained, which specifically includes the following steps: Setting a first communication parameter of the application processor, establishing a signal transmission connection with the positioning module, wherein the signal transmission is a negative logic relationship, the positioning module is a preset module of the communication terminal, and the positioning module performs initialization processing after being preset, and sets a first communication parameter corresponding to the application processor; Receive and parse the communication terminal positioning information or communication terminal positioning observation information sent by the positioning module to obtain the real-time positioning information of the communication terminal.
3. The method for detecting the operating status of a communication terminal according to claim 2, characterized in that: After obtaining the real-time positioning information of the communication terminal, the following steps are also included: Sending a status query command to the positioning module, wherein the status query command is used to inquire about the health status of the embedded antenna in the positioning module; Receive the status response returned by the positioning module, parse the status response, and give the status analysis result of the positioning module.
4. The method for detecting the operating status of a communication terminal according to claim 1, wherein: Obtaining the power information of the communication terminal and providing the power health status of the communication terminal specifically includes the following steps: Setting a second communication parameter of the application processor to establish a signal transmission connection with the power module, wherein the power module is a preset module of the communication terminal, the power module includes a power meter unit, an external power supply and a built-in power supply, and setting the second communication parameter corresponding to the application processor in the power meter unit; Sending an instruction to read the power information and a clock signal to the power meter unit, wherein the instruction to read the power information includes the power meter unit address, which is used for the power meter unit to perform address matching judgment, respond, and provide the communication terminal power information; Receive and analyze the communication terminal power information sent by the power module, and compare and analyze the communication terminal power information with the preset power; Based on the comparative analysis results, the working status of the external power supply and the built-in power supply are matched, and the power health status analysis results of the communication terminal are given.
5. The method for detecting the operating status of a communication terminal according to claim 1, wherein: The first detection circuit includes: a first detection line and a pull-up module connected to the first detection line, one end of the first detection line is connected to the application processor pin, and the other end is connected to the first contact of the communication terminal socket, for transmitting a level signal to the application processor pin; The second detection circuit includes: a DC power supply, an identification resistor and a ground terminal, one end of the identification resistor is connected to the wired cable, and the other end is respectively connected to the negative electrode of the DC power supply and the ground terminal, and the positive electrode of the DC power supply is connected to the wired cable.
6. The method for detecting the operating status of a communication terminal according to claim 5, characterized in that: There are at least two pull-up modules, each of which includes: a DC constant voltage power supply and a pull-up resistor group corresponding to the DC constant voltage power supply, each pull-up resistor group includes at least one pull-up resistor, and each pull-up resistor in each pull-up resistor group is in parallel relationship; Wherein, each DC constant voltage power supply is connected to a corresponding pull-up resistor group, and each pull-up module is connected to the first detection line in parallel.
7. The method for detecting the operating status of a communication terminal according to claim 5, characterized in that: The first detection circuit also includes a filter circuit and a comparison circuit, and the first detection line is connected to the application processor pin via the filter circuit, the pull-up module connection point and the comparison circuit; One end of the comparison circuit inputs the wired detection signal and the reference signal respectively, and the other end of the comparison circuit outputs a level signal for representing the wired connection state; The filter circuit includes a filter resistor, a filter capacitor, and a Schmitt trigger, wherein one end of the filter resistor is connected to the first contact of the communication terminal socket via a first detection line, and the other end is respectively connected to one end of the filter capacitor and one end of the Schmitt trigger; the other end of the filter capacitor is grounded, and the other end of the Schmitt trigger is connected to the application processor pin via the first detection line.
8. A communication terminal operation status detection device, characterized in that: The method for detecting the operating status of a communication terminal according to any one of claims 1 to 7 specifically comprises: An information acquisition and analysis unit is used to acquire the real-time positioning information of the communication terminal based on the analysis of the received negative logic level transmission signal; acquire the power information of the communication terminal, and integrate the real-time positioning information and the power information of the communication terminal to give the current operation mode of the communication terminal, wherein the operation mode of the communication terminal includes full-function operation and standby operation, specifically including the following steps: giving the initial operation mode of the communication terminal through the positioning information of the communication terminal, if the real-time positioning information does not change within the first threshold time, it is preliminarily determined that the communication terminal is in the standby operation mode, otherwise, it is preliminarily determined that the communication terminal is in the full-function operation mode; acquire the power information of the communication terminal and give the power health status of the communication terminal, if the power information of the communication terminal is higher than the preset power, it is determined that the external power supply is in the working state, and the power health status of the communication terminal is good, if the power information of the communication terminal is equal to the preset power or the power is not measured, it is determined that only the built-in power supply is working or both the external power supply and the built-in power supply are not working, and the power health status of the communication terminal is poor; based on the power health status of the communication terminal, the initial operation mode of the communication terminal is corrected to give the current operation mode of the communication terminal; A detection unit, for, based on an analysis of a current operation mode of a communication terminal, when it is determined that the current operation mode of the communication terminal is standby operation, detecting the wired connection state of the communication terminal according to a wired detection circuit, the wired detection circuit comprising a first detection circuit and a second detection circuit; the first detection circuit is connected to a first contact of a communication terminal socket, one end of a wired cable is connected to the second detection circuit, the other end of the wired cable is used to connect to a second contact of the communication terminal socket, and when the other end of the wired cable contacts the second contact of the communication terminal socket, the wired cable is connected to the first detection circuit through the second contact and the first contact, wherein the first detection circuit is used to receive and analyze a level signal to determine a wired connection state, and the second detection circuit is used to provide an external power supply, and to review and verify the wired connection state according to a voltage drop across an identification resistor; The early warning processing unit is used to perform early warning processing on the operation status of the communication terminal by tracking the changes in the wired connection status of the communication terminal.
Citation Information
Patent Citations
Vehicle desktop control device with table top capable of being turned over, and table top turning over method of the same
CN102508444A
WLAN connection method and apparatus during sleep period of terminal
CN108377464A
Prompting device of system state
TWM242778U