A system and method for configuring a GNSS module, a terminal and a storage medium
By introducing a system of GNSS configuration channel switching module and multiple configuration modules in the V2X terminal, the problem of only one terminal module in the prior art is solved, and the function of multiple terminal modules to receive and configure GNSS data at the same time is realized. , improves the convenience of application development.
Patent Information
- Application Number
- CN202210593950.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-27
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2042-05-27
AI Technical Summary
The existing V2X terminal can only configure the GNSS module in one module, and it is impossible to realize that multiple terminal modules receive GNSS data and configuration at the same time, resulting in inconvenience in application development.
A system including GNSS module, GNSS configuration channel switching module and multiple configuration modules is designed. By initiating a configuration request, the configuration module determines whether the configuration information meets the conditions, and sends information to the GNSS configuration channel switching module when the conditions are met, so that the The configuration channel of the GNSS module corresponds to the corresponding configuration module, realizing the GNSS configuration of multiple modules.
It realizes that multiple terminal modules receive GNSS data at the same time, and supports multiple modules to configure GNSS modules through multiplexing, meeting the needs of GNSS data reception and configuration of multiple modules, and improving the convenience of application development.
Smart Images

Figure CN115022801B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of autonomous driving technology, and more particularly to a system and method, a terminal and a storage medium for configuring a GNSS module. Background Art
[0002] Existing V2X (Vehicle to X) terminals are generally composed of a V2X communication module and an application processor module. The V2X communication module strongly relies on GNSS (Global Navigation Satellite System) data to realize V2X communication functions, and the application processor module also needs GNSS data to realize corresponding application scenario functions.
[0003] In the prior art, it is only possible to realize that multiple terminal modules can simultaneously receive data sent by the GNSS module, but only one terminal module can configure the GNSS module, which brings great inconvenience to application development. How to realize that multiple terminal modules can not only receive data sent by the GNSS module, but also configure the GNSS module when each module needs it is a technical problem that needs to be solved urgently. Summary of the invention
[0004] In order to solve the above technical problem or at least partially solve the above technical problem, embodiments of the present disclosure provide a system and method, a terminal and a storage medium for configuring a GNSS module.
[0005] In a first aspect, an embodiment of the present disclosure provides a system for configuring a GNSS module, the system comprising a GNSS module, a GNSS configuration channel switching module and at least two configuration modules, wherein:
[0006] The configuration module is used to initiate a configuration request for the GNSS module, determine whether its current configuration related information meets the conditions for configuring the GNSS module, and send the current configuration related information to the GNSS configuration channel switching module when the current configuration related information meets the conditions for configuring the GNSS module;
[0007] The GNSS configuration channel switching module is used to correspond the configuration channel of the GNSS module to the configuration module corresponding to the current configuration related information when receiving the current configuration related information of the current configuration module, so that the current configuration module configures the GNSS module.
[0008] In a second aspect, an embodiment of the present disclosure provides a method for configuring a GNSS module, which is applied to the system for configuring a GNSS module, and the method includes:
[0009] The configuration module initiates a configuration request for the GNSS module, and determines whether the current configuration related information meets the conditions for configuring the GNSS module, and sends the current configuration related information to the GNSS configuration channel switching module when the current configuration related information meets the conditions for configuring the GNSS module;
[0010] The GNSS configuration channel switching module corresponds the configuration channel of the GNSS module to the configuration module corresponding to the current configuration related information, so that the current configuration module configures the GNSS module.
[0011] In an exemplary embodiment, the configuration related information is a signal level, and the determining whether the current configuration related information meets the condition for configuring the GNSS module includes:
[0012] Determine whether the current signal level is the preset busy state level or idle state level:
[0013] When the current signal level is the preset busy state level, it is determined that the current configuration related information does not meet the conditions for configuring the GNSS module;
[0014] When the current signal level is the preset idle state level, it is determined that the current configuration related information meets the conditions for configuring the GNSS module.
[0015] In an exemplary embodiment, the sending current configuration related information to the GNSS configuration channel switching module includes:
[0016] The signal level of the current configuration module is marked as output mode, and the signal level is set to a preset busy state level and sent to the GNSS configuration channel switching module.
[0017] In an exemplary embodiment, the step of mapping the configuration channel of the GNSS module to a configuration module corresponding to the current configuration related information includes:
[0018] Determine a configuration module whose signal level is in output mode and is a preset busy state level as a target configuration module;
[0019] The configuration channel of the GNSS module corresponds to the target configuration module.
[0020] In an exemplary embodiment, after the configuration channel of the GNSS module is mapped to the configuration module corresponding to the current configuration related information so that the current configuration module configures the GNSS module, the method further includes:
[0021] During the period when the current configuration module configures the GNSS module, the signal levels of other configuration modules except the current configuration module are marked as input mode, and the signal levels of other configuration modules except the current configuration module are set to a preset busy state level to ensure that other configuration modules except the current configuration module cannot configure the GNSS module.
[0022] In an exemplary embodiment, the method further comprises:
[0023] After the current configuration module completes configuration of the GNSS module, a configuration completion signal is sent to the GNSS configuration channel switching module;
[0024] After receiving the configuration completion signal, the GNSS configuration channel switching module controls the configuration channel of the GNSS module to be closed, and sets the signal levels of all configuration modules to a preset idle state level.
[0025] In an exemplary embodiment, before setting the signal levels of all configuration modules to a preset idle state level, the method further includes:
[0026] Mark the signal levels of all configuration modules as input mode to set the signal levels of all configuration modules to the preset idle state levels.
[0027] In a third aspect, an embodiment of the present disclosure provides a roadside terminal, comprising the above-mentioned system for configuring a GNSS module.
[0028] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the above-mentioned method for configuring a GNSS module when executed by a processor.
[0029] Method for configuring a GNSS module The above technical solution provided by the embodiment of the present disclosure has at least some or all of the following advantages compared with the prior art:
[0030] The system for configuring a GNSS module described in an embodiment of the present disclosure comprises a GNSS module, a GNSS configuration channel switching module and at least two configuration modules, wherein the configuration module is used to initiate a configuration request for the GNSS module, determine whether its current configuration related information meets the conditions for configuring the GNSS module, and send the current configuration related information to the GNSS configuration channel switching module when the current configuration related information meets the conditions for configuring the GNSS module; the GNSS configuration channel switching module is used to correspond the configuration channel of the GNSS module to the configuration module corresponding to the current configuration related information when receiving the current configuration related information of the current configuration module, so that the current configuration module configures the GNSS module, and through the GNSS data channel switching module, according to the configuration related information of the configuration module, opens the configuration channel of the GNSS module for the configuration module, so that multiple configuration modules receive GNSS data, and also supports multiple configuration modules to configure the GNSS module in a multiplexing manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0032] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0033] Figure 1 The structure block diagram of the system for configuring the GNSS module according to the embodiment of the present disclosure is schematically shown;
[0034] Figure 2 The structure block diagram of a system for configuring a GNSS module according to another embodiment of the present disclosure is schematically shown;
[0035] Figure 3 The working principle diagram of the GNSS configuration channel switching module in the system for configuring the GNSS module according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0036] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0037] See also Figure 1 , an embodiment of the present disclosure provides a system for configuring a GNSS module, the system comprising a GNSS module, a GNSS configuration channel switching module and at least two configuration modules, wherein,
[0038] The configuration module is used to initiate a configuration request for the GNSS module, determine whether its current configuration related information meets the conditions for configuring the GNSS module, and send the current configuration related information to the GNSS configuration channel switching module when the current configuration related information meets the conditions for configuring the GNSS module;
[0039] The GNSS configuration channel switching module is used to correspond the configuration channel of the GNSS module to the configuration module corresponding to the current configuration related information when receiving the current configuration related information of the current configuration module, so that the current configuration module configures the GNSS module.
[0040] When the configuration related information is a signal level, the configuration module is further used to:
[0041] Determine whether the current signal level is the preset busy state level or idle state level:
[0042] When the current signal level is the preset busy state level, it is determined that the current configuration related information does not meet the conditions for configuring the GNSS module;
[0043] When the current signal level is the preset idle state level, it is determined that the current configuration related information meets the conditions for configuring the GNSS module.
[0044] The configuration module is also used for:
[0045] The signal level of the current configuration module is marked as output mode, and the signal level is set to a preset busy state level and sent to the GNSS configuration channel switching module.
[0046] The GNSS configuration channel switching module is also used for:
[0047] The step of mapping the configuration channel of the GNSS module to the configuration module corresponding to the current configuration related information includes:
[0048] Determine a configuration module whose signal level is in output mode and is a preset busy state level as a target configuration module;
[0049] The configuration channel of the GNSS module corresponds to the target configuration module.
[0050] The GNSS configuration channel switching module is also used for:
[0051] During the period when the current configuration module configures the GNSS module, the signal levels of other configuration modules except the current configuration module are marked as input mode, and the signal levels of other configuration modules except the current configuration module are set to a preset busy state level to ensure that other configuration modules except the current configuration module cannot configure the GNSS module.
[0052] The configuration module is also used for:
[0053] After the current configuration module completes configuration of the GNSS module, a configuration completion signal is sent to the GNSS configuration channel switching module.
[0054] The GNSS configuration channel switching module is also used for:
[0055] After receiving the configuration completion signal, the configuration channel of the GNSS module is controlled to be closed, and the signal levels of all configuration modules are set to a preset idle state level.
[0056] The GNSS configuration channel switching module is also used for:
[0057] Before setting the signal levels of all configuration modules to the preset idle state levels, the signal levels of all configuration modules are marked as input modes to set the signal levels of all configuration modules to the preset idle state levels.
[0058] Taking the at least two configuration modules including a V2X communication module and an application processor module, and the configuration related information being the level of a preset control signal as an example, the hardware connection structure and working principle of the system for configuring the GNSS module of an embodiment of the present disclosure are explained.
[0059] The hardware connection structure of the system for configuring the GNSS module in the embodiment of the present disclosure is as follows:
[0060] See also Figure 2 The system for configuring the GNSS module according to the embodiment of the present disclosure includes a GNSS module, a GNSS data channel switching module, a V2X communication module, and an application processor module, wherein:
[0061] The GNSS module is connected to the GNSS data channel switching module, and the GNSS module is used to provide GNSS data and 1pps signal.
[0062] The GNSS data channel switching module is connected to the V2X communication module and the application processor module respectively. The GNSS data channel switching module is used to send GNSS data and 1pps signals in multiple channels, detect control signals of the V2X communication module and the application processor module at the same time, and switch the configuration data channel of the GNSS module.
[0063] The V2X communication module and the application processor module are respectively used to control the channel selection of the GNSS data channel switching module through control signals to realize parameter configuration of the GNSS module.
[0064] The working principle of the system for configuring the GNSS module according to the embodiment of the present disclosure is as follows:
[0065] Both the V2X communication module and the application processor module of the V2X road test terminal require GNSS data, and the GNSS module needs to be configured according to the application.
[0066] Initializes the various modules of the system used to configure the GNSS module.
[0067] After the GNSS module locks the satellite, it stably outputs GNSS data and 1pps signal.
[0068] The GNSS module distributes GNSS data and 1PPS signals to the V2X communication module and application processor module through a one-to-many circuit.
[0069] The control signal of the V2X communication module or the application processor module can be implemented through a GPIO (General Purpose Input Output), and the GPIO is set to input mode by default.
[0070] When the V2X communication module or application processor module needs to configure the GNSS module, it first determines the current level state of its own preset control signal. If it is the preset busy level state (such as high level or low level), it indicates that the GNSS module is occupied at this time, and the configuration of the GNSS module is stopped; if the control signal is the preset idle level state, it indicates that the GNSS module is in a configurable state at this time.
[0071] Before the V2X communication module or application processor module configures the GNSS module, it is recommended to set the GPIO to output mode and then output the preset busy state level.
[0072] The GNSS data channel switching module switches the configuration channel to the module channel corresponding to the preset busy state level according to the detected preset busy state level, and at the same time, sets the level state of the control signal of other channels to the preset busy state. Figure 3As shown, the V2X communication module needs to configure the GNSS module and set the control signal 1 to a high level (if the high level means busy). The GNSS module detects that the control signal 1 is a high level, switches the data channel to data 1, and sets the control signal 2 to a high level.
[0073] After the V2X communication module or application processor module completes the GNSS module configuration, it releases the control signal and sets its GPIO to input mode. The GNSS data channel switching module closes the data channel (including only the configuration channel) according to the state change of the control signal, and at the same time, sets all control signals to the preset idle state.
[0074] An embodiment of the present disclosure further provides a method for configuring a GNSS module, which is applied to the system for configuring a GNSS module, and the method includes:
[0075] The configuration module initiates a configuration request for the GNSS module, and determines whether the current configuration related information meets the conditions for configuring the GNSS module, and sends the current configuration related information to the GNSS configuration channel switching module when the current configuration related information meets the conditions for configuring the GNSS module;
[0076] The GNSS configuration channel switching module corresponds the configuration channel of the GNSS module to the configuration module corresponding to the current configuration related information, so that the current configuration module configures the GNSS module.
[0077] In an exemplary embodiment, the configuration related information is a signal level, and the determining whether the current configuration related information meets the condition for configuring the GNSS module includes:
[0078] Determine whether the current signal level is the preset busy state level or idle state level:
[0079] When the current signal level is the preset busy state level, it is determined that the current configuration related information does not meet the conditions for configuring the GNSS module;
[0080] When the current signal level is the preset idle state level, it is determined that the current configuration related information meets the conditions for configuring the GNSS module.
[0081] In an exemplary embodiment, the sending current configuration related information to the GNSS configuration channel switching module includes:
[0082] The signal level of the current configuration module is marked as output mode, and the signal level is set to a preset busy state level and sent to the GNSS configuration channel switching module.
[0083] In an exemplary embodiment, the step of mapping the configuration channel of the GNSS module to a configuration module corresponding to the current configuration related information includes:
[0084] Determine a configuration module whose signal level is in output mode and is a preset busy state level as a target configuration module;
[0085] The configuration channel of the GNSS module corresponds to the target configuration module.
[0086] In an exemplary embodiment, after the configuration channel of the GNSS module is mapped to the configuration module corresponding to the current configuration related information so that the current configuration module configures the GNSS module, the method further includes:
[0087] During the period when the current configuration module configures the GNSS module, the signal levels of other configuration modules except the current configuration module are marked as input mode, and the signal levels of other configuration modules except the current configuration module are set to a preset busy state level to ensure that other configuration modules except the current configuration module cannot configure the GNSS module.
[0088] In an exemplary embodiment, the method further comprises:
[0089] After the current configuration module completes configuration of the GNSS module, a configuration completion signal is sent to the GNSS configuration channel switching module;
[0090] After receiving the configuration completion signal, the GNSS configuration channel switching module controls the configuration channel of the GNSS module to be closed, and sets the signal levels of all configuration modules to a preset idle state level.
[0091] In an exemplary embodiment, before setting the signal levels of all configuration modules to a preset idle state level, the method further includes:
[0092] The signal levels of all configuration modules are marked as input mode, so as to set the signal levels of all configuration modules to a preset idle state level. An embodiment of the present disclosure further provides a roadside terminal, comprising the above-mentioned system for configuring a GNSS module.
[0093] An embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for configuring a GNSS module is implemented.
[0094] The computer-readable storage medium may be included in the device / apparatus described in the above embodiment; or it may exist independently without being assembled into the device / apparatus. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method for configuring the GNSS module according to the embodiment of the present disclosure is implemented.
[0095] According to an embodiment of the present disclosure, a computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, apparatus, or device.
[0096] It should be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0097] The foregoing is merely a specific embodiment of the present disclosure, which enables those skilled in the art to understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features applied herein.
Claims
1. A system for configuring a GNSS module, It is characterized in that The system includes a GNSS module, a GNSS configuration channel switching module and at least two configuration modules, wherein: The configuration module is used to initiate a configuration request for the GNSS module, determine whether its current configuration related information meets the conditions for configuring the GNSS module, and send the current configuration related information to the GNSS configuration channel switching module when the current configuration related information meets the conditions for configuring the GNSS module; The GNSS configuration channel switching module is used to correspond the configuration channel of the GNSS module to the configuration module corresponding to the current configuration related information when receiving the current configuration related information of the current configuration module, so that the current configuration module configures the GNSS module.
2. A method for configuring a GNSS module, It is characterized in that Applied to the system for configuring a GNSS module according to claim 1, the method comprising: The configuration module initiates a configuration request for the GNSS module, and determines whether the current configuration related information meets the conditions for configuring the GNSS module, and sends the current configuration related information to the GNSS configuration channel switching module when the current configuration related information meets the conditions for configuring the GNSS module; The GNSS configuration channel switching module corresponds the configuration channel of the GNSS module to the configuration module corresponding to the current configuration related information, so that the current configuration module configures the GNSS module.
3. The method according to claim 2, It is characterized in that The configuration related information is a signal level, and the determining whether the current configuration related information meets the conditions for configuring the GNSS module includes: Determine whether the current signal level is the preset busy state level or idle state level: When the current signal level is the preset busy state level, it is determined that the current configuration related information does not meet the conditions for configuring the GNSS module; When the current signal level is the preset idle state level, it is determined that the current configuration related information meets the conditions for configuring the GNSS module.
4. The method according to claim 3, It is characterized in that The sending of current configuration related information to the GNSS configuration channel switching module includes: The signal level of the current configuration module is marked as output mode, and the signal level is set to a preset busy state level and sent to the GNSS configuration channel switching module.
5. The method according to claim 4, It is characterized in that The step of mapping the configuration channel of the GNSS module to the configuration module corresponding to the current configuration related information includes: Determine a configuration module whose signal level is in output mode and is a preset busy state level as a target configuration module; The configuration channel of the GNSS module corresponds to the target configuration module.
6. The method according to claim 4, It is characterized in that After the configuration channel of the GNSS module is mapped to the configuration module corresponding to the current configuration related information so that the current configuration module configures the GNSS module, the method further includes: During the period when the current configuration module configures the GNSS module, the signal levels of other configuration modules except the current configuration module are marked as input mode, and the signal levels of other configuration modules except the current configuration module are set to a preset busy state level to ensure that other configuration modules except the current configuration module cannot configure the GNSS module.
7. The method according to claim 6, It is characterized in that The method further comprises: After the current configuration module completes configuration of the GNSS module, a configuration completion signal is sent to the GNSS configuration channel switching module; After receiving the configuration completion signal, the GNSS configuration channel switching module controls the configuration channel of the GNSS module to be closed, and sets the signal levels of all configuration modules to a preset idle state level.
8. The method according to claim 7, It is characterized in that Before setting the signal levels of all configuration modules to a preset idle state level, the method further includes: Mark the signal levels of all configuration modules as input mode to set the signal levels of all configuration modules to the preset idle state levels.
9. A roadside terminal, It is characterized in that The invention comprises the system for configuring a GNSS module as claimed in claim 1.
10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the method for configuring a GNSS module according to any one of claims 2 to 8 is implemented.
