CN104503990A - Method for acquiring and using exchange rate information - Google Patents

Method for acquiring and using exchange rate information Download PDF

Info

Publication number
CN104503990A
CN104503990A CN201410727309.0A CN201410727309A CN104503990A CN 104503990 A CN104503990 A CN 104503990A CN 201410727309 A CN201410727309 A CN 201410727309A CN 104503990 A CN104503990 A CN 104503990A
Authority
CN
China
Prior art keywords
exchange rate
rate information
webpage
identifier
web page
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
CN201410727309.0A
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.)
CNBM International Corp
Original Assignee
CNBM International Corp
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 CNBM International Corp filed Critical CNBM International Corp
Priority to CN201410727309.0A priority Critical patent/CN104503990A/en
Publication of CN104503990A publication Critical patent/CN104503990A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method for acquiring and using exchange rate information. The method for acquiring and using exchange rate information comprises the steps as follows: step 1, acquiring identifiers of webpage exchange rate information at a bank website by using a HtmlParser; step 2, regularly using the HtmlParser to acquire the webpage exchange rate information corresponding to the identifiers from webpage contents according to the identifiers and recording the webpage exchange rate information into a data pool, judging whether exchange rate values of the webpage exchange rate information is the same as the exchange rate values of the exchange rate information in a business fund settlement system or not, if not, updating and replacing the exchange rate values of the exchange rate information in the business fund settlement system; step 3, settling business fund according to the exchange rate information in the business fund settlement system when a business fund settlement is required. The real-time performance of all exchange rates during an electronic settlement of the business fund is ensured, so that the latest exchange rate information can be used to settle the business fund automatically and timely during the electronic settlement of the business fund, and benefit losses due to fairly quickly changing exchange rate and delayed human maintaining are reduced.

Description

A kind of method obtaining and use exchange rate information
Technical field
The present invention relates to electric network technical field, particularly relate to a kind of method obtaining and use exchange rate information.
Background technology
Along with import and export business intensified competition, the profit change that Exchange Rate causes is increasing on the impact of enterprise profit, need in outward service financial account system to use up-to-date exchange rate information, the timely and exchange rate data of authority can make enterprise in business in earlier stage effectively control business risk.In prior art, need the issue situation of manual monitoring exchange rate information, and after new exchange rate information is issued, carry out craft input and upgrade.This kind of manual mode safeguarded need take a large amount of manpower and may occur that human error is that enterprise brings economic loss.Therefore a kind of method of automatic, accurate and effective acquisition and use exchange rate information is needed.
Summary of the invention
The present invention is intended to solve above-described problem, the invention provides a kind ofly obtain and use the method for exchange rate information, solve in prior art manual safeguard that exchange rate information causes take manpower and easily occur the problem of error.
The invention provides a kind of method obtaining and use exchange rate information, described method comprises:
Step 1, uses web-page parser to obtain the web page contents of bank web page, obtains element content, determine the identifier of webpage exchange rate information from described element content from described web page contents; Record the mapping relations of described bank web page and described identifier;
Step 2, timing performs following content: use described web-page parser to obtain the web page contents of described bank web page, from described web page contents, the webpage exchange rate information corresponding with described identifier is obtained according to described identifier, described webpage exchange rate information is recorded into data pool, the currency of the exchange rate information currency of described webpage exchange rate information pair and business funds settlement system used is to mating, after the match is successful, judge that whether the exchange rate value of described webpage exchange rate information is identical with the exchange rate value of the exchange rate information in business funds settlement system, if not identical, the exchange rate value of the exchange rate information in business funds settlement system is updated to the exchange rate value of described webpage exchange rate information,
Step 3, when needs carry out business funds clearing, carries out business funds clearing according to the exchange rate information in described business funds settlement system.
Wherein, from described element content, determine in described step 1 that the mode of the identifier of webpage exchange rate information is by manually determining to be worth identical element with the current exchange rate in described element content, using the identifier of the identifier of this element as exchange rate information.
Wherein, from described element content, determine in described step 1 that the identifier of webpage exchange rate information refers to: the identifier determining the webpage exchange rate information that all currencies are right from described element content, or, from described element content, only determine the identifier of the webpage exchange rate information that the currency that uses in described business funds settlement system is right.
Wherein, described web-page parser is HyperText Preprocessor DOM Document Object Model resolver.
Wherein, the identifier that described different web pages exchange rate information is corresponding is different.
Wherein, described method also comprises the timing length according to using needs adjustment to perform described step 2.
Wherein, described step 2 also comprises, when can not obtain the webpage exchange rate information corresponding with described identifier according to described identifier from described web page contents, send and gather failed system message, or send collection failure notification message by wireless network to mobile terminal; Described step 2 also comprises: when it fails to match, sends and gathers failed system message, or by wireless network to mobile terminal transmission it fails to match notification message.
Method of the present invention can ensure the real-time of the exchange rate used in the electronic accounting process of business funds, to make in the electronic accounting process of business funds automatically and use up-to-date exchange rate information to settle accounts in time, to reduce because of the interests loss caused not in time of the very fast manual maintenance of Exchange Rate.
Accompanying drawing explanation
To be incorporated in instructions and the accompanying drawing forming a part for instructions shows embodiments of the invention, and together with the description for explaining principle of the present invention.In the drawings, similar Reference numeral is used for key element like representation class.Accompanying drawing in the following describes is some embodiments of the present invention, instead of whole embodiment.For those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can be obtained according to these accompanying drawings.
Fig. 1 is the process flow diagram of the method obtaining and use exchange rate information in the present invention.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combination in any mutually.
Fig. 1 is the process flow diagram of the method obtaining and use exchange rate information in the present invention.As shown in Figure 1, obtain and use the method for exchange rate information to comprise:
Step 101, uses web-page parser to obtain the web page contents of bank web page, obtains element content, determine the identifier of webpage exchange rate information from element content from web page contents; Record the mapping relations of above-mentioned bank web page and above-mentioned identifier.
Step 102, timing performs following content: use web-page parser to obtain the web page contents of bank web page, from described web page contents, the webpage exchange rate information corresponding with identifier is obtained according to identifier, webpage exchange rate information is recorded into data pool, the currency of the exchange rate information currency of webpage exchange rate information pair and business funds settlement system used is to mating, after the match is successful, judge that whether the exchange rate value of webpage exchange rate information is identical with the exchange rate value of the exchange rate information in business funds settlement system, if not identical, the exchange rate value of the exchange rate information in business funds settlement system is updated to the exchange rate value of webpage exchange rate information.
Step 103, when needs carry out business funds clearing, carries out business funds clearing according to the exchange rate information in business funds settlement system.
The one webpage exchange rate information of this method comprises a currency to corresponding exchange rate value.Currency treats conversion Currency Type and target Currency Type to referring to.Such as, in bank web page, Renminbi is to the webpage exchange rate information corresponding to the exchange rate information of dollar, and its currency is to being Renminbi and dollar, and its exchange rate value is 0.1635.Again such as, in bank web page, dollar is to the webpage exchange rate information corresponding to the exchange rate information of Renminbi, and its currency is to being dollar and Renminbi, and its exchange rate value is 6.115.
The identifier difference that different web pages exchange rate information is corresponding.From element content, determine in step 101 that the mode of the identifier of webpage exchange rate information is: by manually determining to be worth identical element with the current exchange rate in element content, using the identifier of the identifier of this element as exchange rate information.This method can be suitable for different bank web page.
In actual applications, all webpage exchange rate information that bank web page is issued and the right webpage exchange rate information of all currencies can be obtained in step 101, such as comprise Renminbi to the exchange rate information of dollar, dollar to the exchange rate information of Renminbi, Renminbi to Euro exchange rate information, Euro to the exchange rate information of Renminbi, Renminbi to the exchange rate information of Canadian dollar, Canadian dollar to the exchange rate information etc. of Renminbi.But may can not use all exchange rate information in business funds settlement system, so need the matching operation in step 102, the exchange rate information only providing the currency needed for it right to business funds settlement system.The number of the exchange rate information that the matching operation of step 102 can use in supporting business financial account system needs the user demand increasing or reduce.Certainly, from all webpage exchange rate information that bank web page is issued, also only can obtain the webpage exchange rate information that currency needed for business funds settlement system is right in step 101.
The web-page parser used in this method is HyperText Preprocessor DOM Document Object Model resolver and PHP Simple HTML DOM resolver.
This method can also need to adjust the timing length performing step 102, to adapt to the needs of operation system according to using.
This method can send a notification message when gathering unsuccessfully or it fails to match, notifies that related personnel safeguards timely.Concrete, step 102 also comprises, and when can not obtain the webpage exchange rate information corresponding with identifier according to identifier from web page contents, sends and gathers failed system message, or sends collection failure notification message by wireless network to mobile terminal.Step 102 also comprises: when it fails to match, sends and gathers failed system message, or by wireless network to mobile terminal transmission it fails to match notification message.
Also comprise in this method: carry out the analysis of the exchange rate to service impact situation according to exchange rate historical variations situation in conjunction with business, and complete analysis report.
Method of the present invention can ensure the real-time of the exchange rate used in the electronic accounting process of business funds, to make in the electronic accounting process of business funds automatically and use up-to-date exchange rate information to settle accounts in time, to reduce because of the interests loss caused not in time of the very fast manual maintenance of Exchange Rate.
Above-described content can combine enforcement individually or in every way, and these variant are all within protection scope of the present invention.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit.Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (7)

1. obtain and use a method for exchange rate information, it is characterized in that, described method comprises:
Step 1, uses web-page parser to obtain the web page contents of bank web page, obtains element content, determine the identifier of webpage exchange rate information from described element content from described web page contents; Record the mapping relations of described bank web page and described identifier;
Step 2, timing performs following content: use described web-page parser to obtain the web page contents of described bank web page, from described web page contents, the webpage exchange rate information corresponding with described identifier is obtained according to described identifier, described webpage exchange rate information is recorded into data pool, the currency of the exchange rate information currency of described webpage exchange rate information pair and business funds settlement system used is to mating, after the match is successful, judge that whether the exchange rate value of described webpage exchange rate information is identical with the exchange rate value of the exchange rate information in business funds settlement system, if not identical, the exchange rate value of the exchange rate information in business funds settlement system is updated to the exchange rate value of described webpage exchange rate information,
Step 3, when needs carry out business funds clearing, carries out business funds clearing according to the exchange rate information in described business funds settlement system.
2. the method obtaining exchange rate information as claimed in claim 1, is characterized in that,
From described element content, determine in described step 1 that the mode of the identifier of webpage exchange rate information is by manually determining to be worth identical element with the current exchange rate in described element content, using the identifier of the identifier of this element as exchange rate information.
3. the method obtaining exchange rate information as claimed in claim 1, is characterized in that,
From described element content, determine in described step 1 that the identifier of webpage exchange rate information refers to: the identifier determining the webpage exchange rate information that all currencies are right from described element content, or, from described element content, only determine the identifier of the webpage exchange rate information that the currency that uses in described business funds settlement system is right.
4. the method obtaining exchange rate information as claimed in claim 1, is characterized in that,
Described web-page parser is HyperText Preprocessor DOM Document Object Model resolver.
5. the method obtaining exchange rate information as claimed in claim 1, is characterized in that,
The identifier difference that described different web pages exchange rate information is corresponding.
6. the method obtaining exchange rate information as claimed in claim 1, is characterized in that,
Described method also comprises the timing length according to using needs adjustment to perform described step 2.
7. the method obtaining exchange rate information as claimed in claim 1, is characterized in that,
Described step 2 also comprises, when can not obtain the webpage exchange rate information corresponding with described identifier according to described identifier from described web page contents, send and gather failed system message, or send collection failure notification message by wireless network to mobile terminal;
Described step 2 also comprises: when it fails to match, sends and gathers failed system message, or by wireless network to mobile terminal transmission it fails to match notification message.
CN201410727309.0A 2014-12-03 2014-12-03 Method for acquiring and using exchange rate information Pending CN104503990A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410727309.0A CN104503990A (en) 2014-12-03 2014-12-03 Method for acquiring and using exchange rate information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410727309.0A CN104503990A (en) 2014-12-03 2014-12-03 Method for acquiring and using exchange rate information

Publications (1)

Publication Number Publication Date
CN104503990A true CN104503990A (en) 2015-04-08

Family

ID=52945388

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410727309.0A Pending CN104503990A (en) 2014-12-03 2014-12-03 Method for acquiring and using exchange rate information

Country Status (1)

Country Link
CN (1) CN104503990A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106779710A (en) * 2017-01-16 2017-05-31 世纪禾光科技发展(北京)有限公司 The method and apparatus of e-commerce platform exchange rate management
CN107886428A (en) * 2017-11-08 2018-04-06 中国银行股份有限公司 A kind of method and payment clearance system for determining to pay clearing rate
CN111144892A (en) * 2020-01-02 2020-05-12 中国银行股份有限公司 Counter exchange rate checking method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192320A (en) * 2006-11-30 2008-06-04 中钞长城金融设备控股有限公司 Multifunctional currency exchanging device and its service method
US20090006612A1 (en) * 2007-06-27 2009-01-01 Arito Asai Communication system, proxy server, method of controlling same and control program therefor
CN101441647A (en) * 2008-12-25 2009-05-27 中国烟草总公司郑州烟草研究院 Automatic updating method and system of patent legal state in enterprise patent database
CN101446983A (en) * 2009-01-12 2009-06-03 腾讯科技(深圳)有限公司 Method, system and equipment for realizing web page acquisition by mobile terminal
CN102378987A (en) * 2009-02-03 2012-03-14 易赛高博英国有限公司 Transaction processing system and method
CN102915466A (en) * 2012-10-18 2013-02-06 程碧波 Data processing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192320A (en) * 2006-11-30 2008-06-04 中钞长城金融设备控股有限公司 Multifunctional currency exchanging device and its service method
US20090006612A1 (en) * 2007-06-27 2009-01-01 Arito Asai Communication system, proxy server, method of controlling same and control program therefor
CN101441647A (en) * 2008-12-25 2009-05-27 中国烟草总公司郑州烟草研究院 Automatic updating method and system of patent legal state in enterprise patent database
CN101446983A (en) * 2009-01-12 2009-06-03 腾讯科技(深圳)有限公司 Method, system and equipment for realizing web page acquisition by mobile terminal
CN102378987A (en) * 2009-02-03 2012-03-14 易赛高博英国有限公司 Transaction processing system and method
CN102915466A (en) * 2012-10-18 2013-02-06 程碧波 Data processing method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106779710A (en) * 2017-01-16 2017-05-31 世纪禾光科技发展(北京)有限公司 The method and apparatus of e-commerce platform exchange rate management
CN107886428A (en) * 2017-11-08 2018-04-06 中国银行股份有限公司 A kind of method and payment clearance system for determining to pay clearing rate
CN107886428B (en) * 2017-11-08 2021-08-20 中国银行股份有限公司 Method for determining payment clearing exchange rate and payment clearing system
CN111144892A (en) * 2020-01-02 2020-05-12 中国银行股份有限公司 Counter exchange rate checking method and device

Similar Documents

Publication Publication Date Title
CN107358422B (en) Payment system based on block chain technology
CN108335214A (en) Self-service Claims Resolution method, server and computer readable storage medium
CN103020862A (en) Online credit investment-financing method and system
CN104503990A (en) Method for acquiring and using exchange rate information
CN104794607A (en) Original data and shift data normalizing method for attendance calculation
CN105631737A (en) Account checking method and account checking system
CN104992234A (en) Enterprise risk assessment method based on various kinds of operation data
CN104966227A (en) Enterprise risk assessment system based on a plurality of operating data
CN111340639B (en) Settlement data processing method and device
CN105488721A (en) Routing method and system for inter-bank payments
CN102081781A (en) Finance modeling optimization method based on information self-circulation
KAN Integrated reporting: the new big picture
CN105184645A (en) Real-time microcredit system
CN106373000A (en) Enterprise/ bank account integrated multifunctional management system
CN115936438A (en) Early warning method and system for enterprise tax wind control
CN104392307B (en) A kind of reliability estimation method based on distribution network automated engineering
CN105354664A (en) Method for optimizing power transmission and transformation engineering project cost risk evaluation index system
CN106934610A (en) Solve the method and system of the virtual account gathering difference of foreign trade electric business platform bank
Hutton Gigabit-broadband in the UK: Government targets and policy
CN105976096A (en) Fund examination and approval use and flow direction monitoring method and corresponding software system
JP5848745B2 (en) New payment scheme for supply chain
CN102521737A (en) Cloud online settlement and reconciliation method for tobacco industry
CN108628960A (en) It is a kind of specially to become electricity data exception quick diagnosis flow and method
CN107944850A (en) Fixed account dump method and device
WO2010038986A3 (en) Method and system for managing quality of advertised webpage

Legal Events

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

Application publication date: 20150408

RJ01 Rejection of invention patent application after publication