CN101902508B - Method and system for acquiring network address for embedded terminal - Google Patents

Method and system for acquiring network address for embedded terminal Download PDF

Info

Publication number
CN101902508B
CN101902508B CN2010102557115A CN201010255711A CN101902508B CN 101902508 B CN101902508 B CN 101902508B CN 2010102557115 A CN2010102557115 A CN 2010102557115A CN 201010255711 A CN201010255711 A CN 201010255711A CN 101902508 B CN101902508 B CN 101902508B
Authority
CN
China
Prior art keywords
address
terminal
server
built
request
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.)
Expired - Fee Related
Application number
CN2010102557115A
Other languages
Chinese (zh)
Other versions
CN101902508A (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.)
SUNGALE ELECTRONICS (SHENZHEN) Ltd
Original Assignee
SUNGALE ELECTRONICS (SHENZHEN) 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 SUNGALE ELECTRONICS (SHENZHEN) Ltd filed Critical SUNGALE ELECTRONICS (SHENZHEN) Ltd
Priority to CN2010102557115A priority Critical patent/CN101902508B/en
Publication of CN101902508A publication Critical patent/CN101902508A/en
Application granted granted Critical
Publication of CN101902508B publication Critical patent/CN101902508B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a method for acquiring network addresses for an embedded terminal, comprising the following steps: a server connected with the embedded terminal automatically acquires link addresses on a designated website at regular time, and stores the chained addresses in a database in a list form; and the server updates the address list of the embedded terminal when the embedded terminal sends a request for reading network linking contents. The invention further relates to a system for acquiring the network addresses for the embedded terminal. The method and the system for acquiring the network addresses for the embedded terminal have the following beneficial effect: the method and the system are operated in a background, which is not felt by a user, so the use of the method and the system is convenient and call completing rate thereof is high.

Description

The method and system of acquiring network address for embedded terminal
Technical field
The present invention relates to adquisitiones and the system of information, more particularly, relate to a kind of method and system of acquiring network address for embedded terminal.
Background technology
Generally speaking, built-in terminal has a main function or original function usually, also may comprise other some functions outside this major function or original function, and these functions conducts are supplementary or perfect to above-mentioned major function or original function.For example, DPF is exactly a built-in terminal, and the function that it is main or original function are to show digital pictures or digital photo, and as a supplementary function, some DPFs also may have the function of the message such as the news of surfing the web, physical culture.Certainly above-mentioned functions is not unalterable, along with the development of technology, and the no less important that can become of above-mentioned two functions in possible DPF.But, howsoever,, due to the characteristics of embedded system own, determined that built-in terminal can not be to general purpose terminal, for example computer equally has so many system resource, and this has determined that also built-in terminal can be not convenient as computer when online obtains the network address.With regard to DPF, normally online obtains news such as the RSS form etc.Because news or the message of present RSS form usually can be through repeatedly quoting or linking; namely except linking sources; other links are all direct or indirect Reference source links; and the link that these are directly or indirectly quoted less stable all; this can bring when built-in terminal connects one of them link; this link may not exist, and therefore can not find relevant content.This brings certain difficulty with regard to obtaining RSS information for above-mentioned built-in terminal (for example DPF), it is mainly the increase due to step, bring the raising to the requirement of built-in terminal search initial conditions, make the user use built-in terminal extremely inconvenient when reading above-mentioned RSS information.
Summary of the invention
The technical problem to be solved in the present invention is,, for the defect that the above-mentioned built-in terminal of prior art is inconvenient when reading more existing network addresss (as RSS), operating procedure is more, call completing rate is lower, provide the method and system of a kind of convenience, operating procedure is less, call completing rate is higher a kind of acquiring network address for embedded terminal.
The technical solution adopted for the present invention to solve the technical problems is: the method for a kind of acquiring network address for embedded terminal of structure comprises the steps:
A) the server timing automatic that is connected with described built-in terminal is obtained the chained address on appointed website, and described chained address is stored in described database by the inventory form;
B) described server sends while reading the network linking content requests at described built-in terminal the address list that upgrades described built-in terminal.
In the method for acquiring network address for embedded terminal of the present invention, also comprise the steps: described steps A) further comprise the steps:
A1) on described server timer access named web page, and the scripted code in the analyzing web page file, expression formula for search obtained;
A2) process above-mentioned expression formula for search, and be stored in described database.
In the method for acquiring network address for embedded terminal of the present invention, described steps A 2) further comprise:
A21) to described expression formula for search automatic classification, autoabstract information and metadata analysis;
A22) with steps A 21) in the data conversion format that obtains and being stored in described address list.
In the method for acquiring network address for embedded terminal of the present invention, described step B) further comprise the steps:
B1) described built-in terminal is to by the connected server of network, sending the request of reading Web content;
B2) described server parses described request, judge whether the network linking address in described request is effective, and in this way, described server forwards described request; As no, the address list that described server sends in its database arrives described built-in terminal, upgrades the address list of described built-in terminal.
In the method for acquiring network address for embedded terminal of the present invention, described step B2) further comprise the steps: in
B21) described server parses goes out the network linking address in described request;
B22) in the contrast described request in network linking address and server network linking address of the same name whether identical? in this way, forward described request; As no, access the address list in described server database, send to described built-in terminal, upgrade the address list in built-in terminal.
In the method for acquiring network address for embedded terminal of the present invention, described built-in terminal sends request by the WIFI passage to described server; Described server sends address list by the WIFI passage to described built-in terminal.
The invention still further relates to a kind of system that makes acquiring network address for embedded terminal, the server that comprises built-in terminal and be connected by network with described built-in terminal, described built-in terminal comprise the request sending module that is used to form and sends request, for the terminal data receiver module that receives described server or network and send data; Described server comprises for the request receiving parsing module that receives and resolve described built-in terminal and send request, process processing module that network linking address that described server receives is converted into address list, be used for described address list is converted to the reception Data Format Transform module of the form that is suitable for storing and deposits described conversion after the database of address list.
In the system that makes acquiring network address for embedded terminal of the present invention, described server also comprises that the data that obtain network data obtain module and control described data and obtain the time control module of module timing working.
In the system that makes acquiring network address for embedded terminal of the present invention, described request receive parsing module further comprise be used to the request receiving submodule that receives described built-in terminal and send request, be used for judge described request comprise chained address whether effectively address judgement submodule, be used for reading the database read module of described data-base content and be used for that the address list that reading database obtains is converted to the RSS form and send to the format conversion transmission submodule of described built-in terminal.
In the system that makes acquiring network address for embedded terminal of the present invention, described data receiver submodule further comprises for the chained address that will receive by the data automatic classification submodule of its automatic content classification, is used for automatically generating according to described chained address content the metadata analysis submodule that the summary about this chained address summary automatically generates submodule and is used for searching the linking sources address of this chained address.
implement the method and system of acquiring network address for embedded terminal of the present invention, has following beneficial effect: because described server is constantly accessed related web page, and obtain effective chained address on this webpage and upgrade address list in its database, simultaneously, when built-in terminal is wanted accesses network, its request is by described server parses, obtain the chained address of this request map network content, server judges according to this address on described built-in terminal, whether address list will upgrade, it is in consistency operation, the user can not feel, so it is easy to use and its call completing rate is higher.
Description of drawings
Fig. 1 is method flow diagram in the method and system embodiment of acquiring network address for embedded terminal of the present invention;
Fig. 2 is system configuration schematic diagram in described embodiment;
Fig. 3 is the structural representation that in described embodiment, data obtain module;
Fig. 4 is the structural representation of request receiving parsing module in described embodiment.。
Embodiment
Embodiments of the present invention is further illustrated below in conjunction with accompanying drawing.
As shown in Figure 1, in the method and system embodiment of acquiring network address for embedded terminal of the present invention, the method for acquiring network address for embedded terminal comprises the steps:
step S11 server access named web page, resolve its script file, obtain expression formula for search: server timer access named web page, such as news pages of Yahoo etc., these web page addresses can not change, but, its content is constantly to change, that is to say the chained address that has a plurality of variations on above-mentioned named web page, the content that each chained address is corresponding different, in this step, the set within it webpage of section of these addresses of server timer access, and resolve one by one the script file of these webpages, obtain the expression formula for search of each chained address on it.
Step S12 is to expression formula for search automatic classification, autoabstract and metadata analysis: in this step, the expression formula for search that obtains in previous step is processed, these processing comprise automatic classification, automatically produce Summary file and its metadata is analyzed, create text title, keyword, search the actions such as link address, source, like this, just each chained address is arranged as an inventory item or an information as label take keyword or title.This inventory item or an information are just corresponding to a chained address.So, just can use its keyword or title takes out separately the chained address comparison of carrying in the request that a chained address and built-in terminal send as label.
The form of the above-mentioned data of step S13 conversion: the information that previous step is obtained is converted to the form of being convenient to the database storage, and the benefit of doing like this is to be convenient to these information are stored, and also is convenient to search these information in database.
That step S14 obtains upgrading, be kept at the address list in database: in this step, the result that obtains in above-mentioned steps is left in the address list of server database.In the present embodiment, the above-mentioned information or the inventory item that obtain are inserted address list one by one, if there is label identical, the item before covering while inserting; If there is no identical label, increase an inventory item, information obtained above is added and gets final product.
Step S21 built-in terminal sends request: in this step, built-in terminal sends the request that obtains Web content, and in the present embodiment, built-in terminal is to send this HTTP request by built-in WiFi wireless communication module.As we point out in front, built-in terminal is not to move to send this request by the online the same with PC, usually, this built-in terminal is due to the hardware that is limited to himself, select in the link label of some settings,, with the chained address of obtaining in the past, just comprise these chained addresses in above-mentioned request in these labels.
Step S22 server parses should be asked, and obtain wherein chained address: in above-mentioned steps, built-in terminal sends request, and the serviced device of this request receives, and, these requests of server parses, the chained address that obtains wherein comprising.It is worth mentioning that, the request of this built-in terminal is sent must be for server, and server receives this request and also is bound to its decomposition.In addition, the action of above-mentioned server is carried out on backstage, uses the user of above-mentioned built-in terminal can not feel.
Is this address of step S23 identical with address of the same name in server? in this step, more above-mentioned by the address of the same name comparison in database in the chained address that obtains in request and server, judge whether these two addresses are identical, if these two addresses are identical, illustrate that the address list in this terminal is up-to-date, server no longer upgrades the address list in above-mentioned built-in terminal, directly forwards the request that above-mentioned built-in terminal is sent, execution step S24; If above-mentioned two address differences, illustrate that the address list in above-mentioned built-in terminal is old, server need to upgrade this address list, execution step S25.
Step S24 server forwards above-mentioned request: in this step, judge that due to server itself chained address of this request is effective or up-to-date, therefore, server is not made any change to this request, directly should ask to forward to this chained address.
Step S25 server accesses address list in database: in this step, the chained address that judges this request due to server itself is not effective or up-to-date, therefore, server accesses the address list in database, prepares to upgrade the chained address of this built-in terminal.
Step S26 conversion address above mentioned inventory form: due to before leave chained address in database in the time its form was made change, therefore, in this step, need to be converted into again above-mentioned terminal receives, RSS form to the form of these chained addresses.
Step S27 sends the address above mentioned inventory to built-in terminal, the address list content of new terminal more: in this step, server is issued built-in terminal with above-mentioned chained address after format conversion, upgrades the chained address of this built-in terminal, simultaneously, above-mentioned server no longer forwards this request, and built-in terminal will before the request that the send address that changes link, again send, at this moment, server starts executive program from above-mentioned steps S21 again, namely from this step, jumps to step S21.
In the present embodiment, above-mentioned steps S11 can be to be a part to step S14, and step S21 can be considered as an other part to step S27, above-mentioned two parts connect each other, but have any different, step S11 can carry out to step S27 with step S21 simultaneously to step S14, also can successively carry out, and its last purpose is that the address list in server database is updated to current effective chained address in a word.
the invention still further relates to a kind of system that makes acquiring network address for embedded terminal, in the present embodiment, as shown in Figure 2, this system comprises server 3 and the built-in terminal 1 that connects by network 2, wherein, server 3 comprises for receiving and resolve described built-in terminal 1 and sends the request receiving parsing module 31 of request, the network linking address that processing server 3 receives is converted into the processing module 34 of address list, the database 36 of address list after being used for described address list is converted to the reception Data Format Transform module 35 of the form that is suitable for storing and deposits described conversion, in addition, this server 3 also comprises be used to the data that obtain network data to be obtained module 32 and controls described data and obtain the time control module 33 of module timing working.And built-in terminal 1 comprises the request sending module 11 that is used to form and sends request, is used for receiving described server or network and sends the terminal data receiver module 12 of data.When the Webpage of above-mentioned server 3 timer access appointments, time control module 33 is controlled data and is obtained module 32 access web page, and, these data obtain module 32 and also the script file of accessed Webpage are analyzed, extract the expression formula for search that wherein represents its content chained address, and processing module 34 is carried out automatic classification to its chained address, after by reception Data Format Transform module 35, the form of these chained addresses being changed again, store switched chained address into database etc.And when above-mentioned server 3 receives terminal 1, pass through network 2 (in the present embodiment, network 2 is Wi-Fi networks, be that server 3 and built-in terminal 1 link together by Wi-Fi) send read the request of Web content the time, this request is at first by the request receiving parsing module 31 in server 3, receive this request, resolve this request, so that obtain being included in network linking address in this request, and compare the chained address of same label in this chained address of contrast and server database, if identical, server 3 directly forwards this request; , if not identical, need to upgrade this address in built-in terminal, and make built-in terminal again send request on the basis of the chained address of upgrading.
Fig. 3 is the structural representation of above-mentioned request receiving parsing module 31, in Fig. 3, this request receiving parsing signal module comprises for receiving built-in terminal 1 sends the request receiving submodule 311 of request, be used for obtaining the chained address extraction module 312 of this request chained address, be used for judge described request comprise chained address whether effectively (namely to obtain the link address of same label identical with database) address judgement submodule 313 and be converted to the RSS form and send to the transmission format conversion submodule 314 of described built-in terminal for the address list that reading database is obtained.Above-mentioned each submodule is acting on above-mentioned request successively, completes the function of above-mentioned request receiving parsing module 31.
Fig. 4 is the structural representation of processing module 34, in Fig. 4, processing module 34 comprises for the chained address that will receive by the data automatic classification submodule 341 of its automatic content classification, for according to above-mentioned chained address content, automatically generating the metadata analysis submodule 343 that the summary of about this chained address, making a summary automatically generates submodule 342 and is used for searching the linking sources address of above-mentioned chained address.These modules are to act on successively the above-mentioned chained address of obtaining equally, not only make the linking sources address of this address, and make this chained address by a labeled marker, are convenient to server 3 and look into or use this address.
In sum, in the present embodiment, from the angle of information, system is comprised of 3 sub-systems, i.e. Web information gathering subsystem, information processing subsystem and information issue subsystem.3 sub-systems are realized automation collection, intelligent processing method and the passive type issue of whole process by interface document.It is from URL that Web gathers, and by agreement, to upper other desired pages of appointment Web, expands.Obtain effective Web page info in collection, the web page information exchange that collects is crossed interface send treatment system to, and filter out more than useless information.Mode by the analog access assembly realizes and source server resource automatic interaction, system adopts the CURL access component of excellent performance, and this assembly remote access speed is fast, supports multiple network host-host protocol FTP, TFTP, HTTP, HTTPS, the access of ldap protocol, speed and the area covered by agreement of Web session have greatly been improved, so just can correctly obtain the parameter that HTTP request signal post needs, this process of obtaining is exactly the scripted code of analyzing in html file, constructs correct expression formula for search.These solicited message parameters are dynamic changes, and system is analyzed by the method for process simulation accessed web page, find out wherein rule, realize Real time request, real-time response, the available parameter that the dynamic machining restructuring is accessed.The WEB delivery system is that the hand held equipment terminal user sends the extraction request of data by the ur1 that accesses Web multidate information browser interface to Web server; At server end, Web server is analyzed client requests, if judge that finally this request is the PHP file, gives it PHP handling procedure to process; If judge finally in the function module of PHP file and comprise the database manipulation order, access corresponding database, and then reach the purpose of access database; PHP obtains from database data, carry out format conversion on request, namely is converted to the RSS form, then with the file of RSS form, gives Web server; Web server returns to it hand held equipment terminal user again.Thereby realize that built-in terminal obtains the purpose of effective chained address.
The above embodiment has only expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.Should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.

Claims (2)

1. the method for an acquiring network address for embedded terminal, is characterized in that, comprises the steps:
A) the server timing automatic that is connected with described built-in terminal is obtained the chained address on appointed website, and described chained address is stored in database by the inventory form;
B) described server sends while reading the network linking content requests at described built-in terminal and resolves described request, obtains chained address wherein, compare with the address of the same name in described database, judge whether these two addresses are identical, as identical, described server forwards described request; Otherwise, access the address list in described database, send to described built-in terminal, upgrade the address list of described built-in terminal;
Described steps A) further comprise the steps:
A1) on described server timer access named web page, and the scripted code in the analyzing web page file, expression formula for search obtained;
A2) process above-mentioned expression formula for search, and be stored in described database;
Described steps A 2) further comprise:
A21) to described expression formula for search automatic classification, autoabstract information and metadata analysis; Create text title, keyword and search link address, source, each chained address is arranged as an inventory item or an information as label take keyword or title, a described inventory item or an information are corresponding to a chained address;
A22) with steps A 21) in the data conversion format that obtains and being stored in described address list.
2. the method for acquiring network address for embedded terminal according to claim 1, is characterized in that, described built-in terminal sends request by the Wi-Fi passage to described server; Described server sends address list by the Wi-Fi passage to described built-in terminal.
CN2010102557115A 2010-08-17 2010-08-17 Method and system for acquiring network address for embedded terminal Expired - Fee Related CN101902508B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102557115A CN101902508B (en) 2010-08-17 2010-08-17 Method and system for acquiring network address for embedded terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102557115A CN101902508B (en) 2010-08-17 2010-08-17 Method and system for acquiring network address for embedded terminal

Publications (2)

Publication Number Publication Date
CN101902508A CN101902508A (en) 2010-12-01
CN101902508B true CN101902508B (en) 2013-11-20

Family

ID=43227706

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102557115A Expired - Fee Related CN101902508B (en) 2010-08-17 2010-08-17 Method and system for acquiring network address for embedded terminal

Country Status (1)

Country Link
CN (1) CN101902508B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110399228A (en) * 2018-04-24 2019-11-01 杭州海康汽车技术有限公司 A kind of automobile data recorder communication means and device
CN109618016B (en) * 2018-12-10 2022-02-22 深圳市网心科技有限公司 DNS request sending and processing method, related method and related device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6735586B2 (en) * 2000-02-08 2004-05-11 Sybase, Inc. System and method for dynamic content retrieval
CN201294571Y (en) * 2008-08-19 2009-08-19 孙宁军 Digital photo frame capable of receiving internet data
CN101547194A (en) * 2008-08-19 2009-09-30 孙宁军 Method and system for obtaining internet data by embedded type terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6735586B2 (en) * 2000-02-08 2004-05-11 Sybase, Inc. System and method for dynamic content retrieval
CN201294571Y (en) * 2008-08-19 2009-08-19 孙宁军 Digital photo frame capable of receiving internet data
CN101547194A (en) * 2008-08-19 2009-09-30 孙宁军 Method and system for obtaining internet data by embedded type terminal

Also Published As

Publication number Publication date
CN101902508A (en) 2010-12-01

Similar Documents

Publication Publication Date Title
CN102043834B (en) Method for realizing searching by utilizing client and search client
CN102812452B (en) Be used for system, server, terminal, the method for display buffer webpage and record the computer readable recording medium storing program for performing of the method
CN101370024B (en) Distributed information collection method and system
CN102654885A (en) Mobile terminal webpage adaptation system and method
CN101583072B (en) Middleware product for realizing Mobile Internet and method thereof
CN102075570B (en) Method for implementing HTTP (hyper text transport protocol) message caching mechanism based on keywords
CN101335762A (en) Method, server, terminal and system reflecting historical using behavior of webpage
CN104063460A (en) Method and device for loading webpage in browser
CN102624920A (en) Method and device for performing access through proxy server
CN101778168A (en) Method and system for optimization display of wed pages on browser of mobile terminal
CN105095280A (en) Caching method and apparatus for browser
CN102446222A (en) Method, device and system of webpage content preloading
CN101291336A (en) System and method for concurrent multimodal communication
CN102867007A (en) Webpage browsing method and device
US10402464B2 (en) Methods and apparatuses for opening a webpage, invoking a client, and creating a light application
CN102938788A (en) Processing method and device of events
CN104267974B (en) The call method and device of business interface
CN102412993A (en) Method and system for automatically displaying multiple terminals in XML (Extensive Makeup Language) interface
CN102571688B (en) Device, system and method for synchronizing browser bookmark
CN101916283A (en) Method for acquiring link information from dynamic webpage and server thereof
CN101902508B (en) Method and system for acquiring network address for embedded terminal
CN102982034A (en) Internet website information search method and search system
US10095791B2 (en) Information search method and apparatus
CN103312736B (en) Web page processing method and system and proxy server
KR20060109647A (en) Apparatus, method and system for transforming the web page not serving rss into the one serving it and for offering rss service

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20131120

Termination date: 20170817

CF01 Termination of patent right due to non-payment of annual fee