CN102821066A - Information processing method - Google Patents

Information processing method Download PDF

Info

Publication number
CN102821066A
CN102821066A CN2012102936214A CN201210293621A CN102821066A CN 102821066 A CN102821066 A CN 102821066A CN 2012102936214 A CN2012102936214 A CN 2012102936214A CN 201210293621 A CN201210293621 A CN 201210293621A CN 102821066 A CN102821066 A CN 102821066A
Authority
CN
China
Prior art keywords
message
file
message processing
processing class
instrument
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.)
Pending
Application number
CN2012102936214A
Other languages
Chinese (zh)
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.)
Suzhou Codyy Network Technology Co Ltd
Original Assignee
Suzhou Codyy Network 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 Suzhou Codyy Network Technology Co Ltd filed Critical Suzhou Codyy Network Technology Co Ltd
Priority to CN2012102936214A priority Critical patent/CN102821066A/en
Publication of CN102821066A publication Critical patent/CN102821066A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides an information processing method, which comprises the following steps that an export tool is used for obtaining message processing types; a desktop progress file is obtained, and the desktop progress file and a message processing type file are placed to a specified position; a dynamic base is introduced, and development tool parameters are configured; and a message monitoring event is registered in the desktop progress file, and by utilizing the message processing types, the message monitored in a message center is processed.

Description

A kind of method of information processing
Technical field
The invention belongs to the instant messaging field, relate in particular to a kind of method of information processing.
Background technology
Along with the develop rapidly of social informatization, various meanss of communication such as Fetion, QQ etc. receive being widely used of people more and more.Meanwhile, the means of communication of some enterprise versions also is familiar with by people gradually, and for example video conference etc., and along with the adding of cell-phone customer terminal makes more and more facilitation of various application.In daily use, need sometimes to send a telegram here or note in given content be converted into the required application of user.And mobile phone this in operation, limitation is arranged, want hand-kept usually after, in mobile phone browser, import again, caused inconvenience to the use of user mobile phone client.
Summary of the invention
The present invention provides a kind of method of information processing to address the above problem.
The present invention provides a kind of method of information processing, may further comprise the steps.Use the derivation instrument to obtain the Message Processing class.Obtain the desktop process file, said desktop process file and Message Processing class file are put into assigned address.Import dynamic base and dispose the developing instrument parameter.Registration message is monitored incident in said desktop process file, utilizes the Message Processing class, and the message that listens in the message center is handled.
Compared to prior art; Method according to information processing provided by the invention; Obtain the desktop process file after obtaining the Message Processing class with the derivation instrument, and said desktop process file and Message Processing class file are put into assigned address, and import dynamic base and configuration developing instrument parameter.Through parameter configuration is that the message monitoring is ready.Registration message is monitored incident in said desktop process file, utilizes the Message Processing class, and the message that listens in the message center is handled.So, can monitor different types of messages according to demand at any time, improve the application convenience of video conference cell-phone customer terminal.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
The flow chart that the method for information processing is provided for preferred embodiment according to the present invention shown in Figure 1.
Embodiment
Hereinafter will and combine embodiment to specify the present invention with reference to accompanying drawing.Need to prove that under the situation of not conflicting, embodiment and the characteristic among the embodiment among the application can make up each other.
The flow chart that the method for information processing is provided for preferred embodiment according to the present invention shown in Figure 1.As shown in Figure 1, preferred embodiment of the present invention provides the method for information processing to comprise step 101 ~ 104.
Step 101: use the derivation instrument to obtain the Message Processing class.
Particularly, this method hsrdware requirements are to have Mac OSX10.6 or the more Mac computers of highest version system and the iphone mobile phone of IOS (need escape from prison) 5.0 and above version, and said mobile phone is connected with said computer through the WIFI mode.In said Mac computers, derive the API API storehouse (being CoreTelephony.framework framework storehouse) of mobile phone short message, and obtain the Message Processing class in the said API storehouse with the derivation instrument.Wherein, said derivation instrument is class-dump.
Step 102: obtain the desktop process file, said desktop process file and Message Processing class file are put into assigned address.
Particularly, the Message Processing class file that obtains in the step 101 comprises message CTMessage and message center CTMessageCenter, in addition, also need obtain the desktop process file.Wherein, said desktop process file is main interface file SpringBoard.h.The assigned address that said desktop process file and Message Processing class file are put into does, in the include file of the corresponding catalogue of developing instrument.In the present embodiment; Said desktop process file location mode is put into assigned address for after duplicating, and said Message Processing class file location mode exports to assigned address for utilizing the derivation instrument, in other embodiment; Can adopt alternate manner to deposit said file, this present invention is not limited.In addition, said desktop process file and Message Processing class file can be put into said assigned address in the lump, also can put into said assigned address respectively, and this present invention is not limited.
In the foregoing description, said developing instrument comprises iosOpenDev and theos instrument.When using iosOpenDev, under the installation directory of Xcode, find SpringBoard.app, the said SpringBoard.app of right click finds the SpringBoard.h file and duplicates.When using theos, can download or download voluntarily at Xcode in advance in network terminal.
Step 103: import dynamic base and dispose the developing instrument parameter.
Particularly, after the desktop process file of said developing instrument demand and Message Processing class file are put into assigned address, newly-built OpenAppBySMS project in developing instrument, and in said project, import dynamic base.Wherein, said dynamic base is the libsubstrate.dylib file, import successfully after, said libsubstrate.dylib file is put into the lib file of the corresponding catalogue of said developing instrument.
If said developing instrument is iosOpenDev, at first need in mobile phone Cydia, to search for and in Mac computers, install OpenSSH (being the realization of freely increasing income of SSH (Secure SHell) agreement).After installing successfully, remove the signal code between SSH PC and the mobile phone with " iosod sshkey – h < IP>" order at Mac computers.Next accomplish the parameter configuration of iosOpenDev developing instrument; The concrete configuration process is following: first; The Boolean of iosOpenDevCopyOnBuild is selected NO; Whether the executable file that generates is copied to/var/root/iOSOpenDevBuilds/ [project name]/[filename] path under, select NO; The second, be the IP address of mobile phone WIFI with the IP address setting of iosOpenDevDevice; The 3rd, the iosOpenDevInstallOnProfiling Boolean is selected YES, and build for profiling selects directly long-range being installed on the equipment; The 4th, iosOpenDevPath selects the default installation path, need not revise this; The 5th, the iosOpenDevRespringOnInstall Boolean is selected YES.
If said developing instrument is theos, the mode that disposes said parameter is that the IP address of equipment that directly adds said developing instrument is the IP address of mobile phone WIFI.
Step 104: registration message is monitored incident in said desktop process file, utilizes the Message Processing class, and the message that listens in the message center is handled.
Particularly, use %hook, %orig and %end label didFinishLanuchWithOptions () the function registration message in said desktop process file to monitor incident.Said registration message is monitored function that incident is used: CTTelephonyCenterAddObserver (CFNotificationCenterRef center; Const void*observer; CFNotificationCallback callBack; CFStringRef name, const void*object, CFNotificationSuspensionBehavior suspensionBehavior).
After accomplishing said registration message monitoring incident, utilize the Message Processing class, the message that listens in the message center is handled.Detailed process does, uses the CTMessageCenter in the said Message Processing class, obtains the message center instance of system, through said message center instance, obtains all type of messages that listen to, and therefrom obtains short message types then, handles.
For example, at first use CTMessageCenter in the Message Processing class, obtain the message center instance idmc=[[CTMessageCenter alloc] init] of system.Secondly through said message center instance; Obtain all type of message id incMsg=[[mc allIncomingMessages] objectAtIndex:0], and obtain the short message type idincMsgPart=[[[incMsg items] objectAtIndex:0] retain] in said all type of messages.Obtain the data NSData*smsData=[[incMsgPart data] retain] of data type at last, resolve said data data and draw short message content: NSString*string=[[NSStringal loc] initWithData:smsDataencoding:NSUTF8StringEncoding].
Next; If need to monitor the note that contains content of text; With [[UIApplication sharedApplication] canOpenURL: [NSURL URLWithString: " myapp: //com.company.test "]]; After opening application program and being mounted to mobile phone, restart the desktop process file and can realize real-time listening.In this, if developing instrument is iosOpenDev, all compilation process is integrated among the Xcode, by the Xcode direct compilation.If developing instrument is theos, need under Mac computers cd item catalogue, use make order compiling, use make package compiling and packing, use make packageinstall compiling packing and be installed to mobile phone.
In sum; The method of the information processing that preferred embodiment provides according to the present invention; Obtain the desktop process file after obtaining the Message Processing class with the derivation instrument, and said desktop process file and Message Processing class file are put into assigned address, and import dynamic base and configuration developing instrument parameter.Through parameter configuration is that the message monitoring is ready.Registration message is monitored incident in said desktop process file, utilizes the Message Processing class, and the message that listens in the message center is handled.So, can monitor different types of messages according to demand at any time, improve the application convenience of video conference cell-phone customer terminal.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (7)

1. the method for an information processing is characterized in that, may further comprise the steps:
Use the derivation instrument to obtain the Message Processing class;
Obtain the desktop process file, said desktop process file and Message Processing class file are put into assigned address;
Import dynamic base and dispose the developing instrument parameter;
Registration message is monitored incident in said desktop process file, utilizes the Message Processing class, and the message that listens in the message center is handled.
2. method according to claim 1 is characterized in that, said derivation instrument is the class-dump instrument, and said Message Processing class file comprises CTMessage and CTMessageCenter, and said desktop process file is the SpringBoard.h file.
3. method according to claim 1; It is characterized in that; The assigned address that said desktop process file and Message Processing class file are put into does; In the include file of the corresponding catalogue of said developing instrument, said dynamic base is the libsubstrate.dylib file, and said libsubstrate.dylib file is put into the lib file of the corresponding catalogue of said developing instrument.
4. method according to claim 1; It is characterized in that; If said developing instrument is iosOpenDev; The process that disposes said parameter is respectively iosOpenDevCopyOnBuild, iosOpenDevDevice, iosOpenDevInstallOnProfiling, iosOpenDevPath and iosOpenDevRespringOnInstall field to be carried out parameter configuration.
5. method according to claim 1 is characterized in that, if said developing instrument is theos, the mode that disposes said parameter is that the IP address of equipment that directly adds said developing instrument is the IP address of mobile phone WIFI.
6. method according to claim 1 is characterized in that, uses %hook, %orig and %end label didFinishLanuchWithOptions () the function registration message in said desktop process file to monitor incident.
7. method according to claim 6 is characterized in that, accomplish said registration message monitoring incident after, utilize the Message Processing class, the process that the message that listens in the message center is handled is:
Use the CTMessageCenter in the said Message Processing class, obtain the message center instance of system,, obtain all type of messages that listen to, therefrom obtain short message types then, handle through said message center instance.
CN2012102936214A 2012-07-30 2012-07-30 Information processing method Pending CN102821066A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012102936214A CN102821066A (en) 2012-07-30 2012-07-30 Information processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012102936214A CN102821066A (en) 2012-07-30 2012-07-30 Information processing method

Publications (1)

Publication Number Publication Date
CN102821066A true CN102821066A (en) 2012-12-12

Family

ID=47304926

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012102936214A Pending CN102821066A (en) 2012-07-30 2012-07-30 Information processing method

Country Status (1)

Country Link
CN (1) CN102821066A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104714788A (en) * 2013-12-12 2015-06-17 腾讯科技(深圳)有限公司 Method and device for automatically generating software installation package
CN104754608A (en) * 2013-12-25 2015-07-01 腾讯科技(深圳)有限公司 Method and system for monitoring performances of mobile terminal
WO2016197828A1 (en) * 2015-12-31 2016-12-15 中兴通讯股份有限公司 Event broadcast method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
小小程序员: "用苹果***dpkg命令安装.deb文件", 《DEVDIV开发者社区》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104714788A (en) * 2013-12-12 2015-06-17 腾讯科技(深圳)有限公司 Method and device for automatically generating software installation package
CN104714788B (en) * 2013-12-12 2018-12-11 腾讯科技(深圳)有限公司 A kind of method and device that software installation packet automatically generates
CN104754608A (en) * 2013-12-25 2015-07-01 腾讯科技(深圳)有限公司 Method and system for monitoring performances of mobile terminal
CN104754608B (en) * 2013-12-25 2019-06-28 腾讯科技(深圳)有限公司 Realize the method and system of mobile terminal performance monitoring
WO2016197828A1 (en) * 2015-12-31 2016-12-15 中兴通讯股份有限公司 Event broadcast method and device

Similar Documents

Publication Publication Date Title
US7716661B2 (en) Embedded device update service
US20140181262A1 (en) Use of internet information services logging to collect user information in an asynchronous manner
US8161473B2 (en) Dynamic software fingerprinting
CN103049515A (en) Method, device and equipment for classifying application programs
CN105630684B (en) Software Development Kit recognition methods and device
GB2445991A (en) Transmitting loader software from mobile device to desktop computer for downloading application software from network resource
US9747449B2 (en) Method and device for preventing application in an operating system from being uninstalled
CN111563015B (en) Data monitoring method and device, computer readable medium and terminal equipment
CN112507005B (en) Method and device for processing message
CN111241559A (en) Training model protection method, device, system, equipment and computer storage medium
WO2019109519A1 (en) Service rule management method, apparatus and device, and computer-readable storage medium
RU2431235C2 (en) Method of identifying devices in working environments of mobile communication and desktop computers
CN103176811A (en) Third party application installation method and third party application installation system
CN102156650B (en) Method and device capable of implementing automatic analysis of patch
CN102821066A (en) Information processing method
CN114741400A (en) Data synchronization and analysis method, device and terminal equipment
CN102831179A (en) Webpage processing method and device
CN103067464B (en) Intelligent terminal method for remote controlling computer and system
CN104751046B (en) A kind of user authen method and mobile terminal device of application program
CN101442539A (en) Method and apparatus for implementing field filtration
CN108009084B (en) Testing method, device and system for hybrid mobile application
CN104166554A (en) Software developing method and installation method supporting multiple operation systems
CN111488268A (en) Dispatching method and dispatching device for automatic test
KR20170054497A (en) Information display method, terminal and server
CN202143098U (en) Intelligent mobile phone open cross-platform system based on cloud computing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20121212