CN102710619B - 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
CN102710619B
CN102710619B CN201210158476.9A CN201210158476A CN102710619B CN 102710619 B CN102710619 B CN 102710619B CN 201210158476 A CN201210158476 A CN 201210158476A CN 102710619 B CN102710619 B CN 102710619B
Authority
CN
China
Prior art keywords
resource
software
resource bag
bag
web terminal
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.)
Active
Application number
CN201210158476.9A
Other languages
Chinese (zh)
Other versions
CN102710619A (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
FUZHOU BOYUAN WIRELESS NETWORK TECHNOLOGY 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 FUZHOU BOYUAN WIRELESS NETWORK TECHNOLOGY Co Ltd filed Critical FUZHOU BOYUAN WIRELESS NETWORK TECHNOLOGY 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

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 the method for PC end and WEB terminal resource Bao Yijian renewal
[technical field]
The present invention relates to technical field of the computer network, specifically refer to a kind of method realizing PC end and WEB terminal resource Bao Yijian renewal.
[background technology]
For the resource bag that software carries, current way is: if developer will issue new resource bag, is generally resource bag is dealt into the server of specifying get on, then allows client upgrade; Go in relevant information and file distribution to WEB server, so that user also can download this resource with WEB terminal simultaneously.The method there will be Railway Project below:
1, the resource bag of PC end renewal and the resource bag of WEB terminal renewal may be inconsistent, because there is the problem of difference update time, and can not be so timely;
2, resource bag maintenance process is long, and operating procedure is many, such as issues a new resources bag, server just needs to upload this resource bag, the relevant information of this resource bag newly-increased, and then WEB terminal will increase the page of this resource bag, download address etc., this needs several operating procedures;
3, owing to being operate stage by stage, operating procedure is many, causes error probability to increase.
In view of this, the present inventor furthers investigate for the defect 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 method realizing PC end and WEB terminal resource Bao Yijian renewal, greatly improves the efficiency that software resource bag is issued.
The present invention solves the problems of the technologies described above by the following technical solutions:
Realize the method for PC end and WEB terminal resource Bao Yijian renewal, comprise the steps:
Step one: create " resource Bao Yijian is new tool more ": comprising: a, to be connected with software server end by Transmission Control Protocol; After b, resource bag publisher select corresponding resource bag, the information of automatic acquisition resource bag; C, automatically set up FTP with the server depositing resource bag and be connected, resource APMB package is uploaded to the server depositing resource bag; After the success of d, files passe, by Transmission Control Protocol, the information that resource bag carries is sent to software server end with the information of automatically collecting;
Step 2: automatic connection data storehouse when software server end starts, receive all from software PC end resource inquiry request, and from lane database query resource bag lastest imformation, when receiving the resource bag order that described " resource Bao Yijian is new tool more " sends over, resource packet-related information write into Databasce database; According to the file storage address preset, calculate the url address that resource bag is deposited, write into Databasce database; By Transmission Control Protocol, the lastest imformation of resource bag is pushed to software PC and holds; By XMLRPC agreement, the lastest imformation of resource bag is notified WEB terminal;
Step 3: the XMLRPC protocol interface that software WEB terminal uses PHP to carry, when there being data to increase, during deletion, writes cache database data; The downloading page of resource bag reads data from cache database and shows;
Step 4: software PC is held when starting and is connected with server end by Transmission Control Protocol, and query resource package informatin; When receiving resource package informatin, upgrade in time interface display information.
Further, in described step one, the information of resource bag comprises: file distribution time, file size.
Further, in described step 2, the order of resource bag comprises: the order of issuing, upgrading and deleting.
The invention has the advantages that: 1, during the updating maintenance of software resource bag, effectively ensure that the data consistency of PC end and WEB terminal; 2, greatly improve the efficiency that software resource bag is issued, really accomplish " fool ", allow publish resource person " key " settle; 3, because operating procedure is few, and use instrument, greatly reduce the various problems that resource bag issuing process may be caused by manual operation.
[accompanying drawing explanation]
The invention will be further described in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is implementation method schematic flow sheet of the present invention.
[embodiment]
As shown in Figure 1, realize the method for PC end and WEB terminal resource Bao Yijian renewal, comprise the steps:
Step one: create " resource Bao Yijian is new tool more ": comprising: a, to be connected with software server end by Transmission Control Protocol; After b, resource bag publisher select corresponding resource bag, the information (comprising: file distribution time, file size etc.) of automatic acquisition resource bag; C, automatically set up FTP with the server depositing resource bag and be connected, resource APMB package is uploaded to the server depositing resource bag; After the success of d, files passe, by Transmission Control Protocol, the information that resource bag carries is sent to software server end with the information of automatically collecting;
Step 2: automatic connection data storehouse when software server end starts, receive all from software PC end resource inquiry request, and from lane database query resource bag lastest imformation, when receiving the resource bag order (comprising issue, renewal and deletion etc.) that described " resource Bao Yijian is new tool more " sends over, resource packet-related information write into Databasce database; According to the file storage address preset, calculate the url address that resource bag is deposited, write into Databasce database; By Transmission Control Protocol, the lastest imformation of resource bag is pushed to software PC and holds; By XMLRPC agreement, the lastest imformation of resource bag is notified WEB terminal;
Step 3: the XMLRPC protocol interface that software WEB terminal uses PHP to carry, when there being data to increase, during deletion, writes cache database data; The downloading page of resource bag reads data from cache database and shows.
Step 4: software PC is held when starting and is connected with server end by Transmission Control Protocol, and query resource package informatin; When receiving resource package informatin, upgrade in time interface display information.
Beneficial effect of the present invention is: 1, during the updating maintenance of software resource bag, effectively ensure that the data consistency of PC end and WEB terminal; 2, greatly improve the efficiency that software resource bag is issued, really accomplish " fool ", allow publish resource person " key " settle; 3, because operating procedure is few, and use instrument, greatly reduce the various problems that resource bag issuing process may be caused by manual operation.
The present invention uses TCP, FTP, XMLRPC, database technology, realizes the function of " key is new resources bag more ".As long as publish resource person get out related resource, click " issue ", just can realize the function of PC end and the renewal of WEB terminal source synchronous.
The foregoing is only better enforcement use-case of the present invention, be not intended to limit protection model figure of the present invention.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (3)

1. realize the method for PC end and WEB terminal resource Bao Yijian renewal, it is characterized in that: comprise the steps:
Step one: create " resource Bao Yijian is new tool more ": comprising: a, to be connected with software server end by Transmission Control Protocol; After b, resource bag publisher select corresponding resource bag, the information of automatic acquisition resource bag; C, automatically set up FTP with the server depositing resource bag and be connected, resource APMB package is uploaded to the server depositing resource bag; After the success of d, files passe, by Transmission Control Protocol, the information that resource bag carries is sent to software server end with the information of automatically collecting;
Step 2: automatic connection data storehouse when software server end starts, receive all from software PC end resource inquiry request, and from lane database query resource bag lastest imformation, when receiving the resource bag order that described " resource Bao Yijian is new tool more " sends over, resource packet-related information write into Databasce; According to the file storage address preset, calculate the url address that resource bag is deposited, write into Databasce; By Transmission Control Protocol, the lastest imformation of resource bag is pushed to software PC and holds; By XMLRPC agreement, the lastest imformation of resource bag is notified WEB terminal;
Step 3: the XMLRPC protocol interface that software WEB terminal uses PHP to carry, when there being data to increase, during deletion, writes cache database data; The downloading page of resource bag reads data from cache database and shows;
Step 4: software PC is held when starting and is connected with software server end by Transmission Control Protocol, and query resource package informatin; When receiving resource package informatin, upgrade in time interface display information.
2. realize the method for PC end and WEB terminal resource Bao Yijian renewal as claimed in claim 1, it is characterized in that: in described step one, the information of the resource bag of automatic acquisition comprises: file distribution time, file size.
3. realize the method for PC end and WEB terminal resource Bao Yijian renewal as claimed in claim 1, it is characterized in that: in described step 2, the order of resource bag comprises: the order of issuing, upgrading and deleting.
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 CN102710619A (en) 2012-10-03
CN102710619B true 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)

Families Citing this family (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
JP2017120510A (en) * 2015-12-28 2017-07-06 株式会社ダイフク Article conveyance facility

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8554749B2 (en) * 2006-10-23 2013-10-08 Adobe Systems Incorporated Data file access control

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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结构中的实现方法的分析.《中国优秀硕士学位论文全文数据库(信息科技辑)》.2009, *

Also Published As

Publication number Publication date
CN102710619A (en) 2012-10-03

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
CN102736946A (en) Batch application node deploying method and device
CN103605798A (en) Method for directly operating file stored at cloud end
CN103095819A (en) Data information pushing method and data information pushing system
CN102130959A (en) System and method for scheduling cloud storage resource
CN105677789A (en) Method and system for managing directory capacity of distributed file system
CN103297476B (en) Method and device for loading webpage game
CN102779056B (en) Remote hardware method for updating program and system
CN101796514A (en) The management method of object storage system
CN105337923A (en) Data distribution method and system, data transmitting apparatus and data receiving apparatus
CN108037937A (en) A kind of method of dynamic more new resources
CN104506367A (en) Updating management system
CN106997686B (en) Parking lot intelligent control system and control method based on programmable map
CN109669632A (en) Metadata wiring method, device and medium based on distributed objects storage system
CN105100144A (en) Application updating method and device
CN102710619B (en) Method for realizing one-key update of resource bundles of PC terminal and WEB terminal
CN102404411A (en) Data synchronization method of cloud storage system
CN105574135A (en) Universal access method and universal access system for supporting heterogeneous services
CN104361034A (en) File management method and device based on cloud storage
CN101557390A (en) Method for improving system performance by flexibly using cache technology
CN103544161A (en) Method for achieving intelligent update of song information, song selecting system and song selecting server
CN110246053A (en) The carrier binding variation and its servomechanism of power supply unit
CN105554148A (en) Automatic program updating device and method of wireless reading pen
CN103686685A (en) Wireless communication module over-the-air upgrading method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
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.