CN102541845A - Method and device for acquiring network identity number automatically and information processing system - Google Patents

Method and device for acquiring network identity number automatically and information processing system Download PDF

Info

Publication number
CN102541845A
CN102541845A CN2010105767011A CN201010576701A CN102541845A CN 102541845 A CN102541845 A CN 102541845A CN 2010105767011 A CN2010105767011 A CN 2010105767011A CN 201010576701 A CN201010576701 A CN 201010576701A CN 102541845 A CN102541845 A CN 102541845A
Authority
CN
China
Prior art keywords
page
information
page elements
network number
elements
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2010105767011A
Other languages
Chinese (zh)
Inventor
任亮
李慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kingdee Software China Co Ltd
Original Assignee
Kingdee Software China 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 Kingdee Software China Co Ltd filed Critical Kingdee Software China Co Ltd
Priority to CN2010105767011A priority Critical patent/CN102541845A/en
Publication of CN102541845A publication Critical patent/CN102541845A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method and a device for acquiring network identity number automatically and an information processing system, which are applicable to the field of information processing. The method includes the following steps of receiving page address information input by users; analyzing page elements of a page through a hypertext markup language analyzer; leading pre-stored data into the analyzed corresponding page element; submitting information in the corresponding page element after the data are led into the analyzed page element, and acquiring the corresponding network identity number. By analyzing the page elements through the hypertext markup language analyzer and importing the pre-stored data to the corresponding analyzed page element automatically, the user can acquire the corresponding network number automatically without inputting or filling record information, error rate is reduced effectively, and acquiring efficiency of the network identity number is improved.

Description

The method that a kind of network number obtains automatically, device and information handling system
Technical field
The invention belongs to field of information processing, relate in particular to method, device and information handling system that a kind of network number obtains automatically.
Background technology
Network number generally refers to needs the user through filling in the network number that could produce after the information of putting on record.For example: what the net sign in the real estate transaction referred to is exactly a kind of network number; Be after house purchaser and subject of a sale sign a contract; Relevant departments put on record to real estate; Fill in the network number that just produces behind the corresponding form information, both parties can inquire about the relevant information of house transaction on the internet through this network number.
In practical application; The user is before obtaining network number; Generally need go to the relevant departments of appointment to put on record, input or printing just can be obtained corresponding network number after filling in a large amount of form informations in system, and treatment effeciency is lower; Can not satisfy the user to ageing requirement, and user's easy error in the process of importing or filling in form information.
Summary of the invention
The purpose of the embodiment of the invention is the method that provides a kind of network number to obtain automatically, be intended to solve existing to the obtaining of network number, the problem of the lower and easy error of efficient.
The embodiment of the invention is achieved in that the method that a kind of network number obtains automatically, and said method comprises the steps:
Receive the page address information of user's input;
Through the HTML resolver page elements of the said page is resolved;
In the data importing of the storage in advance corresponding page elements after resolve;
Submit to said data importing to the information of resolving in the corresponding page elements in back, obtain corresponding network number.
Another purpose of the embodiment of the invention is to provide a kind of network number automatic deriving means, and said device comprises:
Information receiving unit is used to receive the page address information that the user imports;
The page elements resolution unit is used for through the HTML resolver page elements of the said page being resolved;
The data importing unit is used for the data importing of the storage in advance corresponding page elements after resolve; And
Net sign acquiring unit is used for submitting to said data importing to the information of resolving the corresponding page elements in back, obtains corresponding network number.
Another purpose of the embodiment of the invention is to provide a kind of information handling system, and said system comprises the automatic deriving means of said network number.
In embodiments of the present invention; Through of the parsing of HTML resolver to page elements; The data of storage are in advance imported in the corresponding page elements after the parsing automatically; Make the user need not go to relevant departments' input of appointment perhaps to fill out a large amount of form informations and just can obtain corresponding network number automatically, effectively reduced error rate, improved the efficient that network number obtains.
Description of drawings
Fig. 1 is the realization flow figure of the automatic acquisition methods of network number that provides of the embodiment of the invention one;
Fig. 2 is the particular flow sheet that the page elements that provides of the embodiment of the invention two is resolved;
Fig. 3 is the realization flow figure of the automatic acquisition methods of network number that provides of the embodiment of the invention three;
Fig. 4 is the structured flowchart of the automatic deriving means of network number that provides of the embodiment of the invention four;
Fig. 5 is the exemplary plot that house transaction net sign that the embodiment of the invention five provides is obtained.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The embodiment of the invention is through the parsing of HTML resolver to page elements; The data of storage are in advance imported in the corresponding page elements after the parsing automatically; Make the user need not go to relevant departments' input of appointment perhaps to fill out a large amount of form informations and just can obtain corresponding network number automatically; Thereby effectively reduced error rate, improved the efficient that network number obtains.
For technical scheme of the present invention is described, describe through specific embodiment below.
Embodiment one:
As shown in Figure 1ly go out, the realization flow of the automatic acquisition methods of a kind of network number that the embodiment of the invention one provides, details are as follows for this procedure:
In step S101, receive the page address information of user's input.
In the present embodiment, the page address that receives user's input is that (Universal Resource Locator, URL), said URL is relevant with the network number that the user will obtain for the URL of the page.After receiving the page address information of user's input, load and the parsing current page, obtain the page elements information of this page.Said loading means related with resolving the page are including, but not limited to as follows: HTML resolver (Html Parse), NekoHtml, Jericho Html Parser, HtmlCleaner.
Present embodiment also comprises to be monitored the page of user's input in real time, to guarantee system loads and the page of resolving and the synchronous renewal of input page.
In step S102, the page elements of the said page is resolved through the HTML resolver.
In the present embodiment, the idiographic flow of page elements parsing is as shown in Figure 2:
In step S201, load the said page through the HTML resolver, and analysis object of instantiation.
In the present embodiment, HTML resolver (Html Parse) is mainly used in and loads or the parsing page, and interface is provided, and supports linear and nested HTML (html) text.In the application of reality, only need Html Parser.jar be imported in the class.path (classpath), the application programming interfaces (API) that just can use HTML resolver (Html Parse) to provide are realized the loading and the parsing of the page.In load page, analysis object of initialization, for example: Parser parser=new Parser (" http://www.***.com ") is used to resolve the page elements of the corresponding page.
In step S202, judge whether the said page loads success.
If judged result is " being ", execution in step S204 then, if judged result is " denying ", execution in step S203 then.
In the present embodiment, whether the said page of judges input loads success, if; Then said analysis object is resolved the page elements of the said page, if not, and display reminding information then; The failure of prompting user load page need be reloaded, and concrete operations are following:
In step S203, the failure of prompting user load page is reloaded.
In step S204, the page elements of the said page is resolved through said analysis object.
As a preferred embodiment of the present invention, after the page load to be accomplished, the page elements of the said page is resolved through initialized analysis object, for example: the client fills in the corresponding text box of the floor area of building in the corresponding text box of identification card number, room etc.Because the text between start-tag and end-tag is exactly the content of page elements, be exactly to resolve all labels in the HTML (html) through method (parser.extractAllNodesThatAre (XXXTag.class)) so resolve page elements.The label of HTML (html) mostly has the class of a correspondence; And these classes all are present in the org.htmlparser.tags bag; According to the different labels that will handle import different classes into, can easily resolve all labels in the HTML (html).Process in the label parsing; Can also come parsing HTML (html) information that comprises in the label is cleaned through the toHtml method; HTML resolver (Html Parse) can add some labels of not cutting out automatically, makes in the character string of generation to include complete form control information.
In step S205, the page elements information after the storing and resolving.
In the present embodiment, page elements information refers to the content of the page elements between corresponding start-tag of page elements and the end-tag, and for example: the client fills in the corresponding text box of the floor area of building in the corresponding text box of identification card number, room etc.With the page elements information stores after resolving in the system of correspondence.
In step S103, in the data importing of the storage in advance corresponding page elements after resolve.
In the present embodiment, the user before obtaining network number, general in system the good corresponding data of storage in advance, in the corresponding page elements of the data importing that will store in advance then after resolve.For example: the house transaction data of user when obtaining the sign of house transaction net, said data comprise the floor area of building in client identity authentication card number, room etc.In house transaction net sign acquisition process, the real estate information system can automatically extract the house transaction data of typing, and with in the corresponding page elements of said data importing after resolve.
In step S104, submit to said data importing to the information of resolving in the corresponding page elements in back, obtain corresponding network number.
In the present embodiment, after in the corresponding page elements of data importing after resolve, receive user's submission instruction, obtain the network number of correspondence after submitting successfully.
Embodiment three:
Fig. 3 shows the realization flow of the automatic acquisition methods of network number that the embodiment of the invention three provides, and present embodiment has increased step S305 and step S306 on the basis of first embodiment.
In step S305, judge whether information submits success to.If judged result is " being ", execution in step S307 then, if judged result is " denying ", execution in step S306 then.
In the present embodiment, after the submission instruction that receives the user, system makes data to required fields all in the page elements and whether imports the verification that finishes, and finishes if import, and then explanation is submitted to successfully, with the network number that obtains generation automatically; Do not make mistakes if import to accomplish or to import, then failure is submitted in explanation to, shows and submits failure information to, lets resubmit after the user's modification, up to successfully obtaining network number.
In step S306, the prompting user submits failure to, need resubmit.
In step S307, obtain the network number of generation.
In the present embodiment, through whether importing the verification that finishes, make mistakes, show and submit failure information to, let and resubmit after the user's modification, guaranteed the success ratio that network number obtains, improved user's satisfaction importing to accomplish or import to filling out data.
Embodiment four:
Fig. 4 shows the structure of the automatic deriving means of a kind of network number that the embodiment of the invention four provides, and for the ease of explanation, only shows the part relevant with the embodiment of the invention.
The automatic deriving means of this network number can be to be built in the unit that software unit, hardware cell or software and hardware in the information handling system combine, and also can be used as independently, suspension member is integrated in the application system of information handling system or information handling system.
The automatic deriving means of this network number comprises information receiving unit 41, page elements resolution unit 42, data importing unit 43, information judging unit 44, network number acquiring unit 45 and information retransmission unit 46.Wherein:
Information receiving unit 41 receives the page address information of user's input.
In the present embodiment, the page address of user's input is meant the relevant page address of network number that will obtain with the user.
Page elements resolution unit 42 is resolved the page elements of the said page through the HTML resolver, and wherein page elements resolution unit 42 comprises page load-on module 421, loads judge module 422, reloads module 423, page elements parsing module 424 and information storage module 425.
Page load-on module 421 is used for loading the said page through the HTML resolver, and analysis object of instantiation.
Load judge module 422, be used to judge whether the said page loads success, if judged result is " being ", then page elements parsing module 424 said analysis object are resolved the page elements of the said page; If judged result is " denying ", then reload module 423 prompting user load page failures, reload.
Information storage module 425 is used for the page elements information after the storing and resolving.
In the corresponding page elements of the data importing that data importing unit 43 will be stored in advance after resolve, and receive user's submission instruction.
Information judging unit 44 judges whether information submits success to; After the submission instruction that receives the user, system makes data to required fields all in the page elements and whether imports the verification that finishes, and finishes if import; Then explanation is submitted to successfully, and network number acquiring unit 45 obtains the network number of generation; Do not make mistakes if import to accomplish or to import, then failure is submitted in explanation to, and information retransmission unit 46 shows submits failure informations to, lets resubmit after the user's modification, up to successfully obtaining network number.
In the above-described embodiments, the technology that loads and resolve the page is including, but not limited to as follows: HTML resolver (Html Parse), NekoHtml, Jericho Html Parser, HtmlCleaner.
Embodiment five:
Through an instantiation that obtains of house transaction net sign implementation process of the present invention is described below, as shown in Figure 5:
1. receive the page address information of real estate information system user input.
In the present embodiment, the page address of user's input is file on record on the net system of Land and Resources Bureau page address, loads and resolve file on record on the net system of the Land and Resources Bureau page through the resolver that adds in the real estate information system, obtains the page elements information of the said page.Wherein, the technology that loads and resolve the page is including, but not limited to as follows: HTML resolver (Html Parse), NekoHtml, Jericho Html Parser, HtmlCleaner.
Present embodiment also comprises to be monitored file on record on the net system of the Land and Resources Bureau page of user's input in real time, to guarantee real estate information system loads and the page of parsing and the synchronous renewal of file on record on the net system of the Land and Resources Bureau page.
2. through the HTML resolver page elements of the said page is resolved.
In the present embodiment, load file on record on the net system of the said Land and Resources Bureau page, and said load page is judged through the HTML resolver; If load unsuccessful; Then real estate information system display reminding information is pointed out the failure of user's load page, need reload.If load successfully, then analysis object of instantiation is resolved the page elements of file on record on the net system of the Land and Resources Bureau page through said analysis object, and the page elements information stores after will resolving is in said real estate information system.For example: the client fills in the corresponding information such as text box of floor area of building in the corresponding text box of identification card number, room.
3. extract the house transaction data in the real estate information system, in the corresponding page elements of said data importing after resolve.
In the present embodiment; The user is before obtaining the sign of house transaction net; Need carry out the house and subscribe, the real estate information system manager can and be entered in the real estate information system the house transaction data backup, and said data comprise the floor area of building in client identity authentication card number, room etc.In house transaction net sign acquisition process, the real estate information system can automatically extract the house transaction data of typing, and with in the corresponding page elements of said data importing after resolve.For example: client identity authentication card number is imported to the corresponding text box of filling in identification card number.
4. receive the submission instruction of real estate information system user, submit to said data importing, obtain corresponding net sign to the information of resolving in the corresponding page elements in back.
In the present embodiment, after the submission instruction that receives the user, system makes data to all required fields in the page elements after resolving and whether imports the verification that finishes, and finishes if import, and then explanation is submitted to successfully, with the net sign of obtaining generation automatically; Do not make mistakes if import to accomplish or to import, then failure is submitted in explanation to, shows and submits failure information to, lets resubmit after the user's modification, up to successfully obtaining the net sign.
In embodiments of the present invention; This real estate information system comprises the automatic deriving means of house transaction net sign, and said device comprises information receiving unit, page elements resolution unit, data importing unit, information judging unit, information retransmission unit and net sign acquiring unit.Wherein:
Information receiving unit is used to receive the page address information that the real estate information system user is imported.
In the present embodiment, the page address of user's input refers to file on record on the net system of Land and Resources Bureau page address.
The page elements resolution unit; Be used for the page elements of file on record on the net system of the said Land and Resources Bureau page being resolved through the HTML resolver, wherein the page elements resolution unit also comprise page load-on module, load judge module, reload module, page elements parsing module and information storage module.
Page load-on module is used for loading file on record on the net system of the Land and Resources Bureau page through the HTML resolver, and analysis object of instantiation.
Load judge module; Be used to judge whether file on record on the net system of the said Land and Resources Bureau page loads success; If judged result is " being ", then the page elements parsing module is resolved the page elements of file on record on the net system of the said Land and Resources Bureau page through said analysis object; If judged result is " denying ", then reload the failure of module prompting user load page, reload.
Information storage module is used for the page elements information after the storing and resolving.
The data importing unit is used for extracting the house transaction data of real estate information system, in the corresponding page elements of said data importing after resolve, and receives user's submission instruction.
Whether information judgment unit judges information submits success to; After the submission instruction that receives the user, system makes data to required fields all in the page elements and whether imports the verification that finishes, and finishes if import; Then explanation is submitted to successfully, and net sign acquiring unit obtains the net sign of generation; Do not make mistakes if import to accomplish or to import, then failure is submitted in explanation to, and the information retransmission unit shows submits failure information to, lets resubmit after the user's modification, up to successfully obtaining the net sign.
In embodiments of the present invention; Through of the parsing of HTML resolver to page elements; The data of storage are in advance imported in the corresponding page elements after the parsing automatically; Make the user need not go to relevant departments' input of appointment perhaps to fill out a large amount of form informations and just can obtain corresponding network number automatically, effectively reduced error rate, improved the efficient that network number obtains.In addition, through whether importing the verification that finishes, make mistakes, show and submit failure information to, let and resubmit after the user's modification, guaranteed the success ratio that network number obtains, improved user's satisfaction importing to accomplish or import to filling out data.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. the method that network number obtains automatically is characterized in that, said method comprises the steps:
Receive the page address information of user's input;
Through the HTML resolver page elements of the said page is resolved;
In the data importing of the storage in advance corresponding page elements after resolve;
Submit to said data importing to the information of resolving in the corresponding page elements in back, obtain corresponding network number.
2. the method for claim 1 is characterized in that, the network number that said method is obtained automatically is the sign of real estate transaction net.
3. the method for claim 1 is characterized in that, said step of the page elements of the said page being resolved through the HTML resolver is specially:
Load the said page through the HTML resolver, and analysis object of instantiation;
Judge whether the said page loads success, if load successfully, then said analysis object is resolved the page elements of the said page; Get nowhere if load, then point out the failure of user's load page, reload;
Page elements information after the storing and resolving.
4. like the described method of each claim of claim 1 to 3, it is characterized in that said method further comprises the steps:
Judge whether said submission information submits success to,, then obtain corresponding net sign if submit to successfully; Get nowhere if submit to, then point out user profile to submit failure to, resubmit.
5. automatic deriving means of network number is characterized in that said device comprises:
Information receiving unit is used to receive the page address information that the user imports;
The page elements resolution unit is used for through the HTML resolver page elements of the said page being resolved;
The data importing unit is used for the data importing of the storage in advance corresponding page elements after resolve; And
The network number acquiring unit is used for submitting to said data importing to the information of resolving the corresponding page elements in back, obtains corresponding network number.
6. device as claimed in claim 5 is characterized in that, said device also comprises:
The information judging unit is used to judge whether said submission information submits success to;
The information retransmission unit is used to point out user profile to submit failure to, resubmits.
7. device as claimed in claim 5 is characterized in that, said page elements resolution unit also comprises:
Page load-on module is used for loading the said page through the HTML resolver, and analysis object of instantiation;
Load judge module, be used to judge whether the said page loads success;
The page elements parsing module is used for the page elements of the said page being resolved through said analysis object loading the successful page;
Reload module, be used for reloading loading unsuccessful page prompts user's load page failure;
Information storage module is used for the page elements information after the storing and resolving.
8. device as claimed in claim 5 is characterized in that, the network number that said device obtains automatically is the sign of real estate transaction net.
9. an information handling system is characterized in that, said system comprises the automatic deriving means of the described network number of each claim of claim 5 to 8.
CN2010105767011A 2010-12-07 2010-12-07 Method and device for acquiring network identity number automatically and information processing system Pending CN102541845A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105767011A CN102541845A (en) 2010-12-07 2010-12-07 Method and device for acquiring network identity number automatically and information processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105767011A CN102541845A (en) 2010-12-07 2010-12-07 Method and device for acquiring network identity number automatically and information processing system

Publications (1)

Publication Number Publication Date
CN102541845A true CN102541845A (en) 2012-07-04

Family

ID=46348769

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105767011A Pending CN102541845A (en) 2010-12-07 2010-12-07 Method and device for acquiring network identity number automatically and information processing system

Country Status (1)

Country Link
CN (1) CN102541845A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101257501A (en) * 2008-04-11 2008-09-03 杭州华三通信技术有限公司 Data leading-in method, system as well as Web server
US20080275864A1 (en) * 2007-05-02 2008-11-06 Yahoo! Inc. Enabling clustered search processing via text messaging
CN101465866A (en) * 2007-12-20 2009-06-24 上海盛娱网络科技有限公司 Method for accessing WAP network based on Web terminal and transition module

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080275864A1 (en) * 2007-05-02 2008-11-06 Yahoo! Inc. Enabling clustered search processing via text messaging
CN101465866A (en) * 2007-12-20 2009-06-24 上海盛娱网络科技有限公司 Method for accessing WAP network based on Web terminal and transition module
CN101257501A (en) * 2008-04-11 2008-09-03 杭州华三通信技术有限公司 Data leading-in method, system as well as Web server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杜义华,焦文彬: "《互联网中X M L 网页的链接解析与信息采集》", 《计算机***应用》 *

Similar Documents

Publication Publication Date Title
CN104427627B (en) Test data acquisition methods, client and server
US9600456B2 (en) Automatically performing a web service operation
US20110302499A1 (en) Generation of Macros
US20080127097A1 (en) Method and devices for url command testing and for scenario testing
US20140278406A1 (en) Obtaining data from unstructured data for a structured data collection
CN104063401B (en) The method and apparatus that a kind of webpage pattern address merges
CN102495855A (en) Automatic login method and device
CN103377127A (en) Development testing system, testing method and device for webpage product
US20110258192A1 (en) Providing question and answer services
US20100138477A1 (en) Crunching Dynamically Generated Script Files
CN110941950B (en) Interface document generation method, device, server and storage medium
CN105808701B (en) Realize the method and system communicated between list automatic Verification and multisystem
US9262550B2 (en) Processing semi-structured data
CN103188128A (en) Preview method of mail attachment and mail system
WO2009032432A1 (en) System and method for interfacing with a reference data management system
CN110798445A (en) Public gateway interface testing method and device, computer equipment and storage medium
US11093705B2 (en) Apparatus and method of verifying simultaneous edit match for markup language-based document
CN111770086A (en) Fishing user simulation collection method, device, system and computer readable storage medium
CN114091914A (en) Work order processing method and device
CN109460227A (en) A kind of development approach of Website front-end, device, equipment and medium
CN103617043B (en) A kind of method and system uploaded with picture web data
US20090172581A1 (en) System, method and apparatus for multiple field pasting
CN104471530A (en) Executable software specification generation
CN104462043A (en) Quick self-help form filling system and quick self-help form filling method
CN104156394B (en) mobile page creation system and method

Legal Events

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

Application publication date: 20120704