A communication method and device for switching big data and low power consumption of an on-board terminal

By switching the TCP/UDP link between the multimedia acquisition chip and the microcontroller in the vehicle terminal, the problem of poor compatibility between big data and low power switching is solved, and efficient power consumption management of the device in different states is achieved.

CN116192989BActive Publication Date: 2025-09-30BEIJING FENGYUN KECHUANG INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310078416.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-17
Publication Date
2025-09-30
Estimated Expiration
2043-01-17

AI Technical Summary

Technical Problem

Existing in-vehicle terminals have difficulty in effectively switching between big data and low power consumption, resulting in a loss of balance in power consumption.

Method used

By switching the TCP/UDP link between the multimedia acquisition chip and the microcontroller, and using the AT command set of the serial port and USB interface, the low-power and high-power switching of the device in the sleep and wake-up states can be achieved, including initialization, link establishment, information transmission and status query.

Benefits of technology

The power consumption of the device between multimedia information transmission and positioning information transmission is optimized, and efficient switching of the device between different states is achieved, reducing overall power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116192989B_ABST
    Figure CN116192989B_ABST
Patent Text Reader

Abstract

The present invention discloses a communication method and device for switching big data and low power consumption of an on-board terminal, which relates to the technical field of on-board terminals. The method includes: after a preset device switches from a power-off state to a power-on state, the communication module state is transmitted to a multimedia processor via a serial port; after the multimedia processor is powered on, the communication module state of a single-chip microcomputer is received via a serial port; if a link is not established, a link is established; if a link is established, network communication is started and multimedia information is transmitted; the single-chip microcomputer queries the transmission protocol link connection state of the communication module via a serial AT port in real time; if the preset device enters a dormant state, the multimedia processor performs a shutdown process and notifies the single-chip microcomputer via a serial port to enter a dormant state and a low power consumption state; the single-chip microcomputer sends GPS positioning information to the transmission protocol link via a serial AT port; if the preset device enters an awakened state, the single-chip microcomputer stops sending the serial port GPS positioning information of the transmission protocol link and returns to starting the multimedia processor. This improves communication compatibility.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle terminal technology, and more specifically, to a communication method and device for switching between big data and low power consumption of a vehicle-mounted terminal. Background Art

[0002] The vehicle-mounted terminal is the front-end equipment of the vehicle monitoring and management system, and can also be called the vehicle dispatch monitoring terminal (TCU terminal).

[0003] Generally, multimedia acquisition chips have high power consumption. When using a 4G network card to transmit multimedia information online, high power consumption is required to support it. After the device goes into sleep mode, low-power network positioning information transmission cannot be performed.

[0004] Therefore, how to adaptively switch between big data and low power consumption is a technical problem that needs to be solved. Summary of the Invention

[0005] The present invention provides a communication method for switching between big data and low power consumption in an on-board terminal, which is used to solve the technical problems in the prior art of poor compatibility between big data and low power consumption and inability to effectively switch between the two. The method is applied to a preset device including a communication module, a single-chip microcomputer, and a multimedia processor, wherein the communication module is connected to the multimedia processor via a USB, the communication module is connected to the single-chip microcomputer via a serial port, and the single-chip microcomputer and the multimedia processor are connected via a serial port. The method includes:

[0006] After the preset device switches from the power-off state to the power-on state, the single-chip microcomputer initializes the communication module through the serial port AT instruction set and transmits the communication module status to the multimedia processor through the serial port;

[0007] Start the multimedia processor. After the multimedia processor is turned on, it receives the communication module status of the microcontroller through the serial port and waits for the communication module to register and access the Internet.

[0008] After the multimedia processor waits for the communication module to access the Internet normally, it queries the link of the transmission protocol through the AT channel of the USB. If the link is not established, it establishes the link. If the link is established, it starts network communication and transmits multimedia information.

[0009] The single chip microcomputer queries the transmission protocol link connection status of the communication module in real time through the serial port AT;

[0010] If the preset device enters the sleep state, the multimedia processor performs shutdown processing and notifies the microcontroller through the serial port to enter the sleep state and low power consumption state;

[0011] The microcontroller sends the GPS positioning information to the transmission protocol link through the serial AT port;

[0012] If the preset device enters the awake state, the microcontroller stops sending the serial port GPS positioning information of the transmission protocol link and returns to starting the multimedia processor.

[0013] In some embodiments of the present application, after the microcontroller queries the transmission protocol link connection status of the communication module in real time through the serial AT port, the method further includes:

[0014] If the preset device does not enter the sleep state, the multimedia processor is returned to send the multimedia information to the transmission protocol link through the USB AT instruction set.

[0015] In some embodiments of the present application, the method further includes:

[0016] If the preset device does not enter the awake state, it returns to the microcontroller to send the GPS positioning information to the transmission protocol link through the serial port AT.

[0017] In some embodiments of the present application, the method further includes:

[0018] If the communication module cannot access the Internet, the multimedia processor waits until the communication module can access the Internet.

[0019] Correspondingly, the present application also provides a communication device for switching big data and low power consumption of an in-vehicle terminal, which is applied to a preset device including a communication module, a single-chip microcomputer and a multimedia processor, and the communication module is connected to the multimedia processor via a USB, the communication module is connected to the single-chip microcomputer via a serial port, and the single-chip microcomputer and the multimedia processor are connected via a serial port. The communication device includes:

[0020] The first module is used to preset that after the device switches from a power-off state to a power-on state, the microcontroller initializes the communication module through the serial port AT instruction set and transmits the communication module status to the multimedia processor through the serial port;

[0021] The second module is used to start the multimedia processor. After the multimedia processor is started, it receives the communication module status of the microcontroller through the serial port and waits for the communication module to register and access the Internet.

[0022] The third module is used for the multimedia processor to wait for the communication module to be able to access the Internet normally, and then perform a link query of the transmission protocol through the USB AT channel. If the link is not established, it will establish the link. If the link is established, it will start network communication and transmit multimedia information;

[0023] The fourth module is used for the single chip microcomputer to query the transmission protocol link connection status of the communication module through the serial port AT in real time;

[0024] The fifth module is used for shutting down the multimedia processor and notifying the microcontroller through the serial port to enter the sleep state and low power consumption state if the preset device enters the sleep state;

[0025] The sixth module is used for the single chip microcomputer to send GPS positioning information to the transmission protocol link through the serial AT port;

[0026] The seventh module is used to stop the serial port GPS positioning information transmission of the transmission protocol link and return to start the multimedia processor if the preset device enters the awake state.

[0027] In some embodiments of the present application, the communication device further includes an eighth module configured to:

[0028] If the preset device does not enter the sleep state, the multimedia processor is returned to send the multimedia information to the transmission protocol link through the USB AT instruction set.

[0029] In some embodiments of the present application, the communication device further includes a ninth module configured to:

[0030] If the preset device does not enter the awake state, it returns to the microcontroller to send the GPS positioning information to the transmission protocol link through the serial port AT.

[0031] In some embodiments of the present application, the communication device further includes a tenth module, configured to:

[0032] If the communication module cannot access the Internet, the multimedia processor waits until the communication module can access the Internet.

[0033] By applying the above technical solution, after the preset device switches from a power-off state to a power-on state, the single-chip microcomputer initializes the communication module through the serial port AT instruction set and transmits the communication module status to the multimedia processor through the serial port; the multimedia processor is started, and after the multimedia processor is turned on, it receives the communication module status of the single-chip microcomputer through the serial port and waits for the communication module to register and access the Internet; after the multimedia processor waits for the communication module to be able to access the Internet normally, it queries the link of the transmission protocol through the AT channel of the USB, and if the link is not established, it establishes the link; if the link is established, it starts network communication and transmits multimedia information; the single-chip microcomputer queries the transmission protocol link connection status of the communication module through the serial port AT in real time; if the preset device enters a sleep state, the multimedia processor shuts down and notifies the single-chip microcomputer through the serial port to enter a sleep state and a low-power state; the single-chip microcomputer sends GPS positioning information to the transmission protocol link through the serial port AT; if the preset device enters a wake-up state, the single-chip microcomputer stops sending the serial port GPS positioning information of the transmission protocol link and returns to starting the multimedia processor. This application switches the TCP / UDP link between the multimedia acquisition chip and the single-chip microcomputer to complete the switching between the high power consumption of multimedia information when the device is running and the low power consumption of positioning information when the device is running, thereby optimizing the power consumption problem of the device. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0035] Figure 1 A schematic flow chart showing a communication method for switching between big data and low power consumption of an in-vehicle terminal according to an embodiment of the present invention is shown;

[0036] Figure 2 A schematic diagram showing the structure of a communication device for switching between big data and low power consumption of an in-vehicle terminal proposed in an embodiment of the present invention is shown;

[0037] Figure 3 A schematic diagram showing the connection of a preset device according to another embodiment of the present invention is shown;

[0038] Figure 4 A schematic flow chart of a switching method proposed in another embodiment of the present invention is shown. DETAILED DESCRIPTION

[0039] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0040] The embodiment of the present application provides a communication method for switching between big data and low power consumption of an in-vehicle terminal. The method is applied to a preset device including a communication module, a single-chip microcomputer and a multimedia processor, and the communication module is connected to the multimedia processor via a USB, the communication module is connected to the single-chip microcomputer via a serial port, and the single-chip microcomputer and the multimedia processor are connected via a serial port. Figure 1 As shown, the method includes the following steps:

[0041] Step S101, after the preset device switches from a power-off state to a power-on state, the single-chip microcomputer initializes the communication module through the serial port AT instruction set and transmits the communication module status to the multimedia processor through the serial port;

[0042] Step S102, starting the multimedia processor, after the multimedia processor is started, receives the communication module status of the single chip microcomputer through the serial port, and waits for the communication module to register and access the Internet;

[0043] Step S103: The multimedia processor waits for the communication module to access the Internet normally, and then performs a link query of the transmission protocol through the USB AT channel. If the link is not established, the link is established. If the link is established, network communication is started to transmit multimedia information.

[0044] Step S104, the single chip microcomputer queries the transmission protocol link connection status of the communication module in real time through the serial AT port;

[0045] Step S105: If the preset device enters the sleep state, the multimedia processor performs a shutdown process and notifies the microcontroller through the serial port to enter the sleep state and low power consumption state;

[0046] Step S106, the single chip microcomputer sends the GPS positioning information to the transmission protocol link via the serial AT port;

[0047] In step S107, if the preset device enters the awake state, the single chip microcomputer stops sending the serial port GPS positioning information of the transmission protocol link and returns to starting the multimedia processor.

[0048] In some embodiments of the present application, after the microcontroller queries the transmission protocol link connection status of the communication module in real time through the serial AT port, the method further includes:

[0049] If the preset device does not enter the sleep state, the multimedia processor is returned to send the multimedia information to the transmission protocol link through the USB AT instruction set.

[0050] In some embodiments of the present application, the method further includes:

[0051] If the preset device does not enter the awake state, it returns to the microcontroller to send the GPS positioning information to the transmission protocol link through the serial port AT.

[0052] In some embodiments of the present application, the method further includes:

[0053] If the communication module cannot access the Internet, the multimedia processor waits until the communication module can access the Internet.

[0054] By applying the above technical solution, after the preset device switches from a power-off state to a power-on state, the single-chip microcomputer initializes the communication module through the serial port AT instruction set and transmits the communication module status to the multimedia processor through the serial port; the multimedia processor is started, and after the multimedia processor is turned on, it receives the communication module status of the single-chip microcomputer through the serial port and waits for the communication module to register and access the Internet; after the multimedia processor waits for the communication module to be able to access the Internet normally, it queries the link of the transmission protocol through the AT channel of the USB, and if the link is not established, it establishes the link; if the link is established, it starts network communication and transmits multimedia information; the single-chip microcomputer queries the transmission protocol link connection status of the communication module through the serial port AT in real time; if the preset device enters a sleep state, the multimedia processor shuts down and notifies the single-chip microcomputer through the serial port to enter a sleep state and a low-power state; the single-chip microcomputer sends GPS positioning information to the transmission protocol link through the serial port AT; if the preset device enters a wake-up state, the single-chip microcomputer stops sending the serial port GPS positioning information of the transmission protocol link and returns to starting the multimedia processor. This application switches the TCP / UDP link between the multimedia acquisition chip and the single-chip microcomputer to complete the switching between the high power consumption of multimedia information when the device is running and the low power consumption of positioning information when the device is running, thereby optimizing the power consumption problem of the device.

[0055] Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented through hardware or by using software plus the necessary general hardware platform. Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, a USB flash drive, a mobile hard disk, etc.) and includes a number of instructions for enabling a computer device (such as a personal computer, a server, or a network device) to execute the methods described in various implementation scenarios of the present invention.

[0056] In order to further illustrate the technical idea of ​​the present invention, the technical solution of the present invention is now described in combination with specific application scenarios.

[0057] SOC is a multimedia processor, MCU is a single-chip microcomputer, and the communication module here selects 4G communication.

[0058] like Figure 3 As shown, the device consists of three parts: 4G communication module (must support general AT instruction set Internet access mode), SOC multimedia chip and MCU microcontroller.

[0059] The 4G communication module is connected to the SOC via USB, the 4G communication module is connected to the MCU via a serial port, and the SOC is connected to the MCU via a serial port.

[0060] like Figure 4 As shown, the method includes the following steps:

[0061] Step 1. After the device is powered on, the MCU initializes the 4G communication module through the serial port AT instruction set and transmits the 4G communication module status to the SOC through the serial port.

[0062] Step 2. After the SOC is turned on, it receives the 4G communication module status of the MCU through the serial port and waits for the 4G communication module to register and access the Internet.

[0063] Step 3. After the SOC waits for the 4G communication module to access the Internet normally, it uses the USB AT channel to query the TCP / UDP link. If the link is not established, it will establish the link. If the link is established, it will start network communication and transmit multimedia information.

[0064] Step 4. MCU queries the TCP / UDP link connection status of the 4G communication module in real time through the serial AT port

[0065] Step 5. The device enters sleep mode, the SOC performs shutdown processing and notifies the MCU through the serial port that the device enters sleep mode and enters low power consumption mode.

[0066] Step 6. MCU sends GPS positioning information to TCP / UDP link via serial AT

[0067] Step 7. The device enters wake-up mode, the MCU stops sending GPS positioning information via the TCP / UDP link, and starts the SOC to enter step 2.

[0068] Correspondingly, the present application also provides a communication device for switching big data and low power consumption of an in-vehicle terminal, which is applied to a preset device including a communication module, a single-chip microcomputer and a multimedia processor, and the communication module is connected to the multimedia processor via a USB, the communication module is connected to the single-chip microcomputer via a serial port, and the single-chip microcomputer and the multimedia processor are connected via a serial port, such as Figure 2 As shown, the communication device includes:

[0069] The first module 201 is used to preset that after the device switches from a power-off state to a power-on state, the single-chip microcomputer initializes the communication module through the serial port AT instruction set and transmits the communication module status to the multimedia processor through the serial port;

[0070] The second module 202 is used to start the multimedia processor. After the multimedia processor is started, it receives the communication module status of the single-chip microcomputer through the serial port and waits for the communication module to register and access the Internet.

[0071] The third module 203 is used for the multimedia processor to wait for the communication module to be able to access the Internet normally, and then perform a link query of the transmission protocol through the USB AT channel. If the link is not established, it establishes the link. If the link is established, it starts network communication and transmits multimedia information;

[0072] The fourth module 204 is used for the single chip microcomputer to query the transmission protocol link connection status of the communication module in real time through the serial port AT;

[0073] The fifth module 205 is used for shutting down the multimedia processor and notifying the single-chip microcomputer to enter the sleep state and low power consumption state through the serial port if the preset device enters the sleep state;

[0074] The sixth module 206 is used for the single chip microcomputer to send the GPS positioning information to the transmission protocol link through the serial port AT;

[0075] The seventh module 207 is used for, if the preset device enters the awake state, the single chip microcomputer stops sending the serial port GPS positioning information of the transmission protocol link and returns to starting the multimedia processor.

[0076] In some embodiments of the present application, the communication device further includes an eighth module configured to:

[0077] If the preset device does not enter the sleep state, the multimedia processor is returned to send the multimedia information to the transmission protocol link through the USB AT instruction set.

[0078] In some embodiments of the present application, the communication device further includes a ninth module configured to:

[0079] If the preset device does not enter the awake state, it returns to the microcontroller to send the GPS positioning information to the transmission protocol link through the serial port AT.

[0080] In some embodiments of the present application, the communication device further includes a tenth module, configured to:

[0081] If the communication module cannot access the Internet, the multimedia processor waits until the communication module can access the Internet.

[0082] Those skilled in the art will appreciate that the modules in the devices in the implementation scenario can be distributed in the devices in the implementation scenario according to the implementation scenario description, or can be changed accordingly and located in one or more devices different from the implementation scenario. The modules in the above implementation scenario can be combined into one module or further divided into multiple sub-modules.

[0083] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A communication method for switching between big data and low power consumption of an in-vehicle terminal, characterized in that: Applied to a preset device including a communication module, a single-chip microcomputer, and a multimedia processor, wherein the communication module is connected to the multimedia processor via a USB, the communication module is connected to the single-chip microcomputer via a serial port, and the single-chip microcomputer and the multimedia processor are connected via the serial port, the method comprising: After the preset device switches from the power-off state to the power-on state, the single-chip microcomputer initializes the communication module through the serial port AT instruction set and transmits the communication module status to the multimedia processor through the serial port; Start the multimedia processor. After the multimedia processor is turned on, it receives the communication module status of the microcontroller through the serial port and waits for the communication module to register and access the Internet. After the multimedia processor waits for the communication module to access the Internet normally, it queries the link of the transmission protocol through the AT channel of the USB. If the link is not established, it establishes the link. If the link is established, it starts network communication and transmits multimedia information. The single chip microcomputer queries the transmission protocol link connection status of the communication module in real time through the serial port AT; If the preset device enters the sleep state, the multimedia processor performs shutdown processing and notifies the microcontroller through the serial port to enter the sleep state and low power consumption state; The microcontroller sends the GPS positioning information to the transmission protocol link through the serial AT port; If the preset device enters the awake state, the MCU stops sending the serial port GPS positioning information of the transmission protocol link and returns to starting the multimedia processor; The method further comprises: If the preset device does not enter the sleep state, it returns to the multimedia processor and sends the multimedia information to the transmission protocol link through the USB AT command set; If the preset device does not enter the awake state, it returns to the microcontroller to send the GPS positioning information to the transmission protocol link through the serial port AT.

2. The method according to claim 1, wherein The method further comprises: If the communication module cannot access the Internet, the multimedia processor waits until the communication module can access the Internet.

3. A communication device for switching big data and low power consumption of an in-vehicle terminal, characterized in that: Applicable to a preset device including a communication module, a single-chip microcomputer and a multimedia processor, wherein the communication module is connected to the multimedia processor via a USB, the communication module is connected to the single-chip microcomputer via a serial port, and the single-chip microcomputer and the multimedia processor are connected via a serial port, the communication device includes: The first module is used to preset that after the device switches from a power-off state to a power-on state, the microcontroller initializes the communication module through the serial port AT instruction set and transmits the communication module status to the multimedia processor through the serial port; The second module is used to start the multimedia processor. After the multimedia processor is started, it receives the communication module status of the microcontroller through the serial port and waits for the communication module to register and access the Internet. The third module is used for the multimedia processor to wait for the communication module to be able to access the Internet normally, and then perform a link query of the transmission protocol through the USB AT channel. If the link is not established, it will establish the link. If the link is established, it will start network communication and transmit multimedia information; The fourth module is used for the single chip microcomputer to query the transmission protocol link connection status of the communication module in real time through the serial port AT; The fifth module is used for shutting down the multimedia processor and notifying the microcontroller through the serial port to enter the sleep state and low power consumption state if the preset device enters the sleep state; The sixth module is used for the single chip microcomputer to send GPS positioning information to the transmission protocol link through the serial AT port; The seventh module is used for, if the preset device enters the awake state, the single chip microcomputer stops sending the serial port GPS positioning information of the transmission protocol link and returns to starting the multimedia processor; The communication device further includes: An eighth module is configured to return to the multimedia processor and send multimedia information to the transmission protocol link through the USB AT command set if the preset device has not entered the sleep state; The ninth module is used to return to the microcontroller to send GPS positioning information to the transmission protocol link through the serial port AT if the preset device does not enter the awake state.

4. The communication device according to claim 3, wherein The communication device further includes a tenth module, configured to: If the communication module cannot access the Internet, the multimedia processor waits until the communication module can access the Internet.

Citation Information

Patent Citations

  • Obstacle avoiding communication system for robot or unmanned plane

    CN106155051A

  • System and method for providing mobile communication network in vehicle

    CN106973092A