CN102023862A - Mobile terminal control method and system - Google Patents

Mobile terminal control method and system Download PDF

Info

Publication number
CN102023862A
CN102023862A CN2010105855192A CN201010585519A CN102023862A CN 102023862 A CN102023862 A CN 102023862A CN 2010105855192 A CN2010105855192 A CN 2010105855192A CN 201010585519 A CN201010585519 A CN 201010585519A CN 102023862 A CN102023862 A CN 102023862A
Authority
CN
China
Prior art keywords
request
oid
module
control
encapsulation
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.)
Granted
Application number
CN2010105855192A
Other languages
Chinese (zh)
Other versions
CN102023862B (en
Inventor
马少峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201010585519.2A priority Critical patent/CN102023862B/en
Publication of CN102023862A publication Critical patent/CN102023862A/en
Application granted granted Critical
Publication of CN102023862B publication Critical patent/CN102023862B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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

A kind of method for controlling mobile terminal and system
Technical field
The present invention relates to the mobile communication technology field, more specifically, relate to a kind of method for controlling mobile terminal and system.
Background technology
Wireless data card class communication products in use need to insert computing machine and carry out information interaction with computing machine, and mutual by command information reaches configuration, the control to equipment and manage; The equipment supplier also provides the supervisory routine that operates on the main frame (UI) when the data card hardware product is provided, in using the data card process, the user is configured, operates and control equipment by the supervisory routine interface; Mutual for supervisory routine (UI) and equipment, the interactive language of industry-wide adoption is the AT order.
A key property of Win7 system of Microsoft is a mobile broadband characteristic, this characteristic has determined data card class communication products application need in the Win7 system that NDIS is provided (Network Driver InterfaceSpecification, the network-driven interface specification) port, the user uses NDIS equipment to carry out the mobile broadband online.
Win7 system of Microsoft releases redaction network-driven interface specification NDIS6.2 to support mobile broadband, Microsoft expands one group of OID (Object Identifier) request that defined in this standard, be used for handling the relevant business of WWAN service, realize mobile broadband characteristic; Except finishing the professional necessary OID request of the WWAN of Microsoft, Microsoft provides a request that is called vendor-specific OID (the self-defined OID of manufacturer) for the communication facilities merchant, and communications equipment vendor can use this privately owned OID request in the NDIS driving of oneself.
The same with standard OID request, vendor-specific OID observes Microsoft's standard and drives transaction module, and provide clear and definite api interface function for application program, vendor-specific OID request simultaneously has variable data structure, can be undertaken freely defining and expanding by the communication facilities merchant.
In the Win7 system, whether can expand vendor-specific OID request, by the NDIS device port, realize control, operation and the management of application management program to other functional module outside the NDIS module on the equipment, become the focus that industry is discussed.
Summary of the invention
The objective of the invention is to propose a kind of method for controlling mobile terminal and system, realize control, operation and the management of application management program other functional module outside the NDIS module on the equipment.
For achieving the above object, the present invention proposes a kind of method for controlling mobile terminal, and it comprises: the functional module control information is encapsulated as the OID request sends; Extract self-defined OID request function module controls information, and with its encapsulation, be converted into the class request and be issued to equipment side; Equipment side receives the class request, carries out the parsing of function control information, is distributed to each functional module and handles, and obtains to encapsulate and turn back to Drive Layer behind the result; Drive Layer extracts functional module control information and the result among the device processes result, is encapsulated as the OID response data, sends to top service; Mobile terminal administration software obtains control request result, update mode.
Further, in the supervisory routine background program, be provided with self-defined OID encapsulation and parsing module, request provides an effective growth data form to this module to vendor-specific OID, makes functional module, control command and the control parameter information of portable terminal support make up and be encapsulated in the self-defined OID data layout.
Further, be provided with class request encapsulation and parsing module in Drive Layer; Described class request encapsulation and parsing module carry out the module controls information extraction to the self-defined OID request that driving is received, encapsulate, be converted into the self defined class request again and be handed down to equipment.
Further, in equipment, be provided with supervisor call; The request of supervisor call monitoring class, module information, control command, controlled variable in will asking after the request of receiving are extracted, are resolved, and are distributed to corresponding functional module and handle.
Further, the data that need among described class request encapsulation and the parsing module resolution response result are encapsulated as an OID respond packet again and send to upper strata WWAN service.
Further, the api function that supervisory routine utilizes self-defined OID request to provide reads the OID respond packet that driver is sent, carry out parsing as a result by self-defined OID encapsulation with parsing module, obtain the return message of functions of modules control, upgrade supervisory routine software function state and show.
In addition, the present invention also proposes a kind of portable terminal control system, and described system comprises:
PC side UI software carries out basic function control and to the control and the management of other application module;
Service and driver receive the encapsulation of extracting with control information and carrying out the class request and issue to self-defined OID request package;
Portable terminal version side software manages the self defined class request of receiving, request is resolved and is distributed to corresponding functional module and handle.
Further, described PC side UI software comprises user's setting and interactive interface and self-defined OID encapsulation and parsing module; Described user is provided with interactive interface and provides visual interactive interface for the user, and the user carries out basic function control by this interface and to the control and the management of other application module; Described self-defined OID encapsulation and parsing module are realized encapsulation and the parsing to functions of modules control request OID bag, by obtaining of issuing of calling that special-purpose API instructs and return information.
Further, described service and driver layer comprise that class request encapsulation and parsing module and OID receive, status send module, OID receives, status send module receives with control information self-defined OID request package and extracts, and class request encapsulation and parsing module carry out the encapsulation of class request and issue.
Further, described data clamp side software comprises request processing module and other functions, business module, and the request processing module program manages the self defined class request of receiving, request is resolved and is distributed to corresponding functional module and handle.
Beneficial effect of the present invention: compared with prior art, technical solution of the present invention is utilized the special characteristics of the vendor-specific OID request of Win7WWAN service, use control and the management of NDIS port realization to the related service outside the communication facilities NDIS business, thereby for the communicating by letter of portable terminal series products UI software and equipment, control a kind of new interactive mode is provided, make its replacement or part finish the work of AT port, AT order, strengthen Products Development, application power.
Description of drawings
Fig. 1 is the overall procedure synoptic diagram of embodiment of the invention mobile terminal data card control method;
Fig. 2 is that portable terminal control system of the present invention is formed synoptic diagram;
Fig. 3 is the scheme synoptic diagram of the embodiment of the invention;
Fig. 4 is the data card control flow chart of the embodiment of the invention.
Embodiment
The present invention uses the self-defined OID request of WWAN service, as the mobile communication terminal mutual control command of the supervisory routine of wireless data card (UI) and data card application software (Firmware) particularly, reach control and management to the related application outside the wireless data card NDIS business, thereby, strengthen the ability of data card telecommunication management and service application for the UI software and the devices communicating of data card provides a kind of new control mode.
Below in conjunction with the drawings and specific embodiments technical solution of the present invention is done detailed description, in the following embodiments, portable terminal is that example describes with the data card.
Please refer to shown in Figure 1ly, is the overall procedure synoptic diagram of embodiment of the invention mobile terminal data card control method, and it may further comprise the steps:
S101: carry out self-defined OID request expansion and coding, the functional module control information is encapsulated as the OID request sends;
In supervisory routine (UI) background program, increase self-defined OID encapsulation and parsing module, request provides an effective growth data form to this module to vendor-specific OID, it can be expanded arbitrarily and encapsulate, make the information such as functional module, control command, controlled variable of equipment support can make up and be encapsulated in the self-defined OID data layout, thereby reach the ability of the corresponding unlimited many control commands of request; After the request encapsulation, supervisory routine (UI) is called the api interface of Microsoft, and the self-defined OID that sends after encapsulating asks the NDIS device drives.
S102:NDIS drives and extracts self-defined OID request function module controls information, encapsulates, is converted into the class request and be issued to equipment side;
Increase class request encapsulation and parsing module in Drive Layer; As driving and the mutual command mode of equipment, class request encapsulation and parsing module carry out the module controls information extraction to the self-defined OID request that driving is received, encapsulate, be converted into the self defined class request again and be handed down to equipment with the self defined class request in the present invention.
S103: equipment side receives the class request, carries out the parsing of function control information, is distributed to each functional module and handles, and obtains to encapsulate and turn back to Drive Layer behind the result;
In equipment, increase a supervisor call; The request of supervisor call monitoring class, module information, control command, controlled variable in will asking after the request of receiving are extracted, are resolved, and are distributed to corresponding functional module and handle; Functional module is carried out corresponding the processing, after finishing the result is turned back to supervisor call, and the encapsulation and the result that are carried out class request response by supervisor call send.
S104: Drive Layer extracts functional module control information and the result among the device processes result, is encapsulated as the OID response data, sends to top service;
The data that need among class request encapsulation in the NDIS device driver and the parsing module resolution response result are encapsulated as an OID respond packet again and send to upper strata WWAN service.
S105: the data card management software obtains control request result, update mode;
The api function that supervisory routine (UI) utilizes self-defined OID request to provide reads the OID respond packet that driver is sent, carry out parsing as a result by self-defined OID encapsulation with parsing module, obtain the return message of functions of modules control, upgrade UI software function state and show;
Please refer to shown in Figure 2ly, is that portable terminal control system of the present invention is formed synoptic diagram, and it comprises PC side UI software, service and driver, data card version side software.
PC side UI software comprises user's setting and interactive interface and self-defined OID encapsulation and parsing module, for the user provides friendly visual interactive interface, the user networks etc. by this interface outside the control of NDIS basic function, control and management to other application module also are provided, increase self-defined OID encapsulation and parsing module on UI software backstage, realization is to the encapsulation and the parsing of functions of modules control request OID bag, by obtaining of issuing of calling that special-purpose API instructs and return information.
Service comprises that with driver layer class request encapsulation and parsing module and OID receive, status send module, OID receives, status send module receives with control information self-defined OID request package and extracts, and class request encapsulation and parsing module carry out the encapsulation of class request and issue; After the request response data of receiving equipment, class request encapsulation and parsing module are resolved response results, and notification message is issued the upper strata.
Data clamp side software comprises request processing module and other functions, business module, the request processing module program manages the self defined class request of receiving, corresponding functional module is resolved and is distributed in request to be handled, pass the result back supervisor call after functional module is handled, return results to driving by supervisor call; Intermodule by three levels cooperates, and finishes the entire process process that a control is returned from being issued to the result.
Fig. 3 is the scheme synoptic diagram of the embodiment of the invention, and Fig. 4 is the data card control flow chart of the embodiment of the invention, in conjunction with Fig. 3 and Fig. 4, is example with the unlatching of GPS module, and data card control method of the present invention is described as follows:
S401: the user triggers the unlatching GPS function button among the UI;
The S402:UI background program will be opened information such as the control command, command parameter, GPS module I D of GPS module and be encapsulated in the OID request package according to extended format;
The S403:UI background program calls the API of Microsoft and issues self-defined OID request among the step S402;
S404: drive and receive above-mentioned self-defined OID;
S405: extraction module control information;
After driver received request, the information of effective information in the extraction bag such as GPS module I D, the order of GPS module controls, controlled variable and OID bag was as asking ID etc.
S406: class request encapsulation sends;
By class request encapsulation and parsing module it is encapsulated in the self defined class request and is handed down to equipment;
S407: request processing module is resolved, distribution;
S408: functional module command process;
The supervisor call of equipment side carries out data extract to the class request of receiving, matches the GPS functional module, will order and controlled variable sends to the GPS module and handles.
S409: functional module generates result;
S410: the encapsulation of class request results, transmission;
The GPS module is carried out and is opened the GPS function, returns execution result to supervisor call.
S411: the class request results is resolved;
Information such as the command code of supervisor call encapsulation OID request ID, GPS module coding, open command, result send to Drive Layer in class request respond packet.
S412: extraction module control information;
The encapsulation of S413:OID status data;
Driver is received class request respond packet, extracts effective information by class request encapsulation and parsing module.
The S414:OID status data reports;
Be encapsulated into again and send to WWAN service in upper strata in the OID notification message bag.
The S415:UI backstage obtains the parsing reported data;
The S416:UI display update.
UI extracts GPS and opens execution result by the response results that API catches OID, and the state that upgrades UI shows.
Be the control flow of a GPS open function above, the setting of other function is handled with above-mentioned processing mode consistent with control request.
The present invention utilizes the special characteristics of the vendor-specific OID request of Win7WWAN service, use control and the management of NDIS port realization to the related service outside the communication facilities NDIS business, thereby for the communicating by letter of data card product UI software and equipment, control a kind of new interactive mode is provided, make its replacement or part finish the work of AT port, AT order, strengthen Products Development, application power.
Certainly; the present invention also can have numerous embodiments; in the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art are when making various corresponding changes or variation according to the present invention; in every case any modification of being done within the spirit and principles in the present invention, be equal to replacements, improvement, all should be included within protection scope of the present invention.

Claims (10)

1. a method for controlling mobile terminal is characterized in that, the functional module control information is encapsulated as the OID request sends; Extract self-defined OID request function module controls information, and with its encapsulation, be converted into the class request and be issued to equipment side; Equipment side receives the class request, carries out the parsing of function control information, is distributed to each functional module and handles, and obtains to encapsulate and turn back to Drive Layer behind the result; Drive Layer extracts functional module control information and the result among the device processes result, is encapsulated as the OID response data, sends to top service; Mobile terminal administration software obtains control request result, update mode.
2. the method for claim 1, it is characterized in that: in the supervisory routine background program, be provided with self-defined OID encapsulation and parsing module, request provides an effective growth data form to this module to vendor-specific OID, makes functional module, control command and the control parameter information of portable terminal support make up and be encapsulated in the self-defined OID data layout.
3. the method for claim 1 is characterized in that: be provided with class request encapsulation and parsing module in Drive Layer; Described class request encapsulation and parsing module carry out the module controls information extraction to the self-defined OID request that driving is received, encapsulate, be converted into the self defined class request again and be handed down to equipment.
4. the method for claim 1 is characterized in that: be provided with supervisor call in equipment; The request of supervisor call monitoring class, module information, control command, controlled variable in will asking after the request of receiving are extracted, are resolved, and are distributed to corresponding functional module and handle.
5. method as claimed in claim 3 is characterized in that: the data that need among described class request encapsulation and the parsing module resolution response result are encapsulated as an OID respond packet again and send to upper strata WWAN service.
6. the method for claim 1, it is characterized in that: the api function that supervisory routine utilizes self-defined OID request to provide reads the OID respond packet that driver is sent, carry out parsing as a result by self-defined OID encapsulation with parsing module, obtain the return message of functions of modules control, upgrade supervisory routine software function state and show.
7. portable terminal control system, its spy is being that described system comprises:
PC side UI software carries out basic function control and to the control and the management of other application module;
Service and driver receive the encapsulation of extracting with control information and carrying out the class request and issue to self-defined OID request package;
Portable terminal version side software manages the self defined class request of receiving, request is resolved and is distributed to corresponding functional module and handle.
8. control system as claimed in claim 7 is characterized in that, described PC side UI software comprises user's setting and interactive interface and self-defined OID encapsulation and parsing module; Described user is provided with interactive interface and provides visual interactive interface for the user, and the user carries out basic function control by this interface and to the control and the management of other application module; Described self-defined OID encapsulation and parsing module are realized encapsulation and the parsing to functions of modules control request OID bag, by obtaining of issuing of calling that special-purpose API instructs and return information.
9. control system as claimed in claim 7, it is characterized in that, described service and driver layer comprise that class request encapsulation and parsing module and OID receive, status send module, OID receives, status send module receives with control information self-defined OID request package and extracts, and class request encapsulation and parsing module carry out the encapsulation of class request and issue.
10. control system as claimed in claim 7, it is characterized in that, described data clamp side software comprises request processing module and other functions, business module, the request processing module program manages the self defined class request of receiving, request is resolved and is distributed to corresponding functional module and handle.
CN201010585519.2A 2010-12-13 2010-12-13 Mobile terminal control method and system Active CN102023862B (en)

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 true CN102023862A (en) 2011-04-20
CN102023862B 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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102279744A (en) * 2011-08-24 2011-12-14 北京星网锐捷网络技术有限公司 System and method for processing command line
WO2012152007A1 (en) * 2011-08-17 2012-11-15 中兴通讯股份有限公司 Method and device for processing device driver message
CN103812883A (en) * 2012-11-06 2014-05-21 中国移动通信集团公司 Method, device and system for terminal management
CN104123168A (en) * 2014-08-07 2014-10-29 广州金山网络科技有限公司 Application upgrading 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)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012152007A1 (en) * 2011-08-17 2012-11-15 中兴通讯股份有限公司 Method and device for processing device driver message
CN102279744A (en) * 2011-08-24 2011-12-14 北京星网锐捷网络技术有限公司 System and method for processing command line
CN103812883A (en) * 2012-11-06 2014-05-21 中国移动通信集团公司 Method, device and system for terminal management
CN103812883B (en) * 2012-11-06 2017-11-21 中国移动通信集团公司 A kind of terminal management method, apparatus and system
CN104123168A (en) * 2014-08-07 2014-10-29 广州金山网络科技有限公司 Application upgrading method and device
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

Also Published As

Publication number Publication date
CN102023862B (en) 2015-01-28

Similar Documents

Publication Publication Date Title
CN102023862A (en) Mobile terminal control method and system
KR100784331B1 (en) Apparatus and method for menu management under roaming in portable terminal
CN101883355B (en) Collocation method and system of terminal parameter and terminal management device
CN114172888A (en) Method for transmitting packed file, related equipment and storage medium
CN102769937A (en) Multi-standby terminal with android system and method for realizing multi-standby of terminal
CN106325119A (en) Method of man-machine interactive control device
JP5724039B2 (en) COMMUNICATION SYSTEM, MOBILE COMMUNICATION DEVICE, MIGRATION CONTROL DEVICE, MIGRATION CONTROL METHOD, AND MIGRATION CONTROL PROGRAM
CN101917703B (en) Communication intelligent card and card writing method thereof over the air
CN102419900A (en) Remote control realizing method and device of electrical equipment
CN104507130A (en) SIM (Subscriber Identity Module) card and system supporting mobile communication network switching
CN102377853B (en) Management device and method for application, interface window and service of mobile terminal
CN107508702A (en) Lora modules based on bluetooth are set and firmware upgrade system and method
CN104507072B (en) A kind of method of communication network switching
CN104125662A (en) Wireless access point centralized management device and method
CN107364250A (en) A kind of binder system and binder operating method
CN101415251A (en) Apparatus for implementing data transmission based on Bluetooth
CN102088694B (en) Mobile terminal and method for downloading subscriber identity module (SIM) application
CN102695147A (en) System and method for realizing data update of user SIM card
CN104125593A (en) Information processing method and electronic equipment
CN102868766A (en) Method, system and device for achieving remote control
CN106453282A (en) Method and system for controlling ATM equipment
CN110389794A (en) Method, storage medium and the terminal of information sharing are established between a kind of plug-in unit
CN102185970A (en) Method for establishing standard for handset video player component model object interface
CN101360143B (en) Customer interaction information displaying method and terminal
CN207156737U (en) A kind of binder system

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