WO2023087696A1 - Communication module and external interface configuration method and configuration apparatus therefor, and storage medium - Google Patents

Communication module and external interface configuration method and configuration apparatus therefor, and storage medium Download PDF

Info

Publication number
WO2023087696A1
WO2023087696A1 PCT/CN2022/099674 CN2022099674W WO2023087696A1 WO 2023087696 A1 WO2023087696 A1 WO 2023087696A1 CN 2022099674 W CN2022099674 W CN 2022099674W WO 2023087696 A1 WO2023087696 A1 WO 2023087696A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
communication module
combination configuration
interface combination
configuration
Prior art date
Application number
PCT/CN2022/099674
Other languages
French (fr)
Chinese (zh)
Inventor
陈璟
Original Assignee
深圳市广和通无线通信软件有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市广和通无线通信软件有限公司 filed Critical 深圳市广和通无线通信软件有限公司
Publication of WO2023087696A1 publication Critical patent/WO2023087696A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/102Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers

Definitions

  • the application relates to a communication module and its external interface configuration method, configuration device and storage medium.
  • the communication module can provide a variety of external interfaces, for example, it can support 1-way UART, 1-way SPI, 1-way I2S interface combination, and can also support 2-way I2C, 1-way UART, 2-way GPIO interface combination. Users can freely customize the external interface using the communication module.
  • the user when customizing an external interface, the user generally modifies the enabling state of the corresponding interface according to the hardware manual of the communication module, which easily leads to customization failure due to interface conflicts.
  • a communication module and its external interface configuration method, configuration device and storage medium are provided.
  • a communication module external interface configuration method comprising:
  • the interface combination configuration is used to indicate an interface combination among a plurality of preset multiple interface combinations of the communication module
  • the interface configured by the preset software of the communication module is decoupled.
  • a communication module external interface configuration device comprising:
  • the reading module is used to read the interface combination configuration, and the interface combination configuration is used to indicate an interface combination in a variety of preset interface combinations of the communication module;
  • An enabling module configured to enable a target interface corresponding to the interface combination configuration according to the interface combination configuration
  • the decoupling module is used for decoupling the interfaces configured by the preset software of the communication module according to the interface combination configuration.
  • a communication module includes a memory and one or more processors, the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the one or more processors perform the following steps:
  • the interface combination configuration is used to indicate an interface combination among a plurality of preset multiple interface combinations of the communication module
  • the interface configured by the preset software of the communication module is decoupled.
  • a communication device including at least one communication module, the communication module includes a memory and a processor, the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor performs the following steps:
  • the interface combination configuration is used to indicate an interface combination among a plurality of preset multiple interface combinations of the communication module
  • the interface configured by the preset software of the communication module is decoupled.
  • One or more non-volatile computer-readable storage media storing computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the following steps:
  • the interface combination configuration is used to indicate an interface combination among a plurality of preset multiple interface combinations of the communication module
  • the interface configured by the preset software of the communication module is decoupled.
  • FIG. 1 is a schematic flowchart of a method for configuring an external interface of a communication module according to one or more embodiments
  • FIG. 2 is a schematic flowchart of a method for enabling a target interface according to one or more embodiments
  • FIG. 3 is a schematic flowchart of a method for configuring an external interface of a communication module according to one or more embodiments
  • FIG. 4 is a schematic flow diagram of a communication module external interface configuration method using a Linux operating system according to one or more embodiments
  • FIG. 5 is a schematic flow diagram of a method for configuring an external interface of a communication module using a Linux operating system according to one or more embodiments;
  • Fig. 6 is a structural block diagram of a communication module external interface configuration device according to one or more embodiments.
  • Fig. 7 is an internal structural diagram of a communication device according to one or more embodiments.
  • Fig. 8 is a schematic diagram of an application environment of a method for configuring an external interface of a communication module according to one or more embodiments.
  • the communication module external interface configuration method may include steps S102 to S106.
  • the communication module is a module with a communication function, which can be used, for example, to realize data communication between two subjects.
  • the communication module may be a device including one or more communication modules, for example, a combination device of a 5G communication module with a modem function and a 4G communication module.
  • the communication module can be an independent module or an internal module of the terminal device.
  • the communication module may be a wireless communication module.
  • the communication module includes at least one external interface, and the communication module can provide various combinations of external interfaces. It can be understood that the combinations of various external interfaces provided by the communication module can be set according to actual needs.
  • the interface combination configuration is used to indicate an interface combination of multiple preset interface combinations of the communication module, and it can also be understood that the communication module determines which interface combination should be selected for use through the interface combination configuration.
  • the interface combination configuration may be the interfaces used by the user's customized software and the functions of the corresponding interfaces.
  • the target interface may be an interface that can only be reused for one function, or an interface that can be reused for multiple functions, which is not limited in this embodiment of the present application.
  • Enabling the target interface refers to enabling the target function of the target interface to take effect, wherein the function of the interface may include but not limited to Universal Asynchronous Receiver Transmitter (UART), Serial Peripheral Interface (SPI), Integrated Circuit Built-in Audio (I2S), Inter-integrated circuit (I2C) and general-purpose input and output (GPIO).
  • UART Universal Asynchronous Receiver Transmitter
  • SPI Serial Peripheral Interface
  • I2S Integrated Circuit Built-in Audio
  • I2C Inter-integrated circuit
  • GPIO general-purpose input and output
  • a serial peripheral interface can provide a synchronous serial communication interface for short-distance communication.
  • Integrated Circuit Audio provides a serial bus interface for coupling digital audio devices.
  • An inter-integrated circuit can provide a two-wire interface to connect low-speed devices.
  • a general-purpose input-output can provide an unspecified digital signal pin whose behavior is configurable at runtime.
  • the preset software is pre-stored in the communication module, and the preset software can be used to configure certain interfaces as interfaces with preset functions.
  • the preset software preset functions of the communication module will operate certain pins.
  • the combination of interfaces is configured as interfaces required by the custom software. If a certain interface combination of the communication module is used according to the interface combination configuration, through decoupling processing, the preset software of the communication module will not perform operations that may affect the function of this interface combination, thereby avoiding the communication module There is an interface conflict between the preset software and the user's customized software.
  • the communication module external interface configuration method reads and enables the target interface corresponding to the interface combination configuration according to the interface combination configuration, realizes the target interface required for automatic configuration, and does not require the user to operate the target interfaces one by one , thereby greatly reducing the time spent by the user.
  • automatic configuration of the required target interfaces reduces the chance of misconfiguration of interface combinations.
  • decoupling the interfaces configured by the preset software of the communication module according to the interface combination configuration can prevent the preset software from reconfiguring the target interface, thus ensuring the customization function of the target interface.
  • the communication module external interface configuration method provided in the above embodiments needs to enable the target interface corresponding to the interface combination configuration according to the interface combination configuration, so the following embodiments will provide a method for enabling the target interface.
  • the method for enabling a target interface may include steps S202 to S204.
  • the interface combination information base records the information of multiple interface combinations preset.
  • the interface combination information base may be stored in a memory, which may be, for example, a flash memory.
  • the operations of querying, establishing, and updating the interface combination information library can be implemented by accessing the memory.
  • the interface combination information base can also represent the concept of a set.
  • the embodiment of the present application does not limit the form of the interface combination information base, as long as the target interface corresponding to the interface combination configuration can be determined through the interface combination information base.
  • the information of the interface combination may include but not limited to the interface and the interface function of the interface, and the interface function includes but not limited to UART, SPI, I2S, I2C, and GPIO.
  • an interface combination information library may be preset. After the interface combination configuration is read, the target interface corresponding to the interface combination configuration and the interface function of the target interface may be searched from the interface combination information library. In this way, which external interface of the communication module needs to be operated can be obtained to prepare for subsequent operations.
  • a method for establishing an interface combination information library is provided, the establishment method may include: determining the interface combination of the communication module; assigning a unique number to each interface combination; and corresponding the interface combination with the number Stored so that the corresponding interface combination can be queried according to the number.
  • enabling the target interface may enable the function of the target interface to take effect.
  • the method for configuring the external interface of the communication module provided in the above embodiment may further include steps S302 to S306.
  • the interface combination configuration command is used to select one of the various interface combinations provided by the communication module.
  • the interface combination configuration command includes the interface combination required by the user's customized software.
  • the terminal device is connected to the communication module, the terminal device sends an interface combination configuration command, the communication module receives and responds to the interface combination configuration command, and generates an interface combination configuration corresponding to the interface combination configuration command.
  • the corresponding relationship between the interface combination configuration command and the interface combination configuration can be set in advance, and when the interface combination configuration command is received, the external interface combination of the communication module can be configured according to the interface combination configuration command.
  • the interface combination configuration command is an AT (Attention) command.
  • AT command is a modem command language, which is applied to the connection and communication between device applications. Indicate that the communication module is to enable the target interface by sending an AT command to the communication module.
  • existing AT commands are stored in the AT command data set, and different AT commands in the AT command data set correspond to different interface combinations. By calling different AT commands in the AT command data set, the AT command is executed.
  • the interface combination configuration is saved after power failure, so that the communication module can read the interface combination configuration after restarting.
  • the interface combination configuration is read through the boot interface during boot.
  • the startup interface is a function with a read function.
  • the target interface is enabled according to the interface combination configuration during the startup phase of the communication module. Wherein, when the startup phase of the communication module ends, the initialization of the external interface driver is also successful.
  • the operating system of the communication module is a Linux system, and the Linux system has a device tree mechanism.
  • the Linux system introduces the concept of device tree.
  • the Linux device tree describes various hardware information details of a device in the form of tree nodes: CPU, GPIO, always, interrupt, memory, etc.
  • the device tree is used to separate the driver code from the device information. Before the appearance of the device tree, all the specific information about the device must be written in the driver. Once the peripheral device changes, the driver code must be rewritten. After the device tree is introduced, the driver code is only responsible for processing the logic of the driver, and the specific information about the device is stored in the device tree file. In this way, if there is only a change in the hardware interface information without a change in the driver logic, only the device tree file information needs to be modified. , no need to rewrite the driver code.
  • an embodiment of the present application provides a method for configuring an external interface of a communication module.
  • the method for configuring an external interface of a communication module may include steps S402 to S406.
  • the interface combination configuration of the communication module is read.
  • the interface combination configuration is used to indicate an interface combination of multiple preset interface combinations of the communication module, and it can also be understood that the communication module determines which interface combination should be selected for use through the interface combination configuration.
  • the interface combination configuration may be the interface used by the user's customized software and the interface function of the corresponding interface.
  • the target interface is an interface corresponding to the interface combination configuration.
  • the device tree node may include a driver parameter and an enable parameter, the driver parameter is used by the corresponding driver software, the enable parameter and whether the device tree node is enabled.
  • the modified parameter may include an enabling parameter, where the enabling parameter may be a status parameter.
  • the status parameter of the device tree node of the target interface is modified according to the interface combination configuration, so that the target interface is in an enabled state.
  • the preset software is pre-stored in the communication module, and the preset software can be used to configure certain interfaces as interfaces with a certain function.
  • the preset software preset functions of the communication module will operate certain pins.
  • the combination of interfaces is configured as interfaces required by the custom software.
  • the decoupling process is that if a certain interface combination of the communication module is used according to the interface combination configuration configuration, the module preset software will not perform operations that may affect the function of this interface combination. In this way, it is possible to avoid the conflict between the interface of the module preset software and the client application.
  • the method for configuring the external interface of the communication module utilizes the device tree mechanism of the Linux system to dynamically enable the interface function, and does not require the user to operate the target interfaces one by one, thereby greatly reducing the time spent by the user.
  • automatic configuration of the required target interfaces reduces the chance of misconfiguration of interface combinations.
  • decoupling the interfaces configured by the preset software of the communication module according to the interface combination configuration can prevent the preset software from reconfiguring the target interface, thus ensuring the customization function of the target interface.
  • FIG. 5 shows that an embodiment of the present application provides a method for configuring an external interface of a communication module.
  • the method for configuring an external interface of a communication module may include steps S502 to S506.
  • the interface combination configuration command is an AT command. In one or more embodiments, the interface combination configuration is a power-down saving configuration.
  • the parameter configuration of the device tree node of the target interface is dynamically modified according to the interface combination configuration, so as to modify the enabling state of the device tree node of the target interface.
  • the communication module performs decoupling processing according to the interface combination configuration. If a certain interface used by the preset software is used by the user's customized software, the preset software will no longer configure and use the interface, so as to Avoid interface usage conflicts between preset software and customized software.
  • the communication module external interface configuration method proposed in the above embodiment allows the user to dynamically configure the external interface combination currently used by the communication module, solves the problem of interface conflicts that may exist in manual configuration by the user, and realizes communication module preset software and customer Decoupled use of custom software on external interfaces.
  • the figure is a schematic flowchart of a method according to an embodiment of the present invention. It should be understood that although the various steps in the flow charts of FIGS. 1-5 are shown sequentially as indicated by the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some of the steps in the figure may include multiple sub-steps or multiple stages, these sub-steps or stages are not necessarily executed at the same time, but may be executed at different times, and the execution order is not necessarily sequential Instead, it may be performed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.
  • a communication module external interface configuration device 600 may include: a reading module 602, an enabling module 604 and The decoupling module 606, wherein the reading module 602 can be used to read the interface combination configuration.
  • the interface combination configuration is used to indicate an interface combination among various preset interface combinations of the communication module.
  • the enabling module 604 may be configured to enable a target interface corresponding to the interface combination configuration according to the interface combination configuration.
  • the decoupling module 606 may be configured to decouple the interfaces configured by the preset software of the communication module according to the interface combination configuration.
  • the enabling module may also be used to determine the target interface according to the interface combination information library and the interface combination configuration.
  • the interface combination information base records various preset interface combination information.
  • the enable module can also be used to enable the target interface.
  • the reading module may be further configured to generate an interface combination configuration corresponding to the interface combination configuration in response to the interface combination configuration command.
  • the reading module can also be used to restart the communication module.
  • the reading module can also be used to read the interface combination configuration during the startup process of the communication module.
  • the enabling module may also be configured to modify the device tree node enabling state of the target interface according to the interface combination configuration, so as to enable the target interface.
  • the enabling module may also be configured to modify the status parameter of the device tree node of the target interface according to the interface combination configuration.
  • Each module in the above communication module external interface configuration device can be fully or partially realized by software, hardware and a combination thereof.
  • the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, and can also be stored in the memory of the computer device in the form of software, so that the processor can invoke and execute the corresponding operations of the above-mentioned modules.
  • the division of modules in the embodiment of the present application is schematic, and is only a logical function division, and there may be other division methods in actual implementation.
  • a component may be, but is not limited to being, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and or a computer.
  • a component may be, but is not limited to being, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and or a computer.
  • an application running on a server and a server can be a component.
  • One or more components can reside within a process and or thread of execution, and a component can be localized on one computer and or distributed between two or more computers.
  • a communication module including a memory and a processor, wherein computer-readable instructions are stored in the memory, and the processor implements the external interfaces of the above-mentioned communication modules when executing the computer-readable instructions Steps in the embodiment of the configuration method.
  • the communication module may further include an AT command interface for receiving an interface combination configuration command.
  • the interface combination configuration command is used to select one interface combination among various interface combinations provided by the communication module.
  • the communication module is connected to the mobile terminal through an AT command interface to receive an interface combination configuration command sent by the mobile terminal.
  • the interface combination configuration command is the interface combination that the user wants to use.
  • a communication device is provided, and the communication device may be a mobile phone, a tablet computer, a notebook computer, a smart car, a smart home, etc. It should be noted that the communication device includes at least one communication module. Its internal structure diagram can be shown in FIG. 7 .
  • the communication device includes a processor, a memory, a communication module, a display screen and an input device connected through a system bus. Wherein, the processor of the communication device is used to provide calculation and control capabilities.
  • the memory of the communication device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer readable instructions.
  • the internal memory provides an environment for the execution of the operating system and computer readable instructions in the non-volatile storage medium.
  • the computer-readable instructions are executed by the processor, a method for configuring the external interface of the communication module is realized.
  • the display screen of the communication device may be a liquid crystal display screen or an electronic ink display screen
  • the input device of the communication device may be a touch layer covered on the display screen, or a button, a trackball or a touch pad provided on the casing of the computer device , and can also be an external keyboard, touchpad, or mouse.
  • FIG. 7 is only a block diagram of a partial structure related to the solution of this application, and does not constitute a limitation on the communication equipment to which the solution of this application is applied.
  • the computer equipment can More or fewer components than shown in the figures may be included, or some components may be combined, or have a different arrangement of components.
  • the communication module external interface configuration method provided in this application can be applied to the above-mentioned communication device, which may include one or more communication modules, and the communication device can be applied to the application environment shown in Figure 8.
  • the communication device 802 communicates with the terminal 804 through an interface.
  • the customer can configure the communication module in the communication device 802 at the terminal 804, issue the interface combination configuration command to the communication module, the communication module reads the interface combination configuration, and enables the target corresponding to the interface combination configuration according to the interface combination configuration interface, and then the communication module decouples the interface configured by the preset software of the communication module according to the configuration of the interface combination, so that the preset software of the communication module will not implement operations that may affect the energy supply of this interface combination, thereby It is possible to avoid conflicts between the preset software of the communication module and the custom software of the user.
  • the communication device 802 may be, but not limited to, various mobile phones, tablet computers, notebook computers, smart cars, smart homes, and the like.
  • a computer-readable storage medium on which computer-readable instructions are stored, and when the computer-readable instructions are executed by a processor, the steps in the foregoing method embodiments are implemented.
  • Non-volatile memory may include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory or optical memory, etc.
  • Volatile memory can include Random Access Memory (RAM) or external cache memory.
  • RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Stored Programmes (AREA)
  • Communication Control (AREA)

Abstract

A communication module and an external interface configuration method and configuration apparatus therefor, and a storage medium. The external interface configuration method for a communication module comprises: reading an interface combination configuration, the interface combination configuration being used for indicating one interface combination among a plurality of preset interface combinations of a communication module; according to the interface combination configuration, enabling a target interface corresponding to the interface combination configuration; and according to the interface combination configuration, decoupling an interface that is configured by preset software of the communication module. Therefore, the preset software of the communication module does not implement operations which may affect the energy supply of the interface combination, so that interface conflicts between the preset software of the communication module and a customized software of a user can be avoided.

Description

通信模组及其外部接口配置方法、配置装置和存储介质Communication module and its external interface configuration method, configuration device and storage medium
本申请要求于2021年11月16日提交中国专利局,申请号为2021113549604,申请名称为“通信模组及其外部接口配置方法、配置装置和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application submitted to the China Patent Office on November 16, 2021, with the application number 2021113549604, and the application name is "communication module and its external interface configuration method, configuration device and storage medium", all of which The contents are incorporated by reference in this application.
技术领域technical field
本申请涉及一种通信模组及其外部接口配置方法、配置装置和存储介质。The application relates to a communication module and its external interface configuration method, configuration device and storage medium.
背景技术Background technique
通信模组对外可以提供多种外部接口,例如可以支持1路UART,1路SPI,1路I2S的接口组合方式,也可以支持2路I2C,1路UART,2路GPIO的接口组合方式。用户可以自由定制使用通信模组的外部接口。The communication module can provide a variety of external interfaces, for example, it can support 1-way UART, 1-way SPI, 1-way I2S interface combination, and can also support 2-way I2C, 1-way UART, 2-way GPIO interface combination. Users can freely customize the external interface using the communication module.
然而,目前用户定制外部接口时一般是根据通信模组的硬件手册自行修改对应接口的使能状态,极易因接口冲突而导致定制失败。However, at present, when customizing an external interface, the user generally modifies the enabling state of the corresponding interface according to the hardware manual of the communication module, which easily leads to customization failure due to interface conflicts.
发明内容Contents of the invention
根据本申请公开的各种实施例,提供一种通信模组及其外部接口配置方法、配置装置和存储介质。According to various embodiments disclosed in the present application, a communication module and its external interface configuration method, configuration device and storage medium are provided.
一种通信模组外部接口配置方法,包括:A communication module external interface configuration method, comprising:
读取接口组合配置,接口组合配置用于指示通信模组的多个预先设置的多种接口组合中的一种接口组合;Reading the interface combination configuration, the interface combination configuration is used to indicate an interface combination among a plurality of preset multiple interface combinations of the communication module;
根据接口组合配置使能与接口组合配置对应的目标接口;Enable the target interface corresponding to the interface combination configuration according to the interface combination configuration;
根据接口组合配置对通信模组的预设软件所配置的接口进行解耦处理。According to the interface combination configuration, the interface configured by the preset software of the communication module is decoupled.
一种通信模组外部接口配置装置,包括:A communication module external interface configuration device, comprising:
读取模块,用于读取接口组合配置,接口组合配置用于指示通信模组的 多种预先设置的接口组合中的一种接口组合;The reading module is used to read the interface combination configuration, and the interface combination configuration is used to indicate an interface combination in a variety of preset interface combinations of the communication module;
使能模块,用于根据接口组合配置使能与接口组合配置对应的目标接口;及An enabling module, configured to enable a target interface corresponding to the interface combination configuration according to the interface combination configuration; and
解耦模块,用于根据接口组合配置对通信模组的预设软件所配置的接口进行解耦处理。The decoupling module is used for decoupling the interfaces configured by the preset software of the communication module according to the interface combination configuration.
一种通信模组,包括存储器和一个或多个处理器,存储器存储有计算机可读指令,计算机可读指令被处理器执行时,使得一个或多个处理器执行以下步骤:A communication module includes a memory and one or more processors, the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the one or more processors perform the following steps:
读取接口组合配置,接口组合配置用于指示通信模组的多个预先设置的多种接口组合中的一种接口组合;Reading the interface combination configuration, the interface combination configuration is used to indicate an interface combination among a plurality of preset multiple interface combinations of the communication module;
根据接口组合配置使能与接口组合配置对应的目标接口;Enable the target interface corresponding to the interface combination configuration according to the interface combination configuration;
根据接口组合配置对通信模组的预设软件所配置的接口进行解耦处理。According to the interface combination configuration, the interface configured by the preset software of the communication module is decoupled.
一种通信设备,包括至少一个通信模组,通信模组包括存储器和处理器,存储器存储有计算机可读指令,计算机可读指令被处理器执行时,使得处理器执行以下步骤:A communication device, including at least one communication module, the communication module includes a memory and a processor, the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor performs the following steps:
读取接口组合配置,接口组合配置用于指示通信模组的多个预先设置的多种接口组合中的一种接口组合;Reading the interface combination configuration, the interface combination configuration is used to indicate an interface combination among a plurality of preset multiple interface combinations of the communication module;
根据接口组合配置使能与接口组合配置对应的目标接口;Enable the target interface corresponding to the interface combination configuration according to the interface combination configuration;
根据接口组合配置对通信模组的预设软件所配置的接口进行解耦处理。According to the interface combination configuration, the interface configured by the preset software of the communication module is decoupled.
一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行以下步骤:One or more non-volatile computer-readable storage media storing computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the following steps:
读取接口组合配置,接口组合配置用于指示通信模组的多个预先设置的多种接口组合中的一种接口组合;Reading the interface combination configuration, the interface combination configuration is used to indicate an interface combination among a plurality of preset multiple interface combinations of the communication module;
根据接口组合配置使能与接口组合配置对应的目标接口;Enable the target interface corresponding to the interface combination configuration according to the interface combination configuration;
根据接口组合配置对通信模组的预设软件所配置的接口进行解耦处理。According to the interface combination configuration, the interface configured by the preset software of the communication module is decoupled.
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请 的其它特征和优点将从说明书、附图以及权利要求书变得明显。The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below. Other features and advantages of the application will be apparent from the description, drawings, and claims.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the accompanying drawings that need to be used in the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present application. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without making creative efforts.
图1为根据一个或多个实施例中通信模组外部接口配置方法的流程示意图;FIG. 1 is a schematic flowchart of a method for configuring an external interface of a communication module according to one or more embodiments;
图2为根据一个或多个实施例中使能目标接口方法的流程示意图;FIG. 2 is a schematic flowchart of a method for enabling a target interface according to one or more embodiments;
图3为根据一个或多个实施例中通信模组外部接口配置方法的流程示意图;FIG. 3 is a schematic flowchart of a method for configuring an external interface of a communication module according to one or more embodiments;
图4为根据一个或多个实施例中使用Linux操作系统的通信模组外部接口配置方法的流程示意图;FIG. 4 is a schematic flow diagram of a communication module external interface configuration method using a Linux operating system according to one or more embodiments;
图5为根据一个或多个实施例中使用Linux操作系统的通信模组外部接口配置方法的流程示意图;5 is a schematic flow diagram of a method for configuring an external interface of a communication module using a Linux operating system according to one or more embodiments;
图6为根据一个或多个实施例中通信模组外部接口配置装置的结构框图;Fig. 6 is a structural block diagram of a communication module external interface configuration device according to one or more embodiments;
图7为根据一个或多个实施例中通信设备的内部结构图;Fig. 7 is an internal structural diagram of a communication device according to one or more embodiments;
图8为根据一个或多个实施例中通信模组外部接口配置方法的应用环境示意图。Fig. 8 is a schematic diagram of an application environment of a method for configuring an external interface of a communication module according to one or more embodiments.
具体实施方式Detailed ways
为了使本申请的技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.
在一个或多个实施例中,如图2所示,该通信模组外部接口配置方法可 以包括步骤S102至步骤S106。In one or more embodiments, as shown in Fig. 2, the communication module external interface configuration method may include steps S102 to S106.
S102,读取接口组合配置。S102. Read interface combination configuration.
其中,通信模组是具有通信功能的模组,可以例如用于实现两个主体之间的数据通讯。在一个或多个实施例中,通信模组可以是包括一个或多个通信模块的设备,比如,具有调制解调功能的5G通信模块以及4G通信模块的组合设备。通信模组可以是独立模组也可以是终端设备的内部模组。在一个或多个实施例中,通信模组可以为无线通信模组。应说明的是,通信模组至少包括一个外部接口,通信模组可以提供多种外部接口组合。可以理解的是,通信模组提供的多种外部接口组合可以根据实际需要进行设置。接口组合配置用于指示该通信模组的多个预先设置的多种接口组合种的一种接口组合,也可以理解为通信模组通过接口组合配置确定应该选择哪一种接口组合来使用。在一个或多个实施例中,接口组合配置可以为用户的定制软件所使用的接口以及对应接口的功能。Wherein, the communication module is a module with a communication function, which can be used, for example, to realize data communication between two subjects. In one or more embodiments, the communication module may be a device including one or more communication modules, for example, a combination device of a 5G communication module with a modem function and a 4G communication module. The communication module can be an independent module or an internal module of the terminal device. In one or more embodiments, the communication module may be a wireless communication module. It should be noted that the communication module includes at least one external interface, and the communication module can provide various combinations of external interfaces. It can be understood that the combinations of various external interfaces provided by the communication module can be set according to actual needs. The interface combination configuration is used to indicate an interface combination of multiple preset interface combinations of the communication module, and it can also be understood that the communication module determines which interface combination should be selected for use through the interface combination configuration. In one or more embodiments, the interface combination configuration may be the interfaces used by the user's customized software and the functions of the corresponding interfaces.
S104,根据接口组合配置使能与接口组合配置对应的目标接口。S104. Enable the target interface corresponding to the interface combination configuration according to the interface combination configuration.
其中,目标接口可以是只能复用为一个功能使用的接口,也可以是复用多种功能使用的接口,本申请实施例对此不作限定。使能目标接口指的是使目标接口的目标功能生效,其中,接口的功能可以包括但不限于通用异步接收发射机(UART)、串行外围接口(SPI)、集成电路内置音频(I2S)、内部集成电路(I2C)以及通用输入输出(GPIO)。可以理解的是,通用异步接收发射机(UART)可以提供异步串行通信,在该异步串行通信中数据格式和传输速度是可重配置的。串行外围接口(SPI)可以提供用于短距离通信的同步串行通信接口。集成电路内置音频(I2S)可以提供用于耦合数字音频设备的串行总线接口。内部集成电路(I2C)可以提供两线接口来连接低速设备。通用输入输出(GPIO)可以提供未指定用途的数字信号引脚,该引脚的行为是运行时可配置的。Wherein, the target interface may be an interface that can only be reused for one function, or an interface that can be reused for multiple functions, which is not limited in this embodiment of the present application. Enabling the target interface refers to enabling the target function of the target interface to take effect, wherein the function of the interface may include but not limited to Universal Asynchronous Receiver Transmitter (UART), Serial Peripheral Interface (SPI), Integrated Circuit Built-in Audio (I2S), Inter-integrated circuit (I2C) and general-purpose input and output (GPIO). It will be appreciated that a Universal Asynchronous Receiver Transmitter (UART) can provide asynchronous serial communication in which data format and transmission speed are reconfigurable. A serial peripheral interface (SPI) can provide a synchronous serial communication interface for short-distance communication. Integrated Circuit Audio (I2S) provides a serial bus interface for coupling digital audio devices. An inter-integrated circuit (I2C) can provide a two-wire interface to connect low-speed devices. A general-purpose input-output (GPIO) can provide an unspecified digital signal pin whose behavior is configurable at runtime.
S106,根据接口组合配置对通信模组的预设软件所配置的接口进行解耦处理。S106, decoupling the interfaces configured by the preset software of the communication module according to the interface combination configuration.
应说明的是,预设软件为预先存储于通信模组中的软件,该预设软件可 以用于将某些接口配置为预置功能的接口。通信模组的预设软件预置的功能会操作某些引脚。在一个或多个实施例中,接口组合配置为定制软件所需配置的接口。如果根据接口组合配置使用了通信模组的某个接口组合,通过解耦处理可以使得通信模组的预设软件不会去实施可能会影响这个接口组合功能的操作,从而可以避免通信模组的预设软件与用户的定制软件存在使用接口冲突的情况。It should be noted that the preset software is pre-stored in the communication module, and the preset software can be used to configure certain interfaces as interfaces with preset functions. The preset software preset functions of the communication module will operate certain pins. In one or more embodiments, the combination of interfaces is configured as interfaces required by the custom software. If a certain interface combination of the communication module is used according to the interface combination configuration, through decoupling processing, the preset software of the communication module will not perform operations that may affect the function of this interface combination, thereby avoiding the communication module There is an interface conflict between the preset software and the user's customized software.
上述实施例提供的通信模组外部接口配置方法,读取并根据接口组合配置使能与接口组合配置对应的目标接口,实现了自动配置所需的目标接口,无需用户对目标接口一个个进行操作,从而大大减少了用户花费的时间。同时,自动配置所需的目标接口可以降低接口组合错误配置的情况。再者,根据接口组合配置对通信模组的预设软件所配置的接口进行解耦处理,可以避免预设软件对目标接口重新配置,从而保证了目标接口的定制功能,在通信模组的预设软件和定制软件存在冲突使用接口的情况下,无需修改并升级模组软件,提高了通信模组的适用性。The communication module external interface configuration method provided by the above-mentioned embodiment reads and enables the target interface corresponding to the interface combination configuration according to the interface combination configuration, realizes the target interface required for automatic configuration, and does not require the user to operate the target interfaces one by one , thereby greatly reducing the time spent by the user. At the same time, automatic configuration of the required target interfaces reduces the chance of misconfiguration of interface combinations. Furthermore, decoupling the interfaces configured by the preset software of the communication module according to the interface combination configuration can prevent the preset software from reconfiguring the target interface, thus ensuring the customization function of the target interface. When there is a conflict between the design software and the custom software, there is no need to modify and upgrade the module software, which improves the applicability of the communication module.
上述实施例提供的通信模组外部接口配置方法需要根据接口组合配置使能与接口组合配置对应的目标接口,那么下述实施例将提供一种使能目标接口的方法。如图2所示,该使能目标接口的方法可以包括步骤S202至步骤S204。The communication module external interface configuration method provided in the above embodiments needs to enable the target interface corresponding to the interface combination configuration according to the interface combination configuration, so the following embodiments will provide a method for enabling the target interface. As shown in FIG. 2, the method for enabling a target interface may include steps S202 to S204.
S202,根据接口组合信息库以及接口组合配置确定目标接口。S202. Determine the target interface according to the interface combination information base and the interface combination configuration.
接口组合信息库中记录了预先设置的多种接口组合的信息。其中,接口组合信息库可以存储在存储器中,可以例如为flash的存储器。在一个或多个实施例中,可以通过访问存储器实现查询、建立、更新接口组合信息库的操作。应说明的是,接口组合信息库也可以是表示集合的概念,本申请实施例不对接口组合信息库的形式做限定,只要能通过该接口组合信息库确定与接口组合配置对应的目标接口即可。接口组合的信息可以包括但不限于接口以及该接口的接口功能,该接口功能包括但不限于UART、SPI、I2S、I2C、GPIO。 在一个或多个实施例中,可以预先设置有接口组合信息库,当读取到接口组合配置之后,可以从接口组合信息库中查找与接口组合配置对应的目标接口以及目标接口的接口功能,从而可以获得需要对通信模组的哪个外部接口进行操作,为后续操作做准备。在一个或多个实施例中,提供了一种接口组合信息库的建立方法,该建立方法可以包括:确定通信模组的接口组合;对各接口组合进行唯一的编号;将接口组合与编号对应存储,以使根据编号可以查询到对应的接口组合。The interface combination information base records the information of multiple interface combinations preset. Wherein, the interface combination information base may be stored in a memory, which may be, for example, a flash memory. In one or more embodiments, the operations of querying, establishing, and updating the interface combination information library can be implemented by accessing the memory. It should be noted that the interface combination information base can also represent the concept of a set. The embodiment of the present application does not limit the form of the interface combination information base, as long as the target interface corresponding to the interface combination configuration can be determined through the interface combination information base. . The information of the interface combination may include but not limited to the interface and the interface function of the interface, and the interface function includes but not limited to UART, SPI, I2S, I2C, and GPIO. In one or more embodiments, an interface combination information library may be preset. After the interface combination configuration is read, the target interface corresponding to the interface combination configuration and the interface function of the target interface may be searched from the interface combination information library. In this way, which external interface of the communication module needs to be operated can be obtained to prepare for subsequent operations. In one or more embodiments, a method for establishing an interface combination information library is provided, the establishment method may include: determining the interface combination of the communication module; assigning a unique number to each interface combination; and corresponding the interface combination with the number Stored so that the corresponding interface combination can be queried according to the number.
S204,使能目标接口。S204, enable the target interface.
应说明的是,使能目标接口可以使该目标接口的功能生效。It should be noted that enabling the target interface may enable the function of the target interface to take effect.
请参考图3,上述实施例提供的通信模组外部接口配置方法还可以包括步骤S302至步骤S306。Please refer to FIG. 3 , the method for configuring the external interface of the communication module provided in the above embodiment may further include steps S302 to S306.
S302,响应于接口组合配置命令,生成与接口组合配置命令对应的接口组合配置。S302. Generate an interface combination configuration corresponding to the interface combination configuration command in response to the interface combination configuration command.
应说明的,接口组合配置命令用于选择通信模组的提供的多种接口组合中的一种接口组合。在一个或多个实施例中,接口组合配置命令包含用户的定制软件所需使用的接口组合。在一个或多个实施例中,终端设备与通信模组连接,终端设备发送接口组合配置命令,通信模组接收并响应于接口组合配置命令,生成与接口组合配置命令对应的接口组合配置。在一个或多个实施例中,可以预先设置接口组合配置命令与接口组合配置的对应关系,在接收到接口组合配置命令的情况下,可以根据接口组合配置命令配置通信模组的外部接口组合。在一个或多个实施例中,接口组合配置命令为AT(Attention)命令。AT命令是一种调制解调命令语言,应用于设备应用之间的连接与通信。通过向通信模组AT命令,以指示通信模组是使能目标接口。在一个或多个实施例中,已有的AT命令存放在AT命令数据集中,AT命令数据集中不同的AT命令对应不同的接口组合,通过调用AT命令数据集中不同的AT命令,执行AT命令用以实现来配置当前使用的接口组合。在一个或多个实施例中, 使用AT命令AT+CFGINTF=n来配置当前使用的接口组合,其中,n为接口组合的编号。可以理解的是,本申请实施例还可以采用别的形式的接口组合配置命令,只要其能实现配置当前使用的接口组合即可。It should be noted that the interface combination configuration command is used to select one of the various interface combinations provided by the communication module. In one or more embodiments, the interface combination configuration command includes the interface combination required by the user's customized software. In one or more embodiments, the terminal device is connected to the communication module, the terminal device sends an interface combination configuration command, the communication module receives and responds to the interface combination configuration command, and generates an interface combination configuration corresponding to the interface combination configuration command. In one or more embodiments, the corresponding relationship between the interface combination configuration command and the interface combination configuration can be set in advance, and when the interface combination configuration command is received, the external interface combination of the communication module can be configured according to the interface combination configuration command. In one or more embodiments, the interface combination configuration command is an AT (Attention) command. AT command is a modem command language, which is applied to the connection and communication between device applications. Indicate that the communication module is to enable the target interface by sending an AT command to the communication module. In one or more embodiments, existing AT commands are stored in the AT command data set, and different AT commands in the AT command data set correspond to different interface combinations. By calling different AT commands in the AT command data set, the AT command is executed. Configure the currently used combination of interfaces in terms of implementations. In one or more embodiments, the currently used interface combination is configured using the AT command AT+CFGINTF=n, where n is the number of the interface combination. It can be understood that, in the embodiment of the present application, other forms of interface combination configuration commands may also be used, as long as it can realize the configuration of the currently used interface combination.
S304,重启通信模组S304, restart the communication module
S306,在通信模组的启动过程中读取接口组合配置。S306. Read the interface combination configuration during the startup process of the communication module.
应说明的是,接口组合配置为掉电保存配置,以使通信模组在重启后可以读取该接口组合配置。在一个或多个实施例中,在启动过程中通过启动接口读取接口组合配置。应说明的是,启动接口为具有读取功能的函数。在一个或多个实施例中,在通信模组启动阶段根据接口组合配置使能目标接口。其中,在通信模组启动阶段结束的情况下,外部接口驱动初始化也成功。It should be noted that the interface combination configuration is saved after power failure, so that the communication module can read the interface combination configuration after restarting. In one or more embodiments, the interface combination configuration is read through the boot interface during boot. It should be noted that the startup interface is a function with a read function. In one or more embodiments, the target interface is enabled according to the interface combination configuration during the startup phase of the communication module. Wherein, when the startup phase of the communication module ends, the initialization of the external interface driver is also successful.
在一个或多个实施例中,通信模组的操作系统为Linux系统,且Linux系统具备设备树机制。In one or more embodiments, the operating system of the communication module is a Linux system, and the Linux system has a device tree mechanism.
其中,Linux系统引入了设备树的概念,Linux设备树以树状节点的方式描述一个设备的各种硬件信息细节:CPU、GPIO、始终、中断、内存等。设备树用于实现驱动代码与设备信息相分离。在设备树出现以前,所有关于设备的具体信息都要写在驱动里,一旦外围设备变化,驱动代码就要重写。引入设备树之后,驱动代码只负责处理驱动的逻辑,而关于设备的具体信息存放到设备树文件中,这样,如果只是硬件接口信息的变化而没有驱动逻辑的变化,只需要修改设备树文件信息,不需要改写驱动代码。Among them, the Linux system introduces the concept of device tree. The Linux device tree describes various hardware information details of a device in the form of tree nodes: CPU, GPIO, always, interrupt, memory, etc. The device tree is used to separate the driver code from the device information. Before the appearance of the device tree, all the specific information about the device must be written in the driver. Once the peripheral device changes, the driver code must be rewritten. After the device tree is introduced, the driver code is only responsible for processing the logic of the driver, and the specific information about the device is stored in the device tree file. In this way, if there is only a change in the hardware interface information without a change in the driver logic, only the device tree file information needs to be modified. , no need to rewrite the driver code.
基于此,本申请实施例提供了一种通信模组外部接口配置方法,如图4所示,该通信模组外部接口配置方法可以包括步骤S402至步骤S406。Based on this, an embodiment of the present application provides a method for configuring an external interface of a communication module. As shown in FIG. 4 , the method for configuring an external interface of a communication module may include steps S402 to S406.
S402,读取接口组合配置。S402. Read interface combination configuration.
其中,读取通信模组的接口组合配置。接口组合配置用于指示该通信模组的多个预先设置的多种接口组合种的一种接口组合,也可以理解为通信模组通过接口组合配置确定应该选择哪一种接口组合来使用。在一个或多个实施例中,接口组合配置可以为用户的定制软件所使用的接口以及对应接口的接口功能。Among them, the interface combination configuration of the communication module is read. The interface combination configuration is used to indicate an interface combination of multiple preset interface combinations of the communication module, and it can also be understood that the communication module determines which interface combination should be selected for use through the interface combination configuration. In one or more embodiments, the interface combination configuration may be the interface used by the user's customized software and the interface function of the corresponding interface.
S404,根据接口组合配置修改目标接口的设备树节点使能状态,以使能目标接口。S404. Modify the enabling state of the device tree node of the target interface according to the interface combination configuration, so as to enable the target interface.
应说明的,目标接口为与接口组合配置对应的接口。应说明的是,设备树节点可以包括驱动参数和使能参数,驱动参数被对应的驱动软件所使用,使能参数与设备树节点是否使能。其中,修改的参数可以包括使能参数,其中,使能参数可以为status参数。在一个或多个实施例中,根据接口组合配置修改目标接口的设备树节点的status参数,以使目标接口处于使能状态。It should be noted that the target interface is an interface corresponding to the interface combination configuration. It should be noted that the device tree node may include a driver parameter and an enable parameter, the driver parameter is used by the corresponding driver software, the enable parameter and whether the device tree node is enabled. Wherein, the modified parameter may include an enabling parameter, where the enabling parameter may be a status parameter. In one or more embodiments, the status parameter of the device tree node of the target interface is modified according to the interface combination configuration, so that the target interface is in an enabled state.
S406,根据接口组合配置对通信模组的预设软件所配置的接口进行解耦处理。S406. Decoupling the interfaces configured by the preset software of the communication module according to the interface combination configuration.
应说明的是,预设软件为预先存储于通信模组中,该预设软件可以用于将某些接口配置为某一功能的接口。通信模组的预设软件预置的功能会操作某些引脚。在一个或多个实施例中,接口组合配置为定制软件所需配置的接口。其中,解耦处理为如果根据接口组合配置配置使用了通信模组的某个接口组合,模组预设软件就不会去实施可能会影响这个接口组合功能的操作。从而可以避免模组预设软件与客户应用存在冲突使用接口的情况。It should be noted that the preset software is pre-stored in the communication module, and the preset software can be used to configure certain interfaces as interfaces with a certain function. The preset software preset functions of the communication module will operate certain pins. In one or more embodiments, the combination of interfaces is configured as interfaces required by the custom software. Among them, the decoupling process is that if a certain interface combination of the communication module is used according to the interface combination configuration configuration, the module preset software will not perform operations that may affect the function of this interface combination. In this way, it is possible to avoid the conflict between the interface of the module preset software and the client application.
上述实施例提供的通信模组外部接口配置方法,利用了Linux系统的设备树机制动态使能接口功能,无需用户对目标接口一个个进行操作,从而大大减少了用户花费的时间。同时,自动配置所需的目标接口可以降低接口组合错误配置的情况。再者,根据接口组合配置对通信模组的预设软件所配置的接口进行解耦处理,可以避免预设软件对目标接口重新配置,从而保证了目标接口的定制功能,在通信模组的预设软件和定制软件存在冲突使用接口的情况下,无需修改并升级模组软件,提高了通信模组的适用性。The method for configuring the external interface of the communication module provided by the above embodiment utilizes the device tree mechanism of the Linux system to dynamically enable the interface function, and does not require the user to operate the target interfaces one by one, thereby greatly reducing the time spent by the user. At the same time, automatic configuration of the required target interfaces reduces the chance of misconfiguration of interface combinations. Furthermore, decoupling the interfaces configured by the preset software of the communication module according to the interface combination configuration can prevent the preset software from reconfiguring the target interface, thus ensuring the customization function of the target interface. When there is a conflict between the design software and the custom software, there is no need to modify and upgrade the module software, which improves the applicability of the communication module.
请参考图5,其示出了本申请实施例提供了一种通信模组外部接口配置方法,如图5所示,该通信模组外部接口配置方法可以包括步骤S502至步骤S506。Please refer to FIG. 5 , which shows that an embodiment of the present application provides a method for configuring an external interface of a communication module. As shown in FIG. 5 , the method for configuring an external interface of a communication module may include steps S502 to S506.
S502,接收接口组合配置命令,并根据该接口组合配置命令生成接口组 合配置。S502. Receive an interface combination configuration command, and generate an interface combination configuration according to the interface combination configuration command.
在一个或多个实施例中,该接口组合配置命令为AT命令。在一个或多个实施例中,该接口组合配置为掉电保存配置。In one or more embodiments, the interface combination configuration command is an AT command. In one or more embodiments, the interface combination configuration is a power-down saving configuration.
S504,在启动过程中读取接口组合配置,在linux启动阶段根据接口组合配置动态修改目标接口的设备树节点使能状态。S504. Read the interface combination configuration during the startup process, and dynamically modify the device tree node enabling status of the target interface according to the interface combination configuration during the linux startup phase.
在一个或多个实施例中,在linux启动阶段根据接口组合配置动态修改目标接口的设备树节点的参数配置,以修改目标接口的设备树节点使能状态。In one or more embodiments, during the linux startup phase, the parameter configuration of the device tree node of the target interface is dynamically modified according to the interface combination configuration, so as to modify the enabling state of the device tree node of the target interface.
S506,根据接口组合配置对通信模组的预设软件所配置的接口进行解耦处理。S506. Decoupling the interfaces configured by the preset software of the communication module according to the interface combination configuration.
在一个或多个实施例中,通信模组根据接口组合配置进行解耦处理,如果预设软件使用的某个接口被用户的定制软件使用,则预设软件不再去配置使用该接口,以避免预设软件和定制软件的接口使用冲突。In one or more embodiments, the communication module performs decoupling processing according to the interface combination configuration. If a certain interface used by the preset software is used by the user's customized software, the preset software will no longer configure and use the interface, so as to Avoid interface usage conflicts between preset software and customized software.
上述实施例提出的通信模组外部接口配置方法,允许用户动态配置通信模组当前使用的外部接口组合,解决用户手动配置可能存在的接口冲突使用的问题,实现了通信模组预设软件与客户定制软件在外部接口上的解耦使用。The communication module external interface configuration method proposed in the above embodiment allows the user to dynamically configure the external interface combination currently used by the communication module, solves the problem of interface conflicts that may exist in manual configuration by the user, and realizes communication module preset software and customer Decoupled use of custom software on external interfaces.
图为本发明一个实施例的方法的流程示意图。应该理解的是,虽然图1-5的流程图中的各个步骤按照箭头的指示依次显示但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,图中的至少部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。The figure is a schematic flowchart of a method according to an embodiment of the present invention. It should be understood that although the various steps in the flow charts of FIGS. 1-5 are shown sequentially as indicated by the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some of the steps in the figure may include multiple sub-steps or multiple stages, these sub-steps or stages are not necessarily executed at the same time, but may be executed at different times, and the execution order is not necessarily sequential Instead, it may be performed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.
在一个或多个实施例中,如图6所示,提供了一种通信模组外部接口配置装置600,该通信模组外部接口配置装置600可以包括:读取模块602、使能模块604和解耦模块606,其中,读取模块602可以用于读取接口组合配置。其中,接口组合配置用于指示通信模组的多种预先设置的接口组合中的 一种接口组合。使能模块604可以用于根据接口组合配置使能与接口组合配置对应的目标接口。解耦模块606可以用于根据接口组合配置对通信模组的预设软件所配置的接口进行解耦处理。In one or more embodiments, as shown in FIG. 6 , a communication module external interface configuration device 600 is provided, and the communication module external interface configuration device 600 may include: a reading module 602, an enabling module 604 and The decoupling module 606, wherein the reading module 602 can be used to read the interface combination configuration. Wherein, the interface combination configuration is used to indicate an interface combination among various preset interface combinations of the communication module. The enabling module 604 may be configured to enable a target interface corresponding to the interface combination configuration according to the interface combination configuration. The decoupling module 606 may be configured to decouple the interfaces configured by the preset software of the communication module according to the interface combination configuration.
在一个或多个实施例中,使能模块还可以用于根据接口组合信息库以及接口组合配置确定目标接口。其中,接口组合信息库中记录了预先设置的多种接口组合信息。使能模块还可以用于使能目标接口。In one or more embodiments, the enabling module may also be used to determine the target interface according to the interface combination information library and the interface combination configuration. Wherein, the interface combination information base records various preset interface combination information. The enable module can also be used to enable the target interface.
在一个或多个实施例中,读取模块还可以用于响应于接口组合配置命令,生成与接口组合配置对应的接口组合配置。读取模块还可以用于重启通信模组。读取模块还可以用于在通信模组的启动过程中读取接口组合配置。In one or more embodiments, the reading module may be further configured to generate an interface combination configuration corresponding to the interface combination configuration in response to the interface combination configuration command. The reading module can also be used to restart the communication module. The reading module can also be used to read the interface combination configuration during the startup process of the communication module.
在一个或多个实施例中,使能模块还可以用于根据接口组合配置修改目标接口的设备树节点使能状态,以使能目标接口。In one or more embodiments, the enabling module may also be configured to modify the device tree node enabling state of the target interface according to the interface combination configuration, so as to enable the target interface.
在一个或多个实施例中,使能模块还可以用于根据接口组合配置修改目标接口的设备树节点的status参数。In one or more embodiments, the enabling module may also be configured to modify the status parameter of the device tree node of the target interface according to the interface combination configuration.
关于通信模组外部接口配置装置的具体限定可以参见上文中对于通信模组外部接口配置方法的限定,在此不再赘述。上述通信模组外部接口配置装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。For specific limitations on the device for configuring the external interface of the communication module, refer to the above-mentioned limitations on the method for configuring the external interface of the communication module, and details will not be repeated here. Each module in the above communication module external interface configuration device can be fully or partially realized by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, and can also be stored in the memory of the computer device in the form of software, so that the processor can invoke and execute the corresponding operations of the above-mentioned modules. It should be noted that the division of modules in the embodiment of the present application is schematic, and is only a logical function division, and there may be other division methods in actual implementation.
在本申请中所使用的,术语“组件”、“模块”和“系统”等旨在表示计算机相关的实体,它可以是硬件、硬件和软件的组台、软件、或者执行中的软件。例如,组件可以是但不限于是,在处理器上运行的进程、处理器、对象、可执行码、执行的线程、程序和或计算机。作为说明,运行在服务器上的应用程序和服务器都可以是组件。一个或多个组件可以驻留在进程和或执行的线程中,并且组件可以位于一个计算机内和或分布在两个或更多的计算机之间。As used in this application, the terms "component," "module," and "system" and the like are intended to refer to a computer-related entity, which may be hardware, a combination of hardware and software, software, or software in execution. For example, a component may be, but is not limited to being, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and or a computer. As an illustration, both an application running on a server and a server can be a component. One or more components can reside within a process and or thread of execution, and a component can be localized on one computer and or distributed between two or more computers.
在一个或多个实施例中,还提供了一种通信模组,包括存储器和处理器,存储器中存储有计算机可读指令,该处理器执行计算机可读指令时实现上述各通信模组外部接口配置方法实施例中的步骤。In one or more embodiments, a communication module is also provided, including a memory and a processor, wherein computer-readable instructions are stored in the memory, and the processor implements the external interfaces of the above-mentioned communication modules when executing the computer-readable instructions Steps in the embodiment of the configuration method.
在一个或多个实施例中,通信模组还可以包括AT命令接口,用于接收接口组合配置命令。其中,接口组合配置命令用于选择通信模组的提供的多种接口组合中的一种接口组合。在一个或多个实施例中,通信模组通过AT命令接口与移动终端连接,以接收移动终端发送的接口组合配置命令。其中,接口组合配置命令为用户所想使用的接口组合。In one or more embodiments, the communication module may further include an AT command interface for receiving an interface combination configuration command. Wherein, the interface combination configuration command is used to select one interface combination among various interface combinations provided by the communication module. In one or more embodiments, the communication module is connected to the mobile terminal through an AT command interface to receive an interface combination configuration command sent by the mobile terminal. Wherein, the interface combination configuration command is the interface combination that the user wants to use.
在一个或多个实施例中,提供了一种通信设备,该通信设备可以是手机、平板电脑、笔记本电脑、智能汽车、智能家居等,应说明的,该通信设备至少包括一个通信模组。其内部结构图可以如图7所示。该通信设备包括通过系统总线连接的处理器、存储器、通信模组、显示屏和输入装置。其中,该通信设备的处理器用于提供计算和控制能力。该通信设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机可读指令。该内存储器为非易失性存储介质中的操作系统和计算机可读指令的运行提供环境。该计算机可读指令被处理器执行时以实现一种通信模组外部接口配置方法。该通信设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该通信设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In one or more embodiments, a communication device is provided, and the communication device may be a mobile phone, a tablet computer, a notebook computer, a smart car, a smart home, etc. It should be noted that the communication device includes at least one communication module. Its internal structure diagram can be shown in FIG. 7 . The communication device includes a processor, a memory, a communication module, a display screen and an input device connected through a system bus. Wherein, the processor of the communication device is used to provide calculation and control capabilities. The memory of the communication device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer readable instructions. The internal memory provides an environment for the execution of the operating system and computer readable instructions in the non-volatile storage medium. When the computer-readable instructions are executed by the processor, a method for configuring the external interface of the communication module is realized. The display screen of the communication device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the communication device may be a touch layer covered on the display screen, or a button, a trackball or a touch pad provided on the casing of the computer device , and can also be an external keyboard, touchpad, or mouse.
本领域技术人员可以理解,图7中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的通信设备的限定,其中,计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 7 is only a block diagram of a partial structure related to the solution of this application, and does not constitute a limitation on the communication equipment to which the solution of this application is applied. Among them, the computer equipment can More or fewer components than shown in the figures may be included, or some components may be combined, or have a different arrangement of components.
本申请提供的通信模组外部接口配置方法,可以应用于上述通信设备,该通信设备可包括一个或多个通信模组,该通信设备可以应用于如图8所示 的应用环境中。通信设备802与终端804通过接口进行通信。客户可在终端804进行通信设备802中通信模组的配置,下发接口组合配置命令至通信模组,通信模组读取接口组合配置,并根据接口组合配置使能与接口组合配置对应的目标接口,然后通信模组根据接口组合配置对通信模组的预设软件所配置的接口进行解耦处理,使得通信模组的预设软件不会实施可能会影响这个接口组合供能的操作,从而可以避免通信模组的预设软件与用户的定制软件存在使用接口冲突的情况。如上所述,通信设备802可以但不限于是各种手机、平板电脑、笔记本电脑、智能汽车、智能家居等。The communication module external interface configuration method provided in this application can be applied to the above-mentioned communication device, which may include one or more communication modules, and the communication device can be applied to the application environment shown in Figure 8. The communication device 802 communicates with the terminal 804 through an interface. The customer can configure the communication module in the communication device 802 at the terminal 804, issue the interface combination configuration command to the communication module, the communication module reads the interface combination configuration, and enables the target corresponding to the interface combination configuration according to the interface combination configuration interface, and then the communication module decouples the interface configured by the preset software of the communication module according to the configuration of the interface combination, so that the preset software of the communication module will not implement operations that may affect the energy supply of this interface combination, thereby It is possible to avoid conflicts between the preset software of the communication module and the custom software of the user. As mentioned above, the communication device 802 may be, but not limited to, various mobile phones, tablet computers, notebook computers, smart cars, smart homes, and the like.
在一个或多个实施例中,提供了一种计算机可读存储介质,其上存储有计算机可读指令,该计算机可读指令被处理器执行时实现上述各方法实施例中的步骤。In one or more embodiments, a computer-readable storage medium is provided, on which computer-readable instructions are stored, and when the computer-readable instructions are executed by a processor, the steps in the foregoing method embodiments are implemented.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机可读指令来指令相关的硬件来完成,上述的计算机可读指令可存储于一非易失性计算机可读取存储介质中,该计算机可读指令在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-Only Memory,ROM)、磁带、软盘、闪存或光存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic Random Access Memory,DRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above-mentioned embodiments can be implemented by instructing related hardware through computer-readable instructions. The above-mentioned computer-readable instructions can be stored in a non-volatile computer-readable When being read from the storage medium, the computer-readable instructions may include the processes of the embodiments of the above-mentioned methods when executed. Wherein, any references to memory, storage, database or other media used in the various embodiments provided in the present application may include at least one of non-volatile memory and volatile memory. Non-volatile memory may include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. To make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be It is considered to be within the range described in this specification.
以上实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域 的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above examples only express several implementation modes of the present application, and the description thereof is relatively specific and detailed, but should not be construed as limiting the scope of the patent for the invention. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the scope of protection of the patent application should be based on the appended claims.

Claims (15)

  1. 一种通信模组外部接口配置方法,包括:A communication module external interface configuration method, comprising:
    读取接口组合配置,所述接口组合配置用于指示所述通信模组的多个预先设置的多种接口组合中的一种接口组合;Reading the interface combination configuration, the interface combination configuration is used to indicate one of the multiple preset interface combinations of the communication module;
    根据所述接口组合配置使能与所述接口组合配置对应的目标接口;enabling a target interface corresponding to the interface combination configuration according to the interface combination configuration;
    根据所述接口组合配置对所述通信模组的预设软件所配置的接口进行解耦处理。The interface configured by the preset software of the communication module is decoupled according to the interface combination configuration.
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述接口组合配置使能与所述接口组合配置对应的目标接口,包括:The method according to claim 1, wherein enabling the target interface corresponding to the interface combination configuration according to the interface combination configuration comprises:
    根据接口组合信息库以及所述接口组合配置确定所述目标接口;其中,所述接口组合信息库中记录了所述预先设置的多种接口组合的信息;The target interface is determined according to the interface combination information library and the interface combination configuration; wherein, the interface combination information library records the information of the preset multiple interface combinations;
    使能所述目标接口。Enable the target interface.
  3. 根据权利要求1所述的方法,其特征在于,所述读取接口组合配置,包括:The method according to claim 1, wherein said reading interface combined configuration comprises:
    响应于接口组合配置命令,生成与所述接口组合配置命令对应的接口组合配置;generating an interface combination configuration corresponding to the interface combination configuration command in response to the interface combination configuration command;
    重启所述通信模组;Restart the communication module;
    在所述通信模组的启动过程中读取所述接口组合配置。The interface combination configuration is read during the startup process of the communication module.
  4. 根据权利要求3所述的方法,其特征在于,所述接口组合配置命令为AT命令。The method according to claim 3, wherein the interface combination configuration command is an AT command.
  5. 根据权利要求1所述的方法,其特征在于,所述通信模组的操作系统为linux系统,所述根据所述接口组合配置使能与所述接口组合配置对应的目标接口,包括:The method according to claim 1, wherein the operating system of the communication module is a linux system, and enabling the target interface corresponding to the interface combination configuration according to the interface combination configuration includes:
    根据所述接口组合配置修改所述目标接口的设备树节点使能状态,以使能所述目标接口。Modifying the enabling state of the device tree node of the target interface according to the interface combination configuration, so as to enable the target interface.
  6. 根据权利要求5所述的方法,其特征在于,所述根据所述接口组合配 置修改所述目标接口的设备树节点使能状态,包括:The method according to claim 5, wherein said modifying the device tree node enabling status of the target interface according to the interface combination configuration comprises:
    根据所述接口组合配置修改所述目标接口的设备树节点的status参数。Modifying the status parameter of the device tree node of the target interface according to the interface combination configuration.
  7. 一种通信模组外部接口配置装置,包括:A communication module external interface configuration device, comprising:
    读取模块,用于读取接口组合配置,所述接口组合配置用于指示所述通信模组的多种预先设置的接口组合中的一种接口组合;The reading module is used to read the interface combination configuration, and the interface combination configuration is used to indicate one of the various preset interface combinations of the communication module;
    使能模块,用于根据所述接口组合配置使能与所述接口组合配置对应的目标接口;及An enabling module, configured to enable a target interface corresponding to the interface combination configuration according to the interface combination configuration; and
    解耦模块,用于根据所述接口组合配置对所述通信模组的预设软件所配置的接口进行解耦处理。A decoupling module, configured to decouple the interfaces configured by the preset software of the communication module according to the interface combination configuration.
  8. 一种通信模组,包括存储器和一个或多个处理器,所述存储器存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述一个或多个处理器执行以下步骤:A communication module, comprising a memory and one or more processors, the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the one or more processors execute The following steps:
    读取接口组合配置,所述接口组合配置用于指示所述通信模组的多个预先设置的多种接口组合中的一种接口组合;Reading the interface combination configuration, the interface combination configuration is used to indicate one of the multiple preset interface combinations of the communication module;
    根据所述接口组合配置使能与所述接口组合配置对应的目标接口;enabling a target interface corresponding to the interface combination configuration according to the interface combination configuration;
    根据所述接口组合配置对所述通信模组的预设软件所配置的接口进行解耦处理。The interface configured by the preset software of the communication module is decoupled according to the interface combination configuration.
  9. 根据权利要求8所述的通信模组,其特征在于,所述计算机可读指令被所述处理器执行时,使得所述处理器还执行以下步骤:The communication module according to claim 8, wherein when the computer-readable instructions are executed by the processor, the processor further performs the following steps:
    根据接口组合信息库以及所述接口组合配置确定所述目标接口;其中,所述接口组合信息库中记录了所述预先设置的多种接口组合的信息;The target interface is determined according to the interface combination information library and the interface combination configuration; wherein, the interface combination information library records the information of the preset multiple interface combinations;
    使能所述目标接口。Enable the target interface.
  10. 根据权利要求8所述的通信模组,其特征在于,所述计算机可读指令被所述处理器执行时,使得所述处理器还执行以下步骤:The communication module according to claim 8, wherein when the computer-readable instructions are executed by the processor, the processor further performs the following steps:
    响应于接口组合配置命令,生成与所述接口组合配置命令对应的接口组合配置;generating an interface combination configuration corresponding to the interface combination configuration command in response to the interface combination configuration command;
    重启所述通信模组;Restart the communication module;
    在所述通信模组的启动过程中读取所述接口组合配置。The interface combination configuration is read during the startup process of the communication module.
  11. 根据权利要求10所述的通信模组,其特征在于,所述接口组合配置命令为AT命令。The communication module according to claim 10, wherein the interface combination configuration command is an AT command.
  12. 根据权利要求10所述的通信模组,其特征在于,所述通信模组的操作系统为linux系统,所述计算机可读指令被所述处理器执行时,使得所述处理器还执行以下步骤:The communication module according to claim 10, wherein the operating system of the communication module is a linux system, and when the computer readable instructions are executed by the processor, the processor further performs the following steps :
    根据所述接口组合配置修改所述目标接口的设备树节点使能状态,以使能所述目标接口。Modifying the enabling state of the device tree node of the target interface according to the interface combination configuration, so as to enable the target interface.
  13. 根据权利要求12所述的通信模组,其特征在于,所述计算机可读指令被所述处理器执行时,使得所述处理器还执行以下步骤:The communication module according to claim 12, wherein when the computer-readable instructions are executed by the processor, the processor further performs the following steps:
    根据所述接口组合配置修改所述目标接口的设备树节点的status参数。Modifying the status parameter of the device tree node of the target interface according to the interface combination configuration.
  14. 一种通信设备,包括至少一个通信模组,所述通信模组包括存储器和处理器,所述存储器存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行以下步骤:A communication device includes at least one communication module, the communication module includes a memory and a processor, the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the The processor performs the following steps:
    读取接口组合配置,所述接口组合配置用于指示所述通信模组的多个预先设置的多种接口组合中的一种接口组合;Reading the interface combination configuration, the interface combination configuration is used to indicate one of the multiple preset interface combinations of the communication module;
    根据所述接口组合配置使能与所述接口组合配置对应的目标接口;enabling a target interface corresponding to the interface combination configuration according to the interface combination configuration;
    根据所述接口组合配置对所述通信模组的预设软件所配置的接口进行解耦处理。The interface configured by the preset software of the communication module is decoupled according to the interface combination configuration.
  15. 一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:One or more non-transitory computer-readable storage media storing computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the following steps:
    读取接口组合配置,所述接口组合配置用于指示所述通信模组的多个预先设置的多种接口组合中的一种接口组合;Reading the interface combination configuration, the interface combination configuration is used to indicate one of the multiple preset interface combinations of the communication module;
    根据所述接口组合配置使能与所述接口组合配置对应的目标接口;enabling a target interface corresponding to the interface combination configuration according to the interface combination configuration;
    根据所述接口组合配置对所述通信模组的预设软件所配置的接口进行解耦处理。The interface configured by the preset software of the communication module is decoupled according to the interface combination configuration.
PCT/CN2022/099674 2021-11-16 2022-06-20 Communication module and external interface configuration method and configuration apparatus therefor, and storage medium WO2023087696A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111354960.4A CN114253890A (en) 2021-11-16 2021-11-16 Communication module, external interface configuration method and device thereof, and storage medium
CN202111354960.4 2021-11-16

Publications (1)

Publication Number Publication Date
WO2023087696A1 true WO2023087696A1 (en) 2023-05-25

Family

ID=80790947

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/099674 WO2023087696A1 (en) 2021-11-16 2022-06-20 Communication module and external interface configuration method and configuration apparatus therefor, and storage medium

Country Status (2)

Country Link
CN (1) CN114253890A (en)
WO (1) WO2023087696A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114253890A (en) * 2021-11-16 2022-03-29 深圳市广和通无线通信软件有限公司 Communication module, external interface configuration method and device thereof, and storage medium
CN114942899B (en) * 2022-03-30 2024-01-05 深圳市广和通无线股份有限公司 Pin configuration method, module, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016186606A1 (en) * 2015-05-15 2016-11-24 Micro Motion, Inc. Controlling access to an interface with a dongle
CN107295049A (en) * 2016-04-01 2017-10-24 中兴通讯股份有限公司 Realize framework, the method and device of network function communication
CN110096314A (en) * 2019-05-07 2019-08-06 苏州浪潮智能科技有限公司 A kind of interface initialization method, apparatus, equipment and computer readable storage medium
CN113411203A (en) * 2021-05-14 2021-09-17 深圳市广和通无线股份有限公司 Terminal configuration method and device, computer equipment and storage medium
CN113535536A (en) * 2020-04-20 2021-10-22 阿里巴巴集团控股有限公司 Testing, configuring, installing and operating method, device, electronic equipment and storage medium
CN114253890A (en) * 2021-11-16 2022-03-29 深圳市广和通无线通信软件有限公司 Communication module, external interface configuration method and device thereof, and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140119463A1 (en) * 2012-10-29 2014-05-01 Texas Instruments Incorporated Scalable Multifunction Serial Link Interface
CN106330324B (en) * 2015-07-09 2020-09-22 中兴通讯股份有限公司 Control method and device
AU2017319719B2 (en) * 2016-09-05 2022-09-22 IOT.nxt BV Software-defined device interface system and method
CN108388531A (en) * 2018-02-09 2018-08-10 深圳国微技术有限公司 A kind of chip and its pin multiplexing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016186606A1 (en) * 2015-05-15 2016-11-24 Micro Motion, Inc. Controlling access to an interface with a dongle
CN107295049A (en) * 2016-04-01 2017-10-24 中兴通讯股份有限公司 Realize framework, the method and device of network function communication
CN110096314A (en) * 2019-05-07 2019-08-06 苏州浪潮智能科技有限公司 A kind of interface initialization method, apparatus, equipment and computer readable storage medium
CN113535536A (en) * 2020-04-20 2021-10-22 阿里巴巴集团控股有限公司 Testing, configuring, installing and operating method, device, electronic equipment and storage medium
CN113411203A (en) * 2021-05-14 2021-09-17 深圳市广和通无线股份有限公司 Terminal configuration method and device, computer equipment and storage medium
CN114253890A (en) * 2021-11-16 2022-03-29 深圳市广和通无线通信软件有限公司 Communication module, external interface configuration method and device thereof, and storage medium

Also Published As

Publication number Publication date
CN114253890A (en) 2022-03-29

Similar Documents

Publication Publication Date Title
WO2023087696A1 (en) Communication module and external interface configuration method and configuration apparatus therefor, and storage medium
US9301164B2 (en) Method, system, and terminal for performing system update between mobile communication terminals
US10223132B2 (en) Synchronization between electronic devices
WO2021018005A1 (en) Inter-process communication method, apparatus and device
US9304788B2 (en) Electronic device, configurable component and configuration information storage method thereof
US20100023602A1 (en) Method and apparatus for updating information on an embedded system
US8943232B2 (en) System method for enumerating client devices embedded in a user device during reboot, wake up or restart of user device
US20060136899A1 (en) Method for programming/updating software using USB OTG
EP2997463B1 (en) Extraction of operating system-specific characteristics via a communication interface
WO2023070823A1 (en) Bootloader loading method, apparatus and system, electronic device and medium
CN112799696B (en) Firmware upgrading method and related equipment
CN112306581B (en) Method and medium for managing Basic Input Output System (BIOS) configuration by baseboard management controller
JP6033942B2 (en) Device, system and method for assigning identifiers to components of a control system
US10521216B2 (en) Unified extensible firmware interface updates
WO2022042252A1 (en) Driver configuration management method and apparatus, medium, device, and system
WO2021052054A1 (en) Method for plug-in implementation and system for plug-in implementation
CN116431546B (en) Parameter configuration method, electronic device, storage medium, and program product
JP2005531085A (en) Method and apparatus for realizing hardware compatibility and realizing stable software image
WO2019100704A1 (en) Starting method for multi-mode iot device, multi-mode iot device, and storage medium
CN100419682C (en) System and method for fast starting attachment memory of computer
CN111381892B (en) Data processing method, device, equipment and machine-readable medium
KR20220013746A (en) Computer Systems and Method for Automatic Installation of Operating Systems at Remote Place
CN114026540A (en) System and method for supporting and negotiating multiple API versions across multiple products
CN111143021A (en) Display driver loading method and device, chip, mainboard and electronic equipment
JP2007018491A (en) Method for updating function of portable apparatus by plug and play (pnp) storage device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22894239

Country of ref document: EP

Kind code of ref document: A1