CN102023862B - Mobile terminal control method and system - Google Patents
Mobile terminal control method and system Download PDFInfo
- Publication number
- CN102023862B CN102023862B CN201010585519.2A CN201010585519A CN102023862B CN 102023862 B CN102023862 B CN 102023862B CN 201010585519 A CN201010585519 A CN 201010585519A CN 102023862 B CN102023862 B CN 102023862B
- Authority
- CN
- China
- Prior art keywords
- request
- oid
- control
- module
- control information
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 20
- 238000012545 processing Methods 0.000 claims abstract description 52
- 230000004044 response Effects 0.000 claims abstract description 30
- 239000000284 extract Substances 0.000 claims abstract description 19
- 238000005538 encapsulation Methods 0.000 claims description 27
- 238000004806 packaging method and process Methods 0.000 claims description 23
- 238000004891 communication Methods 0.000 abstract description 12
- 230000003993 interaction Effects 0.000 abstract description 11
- 230000006870 function Effects 0.000 description 37
- 238000010586 diagram Methods 0.000 description 4
- 230000002708 enhancing effect Effects 0.000 description 3
- 230000002452 interceptive effect Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
Landscapes
- Telephonic Communication Services (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides a mobile terminal control method and system. The method comprises the following steps: the control information of a function module is encapsulated into an OID (Object Identifier) request and sent; the user-defined OID request function module control information is extracted, and encapsulated and converted into a class request which is distributed to an equipment side; the equipment side receives the class request, analyzes the function control information, distributes the function control information to each function module for processing, encapsulates the results and returns to a drive layer; the drive layer extracts the function module control information and processing results from the equipment processing results, encapsulates into OID response data and sends to an upper-layer service; and a mobile terminal management software acquires the control request processing result and updates the state. In the invention, the control and management of relevant businesses except the NDIS (Network Driver Interface Specification) business are realized by using an NDIS port according to specific characteristics of a vendor-specific OID request, and a novel interaction manner is provided for the communication and control between UI (user interface) software and the equipment.
Description
Technical Field
The present invention relates to the field of mobile communications technologies, and in particular, to a method and a system for controlling a mobile terminal.
Background
When in use, the wireless data card communication product needs to be accessed into a computer and performs information interaction with the computer, and configuration, control and management of equipment are achieved through interaction of instruction information; the device provider provides a management program (UI) running on the host computer while providing a data card hardware product, and a user configures, operates and controls the device through a management program interface in the process of using the data card; for the interaction of a management program (UI) with a device, an interaction language widely adopted in the industry is AT commands.
An important characteristic of the microsoft Win7 system is the mobile broadband characteristic, which determines that the application of data card type communication products on the Win7 system needs to provide an NDIS (Network Driver interface specification) port, and a user uses NDIS equipment to access the internet through mobile broadband.
Microsoft Win7 system provides new version network driving interface specification NDIS6.2 to support mobile broadband, in this specification microsoft expands and defines a group of oid (object identifier) requests to process WWAN service related services, implementing mobile broadband characteristics; in addition to the OID requests necessary to complete microsoft WWAN services, microsoft provides a request called a vendor-specific OID for the communications equipment vendor, which can be used by the communications equipment vendor on its NDIS driver.
Like standard OID requests, the vendor-specific OID complies with the microsoft-standard driver processing model and provides explicit API interface functions for applications, while the vendor-specific OID requests have variable data structures that can be freely defined and extended by the communication equipment vendors.
On the Win7 system, whether a vendor-specific OID request can be extended or not is realized, and control, operation and management of other function modules except for an NDIS module on a device by an application management program are realized by means of an NDIS device port, which becomes a hotspot discussed in the industry.
Disclosure of Invention
The invention aims to provide a mobile terminal control method and a mobile terminal control system, which are used for realizing the control, operation and management of an application management program on other functional modules except an NDIS module on equipment.
In order to achieve the above object, the present invention provides a mobile terminal control method, which includes: encapsulating the control information of the functional module into an OID request for sending; extracting control information of a user-defined OID request function module, packaging the control information, converting the control information into a class request and issuing the class request to equipment; the equipment receives the class request, analyzes the function control information, distributes the function control information to each function module for processing, packages the result and returns the result to the driving layer; the driving layer extracts the function module control information and the processing result in the equipment processing result, encapsulates the function module control information and the processing result into OID response data and sends the OID response data to the upper layer service; and the mobile terminal management software acquires the processing result of the control request and updates the state.
Further, a custom OID encapsulation and analysis module is arranged in the hypervisor background program, and provides an effective extended data format for the vendor-specific OID request, so that the function module, the control command and the control parameter information supported by the mobile terminal are combined and encapsulated into the custom OID data format.
Furthermore, a class request encapsulation and analysis module is arranged on the driving layer; and the class request encapsulation and analysis module extracts module control information of the custom OID request received by the driving layer, encapsulates and converts the custom OID request into a custom class request and sends the custom class request to the equipment.
Furthermore, a request management program is arranged in the equipment; and the request management program monitors the request, extracts and analyzes the module information, the control command and the control parameter in the request after receiving the request, and distributes the module information, the control command and the control parameter to the corresponding functional module for processing.
Further, the class request encapsulation and analysis module analyzes the data required in the response result, encapsulates the data into an OID response packet, and sends the OID response packet to the upper WWAN service.
Further, the management program reads the OID response packet sent by the driver layer by using the API function provided by the custom OID request, and the custom OID encapsulation and analysis module analyzes the result to obtain the return information controlled by the function module and update the function state display of the management program software.
In addition, the present invention also provides a mobile terminal control system, which comprises:
the PC side UI software is used for carrying out basic function control and controlling and managing other application modules;
the service and drive program receives and controls information extraction and encapsulates and issues class requests to the user-defined OID request packet;
and the mobile terminal version side software manages the received self-defined request, analyzes the request and distributes the request to the corresponding functional module for processing.
Further, the PC side UI software comprises a user setting and interaction interface and a custom OID packaging and analyzing module; the user setting and interaction interface provides a visual interaction interface for a user, and the user performs basic function control and management on other application modules through the interface; and the user-defined OID packaging and analyzing module is used for realizing the packaging and analysis of the function module control request OID package, and issuing the instruction and acquiring the reply information by calling a special API.
Further, the service and driver layer comprises a class request encapsulation and analysis module and an OID receiving and state sending module, the OID receiving and state sending module receives the custom OID request packet and extracts control information, and the class request encapsulation and analysis module encapsulates and issues the class request.
Furthermore, the data card side software comprises a request processing module and other functional and business modules, and the request processing module program manages the received self-defined request, analyzes the request and distributes the request to the corresponding functional module for processing.
In addition, the present invention also provides: a mobile terminal control system, the system comprising: PC and device: wherein,
the PC is used for packaging the control information of the functional module into an OID request to be sent; extracting control information of a user-defined OID request function module, packaging the control information, converting the control information into a class request and issuing the class request to equipment;
the equipment is used for receiving the class request, analyzing the control information of the functional modules, distributing the control information to each functional module for processing, packaging the obtained result and returning the result to the driving layer;
the PC is also used for extracting the function module control information and the processing result in the equipment processing result, packaging the function module control information and the processing result into OID response data and sending the OID response data to the upper-layer service;
the device is further configured to obtain a control request processing result and update the state.
Preferably, the PC includes a custom OID encapsulation and analysis module, and the custom OID encapsulation and analysis module is configured to provide an effective extended data format for the vendor-specific OID request, so that the function module, the control command, and the control parameter information supported by the mobile terminal are combined and encapsulated in the custom OID data format.
Preferably, the PC further comprises a class request encapsulation and analysis module; the class request encapsulation and analysis module is used for extracting the control information of the functional module of the user-defined OID request received by the driving layer, encapsulating and converting the control information into a user-defined class request and sending the user-defined class request to the equipment.
Preferably, the device is further configured to monitor the class request through the request management program, extract and analyze the module information, the control command, and the control parameter in the request after receiving the request, and distribute the module information, the control command, and the control parameter to the corresponding functional module for processing.
The invention has the beneficial effects that: compared with the prior art, the technical scheme of the invention utilizes the special characteristic of the vendor-specific OID request of the Win7WWAN service and uses the NDIS port to realize the control and management of related services except the NDIS service of the communication equipment, thereby providing a new interactive mode for the communication and control of UI software and the equipment of mobile terminal products, enabling the UI software and the equipment to replace or partially complete the work of AT ports and AT commands, and enhancing the development and application capability of products.
Drawings
Fig. 1 is a general flow chart diagram of a mobile terminal data card control method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of the mobile terminal control system of the present invention;
FIG. 3 is a schematic representation of a scheme of an embodiment of the invention;
fig. 4 is a flow chart of the data card control according to the embodiment of the present invention.
Detailed Description
The invention uses the self-defined OID request of WWAN service as an interactive control command of a management program (UI) of a mobile communication terminal, particularly a wireless data card, and data card application software (Firmware), so as to control and manage related applications except wireless data card NDIS service, thereby providing a new control mode for the communication between the UI software of the data card and equipment and enhancing the communication management and service application capabilities of the data card.
The technical solution of the present invention is described in detail below with reference to the accompanying drawings and specific embodiments, in which a mobile terminal is described by taking a data card as an example.
Referring to fig. 1, a general flow chart of a mobile terminal data card control method according to an embodiment of the present invention is shown, which includes the following steps:
s101: carrying out custom OID request expansion and coding, and encapsulating the control information of the functional module into an OID request for sending;
a custom OID packaging and analyzing module is added in a background program of a management program (UI), and provides an effective extended data format for a vendor-specific OID request, so that the vendor-specific OID request can be expanded and packaged at will, and information such as a function module, a control command, a control parameter and the like supported by equipment can be combined and packaged into the custom OID data format, thereby achieving the capability of one request corresponding to infinite control commands; after requesting encapsulation, the hypervisor (UI) calls the Microsoft API interface to send an encapsulated custom OID request to the NDIS device driver.
S102: the NDIS driver extracts control information of the user-defined OID request function module, encapsulates and converts the control information into a class request, and sends the class request to equipment;
adding a class request encapsulation and analysis module on a driving layer; the invention takes the self-defining request as a command mode of interaction between the driver and the equipment, and the class request encapsulation and analysis module extracts the module control information of the self-defining OID request received by the driver layer, encapsulates the self-defining OID request again, converts the self-defining OID request into the self-defining OID request and sends the self-defining OID request to the equipment.
S103: the equipment receives the class request, analyzes the function control information, distributes the function control information to each function module for processing, packages the result and returns the result to the driving layer;
adding a request management program in the equipment; the method comprises the steps that a request management program monitors a request, extracts and analyzes module information, control commands and control parameters in the request after receiving the request, and distributes the module information, the control commands and the control parameters to corresponding functional modules for processing; the function module executes corresponding processing, returns the result to the request management program after the processing is finished, and the request management program packages the class request response and sends the result.
S104: the driving layer extracts the function module control information and the processing result in the equipment processing result, encapsulates the function module control information and the processing result into OID response data and sends the OID response data to the upper layer service;
and the class request encapsulation and analysis module in the NDIS device driver layer analyzes the data required in the response result, encapsulates the data into an OID response packet and sends the OID response packet to the upper-layer WWAN service.
S105: the data card management software acquires a control request processing result and updates the state;
the management program (UI) reads an OID response packet sent by a driving layer by utilizing an API function provided by the custom OID request, and the custom OID packaging and analyzing module analyzes the result to obtain the return information controlled by the function module and updates the functional state display of the UI software;
referring to fig. 2, a schematic diagram of a mobile terminal control system according to the present invention is shown, which includes PC side UI software, service and driver, and data card side software.
The PC side UI software comprises a user setting and interaction interface and a custom OID packaging and analyzing module, a friendly visual interaction interface is provided for a user, the user can perform networking and other NDIS basic function control through the interface, control and management of other application modules are further provided, the custom OID packaging and analyzing module is added in a background of the UI software, packaging and analysis of a function module control request OID package are achieved, and issuing of an instruction and acquisition of reply information are performed by calling a special API.
The service and driver layer comprises a class request encapsulation and analysis module and an OID receiving and state sending module, wherein the OID receiving and state sending module receives and extracts control information from a user-defined OID request packet, and the class request encapsulation and analysis module encapsulates and issues a class request; and after receiving the request response data of the equipment, the class request packaging and analyzing module analyzes the response result and sends the notification message to the upper layer.
The data card side software comprises a request processing module, other function modules and service modules, the request processing module program manages the received self-defined request, analyzes the request and distributes the request to the corresponding function module for processing, the result is returned to the request management program after the function module is processed, and the request management program returns the result to the driver; the whole processing process from the sending to the result returning is completed through the cooperation of the three layers of modules.
Fig. 3 is a schematic diagram of a solution according to an embodiment of the present invention, fig. 4 is a flowchart of a data card control according to an embodiment of the present invention, and with reference to fig. 3 and fig. 4, a data card control method according to the present invention is described as follows, taking the turning on of a GPS module as an example:
s401: a user triggers a button for starting the GPS function in the UI;
s402: the UI background program packages information such as a control command for starting the GPS module, command parameters, the GPS module ID and the like into an OID request packet according to an expansion format;
s403: the UI background program calls a Microsoft API to issue the custom OID request in the step S402;
s404: driving to receive the custom OID;
s405: extracting module control information;
after receiving the request, the driver layer extracts the effective information in the packet, such as the GPS module ID, the GPS module control command, the control parameter, and the information of the OID packet, such as the request ID.
S406: packaging and sending the class request;
the class request encapsulation and analysis module encapsulates the class request into a self-defined class request and sends the self-defined class request to the equipment;
s407: the request processing module analyzes and distributes;
s408: processing a functional module command;
the request management program of the equipment extracts the data of the received class request, matches the class request with the GPS functional module, and sends the command and the control parameter to the GPS module for processing.
S409: the functional module generates a processing result;
s410: packaging and sending a class request result;
the GPS module executes the function of starting the GPS and returns the execution result to the request management program.
S411: analyzing the class request result;
and the request management program encapsulates the OID request ID, the GPS module code, the command code of the start command, the processing result and other information into a similar request response packet and sends the similar request response packet to the drive layer.
S412: extracting module control information;
s413: OID state data encapsulation;
the driving layer receives the class request response packet, and the class request encapsulation and analysis module extracts effective information.
S414: reporting OID state data;
and then encapsulated into an OID notification message packet and sent to the upper layer WWAN service.
S415: the UI background acquires analysis reported data;
s416: the UI display is updated.
And the UI captures the response result of the OID through the API, extracts the GPS starting execution result and updates the state display of the UI.
The above is a control flow of the GPS start function, and the setting and control request processing of other functions are consistent with the above processing manner.
The invention utilizes the special characteristic of the vendor-specific OID request of Win7WWAN service and uses the NDIS port to realize the control and management of related services except the NDIS service of the communication equipment, thereby providing a new interactive mode for the communication and control of UI software and the equipment of a data card product, enabling the UI software to replace or partially complete the work of AT port and AT command, and enhancing the development and application capability of the product.
The present invention may be embodied in several forms without departing from the spirit or essential attributes thereof, and it should be understood that various changes and modifications can be made therein by those skilled in the art without departing from the spirit and scope of the invention.
Claims (10)
1. A mobile terminal control method is characterized in that the control information of a functional module is encapsulated into an OID request to be sent; extracting control information of a user-defined OID request function module, packaging the control information, converting the control information into a class request and issuing the class request to equipment; the equipment receives the class request, analyzes the control information of the functional modules, distributes the control information to each functional module for processing, packages the obtained result and returns the result to the driving layer; the driving layer extracts the function module control information and the processing result in the equipment processing result, encapsulates the function module control information and the processing result into OID response data and sends the OID response data to the upper layer service; and the mobile terminal management software acquires the processing result of the control request and updates the state.
2. The method of claim 1, wherein: and a custom OID packaging and analyzing module is arranged in the management program background program and provides an effective extended data format for the vendor-specific OID request, so that the function module, the control command and the control parameter information supported by the mobile terminal are combined and packaged into the custom OID data format.
3. The method of claim 1, wherein: a class request encapsulation and analysis module is arranged on the driving layer; and the class request encapsulation and analysis module extracts the control information of the functional module of the custom OID request received by the driving layer, encapsulates and converts the custom OID request into a custom class request and sends the custom class request to the equipment.
4. The method of claim 1, wherein: a request management program is arranged in the equipment; and the request management program monitors the request, extracts and analyzes the module information, the control command and the control parameter in the request after receiving the request, and distributes the module information, the control command and the control parameter to the corresponding functional module for processing.
5. The method of claim 3, wherein: the class request encapsulation and analysis module analyzes the data needed in the response result, encapsulates the data into an OID response packet and sends the OID response packet to the upper-layer WWAN service.
6. The method of claim 1, wherein: and the management program reads the OID response packet sent by the drive layer by using the API function provided by the custom OID request, and the custom OID packaging and analyzing module analyzes the result to obtain the return information controlled by the function module and update the software function state display of the management program.
7. A mobile terminal control system, characterized in that the system comprises: PC and device: wherein,
the PC is used for packaging the control information of the functional module into an OID request to be sent; extracting control information of a user-defined OID request function module, packaging the control information, converting the control information into a class request and issuing the class request to equipment;
the equipment is used for receiving the class request, analyzing the control information of the functional modules, distributing the control information to each functional module for processing, packaging the obtained result and returning the result to the driving layer;
the PC is also used for extracting the function module control information and the processing result in the equipment processing result, packaging the function module control information and the processing result into OID response data and sending the OID response data to the upper-layer service;
the device is further configured to obtain a control request processing result and update the state.
8. The control system of claim 7, wherein the PC comprises a custom OID encapsulation and parsing module, and the custom OID encapsulation and parsing module is configured to provide a valid extended data format for a vendor-specific OID request, so that the function modules, the control commands, and the control parameter information supported by the mobile terminal are combined and encapsulated into the custom OID data format.
9. The control system of claim 7, wherein the PC further comprises a class request encapsulation and parsing module; the class request encapsulation and analysis module is used for extracting the control information of the functional module of the user-defined OID request received by the driving layer, encapsulating and converting the control information into a user-defined class request and sending the user-defined class request to the equipment.
10. The control system of claim 7, wherein the device is further configured to monitor the class request through the request management program, extract and parse module information, control commands, and control parameters in the request after receiving the request, and distribute the extracted and parsed module information, control commands, and control parameters to the corresponding function modules for processing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010585519.2A CN102023862B (en) | 2010-12-13 | 2010-12-13 | Mobile terminal control method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010585519.2A CN102023862B (en) | 2010-12-13 | 2010-12-13 | Mobile terminal control method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102023862A CN102023862A (en) | 2011-04-20 |
CN102023862B true CN102023862B (en) | 2015-01-28 |
Family
ID=43865184
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010585519.2A Active CN102023862B (en) | 2010-12-13 | 2010-12-13 | Mobile terminal control method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102023862B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102360307A (en) * | 2011-08-17 | 2012-02-22 | 中兴通讯股份有限公司 | Device driver message processing method and device |
CN102279744A (en) * | 2011-08-24 | 2011-12-14 | 北京星网锐捷网络技术有限公司 | System and method for processing command line |
CN103812883B (en) * | 2012-11-06 | 2017-11-21 | 中国移动通信集团公司 | A kind of terminal management method, apparatus and system |
CN104123168B (en) * | 2014-08-07 | 2018-01-19 | 广州猎豹网络科技有限公司 | A kind of application upgrade method and device |
CN111538531A (en) * | 2020-04-28 | 2020-08-14 | 高新兴物联科技有限公司 | AT instruction system, processing method and computer storage medium based on object-oriented |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6687761B1 (en) * | 1997-02-20 | 2004-02-03 | Invensys Systems, Inc. | Process control methods and apparatus with distributed object management |
CN1723674A (en) * | 2002-11-08 | 2006-01-18 | 捷讯研究有限公司 | System and method of connection control for wireless mobile communication devices |
CN101867565A (en) * | 2010-04-13 | 2010-10-20 | 中兴通讯股份有限公司 | General drive method and driver for mobile broadband equipment |
-
2010
- 2010-12-13 CN CN201010585519.2A patent/CN102023862B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6687761B1 (en) * | 1997-02-20 | 2004-02-03 | Invensys Systems, Inc. | Process control methods and apparatus with distributed object management |
CN1723674A (en) * | 2002-11-08 | 2006-01-18 | 捷讯研究有限公司 | System and method of connection control for wireless mobile communication devices |
CN101867565A (en) * | 2010-04-13 | 2010-10-20 | 中兴通讯股份有限公司 | General drive method and driver for mobile broadband equipment |
Also Published As
Publication number | Publication date |
---|---|
CN102023862A (en) | 2011-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2602982C2 (en) | Method, apparatus and system for intelligently controlling device and plug-and-play device | |
EP2487838B1 (en) | Data card and method for internet access of data card | |
CN105471686B (en) | Terminal control method, device and system | |
CN102023862B (en) | Mobile terminal control method and system | |
CN102297493B (en) | System and method for monitoring air conditioning unit | |
US11671306B2 (en) | Enhancing native service layer device management functionality | |
WO2019184658A1 (en) | Profile switching method and apparatus, and mobile terminal | |
CN102752369B (en) | The supplying method of TV applications service and virtual content service platform | |
CN104618437B (en) | A kind of adaptation method that interface is set with android terminal device systems | |
CN102945169A (en) | Native APP fused Web APP development system based on Android | |
EP2922267A1 (en) | Method for achieving communication based on mbim interface and device therefor | |
CN101990169A (en) | Intelligent card active pushing system and intelligent card mobile terminal | |
CN111954100B (en) | Interface upgrading method and device and optical network unit management method and device | |
US10558448B2 (en) | Method, user equipment, and application server for downloading application | |
CN105467960A (en) | Control system and method making host computer compatible with multiple controllers and stirring stations | |
US9462535B2 (en) | Method, apparatus and system for obtaining error code information | |
CN102801544B (en) | The method and system that unified terminal is managed under a kind of Internet of Things framework | |
WO2013056571A1 (en) | Method and device for processing signaling tracking | |
CN102377853A (en) | Management device and method for application, interface window and service of mobile terminal | |
CN112631705A (en) | Internet of things equipment list rendering method, equipment and system and readable storage medium | |
KR20150088462A (en) | Method for linking network device in cloud environment and apparatus therefor | |
CN102612049A (en) | Machine-to-machine (M2M) management system and method | |
CN101917780B (en) | Function implementation method and device of wireless communication terminal network equipment | |
CN112367560B (en) | Advertising machine configuration method, device and system and computer readable storage medium | |
CN112367362B (en) | Data processing method, device, equipment and computer storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |