Disclosure of Invention
The embodiment of the invention provides a method and a device for film resource expansion and film demand information sending, which are used for solving the problem of storage resource waste caused by blind increase of film resources in the existing film resource expansion method.
The embodiment of the invention provides a method for expanding movie resources, which comprises the following steps:
receiving acquisition request information of a target film sent by a first terminal;
searching a local database according to the film acquisition request information;
if the target film does not exist in the local database, forwarding the acquisition request information of the target film to a cloud film server;
receiving information of a target film returned by the cloud film server;
and sending the information of the target film to the first terminal.
Optionally, when the target movie does not exist in the local database, the method further includes:
and sending target film non-existence prompt information to the first terminal.
Optionally, when the target movie does not exist in the local database, the method further includes:
receiving a video file of a target film sent by a film resource server;
and sending the target film extension prompt information to the second terminal.
The embodiment of the invention provides a method for sending film demand information, which comprises the following steps:
sending an acquisition request of a target film to a local server;
receiving information of a target film sent by the local server;
and displaying the information of the target film.
Optionally, the method further comprises:
receiving target film absence prompt information sent by the local server;
sending contact information input prompt information to a user;
receiving contact information input by a user;
and sending the target film and the contact information input by the user to a second terminal.
An embodiment of the present invention provides a movie resource expansion apparatus, including:
an acquisition request information receiving unit, configured to receive acquisition request information of a target movie sent by a first terminal;
a local database searching unit, configured to search a local database according to the movie acquisition request information;
the acquisition request information forwarding unit is used for forwarding the acquisition request information of the target film to a cloud film server when the target film does not exist in the local database;
the information receiving unit of the target film is used for receiving the information of the target film returned by the cloud film server;
and the information sending unit of the target film is used for sending the information of the target film to the first terminal.
Optionally, the method further comprises:
and the absence prompt information sending unit is used for sending the absence prompt information of the target film to the first terminal when the target film does not exist in the local database.
Optionally, the method further comprises:
the video file receiving unit is used for receiving a video file of a target film sent by the film resource server;
and the extension prompt information sending unit is used for sending the extension prompt information of the target film to the second terminal.
An embodiment of the present invention provides a device for sending movie demand information, including:
an acquisition request information sending unit, configured to send an acquisition request of a target movie to a local server;
the information receiving unit of the target film is used for receiving the information of the target film sent by the local server;
and the information display unit of the target film is used for displaying the information of the target film.
Optionally, the method further comprises:
the absence prompt information receiving unit is used for receiving the absence prompt information of the target film sent by the local server;
the input prompt information sending unit is used for sending contact information input prompt information to a user;
the contact information receiving unit is used for receiving contact information input by a user;
and the movie demand information sending unit is used for sending the target movie and the contact information input by the user to a second terminal.
According to the method and the device for transmitting the film resource expansion and the film demand information, the local server receives the acquisition request information of the target film transmitted by the first terminal; searching a local database according to the film acquisition request information; if the target film does not exist in the local database, forwarding the acquisition request information of the target film to a cloud film server; receiving information of a target film returned by the cloud film server; and sending the information of the target film to the first terminal. According to the embodiment of the invention, the information of the target film can be requested from the cloud film server according to the acquisition request information of the target film triggered by the user at the first terminal, so that the film resource expansion of the local database is completed, the defect of storage resource waste caused by blind expansion of the film resource of the local database is avoided, and the film watching requirement of the user is better met.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that, the local server mentioned in the embodiment of the present invention refers to a server for storing movie resources locally in a cinema; the cloud film server refers to a server which is accessed by a local server through the Internet and stores information of a large number of films; the film resource server refers to a legal film authorization server, and can send the video file of the legal film to a local server of the cinema through authorization; the first terminal refers to a chip selector, can acquire and display information of a film from a local server, and can be a mobile phone, a tablet and other equipment; the second terminal refers to a computer or other equipment running a telecommand subsystem.
Fig. 1 is a flowchart illustrating a movie resource extension method according to an embodiment of the present invention. As shown in fig. 1, the implementation of the present invention uses a local server as an execution subject, and includes:
s11: receiving acquisition request information of a target film sent by a first terminal;
it should be noted that, in the embodiment of the present invention, a user searches for a target movie through a first terminal, and the first terminal sends an acquisition request message of the target movie to a local server; and the local server receives the acquisition request information of the target film sent by the first terminal.
S12: searching a local database according to the film acquisition request information;
it should be noted that the information of the movie in the theater is stored in the local database, and after receiving the information of the acquisition request of the target movie, the local server searches in the local database.
S13: if the target film does not exist in the local database, forwarding the acquisition request information of the target film to a cloud film server;
it should be noted that the target movie searched by the user may not be stored in the local database, and the local server forwards the acquisition request information of the target movie to the cloud movie server.
S14: receiving information of a target film returned by the cloud film server;
it should be noted that, after receiving the acquisition request of the target movie, the cloud movie server searches for information of the target movie, and sends the searched information of the target movie (such as a poster of the movie, movie actors, and a director of the movie) to the local server.
S15: sending the information of the target film to the first terminal;
it should be noted that, after receiving the information of the target movie returned by the cloud movie server, the local server sends the information of the target movie to the first terminal, so that the user can view the information of the target movie.
According to the film resource expansion method provided by the embodiment of the invention, the information of the target film can be requested from the cloud film server according to the acquisition request information of the target film triggered by the user at the first terminal, so that the film resource expansion of the local database is completed, the defect of storage resource waste caused by blind expansion of the film resource of the local database is avoided, and the film watching requirement of the user is better met.
In an optional implementation manner of the embodiment of the present invention, when the target movie does not exist in the local database, the method further includes:
and sending target film non-existence prompt information to the first terminal.
It should be noted that, when the target movie does not exist in the local database of the local server, the target movie absence prompt information is sent to the first terminal, so as to notify the user that the target movie does not exist locally in the theater, and the cloud search function needs to be started.
Further, when the target movie does not exist in the local database, the method further includes:
receiving a video file of a target film sent by a film resource server;
and sending the target film extension prompt information to the second terminal.
It should be noted that, in the embodiment of the present invention, when the target movie does not exist in the local database, the local server sends a copyright authorization request to the movie resource server, receives the video file of the target movie sent by the movie resource server, and sends the extension prompt information of the target movie to the second terminal. It can be understood that after the video file of the movie in the local server is expanded, the movie operator is reminded of the expansion of the movie resource.
Fig. 2 is a flowchart illustrating a method for sending movie requirement information according to an embodiment of the present invention. As shown in fig. 2, the embodiment of the present invention uses a first terminal as an execution main body, and includes:
s21: sending an acquisition request of a target film to a local server;
it should be noted that, in the embodiment of the present invention, a user searches for a target movie through a first terminal, and the first terminal sends information of an acquisition request of the target movie to a local server.
S22: receiving information of a target film sent by the local server;
it should be noted that the first terminal receives information of the target movie of the local server sender. The information of the target film is directly returned after the local server searches the local database, or is obtained after the local server forwards the acquisition request of the target film to the cloud film server.
S23: displaying the information of the target film;
it should be noted that the first terminal displays the information of the target movie after receiving the information of the target movie, so that the user can conveniently view the information.
According to the film demand information sending method provided by the embodiment of the invention, the information of the target film can be requested from the cloud film server according to the acquisition request information of the target film triggered by the user at the first terminal, so that the film resource expansion of the local database is completed, the defect of storage resource waste caused by blind expansion of the film resource of the local database is avoided, and the film watching demand of the user is better met.
In an optional implementation manner of the embodiment of the present invention, the method further includes:
receiving target film absence prompt information sent by the local server;
sending contact information input prompt information to a user;
receiving contact information input by a user;
and sending the target film and the contact information input by the user to a second terminal.
It should be noted that, after receiving the prompting message that the target movie does not exist, the first terminal sends a contact information input prompting message to the user to remind the user of inputting the contact information; and sending the target film and the contact information input by the user to the second terminal, and informing the cinema operator of the film watching requirement and the contact way of the user.
In practical application, for a user who logs in a member account on a chip selector, the system can acquire the contact way of the user according to the member information and send the acquired contact way of the user and a target film to the second terminal.
And the operator of the cinema sends a short message or calls to the user through the target film received by the second terminal, the contact information input by the user and the target film expansion prompt information after the target film is expanded, so that the user is informed that the user can watch the target film in the cinema.
Fig. 3 illustrates a schematic diagram of a movie demand information transmission method according to an embodiment of the present invention. The following takes fig. 3 as an example to illustrate a specific process of the method for sending the movie requirement information according to the embodiment of the present invention:
a user logs in a movie-on-demand account of the user through a first terminal 31 (a chip selector), and searches a target film, namely 'city of love'; the first terminal 31 sends the acquisition request information of the target movie to the local server 32;
the local server 32 searches a local database, and if the local database does not have a target film, namely 'city of love'), forwards the acquisition request information of the target film to the cloud film server 33;
the cloud film server 33 searches according to the name of the target film, and sends the information of the target film obtained by searching to the local server 32;
the local server 32 sends the information of the target film to the first terminal 31, and the first terminal 31 displays the information of the target film;
the first terminal 31 sends contact information input prompt information to the user, the user inputs own mobile phone number, and the mobile phone number and the target film input by the user are sent to the second terminal 34;
the operator knows the viewing requirements of the user through the video-on-demand subsystem of the second terminal 34, and after receiving the target movie extension prompt message sent by the local server 32, the operator can call to inform the user to watch the city of love.
Fig. 4 is a schematic structural diagram of a movie resource expansion apparatus according to an embodiment of the present invention. As shown in fig. 4, the apparatus of the embodiment of the present invention includes an acquisition request information receiving unit 41, a local database searching unit 42, an acquisition request information forwarding unit 43, an information receiving unit 44 of a target movie, and an information sending unit 45 of the target movie, specifically:
an acquisition request information receiving unit 41 configured to receive acquisition request information of a target movie sent by a first terminal;
a local database searching unit 42, configured to search a local database according to the movie acquisition request information;
an acquisition request information forwarding unit 43, configured to forward, when the target movie does not exist in the local database, acquisition request information of the target movie to a cloud movie server;
a target movie information receiving unit 44, configured to receive information of a target movie returned by the cloud movie server;
and an information sending unit 45 of the target movie, configured to send the information of the target movie to the first terminal.
The film resource expansion device provided by the embodiment of the invention can request the information of the target film from the cloud film server according to the acquisition request information of the target film triggered by the user at the first terminal, so that the film resource expansion of the local database is completed, the defect of storage resource waste caused by blind expansion of the film resource of the local database is avoided, and the film watching requirement of the user is better met.
In an optional implementation manner of the embodiment of the present invention, the apparatus further includes:
and the absence prompt information sending unit is used for sending the absence prompt information of the target film to the first terminal when the target film does not exist in the local database.
Further, still include:
the video file receiving unit is used for receiving a video file of a target film sent by the film resource server;
and the extension prompt information sending unit is used for sending the extension prompt information of the target film to the second terminal.
Fig. 5 is a schematic structural diagram of a movie demand information transmission apparatus according to an embodiment of the present invention. As shown in fig. 5, the apparatus of the embodiment of the present invention includes an acquisition request information sending unit 51, an information receiving unit 52 of a target movie, and an information presenting unit 53 of the target movie, specifically:
an acquisition request information sending unit 51 configured to send an acquisition request of a target movie to a local server;
an information receiving unit 52 of the target movie, configured to receive information of the target movie sent by the local server;
and an information presentation unit 53 of the target movie, configured to present information of the target movie.
The film demand information sending device provided by the embodiment of the invention can request the information of the target film from the cloud film server according to the acquisition request information of the target film triggered by the user at the first terminal, so that the film resource expansion of the local database is completed, the defect of storage resource waste caused by the blind expansion of the film resource of the local database is avoided, and the film watching demand of the user is better met.
In an optional implementation manner of the embodiment of the present invention, the apparatus further includes:
the absence prompt information receiving unit is used for receiving the absence prompt information of the target film sent by the local server;
the input prompt information sending unit is used for sending contact information input prompt information to a user;
the contact information receiving unit is used for receiving contact information input by a user;
and the movie demand information sending unit is used for sending the target movie and the contact information input by the user to a second terminal.
The apparatus of the embodiment of the present invention may be used to implement the above method embodiments, and the principle and technical effect are similar, which are not described herein again.
Fig. 6 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention.
Referring to fig. 6, the electronic device includes: a first processor (processor)61, a first memory (memory)62, and a first bus 63; wherein,
the first processor 61 and the first memory 62 communicate with each other through a first bus 63;
the first processor 61 is configured to call program instructions in the first memory 62 to execute the movie resource extension method provided by the above-described embodiments of the method.
In addition, the logic instructions in the first memory 62 may be implemented in the form of software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Fig. 7 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention.
Referring to fig. 7, the electronic device includes: a second processor (processor)71, a second memory (memory)72, and a second bus 73; wherein,
the second processor 71 and the second memory 72 complete communication with each other through a second bus 73;
the second processor 71 is configured to call program instructions in the second memory 72 to execute the movie demand information transmission method provided by the above-mentioned embodiments of the method.
In addition, the logic instructions in the second memory 72 may be implemented in the form of software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The present embodiments provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the methods provided by the above-described method embodiments.
The present embodiments provide a non-transitory computer-readable storage medium storing computer instructions that cause the computer to perform the methods provided by the method embodiments described above.
According to the method and the device for transmitting the film resource expansion and the film demand information, the local server receives the acquisition request information of the target film transmitted by the first terminal; searching a local database according to the film acquisition request information; if the target film does not exist in the local database, forwarding the acquisition request information of the target film to a cloud film server; receiving information of a target film returned by the cloud film server; and sending the information of the target film to the first terminal. According to the embodiment of the invention, the information of the target film can be requested from the cloud film server according to the acquisition request information of the target film triggered by the user at the first terminal, so that the film resource expansion of the local database is completed, the defect of storage resource waste caused by blind expansion of the film resource of the local database is avoided, and the film watching requirement of the user is better met.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It is to be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.