Multi-hall online on-demand system

文档序号:1395821 发布日期:2020-02-28 浏览:12次 中文

阅读说明:本技术 一种多厅在线点播系统 (Multi-hall online on-demand system ) 是由 陈勇华 李兰 王钥 宋宵 樊毅云 靖佳睿 于 2019-07-16 设计创作,主要内容包括:本发明公开了一种多厅在线点播系统,包括展现层、接口、数据处理和数据库,展现层包括数据操作和数据展示,数据操作包括影厅、排播单和节目,数据展示包括发布的排播单的数据;接口包括影厅相关的接口,排播单相关的接口,节目相关的接口、第三方数据相关的接口和数据展示的接口,所述影厅相关的接口包括增删改查影厅、设置默认影厅、设置免费影厅、影厅上下架、获取影厅下的排播单、影厅排序、验证影厅名是否重复、获取所有影厅或单个影厅选择时间点上的节目等接口;本发明采用MySQL数据库,增加了点播系统的速度,提高了点播系统的灵活性,给用户回顾经典老片提供了方便。(The invention discloses a multi-hall online on-demand system which comprises a presentation layer, an interface, data processing and a database, wherein the presentation layer comprises data operation and data presentation, the data operation comprises a movie hall, a scheduling list and a program, and the data presentation comprises data of a released scheduling list; the interfaces comprise interfaces related to a movie hall, interfaces related to a scheduling list, interfaces related to programs, interfaces related to third-party data and interfaces for data display, wherein the interfaces related to the movie hall comprise interfaces for increasing, deleting, modifying and checking the movie hall, setting a default movie hall, setting a free movie hall, getting on and off the shelf of the movie hall, acquiring the scheduling list under the movie hall, sequencing the movie hall, verifying whether names of the movie hall are repeated, and acquiring the programs on selected time points of all the movie halls or a single movie hall; the invention adopts the MySQL database, increases the speed of the on-demand system, improves the flexibility of the on-demand system and provides convenience for the user to review the classical year.)

1. A multi-hall online on-demand system is characterized in that: the system comprises a presentation layer, an interface, data processing and a database, wherein the presentation layer comprises data operation and data presentation, the data operation comprises a movie hall, a scheduling list and a program, and the data presentation comprises data of a released scheduling list;

the interfaces comprise interfaces related to a movie hall, interfaces related to a scheduling list, interfaces related to programs, interfaces related to third-party data and interfaces for data display, wherein the interfaces related to the movie hall comprise interfaces for increasing, deleting, modifying and checking the movie hall, setting a default movie hall, setting a free movie hall, getting on and off the shelf of the movie hall, acquiring the scheduling list under the movie hall, sequencing the movie hall, verifying whether names of the movie hall are repeated, and acquiring the programs on selected time points of all the movie halls or a single movie hall; the related interfaces of the scheduling list comprise interfaces of increasing, deleting, modifying, checking, scheduling list, a movie hall corresponding to the scheduling list, issuing the scheduling list, acquiring a list of the issuing scheduling list and the like, and the scheduling list, the movie hall and programs are all arranged in a correlation manner; the program related interfaces comprise interfaces for increasing, deleting, modifying and checking programs, inquiring a program scheduling list where the programs are located, sequencing the programs, verifying whether the program names are repeated and the like; the interface related to the third-party data is an interface for synchronizing program data; the data display interface comprises an interface for acquiring the data of the studio, the current program and the next program which are sequentially arranged;

the data processing comprises importing a file, timing synchronization, obtaining third-party data and updating database data, wherein the importing file obtains the third-party data through information in the file, the timing synchronization and the information obtaining between the third-party data are in one-way transmission, the obtained third-party data are transmitted to the updating database data, and the data are updated.

2. A multi-hall online-on-demand system as claimed in claim 1, wherein: and the display layer, the interface, the data processing and the data information of the database are sequentially arranged.

3. A multi-hall online-on-demand system as claimed in claim 1, wherein: the import file is a CSV file.

4. A multi-hall online-on-demand system as claimed in claim 1, wherein: the database is a MySQL database which is a relational data management system, and the SQL language used by the MySQL database is a common standardized language.

5. A multi-hall online-on-demand system as claimed in claim 1, wherein: the information between the interface and the display layer and between the interface and the data processing is bidirectional transmission, and the information between the data processing and the database is bidirectional transmission.

6. A multi-hall online-on-demand system as claimed in claim 1, wherein: the database is operated by using SpringDataJPA to realize the data adding, deleting, modifying and checking.

Technical Field

The invention relates to a video-on-demand system, in particular to a multi-hall online video-on-demand system.

Background

Nowadays, people are increasingly busy in life and work, and have few opportunities to watch television programs at specified time, and also can not go to a movie theater to watch movies frequently, and want to watch favorite television programs at free time, but the programs are not available in live television. The prior art has the following disadvantages: (1) the coupling degree of the program is higher, and the dependence on information among modules is not reduced; (2) in the process of making the JPA paging, some problems of difficult data processing can be encountered, and for different data, the processing is more complex and troublesome, which is also a disadvantage of the JPA paging; (3) when the television terminal requests data, if the amount of the requested data is too large, the response speed may be slow.

Therefore, a multi-hall online on-demand system with excellent performance becomes a problem to be solved urgently in the whole society.

Disclosure of Invention

The invention aims to solve the technical problems that the offline movie hall in the prior art is insufficient, a user lacks time to enter the movie hall for watching, and a large amount of time is wasted by normal watching.

In order to solve the technical problems, the technical scheme provided by the invention is as follows: a multi-hall online on-demand system comprises a presentation layer, an interface, data processing and a database, wherein the presentation layer comprises data operation and data presentation, the data operation comprises a movie hall, a scheduling list and a program, and the data presentation comprises data of a released scheduling list;

the interfaces comprise interfaces related to a movie hall, interfaces related to a scheduling list, interfaces related to programs, interfaces related to third-party data and interfaces for data display, wherein the interfaces related to the movie hall comprise interfaces for increasing, deleting, modifying and checking the movie hall, setting a default movie hall, setting a free movie hall, getting on and off the shelf of the movie hall, acquiring the scheduling list under the movie hall, sequencing the movie hall, verifying whether names of the movie hall are repeated, and acquiring the programs on selected time points of all the movie halls or a single movie hall; the related interfaces of the scheduling list comprise interfaces of increasing, deleting, modifying, checking, scheduling list, a movie hall corresponding to the scheduling list, issuing the scheduling list, acquiring a list of the issuing scheduling list and the like, and the scheduling list, the movie hall and programs are all arranged in a correlation manner; the program related interfaces comprise interfaces for increasing, deleting, modifying and checking programs, inquiring a program scheduling list where the programs are located, sequencing the programs, verifying whether the program names are repeated and the like; the interface related to the third-party data is an interface for synchronizing program data; the data display interface comprises an interface for acquiring the data of the studio, the current program and the next program which are sequentially arranged;

the data processing comprises importing a file, timing synchronization, obtaining third-party data and updating database data, wherein the importing file obtains the third-party data through information in the file, the timing synchronization and the information obtaining between the third-party data are in one-way transmission, the obtained third-party data are transmitted to the updating database data, and the data are updated.

Further, the data information of the presentation layer, the interface, the data processing and the database is sequentially set.

Further, the import file is a CSV file.

Further, the database is a MySQL database, which is a relational data management system, and the SQL language used by the MySQL database is a common standardized language.

Furthermore, the information between the interface and the presentation layer and between the interface and the data processing is transmitted in two directions, and the information between the data processing and the database is transmitted in two directions.

Further, the database performs database operation by using SpringDataJPA, so as to realize the data adding, deleting, modifying and checking.

Compared with the prior art, the invention has the advantages that: according to the method, the on-demand content is redefined according to the live experience, the user can freely switch between live broadcast and on-demand as required, a large number of complicated choices of the user are reduced, the method is simple and clear, and the watching experience of the user is greatly improved; meanwhile, the invention solves the problem that the television on-demand system in the prior art is tiled in a card form, and has real-time performance. The invention adopts the MySQL database, increases the speed of the on-demand system, improves the flexibility of the on-demand system and provides convenience for the user to review the classical year.

Drawings

FIG. 1 is a schematic structural diagram of a multi-hall online on-demand system according to the present invention;

FIG. 2 is a block diagram of a multi-hall online on-demand system of the present invention;

FIG. 3 is an enlarged view of a portion of FIG. 2 at A;

FIG. 4 is an enlarged view of a portion of FIG. 2 at B;

fig. 5 is a partially enlarged view at C in fig. 2.

Detailed Description

The present invention will be described in further detail with reference to the accompanying drawings.

The present invention will be described in detail with reference to the accompanying drawings.

The invention provides a multi-hall online on-demand system in specific implementation, which comprises a presentation layer, an interface, data processing and a database, wherein the presentation layer comprises data operation and data presentation, the data operation comprises a movie hall, a scheduling list and a program, and the data presentation comprises data of a released scheduling list;

the interfaces comprise interfaces related to a movie hall, interfaces related to a scheduling list, interfaces related to programs, interfaces related to third-party data and interfaces for data display, wherein the interfaces related to the movie hall comprise interfaces for increasing, deleting, modifying and checking the movie hall, setting a default movie hall, setting a free movie hall, getting on and off the shelf of the movie hall, acquiring the scheduling list under the movie hall, sequencing the movie hall, verifying whether names of the movie hall are repeated, and acquiring the programs on selected time points of all the movie halls or a single movie hall; the related interfaces of the scheduling list comprise interfaces of increasing, deleting, modifying, checking, scheduling list, a movie hall corresponding to the scheduling list, issuing the scheduling list, acquiring a list of the issuing scheduling list and the like, and the scheduling list, the movie hall and programs are all arranged in a correlation manner; the program related interfaces comprise interfaces for increasing, deleting, modifying and checking programs, inquiring a program scheduling list where the programs are located, sequencing the programs, verifying whether the program names are repeated and the like; the interface related to the third-party data is an interface for synchronizing program data; the data display interface comprises an interface for acquiring the data of the studio, the current program and the next program which are sequentially arranged;

the data processing comprises importing a file, timing synchronization, obtaining third-party data and updating database data, wherein the importing file obtains the third-party data through information in the file, the timing synchronization and the information obtaining between the third-party data are in one-way transmission, the obtained third-party data are transmitted to the updating database data, and the data are updated.

And the display layer, the interface, the data processing and the data information of the database are sequentially arranged. The import file is a CSV file. The database is a MySQL database which is a relational data management system, and the SQL language used by the MySQL database is a common standardized language. The information between the interface and the display layer and between the interface and the data processing is bidirectional transmission, and the information between the data processing and the database is bidirectional transmission. The database is operated by using SpringDataJPA to realize the data adding, deleting, modifying and checking.

The specific implementation process of the multi-hall online on-demand system comprises the following steps: when the invention is used, the rear end of the invention utilizes the technologies of SpringBoot + SpringDataJPA (JPA: Java Persistence API) + mysql to develop; the front end is developed by applying an Ant Design + fetch technology; the television terminal uses a native JavaScript + html + css technology, and a frame is automatically packaged by applying the JavaScript technology.

Firstly, the Spring boot inherits the advantages of Spring, and adds some new functions and characteristics:

(1) the SpringBoot comes along with spring4.0, and once pushed out, causes a huge reversal;

(2) literally understanding, Boot is the meaning of guiding, so that the Spring Boot helps developers to quickly build a Spring framework;

(3) the SpringBoot helps a developer to quickly start a Web container;

(4) the Spring boot inherits excellent genes of the original Spring framework;

(5) the Spring boot simplifies the process of using Spring;

(6) spring Boot brings efficiency of scripting language development for us, but Spring Boot does not have a new technology which is unexpected for us and is a common technology for Java EE developers.

Secondly, the SpringDataJPA is a sub-item of springdata, the code amount of the JPA as a Data access scheme is greatly reduced by providing the reproducibility based on the JPA, and you can complete simple CRUD (add (Create), Read query (Read), Update (Update) and Delete (Delete)) operations only by writing an interface defined inside the SpringDataJPA under the integration of an interface.

MySQL is a relational database management system, which stores data in different tables instead of putting all data in a large warehouse, thus increasing speed and flexibility.

The SQL language used by MySQL is the most common standardized language for accessing databases. MySQL software adopts a double-authorization policy and is divided into a community version and a business version, and generally MySQL is selected as a website database for development of small and medium-sized websites due to the characteristics of small volume, high speed, low total ownership cost and particularly open source codes.

Fourthly, the method comprises the following steps: through a large number of project practices and summaries, the ant golden suit experience technology part deposits a design language AntDesign which is not only a design principle, a control specification and a visual dimension, but also is matched with a front-end code implementation scheme. That is to say, after Ant Design is adopted, UI Design and front-end interface research and development can be completed synchronously, and efficiency is greatly improved. At present, the traditional Chinese medicine is adopted by Ali, Mei Tuo, Didi and simple books. Ant Design has a Web version and a Moblie version.

Fifthly: fetch is called next generation Ajax technology, and data is processed in a Promise mode. The API is a concise API and is simpler and easier to use than XMLHttpRequest.

When a page needs to request data from a server, Ajax is basically used for realizing the data. The essence of Ajax is to request data using an XMLHttpRequest object, which is the process of returning data through a pattern of events.

Like XMLHttpRequest, Fetch allows you to issue AJAX requests. The difference is that the Fetch API uses a Promise mode, and Promise is one of the contents of the ES6 which is already published formally, so that the Fetch API is a concise API and is simpler and easier to use than XMLHttpRequest.

Fetch is not yet the W3C specification and thus native support rates are not high.

Fortunately, IE8+ was perfectly supported after the introduction of these polyfils:

1. since IE8 is ES3, it is necessary to introduce ES5 polyfil, ES5-shim, ES5-sham

2. Polyfill of Promise introduction: es6-Promise3. introduce catch probe library: fetch-detector

4. Catch-ie 8 as a polyfil for introducing catch

5. And (3) optional: if you also use jsonp, catch-jsonp is introduced

6. And (3) optional: with Babel turned on, the async/await mode is now used

Sixthly, the method comprises the following steps: JavaScript is an transliterated script language, which is a dynamic type, weak type, prototype-based language and a built-in support type. Its interpreter, called JavaScript engine, is a part of the browser, a scripting language widely used on clients, and was originally used on HTML (an application under the standard universal markup language) web pages to add dynamic functionality to the HTML web pages.

In 1995, it was first designed and implemented on a Netscape navigator browser by bredan Eich of Netscape, inc. Because Netscape works with Sun, Netscape management expects it to look like Java and is therefore named JavaScript. But in practice its grammatical style is closer to Self and Scheme.

To gain technical advantages, Microsoft introduced JScript and CEnvi introduced script ease, which, like JavaScript, could run on a browser. For the sake of uniform specification, JavaScript is also called ECMAScript because it is compatible with ECMA standards.

A rear end:

and (4) constructing a rear-end framework by using a Springboot technology. Since the SpringBoot is self-contained with the web container, there is no need to use a web container like tomcat. And after the frame is built, creating a database through mysql to ensure the persistence of the data. After the frame and the database are completed, the SpringDataJPA is needed to be used for database operation, so that the data is added, deleted, modified and checked.

The television end:

the method comprises the steps of developing a page of a television end through a JavaScript frame encapsulated by a company and a DVB box which is general to broadcasting and television, calling a rear-end interface through fetch or ajax, acquiring data and displaying the data to the television end.

The television end mainly performs typesetting and layout on a movie hall, a broadcasting list and programs displayed on the television. The television end obtains the program scheduling data issued by the front end through an interface, displays the video hall, the program scheduling list and the program on the television in a multi-hall mode, and plays the program which is to be played in the current time period in real time. In each time period, the programs played in each movie hall are different, and the programs are played on line in a 24-hour cycle without interruption. The program of each charging studio can be determined by clicking, the detailed information of the program can be checked, the payment can be carried out, and the program can be watched completely after the payment.

The back end of the invention adopts the technologies to meet the requirements of online playing and on-demand of a plurality of halls, therefore, the invention adopts the interface to carry out some operations of increasing, deleting, modifying and checking on the film hall, the broadcasting list and the program, and configures different strategies according to different conditions to lead the user to have different viewing experience time. Various logic judgments are made where necessary; after start, policies, movie halls, lineups and requests for data from third parties follow; the strategies comprise a product strategy and a movie hall strategy, and users can have different movie watching experience time according to different strategies. Adding a movie hall, deleting the movie hall, modifying the movie hall and inquiring the movie hall, setting a default movie hall, setting a free movie hall, setting the movie hall on and off the shelf to acquire the broadcasting list under the movie hall, verifying whether the name of the movie hall is repeated and acquiring the programs on the selected time points of all the movie halls or a single movie hall, respectively using jpa to add, delete and modify the data of the movie hall according to the logic of addition, deletion and modification, inquiring the movie hall, inquiring the list of the movie hall according to keywords, displaying the broadcasting list information under each movie hall, and displaying all the programs without inquiring the keywords; setting a default free photo hall and a photo hall for getting on and off, wherein the photo hall can set the default free photo hall for getting on and off; but the default photo hall can not be directly put on or off the shelf and needs to be confirmed to cancel; moreover, the photo hall needs to be put on shelf to be defaulted. The method comprises the steps that (1) scheduling list information of a certain video hall in a certain month can be obtained by obtaining scheduling list information of the video hall; verifying whether the name of the photo hall is repeated or not, verifying whether the name of the photo hall is repeated or not by inputting the name of the photo hall, and acquiring the programs at the selected time points of all the photo halls or a single photo hall according to the ID of the photo hall, the starting time and the ending time so as to acquire the programs at a certain time of the single photo hall; if only according to the time, the programs of all the movie halls at a certain time can be obtained; then, whether the data of the photo studio are normally requested and returned or not is judged, if yes, the data are stored, and if not, the data are returned to the photo studio; the multicast list comprises an adding multicast list, a deleting multicast list and a modifying multicast list, and the data of the multicast list needs to be added, deleted and modified according to the added, deleted and modified multicast list; the query play list can query a list of the play list through keywords and display the movie rooms in which each play list correspondingly exists; acquiring a release list, after the broadcast list is released, inquiring the release list according to the broadcast list, and if the data of the broadcast list is requested normally, storing the data; if the data of the multicast list is not a normal request, returning the multicast list; next, program data is requested from a third party, and then the program data is operated, wherein the program data comprises a deleted program, a modified program, a queried program and an added program, and the added program, the deleted program and the modified program need to be added and deleted respectively by using jpa according to the logic of addition, deletion and modification, and the queried program can query a list of programs through keywords; meanwhile, the program also comprises the steps of inquiring the program list of the program to increase the incidence relation between the program list and the program and deleting the incidence relation between the program list and the program, wherein the incidence relation between the program list and the program can be increased, deleted and newly arranged, and if the program data belongs to a normal request, the data is normally stored; if the program data belongs to abnormal request, returning the program.

In order to meet the requirement of multi-hall continuous 24-hour cyclic online playing and on-demand, a series of lists such as a movie hall, a broadcast list, a program (film) and the like are designed and associated when a database is designed; when the scheduling list is issued, the scheduling list can be issued only when the 24-hour film exists in the scheduling list of the movie hall, and the film is displayed at the television end, and if the film does not exist, a user can select automatic completion or manual addition according to the actual situation.

The present invention and its embodiments have been described above, and the description is not intended to be limiting, and the drawings are only one embodiment of the present invention, and the actual structure is not limited thereto. In summary, those skilled in the art should appreciate that they can readily use the disclosed conception and specific embodiments as a basis for designing or modifying other structures for carrying out the same purposes of the present invention without departing from the spirit and scope of the invention as defined by the appended claims.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:视频播放方法、装置、计算机可读存储介质和计算机设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类