WO2012129930A1 - Multi-standard drive method and system, and terminal - Google Patents

Multi-standard drive method and system, and terminal Download PDF

Info

Publication number
WO2012129930A1
WO2012129930A1 PCT/CN2011/083648 CN2011083648W WO2012129930A1 WO 2012129930 A1 WO2012129930 A1 WO 2012129930A1 CN 2011083648 W CN2011083648 W CN 2011083648W WO 2012129930 A1 WO2012129930 A1 WO 2012129930A1
Authority
WO
WIPO (PCT)
Prior art keywords
standard
interface
hardware
module
current
Prior art date
Application number
PCT/CN2011/083648
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 WO2012129930A1 publication Critical patent/WO2012129930A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Definitions

  • the present invention relates to the field of wireless communication technologies, and in particular, to a multi-system driving method, system, and terminal. Background technique
  • 3G can provide users with a more high-speed and updated Internet experience, but there are problems such as small coverage, poor technical stability, and high price. Therefore, it is necessary to supplement 2G with large network coverage and stable user base. Therefore, the various standards of 2G and 3G will coexist for a long time.
  • the software architecture of the current mobile phone generally uses a method of customizing two system schemes, running terminal application software and a standard wireless software on the main chip, and running other types of wireless software on the wireless mode chip.
  • each system on the wireless die has its own standard data and control abstraction module, system driver module and corresponding standard hardware.
  • the implementation of the system driver is coupled with the implementation of the terminal application function.
  • a multi-system driving system includes: a system data and control abstraction module, a system drive control module, and a system customization module provided with a unified interface; wherein the standard data and control abstraction module is configured to receive a system triggering signal carrying a system identifier sent by an upper layer, and sending, by the unified interface, a standard driving invocation command carrying the standard identifier to the standard driving control module; wherein the unified interface is applicable to information of multiple standards Transmission
  • the system driving control module is configured to receive a standard driving invocation command sent by the standard data and a control abstraction module, and invoke a preset common interface of a plurality of standards, and send the public interface to the standard customization module.
  • the interface calling command carrying the standard identifier is requested to invoke a corresponding interface of a plurality of preset presets;
  • the system customization module is configured to: after receiving an interface call command sent by the standard drive control module and carrying the system identifier, determine a current system according to the standard identifier, invoke a current standard hardware interface, and drive a current standard corresponding system hardware.
  • system customization module is further configured to register the control signal of the replaced system hardware and the drive control function of the data signal to the standard drive control module when the system hardware is replaced.
  • the drive control function of the control signal and the data signal is registered to the standard drive control module in the form of an interface.
  • the system customization module is specifically configured to: after receiving an interface call command of the standard drive control module that carries the standard identifier, determine a current system according to the standard identifier, and follow the current system reservation Timing calls the current standard hardware interface to drive the hardware corresponding to the current system.
  • system data and control abstraction module is located in a data and control abstraction layer; the system drive control module and the system customization module are located at an operating system layer; Hardware layer.
  • the embodiment of the present invention further provides a multi-standard driving method, the method includes: after the operating system layer receives the data and controls the abstraction layer to send the system-driven driving command command that carries the system identifier through the unified interface, a common interface of the system; wherein the unified interface is applicable to information transmission of multiple standards;
  • the method further includes: when replacing the standard hardware, registering the control signal of the replaced standard hardware and the driving control function of the data signal to the operating system layer.
  • the drive control function of the control signal and the data signal is registered in the form of an interface.
  • the calling the current system hardware interface to drive the hardware corresponding to the current system comprises: calling the current system hardware interface according to the predetermined timing of the current system, and driving the hardware corresponding to the current system.
  • the embodiment of the present invention further provides a terminal, including: a multi-system drive system;
  • the system drive system includes: a system data and control abstraction module, a system drive control module, and a system customization module provided with a unified interface;
  • the system data and control abstraction module is configured to receive a system triggering signal carrying a system identifier sent by an upper layer application, and send, by using the unified interface, a standard driving invocation command carrying the standard identifier to the standard driving control module;
  • the unified interface is applicable to information transmission of multiple standards;
  • the system driving control module is configured to receive the system driving invocation command sent by the standard data and the control abstraction module, and send the interface calling command carrying the standard identifier to the standard customization module, Requesting to call a corresponding interface of a plurality of preset presets;
  • the standard customization module is configured to receive a portable station sent by the standard drive control module After the interface of the system identifier is invoked, the current system is determined according to the standard identifier, and the current hardware interface is invoked to drive the standard hardware corresponding to the current system.
  • the embodiment of the present invention provides a multi-system driving method, system, and terminal, which are used to receive data and control system abstraction layer to send a system-type driving command command that carries a system identifier through a unified interface, and then call a preset multiple system.
  • the common interface is applicable to information transmission of a plurality of standards; determining a current system according to the standard identifier, calling the current standard hardware interface, and driving hardware corresponding to the current standard.
  • FIG. 1 is a schematic diagram of a multi-standard architecture in the prior art
  • FIG. 2 is a schematic diagram of a multi-system drive system according to an embodiment of the present invention.
  • Figure 3 is a schematic diagram of a multi-standard hardware architecture
  • FIG. 4 is a schematic flow chart of a multi-system driving method according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
  • an embodiment of the present invention provides a multi-standard drive system, as shown in FIG. 2, including: a system data and control abstraction module 201, a system drive control module 202, and a standard system provided with a unified interface.
  • Custom module 203 wherein
  • the system data and control abstraction module 201 is configured to receive a system triggering signal that carries the system identifier sent by the upper layer application, and send, by using the unified interface, the standard driver invoking command carrying the standard identifier to the system driving control module 202;
  • the unified interface is suitable for multiple standards Information transfer;
  • the system drive control module 202 is configured to receive the standard drive call command sent by the standard data and control abstraction module 201 and carry the standard drive command, invoke a preset common interface of multiple standards, and send the standard format to the standard customization module 203.
  • the identified interface invokes a command to request a corresponding interface of a plurality of preset presets;
  • the system customization module 203 is configured to receive an interface call command that carries the system identifier sent by the system drive control module 202, determine a current system according to the system identifier, invoke a current system hardware interface, and drive a standard hardware corresponding to the current system.
  • the system data and control abstraction module 201 is located in the data and control abstraction layer, and is responsible for the interaction between the upper layer application and the system driver control module 202, and generally controls the interaction between the command stream and the data stream related to the system.
  • An API Application Programming Interface
  • the interface on the system data and control abstraction module 201 is unified into an interface, that is, the interface
  • the unified interface is suitable for information transmission in a variety of formats.
  • the API is a predefined function, the purpose is to provide an application and based on software or hardware, so that there is no need to access the source code, but have the ability to access a set of routines.
  • the system driver control module 202 is located at the operating system layer and can implement the functions of the APIs in the standard data and control abstraction module 201. Regardless of which standard hardware is used, the connection of the hardware architecture is as shown in FIG. 3.
  • the wireless mode chip and the main chip interact through the control signal line and the data signal line, and the control signal is implemented in the system drive control module 202.
  • the abstraction of the driving function related to the data signal, and the related registration mechanism is implemented, so that the same driving interface is called to the different standard hardware in the system driving control module 202, so as to meet the different standard hardware configuration, the registration mode is shared. This module.
  • an interface implementation common to different system hardware is placed in the system driving control module 202, and the difference interface is implemented in the system customization module 203.
  • the system customization module 203 is located at the operating system layer and is used to implement related drivers of the hardware interfaces of the standard hardware. When using different standards, the timing and related requirements of the control signal lines and data signal lines used are different. The system customization module 203 implements these differences and drives the specific control signal interface and data signal interface.
  • the relevant driver code is implemented in the form of a function, and then these drive function functions are registered in the system drive control module 202 through the registration mechanism in the system drive control module 202, and the differential drive interfaces in the system drive control module 202 are completed.
  • the implementation realizes the entire hardware driver. For example, when replacing the standard hardware, it is necessary to register the control signal of the replaced standard hardware and the drive control function of the data signal to the system drive control module 202.
  • system data and control abstraction module 201 and the system driver control module 202 abstract the commonality of various standards. Therefore, the difference to be implemented in the module is relatively small, and in most cases, only some configuration changes. For example: The GPIO (General Purpose Input Output) is different, and the related timing requirements are different.
  • GPIO General Purpose Input Output
  • the system data and control abstraction module 201 provided with the unified interface receives the system trigger signal carrying the system identifier sent by the upper layer application
  • the system driver call carrying the standard identifier is sent to the system drive control module 202 through the unified interface. command.
  • the system driver control module 202 calls the preset common interface of the plurality of standards, and sends an interface call command carrying the standard identifier to the system customization module 203, requesting to call the corresponding interface of the preset multiple formats.
  • the system customization module 203 determines the current system according to the standard identification, calls the current standard hardware interface, and drives the standard hardware corresponding to the current system.
  • the system drive call command may include a control function call and/or a data function call;
  • the control function may include: selecting a system interface, reading a current running system, opening a system, closing a system, restarting a system, and waking up the system; These include: opening the communication port, closing the communication port, reading data from the communication port, writing data to the communication port, and communication port settings.
  • the system customization module 203 calls the current standard hard according to a predetermined timing of the current system.
  • the component interface drives the hardware corresponding to the current system.
  • the embodiment of the present invention further provides a multi-system driving method.
  • the method for solving the problem is similar to the multi-system driving system. As shown in FIG. 4, the method includes the following steps:
  • Step 401 The operating system layer receives the data and the control abstraction layer sends the standard drive command command that carries the system identifier through the unified interface, and invokes a preset common interface of multiple standards; wherein, the unified interface is applicable to information transmission of multiple standards. ;
  • Step 402 Determine a current system according to the standard identifier, invoke a current hardware interface, and drive hardware corresponding to the current standard.
  • control signal of the replaced standard hardware and the drive control function of the data signal are registered to the operating system layer in the form of an interface.
  • the current standard hardware interface is invoked according to a predetermined timing of the current system to drive the hardware corresponding to the current system.
  • Step A When the first system needs to be opened, the upper layer application sends a trigger signal for triggering the first system to the standard data and control abstraction module located in the data and control abstraction layer, because the standard data and control abstraction module covers all the functions required by the standard system. Therefore, the standard data and control abstraction module can directly call the open-modem interface to perform the open system operation without knowing the specific implementation of the interface. Assume that the above functions are implemented through the sysfs interface, which can be implemented by the /sys/bus/platform/drivers/modemctl/cmd command, such as the open-mode function.
  • the close-mode function can be written by the /sys/bus/platform/drivers/modemctl/cmd command.
  • the value of the cmd command is 2.
  • Step B After receiving the above cmd command, the system driver control module located at the operating system layer determines that the command value is 1, and implements an API modemctl-open_mode by calling a corresponding function, where the API includes parameters that are not related to hardware differences, The specific value of this parameter can be mapped to the parameters of the specific standard hardware in the standard custom module, such as the modemctl-open_modem-ifxgsm interface. Since the control signal lines, data signal lines, and timing of different standard hardware are different, these differentiated parts are registered in the form of API to the system drive control module, and implemented in the system customization module. Similarly, the interface differentiation of data functions is also implemented in the custom module.
  • Step C When the system customization module located at the operating system layer receives the modemctl_open_modem-ifxgsm interface, the interface of the first system is level-lowered and operated according to the required timing.
  • the above method and system can also be applied to the Windows Mobile platform, for example, when applied to the Windows Mobile platform, since the driver architecture on the Windows Mobile platform is in the form of a dynamic library, and there is no sysfs system, the API defined by the standard data and control abstraction module needs to pass the DeviceloControl.
  • the system call opens the dynamic library device driver interface of the system driver control module and passes in different parameters to implement.
  • the embodiment of the present invention further provides a terminal, as shown in FIG. 5, including: a multi-system drive system 501;
  • the system drive system comprises: a system data and control abstraction module 5011 provided with a unified interface, a system drive control module 5012 and a system customization module 5013;
  • the system data and control abstraction module 5011 is configured to receive a system trigger signal that carries the system identifier sent by the upper layer application, and send the bearer to the system drive control module 5012 through the unified interface.
  • the system drive control module 5012 is configured to receive a system drive call command that carries the system identifier sent by the standard data and control abstraction module 5011, and send an interface call command carrying the system identifier to the system customization module 5013, requesting to call the preset a corresponding interface of the plurality of standards;
  • the system customization module 5013 is configured to receive the interface calling command that carries the standard identifier sent by the standard driving control module 5012, determine the current system according to the standard identification, invoke the current standard hardware interface, and drive the current standard Corresponding system hardware.
  • control signal of the replaced standard hardware and the drive control function of the data signal are registered to the system drive control module in the form of an interface.
  • the method, the system and the terminal provided by the embodiments of the present invention are abstracted by using the common functions of the multiple standards, and are executed separately from the differentiated functions, so that when the system hardware is replaced, the development standard is not required to be re-customized. This reduces the cost of software development and testing while reducing the risk of testing through operators.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can be embodied in the form of one or more computer program products embodied on a computer-usable storage medium (including but not limited to disk storage, CD-ROM, optical storage, etc.) in which computer usable program code is embodied.
  • a computer-usable storage medium including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)
  • Communication Control (AREA)

Abstract

Embodiments of the present invention relate to the technical field of wireless communications, and particularly to a multi-standard drive method and system, and a terminal, so as to facilitate customization and update of multi-standard hardware. The method provided by an embodiment of the present invention comprises: after receiving a standard drive call command sent by a data and control abstraction layer through a unified interface and carrying a standard identifier, an operating system layer calling a preset multi-standard public interface, wherein the unified interface is applicable to multi-standard information transmission; determining, according to the standard identifier, a current standard, calling a hardware interface of the current standard, and driving hardware corresponding to the current standard. Public functions of multiple standards are abstracted, and are executed separately from distinctive functions, so that when hardware of a standard is changed, re-customization and re-development with respect to the standard are not required, thereby decreasing the cost of software development and testing, and meanwhile reducing the risk in passing the test of an operator.

Description

一种多制式驱动方法、 系统和终端 技术领域  Multi-system driving method, system and terminal
本发明涉及无线通信技术领域, 特别涉及一种多制式驱动方法、 系统 和终端。 背景技术  The present invention relates to the field of wireless communication technologies, and in particular, to a multi-system driving method, system, and terminal. Background technique
目前, 3G能够为用户提供更高速更新颖的互联网体验, 但存在覆盖面 小、 技术稳定性较差、 价格较贵等问题。 因此, 需要网络覆盖面大、 用户 群稳定的 2G作为补充。 从而, 2G和 3G的各种制式必将长期共存。  At present, 3G can provide users with a more high-speed and updated Internet experience, but there are problems such as small coverage, poor technical stability, and high price. Therefore, it is necessary to supplement 2G with large network coverage and stable user base. Therefore, the various standards of 2G and 3G will coexist for a long time.
由于各种移动通信制式之间不能兼容, 所以需要使用各自的用户卡, 使得市场对双卡双待手机有着强大的需求。 为了满足用户同时享受不同制 式需要,市场上已经出现了多种制式组合的双模手机,例如同时具有 CDMA ( Code Division Multiple Addressing,码分多址)制式与 GSM( Global System for Mobile communication , 全球移动通信系统)制式等。  Due to the incompatibility between various mobile communication systems, it is necessary to use their respective user cards, which makes the market have a strong demand for dual-card dual-standby mobile phones. In order to meet the needs of users and enjoy different standards, there are already a variety of dual-mode mobile phones in the market, such as CDMA (Code Division Multiple Addressing) and GSM (Global System for Mobile communication). Communication system), etc.
当前手机的软件架构一般釆用将两个制式方案定制在一起的方式, 在 主芯片上运行终端应用软件和一种制式的无线软件, 在无线模芯片上运行 其他种类制式的无线软件。 如图 1 所示, 无线模芯片上每个制式具有各自 的制式数据与控制抽象模块、 制式驱动模块以及相应的制式硬件。 该架构 中, 制式驱动的实现与终端应用功能的实现耦合在一起, 当系统开发完成 后, 需要更换无线模芯片上运行的某个制式时, 必须重新定制开发制式, 不仅增加了软件开发和测试的成本, 同时加大了通过运营商测试的风险。 发明内容  The software architecture of the current mobile phone generally uses a method of customizing two system schemes, running terminal application software and a standard wireless software on the main chip, and running other types of wireless software on the wireless mode chip. As shown in Figure 1, each system on the wireless die has its own standard data and control abstraction module, system driver module and corresponding standard hardware. In this architecture, the implementation of the system driver is coupled with the implementation of the terminal application function. When the system development is completed and a certain system running on the wireless mode chip needs to be replaced, the development standard must be re-customized, which not only increases the software development and testing. The cost, while increasing the risk of testing through operators. Summary of the invention
有鉴于此, 本发明实施例提供的一种多制式驱动方法、 系统和终端, 可以方便的实现多制式硬件的定制和更新。 In view of this, a multi-system driving method, system, and terminal provided by an embodiment of the present invention, Customization and update of multi-standard hardware can be easily implemented.
本发明实施例提供的一种多制式驱动系统, 包括: 设置有统一接口的 制式数据与控制抽象模块、 制式驱动控制模块和制式定制模块; 其中, 所述制式数据与控制抽象模块, 用于接收上层应用下发的携带制式标 识的制式触发信号, 通过所述统一接口向所述制式驱动控制模块发送携带 所述制式标识的制式驱动调用命令; 其中, 所述统一接口适用于多种制式 的信息传输;  A multi-system driving system provided by an embodiment of the present invention includes: a system data and control abstraction module, a system drive control module, and a system customization module provided with a unified interface; wherein the standard data and control abstraction module is configured to receive a system triggering signal carrying a system identifier sent by an upper layer, and sending, by the unified interface, a standard driving invocation command carrying the standard identifier to the standard driving control module; wherein the unified interface is applicable to information of multiple standards Transmission
所述制式驱动控制模块, 用于接收所述制式数据与控制抽象模块发送 的携带所述制式标识的制式驱动调用命令, 调用预置的多种制式的公共接 口, 向所述制式定制模块发送所述携带所述制式标识的接口调用命令, 请 求调用预置的多种制式的对应接口;  The system driving control module is configured to receive a standard driving invocation command sent by the standard data and a control abstraction module, and invoke a preset common interface of a plurality of standards, and send the public interface to the standard customization module. The interface calling command carrying the standard identifier is requested to invoke a corresponding interface of a plurality of preset presets;
所述制式定制模块, 用于接收到所述制式驱动控制模块发送的携带所 述制式标识的接口调用命令后, 根据所述制式标识确定当前制式, 调用当 前制式硬件接口, 驱动当前制式对应的制式硬件。  The system customization module is configured to: after receiving an interface call command sent by the standard drive control module and carrying the system identifier, determine a current system according to the standard identifier, invoke a current standard hardware interface, and drive a current standard corresponding system hardware.
较佳的, 所述制式定制模块, 还用于更换制式硬件时, 将更换后的制 式硬件的控制信号和数据信号的驱动控制函数注册到所述制式驱动控制模 块。  Preferably, the system customization module is further configured to register the control signal of the replaced system hardware and the drive control function of the data signal to the standard drive control module when the system hardware is replaced.
较佳的, 所述控制信号和数据信号的驱动控制函数以接口的形式注册 到所述制式驱动控制模块。  Preferably, the drive control function of the control signal and the data signal is registered to the standard drive control module in the form of an interface.
较佳的, 所述制式定制模块, 具体用于: 接收到所述制式驱动控制模 块的携带所述制式标识的接口调用命令后, 根据所述制式标识确定当前制 式, 按照所述当前制式的预定时序调用当前制式硬件接口, 驱动当前制式 对应的硬件。  Preferably, the system customization module is specifically configured to: after receiving an interface call command of the standard drive control module that carries the standard identifier, determine a current system according to the standard identifier, and follow the current system reservation Timing calls the current standard hardware interface to drive the hardware corresponding to the current system.
较佳的, 所述制式数据与控制抽象模块位于数据与控制抽象层; 所述 制式驱动控制模块和制式定制模块位于操作系统层; 所述制式的硬件位于 硬件层。 Preferably, the system data and control abstraction module is located in a data and control abstraction layer; the system drive control module and the system customization module are located at an operating system layer; Hardware layer.
相应的, 本发明实施例还提供了一种多制式驱动方法, 该方法包括: 操作系统层接收数据与控制抽象层通过统一接口发送的携带制式标识 的制式驱动调用命令后, 调用预置的多种制式的公共接口; 其中, 所述统 一接口适用于多种制式的信息传输;  Correspondingly, the embodiment of the present invention further provides a multi-standard driving method, the method includes: after the operating system layer receives the data and controls the abstraction layer to send the system-driven driving command command that carries the system identifier through the unified interface, a common interface of the system; wherein the unified interface is applicable to information transmission of multiple standards;
根据所述制式标识确定当前制式, 调用所述当前制式硬件接口, 驱动 当前制式对应的硬件。  Determining the current system according to the system identifier, calling the current system hardware interface, and driving the hardware corresponding to the current system.
较佳的, 所述方法还包括: 更换制式硬件时, 将更换后的制式硬件的 控制信号和数据信号的驱动控制函数注册到所述操作系统层。  Preferably, the method further includes: when replacing the standard hardware, registering the control signal of the replaced standard hardware and the driving control function of the data signal to the operating system layer.
较佳的, 所述控制信号和数据信号的驱动控制函数以接口的形式进行 注册。  Preferably, the drive control function of the control signal and the data signal is registered in the form of an interface.
较佳的, 所述调用所述当前制式硬件接口驱动当前制式对应的硬件包 括: 按照所述当前制式的预定时序调用当前制式硬件接口, 驱动当前制式 对应的硬件。  Preferably, the calling the current system hardware interface to drive the hardware corresponding to the current system comprises: calling the current system hardware interface according to the predetermined timing of the current system, and driving the hardware corresponding to the current system.
相应的, 本发明实施例还提供了一种终端, 包括: 多制式驱动系统; 该制式驱动系统包括: 设置有统一接口的制式数据与控制抽象模块、 制式驱动控制模块和制式定制模块; 其中,  Correspondingly, the embodiment of the present invention further provides a terminal, including: a multi-system drive system; the system drive system includes: a system data and control abstraction module, a system drive control module, and a system customization module provided with a unified interface;
所述制式数据与控制抽象模块, 用于接收上层应用下发的携带制式标 识的制式触发信号, 通过所述统一接口向所述制式驱动控制模块发送携带 所述制式标识的制式驱动调用命令; 其中, 所述统一接口适用于多种制式 的信息传输;  The system data and control abstraction module is configured to receive a system triggering signal carrying a system identifier sent by an upper layer application, and send, by using the unified interface, a standard driving invocation command carrying the standard identifier to the standard driving control module; The unified interface is applicable to information transmission of multiple standards;
所述制式驱动控制模块, 用于接收所述制式数据与控制抽象模块发送 的携带所述制式标识的制式驱动调用命令, 向所述制式定制模块发送所述 携带所述制式标识的接口调用命令, 请求调用预置的多种制式的对应接口; 所述制式定制模块, 用于接收到所述制式驱动控制模块发送的携带所 述制式标识的接口调用命令后, 根据所述制式标识确定当前制式, 调用当 前制式硬件接口, 驱动当前制式对应的制式硬件。 The system driving control module is configured to receive the system driving invocation command sent by the standard data and the control abstraction module, and send the interface calling command carrying the standard identifier to the standard customization module, Requesting to call a corresponding interface of a plurality of preset presets; the standard customization module is configured to receive a portable station sent by the standard drive control module After the interface of the system identifier is invoked, the current system is determined according to the standard identifier, and the current hardware interface is invoked to drive the standard hardware corresponding to the current system.
本发明实施例提供了一种多制式驱动方法、 系统和终端, 用于操作系 统层接收数据与控制抽象层通过统一接口发送的携带制式标识的制式驱动 调用命令后, 调用预置的多种制式的公共接口; 其中, 所述统一接口适用 于多种制式的信息传输; 根据所述制式标识确定当前制式, 调用所述当前 制式硬件接口, 驱动当前制式对应的硬件。 使用本发明实施例提供的多制 式驱动方法、 系统和终端, 通过将多种制式的公共功能进行抽象, 并与差 异化的功能分开执行, 使得更换制式硬件时, 无需重新定制开发制式, 从 而降低了软件开发和测试的成本, 同时减小了通过运营商测试的风险。 附图说明  The embodiment of the present invention provides a multi-system driving method, system, and terminal, which are used to receive data and control system abstraction layer to send a system-type driving command command that carries a system identifier through a unified interface, and then call a preset multiple system. The common interface is applicable to information transmission of a plurality of standards; determining a current system according to the standard identifier, calling the current standard hardware interface, and driving hardware corresponding to the current standard. By using the multi-system driving method, system and terminal provided by the embodiments of the present invention, by abstracting the common functions of the various systems and performing them separately from the differentiated functions, it is not necessary to re-customize the development system when replacing the standard hardware, thereby reducing The cost of software development and testing, while reducing the risk of testing through operators. DRAWINGS
图 1为现有技术中多制式架构示意图;  1 is a schematic diagram of a multi-standard architecture in the prior art;
图 2为本发明实施例中多制式驱动系统示意图;  2 is a schematic diagram of a multi-system drive system according to an embodiment of the present invention;
图 3为多制式硬件架构示意图;  Figure 3 is a schematic diagram of a multi-standard hardware architecture;
图 4为本发明实施例中多制式驱动方法流程示意图;  4 is a schematic flow chart of a multi-system driving method according to an embodiment of the present invention;
图 5为本发明实施例中终端结构示意图。 具体实施方式 下面结合说明书附图对本发明实施例作进一步详细描述。  FIG. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
为了解决现有技术存在的问题, 本发明实施例提供了一种多制式驱动 系统,如图 2所示, 包括:设置有统一接口的制式数据与控制抽象模块 201、 制式驱动控制模块 202和制式定制模块 203; 其中,  In order to solve the problems existing in the prior art, an embodiment of the present invention provides a multi-standard drive system, as shown in FIG. 2, including: a system data and control abstraction module 201, a system drive control module 202, and a standard system provided with a unified interface. Custom module 203; wherein
制式数据与控制抽象模块 201 ,用于接收上层应用下发的携带制式标识 的制式触发信号, 通过所述统一接口向制式驱动控制模块 202发送携带所 述制式标识的制式驱动调用命令; 其中, 所述统一接口适用于多种制式的 信息传输; The system data and control abstraction module 201 is configured to receive a system triggering signal that carries the system identifier sent by the upper layer application, and send, by using the unified interface, the standard driver invoking command carrying the standard identifier to the system driving control module 202; The unified interface is suitable for multiple standards Information transfer;
制式驱动控制模块 202,用于接收制式数据与控制抽象模块 201发送的 携带所述制式标识的制式驱动调用命令, 调用预置的多种制式的公共接口, 向制式定制模块 203发送携带所述制式标识的接口调用命令, 请求调用预 置的多种制式的对应接口;  The system drive control module 202 is configured to receive the standard drive call command sent by the standard data and control abstraction module 201 and carry the standard drive command, invoke a preset common interface of multiple standards, and send the standard format to the standard customization module 203. The identified interface invokes a command to request a corresponding interface of a plurality of preset presets;
制式定制模块 203 ,用于接收到制式驱动控制模块 202发送的携带所述 制式标识的接口调用命令后, 根据所述制式标识确定当前制式, 调用当前 制式硬件接口, 驱动当前制式对应的制式硬件。  The system customization module 203 is configured to receive an interface call command that carries the system identifier sent by the system drive control module 202, determine a current system according to the system identifier, invoke a current system hardware interface, and drive a standard hardware corresponding to the current system.
其中, 制式数据与控制抽象模块 201 位于数据与控制抽象层, 负责上 层应用与制式驱动控制模块 202之间的交互, 总体上控制与制式相关的命 令流与数据流的交互。 涵盖所有上层应用对制式驱动进行控制的 API ( Application Programming Interface,应用程序编程接口),对于不同的制式 硬件, 在该制式数据与控制抽象模块 201 上的接口均统一为一种接口, 也 就是该统一接口适用于多种制式的信息传输。其中, API是预先定义的函数, 目的是提供应用程序并基于软件或硬件, 使得无需访问源码, 而具有访问 一组例程的能力。  The system data and control abstraction module 201 is located in the data and control abstraction layer, and is responsible for the interaction between the upper layer application and the system driver control module 202, and generally controls the interaction between the command stream and the data stream related to the system. An API (Application Programming Interface) that controls all the upper-layer applications to control the system driver. For different system hardware, the interface on the system data and control abstraction module 201 is unified into an interface, that is, the interface The unified interface is suitable for information transmission in a variety of formats. Among them, the API is a predefined function, the purpose is to provide an application and based on software or hardware, so that there is no need to access the source code, but have the ability to access a set of routines.
制式驱动控制模块 202位于操作系统层, 可以实现制式数据与控制抽 象模块 201 中各 API的功能。 无论使用哪种制式硬件, 硬件架构的连接都 如图 3所示, 无线模芯片和主芯片通过控制信号线和数据信号线进行交互, 在该制式驱动控制模块 202 中, 实现了与上述控制信号和数据信号相关的 驱动功能的抽象, 并实现了相关的注册机制, 使得制式驱动控制模块 202 中对不同的制式硬件调用同样的驱动接口, 以满足不同制式硬件通过配置 后, 以注册的方式共用本模块。 而这些驱动接口中, 针对不同制式硬件为 公共性的接口实现放在制式驱动控制模块 202 中, 为差异性的接口实现放 在制式定制模块 203中。 制式定制模块 203位于操作系统层, 用于实现制式硬件的硬件接口的 相关驱动。 釆用不同制式时, 使用的控制信号线和数据信号线的时序及相 关要求不同。 制式定制模块 203 实现了这些差异, 对具体的控制信号接口 和数据信号接口进行驱动。 相关的驱动代码以函数的形式实现, 然后, 再 通过制式驱动控制模块 202 中的注册机制将这些驱动功能函数注册到制式 驱动控制模块 202中, 完成制式驱动控制模块 202中各差异性驱动接口的 实现, 从而实现整个硬件驱动, 例如, 更换制式硬件时, 需要将更换后的 制式硬件的控制信号和数据信号的驱动控制函数注册到制式驱动控制模块 202。 而且, 制式数据与控制抽象模块 201和制式驱动控制模块 202将多种 制式的共性进行了抽象, 因此, 该模块中要实现的差异部分比较少, 大多 情况下只是一些配置的改变。 比如: 使用的 GPIO ( General Purpose Input Output, 通用输入输出) 不同, 相关时序要求不同等。 The system driver control module 202 is located at the operating system layer and can implement the functions of the APIs in the standard data and control abstraction module 201. Regardless of which standard hardware is used, the connection of the hardware architecture is as shown in FIG. 3. The wireless mode chip and the main chip interact through the control signal line and the data signal line, and the control signal is implemented in the system drive control module 202. The abstraction of the driving function related to the data signal, and the related registration mechanism is implemented, so that the same driving interface is called to the different standard hardware in the system driving control module 202, so as to meet the different standard hardware configuration, the registration mode is shared. This module. Among these driving interfaces, an interface implementation common to different system hardware is placed in the system driving control module 202, and the difference interface is implemented in the system customization module 203. The system customization module 203 is located at the operating system layer and is used to implement related drivers of the hardware interfaces of the standard hardware. When using different standards, the timing and related requirements of the control signal lines and data signal lines used are different. The system customization module 203 implements these differences and drives the specific control signal interface and data signal interface. The relevant driver code is implemented in the form of a function, and then these drive function functions are registered in the system drive control module 202 through the registration mechanism in the system drive control module 202, and the differential drive interfaces in the system drive control module 202 are completed. The implementation realizes the entire hardware driver. For example, when replacing the standard hardware, it is necessary to register the control signal of the replaced standard hardware and the drive control function of the data signal to the system drive control module 202. Moreover, the system data and control abstraction module 201 and the system driver control module 202 abstract the commonality of various standards. Therefore, the difference to be implemented in the module is relatively small, and in most cases, only some configuration changes. For example: The GPIO (General Purpose Input Output) is different, and the related timing requirements are different.
基于上述系统, 当设置有统一接口的制式数据与控制抽象模块 201接 收上层应用下发的携带制式标识的制式触发信号时, 通过统一接口向制式 驱动控制模块 202发送携带该制式标识的制式驱动调用命令。 然后, 制式 驱动控制模块 202调用预置的多种制式的公共接口,并向制式定制模块 203 发送携带该制式标识的接口调用命令, 请求调用预置的多种制式的对应接 口。 制式定制模块 203接收到制式驱动控制模块 202发送的接口调用命令 后, 根据制式标识确定当前制式, 调用当前制式硬件接口, 驱动当前制式 对应的制式硬件。 其中, 制式驱动调用命令可以包括控制功能调用和 /或数 据功能调用; 该控制功能可以包括: 选择制式接口、 读取当前运行制式、 打开制式、 关闭制式、 重启制式、 唤醒制式; 该数据功能可以包括: 打开 通信端口、 关闭通信端口、 从通信端口读取数据、 向通信端口写入数据、 通信端口设置。  Based on the above system, when the system data and control abstraction module 201 provided with the unified interface receives the system trigger signal carrying the system identifier sent by the upper layer application, the system driver call carrying the standard identifier is sent to the system drive control module 202 through the unified interface. command. Then, the system driver control module 202 calls the preset common interface of the plurality of standards, and sends an interface call command carrying the standard identifier to the system customization module 203, requesting to call the corresponding interface of the preset multiple formats. After receiving the interface calling command sent by the standard driving control module 202, the system customization module 203 determines the current system according to the standard identification, calls the current standard hardware interface, and drives the standard hardware corresponding to the current system. The system drive call command may include a control function call and/or a data function call; the control function may include: selecting a system interface, reading a current running system, opening a system, closing a system, restarting a system, and waking up the system; These include: opening the communication port, closing the communication port, reading data from the communication port, writing data to the communication port, and communication port settings.
较佳的, 制式定制模块 203按照当前制式的预定时序调用当前制式硬 件接口, 驱动当前制式对应的硬件。 Preferably, the system customization module 203 calls the current standard hard according to a predetermined timing of the current system. The component interface drives the hardware corresponding to the current system.
通过上述描述可知, 通过使用本发明实施例提供的多制式驱动系统, 通过将多种制式的公共功能进行抽象, 并与差异化的功能分开执行, 使得 更换制式硬件时, 无需重新定制开发制式, 从而降低了软件开发和测试的 成本, 同时减小了通过运营商测试的风险。  It can be seen from the above description that by using the multi-system driving system provided by the embodiment of the present invention, by abstracting the common functions of the various systems and performing them separately from the differentiated functions, it is not necessary to re-customize the development standard when replacing the standard hardware. This reduces the cost of software development and testing while reducing the risk of testing through operators.
基于同一发明构思, 本发明实施例中还提供了一种多制式驱动方法, 该方法解决问题的原理与多制式驱动系统相似, 如图 4所示, 包括以下步 骤:  Based on the same inventive concept, the embodiment of the present invention further provides a multi-system driving method. The method for solving the problem is similar to the multi-system driving system. As shown in FIG. 4, the method includes the following steps:
步骤 401、操作系统层接收数据与控制抽象层通过统一接口发送的携带 制式标识的制式驱动调用命令后, 调用预置的多种制式的公共接口; 其中, 统一接口适用于多种制式的信息传输;  Step 401: The operating system layer receives the data and the control abstraction layer sends the standard drive command command that carries the system identifier through the unified interface, and invokes a preset common interface of multiple standards; wherein, the unified interface is applicable to information transmission of multiple standards. ;
步骤 402、 根据制式标识确定当前制式, 调用当前制式硬件接口, 驱动 当前制式对应的硬件。  Step 402: Determine a current system according to the standard identifier, invoke a current hardware interface, and drive hardware corresponding to the current standard.
较佳的, 更换制式硬件时, 将更换后的制式硬件的控制信号和数据信 号的驱动控制函数以接口的形式注册到操作系统层。  Preferably, when the system hardware is replaced, the control signal of the replaced standard hardware and the drive control function of the data signal are registered to the operating system layer in the form of an interface.
较佳的, 按照当前制式的预定时序调用当前制式硬件接口, 驱动当前 制式对应的硬件。  Preferably, the current standard hardware interface is invoked according to a predetermined timing of the current system to drive the hardware corresponding to the current system.
下面以主芯片釆用 CDMA制式, 无线模芯片釆用 GSM制式为例, 对 上述方法和系统进行详细说明, 具体过程如下:  The following uses the CDMA standard for the main chip and the GSM standard for the wireless analog chip. The above method and system are described in detail. The specific process is as follows:
步骤 A、 需要打开第一制式时, 上层应用向位于数据与控制抽象层的 制式数据与控制抽象模块下发触发第一制式的触发信号, 由于制式数据与 控制抽象模块涵盖所有制式所需的功能, 因此, 制式数据与控制抽象模块 可以直接调用 open— modem接口即可进行打开制式操作, 而不用获知接口 的具体实现。 假设, 上述功能通过 sysfs 接口实现, 则可以通过 /sys/bus/platform/drivers/modemctl/cmd命令实现 , 例如 open— modem功能可 以通过将 /sy s/bus/platform/dri vers/modemctl/cmd命令中写入 cmd命令数值为 1实现, close— modem功能可以通过将 /sys/bus/platform/drivers/modemctl/cmd 命令中写入 cmd命令数值为 2实现。 Step A: When the first system needs to be opened, the upper layer application sends a trigger signal for triggering the first system to the standard data and control abstraction module located in the data and control abstraction layer, because the standard data and control abstraction module covers all the functions required by the standard system. Therefore, the standard data and control abstraction module can directly call the open-modem interface to perform the open system operation without knowing the specific implementation of the interface. Assume that the above functions are implemented through the sysfs interface, which can be implemented by the /sys/bus/platform/drivers/modemctl/cmd command, such as the open-mode function. To achieve the value by writing the cmd command to 1 in the /sy s/bus/platform/dri vers/modemctl/cmd command, the close-mode function can be written by the /sys/bus/platform/drivers/modemctl/cmd command. The value of the cmd command is 2.
步骤 B、位于操作系统层的制式驱动控制模块接收到上述 cmd命令后, 判 断命令数值为 1 , 则 通过调 用 相应 的 功 能 实 现 API modemctl— open— modem, 其中 API中包括与硬件差异无关的参数, 该参数 的具体值可以映射到制式定制模块中的具体制式硬件的参数, 如可以映射 到 modemctl— open— modem— ifxgsm接口。 由于不同制式硬件的控制信号线、 数据信号线和时序等不同, 因此, 将这些差异化的部分以 API的形式注册 到制式驱动控制模块, 并在制式定制模块中实现。 类似的, 数据功能的接 口差异化部分也在制式定制模块中实现。  Step B: After receiving the above cmd command, the system driver control module located at the operating system layer determines that the command value is 1, and implements an API modemctl-open_mode by calling a corresponding function, where the API includes parameters that are not related to hardware differences, The specific value of this parameter can be mapped to the parameters of the specific standard hardware in the standard custom module, such as the modemctl-open_modem-ifxgsm interface. Since the control signal lines, data signal lines, and timing of different standard hardware are different, these differentiated parts are registered in the form of API to the system drive control module, and implemented in the system customization module. Similarly, the interface differentiation of data functions is also implemented in the custom module.
步骤 C、 位于操作系 统层的制式定制模块接收到调用 modemctl— open— modem— ifxgsm接口时, 将第一制式的该接口按照其要求的 时序进行电平拉高拉低操作。  Step C: When the system customization module located at the operating system layer receives the modemctl_open_modem-ifxgsm interface, the interface of the first system is level-lowered and operated according to the required timing.
上述方法和系统还可以应用于 WindowsMobile 平台等, 例如应用在 WindowsMobile平台时,由于其上的驱动架构釆用动态库的形式,没有 sysfs 系统, 则制式数据与控制抽象模块定义的 API, 需要通过 DeviceloControl 系统调用打开制式驱动控制模块的动态库设备驱动接口, 并传入不同的参 数来实现。  The above method and system can also be applied to the Windows Mobile platform, for example, when applied to the Windows Mobile platform, since the driver architecture on the Windows Mobile platform is in the form of a dynamic library, and there is no sysfs system, the API defined by the standard data and control abstraction module needs to pass the DeviceloControl. The system call opens the dynamic library device driver interface of the system driver control module and passes in different parameters to implement.
相应的, 本发明实施例还提供了一种终端, 如图 5 所示, 包括: 多制 式驱动系统 501 ;  Correspondingly, the embodiment of the present invention further provides a terminal, as shown in FIG. 5, including: a multi-system drive system 501;
该制式驱动系统包括: 设置有统一接口的制式数据与控制抽象模块 5011、 制式驱动控制模块 5012和制式定制模块 5013; 其中,  The system drive system comprises: a system data and control abstraction module 5011 provided with a unified interface, a system drive control module 5012 and a system customization module 5013;
所述制式数据与控制抽象模块 5011 , 用于接收上层应用下发的携带制 式标识的制式触发信号, 通过统一接口向制式驱动控制模块 5012发送携带 制式标识的制式驱动调用命令; 其中, 统一接口适用于多种制式的信息传 输; The system data and control abstraction module 5011 is configured to receive a system trigger signal that carries the system identifier sent by the upper layer application, and send the bearer to the system drive control module 5012 through the unified interface. The system-driven invocation command of the standard identification; wherein, the unified interface is applicable to information transmission of multiple standards;
所述制式驱动控制模块 5012, 用于接收制式数据与控制抽象模块 5011 发送的携带制式标识的制式驱动调用命令, 向制式定制模块 5013发送携带 所述制式标识的接口调用命令, 请求调用预置的多种制式的对应接口; 所述制式定制模块 5013 ,用于接收到制式驱动控制模块 5012发送的携 带制式标识的接口调用命令后, 根据制式标识确定当前制式, 调用当前制 式硬件接口, 驱动当前制式对应的制式硬件。  The system drive control module 5012 is configured to receive a system drive call command that carries the system identifier sent by the standard data and control abstraction module 5011, and send an interface call command carrying the system identifier to the system customization module 5013, requesting to call the preset a corresponding interface of the plurality of standards; the system customization module 5013 is configured to receive the interface calling command that carries the standard identifier sent by the standard driving control module 5012, determine the current system according to the standard identification, invoke the current standard hardware interface, and drive the current standard Corresponding system hardware.
较佳的, 更换制式硬件时, 将更换后的制式硬件的控制信号和数据信 号的驱动控制函数以接口的形式注册到所述制式驱动控制模块。  Preferably, when the system hardware is replaced, the control signal of the replaced standard hardware and the drive control function of the data signal are registered to the system drive control module in the form of an interface.
通过上述描述可知, 使用本发明实施例提供的方法、 系统和终端, 通 过将多种制式的公共功能进行抽象, 并与差异化的功能分开执行, 使得更 换制式硬件时, 无需重新定制开发制式, 从而降低了软件开发和测试的成 本, 同时减小了通过运营商测试的风险。  It can be seen from the above description that the method, the system and the terminal provided by the embodiments of the present invention are abstracted by using the common functions of the multiple standards, and are executed separately from the differentiated functions, so that when the system hardware is replaced, the development standard is not required to be re-customized. This reduces the cost of software development and testing while reducing the risk of testing through operators.
本领域内的技术人员应明白, 本发明的实施例可提供为方法、 系统、 或计算机程序产品。 因此, 本发明可釆用完全硬件实施例、 完全软件实施 例、 或结合软件和硬件方面的实施例的形式。 而且, 本发明可釆用在一个 或多个其中包含有计算机可用程序代码的计算机可用存储介质 (包括但不 限于磁盘存储器、 CD-ROM、 光学存储器等)上实施的计算机程序产品的 形式。  Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can be embodied in the form of one or more computer program products embodied on a computer-usable storage medium (including but not limited to disk storage, CD-ROM, optical storage, etc.) in which computer usable program code is embodied.
本发明是参照根据本发明实施例的方法、 设备(系统)、 和计算机程序 产品的流程图和 /或方框图来描述的。 应理解可由计算机程序指令实现流 程图和 /或方框图中的每一流程和 /或方框、 以及流程图和 /或方框图中 的流程和 /或方框的结合。 可提供这些计算机程序指令到通用计算机、 专 用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器以产生一个 机器, 使得通过计算机或其他可编程数据处理设备的处理器执行的指令产 生用于实现在流程图一个流程或多个流程和 /或方框图一个方框或多个方 框中指定的功能的装置。 The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, a special purpose computer, an embedded processor or other programmable data processing device to generate a A machine that causes instructions executed by a processor of a computer or other programmable data processing device to generate means for implementing the functions specified in a block or blocks of a flow or a flow and/or a block diagram of the flowchart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理 设备以特定方式工作的计算机可读存储器中, 使得存储在该计算机可读存 储器中的指令产生包括指令装置的制造品, 该指令装置实现在流程图一个 流程或多个流程和 /或方框图一个方框或多个方框中指定的功能。  The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备 上, 使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机 实现的处理, 从而在计算机或其他可编程设备上执行的指令提供用于实现 在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的 功能的步骤。  These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
尽管已描述了本发明的优选实施例, 但本领域内的技术人员一旦得知 了基本创造性概念, 则可对这些实施例作出另外的变更和修改。 所以, 所 附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和 修改。 本发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权 利要求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在 内。  While the preferred embodiment of the invention has been described, the subject matter Therefore, it is intended that the appended claims be interpreted as including The spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the invention

Claims

权利要求书 Claim
1、 一种多制式驱动系统, 其特征在于, 包括: 设置有统一接口的制式 数据与控制抽象模块、 制式驱动控制模块和制式定制模块; 其中,  A multi-system drive system, comprising: a standard data and control abstraction module, a system drive control module, and a system customization module provided with a unified interface; wherein
所述制式数据与控制抽象模块, 用于接收上层应用下发的携带制式标 识的制式触发信号, 通过所述统一接口向所述制式驱动控制模块发送携带 所述制式标识的制式驱动调用命令; 其中, 所述统一接口适用于多种制式 的信息传输;  The system data and control abstraction module is configured to receive a system triggering signal carrying a system identifier sent by an upper layer application, and send, by using the unified interface, a standard driving invocation command carrying the standard identifier to the standard driving control module; The unified interface is applicable to information transmission of multiple standards;
所述制式驱动控制模块, 用于接收所述制式数据与控制抽象模块发送 的携带所述制式标识的制式驱动调用命令, 调用预置的多种制式的公共接 口, 向所述制式定制模块发送所述携带所述制式标识的接口调用命令, 请 求调用预置的多种制式的对应接口;  The system driving control module is configured to receive a standard driving invocation command sent by the standard data and a control abstraction module, and invoke a preset common interface of a plurality of standards, and send the public interface to the standard customization module. The interface calling command carrying the standard identifier is requested to invoke a corresponding interface of a plurality of preset presets;
所述制式定制模块, 用于接收到所述制式驱动控制模块发送的携带所 述制式标识的接口调用命令后, 根据所述制式标识确定当前制式, 调用当 前制式硬件接口, 驱动当前制式对应的制式硬件。  The system customization module is configured to: after receiving an interface call command sent by the standard drive control module and carrying the system identifier, determine a current system according to the standard identifier, invoke a current standard hardware interface, and drive a current standard corresponding system hardware.
2、 如权利要求 1所述的系统, 其特征在于, 所述制式定制模块, 还用 于: 更换制式硬件时, 将更换后的制式硬件的控制信号和数据信号的驱动 控制函数注册到所述制式驱动控制模块。  2. The system according to claim 1, wherein the system customization module is further configured to: when the system hardware is replaced, register a control signal of the replaced standard hardware and a drive control function of the data signal to the System drive control module.
3、 如权利要求 2所述的系统, 其特征在于, 所述控制信号和数据信号 的驱动控制函数以接口的形式注册到所述制式驱动控制模块。  3. The system of claim 2, wherein the control signals and the drive control functions of the data signals are registered to the system drive control module in the form of an interface.
4、 如权利要求 1至 3中任一所述的系统, 其特征在于, 所述制式定制 模块, 具体用于: 接收到所述制式驱动控制模块的携带所述制式标识的接 口调用命令后, 根据所述制式标识确定当前制式, 按照所述当前制式的预 定时序调用当前制式硬件接口, 驱动当前制式对应的硬件。  The system according to any one of claims 1 to 3, wherein the system customization module is specifically configured to: after receiving an interface call command of the standard drive control module that carries the standard identifier, Determining the current system according to the system identifier, calling the current system hardware interface according to the predetermined timing of the current system, and driving the hardware corresponding to the current system.
5、 如权利要求 1至 3中任一所述的系统, 其特征在于, 所述制式数据 与控制抽象模块位于数据与控制抽象层; 所述制式驱动控制模块和制式定 制模块位于操作系统层; 所述制式的硬件位于硬件层。 The system according to any one of claims 1 to 3, wherein the standard data and control abstraction module is located at a data and control abstraction layer; the system drive control module and the system are fixed The module is located at the operating system layer; the hardware of the system is located at the hardware layer.
6、 一种多制式驱动方法, 其特征在于, 包括:  6. A multi-system driving method, characterized in that it comprises:
操作系统层接收数据与控制抽象层通过统一接口发送的携带制式标识 的制式驱动调用命令后, 调用预置的多种制式的公共接口; 其中, 所述统 一接口适用于多种制式的信息传输;  After the operating system layer receives the data and the control abstraction layer sends the system-driven invocation command that carries the system identifier through the unified interface, the preset common interface of the plurality of standards is invoked; wherein the unified interface is applicable to information transmission of multiple standards;
根据所述制式标识确定当前制式, 调用所述当前制式硬件接口, 驱动 当前制式对应的硬件。  Determining the current system according to the system identifier, calling the current system hardware interface, and driving the hardware corresponding to the current system.
7、如权利要求 6所述的方法, 其特征在于, 还包括: 更换制式硬件时, 将更换后的制式硬件的控制信号和数据信号的驱动控制函数注册到所述操 作系统层。  The method according to claim 6, further comprising: registering a control signal of the replaced standard hardware and a drive control function of the data signal to the operating system layer when the system hardware is replaced.
8、 如权利要求 7所述的方法, 其特征在于, 所述控制信号和数据信号 的驱动控制函数以接口的形式进行注册。  8. The method of claim 7, wherein the control signals and the drive control functions of the data signals are registered in the form of an interface.
9、 如权利要求 6至 8中任一所述的方法, 其特征在于, 所述调用所述 当前制式硬件接口驱动当前制式对应的硬件包括: 按照所述当前制式的预 定时序调用当前制式硬件接口, 驱动当前制式对应的硬件。  The method according to any one of claims 6 to 8, wherein the calling the current system hardware interface to drive the hardware corresponding to the current system comprises: calling the current system hardware interface according to the predetermined timing of the current system , drives the hardware corresponding to the current system.
10、 一种终端, 其特征在于, 包括多制式驱动系统;  10. A terminal, characterized in that it comprises a multi-system drive system;
多制式驱动系统包括: 设置有统一接口的制式数据与控制抽象模块、 制式驱动控制模块和制式定制模块; 其中,  The multi-standard drive system includes: a system data and control abstraction module, a system drive control module, and a system customization module provided with a unified interface;
所述制式数据与控制抽象模块, 用于接收上层应用下发的携带制式标 识的制式触发信号, 通过所述统一接口向所述制式驱动控制模块发送携带 所述制式标识的制式驱动调用命令; 其中, 所述统一接口适用于多种制式 的信息传输;  The system data and control abstraction module is configured to receive a system triggering signal carrying a system identifier sent by an upper layer application, and send, by using the unified interface, a standard driving invocation command carrying the standard identifier to the standard driving control module; The unified interface is applicable to information transmission of multiple standards;
所述制式驱动控制模块, 用于接收所述制式数据与控制抽象模块发送 的携带所述制式标识的制式驱动调用命令, 向所述制式定制模块发送所述 携带所述制式标识的接口调用命令, 请求调用预置的多种制式的对应接口; 所述制式定制模块, 用于接收到所述制式驱动控制模块发送的携带所 述制式标识的接口调用命令后, 根据所述制式标识确定当前制式, 调用当 前制式硬件接口, 驱动当前制式对应的制式硬件。 The system driving control module is configured to receive the system driving invocation command sent by the standard data and the control abstraction module, and send the interface calling command carrying the standard identifier to the standard customization module, Requesting to call a corresponding interface of a plurality of preset presets; The system customization module is configured to: after receiving an interface call command sent by the standard drive control module and carrying the system identifier, determine a current system according to the standard identifier, invoke a current standard hardware interface, and drive a current standard corresponding system hardware.
PCT/CN2011/083648 2011-03-25 2011-12-07 Multi-standard drive method and system, and terminal WO2012129930A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110073730.0 2011-03-25
CN2011100737300A CN102170714A (en) 2011-03-25 2011-03-25 Multi-mode driving method, system and terminal

Publications (1)

Publication Number Publication Date
WO2012129930A1 true WO2012129930A1 (en) 2012-10-04

Family

ID=44491649

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/083648 WO2012129930A1 (en) 2011-03-25 2011-12-07 Multi-standard drive method and system, and terminal

Country Status (2)

Country Link
CN (1) CN102170714A (en)
WO (1) WO2012129930A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102945172A (en) * 2012-10-22 2013-02-27 深圳市中兴移动通信有限公司 Self-adapting method of 3G data cards under Android system

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102170714A (en) * 2011-03-25 2011-08-31 中兴通讯股份有限公司 Multi-mode driving method, system and terminal
CN104661270B (en) * 2013-03-18 2018-06-12 英特尔公司 Multimode wireless communication apparatus and system
CN110166534B (en) * 2019-04-30 2023-02-10 广东利通科技投资有限公司 Intelligent traffic communication system, communication station and auxiliary equipment
CN110413327B (en) * 2019-07-16 2022-07-19 创新先进技术有限公司 Hardware driving method and device based on hardware abstraction layer

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1741658A (en) * 2005-09-19 2006-03-01 北京天碁科技有限公司 A multimode mobile communication terminal and multimode switching method thereof
CN1925656A (en) * 2005-09-01 2007-03-07 美国博通公司 Multimode communication IC and its information interacting method
CN101427517A (en) * 2005-12-16 2009-05-06 美商内数位科技公司 Mobility middleware architecture for multiple radio access technology apparatus
CN102170714A (en) * 2011-03-25 2011-08-31 中兴通讯股份有限公司 Multi-mode driving method, system and terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1599067B1 (en) * 2004-05-21 2013-05-01 Epcos Pte Ltd Detection and control of diaphragm collapse in condenser microphones
CN101188818B (en) * 2006-11-16 2011-08-10 华为技术有限公司 Base station, processing method for its baseband signal and wireless communication system
CN101562906A (en) * 2009-05-22 2009-10-21 中兴通讯股份有限公司 Method and device for automatically adapting to wireless data cards with multiple formats
CN101572899A (en) * 2009-05-31 2009-11-04 中兴通讯股份有限公司 Switching device based on multi-system network and method thereof
CN101854743B (en) * 2010-02-05 2013-03-20 深圳市同洲电子股份有限公司 Method for driving multi-mode terminating machine by radio interface layer and multi-mode terminating machine

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1925656A (en) * 2005-09-01 2007-03-07 美国博通公司 Multimode communication IC and its information interacting method
CN1741658A (en) * 2005-09-19 2006-03-01 北京天碁科技有限公司 A multimode mobile communication terminal and multimode switching method thereof
CN101427517A (en) * 2005-12-16 2009-05-06 美商内数位科技公司 Mobility middleware architecture for multiple radio access technology apparatus
CN102170714A (en) * 2011-03-25 2011-08-31 中兴通讯股份有限公司 Multi-mode driving method, system and terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102945172A (en) * 2012-10-22 2013-02-27 深圳市中兴移动通信有限公司 Self-adapting method of 3G data cards under Android system

Also Published As

Publication number Publication date
CN102170714A (en) 2011-08-31

Similar Documents

Publication Publication Date Title
US7707592B2 (en) Mobile terminal application subsystem and access subsystem architecture method and system
CN108052312B (en) Method for realizing multi-channel recording based on android system and audio system
US20220159453A1 (en) Method for Using Remote SIM Module and Electronic Device
WO2012129930A1 (en) Multi-standard drive method and system, and terminal
JP2010288301A (en) System for multimedia rendering in portable device
IL174818A (en) Method and system for scalable mobile-terminal platform
US7286823B2 (en) Mobile multimedia engine
CN106919391A (en) Towards the embedded system of the customizable operating system component of smart mobile phone
WO2006080306A1 (en) Linkage operation method and communication terminal apparatus
WO2006079281A1 (en) A mobile terminal and boot method thereof
RU2316907C2 (en) System for reproduction of multimedia in portable device
US8358620B2 (en) Voice session and data session coordination in a communication device
EP4163808A1 (en) Method for transmitting application data, and terminal and system
CN105681091B (en) Update device and upgrade method
JP2003244009A (en) Integrated circuit architecture for programmable wireless device
TWI413387B (en) Wireless communication unit and method of running code therein
CN105763722B (en) Mobile terminal and its method for upgrading system
CN116033592B (en) Method and device for using cellular communication function
WO2024067170A1 (en) Device management method and electronic device
CN109426575A (en) Talk business processing method and processing device
CN116366618A (en) Network plug-in method and device for fixing IP of container
CN117135532A (en) Audio data processing method, device and storage medium
CN117478653A (en) Image data transmission method, device and cooperative work system
CN117499780A (en) Photographing method, electronic equipment and collaborative work system
WO2019113760A1 (en) Card writer mounting method and terminal

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: 11862422

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11862422

Country of ref document: EP

Kind code of ref document: A1