CN102710619A - Method for realizing one-key update of resource bundles of PC terminal and WEB terminal - Google Patents

Method for realizing one-key update of resource bundles of PC terminal and WEB terminal Download PDF

Info

Publication number
CN102710619A
CN102710619A CN2012101584769A CN201210158476A CN102710619A CN 102710619 A CN102710619 A CN 102710619A CN 2012101584769 A CN2012101584769 A CN 2012101584769A CN 201210158476 A CN201210158476 A CN 201210158476A CN 102710619 A CN102710619 A CN 102710619A
Authority
CN
China
Prior art keywords
resource packet
resource
software
database
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012101584769A
Other languages
Chinese (zh)
Other versions
CN102710619B (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.)
Baidu com Times Technology Beijing Co Ltd
Original Assignee
Fujian TQ Digital 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 Fujian TQ Digital Co Ltd filed Critical Fujian TQ Digital Co Ltd
Priority to CN201210158476.9A priority Critical patent/CN102710619B/en
Publication of CN102710619A publication Critical patent/CN102710619A/en
Application granted granted Critical
Publication of CN102710619B publication Critical patent/CN102710619B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for realizing one-key update of resource bundles of a PC terminal and a WEB terminal. The method comprises the steps of: creating 'resource bundle one-key update tool'; when a software server side is started, automatically connecting to a database, receiving all resource query request coming from the software PC terminal, and inquiring the resource bundle update information from the database; when the resource bundle command sent by the 'resource bundle one-key update tool' is received, writing the relevant information of the resource bundle into the database; according to a preset file storage address, calculating the url address stored by the resource bundle, writing the url address into the database; pushing the update information of the resource bundle to the software PC terminal by a TCP (transmission control protocol); notifying the update information of the resource bundle to the WEB terminal by an XMLRPC protocol, wherein the software WEB terminal uses the XMLRPC protocol interface of a PHP (professional hypertext preprocessor), when data is added and deleted, the data is written into a cashed database; and reading the data from the cashed database by the download page of the resource bundle to display. According to the method and the WEB terminal, the publishing efficiency of the software resource bundle is improved greatly.

Description

Realize PC end and WEB end resource packet one key method for updating
[technical field]
The present invention relates to technical field of the computer network, specifically be meant a kind of realization PC end and WEB end resource packet one key method for updating.
[background technology]
For the resource packet that software carries, present way is: if the developer will issue new resource packet, generally be to be dealt into specified server to resource packet to get on, let client upgrade then; The user to the WEB server, goes relevant information and file distribution simultaneously, so that also can download this resource with the WEB end.Several problems below this method can occur:
1, the resource packet of the resource packet of PC end renewal and the renewal of WEB end maybe be inconsistent, because there is the problem of difference update time, and can not be so timely;
2, resource packet safeguards that flow process is long, and operating procedure is many, such as new resources bag of issue; Server just need be uploaded this resource packet, the relevant information of newly-increased this resource packet, and the WEB end will increase the page of this resource packet then; Download address or the like, this needs several operating procedures;
3, owing to be to operate stage by stage, operating procedure is many, causes error probability to increase.
In view of this, the inventor furthers investigate to the defective of prior art, and has this case to produce.
[summary of the invention]
Technical problem to be solved by this invention is to provide a kind of realization PC end and WEB end resource packet one key method for updating, improves software resource bag efficiency of publishing greatly.
The present invention adopts following technical scheme to solve the problems of the technologies described above:
Realize PC end and WEB end resource packet one key method for updating, comprise the steps:
Step 1: create " resource packet one key is new tool more ": comprising: a, be connected with the software server end through Transmission Control Protocol; After b, resource packet publisher select corresponding resource packet, obtain the information of resource packet automatically; C, automatically set up FTP and be connected, upload to the resource packet file server of depositing resource packet with the server of depositing resource packet; After d, file are uploaded successfully, send to the software server end to resource packet information that carries and the information of collecting automatically through Transmission Control Protocol;
Step 2: connect database when the software server end starts automatically; Receive all from the request of software PC end resource query; And from lane database query resource bag lastest imformation; When the resource packet that said when receiving " resource packet one key is new tool more " sends over is ordered, write cdr database to the resource packet relevant information; According to the document storage address that presets, calculate the url address that resource packet is deposited, write cdr database; Through Transmission Control Protocol, be pushed to software PC end to the lastest imformation of resource packet; Through the XMLRPC agreement, notify WEB end the lastest imformation of resource packet;
Step 3: the XMLRPC protocol interface that software WEB end uses PHP to carry, increase as data, during deletion, write cache database to data; The downloading page of resource packet shows from the cache database reading of data;
Step 4: when starting, software PC end is connected with server end through Transmission Control Protocol, and the query resource package informatin; When receiving resource packet information, interface display information upgrades in time.
Further, the information of resource packet comprises in the said step 1: file distribution time, file size.
Further, the resource packet order comprises in the said step 2: issue, the order of upgrading and deleting.
The invention has the advantages that: 1, during the updating maintenance of software resource bag, effectively guaranteed the data consistency that PC end and WEB hold; 2, improve software resource bag efficiency of publishing greatly, really accomplish " foolization ", let resource publisher " key " settle; 3, because operating procedure is few, and tool using has significantly reduced the variety of issue that the resource packet issuing process possibly caused by manual operation.
[description of drawings]
Combine embodiment that the present invention is done further description with reference to the accompanying drawings.
Fig. 1 is an implementation method schematic flow sheet of the present invention.
[embodiment]
As shown in Figure 1, realize PC end and WEB end resource packet one key method for updating, comprise the steps:
Step 1: create " resource packet one key is new tool more ": comprising: a, be connected with the software server end through Transmission Control Protocol; After b, resource packet publisher select corresponding resource packet, obtain the information (comprising: file distribution time, file size etc.) of resource packet automatically; C, automatically set up FTP and be connected, upload to the resource packet file server of depositing resource packet with the server of depositing resource packet; After d, file are uploaded successfully, send to the software server end to resource packet information that carries and the information of collecting automatically through Transmission Control Protocol;
Step 2: connect database when the software server end starts automatically; Receive all from the request of software PC end resource query; And from lane database query resource bag lastest imformation; The resource packet order that said when receiving " resource packet one key is new tool more " sends over writes cdr database to the resource packet relevant information when (comprising issue, renewal and deletion etc.); According to the document storage address that presets, calculate the url address that resource packet is deposited, write cdr database; Through Transmission Control Protocol, be pushed to software PC end to the lastest imformation of resource packet; Through the XMLRPC agreement, notify WEB end the lastest imformation of resource packet;
Step 3: the XMLRPC protocol interface that software WEB end uses PHP to carry, increase as data, during deletion, write cache database to data; The downloading page of resource packet shows from the cache database reading of data.
Step 4: when starting, software PC end is connected with server end through Transmission Control Protocol, and the query resource package informatin; When receiving resource packet information, interface display information upgrades in time.
Beneficial effect of the present invention is: 1, during the updating maintenance of software resource bag, effectively guaranteed the data consistency that PC end and WEB hold; 2, improve software resource bag efficiency of publishing greatly, really accomplish " foolization ", let resource publisher " key " settle; 3, because operating procedure is few, and tool using has significantly reduced the variety of issue that the resource packet issuing process possibly caused by manual operation.
The present invention uses TCP, FTP, XMLRPC, database technology, realizes the function of " key upgrades resource packet ".Resource publisher clicks " issue " as long as be ready to related resource, just can realize the function that PC end and WEB end source synchronous are upgraded.
The above is merely preferable enforcement use-case of the present invention, is not to be used to limit protection model figure of the present invention.All within spirit of the present invention and principle, any modification of being done, be equal to replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (3)

1. realize PC end and WEB end resource packet one key method for updating, it is characterized in that: comprise the steps:
Step 1: create " resource packet one key is new tool more ": comprising: a, be connected with the software server end through Transmission Control Protocol; After b, resource packet publisher select corresponding resource packet, obtain the information of resource packet automatically; C, automatically set up FTP and be connected, upload to the resource packet file server of depositing resource packet with the server of depositing resource packet; After d, file are uploaded successfully, send to the software server end to resource packet information that carries and the information of collecting automatically through Transmission Control Protocol;
Step 2: connect database when the software server end starts automatically; Receive all from the request of software PC end resource query; And from lane database query resource bag lastest imformation; When the resource packet that said when receiving " resource packet one key is new tool more " sends over is ordered, write database to the resource packet relevant information; According to the document storage address that presets, calculate the url address that resource packet is deposited, write database; Through Transmission Control Protocol, be pushed to software PC end to the lastest imformation of resource packet; Through the XMLRPC agreement, notify WEB end the lastest imformation of resource packet;
Step 3: the XMLRPC protocol interface that software WEB end uses PHP to carry, increase as data, during deletion, write cache database to data; The downloading page of resource packet shows from the cache database reading of data;
Step 4: when starting, software PC end is connected with server end through Transmission Control Protocol, and the query resource package informatin; When receiving resource packet information, interface display information upgrades in time.
2. realization PC end as claimed in claim 1 and WEB end resource packet one key method for updating, it is characterized in that: the information of resource packet comprises in the said step 1: file distribution time, file size.
3. realization PC end as claimed in claim 1 and WEB end resource packet one key method for updating, it is characterized in that: the resource packet order comprises in the said step 2: the order of issue, renewal and deletion.
CN201210158476.9A 2012-05-21 2012-05-21 Method for realizing one-key update of resource bundles of PC terminal and WEB terminal Active CN102710619B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210158476.9A CN102710619B (en) 2012-05-21 2012-05-21 Method for realizing one-key update of resource bundles of PC terminal and WEB terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210158476.9A CN102710619B (en) 2012-05-21 2012-05-21 Method for realizing one-key update of resource bundles of PC terminal and WEB terminal

Publications (2)

Publication Number Publication Date
CN102710619A true CN102710619A (en) 2012-10-03
CN102710619B CN102710619B (en) 2015-06-10

Family

ID=46903175

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210158476.9A Active CN102710619B (en) 2012-05-21 2012-05-21 Method for realizing one-key update of resource bundles of PC terminal and WEB terminal

Country Status (1)

Country Link
CN (1) CN102710619B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103118388A (en) * 2012-12-28 2013-05-22 丰唐物联技术(深圳)有限公司 Home gateway automatic node information updating system
TWI702178B (en) * 2015-12-28 2020-08-21 日商大福股份有限公司 Article transport facility

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080097998A1 (en) * 2006-10-23 2008-04-24 Adobe Systems Incorporated Data file access control
CN101420325A (en) * 2008-11-21 2009-04-29 华为技术有限公司 Automatic deployment method, apparatus and system for software package
CN101958920A (en) * 2010-05-06 2011-01-26 浪潮电子信息产业股份有限公司 Method for establishing and applying Opensolairs IPS (Intrusion Prevention System)

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080097998A1 (en) * 2006-10-23 2008-04-24 Adobe Systems Incorporated Data file access control
CN101420325A (en) * 2008-11-21 2009-04-29 华为技术有限公司 Automatic deployment method, apparatus and system for software package
CN101958920A (en) * 2010-05-06 2011-01-26 浪潮电子信息产业股份有限公司 Method for establishing and applying Opensolairs IPS (Intrusion Prevention System)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李斌: "智能部署/更新在C/S结构中的实现方法的分析", 《中国优秀硕士学位论文全文数据库(信息科技辑)》, 15 January 2009 (2009-01-15) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103118388A (en) * 2012-12-28 2013-05-22 丰唐物联技术(深圳)有限公司 Home gateway automatic node information updating system
TWI702178B (en) * 2015-12-28 2020-08-21 日商大福股份有限公司 Article transport facility

Also Published As

Publication number Publication date
CN102710619B (en) 2015-06-10

Similar Documents

Publication Publication Date Title
CN103179185B (en) Method and system for creating files in cache of distributed file system client
CN103177116B (en) A kind of distributed information log based on two-stage index is processed and querying method
CN102799473B (en) A kind of method and device managing intelligent display device third-party application
CN102129380B (en) Server and method and mobile terminal for providing software
CN101997886B (en) Information issuing system and method
CN100514943C (en) An upgrade management method and system for instant message client
CN102736946A (en) Batch application node deploying method and device
CN102779056B (en) Remote hardware method for updating program and system
CN101504669B (en) Web application template issuing method, apparatus and system
CN103605798A (en) Method for directly operating file stored at cloud end
CN102830995B (en) A kind of Android platform software upgrade method retaining user data
CN103257958B (en) A kind of interpretation method based on cloud storage and system
CN104506367A (en) Updating management system
CN105677789A (en) Method and system for managing directory capacity of distributed file system
CN106557347A (en) Oftware updating method and device
CN105337923A (en) Data distribution method and system, data transmitting apparatus and data receiving apparatus
CN108008971A (en) A kind of offline compressed package based on HTML5 downloads the method for realizing mobile APP module upgrades
CN105100144A (en) Application updating method and device
CN101937348A (en) TV software online increment updating method
CN102404411A (en) Data synchronization method of cloud storage system
CN104361034A (en) File management method and device based on cloud storage
CN102710619B (en) Method for realizing one-key update of resource bundles of PC terminal and WEB terminal
CN103678007A (en) Method and system for deploying software in batches
CN103544161A (en) Method for achieving intelligent update of song information, song selecting system and song selecting server
CN105554148A (en) Automatic program updating device and method of wireless reading pen

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: FUZHOU BOYUAN WIRELESS NETWORK TECHNOLOGY CO., LTD

Free format text: FORMER OWNER: FUJIAN TIANQING DIGITAL CO., LTD.

Effective date: 20131112

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20131112

Address after: 350000, 403A building, four floor, Torch Innovation Building, 8 star road, Fuzhou Development Zone, Fuzhou, Fujian, China

Applicant after: Fuzhou Boyuan Wireless Network Technology Co., Ltd.

Address before: 350000 No. 8, Xing FA Road, Fuzhou Development Zone, Fuzhou, Fujian

Applicant before: Fujian TQ Digital Co.,Ltd.

C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20160106

Address after: 100000, No. two, building 17, Zhongguancun Software Park, 8 northeast Wang Xi Road, Beijing, Haidian District, A2

Patentee after: BAIDU.COM TIMES TECHNOLOGY (BEIJING) Co.,Ltd.

Address before: 350000, 403A building, four floor, Torch Innovation Building, 8 star road, Fuzhou Development Zone, Fuzhou, Fujian, China

Patentee before: Fuzhou Boyuan Wireless Network Technology Co., Ltd.