CN107092904A - A kind of method and device for obtaining resource - Google Patents

A kind of method and device for obtaining resource Download PDF

Info

Publication number
CN107092904A
CN107092904A CN201610324232.1A CN201610324232A CN107092904A CN 107092904 A CN107092904 A CN 107092904A CN 201610324232 A CN201610324232 A CN 201610324232A CN 107092904 A CN107092904 A CN 107092904A
Authority
CN
China
Prior art keywords
information
character
application
object picture
resource
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
CN201610324232.1A
Other languages
Chinese (zh)
Other versions
CN107092904B (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201610324232.1A priority Critical patent/CN107092904B/en
Publication of CN107092904A publication Critical patent/CN107092904A/en
Application granted granted Critical
Publication of CN107092904B publication Critical patent/CN107092904B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/22Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
    • G06V10/235Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition based on user input or interaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/36Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
    • G06Q20/367Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Character Discrimination (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a kind of method and apparatus for obtaining resource;Method includes:When detecting the first predetermined registration operation, the object picture shown to the terminal carries out character recognition, and the object picture is to carry the first information for obtaining resource in being applied first in the object picture using generation, the object picture by first;According to character identification result, the first information for obtaining resource in being applied described first is obtained;The first information is transferred to first application, to obtain resource in being applied described first.The application can realize the quick obtaining to resource.

Description

A kind of method and device for obtaining resource
Technical field
The present invention relates to data processing field, more particularly to a kind of method and device for obtaining resource.
Background technology
At present in having some to apply, user can send corresponding content to should answer according to the requirement of application Use corresponding server;After the content that server is sent to user is verified, corresponding money can be provided Source is to user.Such as in the application with password red packet function, after user inputs correct password, Server will provide the cash of matching amount to the account of the user.For another example in answering with Dropbox function In, after user inputs correct extraction code, server will give the user and obtain corresponding document or number According to authority.
In current solution, when the content (information such as password or extraction code) for obtaining respective resources It is that when being sent to user with picture format, user needs to remember the content in picture, then switches to corresponding Application in remembered content is inputted by typewriting, voice or the manual mode such as hand-written again, so acquisition The mode of resource is comparatively laborious;If content is more, it is possible that user needs instead in input process The problem of the problem of check sees multiple or user misremember, reduces the efficiency and reliability of operation;If interior Appearance is insignificant random character sequence, is not only difficult to remember, and the mode of phonetic entry will be difficult to protect The correct each character of card identification, in addition it is also necessary to which user modifies, and adds fussy degree.
The content of the invention
The application provides a kind of method and apparatus for obtaining resource, can realize the quick obtaining to resource.
The application is adopted the following technical scheme that.
A kind of method for obtaining resource, applied to terminal, methods described includes:
When detecting the first predetermined registration operation, the object picture shown to the terminal carries out character recognition, The object picture is to carry to be used in the object picture using generation, the object picture by first The first information of resource is obtained in being applied first;
According to character identification result, the first information for obtaining resource in being applied described first is obtained;
The first information is transferred to first application, to obtain resource in being applied described first.
Alternatively, the object picture shown to terminal carries out character recognition, including:
In the object picture that the terminal is shown, the character figure to be identified for meeting default specification is filtered out Picture, carries out character recognition to the character picture to be identified, obtains character identification result;
Or, the object picture shown to the terminal carries out character recognition, obtains in the object picture Character, the character for meeting default specification is filtered out in the character identified, character identification result is obtained.
Alternatively, it is described according to character identification result, obtain being used for obtaining resource in applying described first The first information, including:
Using the multiple options of character framing in the character identification result, user is pointed out in the multiple choosing Selected in, to confirm the character being used in the first information;
The option selected according to user, obtains the first information for obtaining resource in being applied described first.
Alternatively, it is described that the first information is transferred to first application, including:
The first information is stored in default caching;
When detecting the second predetermined registration operation in the input frame of the predetermined interface of the described first application, from The first information is extracted in the default caching, the first information extracted is input to described In input frame;
When detecting three predetermined registration operations, the first information is sent to first application corresponding Server, to obtain resource in being applied described first.
Alternatively, it is described that the first information is transferred to first application, including:
The first information is passed into first application, and indicates first application by described first Information is sent to described first and applies corresponding server.
A kind of device for obtaining resource, is arranged at terminal, including:
Identification module, for when detecting the first predetermined registration operation, the object picture shown to the terminal Character recognition is carried out, the object picture is the object picture by the first application generation, the picture pair The first information for obtaining resource in being applied first is carried as in;
Acquisition module, money is obtained for according to character identification result, obtaining being used in being applied described first The first information in source;
Transport module, for the first information to be transferred into first application, to be answered described first With middle acquisition resource.
Alternatively, the object picture that the identification module is shown to terminal carries out character recognition, including:
The identification module filters out in the object picture that the terminal is shown and meets treating for default specification The character picture of identification, carries out character recognition to the character graphics to be identified, obtains character recognition knot Really;Or, the object picture shown to the terminal carries out character recognition, obtains in the object picture Character, the character for meeting default specification is filtered out in the character identified, character identification result is obtained.
Alternatively, the acquisition module obtains being used in described first applies according to character identification result The first information of resource is obtained, including:
The acquisition module utilizes the multiple options of character framing in the character identification result, points out user Selected in the multiple option, to confirm the character being used in the first information;
The option selected according to user, obtains the first information for obtaining resource in being applied described first.
Alternatively, the first information is transferred to first application by the transport module, including:
The first information is stored in default caching by the transport module;When detecting described One application predetermined interface input frame in the second predetermined registration operation when, from the default caching extract The first information, the first information extracted is input in the input frame;When detecting During three predetermined registration operations, the first information is sent to described first and applies corresponding server, with institute State in the first application and obtain resource.
Alternatively, the first information is transferred to first application by the transport module, including:
The first information is passed to first application by the transport module, and indicates that described first should Corresponding server is applied with the first information is sent into described first.
The application includes advantages below:
At least one embodiment of the application can realize the acquisition process to resource automatically, without user to obtaining Content required for taking resource is remembered and is manually entered, and enormously simplify process resource access, improves The efficiency of resource is obtained, and reliability is high.
The alternative of the application screens corresponding character by default specification, can so control The scope for the character that can be identified to, only replicates the content obtained required for resource.
The character that another alternative of the application will identify that enumerates into multiple options for user selections, So as to precisely obtain the content required for acquisition resource.
Another alternative of the application first caches the content for being used to obtain resource identified, works as detection It is transmitted again to predetermined registration operation, so user can be easy to for obtaining by user's control transmission process The content of resource is taken to be checked and confirmed.
Another alternative of the application is sent directly to service after the content for obtaining resource is identified Device, making the whole process of acquisition resource can just be completed by a predetermined registration operation, more fast.
Certainly, implementing any product of the application must be not necessarily required to while reaching all the above excellent Point.
Brief description of the drawings
Fig. 1 is the flow chart of the method for the acquisition resource of embodiment one;
Fig. 2 is the schematic diagram of the mobile phone display picture in the example of embodiment one;
Fig. 3 be embodiment one example in obtain resource schematic flow sheet;
Fig. 4 is the schematic diagram of the device of the acquisition resource of embodiment two.
Embodiment
The technical scheme of the application is described in detail below in conjunction with drawings and Examples.
It should be noted that each feature in the embodiment of the present application and embodiment can be combined with each other, Within the protection domain of the application.In addition, though showing logical order in flow charts, still In some cases, can be with the step shown or described by being performed different from order herein.
In a typical configuration, the computing device of client or Verification System may include one or more Processor (CPU), input/output interface, network interface and internal memory (memory).
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory And/or the form, such as read-only storage (ROM) or flash memory (flash such as Nonvolatile memory (RAM) RAM).Internal memory is the example of computer-readable medium.Internal memory potentially includes module 1, module 2 ... ..., Module N (N is the integer more than 2).
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by Any method or technique come realize information store.Information can be computer-readable instruction, data structure, The module of program or other data.The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), its Random access memory (RAM), read-only storage (ROM), the electrically erasable of his type Read memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM), digital versatile disc (DVD) or other optical storages, magnetic cassette tape, tape magnetic Disk storage or other magnetic storage apparatus or any other non-transmission medium, can be counted available for storage Calculate the information that equipment is accessed.Defined according to herein, computer-readable medium does not include non-temporary computer The data-signal and carrier wave of readable media (transitory media), such as modulation.
Embodiment one, a kind of method for obtaining resource, applied to terminal, as shown in figure 1, methods described Including step S110~S130:
S110, when detecting the first predetermined registration operation, line character is entered to the object picture that the terminal is shown Identification, the object picture is carrying in the object picture by the first application generation, the object picture There is the first information for obtaining resource in being applied first;
S120, according to character identification result, obtain for obtaining the first of resource in being applied described first Information;
S130, by the first information be transferred to it is described first application, with described first apply in obtain Resource.
In the present embodiment, it is possible to achieve the automatic acquisition to resource, without user to required for acquisition resource Content carry out memory and be word for word manually entered, enormously simplify process resource access, improve acquisition money The efficiency in source, and reliability is high.
In the present embodiment, the object picture that can recognize that the first information can be by described One application is directly generated or first applies what is generated by corresponding server;User can be directly described The object picture is obtained in first application, the object picture can also be obtained by other application.Such as use Family X first application it is inner generation password red packet so that obtain include for get red packet password (i.e. The first information) picture;If the picture is dealt into social platform by a user, or by i.e. When communication applications be sent to other users or be sent in chat group, then other users can be flat by social activity Platform is applied or instant messaging application obtains the picture for including password.
In the present embodiment, the first application or the first corresponding server of application can by the first information and The information for being used to obtain resource that is preset or generating and preserve before is compared, will money if matching Source is issued to the user account to the first information described in first application transport.
In the related art, even if user wants to recognize in picture by way of calling third party software Character, implementation process is also very cumbersome, and user needs display picture first to including the first information Carry out sectional drawing or preserve operation, the picture for then obtaining or preserving to sectional drawing calls corresponding third party software It is identified;Also needed to after identification the content long-press to identifying and select replicate, then be switched to first should Sent after long-press is pasted in respective interface, could complete to obtain the process of resource.By contrast, The implementation process of the present embodiment is very simple, non-for the user of intelligent terminal especially for being not enough familiar with Often it is easily mastered, and treatment effeciency is high, it is adaptable to need the occasion of quick obtaining resource.Can with but not It is limited to by the way of software to realize above-mentioned steps, the software can be the application in terminal, Or it is integrated into the program in terminal operating system.Preferably, for android terminal, Java can be used The method that language realizes the present embodiment;For IOS terminals, the present embodiment can be realized using object C Method.
In the present embodiment, the object picture can be the object picture opened in being applied second, also may be used It is full frame aobvious on the object picture being stored in terminal during being in open mode, i.e., described terminal screen The picture shown.The object picture can include the picture for showing or playing at present on terminal screen, can be with But it is not limited to include the picture/photo of full frame displaying, the page, interface, present frame of image etc..To institute When stating object picture progress character recognition, identification refers to carry out the character picture occurred in the object picture Identification, obtains the character of text formatting.Such as held when user checks the picture comprising the first information First predetermined registration operation is gone, then the object picture is exactly the picture for including the first information.Again First predetermined registration operation such as is performed when user watches video, then the object picture is exactly to detect That frame played on to screen during first predetermined registration operation.User is applied using some for another example When, perform first predetermined registration operation, the picture in some operation interface of the screen shows applications Object is exactly the operation interface.
In the present embodiment, the character includes one or more of:Chinese character, foreign word, numeral, word Mother, punctuation mark, emoticon, other characters etc..In actual applications, can also be by according to reality Need to set and which character is identified, such as the first information of resource is obtained in being applied first is During Chinese character, it could be arranged to be drawn into after the feature of character in only identification Chinese character, character recognition process, will Only feature database corresponding with Chinese character is compared.
In a kind of alternative of the present embodiment, first predetermined registration operation can include it is any one of following or Appoint several:Predetermined key or key combination, operating gesture, phonetic order, the point to icon or menu item Hit.
In this alternative, first predetermined registration operation can be multiplexed the operation for triggering other response actions, Such as key combination " home keys+power key " can trigger screenshotss, if being multiplexed the key combination conduct First predetermined registration operation, then can complete to recognize and copy to Clipboard while screenshotss.
In this alternative, the button both can include physical button, can also include touch controlled key, Virtual key etc..
In this alternative, the operating gesture can be included in touch-screen or other touch sensible devices (ratio Such as carry the home keys of fingerprint identification function) on the action that carries out, such as user draws a circle on the touchscreen, Long-press etc., carries out pressing operation on the touch-screen with 3D pressure detectings for another example;It can also include Do not contacted with terminal, but the action that can be arrived by terminal monitoring, such as camera or infrared spy in terminal Survey in device monitoring range and do specific action;The action carried out in itself to terminal can also be included, such as rocked Terminal etc..
In this alternative, the icon or menu item can natively exist in screen, can also Recalled temporarily by modes such as pressing keys, long-press screens.
In this alternative, the particular content of the predetermined registration operation voluntarily can also be set and changed by user. In other alternatives, any other operation or operational group cooperation outside aforesaid operations can also be used For first predetermined registration operation.
In a kind of alternative of the present embodiment, the object picture shown to terminal carries out character recognition, It can include:
In the object picture that the terminal is shown, the character figure to be identified for meeting default specification is filtered out Picture, carries out character recognition to the character picture to be identified, obtains character identification result;
Or, the object picture shown to the terminal carries out character recognition, obtains in the object picture Character, the character for meeting default specification is filtered out in the character identified, character identification result is obtained.
In this alternative, by preset specification set can selectivity identification object picture in Character, realization only replicates target character.Default specification is the character format pre-set, for example character chi In terms of very little size, character color, character types (numeral, Chinese character, letter etc.), font, preset Specification can be some in character format in terms of specification or the specification that combines of many aspects.Than Such as when default specification is dimension threshold, meet default specification and refer to be more than or equal to the dimension threshold, then The small characters such as operator name, time, the amount of batteries of mobile phone screen the top will not be known as the character Other result.And if recognized using third party software, then a large amount of use may be included in the character identified Time, operator's informaiton above the unwanted content in family, such as screen etc.;User is also needed to delete manually Remove.
In this alternative, the default specification can be dimension threshold or can characterize size The pixel number threshold value of size;Such as set short transverse on pixel number M, if one or The height of a line character is less than M, then to this or this line character without identification, i.e., without follow-up spy Levy extraction, the processing of matching;For another example rule are preset in identification process in the case of advanced line character cutting Lattice can be X, and Y, X is the pixel number in short transverse, and Y is the pixel on width Number, it is just not right as long as the pixel number in a character either direction does not reach corresponding predetermined threshold value The character carries out subsequent characteristics extraction, the processing of matching.
The default specification can also be color, such as only recognize the character of certain color or gray scale, can be with Pass through the RGB to character position pixel in raw frames (object picture that i.e. described terminal is shown) Value is judged.
In other alternatives, it can not also be screened by default specification.
It is described according to character identification result in a kind of alternative of the present embodiment, obtain being used for described The first information of resource is obtained in first application, can be included:
Using the multiple options of character framing in the character identification result, user is pointed out in the multiple choosing Selected in, to confirm the character being used in the first information;
The option selected according to user, obtains the first information for obtaining resource in being applied described first.
In this alternative, such as when pointing out user's selection, it can will identify that and be converted to text lattice The character identification result branch of formula is shown to user, per a line as an option, is then selected by user Therein one arrives multirow;Position of the character in the object picture that terminal is shown is referred to during branch to carry out Divide, such as by non-conterminous field/sentence point in not going together.
In other alternatives, can also after first predetermined registration operation is detected, allow user selection pair Which or which region (size of the upper left corner 1/4 of such as picture in the object picture that terminal is shown Region) carry out character recognition.The picture pair that different predetermined registration operation and terminal can also be shown in advance As middle different region is corresponded to, the picture pair shown to terminal is triggered according to the predetermined registration operation detected As middle respective regions carry out character recognition.
It is described that the first information is transferred to first application, bag in a kind of alternative of the present embodiment Include:
The first information is stored in default caching;
When detecting the second predetermined registration operation in the input frame of the predetermined interface of the described first application, from The first information is extracted in the default caching, the first information extracted is input to described In input frame;
When detecting three predetermined registration operations, the first information is sent to first application corresponding Server, to obtain resource in being applied described first.
In this alternative, second predetermined registration operation, the 3rd predetermined registration operation realize that details refers to One predetermined registration operation realizes details;First, second, third predetermined registration operation such as can be with different from each other Different key combinations, is different operating gestures for another example, has plenty of key combination for another example, have It is operating gesture.Furthermore it is also possible to which user is switched into the first application or opens predetermined in the first application Interface is used as second predetermined registration operation;It regard carriage return as the 3rd predetermined registration operation.
In another alternative solution of this alternative, when may also detect that the second predetermined registration operation, judge The page that terminal is shown is the predetermined interface of the first application, if not then being first switched to first Using and open the predetermined interface, then extract the first information be shown in input frame.Detecting During three predetermined registration operations, no matter what the page that terminal is shown is, can be carried out transmission, can also first cut The predetermined interface of the first application is changed to, then is transmitted.
In this alternative, the default caching can be, but not limited to as clipbook;Extract the first information And the process shown can regard a paste operation as.
In other alternatives or when detecting the second predetermined registration operation, it is currently located in cursor The first information described in position display.In addition, second, third predetermined registration operation can unite two into one, that is, obtaining To after the first information, as long as a predetermined registration operation is detected, with regard to being extracted, being shown and sent;Or After the first information is obtained, as long as detecting a predetermined registration operation, just directly transmit, omit and extract and aobvious The process shown.
It is described that the first information is transferred to first application, bag in a kind of alternative of the present embodiment Include:
The first information is passed into first application, and indicates first application by described first Information is sent to described first and applies corresponding server.
In this alternative, no matter first application be currently in foreground or running background, can be by institute State the first information and pass to first application, corresponding server is sent to by the first application.If the One application is not actuated, is transmitted after can also starting the first application;If the terminal does not allow first Using self-starting, then user can be pointed out voluntarily to start.In the case where the first application is running background, The first application can be switched to during transmission, the content and process of transmission are learned for user.
In other alternatives, before transmission user can also be pointed out to confirm, or led to after transport Know.
It is described that the first information is transferred to before first application in a kind of alternative of the present embodiment, It can also include:
The first information is included in pop-up window, and points out to choose whether transmission;
When receive represent selection transmission operation after, carry out it is described by the first information be transferred to described first should The step of using.
This alternative can prevent user misoperation from triggering character transmission.In other alternatives, also may be used Without prompting, to be transmitted directly to the first application;Or not by the first information include in pop-up window, Only ask the user whether transmission.
In a kind of alternative of the present embodiment, the object picture shown to terminal carries out character recognition, It can include:
The object picture that the terminal is shown saves as digital picture, using OCR (Optical Character Recognition, optical character identification) mode is scanned to the digital picture, recognizes The character gone out in the digital picture.
Can call to realize OCR work(when recognizing character using OCR modes in this alternate ways Can code or call other OCR to apply.
In this alternative, the digital picture is preferably tif or tiff forms;Can also for pdf, bmp, The forms such as jpg, the form that can be supported according to OCR sets preservation form.It can be deleted automatically after identification Except the picture preserved., can also be without preserving in other alternatives, Direct Recognition;In addition may be used To be identified using the character recognition mode beyond OCR.
Illustrate above-described embodiment with an example below.In the example, as denoted by the arrows in fig. 2, institute State the first predetermined registration operation be mobile phone home keys plus screen on the left of first key, when user simultaneously press this two During individual key, the acquisition to the first information will be aroused, i.e.,:Character in the object picture that identification terminal is shown. In this example, object picture is the picture of the full screen display in terminal, in this example, it is assumed that the terminal is in inspection When measuring the first predetermined registration operation, it is displayed in full screen comprising the picture for the password for getting red packet is used for, such as schemes Shown in 2;Pop-up window after the first information is obtained, prompts the user to choose whether to transmit the first information, user Selection " it is determined that " after the obtained first information is sent to the first application;Assuming that default specification is for mistake The less character of size is filtered, then the first information obtained only has " U.S. green this year in picture shown in Fig. 2 Make a good deal of money ", without including " open Alipay-red packet ", input lower section password robs red packet ", " title Column ", " return ", " 6:00PM " and " 100% ".
In this example, it is the second application in mobile phone, the second application to realize the software of the above method Can be same application with first application, implementation process as shown in figure 3, including step 301~306.
301st, it is described second application according to user's operation setting the first predetermined registration operation, character recognition it is pre- If specification etc.;It is of course also possible to directly using the default setting prestored;The second application can after setting terminates First to close or dormancy;
302nd, after the first predetermined registration operation is detected, arouse second application, judge that mobile phone screen is shown Object picture form;
The 303rd, the object picture shown on mobile phone screen is converted into the entitled .GIF of suffix picture, and is called OCR identifying systems are scanned to image content, recognize character;
304th, recognized by color and noise, judge character boundary (including the character boundary being directly obtained With pixel shared by character in picture), according to the default specification of character recognition, filter out less than certain size Character;
305th, the character content that will identify that is converted into text formatting as the first information, and arouses bullet Window shows the first information, prompts the user whether transmission;
306th, user is confirmed after transmission, and the first information is transferred into the first application.The specific mistake of step 306 Journey can be realized using above-mentioned any alternative;Second, third predetermined registration operation is detected if used Mode, then can also operate according to user in step 301, set second predetermined registration operation and the 3rd Predetermined registration operation.
The method for the acquisition resource that the embodiment of the present application is provided, it is possible to achieve the automatic acquisition to resource, nothing Need content of the user required for obtaining resource to carry out memory and be word for word manually entered, enormously simplify resource Acquisition process, improves the efficiency for obtaining resource, and reliability is high.
Embodiment two,
With embodiment one accordingly, the application also provide it is a kind of obtain resource device, be arranged at terminal, As shown in figure 4, including:
Identification module 21, for when detecting the first predetermined registration operation, the picture pair shown to the terminal As carrying out character recognition, the object picture is the object picture by the first application generation, the picture The first information for obtaining resource in being applied first is carried in object;
Acquisition module 22, is obtained for according to character identification result, obtaining being used in being applied described first The first information of resource;
Transport module 23, for the first information to be transferred into first application, with described first Resource is obtained in.
In the present embodiment, the identification module 21 is the part for being responsible for identification character in described device, can be with It is the combination of software, hardware or both.
In the present embodiment, the acquisition module 22 is the responsible part for obtaining the first information in described device, It can be the combination of software, hardware or both.
In the present embodiment, the transport module 23 is the responsible first information transmission that will be obtained in described device Can be the combination of software, hardware or both to the part of the first application.
In a kind of alternative of the present embodiment, the object picture that the identification module is shown to terminal is carried out Character recognition, can include:
The identification module filters out in the object picture that the terminal is shown and meets treating for default specification The character picture of identification, carries out character recognition to the character graphics to be identified, obtains character recognition knot Really;Or, the object picture shown to the terminal carries out character recognition, obtains in the object picture Character, the character for meeting default specification is filtered out in the character identified, character identification result is obtained.
In a kind of alternative of the present embodiment, the acquisition module is used according to character identification result The first information of resource is obtained in being applied described first, can be included:
The acquisition module utilizes the multiple options of character framing in the character identification result, points out user Selected in the multiple option, to confirm the character being used in the first information;
The option selected according to user, obtains the first information for obtaining resource in being applied described first.
In a kind of alternative of the present embodiment, the first information is transferred to described first by the transport module Using can include:
The first information is stored in default caching by the transport module;When detecting described One application predetermined interface input frame in the second predetermined registration operation when, from the default caching extract The first information, the first information extracted is input in the input frame;When detecting During three predetermined registration operations, the first information is sent to described first and applies corresponding server, with institute State in the first application and obtain resource.
In a kind of alternative of the present embodiment, the first information is transferred to described first by the transport module Using can include:
The first information is passed to first application by the transport module, and indicates that described first should Corresponding server is applied with the first information is sent into described first.
In a kind of alternative of the present embodiment, described device can also include:
Judge module, for the first information to be included in pop-up window, and points out to choose whether to pass It is defeated;After the operation for representing selection transmission is received, indicate that the transport module is carried out described by the first information It is transferred to the operation of first application.
In a kind of alternative of the present embodiment, first scheduled operation, the second scheduled operation, the 3rd Scheduled operation can include any one of following or appoint several:Predetermined key or key combination, operating gesture, Phonetic order, the click to icon or menu item.
In this alternative, first, second, third scheduled operation can be with mutually different.
In a kind of alternative of the present embodiment, the object picture that the identification module is shown to terminal is carried out Character recognition can include:
The object picture that the terminal is shown is saved as digital picture by the identification module, using optics word Symbol identification method is scanned to the digital picture, identifies the character in the digital picture.
It is other to realize that details refers to embodiment one.
One of ordinary skill in the art will appreciate that all or part of step in the above method can pass through program To instruct related hardware to complete, described program can be stored in computer-readable recording medium, such as read-only Memory, disk or CD etc..Alternatively, all or part of step of above-described embodiment can also be used One or more integrated circuits are realized.Correspondingly, each module/unit in above-described embodiment can be used The form of hardware is realized, it would however also be possible to employ the form of software function module is realized.The application is not restricted to appoint The combination of the hardware and software of what particular form.
Certainly, the application can also have other various embodiments, spiritual and its essence without departing substantially from the application In the case of, those skilled in the art work as can make various corresponding changes and deformation according to the application, But these corresponding changes and deformation should all belong to the protection domain of claims hereof.

Claims (10)

1. a kind of method for obtaining resource, applied to terminal, methods described includes:
When detecting the first predetermined registration operation, the object picture shown to the terminal carries out character recognition, The object picture is to carry to be used in the object picture using generation, the object picture by first The first information of resource is obtained in being applied first;
According to character identification result, the first information for obtaining resource in being applied described first is obtained;
The first information is transferred to first application, to obtain resource in being applied described first.
2. the method as described in claim 1, it is characterised in that the object picture shown to terminal Character recognition is carried out, including:
In the object picture that the terminal is shown, the character figure to be identified for meeting default specification is filtered out Picture, carries out character recognition to the character picture to be identified, obtains character identification result;
Or, the object picture shown to the terminal carries out character recognition, obtains in the object picture Character, the character for meeting default specification is filtered out in the character identified, character identification result is obtained.
3. the method as described in claim 1, it is characterised in that described according to character identification result, is obtained To the first information for obtaining resource in being applied described first, including:
Using the multiple options of character framing in the character identification result, user is pointed out in the multiple choosing Selected in, to confirm the character being used in the first information;
The option selected according to user, obtains the first information for obtaining resource in being applied described first.
4. the method as described in claim 1, it is characterised in that it is described the first information is transferred to it is described First application, including:
The first information is stored in default caching;
When detecting the second predetermined registration operation in the input frame of the predetermined interface of the described first application, from The first information is extracted in the default caching, the first information extracted is input to described In input frame;
When detecting three predetermined registration operations, the first information is sent to first application corresponding Server, to obtain resource in being applied described first.
5. the method as described in claim 1, it is characterised in that it is described the first information is transferred to it is described First application, including:
The first information is passed into first application, and indicates first application by described first Information is sent to described first and applies corresponding server.
6. a kind of device for obtaining resource, is arranged at terminal, it is characterised in that including:
Identification module, for when detecting the first predetermined registration operation, the object picture shown to the terminal Character recognition is carried out, the object picture is the object picture by the first application generation, the picture pair The first information for obtaining resource in being applied first is carried as in;
Acquisition module, money is obtained for according to character identification result, obtaining being used in being applied described first The first information in source;
Transport module, for the first information to be transferred into first application, to be answered described first With middle acquisition resource.
7. device as claimed in claim 6, it is characterised in that what the identification module was shown to terminal Object picture carries out character recognition, including:
The identification module filters out in the object picture that the terminal is shown and meets treating for default specification The character picture of identification, carries out character recognition to the character graphics to be identified, obtains character recognition knot Really;Or, the object picture shown to the terminal carries out character recognition, obtains in the object picture Character, the character for meeting default specification is filtered out in the character identified, character identification result is obtained.
8. device as claimed in claim 6, it is characterised in that the acquisition module is according to character recognition As a result, the first information for obtaining resource in being applied described first is obtained, including:
The acquisition module utilizes the multiple options of character framing in the character identification result, points out user Selected in the multiple option, to confirm the character being used in the first information;
The option selected according to user, obtains the first information for obtaining resource in being applied described first.
9. device as claimed in claim 6, it is characterised in that the transport module passes the first information First application is defeated by, including:
The first information is stored in default caching by the transport module;When detecting described One application predetermined interface input frame in the second predetermined registration operation when, from the default caching extract The first information, the first information extracted is input in the input frame;When detecting During three predetermined registration operations, the first information is sent to described first and applies corresponding server, with institute State in the first application and obtain resource.
10. device as claimed in claim 6, it is characterised in that the transport module is by the first information First application is transferred to, including:
The first information is passed to first application by the transport module, and indicates that described first should Corresponding server is applied with the first information is sent into described first.
CN201610324232.1A 2016-05-16 2016-05-16 Method and device for acquiring resources Active CN107092904B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610324232.1A CN107092904B (en) 2016-05-16 2016-05-16 Method and device for acquiring resources

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610324232.1A CN107092904B (en) 2016-05-16 2016-05-16 Method and device for acquiring resources

Publications (2)

Publication Number Publication Date
CN107092904A true CN107092904A (en) 2017-08-25
CN107092904B CN107092904B (en) 2020-12-01

Family

ID=59649126

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610324232.1A Active CN107092904B (en) 2016-05-16 2016-05-16 Method and device for acquiring resources

Country Status (1)

Country Link
CN (1) CN107092904B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108108093A (en) * 2017-12-06 2018-06-01 珠海市魅族科技有限公司 A kind of data inputting method, device, terminal and readable storage device
CN109445894A (en) * 2018-10-26 2019-03-08 维沃移动通信有限公司 A kind of screenshot method and electronic equipment
CN110866796A (en) * 2018-08-28 2020-03-06 阿里巴巴集团控股有限公司 Information display method, information acquisition method, system and equipment
CN113965541A (en) * 2018-12-25 2022-01-21 创新先进技术有限公司 Conversation expression processing method and device
CN114866547A (en) * 2022-04-20 2022-08-05 中国银联股份有限公司 Virtual resource allocation method, device, equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002252691A (en) * 2001-02-26 2002-09-06 Seiko Epson Corp Portable phone terminal with ocr(optical character recognition) function
US20080086700A1 (en) * 2006-10-06 2008-04-10 Rodriguez Robert A Systems and Methods for Isolating On-Screen Textual Data
CN103713807A (en) * 2014-01-13 2014-04-09 联想(北京)有限公司 Method and device for processing information
CN104021174A (en) * 2014-05-30 2014-09-03 北京合辉信息技术有限公司 Method, system and application for obtaining complete resources according to image segments
CN104680129A (en) * 2015-01-08 2015-06-03 百度在线网络技术(北京)有限公司 Method and device for providing information for user
CN104901937A (en) * 2014-10-17 2015-09-09 腾讯科技(深圳)有限公司 Data processing method and system thereof, terminal, server
CN104933345A (en) * 2015-06-09 2015-09-23 苏州德锐朗智能科技有限公司 Verification code automatic input system based on images
CN105046140A (en) * 2015-06-09 2015-11-11 苏州德锐朗智能科技有限公司 Automatic input method for character verification code
CN105138229A (en) * 2015-09-29 2015-12-09 联想(北京)有限公司 Information processing method and electronic equipment
CN105391622A (en) * 2015-12-07 2016-03-09 腾讯科技(深圳)有限公司 Method and system for sharing resources in instant messaging or social networking application

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002252691A (en) * 2001-02-26 2002-09-06 Seiko Epson Corp Portable phone terminal with ocr(optical character recognition) function
US20080086700A1 (en) * 2006-10-06 2008-04-10 Rodriguez Robert A Systems and Methods for Isolating On-Screen Textual Data
CN103713807A (en) * 2014-01-13 2014-04-09 联想(北京)有限公司 Method and device for processing information
CN104021174A (en) * 2014-05-30 2014-09-03 北京合辉信息技术有限公司 Method, system and application for obtaining complete resources according to image segments
CN104901937A (en) * 2014-10-17 2015-09-09 腾讯科技(深圳)有限公司 Data processing method and system thereof, terminal, server
CN104680129A (en) * 2015-01-08 2015-06-03 百度在线网络技术(北京)有限公司 Method and device for providing information for user
CN104933345A (en) * 2015-06-09 2015-09-23 苏州德锐朗智能科技有限公司 Verification code automatic input system based on images
CN105046140A (en) * 2015-06-09 2015-11-11 苏州德锐朗智能科技有限公司 Automatic input method for character verification code
CN105138229A (en) * 2015-09-29 2015-12-09 联想(北京)有限公司 Information processing method and electronic equipment
CN105391622A (en) * 2015-12-07 2016-03-09 腾讯科技(深圳)有限公司 Method and system for sharing resources in instant messaging or social networking application

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
LIENHART R ET AL: "Automatic text segmentation and text recognition for video indexing", 《MULTIMEDIA SYSTEMS》 *
陈庆民: "图像文本提取系统设计及应用研究", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108108093A (en) * 2017-12-06 2018-06-01 珠海市魅族科技有限公司 A kind of data inputting method, device, terminal and readable storage device
CN110866796A (en) * 2018-08-28 2020-03-06 阿里巴巴集团控股有限公司 Information display method, information acquisition method, system and equipment
CN109445894A (en) * 2018-10-26 2019-03-08 维沃移动通信有限公司 A kind of screenshot method and electronic equipment
CN113965541A (en) * 2018-12-25 2022-01-21 创新先进技术有限公司 Conversation expression processing method and device
CN113965541B (en) * 2018-12-25 2023-06-02 创新先进技术有限公司 Conversation expression processing method and device
CN114866547A (en) * 2022-04-20 2022-08-05 中国银联股份有限公司 Virtual resource allocation method, device, equipment and storage medium
CN114866547B (en) * 2022-04-20 2023-09-29 中国银联股份有限公司 Virtual resource allocation method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN107092904B (en) 2020-12-01

Similar Documents

Publication Publication Date Title
CN107092904A (en) A kind of method and device for obtaining resource
US9652704B2 (en) Method of providing content transmission service by using printed matter
WO2018095279A1 (en) Method and apparatus for security question generation and identity verification
CN103455742B (en) Method, machine readable storage medium and the portable terminal of shortcut key based on fingerprint are provided
CN102349046B (en) Method and apparatus for selecting text message
CN108038396A (en) Record screen method, apparatus and terminal
US9075431B2 (en) Display apparatus and control method thereof
WO2017136444A1 (en) Optical recognition of tables
EP3176719A1 (en) Methods and devices for acquiring certification document
CN105225103B (en) Continuous payment system and method
CN106708895B (en) Method and device for displaying messages in mobile social application
CN109902687B (en) Image identification method and user terminal
CN114612986A (en) Detection method, detection device, electronic equipment and storage medium
CN112533072A (en) Image sending method and device and electronic equipment
CN112311795A (en) Account management method and device and electronic equipment
US20170249450A1 (en) Device and Method for Authenticating a User
US11250091B2 (en) System and method for extracting information and retrieving contact information using the same
JP2009181218A (en) Authentication device, authentication method and program
CN105242796A (en) Code-based terminal input method and device
CN112181556B (en) Terminal control processing method and device, electronic equipment and storage medium
CN114510171B (en) Portable three-dimensional interaction system based on image processing technology
JP2013192111A (en) Information processing apparatus, information processing method, and program and computer readable recording medium of information processing apparatus
CN115659930A (en) Information input method, device and storage medium
US11574134B2 (en) Systems and methods of processing a document in an imaging device
US10659647B1 (en) Systems and methods of processing a document in an imaging device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant