CN107707646A - SVN server management methods and system based on set-top box project - Google Patents

SVN server management methods and system based on set-top box project Download PDF

Info

Publication number
CN107707646A
CN107707646A CN201710892599.8A CN201710892599A CN107707646A CN 107707646 A CN107707646 A CN 107707646A CN 201710892599 A CN201710892599 A CN 201710892599A CN 107707646 A CN107707646 A CN 107707646A
Authority
CN
China
Prior art keywords
code
project
svn
top box
sharing
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
CN201710892599.8A
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.)
Shenzhen Jiuzhou Electric Appliance Co Ltd
Original Assignee
Shenzhen Jiuzhou Electric Appliance 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 Shenzhen Jiuzhou Electric Appliance Co Ltd filed Critical Shenzhen Jiuzhou Electric Appliance Co Ltd
Priority to CN201710892599.8A priority Critical patent/CN107707646A/en
Publication of CN107707646A publication Critical patent/CN107707646A/en
Priority to PCT/CN2018/097802 priority patent/WO2019062316A1/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/22Procedural
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44536Selecting among different versions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4431OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB characterized by the use of Application Program Interface [API] libraries
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Library & Information Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention relates to a kind of SVN server management methods and system based on set-top box project, item code on SVN servers is divided according to whether can share, mark off commonality code and portion is only stored on SVN servers, shared for multiple set-top box projects, each project is avoided to store a commonality code, so as to reduce the occupancy of SVN server storages, substantially reduce the pressure of SVN server storages and operating rate, improve SVN server operation speeds, ensure the operating efficiency of developer, attendant's puzzlement and maintenance cost are reduced simultaneously.

Description

SVN server management methods and system based on set-top box project
Technical field
The present invention relates to digital TV field, more particularly to a kind of SVN server management methods based on set-top box project And system.
Background technology
(SVN is Subversion abbreviation to SVN, is the Version of an open source code, using branch management System) server be centralized code administration core, possess all developers of project authority and be both needed to before new work is started To be obtained from SVN servers, update code resource, then gone to upload at work and submit amended code, thus reach To more same projects of people's joint development, the purpose of common source, therefore there is code update on SVN servers daily.
Each project based on set top box has a separate category on SVN servers, and each catalogue mostly include bll, The code that six layers of server, board, hal, osal, vendor.Every engineer can download in the case where having permission It is compiled and runs on server used in corresponding entry destination code to individual.
But as the continuous expansion of set-top box service, its project are also on the increase, upload code also explodes, and this all gives No matter SVN servers cause in memory space or on operating rate very big pressure so that SVN server storages are empty Between wretched insufficiency, influence SVN server operation speeds, cause the operation of SVN servers slow, the work of extreme influence to developer Efficiency, while very big puzzlement is also brought to attendant, increase maintenance cost.
The content of the invention
In view of this, it is necessary to increase for above-mentioned set-top box project and posed a big pressure to SVN servers, influence to develop The problem of efficiency, there is provided a kind of SVN server management methods and system based on set-top box project.
A kind of SVN server management methods based on set-top box project provided by the invention, comprise the following steps:
S10:Code on SVN servers is divided, sharing code and spyization code are divided into, by sharing Code is only stored a on SVN servers and is stored in the shared file folder being pre-created;
S20:For each project of set top box, a project folder, project folder are established on SVN servers For storing the special useization code of each project;
S30:When needing to be compiled project, sharing code is downloaded in being pressed from both sides by SVN servers shared file and is led to The mode for crossing soft link links sharing code, by downloading special useization code in project folder.
In one of which embodiment, the step S10 is specially:Bll, server to set-top box project, The layer identification code of board, hal, osal, vendor six is divided, and by hal, osal, vendor, this three layer identification code is divided into sharing Code, and be put into after this three layer interface is encapsulated using unification in shared file folder.
In one of which embodiment, the step S20 is specially:By this three layer identification code of bll, server, board Spyization code is divided into, and is stored in project folder.
In one of which embodiment, the step S30 is specially:Hal, osal, vendor layer of project are led to The mode of soft link is crossed, hal, osal, vendor layer linked to respectively in sharing code.
A kind of SVN server management systems based on set-top box project provided by the invention, including:
Code dividing unit, the code on SVN servers is divided, be divided into sharing code and spyization generation Code, sharing code is only stored a on SVN servers and is stored in the shared file folder being pre-created;
Project folder creating unit, for each project of set top box, a project text is established on SVN servers Part presss from both sides, and project folder is used for storing the special useization code of each project;
Item code download unit, when needing to be compiled project, downloaded altogether in being pressed from both sides by SVN servers shared file With changing code and sharing code being linked by way of soft link, by downloading special useization code in project folder.
In one of which embodiment, the code dividing unit to bll, server of set-top box project, The layer identification code of board, hal, osal, vendor six is divided, and by hal, osal, vendor, this three layer identification code is divided into sharing Code, and be put into after this three layer interface is encapsulated using unification in shared file folder.
In one of which embodiment, the code dividing unit by bll, server, board, draw by this three layer identification code It is divided into spyization code, and is stored in project folder.
In one of which embodiment, the item code download unit is by hal, osal, vendor layer of project By way of soft link, hal, osal, vendor layer for linking to respectively in sharing code.
SVN server management methods and system of the invention based on set-top box project, by the item code on SVN servers Divided according to whether can share, mark off commonality code and portion is only stored on SVN servers, for multiple machine tops Box project shares, and avoids each project from storing a commonality code, so as to reduce the occupancy of SVN server storages, The pressure of SVN server storages and operating rate is substantially reduced, SVN server operation speeds is improved, ensures developer's Operating efficiency, while reduce attendant's puzzlement and maintenance cost.
Brief description of the drawings
Fig. 1 is the flow chart of the SVN server management methods based on set-top box project in one embodiment;
Fig. 2 is the structure chart of the SVN server management systems based on set-top box project in one embodiment.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the present invention, not For limiting the present invention.
In the item code stored on SVN servers, a part of code is that each project can share and consistent, one Partial code is that each special spy of project institute uses, and the code that can be shared is referred to as into sharing code in the present invention, will be every Individual project special code be referred to as spy's useization code.Because sharing code is that each project must be used and can be total to With, it is consistent, therefore the code on SVN servers is carried out division management by the inventive method, is serviced for sharing code in SVN Device only stores portion and shared for each project, so as to reduce the occupancy of SVN server storages, improves operational efficiency.
Specifically, as shown in figure 1, this method comprises the following steps:
S10:Code on SVN servers is divided, sharing code and spyization code are divided into, by sharing Code is only stored a on SVN servers and is stored in the shared file folder being pre-created.
To be managed to the code on SVN servers, so that the occupancy of memory space can be reduced, the embodiment step pair Code on SVN servers is divided, and code is divided into sharing code and spyization code according to whether can share. The each project of special useization code shares and unanimously, spyization code is the special use of the unique system of each menu, and sundry item can not be used. For all items, sharing code only stores portion on SVN servers, is shared for all items.It is pre-created and shares text Part folder storage sharing code, is easy to search and downloads.
Specifically, each project in set top box mostly includes six layers of bll, server, board, hal, osal, vendor Code, then six layer identification codes are divided, wherein, by hal, osal, vendor, this three layer identification code is divided into sharing code, and It is put into after this three layer interface is encapsulated using unification in shared file folder.
S20:For each project of set top box, a project folder, project folder are established on SVN servers For storing the special useization code of each project.
After sharing code is marked off, there is special useization code for each project.It is fast for that can be carried out to each project The lookup of speed, this method step are that each project establishes a project folder for distinguishing each item on SVN servers Mesh, and for storing the special useization code of each project, be easy to quick lookup and store respectively.
For each project of set top box, by bll, server, board, this three layer identification code is divided into spyization code, deposits Storage is in project folder.
S30:When needing to be compiled project, sharing code is downloaded in being pressed from both sides by SVN servers shared file and is led to The mode for crossing soft link links sharing code, by downloading special useization code in project folder.
It is when developer needs to be compiled project, it is necessary to which downloading two-part code can be compiled, i.e., common With change code and special useization code.Because sharing code shares for all items, needed for the sharing code downloaded The appropriate section of each project is linked to code corresponding to sharing code by way of soft link.
Specifically, hal, osal, vendor layer of project are linked into sharing code respectively by way of soft link In hal, osal, vendor layer.
The SVN server management methods based on set-top box project, by the item code on SVN servers according to whether energy Enough share is divided, and marks off commonality code and only storage is a on SVN servers, be total to for multiple set-top box projects With avoiding each project from storing a commonality code, so as to reduce the occupancy of SVN server storages, substantially reduce The pressure of SVN server storages and operating rate, SVN server operation speeds are improved, ensure the operating efficiency of developer, Attendant's puzzlement and maintenance cost are reduced simultaneously.
Meanwhile the present invention also provides a kind of SVN server management systems based on set-top box project, as shown in Fig. 2 this is System includes:
Code dividing unit 100, the code on SVN servers is divided, be divided into sharing code and spyization Code, sharing code is only stored a on SVN servers and is stored in the shared file folder being pre-created.
To be managed to the code on SVN servers, so that the occupancy of memory space can be reduced, in the embodiment, generation Code division unit 100 is divided to the code on SVN servers, and code is divided into sharing generation according to whether can share Code and special useization code.The each project of special useization code shares and unanimously, spyization code is the special use of the unique system of each menu, Sundry item can not be used.For all items, sharing code only stores portion on SVN servers, is shared for all items. Shared file folder storage sharing code is pre-created, is easy to search and downloads.
Specifically, each project in set top box mostly includes six layers of bll, server, board, hal, osal, vendor Code, code dividing unit 100 then divide to six layer identification codes, wherein, by hal, osal, vendor this three layer identification code division For sharing code, and will this three layer interface using being put into after unified encapsulation in shared file folder.
Project folder creating unit 200, for each project of set top box, an item is established on SVN servers Mesh file, project folder are used for storing the special useization code of each project.
After sharing code is marked off, there is special useization code for each project.It is fast for that can be carried out to each project The lookup of speed, project folder creating unit 200 are that each project is established a project folder and is used on SVN servers Each project is distinguished, and for storing the special useization code of each project, is easy to quick lookup and stores respectively.
For each project of set top box, by bll, server, board, this three layer identification code divides code dividing unit 100 For spyization code, it is stored in project folder.
Item code download unit 300, when needing to be compiled project, under in SVN servers shared file folder Carry sharing code and sharing code is linked by way of soft link, by downloading special useization code in project folder.
It is when developer needs to be compiled project, it is necessary to which downloading two-part code can be compiled, i.e., common With change code and special useization code.Because sharing code shares for all items, item code download unit 300 is for downloading The sharing code to get off needs that the appropriate section of each project is linked into sharing code correspondingly by way of soft link Code.
Specifically, item code download unit 300 by hal, osal, vendor layer of project by way of soft link, Hal, osal, vendor layer linked to respectively in sharing code.
The SVN server management systems based on set-top box project, by the item code on SVN servers according to whether energy Enough share is divided, and marks off commonality code and only storage is a on SVN servers, be total to for multiple set-top box projects With avoiding each project from storing a commonality code, so as to reduce the occupancy of SVN server storages, substantially reduce The pressure of SVN server storages and operating rate, SVN server operation speeds are improved, ensure the operating efficiency of developer, Attendant's puzzlement and maintenance cost are reduced simultaneously.
These are only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and All any modification, equivalent and improvement made within principle etc., should be included in the scope of the protection.

Claims (8)

1. a kind of SVN server management methods based on set-top box project, it is characterised in that comprise the following steps:
S10:Code on SVN servers is divided, is divided into sharing code and spyization code, by sharing code Only store a and be stored in the shared file folder being pre-created on SVN servers;
S20:For each project of set top box, a project folder is established on SVN servers, project folder is used for Store the special useization code of each project;
S30:When needing to be compiled project, sharing code is downloaded in being pressed from both sides by SVN servers shared file and by soft The mode of link links sharing code, by downloading special useization code in project folder.
2. the SVN server management methods according to claim 1 based on set-top box project, it is characterised in that the step Suddenly S10 is specially:The layer identification code of bll, server, board, hal, osal, vendor six of set-top box project is divided, will This three layer identification code of hal, osal, vendor is divided into sharing code, and this three layer interface is common using being put into after unified encapsulation With in file.
3. the SVN server management methods according to claim 2 based on set-top box project, it is characterised in that the step Suddenly S20 is specially:By bll, server, board, this three layer identification code is divided into spyization code, and is stored in project folder In.
4. the SVN server management methods according to claim 3 based on set-top box project, it is characterised in that the step Suddenly S30 is specially:By hal, osal, vendor layer of project by way of soft link, link to respectively in sharing code Hal, osal, vendor layer.
A kind of 5. SVN server management systems based on set-top box project, it is characterised in that including:
Code dividing unit, the code on SVN servers is divided, be divided into sharing code and spyization code, will Sharing code is only stored a on SVN servers and is stored in the shared file folder being pre-created;
Project folder creating unit, for each project of set top box, an item file is established on SVN servers Folder, project folder are used for storing the special useization code of each project;
Item code download unit, when needing to be compiled project, sharing is downloaded in being pressed from both sides by SVN servers shared file Code simultaneously links sharing code by way of soft link, by downloading special useization code in project folder.
6. the SVN server management systems according to claim 5 based on set-top box project, it is characterised in that the generation Code division unit divides to the layer identification code of bll, server, board, hal, osal, vendor six of set-top box project, will This three layer identification code of hal, osal, vendor is divided into sharing code, and this three layer interface is common using being put into after unified encapsulation With in file.
7. the SVN server management systems according to claim 6 based on set-top box project, it is characterised in that the generation By bll, server, board, this three layer identification code is divided into spyization code to code division unit, and is stored in project folder.
8. the SVN server management systems according to claim 7 based on set-top box project, it is characterised in that the item Hal, osal, vendor layer of project by way of soft link, are linked to sharing code by mesh code download unit respectively In hal, osal, vendor layer.
CN201710892599.8A 2017-09-27 2017-09-27 SVN server management methods and system based on set-top box project Pending CN107707646A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710892599.8A CN107707646A (en) 2017-09-27 2017-09-27 SVN server management methods and system based on set-top box project
PCT/CN2018/097802 WO2019062316A1 (en) 2017-09-27 2018-07-31 Svn server management method and system for set-top box-based projects

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710892599.8A CN107707646A (en) 2017-09-27 2017-09-27 SVN server management methods and system based on set-top box project

Publications (1)

Publication Number Publication Date
CN107707646A true CN107707646A (en) 2018-02-16

Family

ID=61175188

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710892599.8A Pending CN107707646A (en) 2017-09-27 2017-09-27 SVN server management methods and system based on set-top box project

Country Status (2)

Country Link
CN (1) CN107707646A (en)
WO (1) WO2019062316A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019062316A1 (en) * 2017-09-27 2019-04-04 深圳市九洲电器有限公司 Svn server management method and system for set-top box-based projects

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101042645A (en) * 2007-01-17 2007-09-26 北京立通无限科技有限公司 Method, equipment and system for unionize software development environment
CN101453511A (en) * 2007-12-07 2009-06-10 北京闻言科技有限公司 Method for mobile phone platform UI interface adaptation
CN104572237A (en) * 2015-01-19 2015-04-29 上海动联信息技术股份有限公司 Automatic quick generation system and method for UKey installation package
CN105095089A (en) * 2015-09-14 2015-11-25 北京金山安全软件有限公司 Method and device for testing performance of application software
CN106445541A (en) * 2016-09-30 2017-02-22 华胜信泰信息产业发展有限公司 Software construction method, software construction device and software construction system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070244906A1 (en) * 2006-04-14 2007-10-18 Aptana Incorporated Collaborative Content Generation System And Method
CN107707646A (en) * 2017-09-27 2018-02-16 深圳市九洲电器有限公司 SVN server management methods and system based on set-top box project

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101042645A (en) * 2007-01-17 2007-09-26 北京立通无限科技有限公司 Method, equipment and system for unionize software development environment
CN101453511A (en) * 2007-12-07 2009-06-10 北京闻言科技有限公司 Method for mobile phone platform UI interface adaptation
CN104572237A (en) * 2015-01-19 2015-04-29 上海动联信息技术股份有限公司 Automatic quick generation system and method for UKey installation package
CN105095089A (en) * 2015-09-14 2015-11-25 北京金山安全软件有限公司 Method and device for testing performance of application software
CN106445541A (en) * 2016-09-30 2017-02-22 华胜信泰信息产业发展有限公司 Software construction method, software construction device and software construction system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019062316A1 (en) * 2017-09-27 2019-04-04 深圳市九洲电器有限公司 Svn server management method and system for set-top box-based projects

Also Published As

Publication number Publication date
WO2019062316A1 (en) 2019-04-04

Similar Documents

Publication Publication Date Title
CN107579931B (en) A kind of block chain, that is, Service Source adaptation method based on Kubernetes
CN109597661B (en) Service function configuration method and device
CN104750555B (en) Process management method and device in a kind of Android program
US9760365B2 (en) Systems, methods, and computer program products for a software build and load process using a compilation and deployment service
CN107741877A (en) A kind of method, storage medium and the processor of cloud handset starting virtual opetrating system
US9778926B2 (en) Minimizing image copying during partition updates
CN105893094A (en) Achieving method and device for application program plug-in
CN109491695A (en) A kind of increment updating method of integrated Android application
CN103984582A (en) Method and device for hot updating
CN106610853A (en) Application deployment method and device
Tavares et al. A gentle introduction to OSGi
US20130289749A1 (en) Bridging human machine interface technologies in a process automation and information management environment
WO2009043037A4 (en) Network operating system
US20120192182A1 (en) Migration of virtual machines
CN104077131A (en) Component deployment system and method
CN102339298A (en) Method, device and system for updating SQL (Structured Query Language) script metadata
CN104219329A (en) Method for deploying service through content distribution in cluster server
CN104144215A (en) Method for building Internet-of-Things ubiquitous device resource model
US10536512B2 (en) Dynamic graph adaptation for stream processing over hybrid, physically disparate analytics platforms
CN104461567A (en) Method and system for releasing software package
CN105893545A (en) Efficient Hadoop cluster deployment method
CN106301892A (en) Method for deploying, configuring and monitoring Hue service based on Apache Ambari
CN106790658A (en) A kind of Docker network plug-ins implementation method
CN105204910A (en) Script hot updating method and system
CN103645888A (en) System and method for automatically building operation system

Legal Events

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

Application publication date: 20180216

RJ01 Rejection of invention patent application after publication