CN102279879A - Device and method for validating program source information - Google Patents

Device and method for validating program source information Download PDF

Info

Publication number
CN102279879A
CN102279879A CN2011102137293A CN201110213729A CN102279879A CN 102279879 A CN102279879 A CN 102279879A CN 2011102137293 A CN2011102137293 A CN 2011102137293A CN 201110213729 A CN201110213729 A CN 201110213729A CN 102279879 A CN102279879 A CN 102279879A
Authority
CN
China
Prior art keywords
module
program source
source information
url
uniform 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.)
Pending
Application number
CN2011102137293A
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.)
WONHE TECHNOLOGY (SHENZHEN) Co Ltd
Original Assignee
WONHE TECHNOLOGY (SHENZHEN) 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 WONHE TECHNOLOGY (SHENZHEN) Co Ltd filed Critical WONHE TECHNOLOGY (SHENZHEN) Co Ltd
Priority to CN2011102137293A priority Critical patent/CN102279879A/en
Publication of CN102279879A publication Critical patent/CN102279879A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a device for validating program source information. The device comprises a storage module and a validation module, wherein the storage module is used for providing a program source information record; and the validation module is used for validating the effectiveness of the program source information record and storing a validation result into the storage module. The invention also discloses a method for validating the program source information. The invention has the advantages that: the effectiveness of the program source information which is provided by a user is guaranteed; by the device and the method, the program source information record can be validated within short time; the validation efficiency of the program source information is improved; and occupation of the network bandwidth of a server in the internet is reduced.

Description

The device and method of checking program source information
Technical field
The present invention relates to the internet information treating apparatus, relate to a kind of device of verifying program source information especially; The invention still further relates to the internet information disposal route, relate to a kind of method of verifying program source information especially.
Background technology
Information in the internet is fast changing, the operator of each website is for the purpose of managing programm source file, sometimes need to change the deposit position of program source file, this device that has just caused some to store program source information record can't provide effective program source information to the user.
Summary of the invention
An object of the present invention is to provide a kind of device of verifying program source information, it can verify program source information, and the validity of the program source information that provides to the user has been provided.
The present invention solves the problems of the technologies described above the technical scheme that is adopted: construct a kind of device of verifying program source information, comprising: memory module is used to provide program source information record; Authentication module is used for verifying the validity of described program source information record and will verifying that the result stores described memory module into.
In the device of checking program source information of the present invention, described authentication module comprises: module for reading and writing is used for reading the URL(uniform resource locator) of described program source information record and according to the validity information of described URL(uniform resource locator) described URL(uniform resource locator) being operated accordingly from described memory module; Transceiver module is used for the server communication according to described URL(uniform resource locator) and internet; Analysis module, the validity that is used to define specified request and given content and judges described URL(uniform resource locator); Control module is used to control the operation of described module for reading and writing, described transceiver module and described analysis module.
In the device of above-mentioned checking program source information, described transceiver module also is used for sending specified request and receiving given content from described server to described server.
In the device of above-mentioned checking program source information, described authentication module also comprises: clock signal generating module is used for providing clock signal to control module.
In the device of above-mentioned checking program source information, described control module also is used for the time of start-of-record program receiving source file and is used for controlling when arriving at the fixed time described transceiver module stopping to receive described program source file.
Another object of the present invention provides a kind of method of verifying program source information, and it can verify program source information, and the authenticity of the program source information that provides to the user has been provided.
The present invention solves the problems of the technologies described above the technical scheme that is adopted: construct a kind of method of verifying program source information, comprise authentication module and memory module, described memory module has been stored program source information record, said method comprising the steps of: (A) server communication in described authentication module and the internet; (B) information that receives from described server by checking of described authentication module verify the validity of described program source information record and with described validity information stores to described memory module.
In the method for checking program source information of the present invention, described authentication module comprises transceiver module, module for reading and writing, analysis module and control module, and described method is further comprising the steps of: (a1) described module for reading and writing reads the URL(uniform resource locator) of described program source information record and according to the validity information of described URL(uniform resource locator) described URL(uniform resource locator) is operated accordingly from described memory module; (a2) described transceiver module according to the server communication in described URL(uniform resource locator) and the internet also; (a3) described analysis module definition specified request and given content and judge the validity of described URL(uniform resource locator); (a4) described module for reading and writing is written to the described validity information of described URL(uniform resource locator) in the described memory module.
In the method for above-mentioned checking program source information, described method is further comprising the steps of: (C) described transceiver module sends specified request and receives given content from described server to described server.
In the method for above-mentioned checking program source information, also comprise clock signal generating module, described method is further comprising the steps of: (D) clock signal generating module clocking and provide clock signal to described control module.
In the method for above-mentioned checking program source information, described method is further comprising the steps of: (E) time of described control module start-of-record program receiving source file and control described transceiver module when arriving at the fixed time and stop to receive described program source file.
The invention has the beneficial effects as follows, the validity of the program source information that provides to the user has been provided, simultaneously, the apparatus and method of checking program source information of the present invention can be finished the checking of program source information record at short notice, have improved the verification efficiency of program source information and have reduced taking the network bandwidth of server in the internet.
Description of drawings
The invention will be further described below in conjunction with drawings and Examples, in the accompanying drawing:
Fig. 1 is the block diagram of the device of checking program source information of the present invention;
Fig. 2 is the block diagram of first embodiment of authentication module among Fig. 1;
Fig. 3 is the block diagram of second embodiment of authentication module among Fig. 1;
Fig. 4 is the process flow diagram of first embodiment of the method for checking program source information of the present invention;
Fig. 5 is the process flow diagram of second embodiment of the method for checking program source information of the present invention.
Embodiment
With reference to figure 1, Fig. 1 is the block diagram of the device of checking program source information of the present invention.The device of checking program source information of the present invention comprises authentication module 101 and memory module 102.Authentication module 101 electrically connects with memory module 102.Memory module 102 is external memory storages, stored program source information record on it, each program source information record comprises at least one URL(uniform resource locator) (URL, Uniform Resource Locator), and this URL(uniform resource locator) is pointed to the webpage that program is provided.Authentication module 101 is used for communicating by letter with the website (server) of internet and verifies the validity of the URL(uniform resource locator) of program source information record, and the validity information of this URL(uniform resource locator) is written in the respective program source information record of this memory module 102, perhaps, keep this URL(uniform resource locator) or invalid URL(uniform resource locator) left out from this program source information record.
With reference to figure 2, Fig. 2 is the block diagram of first embodiment of authentication module 101 among Fig. 1.Authentication module 101 of the present invention comprises transceiver module 202, module for reading and writing 204, control module 203 and analysis module 201.Module for reading and writing 204 electrically connects with memory module 102, transceiver module 202, analysis module 201 and control module 203, control module 203 electrically connects with module for reading and writing 204, analysis module 201 and transceiver module 202, and transceiver module 202 and analysis module 201 electrically connect.Transceiver module 202 is used for connecting/disconnecting with the website (server) of internet being connected and sending specified request/reception given content; Analysis module 201 is used for whether receiving validity and definition specified request and the given content that given content is judged relevant URL(uniform resource locator) according to transceiver module 202, this specified request is used for indicating the server of transceiver module request internet to make corresponding action, as indicate a certain data designated of Server Transport, do not transmit a certain data designated, this given content is used for indicating transceiver module to receive given content from this server; Module for reading and writing 204 is used for searching program source information record and reading URL(uniform resource locator) this program source information record from memory module 102, and the program source information in the memory module 102 record carried out mark according to validity, the validity information that is about to URL(uniform resource locator) is written in the memory module, perhaps keep effective URL(uniform resource locator), delete invalid URL(uniform resource locator); Control module 203 is used to control the operation of transceiver module 202, analysis module 201 and read module 204.In the present embodiment, the given content of analysis module 201 definition comprises first given content and second given content, the request of analysis module 201 definition comprises first specified request and second specified request, first specified request and the first given content correspondence, second specified request and the second given content correspondence, wherein, first given content is the picture of webpage, CSS (cascading style sheet) (CSS), animation (Flash), sound, link relevant source code etc. with program source, second given content refers to the data of the predetermined byte number of program source file, for example the data of 32 bytes; Data such as the picture that first specified request and first given content are used to indicate transceiver module 202 not receive webpage, CSS, animation, sound, link relevant source code and program source file and receive only with program source, second specified request and second given content are used to indicate transceiver module 202 to receive only the byte of the predetermined quantity of program source file.Because can judge just based on this fact of data of the predetermined quantity byte that receives the program source file whether this program source file is that promptly whether this URL(uniform resource locator) is effective reliably.When transceiver module 202 received the byte of this predetermined quantity, control module 203 control transceiver modules 202 disconnected and being connected of server immediately.Like this, transceiver module 202 just can be finished the collecting work of the validity foundation of a program source information record at short notice, thereby has improved the efficient of program source Information Authentication, in addition, can also reduce taking the server network bandwidth resources.
With reference to figure 3, Fig. 3 is the block diagram of second embodiment of authentication module 101 among Fig. 1.Present embodiment is the improvement of making on the basis of above-mentioned first embodiment, authentication module 101 also comprises clock signal generating module 301, clock signal generating module 301 electrically connects control module 203, this clock signal generating module 301 is used for clocking, this clock signal is sent to control module 203, and control module 203 is utilized the reception of 202 pairs of program source files of this clock signal control transceiver module.In the present embodiment, the given content of analysis module 201 definition is the 3rd given contents, analysis module 201 also defines the 3rd specified request, the 3rd specified request is corresponding with the 3rd given content, wherein, the 3rd given content refer to webpage picture, CSS, animation, sound, link relevant source code etc. with program source, data such as the picture that the 3rd given content is used to indicate transceiver module 202 not receive webpage, CSS, animation, sound link relevant source code and program source file and receive only with program source.In this case, the clock signal control transceiver module 202 that the control module 203 of present embodiment generates according to clock signal generating module 301, the moment that transceiver module 202 begins the server program receiving source file from the internet was designated as for first schedule time, first schedule time and second schedule time are separated by a set time, when second schedule time arrived, transceiver module 202 stopped the server program receiving source file from the internet under the control of control module 203.Because transceiver module 202 does not know when this stops the program receiving source file, if transceiver module 202 is enough to judge whether effectively this URL(uniform resource locator) still continues the program receiving source file after the data of program source file receiving, can cause the waste of resource so, be unfavorable for verifying efficiently program source information, therefore, the device of the checking program source information of present embodiment helps improving the efficient of program source Information Authentication and reduces taking the server network bandwidth.
With reference to figure 4, Fig. 4 is the process flow diagram of first embodiment of the method for checking program source information of the present invention.In step 401, control module 203 control module for reading and writing 204 are searched program source information record from memory module 102, particularly, control module 203 begins to search program source information record to trigger pip of module for reading and writing 204 transmissions to trigger module for reading and writing 204 from memory module 102.In step 402, module for reading and writing 204 reads the URL(uniform resource locator) in the program source information record and this URL(uniform resource locator) is sent to transceiver module 202.In step 403, transceiver module 202 connects according to corresponding website (server) in this URL(uniform resource locator) and the internet.Does transceiver module 202 judge whether connection successful in step 404? if, then enter step 406, otherwise, enter step 405, surpass predetermined value if connect number of times, promptly connect all time and again and get nowhere, then enter step 412, otherwise, turn back to step 403.In step 406, transceiver module 202 sends first specified request to server, and this first specified request is indicated a certain data designated of this Server Transport, does not transmit another data designated.In step 407, the data that transceiver module 202 sends according to the given content reception server.In step 408, transceiver module 202 judges whether to receive this given content predetermined data, the data of program source file predetermined byte number? if, then enter step 409, otherwise, turn back to step 407, up to receiving this given content predetermined data, promptly till the data of program source file predetermined byte number.Transceiver module 202 sends to analysis module 201 with received given content.In step 409, transceiver module 202 disconnections are connected with this server.In step 410, analysis module 201 is analyzed the given content that receives from transceiver module 202.In step 411, whether analysis module 201 successfully receives the second given content predetermined data according to transceiver module 202 is judged whether the URL(uniform resource locator) in the above-mentioned program source information record is effective, if effectively, then enter step 413, otherwise, then enter step 412.In step 413, module for reading and writing 204 is labeled as this URL(uniform resource locator) in the program source information record effectively in memory module 102, perhaps keeps this URL(uniform resource locator).In step 412, it is invalid that module for reading and writing 204 is labeled as this URL(uniform resource locator) in the program source information record in memory module 102, perhaps deletes this URL(uniform resource locator).
With reference to figure 5, Fig. 5 is the process flow diagram of second embodiment of the method for checking program source information of the present invention.In step 501, control module 203 control module for reading and writing 204 are searched program source information record from memory module 102, comprise at least one URL(uniform resource locator) in this program source information record.In step 502, module for reading and writing 204 reads the URL(uniform resource locator) in the program source information record and this URL(uniform resource locator) is sent to transceiver module 202.In step 503, transceiver module 202 connects with this URL(uniform resource locator) corresponding server.In step 504, transceiver module 202 judges whether connection is successful, if, then enter step 506, otherwise, step 505 entered.In step 505, transceiver module 202 judges whether connect number of times has surpassed predetermined value, as 3 times, if, then enter step 513, otherwise, step 503 then returned.In step 506, transceiver module 202 sends request to this server, and this request is first specified request.In step 507, transceiver module 202 sends second request to this server, and this second request is used for announcement server and does not transmit web page contents, and only transmits the content of second given content regulation.In step 508, transceiver module 202 reception servers are according to replying that this notification message is done, i.e. the program source file that sends of transceiver module 202 reception servers.In step 508, the time of control module 203 start-of-record program receiving source files.Transceiver module 202 sends to analysis module 201 with this given content after receiving this given content.In step 509, whether control module 203 judges schedule time mistake, promptly whether arrives for second schedule time, if, then enter step 510, otherwise, turn back to step 507.In step 510, transceiver module 202 disconnects under the control of control module 203 and being connected of this server.In step 511, whether analysis module 201 bases receive the program source file is judged whether the URL(uniform resource locator) in the above-mentioned program source information record is effective, even analysis module 201 receives the partial programme source file, can think that then this URL(uniform resource locator) is effective, if analysis module 201 does not receive any data of program source file, can think that then this URL(uniform resource locator) is invalid.In step 512, if this URL(uniform resource locator) is effective, then enter step 514, otherwise, enter step 513.In step 514, module for reading and writing is labeled as the URL(uniform resource locator) in the program source information record effectively in memory module 102, perhaps this URL(uniform resource locator) is retained in this program source information record.In step 513, it is invalid that module for reading and writing 204 is labeled as the URL(uniform resource locator) in the program source information record in memory module 102, perhaps this URL(uniform resource locator) left out from this program source information record.
Some embodiments of the present invention have more than been described; to those skilled in the art; under the prerequisite that does not break away from the principle of the invention and spirit, can make some modifications or conversion to the present invention, modifications more of the present invention or conversion are all dropped within protection scope of the present invention.

Claims (10)

1. a device of verifying program source information is characterized in that, comprising:
Memory module is used to provide program source information record;
Authentication module is used for verifying the validity of described program source information record and will verifying that the result stores described memory module into.
2. the device of checking program source information according to claim 1 is characterized in that, described authentication module comprises:
Module for reading and writing is used for reading the URL(uniform resource locator) of described program source information record and according to the validity information of described URL(uniform resource locator) described URL(uniform resource locator) being operated accordingly from described memory module;
Transceiver module is used for the server communication according to described URL(uniform resource locator) and internet;
Analysis module, the validity that is used to define specified request and given content and judges described URL(uniform resource locator);
Control module is used to control the operation of described module for reading and writing, described transceiver module and described analysis module.
3. the device of checking program source information according to claim 2 is characterized in that, described transceiver module also is used for sending specified request and receiving given content from described server to described server.
4. the device of checking program source information according to claim 2 is characterized in that, described authentication module also comprises: clock signal generating module is used for providing clock signal to control module.
5. the device of checking program source information according to claim 4, it is characterized in that described control module also is used for the time of start-of-record program receiving source file and is used for controlling when arriving at the fixed time described transceiver module stopping to receive described program source file.
6. a method of verifying program source information is characterized in that, comprises authentication module and memory module, and described memory module has been stored program source information record, said method comprising the steps of:
(A) server communication in described authentication module and the internet;
(B) information that receives from described server by checking of described authentication module verify the validity of described program source information record and with described validity information stores to described memory module.
7. the method for checking program source information according to claim 6 is characterized in that described authentication module comprises transceiver module, module for reading and writing, analysis module and control module, and described method is further comprising the steps of:
(a1) described module for reading and writing reads the URL(uniform resource locator) of described program source information record and according to the validity information of described URL(uniform resource locator) described URL(uniform resource locator) is operated accordingly from described memory module;
(a2) described transceiver module according to the server communication in described URL(uniform resource locator) and the internet also;
(a3) described analysis module definition specified request and given content and judge the validity of described URL(uniform resource locator);
(a4) described module for reading and writing is written to the described validity information of described URL(uniform resource locator) in the described memory module.
8. the method for checking program source information according to claim 7 is characterized in that, described method is further comprising the steps of: (C) described transceiver module sends specified request and receives given content from described server to described server.
9. the method for checking program source information according to claim 7 is characterized in that, also comprises clock signal generating module, and described method is further comprising the steps of:
(D) clock signal generating module clocking and provide clock signal to described control module.
10. the method for checking program source information according to claim 9 is characterized in that, described method is further comprising the steps of:
(E) time of described control module start-of-record program receiving source file and control described transceiver module when arriving at the fixed time and stop to receive described program source file.
CN2011102137293A 2011-07-28 2011-07-28 Device and method for validating program source information Pending CN102279879A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011102137293A CN102279879A (en) 2011-07-28 2011-07-28 Device and method for validating program source information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011102137293A CN102279879A (en) 2011-07-28 2011-07-28 Device and method for validating program source information

Publications (1)

Publication Number Publication Date
CN102279879A true CN102279879A (en) 2011-12-14

Family

ID=45105321

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011102137293A Pending CN102279879A (en) 2011-07-28 2011-07-28 Device and method for validating program source information

Country Status (1)

Country Link
CN (1) CN102279879A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109348284A (en) * 2018-11-28 2019-02-15 深圳市创维软件有限公司 A kind of channel playback method, device, equipment and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852418A (en) * 2006-04-27 2006-10-25 中国移动通信集团公司 Mobile television television broadcasting control system and broadcasting network and method
CN101014083A (en) * 2006-11-28 2007-08-08 俞鹏里 Network TV terminal and information server system thereof
CN101035281A (en) * 2007-04-19 2007-09-12 鲍东山 Classified content auditing system
CN101340449A (en) * 2008-08-15 2009-01-07 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and method for obtaining network access information
US20090300475A1 (en) * 2008-06-03 2009-12-03 Google Inc. Web-based system for collaborative generation of interactive videos
CN101646078A (en) * 2009-08-31 2010-02-10 中国网通集团宽带业务应用国家工程实验室有限公司 Method and system based on application-layer multicast for processing streaming media data
CN101854249A (en) * 2010-02-01 2010-10-06 深圳市同洲电子股份有限公司 Internet information application method, system and terminal based on one-way broadcasting network

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852418A (en) * 2006-04-27 2006-10-25 中国移动通信集团公司 Mobile television television broadcasting control system and broadcasting network and method
CN101014083A (en) * 2006-11-28 2007-08-08 俞鹏里 Network TV terminal and information server system thereof
CN101035281A (en) * 2007-04-19 2007-09-12 鲍东山 Classified content auditing system
US20090300475A1 (en) * 2008-06-03 2009-12-03 Google Inc. Web-based system for collaborative generation of interactive videos
CN101340449A (en) * 2008-08-15 2009-01-07 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and method for obtaining network access information
CN101646078A (en) * 2009-08-31 2010-02-10 中国网通集团宽带业务应用国家工程实验室有限公司 Method and system based on application-layer multicast for processing streaming media data
CN101854249A (en) * 2010-02-01 2010-10-06 深圳市同洲电子股份有限公司 Internet information application method, system and terminal based on one-way broadcasting network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109348284A (en) * 2018-11-28 2019-02-15 深圳市创维软件有限公司 A kind of channel playback method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN103389969B (en) A kind of methods, devices and systems for mobile terminal preview pdf document
CN103095769B (en) Across method of data synchronization and the system of machine room
CN104660635B (en) Message synchronization method, device and system
CN101110987B (en) System and method for implementing short message group sending
CN102110124B (en) Method, device and system for subscribing RSS
CN103731499B (en) Terminal and document transmission method
CN105827706A (en) Information push device and method
CN110222116B (en) Control method and device for transaction data storage and storage medium
CN103765423A (en) Gathering transaction data associated with locally stored data files
CN102890631A (en) Method for transmitting message based on persistent message queue and message transmission device
CN111158933A (en) Distributed transaction processing method and system based on message queue
CN104394475A (en) Streaming media file playing method and media player
CN103716139B (en) A kind of information pushing treating method and apparatus
CN105657677A (en) Short message sending method, short message gateway and service platform
CN105022694A (en) Test case generation method and system for mobile terminal test
CN110493302A (en) A kind of document transmission method, equipment and computer readable storage medium
US8880108B2 (en) Short message processing method and apparatus
CN101022473B (en) Method for automatic, identifying plate card configration and generating local data in exchanger
CN103678423A (en) Data file input system, device and method
CN105468502A (en) Log collection method, device and system
CN102279879A (en) Device and method for validating program source information
KR101767122B1 (en) Internet messaging based alert service processing apparatus and operating method thereof
US11146571B2 (en) Data transmission method, apparatus, terminal device, and medium
CN106559470A (en) A kind of method for pushing and device of account information
CN101072182B (en) Network content update synchronizing method, device and system

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: 20111214