CN104834855A - System data acquiring method and apparatus, and mobile terminal - Google Patents

System data acquiring method and apparatus, and mobile terminal Download PDF

Info

Publication number
CN104834855A
CN104834855A CN201510188784.XA CN201510188784A CN104834855A CN 104834855 A CN104834855 A CN 104834855A CN 201510188784 A CN201510188784 A CN 201510188784A CN 104834855 A CN104834855 A CN 104834855A
Authority
CN
China
Prior art keywords
system data
picture
appointing system
page
word message
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
CN201510188784.XA
Other languages
Chinese (zh)
Other versions
CN104834855B (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510188784.XA priority Critical patent/CN104834855B/en
Publication of CN104834855A publication Critical patent/CN104834855A/en
Application granted granted Critical
Publication of CN104834855B publication Critical patent/CN104834855B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/52Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow
    • G06F21/53Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow by executing in a restricted environment, e.g. sandbox or secure virtual machine

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Embodiments of the invention provide a system data acquiring method and apparatus, and a mobile terminal, belonging to the field of computers. The method comprises: when an application program needs to use specified system data during running, executing a screenshot operation on a page including the specified system data; acquiring a picture obtained by screenshot; recognizing character information in the picture, and performing screening in the character information so as to obtain the specified system data. The method and apparatus, and the mobile terminal provided by the present invention solve the problem that the application program cannot normally run because the system data cannot be obtained under the condition that the application program does not have limits of authority, so that the application program can normally acquire system data and run in any mobile terminal, and the adaptability of the application program is improved.

Description

A kind of acquisition methods of system data, device and mobile terminal
Technical field
The present invention relates to computer realm, be specifically related to a kind of acquisition methods of system data, device and mobile terminal.
Background technology
At present, the mobile terminal such as mobile phone, panel computer is used widely, and mobile terminal operating system also comprises multiple, and such as IOS, WP (windows phone), Android etc., the application program based on various operating system also gets more and more.
But due to security mechanism problem, some operating system (such as IOS, WP, Android) is very strict for the acquisition jurisdictions mandate of system data.And certain applications program operationally, these system datas are needed to carry out.But for security consideration, operating system can't give the authority of some third party application reading system data.
Such as: current free WiFi application, it can find the WiFi around mobile terminal, and which identifies can freely connect.But in the systems such as IOS, WP, due to rights concerns, free WiFi application cannot the WiFi list etc. of read operation system, thus causes this application normally to run down.
And at present, do not have effect technique means and can make to be applied in the system data obtaining operating system when not there is corresponding authority.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of a kind of acquisition methods, correspondingly device and the mobile terminal of system data that overcome the problems referred to above or solve the problem at least in part.
According to one aspect of the present invention, a kind of acquisition methods of system data is provided, comprises:
When application program needs to use appointing system data in operational process, perform the shot operation to the page comprising described appointing system data;
Obtain the picture obtained by described shot operation;
Identify the Word message in described picture, and screening obtains described appointing system data in described Word message;
Wherein, described application program does not possess the acquisition authority of described appointing system data.
Alternatively, described execution, to the shot operation of the page comprising described appointing system data, comprising:
Prompting user carries out sectional drawing to the page comprising described appointing system data;
After the confirmation instruction receiving user, jump to the described page;
Receive the sectional drawing instruction that described user sends, and perform the shot operation to the described page.
Alternatively, obtain the picture obtained by described shot operation, comprising:
The picture that described shot operation produces is read under specified path;
Wherein, the picture that produces for depositing shot operation of described specified path.
Alternatively, the Word message in the described picture of described identification, and in described Word message, screening obtains described appointing system data, comprising:
The Word message in described picture is obtained by the identification of Word message recognizer;
In the Word message obtained in described identification according to regular expression algorithm, screening obtains described appointing system data.
Alternatively, described appointing system data comprise following one of arbitrarily:
Hotspot list, message registration, contacts list, note, set up applications list.
Alternatively, when described appointing system data are described hotspot list, after described screening obtains described appointing system data, described method also comprises:
Described hotspot list is sent to server;
Receive attachable hotspot name, password that described server obtains according to described hotspot list identification;
According to described attachable hotspot name, password by described connection of mobile terminal into network.
According to another aspect of the present invention, a kind of acquisition device of system data is provided, comprises:
Screen capture module, is suitable for, when application program needs to use appointing system data in operational process, performing the shot operation to the page comprising described appointing system data;
Picture acquisition module, is suitable for obtaining the picture obtained by described shot operation;
Data identification module, is suitable for identifying the Word message in described picture, and screening obtains described appointing system data in described Word message;
Wherein, described application program does not possess the acquisition authority of described appointing system data.
Alternatively, described screen capture module, comprising:
Tip element, is suitable for when application program needs appointing system data in operational process, and prompting user carries out sectional drawing to the page comprising described appointing system data;
Page jump unit, is suitable for, after the confirmation instruction receiving user, jumping to the described page;
Sectional drawing unit, is suitable for receiving the sectional drawing instruction that described user sends, and performs the shot operation to the described page.
Alternatively, described picture acquisition module is applicable to obtain the picture obtained by described shot operation in the following manner:
The picture that described shot operation produces is read under specified path;
Wherein, the picture that produces for depositing shot operation of described specified path.
Alternatively, described data identification module, comprising:
Word message recognition unit, is suitable for the Word message obtained by the identification of Word message recognizer in described picture;
Data screening unit, is suitable for screening in the Word message obtained in described identification according to regular expression algorithm and obtains described appointing system data.
Alternatively, described appointing system data comprise following one of arbitrarily:
Hotspot list, message registration, contacts list, note, set up applications list.
Alternatively, described device also comprises:
Data transmission blocks, is suitable for, when described appointing system data are described hotspot list, described hotspot list being sent to server;
Data reception module, is suitable for receiving attachable hotspot name, password that described server obtains according to described hotspot list identification;
Network connecting module, is suitable for described connection of mobile terminal into network according to described attachable hotspot name, password.
According to another aspect of the present invention, provide a kind of mobile terminal, described mobile terminal comprises:
Storer;
One or more processor;
Wherein, described one or more processor is configured to perform following method:
When application program needs to use appointing system data in operational process, perform the shot operation to the page comprising described appointing system data;
Obtain the picture obtained by described shot operation;
Identify the Word message in described picture, and screening obtains described appointing system data in described Word message;
Wherein, described application program does not possess the acquisition authority of described appointing system data.
Embodiments provide a kind of acquisition methods of system data, device and mobile terminal, during by needing in operational process when application program to use appointing system data, perform the shot operation to the page comprising appointing system data, and obtain the picture obtained by described shot operation, the Word message that Text region obtains wherein is carried out to this picture, in described Word message, screening obtains appointing system data again, solve application program when not having authority, the problem that cannot normally run is caused due to system data can not be obtained, make application program can obtain system data and operation normally in any mobile terminal, improve the adaptability of application program.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
According to hereafter by reference to the accompanying drawings to the detailed description of the specific embodiment of the invention, those skilled in the art will understand above-mentioned and other objects, advantage and feature of the present invention more.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 is the acquisition methods process flow diagram of a kind of system data that one embodiment of the invention provides;
Fig. 2 is the concrete acquisition methods process flow diagram of a kind of system data that one embodiment of the invention provides;
Fig. 3 A is that a kind of user of prompting that one embodiment of the invention provides enters the schematic diagram that the WLAN page carries out sectional drawing;
Fig. 3 B is the schematic diagram of a kind of WLAN page that one embodiment of the invention provides;
Fig. 3 C is the schematic diagram that a kind of user of prompting that one embodiment of the invention provides is obtaining free WiFi network;
Fig. 3 D is a kind of prompting schematic diagram acquiring available WiFi network that one embodiment of the invention provides;
Fig. 4 is the concrete acquisition methods process flow diagram of another system data that one embodiment of the invention provides;
Fig. 5 A is that a kind of user of prompting that one embodiment of the invention provides carries out the schematic diagram that the message registration page carries out sectional drawing;
Fig. 5 B is the schematic diagram of the message registration page in the operating system that provides of one embodiment of the invention;
A kind of effect schematic diagram when message registration is identified that Fig. 5 C is that one embodiment of the invention provides;
Fig. 5 D is that a kind of the carrying out message registration that one embodiment of the invention provides harasses the result display schematic diagram identified;
Fig. 5 E is a kind of effect schematic diagram carrying out harassing call mark that one embodiment of the invention provides;
And
Fig. 6 is the acquisition device structured flowchart of a kind of system data that one embodiment of the invention provides.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Embodiment one
Embodiments provide a kind of acquisition methods of system data.It can implement on the terminal device by application program, such as mobile phone, the customer mobile terminal equipment such as flat board, Hand Personal Computer.
Fig. 1 is the acquisition methods process flow diagram of a kind of system data that the present embodiment provides.The method specifically comprises step S102 to step S106.
S102: when application program needs to use appointing system data in operational process, perform the shot operation to the page comprising above-mentioned appointing system data.
Wherein, described application program does not possess the acquisition authority of described appointing system data.
S104: obtain the picture obtained by above-mentioned shot operation.
S106: identify the Word message in above-mentioned picture, and screening obtains appointing system data in above-mentioned Word message.
Embodiments provide a kind of acquisition methods of system data, during by needing in operational process when application program to use appointing system data, perform the shot operation to the page comprising appointing system data, and obtain the picture obtained by described shot operation, the Word message that Text region obtains wherein is carried out to this picture, in described Word message, screening obtains appointing system data again, solve application program when not having authority, the problem that cannot normally run is caused due to system data can not be obtained, make application program can obtain system data and operation normally in any mobile terminal, improve the adaptability of application program.
Embodiment two
The present embodiment is a kind of embody rule scene of above-described embodiment one, by the present embodiment, can set forth method provided by the present invention clearly, particularly.
Wherein, the present embodiment is described the method obtaining system data with following scene:
Suppose that " free WiFi " is for a software helping user to obtain WiFi network password, when user is under WiFi network, the process of " free WiFi " can obtain current WiFi list, and identifies available WiFi network wherein, downloads corresponding password connect by server side.
But in part Android device, owing to not having the authority obtaining WiFi list, cause this software None-identified available WiFi network wherein, and help user to connect.
The present embodiment, to solve the problem under this scene, is described the method for acquisition system data provided by the invention.
As shown in Figure 2, be the concrete acquisition methods process flow diagram of a kind of system data that the embodiment of the present invention provides, the method comprising the steps of S201 to S207.
First, perform step S201, when " free WiFi " software cannot obtain WiFi list, prompting user enters the WLAN page and carries out shot operation.
There is the page (the WLAN page) of WiFi list under Android operation system, also it is " the comprising the page of appointing system data " in the present embodiment one, by this page, user can see the WiFi network (when having password) that current mobile terminal can be connected to.Namely the WiFi list mentioned in the present embodiment is above-mentioned appointing system data.
Wherein, generally, software can have the authority obtaining WiFi list below in two kinds of situations:
The first has the authority obtaining WiFi list;
The second is the authority that operating system imparts that this software reads WiFi list.
In the present embodiment, after the refusal of operating system is suffered in the request obtaining WiFi list as " free WiFi ", both can send to user and enter the prompting that the WLAN page carries out shot operation.
It should be noted that, above-mentioned prompting can comprise two parts content:
Part I is that prompting user enters the WLAN page, and Part II is the method for prompting user sectional drawing.Because naive user may not understand screenshot method, therefore, can comprise screenshot method in prompting, convenient user operates.
In order to more clearly embody above-mentioned suggestion content, present embodiments providing Fig. 3 A, presenting a kind of user of prompting and entering the schematic diagram that the WLAN page carries out sectional drawing.
After user's click starts, perform step S202, jump to the WLAN page.
As shown in Figure 4, be the schematic diagram of the WLAN page, at the current WLAN page, there are 4 available WiFi network, be respectively:
“360-test-youxi”;
“360WiFi-60501C”;
“WiFi600”;
“TP-LINK_9EF73C”。
Next, mobile terminal receives the sectional drawing instruction that user sends, and performs step S203, performs the shot operation to the current WLAN page.
Wherein, what shot operation utilized is the sectional drawing function that operating system provides, and incoming instruction is sent by user.In current operating system, the mode of operation Manual interception that sectional drawing instruction needs user to provide according to operating system such as, can be following key mode:
" press key sectional drawing in power knob and volume ".
After shot operation completes, perform step S204, obtain the picture obtained by above-mentioned shot operation.
In Android operation system, generally the picture that sectional drawing produces can be saved in the atlas under specified path.
Therefore, in the present embodiment, the picture obtained by above-mentioned shot operation is obtained, Ke Yiwei:
The picture that the current secondary picture recently of time gap obtains as above-mentioned shot operation is read under specified path.
Wherein, by there is one for preserving the file of the picture that screenshotss operation produces under the picture directory in operating system, under the figure sector-meeting acquiescence that whole screenshotss produce is saved in this path.Such as, under Android operation system, its Folder Name is generally " ScreenImage ".
When operating system sectional drawing produces picture, the sectional drawing time of picture can be preserved.
After the picture obtaining sectional drawing generation, perform step S205, obtain WiFi network information included in picture by character recognition technology identification.
Alternatively, the present embodiment specifically can pass through OCR (Optical Character Recognition, optical character identification) technology and identifies the word in picture.
Wherein, WiFi network information at least comprises SSID (Service Set Identifier, Services Integration identifies).
The present embodiment is still for Fig. 3 B, then above-mentioned SSID is " 360-test-youxi ", " 360WiFi-60501C ", " WiFi600 ", " TP-LINK_9EF73C ".
Wherein, when being obtained WiFi network information included in picture by character recognition technology identification, specifically can realize in the following way:
First, the Word message in picture is obtained by the identification of Word message recognizer.
Wherein, Word message recognizer is specially OCR algorithm, generally comprises following several step:
(1) image input;
In this step, be mainly acquisition image, and image is processed, to improve its resolution.
(2) pre-service;
Wherein, in order to identify image, in pre-service, the operations such as binary conversion treatment, image noise reduction, slant correction can be comprised.
(3) character features extracts;
This step is the core of image recognition, character features extracts easy differentiation can be divided into two classes: one is the feature of adding up, as the black/white in character area is counted ratio, when literal field is divided into several regions, this one by one region black/white count than associating, just become a numerical value vector in space, when comparison, basic mathematical theory is just enough to deal with.And the another kind of feature being characterized as structure, after word image graph thinning, obtain the stroke end points of word, the quantity of point of crossing and position, or with stroke section for feature, coordinate special comparison method, compare.
(4) contrast identifies.
This step is add up by above-mentioned steps the feature obtained, and utilizes mathematical model in word database, carry out the process identified.Be specially, according to different features, select different mathematical distance functions, comparatively conventional comparison method has, the comparison method of theorem in Euclid space, Relaxation (lax Comparison Method), DP (Dynamic Programming, dynamic routine Comparison Method), and the Database of neural network and the method such as comparison, HMM (Hidden Markov Model, hidden Markov model).
Then, in the Word message obtained in above-mentioned identification according to regular expression algorithm, screening obtains WiFi network information.
Such as:
After obtained the whole words on picture by the identification of OCR technology, wherein word segment may comprise the information such as " setting ", " available WiFi network ", " 360-test-youxi ", " 360WiFi-60501C ", " WiFi600 ", " TP-LINK_9EF73C ".And for software, and do not know that wherein those information are WiFi network information, the available information therefore can determining wherein by regular expression algorithm, namely confirms WiFi network information wherein.
In the present embodiment, available rule can be, in the ordinary course of things, after " available WiFi network " character, be the SSID of multiple WiFi network, and for there is wireless network identification after the SSID of each WiFi network, by this mark, the SSID of multiple WiFi network can be distinguished.
After obtaining WiFi network information, perform step S206, WiFi network information is sent to server, request server identification available free WiFi network wherein.
Wherein, available free WiFi network is in server the WiFi network of preserving corresponding password.
Alternatively, because WiFi network may exist situation of the same name, when WiFi network information being sent to server, the location information (such as: latitude and longitude information) of the current present position of mobile terminal can also be sent to server simultaneously, with the WiFi network helping server to distinguish zones of different, to search the password of its correspondence.
After server receives WiFi network information, whether preserve corresponding password according to SSID inquiry wherein, if inquire, then return the SSID of the attachable WiFi network of mobile terminal and corresponding password.
In the query script of server, need the some time, user's WiFi network now can be pointed out to obtain, as shown in Figure 3 C, for prompting user is obtaining the schematic diagram of free WiFi network.
Then, perform step S207, the SSID of the available WiFi network that reception server returns and password, carry out selection for user and connect.
It should be noted that, the SSID of the available WiFi network that server returns and password may exist multiple, at this moment select one of them to carry out connecting by user.As shown in Figure 3 D, the prompting schematic diagram acquiring available WiFi network is.
After obtaining the password of WiFi, user can select to connect, and achieves and normally can complete the function connecting free WiFi on the mobile terminal without WiFi list reading authority.
It should be noted that, the present embodiment two only with WiFi list for appointing system data instance is described method provided by the present invention.In addition, method provided by the present invention can be applied in and anyly obtain appointing system data when not having authority.
Carrying out OCR by screenshotss and identify the method obtaining system data, except for obtaining except WiFi list, can also be used for obtaining other system data, such as message registration, contacts list, note, set up applications list etc.
Be described with Another Application scene below:
In current operating system, there is the function of harassing call identification in such as security guard.When user of incoming call, server can be inquired about according to caller ID, obtains the type of caller ID, such as: swindle, real estate, mobile customer service etc., and be pushed to user, make user can learn strangeness numbers type, to shield harassing call etc. when sending a telegram here.
But in part operation system, owing to can not obtain ROOT authority, or due to user's setting, security guard can not obtain message registration, and causes to identify the incoming call of user.In order to address this problem, present embodiments provide a kind of method obtaining system data, as shown in Figure 4, comprise step S401 to step S405.
In step S401, when reading message registration, prompting user enters the message registration page and carries out sectional drawing.
Wherein, as shown in Figure 5A, for a kind of user of prompting carries out the schematic diagram that the message registration page carries out sectional drawing.
After receiving the sign on that user sends, perform step S402, jump to the message registration page.
As shown in Figure 5 B, be the schematic diagram of the message registration page in operating system.
After jumping to the message registration page, receive the screenshotss instruction that user sends, perform step S403, perform screenshotss operation.
In step s 404, obtain screenshotss and operate the picture obtained, and Text region is carried out to the picture that screenshotss produce, obtain message registration information.
Wherein, for the obtain manner of the picture that screenshotss produce, and identical in Methods and steps S204 with S205 of Text region, repeat no more here.
As shown in Figure 5 C, for a kind of message registration is identified time effect schematic diagram.
After identification obtains the message registration of user, perform step S405, will identify that the message registration obtained is uploaded onto the server.
After the message registration identification of server to user completes, will identify that the harassing call obtained occurs to the mobile terminal of user.Now, perform step S406, display server is to the recognition result of harassing call.
As shown in Figure 5 D, carry out harassing the result display schematic diagram identified to message registration for a kind of.
Further, when user click wherein a certain message registration time, also can mark for this incoming call, to be supplied to other user's references.
As shown in fig. 5e, be a kind of effect schematic diagram carrying out harassing call mark.
Embodiments provide a kind of acquisition methods of system data, during by needing in operational process when application program to use appointing system data, perform the shot operation to the page comprising appointing system data, and obtain the picture obtained by described shot operation, the Word message that Text region obtains wherein is carried out to this picture, in described Word message, screening obtains appointing system data again, solve application program when not having authority, the problem that cannot normally run is caused due to system data can not be obtained, make application program can obtain system data and operation normally in any mobile terminal, improve the adaptability of application program.
Embodiment three
Fig. 6 is the structured flowchart of the acquisition device of a kind of system data that one embodiment of the invention provides, and this device 600 comprises:
Screen capture module 610, is suitable for, when application program needs to use appointing system data in operational process, performing the shot operation to the page comprising above-mentioned appointing system data;
Picture acquisition module 620, is suitable for obtaining the picture obtained by above-mentioned shot operation;
Data identification module 630, is suitable for identifying the Word message in above-mentioned picture, and screening obtains above-mentioned appointing system data in above-mentioned Word message;
Wherein, above-mentioned application program does not possess the acquisition authority of described appointing system data.
Alternatively, above-mentioned screen capture module 610, comprising:
Tip element 611, is suitable for when application program needs appointing system data in operational process, and prompting user carries out sectional drawing to the page comprising above-mentioned appointing system data;
Page jump unit 612, is suitable for, after the confirmation instruction receiving user, jumping to the above-mentioned page;
Sectional drawing unit 613, is suitable for receiving the sectional drawing instruction that above-mentioned user sends, and performs the shot operation to the above-mentioned page.
Alternatively, above-mentioned picture acquisition module 620 is applicable to obtain the picture obtained by above-mentioned shot operation in the following manner:
The picture that above-mentioned shot operation produces is read under specified path;
Wherein, the picture that produces for depositing shot operation of above-mentioned specified path.
Alternatively, above-mentioned data identification module 630, comprising:
Word message recognition unit 631, is suitable for the Word message obtained by the identification of Word message recognizer in above-mentioned picture;
Data screening unit 632, is suitable for screening in the Word message obtained in above-mentioned identification according to regular expression algorithm and obtains above-mentioned appointing system data.
Alternatively, above-mentioned appointing system data comprise following one of arbitrarily:
Hotspot list, message registration, contacts list, note, set up applications list.
Alternatively, this device 600 also comprises:
Data transmission blocks 640, is suitable for, when above-mentioned appointing system data are above-mentioned hotspot list, above-mentioned hotspot list being sent to server;
Data reception module 650, is suitable for receiving attachable hotspot name, password that above-mentioned server obtains according to above-mentioned hotspot list identification;
Network connecting module 660, is suitable for above-mentioned connection of mobile terminal into network according to above-mentioned attachable hotspot name, password.
Embodiments provide a kind of acquisition device of system data, during by needing in operational process when application program to use appointing system data, perform the shot operation to the page comprising appointing system data, and obtain the picture obtained by described shot operation, the Word message that Text region obtains wherein is carried out to this picture, in described Word message, screening obtains appointing system data again, solve application program when not having authority, the problem that cannot normally run is caused due to system data can not be obtained, make application program can obtain system data and operation normally in any mobile terminal, improve the adaptability of application program.
In addition, the embodiment of the present invention additionally provides a kind of mobile terminal, and this mobile terminal comprises:
Storer;
One or more processor;
Wherein, this one or more processor is configured to perform following method:
When application program needs to use appointing system data in operational process, perform the shot operation to the page comprising described appointing system data;
Obtain the picture obtained by described shot operation;
Identify the Word message in described picture, and screening obtains described appointing system data in described Word message;
Wherein, above-mentioned application program does not possess the acquisition authority of described appointing system data.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in detail in the claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the some or all parts in the acquisition device of the system data of the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
So far, those skilled in the art will recognize that, although multiple exemplary embodiment of the present invention is illustrate and described herein detailed, but, without departing from the spirit and scope of the present invention, still can directly determine or derive other modification many or amendment of meeting the principle of the invention according to content disclosed by the invention.Therefore, scope of the present invention should be understood and regard as and cover all these other modification or amendments.
The embodiment of the present invention additionally provides the acquisition methods of an A1. system data, comprising:
When application program needs to use appointing system data in operational process, perform the shot operation to the page comprising described appointing system data;
Obtain the picture obtained by described shot operation;
Identify the Word message in described picture, and screening obtains described appointing system data in described Word message;
Wherein, described application program does not possess the acquisition authority of described appointing system data.
A2. the method according to A1, wherein, described execution, to the shot operation of the page comprising described appointing system data, comprising:
Prompting user carries out sectional drawing to the page comprising described appointing system data;
After the confirmation instruction receiving user, jump to the described page;
Receive the sectional drawing instruction that described user sends, and perform the shot operation to the described page.
A3. the method according to A2, wherein, is obtained the picture obtained by described shot operation, comprising:
The picture that described shot operation produces is read under specified path;
Wherein, the picture that produces for depositing shot operation of described specified path.
A4. the method according to A1, wherein, the Word message in the described picture of described identification, and in described Word message, screening obtains described appointing system data, comprising:
The Word message in described picture is obtained by the identification of Word message recognizer;
In the Word message obtained in described identification according to regular expression algorithm, screening obtains described appointing system data.
A5. the method according to any one of A1 to A4, wherein, described appointing system data comprise following one of arbitrarily:
Hotspot list, message registration, contacts list, note, set up applications list.
A6. the method according to A5, wherein, when described appointing system data are described hotspot list, after described screening obtains described appointing system data, described method also comprises:
Described hotspot list is sent to server;
Receive attachable hotspot name, password that described server obtains according to described hotspot list identification;
According to described attachable hotspot name, password by described connection of mobile terminal into network.
The embodiment of the present invention additionally provides the acquisition device of a B7. system data, comprising:
Screen capture module, is suitable for, when application program needs to use appointing system data in operational process, performing the shot operation to the page comprising described appointing system data;
Picture acquisition module, is suitable for obtaining the picture obtained by described shot operation;
Data identification module, is suitable for identifying the Word message in described picture, and screening obtains described appointing system data in described Word message;
Wherein, described application program does not possess the acquisition authority of described appointing system data.
B8. the device according to B7, wherein, described screen capture module, comprising:
Tip element, is suitable for when application program needs appointing system data in operational process, and prompting user carries out sectional drawing to the page comprising described appointing system data;
Page jump unit, is suitable for, after the confirmation instruction receiving user, jumping to the described page;
Sectional drawing unit, is suitable for receiving the sectional drawing instruction that described user sends, and performs the shot operation to the described page.
B9. the device according to B8, wherein, described picture acquisition module is applicable to obtain the picture obtained by described shot operation in the following manner:
The picture that described shot operation produces is read under specified path;
Wherein, the picture that produces for depositing shot operation of described specified path.
B10. the device according to B7, wherein, described data identification module, comprising:
Word message recognition unit, is suitable for the Word message obtained by the identification of Word message recognizer in described picture;
Data screening unit, is suitable for screening in the Word message obtained in described identification according to regular expression algorithm and obtains described appointing system data.
B11. the device according to any one of B7 to B10, wherein, described appointing system data comprise following one of arbitrarily:
Hotspot list, message registration, contacts list, note, set up applications list.
B12. the device according to B11, wherein, described device also comprises:
Data transmission blocks, is suitable for, when described appointing system data are described hotspot list, described hotspot list being sent to server;
Data reception module, is suitable for receiving attachable hotspot name, password that described server obtains according to described hotspot list identification;
Network connecting module, is suitable for described connection of mobile terminal into network according to described attachable hotspot name, password.
The embodiment of the present invention additionally provides C13. mobile terminal, and it is characterized in that, described mobile terminal comprises:
Storer;
One or more processor;
Wherein, described one or more processor is configured to perform following method:
When application program needs to use appointing system data in operational process, perform the shot operation to the page comprising described appointing system data;
Obtain the picture obtained by described shot operation;
Identify the Word message in described picture, and screening obtains described appointing system data in described Word message;
Wherein, described application program does not possess the acquisition authority of described appointing system data.

Claims (10)

1. an acquisition methods for system data, comprising:
When application program needs to use appointing system data in operational process, perform the shot operation to the page comprising described appointing system data;
Obtain the picture obtained by described shot operation;
Identify the Word message in described picture, and screening obtains described appointing system data in described Word message;
Wherein, described application program does not possess the acquisition authority of described appointing system data.
2. method according to claim 1, wherein, described execution, to the shot operation of the page comprising described appointing system data, comprising:
Prompting user carries out sectional drawing to the page comprising described appointing system data;
After the confirmation instruction receiving user, jump to the described page;
Receive the sectional drawing instruction that described user sends, and perform the shot operation to the described page.
3. method according to claim 2, wherein, is obtained the picture obtained by described shot operation, comprising:
The picture that described shot operation produces is read under specified path;
Wherein, the picture that produces for depositing shot operation of described specified path.
4. method according to claim 1, wherein, the Word message in the described picture of described identification, and in described Word message, screening obtains described appointing system data, comprising:
The Word message in described picture is obtained by the identification of Word message recognizer;
In the Word message obtained in described identification according to regular expression algorithm, screening obtains described appointing system data.
5. the method according to any one of Claims 1-4, wherein, described appointing system data comprise following one of arbitrarily:
Hotspot list, message registration, contacts list, note, set up applications list.
6. method according to claim 5, wherein, when described appointing system data are described hotspot list, after described screening obtains described appointing system data, described method also comprises:
Described hotspot list is sent to server;
Receive attachable hotspot name, password that described server obtains according to described hotspot list identification;
According to described attachable hotspot name, password by described connection of mobile terminal into network.
7. an acquisition device for system data, comprising:
Screen capture module, is suitable for, when application program needs to use appointing system data in operational process, performing the shot operation to the page comprising described appointing system data;
Picture acquisition module, is suitable for obtaining the picture obtained by described shot operation;
Data identification module, is suitable for identifying the Word message in described picture, and screening obtains described appointing system data in described Word message;
Wherein, described application program does not possess the acquisition authority of described appointing system data.
8. device according to claim 7, wherein, described screen capture module, comprising:
Tip element, is suitable for when application program needs appointing system data in operational process, and prompting user carries out sectional drawing to the page comprising described appointing system data;
Page jump unit, is suitable for, after the confirmation instruction receiving user, jumping to the described page;
Sectional drawing unit, is suitable for receiving the sectional drawing instruction that described user sends, and performs the shot operation to the described page.
9. device according to claim 8, wherein, described picture acquisition module is applicable to obtain the picture obtained by described shot operation in the following manner:
The picture that described shot operation produces is read under specified path;
Wherein, the picture that produces for depositing shot operation of described specified path.
10. device according to claim 7, wherein, described data identification module, comprising:
Word message recognition unit, is suitable for the Word message obtained by the identification of Word message recognizer in described picture;
Data screening unit, is suitable for screening in the Word message obtained in described identification according to regular expression algorithm and obtains described appointing system data.
CN201510188784.XA 2015-04-20 2015-04-20 A kind of acquisition methods of system data, device and mobile terminal Active CN104834855B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510188784.XA CN104834855B (en) 2015-04-20 2015-04-20 A kind of acquisition methods of system data, device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510188784.XA CN104834855B (en) 2015-04-20 2015-04-20 A kind of acquisition methods of system data, device and mobile terminal

Publications (2)

Publication Number Publication Date
CN104834855A true CN104834855A (en) 2015-08-12
CN104834855B CN104834855B (en) 2017-04-05

Family

ID=53812737

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510188784.XA Active CN104834855B (en) 2015-04-20 2015-04-20 A kind of acquisition methods of system data, device and mobile terminal

Country Status (1)

Country Link
CN (1) CN104834855B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105224611A (en) * 2015-09-08 2016-01-06 安一恒通(北京)科技有限公司 Based on the operation processing method of browser, device and browser
CN105809162A (en) * 2016-03-10 2016-07-27 腾讯科技(深圳)有限公司 Method and device for acquiring WIFI hot pot and picture associated information
CN105809163A (en) * 2016-03-10 2016-07-27 腾讯科技(深圳)有限公司 Method and device for connecting to WIFI
CN105893498A (en) * 2016-03-30 2016-08-24 努比亚技术有限公司 Method and device for achieving screen capture and method and device for searching for images
CN106339220A (en) * 2016-08-22 2017-01-18 北京小米移动软件有限公司 Taxi-taking information display method and device
CN106559814A (en) * 2015-09-28 2017-04-05 腾讯科技(深圳)有限公司 The method and apparatus of connection WAP
CN106920429A (en) * 2015-12-24 2017-07-04 ***通信集团公司 A kind of information processing method and device
CN107092409A (en) * 2016-02-17 2017-08-25 上海连尚网络科技有限公司 Method and apparatus for obtaining WAP information
CN107465813A (en) * 2017-07-14 2017-12-12 上海青橙实业有限公司 Information-reading method, mobile terminal and onboard system
US10341939B2 (en) 2015-07-08 2019-07-02 Tencent Technology (Shenzhen) Company Limiuted Method for identifying wireless AP, server, system, and computer storage medium
CN110347319A (en) * 2019-06-28 2019-10-18 浙江口碑网络技术有限公司 It is a kind of to apply interior screenshot method and device
CN110569835A (en) * 2018-06-06 2019-12-13 北京搜狗科技发展有限公司 Image identification method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101807192A (en) * 2009-12-31 2010-08-18 优视科技有限公司 Webpage optical character recognition processing method used for mobile communication equipment terminal
CN102930263A (en) * 2012-09-27 2013-02-13 百度国际科技(深圳)有限公司 Information processing method and device
CN104283921A (en) * 2013-07-08 2015-01-14 腾讯科技(深圳)有限公司 Method and device for releasing microblog

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101807192A (en) * 2009-12-31 2010-08-18 优视科技有限公司 Webpage optical character recognition processing method used for mobile communication equipment terminal
CN102930263A (en) * 2012-09-27 2013-02-13 百度国际科技(深圳)有限公司 Information processing method and device
CN104283921A (en) * 2013-07-08 2015-01-14 腾讯科技(深圳)有限公司 Method and device for releasing microblog

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10341939B2 (en) 2015-07-08 2019-07-02 Tencent Technology (Shenzhen) Company Limiuted Method for identifying wireless AP, server, system, and computer storage medium
CN105224611A (en) * 2015-09-08 2016-01-06 安一恒通(北京)科技有限公司 Based on the operation processing method of browser, device and browser
CN106559814B (en) * 2015-09-28 2020-02-18 腾讯科技(深圳)有限公司 Method and device for connecting wireless access point
CN106559814A (en) * 2015-09-28 2017-04-05 腾讯科技(深圳)有限公司 The method and apparatus of connection WAP
WO2017054483A1 (en) * 2015-09-28 2017-04-06 腾讯科技(深圳)有限公司 Method for connecting to wireless access point, terminal, server, and non-volatile computer-readable storage medium
CN106920429B (en) * 2015-12-24 2020-06-26 ***通信集团公司 Information processing method and device
CN106920429A (en) * 2015-12-24 2017-07-04 ***通信集团公司 A kind of information processing method and device
CN107092409A (en) * 2016-02-17 2017-08-25 上海连尚网络科技有限公司 Method and apparatus for obtaining WAP information
CN105809162B (en) * 2016-03-10 2021-05-07 腾讯科技(深圳)有限公司 Method and device for acquiring WIFI hotspot and picture associated information
CN105809163A (en) * 2016-03-10 2016-07-27 腾讯科技(深圳)有限公司 Method and device for connecting to WIFI
CN105809162A (en) * 2016-03-10 2016-07-27 腾讯科技(深圳)有限公司 Method and device for acquiring WIFI hot pot and picture associated information
CN105893498A (en) * 2016-03-30 2016-08-24 努比亚技术有限公司 Method and device for achieving screen capture and method and device for searching for images
CN105893498B (en) * 2016-03-30 2019-05-21 努比亚技术有限公司 A kind of method and apparatus that realizing screenshotss, the method and apparatus for searching picture
CN106339220A (en) * 2016-08-22 2017-01-18 北京小米移动软件有限公司 Taxi-taking information display method and device
CN107465813A (en) * 2017-07-14 2017-12-12 上海青橙实业有限公司 Information-reading method, mobile terminal and onboard system
CN110569835A (en) * 2018-06-06 2019-12-13 北京搜狗科技发展有限公司 Image identification method and device and electronic equipment
CN110569835B (en) * 2018-06-06 2024-03-05 北京搜狗科技发展有限公司 Image recognition method and device and electronic equipment
CN110347319A (en) * 2019-06-28 2019-10-18 浙江口碑网络技术有限公司 It is a kind of to apply interior screenshot method and device

Also Published As

Publication number Publication date
CN104834855B (en) 2017-04-05

Similar Documents

Publication Publication Date Title
CN104834855A (en) System data acquiring method and apparatus, and mobile terminal
CN104270521A (en) Method for processing incoming call number and mobile terminal
CN102298533A (en) Method for activating application program and terminal equipment
CN103347137A (en) Method and device for processing user service handling data
CN105183513A (en) Application recommendation method and apparatus
CN103139761B (en) The method and communication terminal of a kind of information real-time show
CN114095405B (en) Vehicle function unit testing method and device, electronic equipment and storage medium
CN110532107B (en) Interface calling method, device, computer equipment and storage medium
CN102833411A (en) Method and system for processing information on basis of dual-tone multifrequency and receiving terminal
WO2014179190A1 (en) Phone number format suggestion
CN110175546B (en) Image processing method and device, electronic equipment and storage medium
CN113364853A (en) Business service system, business request method and gateway equipment
CN104243661A (en) Method, server and mobile terminal for determining types of incoming call numbers
CN105515887B (en) application testing method, server and system
CN105187632A (en) Method and device for determining mobile phone number
CN103678706A (en) Picture recognition method, system, equipment and device based on screenshot information
CN103685254A (en) Common account information safety detecting method and server
CN113282590A (en) Interface joint debugging method and device based on 5G message
CN110348226A (en) A kind of scan method of project file, device, electronic equipment and storage medium
CN105721681A (en) Method and device of replacing ring tone of mobile device
CN105933339B (en) A kind of application login method and mobile terminal
US11722548B2 (en) Smart link generation
CN109656659B (en) Behavior event processing method and device, electronic equipment and readable storage medium
CN106470258B (en) Method and device for automatically dialing or sending short message
CN106534238B (en) Method and device for providing offline application service for user

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220725

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right