CN101695086A - Method and device for obtaining client information of mobile terminal - Google Patents

Method and device for obtaining client information of mobile terminal Download PDF

Info

Publication number
CN101695086A
CN101695086A CN200910179998A CN200910179998A CN101695086A CN 101695086 A CN101695086 A CN 101695086A CN 200910179998 A CN200910179998 A CN 200910179998A CN 200910179998 A CN200910179998 A CN 200910179998A CN 101695086 A CN101695086 A CN 101695086A
Authority
CN
China
Prior art keywords
information
mobile terminal
client
state information
layer
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
CN200910179998A
Other languages
Chinese (zh)
Other versions
CN101695086B (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.)
Shenzhen Wuju Technology Co Ltd
Original Assignee
Shenzhen Wuju Technology Co Ltd
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 Shenzhen Wuju Technology Co Ltd filed Critical Shenzhen Wuju Technology Co Ltd
Priority to CN2009101799985A priority Critical patent/CN101695086B/en
Publication of CN101695086A publication Critical patent/CN101695086A/en
Application granted granted Critical
Publication of CN101695086B publication Critical patent/CN101695086B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to a method and a device for obtaining client information of a mobile terminal. The method comprise the following steps: firstly, sending demand information for obtaining state information of a current mobile terminal to an L4C layer; secondly, receiving the state information returned by the L4C layer according to the demand information; and thirdly, extracting client information from the returned state information. By adopting the invention, the client information of the mobile terminal including a location area code of the client and/or an international mobile equipment identity of the client and the like can be obtained, so that the demand and the behaviour of a user can be analyzed according to the district and the service item using record of the user, the personalized customized service for the user can be conveniently developed, and the using experience of the user is improved.

Description

A kind of method and apparatus that obtains client information of mobile terminal
Technical field
The present invention relates to field of mobile terminals, particularly relate to a kind of method and apparatus that obtains client information of mobile terminal.
Background technology
At present, along with the continuous development of mobile communication technology, portable terminal has been deep in people's the life, and mobile communication has also become the most widely used communication mode.Here, the alleged portable terminal of the present invention is meant that mobile phone, personal digital assistant (PDA, Personal Digital Assistant) etc. have the small hand-held formula mobile communication equipment of wireless communication function.
With the mobile phone is example, along with the development of internet, applications with popularize, makes the user become possibility by surfing Internet with cell phone.The cellphone subscriber utilizes mobile phone to surf the Net by WAP, browses and download the multimedia messages that needs on mobile phone, for example picture, music, video, e-book or the like.But different cellphone subscribers' hobby is all inequality, for convenience analysis user demand, user behavior, carry out personalized customize services later on, reduce unnecessary complaint incident simultaneously, be necessary that the information of obtaining the cellphone subscriber analyzes.Therefore, need a kind of method and apparatus that can obtain cell-phone customer terminal information.
Summary of the invention
At defective that exists in the prior art and deficiency, the objective of the invention is to propose a kind of method and apparatus, can obtain the client-side information of portable terminal.
In order to achieve the above object, the present invention proposes a kind of method of obtaining client information of mobile terminal, comprising:
Step 1: the requirement message that sends the state information of obtaining current mobile terminal is to the 4th layer of protocol stack;
Step 2: the state information that receives the current mobile terminal that the 4th layer of protocol stack return according to described requirement message;
Step 3: extract client-side information from the state information of the current mobile terminal returned, described client-side information comprises Location Area Code and/or International Mobile Equipment Identity sign indicating number.
Preferred as technique scheme comprises the SIM card information of described portable terminal and the indication information that obtains client attitude information in the requirement message of the described state information of obtaining current mobile terminal.
Preferred as technique scheme also comprised step: judge whether described portable terminal is double-card dual-standby, if the SIM card information of described portable terminal is the SIM card information of the current use of described portable terminal before described step 1.
Preferred as technique scheme, requirement message to the protocol stack that the state information of current mobile terminal is obtained in described transmission specifically comprises for the 4th layer:
Definition is also preserved the requirement message ID of the state information of obtaining current mobile terminal;
Definition data structure body variable is used to preserve the described requirement message of obtaining the state information of current mobile terminal;
The data that described data structure variable is preserved send to the 4th layer of protocol stack;
The response function of registration respective acknowledgement message and return state message.。
Preferred as technique scheme, the 4th layer of described reception protocol stack comprises according to the state information of the current mobile terminal that described requirement message is returned:
Definition structure body variable, and the 4th layer of data of returning of protocol stack are composed to this structure variable;
Judge whether successfully to return according to the value in this structure variable, if then execution in step 3.
The present invention also proposes a kind of device that obtains client information of mobile terminal, comprising:
Sending module, the requirement message that is used to send the state information of obtaining current mobile terminal is to the 4th layer of protocol stack;
Receiver module is used to receive the state information of the current mobile terminal that the 4th layer of protocol stack return according to described requirement message;
Processing module is used for extracting the client-side information of the 4th layer of described state information of returning of protocol stack, and described client-side information comprises Location Area Code and/or International Mobile Equipment Identity sign indicating number.
Preferred as technique scheme also comprises message processing unit in the described sending module, be used for generating according to the SIM card information of portable terminal and the indication information that obtains client-side information the requirement message of the state information of obtaining current mobile terminal.
Preferred as technique scheme also comprises judge module, is used to judge whether described portable terminal is double-card dual-standby, if described SIM card information is the SIM card information of the current use of described portable terminal.
Preferred as technique scheme, described sending module further comprises:
Definition requirement message unit is used to define and preserve the requirement message ID of the state information of obtaining current mobile terminal;
Definition data structure body variable unit is used for definition data structure body variable, and this data structure body variable is used to preserve the described requirement message of obtaining the state information of current mobile terminal;
Transmitting element is used for the data that described data structure variable is preserved are sent to the 4th layer of protocol stack;
Registering unit is used to register the response function of respective acknowledgement message and return state message.
Preferred as technique scheme, described receiver module further comprises:
Definition structure body variable unit is used for definition structure body variable, and the 4th layer of data of returning of protocol stack are composed to this structure variable;
Judging unit is used for judging whether successfully to return according to the value of described structure variable, if then call described processing module.
The present invention can obtain the client-side information of portable terminal, comprise the Location Area Code of client and/or the information such as International Mobile Equipment Identity sign indicating number of client, thereby area and service item service recorder to the user come the demand of analysis user, user's behavior, so that, improve user's experience for the user carries out personalized customize services.
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in further detail.For the person of ordinary skill in the field, from detailed description of the invention, above-mentioned and other purposes of the present invention, feature and advantage will be apparent.
Description of drawings
Fig. 1 is the composition schematic diagram of the device that obtains client information of mobile terminal of the present invention's proposition;
Fig. 2 is the schematic flow sheet of first preferred embodiment of the method for obtaining client information of mobile terminal of the present invention's proposition;
Fig. 3 is the schematic flow sheet of second preferred embodiment of the method for obtaining client information of mobile terminal of the present invention's proposition;
Fig. 4 is the schematic flow sheet of the 3rd preferred embodiment of the method for obtaining client information of mobile terminal of the present invention's proposition.
Embodiment
Below be a kind of preferred embodiment that obtains the device of client information of mobile terminal of the present invention's proposition, as shown in Figure 1, comprise: sending module 101, receiver module 102 and processing module 103, wherein,
Sending module 101 is used to send the requirement message of the state information of obtaining current mobile terminal to the 4th layer of protocol stack (L4C, L4 Control entity) 104, and L4C layer 104 can return the state information of current mobile terminal according to described requirement message;
Receiver module 102 is used to receive the state information of the current mobile terminal that L4C layer 104 returns according to described requirement message;
Processing module 103 is used for extracting the client-side information of the status of mobile terminal information that L4C layer 104 returns, and client-side information comprises the Location Area Code LAC of client and/or the International Mobile Equipment Identity sign indicating number IMEI of client.
Wherein, can also comprise message processing unit in the sending module 101 in the foregoing description, message processing unit generates the requirement message of obtaining state information according to the SIM card information of portable terminal and the indication information that obtains client-side information, and the requirement message that will obtain state information by sending module 101 is sent to L4C layer 103 then.
This device can also comprise judge module, is used to judge whether described portable terminal is double-card dual-standby, if SIM card information is the SIM card information of the current use of described portable terminal just.
Further, the sending module in the foregoing description 101 can also comprise:
Definition requirement message unit is used to define and preserve the requirement message ID of the state information of obtaining current mobile terminal;
Due to data structure body variable unit, be used for definition data structure body variable, this data structure body variable is used to preserve the described requirement message of obtaining the state information of current mobile terminal;
Transmitting element is used for the data that described data structure variable is preserved are sent to the L4C layer;
Registering unit is used to register the response function of respective acknowledgement message and return state message.
Described receiver module 102 may further include:
Definition structure body variable unit is used for definition structure body variable, and the data that the L4C layer returns are composed to this structure variable;
Judging unit is used for judging whether successfully to return according to the value of described structure variable, if then call described processing module.
For example, can be by judging whether the result member in the structure variable is to judge true (promptly being not equal to 0) whether successfully to obtain client-side information.
Below be a kind of first preferred embodiment that obtains the method for client information of mobile terminal of the present invention's proposition, as shown in Figure 2, comprise:
Step 100: the requirement message that sends the state information of obtaining current mobile terminal is to the L4C layer;
Step 120: receive the state information that the L4C layer returns according to described requirement message;
Step 140: from the state information of returning, extract client-side information.
Second preferred embodiment of the present invention is to improve on the basis of first preferred embodiment, the requirement message of obtaining state information is to generate according to the SIM card information of portable terminal and the indication information that obtains client-side information, as shown in Figure 3, concrete steps are as follows:
Step 90: the requirement message that generates the state information of obtaining current mobile terminal according to the SIM card information of the indication information of the client-side information that obtains current mobile terminal and portable terminal;
Step 100: the requirement message that sends the state information of obtaining current mobile terminal is to the L4C layer;
Step 120: receive the state information that the L4C layer returns according to described requirement message;
Step 140: from the state information of returning, extract client-side information.
The 3rd preferred embodiment of the present invention is to improve on the basis of second preferred embodiment, also comprises judging whether described portable terminal is the step of double-card dual-standby, and as shown in Figure 4, concrete steps are before described step 100:
Step 70: judge whether described portable terminal is double-card dual-standby, if, execution in step 80; If not, execution in step 90;
Step 80: the SIM card information of described portable terminal is the SIM card information of the current use of described portable terminal;
Step 90: generate the requirement message of obtaining described status of mobile terminal information according to the indication information of the client-side information that obtains current mobile terminal and the SIM card information of portable terminal;
Step 100: the requirement message that sends the state information of obtaining current mobile terminal is to the L4C layer;
Step 120: receive the state information that the L4C layer returns according to described requirement message;
Step 140: from the state information of returning, extract client-side information.
In the preferred embodiment of the method that the invention described above proposes, transmission requirement message to the method for L4C layer can be specially:
Definition needs the message id that sends and preserves the message id that sends to the L4C layer, because different type of machines is obtained the message id of LAC information might be different, so need be, thereby can be in the transplanting that is implemented on the different type of machines with the self-defining constant of the message id assignment of obtaining client-side information of different type of machines;
Definition needs the data structure body variable of transmission, is used for preserving the information that sends to the L4C layer, because different type of machines sends to the data structure difference of L4C layer, so different type of machines need be given different data structures, transplants thereby can be implemented on the different type of machines; Give the data structure body variable that sends with the parameter of SIM card information and the parameter assignment of requirement message;
The data of data structure body variable are sent to the L4C layer;
The response function of registration respective acknowledgement message and return state message.
Receive the current mobile terminal that the L4C layer returns according to described requirement message state information method can be specially:
Define a structure variable, and the data that the L4C layer returns are composed to this structure variable;
Successfully whether judgement returned according to the value in this structure variable, if the step of extracting client-side information from the described status of mobile terminal information of returning is then carried out in success;
For example, by judging whether the result member in the structure variable is to judge true (promptly being not equal to 0) whether successfully to obtain client-side information.
In addition, can also be to the global variable assignment, whether sign can obtain state information; When success, compose 1 (success) otherwise compose 0 to global variable.
Comprised client-side information in the described response message, for example information such as LAC, IMEI.
In the above-described embodiments, described client-side information comprises the Location Area Code LAC of client and/or the International Mobile Equipment Identity sign indicating number IMEI of client, can know the zone at user place by LAC information, can the employed service of recording user by IMEI information, and then the hobby of analysis user.
L4C layer in the foregoing description is the adaptation layer of MMI/AT (multimedia interface) and protocol stack, and MMI carries out communication by L4 and gsm/gprs protocol stack, and the effect of L4C layer is to handle all application requests and response.
The present invention can also obtain the Bluetooth address information of client, and concrete steps are: the value that reads record bluetooth information global variable in the MTK system; This value is composed to self-defining global variable.
The present invention can obtain the client-side information of portable terminal, comprise the Location Area Code of client and/or the information such as International Mobile Equipment Identity sign indicating number of client, thereby area and service item service recorder to the user come the demand of analysis user, user's behavior, so that, improve user's experience for the user carries out personalized customize services.
Though; the present invention clearly demonstrates by above embodiment and accompanying drawing thereof; yet under the situation that does not deviate from spirit of the present invention and essence thereof; the person of ordinary skill in the field works as can make various corresponding variations and correction according to the present invention, but these corresponding variations and correction all should belong to the protection range of claim of the present invention.

Claims (10)

1. a method of obtaining client information of mobile terminal is characterized in that, comprising:
Step 1: the requirement message that sends the state information of obtaining current mobile terminal is to the 4th layer of protocol stack;
Step 2: the state information that receives the current mobile terminal that the 4th layer of protocol stack return according to described requirement message;
Step 3: extract client-side information from the state information of the current mobile terminal returned, described client-side information comprises Location Area Code and/or International Mobile Equipment Identity sign indicating number.
2. the method for obtaining client information of mobile terminal according to claim 1, it is characterized in that, comprise the SIM card information of described portable terminal and the indication information that obtains client attitude information in the requirement message of the described state information of obtaining current mobile terminal.
3. the method for obtaining client information of mobile terminal according to claim 2, it is characterized in that, before described step 1, also comprise step: judge whether described portable terminal is double-card dual-standby, if the SIM card information of described portable terminal is the SIM card information of the current use of described portable terminal.
4. the method for obtaining client information of mobile terminal according to claim 1 is characterized in that, requirement message to the protocol stack that the state information of current mobile terminal is obtained in described transmission specifically comprises for the 4th layer:
Definition is also preserved the requirement message ID of the state information of obtaining current mobile terminal;
Definition data structure body variable is used to preserve the described requirement message of obtaining the state information of current mobile terminal;
The data that described data structure variable is preserved send to the 4th layer of protocol stack;
The response function of registration respective acknowledgement message and return state message.
5. the method for obtaining client information of mobile terminal according to claim 1 is characterized in that, the 4th layer of described reception protocol stack comprises according to the state information of the current mobile terminal that described requirement message is returned:
Definition structure body variable, and the 4th layer of data of returning of protocol stack are composed to this structure variable;
Judge whether successfully to return according to the value in this structure variable, if then execution in step 3.
6. a device that obtains client information of mobile terminal is characterized in that, comprising:
Sending module, the requirement message that is used to send the state information of obtaining current mobile terminal is to the 4th layer of protocol stack;
Receiver module is used to receive the state information of the current mobile terminal that the 4th layer of protocol stack return according to described requirement message;
Processing module is used for extracting the client-side information of the 4th layer of state information of returning of protocol stack, and described client-side information comprises Location Area Code and/or International Mobile Equipment Identity sign indicating number.
7. the device that obtains client information of mobile terminal according to claim 6, it is characterized in that, also comprise message processing unit in the described sending module, be used for generating the requirement message of the state information of obtaining current mobile terminal according to the SIM card information of portable terminal and the indication information that obtains client-side information.
8. the device that obtains client information of mobile terminal according to claim 7, it is characterized in that, also comprise judge module, be used to judge whether described portable terminal is double-card dual-standby, if described SIM card information is the SIM card information of the current use of described portable terminal.
9. the device that obtains client information of mobile terminal according to claim 6 is characterized in that, described sending module further comprises:
Definition requirement message unit is used to define and preserve the requirement message ID of the state information of obtaining current mobile terminal;
Definition data structure body variable unit is used for definition data structure body variable, and this data structure body variable is used to preserve the described requirement message of obtaining the state information of current mobile terminal;
Transmitting element is used for the data that described data structure variable is preserved are sent to the 4th layer of protocol stack;
Registering unit is used to register the response function of respective acknowledgement message and return state message.
10. according to any described device that obtains client information of mobile terminal in the claim 6, it is characterized in that described receiver module further comprises:
Definition structure body variable unit is used for definition structure body variable, and the 4th layer of data of returning of protocol stack are composed to this structure variable;
Judging unit is used for judging whether successfully to return according to the value of described structure variable, if then call described processing module.
CN2009101799985A 2009-10-16 2009-10-16 Method and device for obtaining client information of mobile terminal Expired - Fee Related CN101695086B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101799985A CN101695086B (en) 2009-10-16 2009-10-16 Method and device for obtaining client information of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101799985A CN101695086B (en) 2009-10-16 2009-10-16 Method and device for obtaining client information of mobile terminal

Publications (2)

Publication Number Publication Date
CN101695086A true CN101695086A (en) 2010-04-14
CN101695086B CN101695086B (en) 2012-08-15

Family

ID=42094026

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101799985A Expired - Fee Related CN101695086B (en) 2009-10-16 2009-10-16 Method and device for obtaining client information of mobile terminal

Country Status (1)

Country Link
CN (1) CN101695086B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105450488A (en) * 2015-11-11 2016-03-30 深圳市冠明能源科技有限公司 Data processing method and related device
CN112565619A (en) * 2020-11-12 2021-03-26 上海龙旗科技股份有限公司 Rainbow photographing method and equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100448322C (en) * 2005-08-12 2008-12-31 中国移动通信集团公司 Method of obtaining mobile terminal ability updating information
CN100428824C (en) * 2005-09-07 2008-10-22 中国移动通信集团公司 Method for carrying out active inquiry maintenance on mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105450488A (en) * 2015-11-11 2016-03-30 深圳市冠明能源科技有限公司 Data processing method and related device
CN105450488B (en) * 2015-11-11 2019-10-22 深圳市冠明能源科技有限公司 A kind of data processing method and relevant apparatus
CN112565619A (en) * 2020-11-12 2021-03-26 上海龙旗科技股份有限公司 Rainbow photographing method and equipment

Also Published As

Publication number Publication date
CN101695086B (en) 2012-08-15

Similar Documents

Publication Publication Date Title
US20090318171A1 (en) Application Discovery on Mobile Devices
CN101730999B (en) System and method for sharing common location-related information between communication devices
KR101554057B1 (en) Method and computer readable medium for modifying caller behavior
US20080288585A1 (en) Apparatus and method for storing network parameter in mobile communication system
US20100318414A1 (en) Interactive advertising on call termination for mobile terminals
CN102215179A (en) Instant messaging registering device and method
CN101401405A (en) Method and system for maintaining anonymity of a mobile radio terminal
US8160615B1 (en) Method and system for generating associations between a user profile and wireless devices
CN104184898A (en) Incoming call information display processing method and device
CN101785284A (en) Communication device, communication analysis method, and communication analysis program
US20070232286A1 (en) Apparatus and method for storing/calling telephone number in mobile terminal
CN1820469B (en) Methods and apparatus for controlling wireless network operations associated with a flow control process
US20120083243A1 (en) Communication Network Signaling
CN101729673A (en) Method and device for setting ringtone and wallpaper of mobile terminal
CN104113620A (en) Contact list updating method, updating device and user terminal
CN101695086B (en) Method and device for obtaining client information of mobile terminal
US20080278286A1 (en) Communication Method, System and User Terminal
CN105516933A (en) Message processing method, message processing device, mobile terminal and server
CN101668083A (en) Contact person information sharing method of mobile terminal and device
WO2010090047A1 (en) Mobile terminal, mail return method, and server
CN104375772A (en) Method and equipment for matching by screen sensors
CN106714117A (en) Method and apparatus for receiving and transmitting multimedia messages
CN101951596A (en) Method and system for importing information of mobile communication terminal
CN102238492A (en) Methods and devices for transmitting and receiving short message with signature line by mobile terminal
CN102055684A (en) Method and device for processing chat messages of mobile terminal

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120815

Termination date: 20131016