CN104320435B - A kind of Cloud Server control method and system - Google Patents
A kind of Cloud Server control method and system Download PDFInfo
- Publication number
- CN104320435B CN104320435B CN201410514204.7A CN201410514204A CN104320435B CN 104320435 B CN104320435 B CN 104320435B CN 201410514204 A CN201410514204 A CN 201410514204A CN 104320435 B CN104320435 B CN 104320435B
- Authority
- CN
- China
- Prior art keywords
- demand
- mobile terminal
- audio
- video
- equipment
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 238000012795 verification Methods 0.000 claims description 250
- 238000005516 engineering process Methods 0.000 claims description 28
- 238000004891 communication Methods 0.000 claims description 20
- 230000002194 synthesizing effect Effects 0.000 claims 1
- 230000000694 effects Effects 0.000 description 5
- 239000004065 semiconductor Substances 0.000 description 4
- 230000001360 synchronised effect Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 2
- 238000003786 synthesis reaction Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/61—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
- H04L65/612—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the invention discloses a kind of Cloud Server control methods, including:Mobile terminal sends order request to Cloud Server;Cloud Server is that mobile terminal distributes Anytime device and identifying code;Mobile terminal exports identifying code to destination server, when the identifying code of mobile terminal output is the identifying code in correspondence, opens Anytime device, mobile terminal sends the first checking request to Anytime device;Anytime device sends the second checking request to destination server;Destination server verifies mobile terminal according to correspondence;When receiving the prompt message being proved to be successful, data information of the Anytime device to the audio/video on-demand subsystem of mobile terminal synchronization Anytime device;Mobile terminal sends the control instruction to audio/video on-demand subsystem according to data information to Anytime device;Anytime device controls audio/video on-demand subsystem according to control instruction.Using the embodiment of the present invention, the audio/video on-demand subsystem of mobile terminal control Anytime device may be implemented.
Description
Technical Field
The invention relates to the technical field of internet, in particular to a cloud server control method and system.
Background
With the increasing standard of living, various digital entertainment on-demand devices are present in various entertainment venues, and users can request songs, videos and the like through the on-demand devices. For example, in an entertainment place KTV, a user may request a song to be sung on a requesting device, and when the user requests the corresponding song, the requesting device may obtain the corresponding song from an audio/video requesting subsystem and play the song. In the prior art, when a user requests a song or a video, the user needs to operate on the requesting device, and when more users are entertaining, each user needs to perform the requesting operation on the requesting device, so that the user needs to spend longer time and the requesting efficiency is lower.
Disclosure of Invention
The embodiment of the invention provides a cloud server control method and system, which can realize that a mobile terminal controls an audio and video on-demand subsystem of on-demand equipment, and are convenient to operate and high in on-demand efficiency.
The embodiment of the invention provides a cloud server control method, which comprises the following steps:
the method comprises the steps that a mobile terminal sends an order request to a cloud server, wherein the order request comprises a terminal identification of the mobile terminal;
the cloud server distributes on-demand equipment and a verification code for the mobile terminal, and returns an equipment identifier of the on-demand equipment and the verification code to the mobile terminal;
the cloud server establishes a corresponding relation among the terminal identification of the mobile terminal, the equipment identification of the on-demand equipment and the verification code, and sends the corresponding relation to a target server;
the mobile terminal outputs the verification code to the target server;
the target server verifies the verification code output by the mobile terminal, and when the verification code output by the mobile terminal is the verification code in the corresponding relation, the on-demand equipment is started;
when the mobile terminal needs to control the on-demand equipment, the mobile terminal sends a first verification request to the on-demand equipment, wherein the first verification request comprises a terminal identifier of the mobile terminal;
the on-demand equipment sends a second verification request to the target server according to the first verification request, wherein the second verification request comprises a terminal identifier of the mobile terminal and an equipment identifier of the on-demand equipment;
the target server verifies the terminal identification of the mobile terminal according to the corresponding relation, and when the terminal identification of the mobile terminal is the terminal identification in the corresponding relation, prompt information of successful verification is returned to the on-demand equipment;
when the on-demand equipment receives the prompt information of successful verification returned by the target server, the on-demand equipment synchronizes data information of an audio and video on-demand subsystem of the on-demand equipment to the mobile terminal;
the mobile terminal sends a control instruction for the audio and video on-demand subsystem to the on-demand equipment according to the data information;
and the on-demand equipment controls the audio-video on-demand subsystem according to the control instruction.
Correspondingly, the embodiment of the invention also provides a cloud server control system, which comprises a mobile terminal, a cloud server, a target server and a video-on-demand device, wherein,
the mobile terminal is used for sending an order request to the cloud server, wherein the order request comprises a terminal identifier of the mobile terminal;
the cloud server is used for distributing the on-demand equipment and the verification code for the mobile terminal and returning the equipment identification of the on-demand equipment and the verification code to the mobile terminal;
the cloud server is further used for establishing a corresponding relation among the terminal identification of the mobile terminal, the equipment identification of the on-demand equipment and the verification code, and sending the corresponding relation to a target server;
the mobile terminal also outputs the verification code to the target server;
the target server is used for verifying the verification code output by the mobile terminal, and when the verification code output by the mobile terminal is the verification code in the corresponding relation, the on-demand equipment is started;
the mobile terminal is further used for sending a first verification request to the on-demand equipment when the mobile terminal needs to control the on-demand equipment, wherein the first verification request comprises a terminal identifier of the mobile terminal;
the on-demand equipment is used for sending a second verification request to the target server according to the first verification request, wherein the second verification request comprises a terminal identifier of the mobile terminal and an equipment identifier of the on-demand equipment;
the target server is used for verifying the terminal identification of the mobile terminal according to the corresponding relation, and when the terminal identification of the mobile terminal is the terminal identification in the corresponding relation, the target server returns prompt information of successful verification to the on-demand equipment;
the on-demand equipment is also used for synchronizing data information of an audio and video on-demand subsystem of the on-demand equipment to the mobile terminal when receiving the prompt message of successful verification returned by the target server;
the mobile terminal is also used for sending a control instruction for the audio and video on-demand subsystem to the on-demand equipment according to the data information;
the on-demand equipment is also used for controlling the audio-video on-demand subsystem according to the control instruction.
In the embodiment of the invention, a mobile terminal sends an order request to a cloud server, the cloud server distributes a request device and a verification code for the mobile terminal according to the order request and returns distribution information to the mobile terminal, meanwhile, the cloud server establishes a corresponding relation among a terminal identifier of the mobile terminal, a device identifier of the request device and the verification code and sends the corresponding relation to a target server, the mobile terminal outputs the verification code to the target server, when the output verification code is the verification code in the corresponding relation, the request device is started, when the mobile terminal needs to control the request device, a first verification request is sent to the request device, the request device sends a second verification request to the target server according to the first verification request, the target server verifies the terminal identifier of the mobile terminal according to the corresponding relation, when the mobile terminal passes the verification, the request device synchronizes data information of an audio and video on demand subsystem of the request device to the mobile terminal, the mobile terminal can send a control instruction for the audio and video on-demand subsystem to the on-demand equipment according to the data information, and the on-demand equipment realizes the control for the audio and video on-demand subsystem according to the control instruction. In the embodiment, after the mobile terminal passes the verification, the on-demand equipment synchronizes the data information to the mobile terminal, and the mobile terminal can realize the control operation of the audio and video on-demand subsystem of the on-demand equipment according to the data information, so that a user can not only request on the on-demand equipment, but also request on the mobile terminal, the time spent on requesting is reduced, the on-demand efficiency is improved, and the operation is convenient.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a cloud server control method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of another cloud server control method according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of another cloud server control method according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of another cloud server control method according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a cloud server control system according to an embodiment of the present invention;
Detailed Description
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, 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.
Fig. 1 is a schematic flow chart of a cloud server control method according to an embodiment of the present invention; as shown in fig. 1, the cloud server control method according to this embodiment includes the steps of:
101, a mobile terminal sends an order request to a cloud server, wherein the order request comprises a terminal identifier of the mobile terminal;
in a specific embodiment, the mobile terminal may be a mobile phone, a tablet computer, a personal computer, or the like. The order request may be a box order, a singing order, etc., and the on-demand device may be a digital audio-visual terminal. The mobile terminal establishes network connection with the cloud server through a wireless network or a cellular network and communicates with the cloud server, the mobile terminal sends an order request to the cloud server, the order request comprises a terminal identifier of the mobile terminal, and the terminal identifier can be the equipment model of the mobile terminal. Further, the order request may further include a time period of the reservation and a reservation merchant identifier.
102, the cloud server allocates a video-on-demand device and a verification code for the mobile terminal, and returns a device identifier of the video-on-demand device and the verification code to the mobile terminal;
in a specific embodiment, the cloud server communicates with the mobile terminal through a network, receives an order request sent by the mobile terminal, and allocates corresponding on-demand devices to the mobile terminal, where a specific allocation manner may be that the cloud server queries, from a target server corresponding to a subscription merchant identifier, subscription information of all on-demand devices, where the subscription information may include use state information of each on-demand device, for example, whether the on-demand device is being used, whether the on-demand device is subscribed or is idle, and the like. And the cloud server distributes the on-demand equipment to the mobile terminal according to the use state information of each on-demand equipment and returns the equipment identification of the on-demand equipment to the mobile terminal. The jukebox device may be a box of jukeboxes, and thus the device identification of the jukebox device may be the box number of the box.
Further, the cloud server also allocates a verification code for the mobile terminal, the verification code is unique, and the verification code is mainly used for verifying the consumption authority of the mobile terminal before the consumption of the mobile terminal.
103, the cloud server establishes a corresponding relationship among the terminal identifier of the mobile terminal, the device identifier of the on-demand device and the verification code, and sends the corresponding relationship to a target server;
in a specific embodiment, the cloud server establishes a corresponding relationship among a terminal identifier of the mobile terminal, a device identifier of the on-demand device allocated to the mobile terminal, and a verification code of the on-demand device allocated to the mobile terminal, wherein the three are in one-to-one correspondence, and the cloud server sends the corresponding relationship to the target server. It should be noted that the mobile terminal is also only capable of controlling the operation of the jukebox device, and thus establishes a correspondence between the two.
104, the mobile terminal outputs the verification code to the target server;
in a specific embodiment, when a user holds a mobile terminal to perform entertainment consumption, the consumption authority needs to be verified, the mobile terminal outputs a verification code to a target server of a corresponding merchant, and a specific output mode may be to log in a web portal of the target server of the merchant and output the verification code on a corresponding web page.
105, the target server verifies the verification code output by the mobile terminal, and when the verification code output by the mobile terminal is the verification code in the corresponding relation, the on-demand equipment is started;
in a specific embodiment, the target server verifies the verification code after receiving the verification code output by the mobile terminal, and the target server stores in advance a corresponding relationship among the terminal identifier of the mobile terminal, the device identifier of the on-demand device, and the verification code, which is sent by the cloud server, so that the mobile terminal can verify the verification code output by the mobile terminal by using the corresponding relationship, and if the verification code output by the mobile terminal is the verification code in the corresponding relationship, the on-demand device corresponding to the on-demand device in the corresponding relationship is started.
106, when the mobile terminal needs to control the on-demand device, the mobile terminal sends a first verification request to the on-demand device, where the first verification request includes a terminal identifier of the mobile terminal;
in a specific embodiment, when a user holds a mobile terminal to perform entertainment consumption, that is, when the mobile terminal is within a preset distance range from a video-on-demand device and needs to control the video-on-demand device, the mobile terminal sends a first verification request to the video-on-demand device, where the first verification request includes a terminal identifier of the mobile terminal.
Specifically, the communication between the mobile terminal and the video-on-demand device may be based on Near Field Communication (NFC) technology, or may be based on bluetooth technology, or may be based on WIreless-Fidelity (WI-FI) technology, where the mobile terminal performs WIreless communication through an Access Point (AP).
The NFC technology is also called short-range wireless communication, and is a short-range high-frequency wireless communication technology that allows non-contact point-to-point data transmission between electronic devices. The technology evolved from contactless radio frequency identification, and was developed by philips semiconductors (now eniumps semiconductors), nokia and sony, and its foundation is contactless radio frequency identification and interconnection technology. NFC IS a short-range high-frequency radio technology and IS currently passing ISO/IEC IS18092 international standard, EMCA-340 standard and ETSI TS 102190 standard. NFC employs both active and passive read modes.
107, the on-demand device sends a second verification request to the target server according to the first verification request, where the second verification request includes the terminal identifier of the mobile terminal and the device identifier of the on-demand device;
in a specific embodiment, after receiving a first verification request sent by a mobile terminal, an on-demand device sends a second verification request to a target server according to the first verification request, where the target server may be a private server of a merchant, for example, a server owned by the merchant in KTV. The communication between the mobile terminal and the target server may be based on a wireless local area network. Specifically, the method for the on-demand device to generate the second verification request according to the first verification request may be that the terminal identifier of the mobile terminal is analyzed from the first verification request, and the terminal identifier of the mobile terminal and the device identifier of the on-demand device are repackaged to obtain the second verification request, or the on-demand device directly adds the device identifier of the on-demand device in the first verification request and sends the second verification request to the target server.
108, the target server verifies the terminal identification of the mobile terminal according to the corresponding relationship, and when the terminal identification of the mobile terminal is the terminal identification in the corresponding relationship, a prompt message of successful verification is returned to the on-demand equipment;
in a specific embodiment, the target server prestores a corresponding relationship among the terminal identifier of the mobile terminal, the equipment identifier of the on-demand equipment and the verification code, when the target server receives a second verification request, the terminal identifier of the mobile terminal and the equipment identifier of the on-demand equipment are analyzed from the second verification request and are matched with the prestored corresponding relationship, if the matching is consistent, the mobile terminal is indicated to have the authority for controlling the on-demand equipment, and the target server immediately returns prompt information of successful verification to the on-demand equipment.
109, when the on-demand equipment receives the prompt information of successful verification returned by the target server, the on-demand equipment synchronizes data information of an audio and video on-demand subsystem of the on-demand equipment to the mobile terminal;
in a specific embodiment, when the on-demand device receives prompt information that verification is successful and returned by the target server, the on-demand device synchronizes data information of an audio and video on-demand subsystem of the on-demand device to the mobile terminal, and a specific synchronization mode may be based on a bluetooth technology, an NFC technology, a wireless WIFI technology, or the like.
The data information of the audio and video on-demand subsystem of the on-demand equipment can be an on-demand list of the audio and video on-demand subsystem, such as a song on-demand list; the data information can also be real-time audio/video stream being played by the on-demand equipment; the data information may also be volume information of an audio-video on-demand subsystem of the on-demand device, and so on. The user can operate the mobile terminal to realize the control of the audio and video on-demand subsystem of the on-demand equipment according to the data information.
110, the mobile terminal sends a control instruction to the audio and video on-demand subsystem to the on-demand equipment according to the data information;
in a specific embodiment, the mobile terminal sends a control instruction for the audio/video on-demand subsystem to the on-demand equipment according to the synchronized data information. The control instruction may be an operation on a song-on-demand list, such as requesting a new song, or deleting a song already requested, or cutting a song, etc. The control instruction may also be to control the playing volume of the audio-video-on-demand subsystem, for example, to turn the playing volume up or down, and so on. Further, the control instruction may be to send a play special sound, for example, to send a clapping special sound.
Furthermore, the user can record audio information through the mobile terminal, for example, the user can also sing towards a microphone of the mobile terminal, the mobile terminal synthesizes the recorded audio information and the real-time audio and video stream sent by the on-demand equipment to obtain a target real-time audio and video stream, and sends the obtained target real-time audio and video stream to the playing equipment for playing, so that the user can not only sing through the dedicated microphone of the on-demand equipment, but also sing through the mobile terminal.
And 111, the on-demand equipment controls the audio-video on-demand subsystem according to the control instruction.
In a specific embodiment, the on-demand equipment controls the audio-video on-demand subsystem according to the control instruction, for example, if the control instruction is operation control over an on-demand list of the audio-video on-demand subsystem, the on-demand equipment updates the on-demand list of the audio-video on-demand subsystem according to the control instruction; if the control instruction is a control instruction for adjusting the playing volume of the audio and video on-demand subsystem, the on-demand equipment adjusts the playing volume of the audio and video on-demand subsystem; and if the control instruction is an instruction for playing the target real-time audio and video stream recorded by the mobile terminal, the on-demand equipment plays the target real-time audio and video stream.
In the embodiment of the invention, a mobile terminal sends an order request to a cloud server, the cloud server distributes a request device and a verification code for the mobile terminal according to the order request and returns distribution information to the mobile terminal, meanwhile, the cloud server establishes a corresponding relation among a terminal identifier of the mobile terminal, a device identifier of the request device and the verification code and sends the corresponding relation to a target server, the mobile terminal outputs the verification code to the target server, when the output verification code is the verification code in the corresponding relation, the request device is started, when the mobile terminal needs to control the request device, a first verification request is sent to the request device, the request device sends a second verification request to the target server according to the first verification request, the target server verifies the terminal identifier of the mobile terminal according to the corresponding relation, when the mobile terminal passes the verification, the request device synchronizes data information of an audio and video on demand subsystem of the request device to the mobile terminal, the mobile terminal can send a control instruction for the audio and video on-demand subsystem to the on-demand equipment according to the data information, and the on-demand equipment realizes the control for the audio and video on-demand subsystem according to the control instruction. In the embodiment, after the mobile terminal passes the verification, the on-demand equipment synchronizes the data information to the mobile terminal, and the mobile terminal can realize the control operation of the audio and video on-demand subsystem of the on-demand equipment according to the data information, so that a user can not only request on the on-demand equipment, but also request on the mobile terminal, the time spent on requesting is reduced, the on-demand efficiency is improved, and the operation is convenient.
Fig. 2 is a schematic flow chart of another cloud server control method according to an embodiment of the present invention; as shown in fig. 2, another cloud server control method according to this embodiment includes the steps of:
a mobile terminal sends an order request to a cloud server, wherein the order request comprises a terminal identifier of the mobile terminal;
202, the cloud server allocates a video-on-demand device and a verification code for the mobile terminal, and returns a device identifier of the video-on-demand device and the verification code to the mobile terminal;
203, the cloud server establishes a corresponding relationship among the terminal identifier of the mobile terminal, the device identifier of the on-demand device and the verification code, and sends the corresponding relationship to a target server;
204, the mobile terminal outputs the verification code to the target server;
205, the target server verifies the verification code output by the mobile terminal, and when the verification code output by the mobile terminal is the verification code in the corresponding relationship, the on-demand equipment is started;
206, when the mobile terminal needs to control the on-demand device, the mobile terminal sends a first verification request to the on-demand device, where the first verification request includes a terminal identifier of the mobile terminal;
207, the on-demand device sends a second verification request to the target server according to the first verification request, where the second verification request includes the terminal identifier of the mobile terminal and the device identifier of the on-demand device;
208, the target server verifies the terminal identifier of the mobile terminal according to the corresponding relationship, and returns a prompt message of successful verification to the on-demand equipment when the terminal identifier of the mobile terminal is the terminal identifier in the corresponding relationship;
please refer to steps 101 to 108 in fig. 1 for steps 201 to 208 of this embodiment, which are not described herein.
209, when the on-demand equipment receives the prompt message of successful verification returned by the target server, the on-demand equipment synchronizes data information of an audio and video on-demand subsystem of the on-demand equipment to the mobile terminal; the data information of the audio and video on-demand subsystem comprises an on-demand list of the audio and video on-demand subsystem;
in a specific embodiment, when the on-demand device receives the prompt message that the verification is successful, which is returned by the target server, it indicates that the mobile terminal has the authority to control the on-demand device, so that the on-demand device synchronizes data information of an audio and video on-demand subsystem of the on-demand device to the mobile terminal, where the data information includes, but is not limited to, an on-demand list of the audio and video on-demand subsystem. For example, the on-demand song list may include songs that can be requested by the audio-video on-demand subsystem, songs that have been requested, and so on.
210, the mobile terminal sends a control instruction for the on-demand list of the audio and video on-demand subsystem to the on-demand equipment according to the on-demand list of the audio and video on-demand subsystem;
in a specific embodiment, the mobile terminal displays a request list of an audio/video request subsystem synchronized by the request device, and the user can perform operation control on the request list on the mobile terminal, for example, delete a song that has been requested, request a song that can be requested, and the like. And after the user operates the on-demand list, the mobile terminal sends a control instruction for the on-demand list of the audio and video on-demand subsystem to the on-demand equipment, and the control instruction represents some operations of the user on the on-demand list.
211, the on-demand equipment updates the on-demand list of the audio-video on-demand subsystem according to the control instruction.
In a specific embodiment, after receiving a control instruction sent by the mobile terminal, the on-demand equipment analyzes the control instruction, obtains a control operation represented by the control instruction, and updates an on-demand list of the audio/video on-demand subsystem. For example, if the operation instruction is to request a new song, the newly requested song is added to the already requested song, and if the operation instruction is to delete the already requested song, the corresponding song is deleted from the corresponding already requested song list.
In the embodiment of the invention, a mobile terminal sends an order request to a cloud server, the cloud server distributes a request device and a verification code for the mobile terminal according to the order request and returns distribution information to the mobile terminal, meanwhile, the cloud server establishes a corresponding relation among a terminal identifier of the mobile terminal, a device identifier of the request device and the verification code and sends the corresponding relation to a target server, the mobile terminal outputs the verification code to the target server, when the output verification code is the verification code in the corresponding relation, the request device is started, when the mobile terminal needs to control the request device, a first verification request is sent to the request device, the request device sends a second verification request to the target server according to the first verification request, the target server verifies the terminal identifier of the mobile terminal according to the corresponding relation, when the mobile terminal passes the verification, the request device synchronizes data information of an audio and video on demand subsystem of the request device to the mobile terminal, the mobile terminal can send a control instruction for the audio and video on-demand subsystem to the on-demand equipment according to the data information, and the on-demand equipment realizes the control for the audio and video on-demand subsystem according to the control instruction. In the embodiment, after the mobile terminal passes the verification, the on-demand equipment synchronizes the data information to the mobile terminal, and the mobile terminal can realize the control operation of the audio and video on-demand subsystem of the on-demand equipment according to the data information, so that a user can not only request on the on-demand equipment, but also request on the mobile terminal, the time spent on requesting is reduced, the on-demand efficiency is improved, and the operation is convenient.
Fig. 3 is a schematic flow chart of another cloud server control method according to an embodiment of the present invention; as shown in fig. 3, a further cloud server control method according to this embodiment includes the steps of:
301, a mobile terminal sends an order request to a cloud server, wherein the order request comprises a terminal identifier of the mobile terminal;
302, the cloud server allocates a video-on-demand device and a verification code for the mobile terminal, and returns a device identifier of the video-on-demand device and the verification code to the mobile terminal;
303, the cloud server establishing a corresponding relationship among the terminal identifier of the mobile terminal, the device identifier of the on-demand device and the verification code, and sending the corresponding relationship to a target server;
304, the mobile terminal outputs the verification code to the target server;
305, the target server verifies the verification code output by the mobile terminal, and when the verification code output by the mobile terminal is the verification code in the corresponding relation, the on-demand equipment is started;
306, when the mobile terminal needs to control the on-demand device, the mobile terminal sends a first verification request to the on-demand device, where the first verification request includes a terminal identifier of the mobile terminal;
307, the on-demand device sends a second verification request to the target server according to the first verification request, wherein the second verification request comprises the terminal identifier of the mobile terminal and the device identifier of the on-demand device;
308, the target server verifies the terminal identification of the mobile terminal according to the corresponding relationship, and when the terminal identification of the mobile terminal is the terminal identification in the corresponding relationship, the target server returns prompt information of successful verification to the on-demand equipment;
referring to steps 101 to step S108 of the embodiment shown in fig. 1, steps 301 to 308 of this embodiment are not described herein again.
309, when the on-demand equipment receives the prompt message of successful verification returned by the target server, the on-demand equipment synchronizes data information of an audio and video on-demand subsystem of the on-demand equipment to the mobile terminal; the data information of the audio and video on-demand subsystem comprises the current playing volume of the audio and video on-demand subsystem;
in a specific embodiment, when the on-demand device receives the prompt message that the verification is successful, which is returned by the target server, it indicates that the mobile terminal has the authority to control the on-demand device, so that the on-demand device synchronizes data information of an audio and video on-demand subsystem of the on-demand device to the mobile terminal, where the data information includes, but is not limited to, the current playing volume of the audio and video on-demand subsystem.
310, the mobile terminal sends a control instruction for adjusting the playing volume of the audio and video on-demand subsystem to the on-demand equipment according to the current playing volume of the audio and video on-demand subsystem;
in a specific embodiment, the mobile terminal displays the current playing volume of the audio/video on-demand subsystem, and the user can perform operation control on the playing volume of the audio on-demand subsystem on the mobile terminal, for example, turning the playing volume up or turning the playing volume down. When the user operates and controls the playing volume, the mobile terminal sends a control instruction for adjusting the playing volume of the audio and video on-demand subsystem to the on-demand equipment, and the control instruction represents some operations of the user on the playing volume.
And 311, the on-demand equipment adjusts the playing volume of the audio-video on-demand subsystem according to the control instruction.
In a specific embodiment, after receiving a control instruction sent by the mobile terminal, the on-demand equipment analyzes the control instruction, obtains a control operation represented by the control instruction, and adjusts the play volume of the audio/video on-demand subsystem. For example, if the operation instruction is to turn up the playing volume, the playing volume of the audio/video on-demand subsystem is turned up, and if the operation instruction is to turn down the playing volume, the playing volume of the audio/video on-demand subsystem is turned down.
In the embodiment of the invention, a mobile terminal sends an order request to a cloud server, the cloud server distributes a request device and a verification code for the mobile terminal according to the order request and returns distribution information to the mobile terminal, meanwhile, the cloud server establishes a corresponding relation among a terminal identifier of the mobile terminal, a device identifier of the request device and the verification code and sends the corresponding relation to a target server, the mobile terminal outputs the verification code to the target server, when the output verification code is the verification code in the corresponding relation, the request device is started, when the mobile terminal needs to control the request device, a first verification request is sent to the request device, the request device sends a second verification request to the target server according to the first verification request, the target server verifies the terminal identifier of the mobile terminal according to the corresponding relation, when the mobile terminal passes the verification, the request device synchronizes data information of an audio and video on demand subsystem of the request device to the mobile terminal, the mobile terminal can send a control instruction for the audio and video on-demand subsystem to the on-demand equipment according to the data information, and the on-demand equipment realizes the control for the audio and video on-demand subsystem according to the control instruction. In the embodiment, after the mobile terminal passes the verification, the on-demand equipment synchronizes the data information to the mobile terminal, and the mobile terminal can realize the control operation of the audio and video on-demand subsystem of the on-demand equipment according to the data information, so that a user can not only request on the on-demand equipment, but also request on the mobile terminal, the time spent on requesting is reduced, the on-demand efficiency is improved, and the operation is convenient.
Fig. 4 is a schematic flow chart illustrating a cloud server control method according to another embodiment of the present invention; as shown in fig. 4, a further cloud server control method according to this embodiment includes the steps of:
401, a mobile terminal sends an order request to a cloud server, wherein the order request comprises a terminal identifier of the mobile terminal;
402, the cloud server allocates a video-on-demand device and a verification code for the mobile terminal, and returns a device identifier of the video-on-demand device and the verification code to the mobile terminal;
403, the cloud server establishes a corresponding relationship among the terminal identifier of the mobile terminal, the device identifier of the on-demand device, and the verification code, and sends the corresponding relationship to a target server;
404, the mobile terminal outputs the verification code to the target server;
405, the target server verifies the verification code output by the mobile terminal, and when the verification code output by the mobile terminal is the verification code in the corresponding relation, the on-demand equipment is started;
406, when the mobile terminal needs to control the on-demand device, the mobile terminal sends a first verification request to the on-demand device, where the first verification request includes a terminal identifier of the mobile terminal;
407, the on-demand device sends a second verification request to the target server according to the first verification request, where the second verification request includes the terminal identifier of the mobile terminal and the device identifier of the on-demand device;
408, the target server verifies the terminal identifier of the mobile terminal according to the corresponding relationship, and returns a prompt message of successful verification to the on-demand device when the terminal identifier of the mobile terminal is the terminal identifier in the corresponding relationship;
referring to steps 101 to 108 of the embodiment shown in fig. 1, steps 401 to 408 of the present embodiment are not described herein again.
409, when the on-demand equipment receives the prompt information that the verification is successful and returned by the target server, the on-demand equipment synchronizes data information of an audio and video on-demand subsystem of the on-demand equipment to the mobile terminal; the data information of the audio and video on demand subsystem comprises real-time audio and video stream played by the audio and video on demand subsystem;
in a specific embodiment, when the on-demand device receives prompt information that verification is successful, which is returned by the target server, the on-demand device indicates that the mobile terminal has the authority to control the on-demand device, so that the on-demand device synchronizes data information of an audio and video on-demand subsystem of the on-demand device to the mobile terminal, the data information includes but is not limited to real-time audio and video streams played by the audio and video on-demand subsystem, and synchronizing the real-time audio and video streams to the mobile terminal can ensure that a user pays attention to the audio and video played by the on-demand device in real time, for example, in KTV, the user can also watch the.
410, the mobile terminal calls a recording device to record the real-time audio information of the user;
in a specific embodiment, the mobile terminal may invoke the recording device, record the real-time audio information of the user by using the microphone, and enable the user to participate in the entertainment activity through the mobile terminal.
411, the mobile terminal performs synthesis processing on the real-time audio information and the real-time audio/video stream played by the audio/video on-demand subsystem to obtain a target real-time audio/video stream, and synchronizes the target real-time audio/video stream to the on-demand equipment;
in the specific embodiment, the mobile terminal synthesizes the recorded real-time audio information with the real-time audio and video stream played by the audio and video on-demand subsystem to form the target real-time audio and video stream, and synchronizes the target real-time audio and video stream to the on-demand equipment, so that the sound effect same as singing by using a microphone can be achieved when a user sings through the mobile terminal.
And 412, playing the target real-time audio and video stream by the on-demand equipment.
In a specific embodiment, the on-demand equipment receives a target real-time audio and video stream sent by the mobile terminal and plays the target real-time audio and video stream.
In the embodiment of the invention, a mobile terminal sends an order request to a cloud server, the cloud server distributes a request device and a verification code for the mobile terminal according to the order request and returns distribution information to the mobile terminal, meanwhile, the cloud server establishes a corresponding relation among a terminal identifier of the mobile terminal, a device identifier of the request device and the verification code and sends the corresponding relation to a target server, the mobile terminal outputs the verification code to the target server, when the output verification code is the verification code in the corresponding relation, the request device is started, when the mobile terminal needs to control the request device, a first verification request is sent to the request device, the request device sends a second verification request to the target server according to the first verification request, the target server verifies the terminal identifier of the mobile terminal according to the corresponding relation, when the mobile terminal passes the verification, the request device synchronizes data information of an audio and video on demand subsystem of the request device to the mobile terminal, the mobile terminal can send a control instruction for the audio and video on-demand subsystem to the on-demand equipment according to the data information, and the on-demand equipment realizes the control for the audio and video on-demand subsystem according to the control instruction. In the embodiment, after the mobile terminal passes the verification, the on-demand equipment synchronizes the data information to the mobile terminal, and the mobile terminal can realize the control operation of the audio and video on-demand subsystem of the on-demand equipment according to the data information, so that a user can not only request on the on-demand equipment, but also request on the mobile terminal, the time spent on requesting is reduced, the on-demand efficiency is improved, and the operation is convenient.
The following describes a specific implementation of the cloud server control system provided by the embodiment of the present invention.
Referring to fig. 5, which is a schematic view of a cloud server control system provided by the present invention, as shown in the figure, the cloud server control system includes a cloud server 50, a target server 51, a video-on-demand device 52, and at least one mobile terminal, in this embodiment, a mobile terminal 53 and a mobile terminal 54 are used as examples for description. The cloud server 50 and the target server 51 are in data communication through the internet, the cloud server 50, the mobile terminal 53 and the mobile terminal 54 are in data communication through the internet, the target server 51 and the on-demand equipment 52 are in data communication through a wireless local area network, and the mobile terminal and the on-demand equipment 52 are in data communication through Bluetooth or WIFI.
The mobile terminal is configured to send an order request to the cloud server 50, where the order request includes a terminal identifier of the mobile terminal;
the mobile terminal can be a mobile phone, a tablet computer, a personal computer and the like. The order request may be a box order, a singing order, etc., and the jukebox device 52 may be a digital audio-visual terminal. The mobile terminal establishes network connection with the cloud server 50 through a wireless network or a cellular network and communicates with the cloud server 50, and sends an order request to the cloud server 50, where the order request includes a terminal identifier of the mobile terminal, and the terminal identifier may be a device model of the mobile terminal. Further, the order request may further include a time period of the reservation and a reservation merchant identifier.
The cloud server 50 is configured to allocate the on-demand device 52 and the verification code to the mobile terminal, and return the device identifier of the on-demand device 52 and the verification code to the mobile terminal;
optionally, the cloud server 50 communicates with the mobile terminal through a network, the cloud server 50 receives an order request sent by the mobile terminal, and allocates the corresponding on-demand devices 52 to the mobile terminal, a specific allocation manner may be that the cloud server 50 queries, from the target server 51 corresponding to the subscribed merchant identifier, subscription information of all the on-demand devices 52, where the subscription information may include use state information of each on-demand device 52, for example, whether the on-demand device is being used, whether the on-demand device is subscribed or is idle, and the like. The cloud server 50 allocates the on-demand devices 52 to the mobile terminal according to the use state information of each on-demand device 52, and returns the device identifiers of the on-demand devices 52 to the mobile terminal. The jukebox device 52 may be a box of jukeboxes 52, and thus the device identification for the jukebox device 52 may be the box number for the box.
Further, the cloud server 50 also allocates a verification code to the mobile terminal, where the verification code is unique, and the verification code is mainly used to verify the consumption right of the mobile terminal before the consumption of the mobile terminal.
The cloud server 50 is further configured to establish a corresponding relationship between the terminal identifier of the mobile terminal, the device identifier of the on-demand device 52, and the verification code, and send the corresponding relationship to the target server 51;
optionally, the cloud server 50 establishes a correspondence relationship among the terminal identifier of the mobile terminal, the device identifier of the on-demand device 52 allocated to the mobile terminal, and the verification code of the on-demand device 52 allocated to the mobile terminal, where the correspondence relationship is a one-to-one correspondence relationship, and the cloud server 50 sends the correspondence relationship to the target server 51. It should be noted that the mobile terminal is also only capable of controlling the operation of the jukebox device 52, and thus establishing a correspondence between the two.
The mobile terminal also outputs the verification code to the target server;
optionally, when the user holds the mobile terminal to perform entertainment consumption, the consumption authority needs to be verified, and the mobile terminal outputs the verification code to the target server 51 of the corresponding merchant, where the specific output mode may be to log in a web portal of the target server 51 of the merchant and output the verification code on the corresponding web page.
The target server 51 is configured to verify the verification code output by the mobile terminal, and when the verification code output by the mobile terminal is a verification code in the corresponding relationship, the on-demand device 52 is turned on;
optionally, the target server 51 verifies the verification code after receiving the verification code output by the mobile terminal, and the target server 51 prestores a corresponding relationship between the terminal identifier of the mobile terminal, the device identifier of the on-demand device 52, and the verification code, which are sent by the cloud server 50, so that the mobile terminal can verify the verification code output by the mobile terminal by using the corresponding relationship, and if the verification code output by the mobile terminal is the verification code in the corresponding relationship, the on-demand device 52 corresponding to the on-demand device identifier in the corresponding relationship is turned on.
The mobile terminal is further configured to send a first verification request to the on-demand device 52 when the mobile terminal needs to control the on-demand device, where the first verification request includes a terminal identifier of the mobile terminal;
optionally, in a specific embodiment, when a user holds the mobile terminal to perform entertainment consumption, that is, when the mobile terminal is within a preset distance range from the on-demand device and needs to control the on-demand device, the mobile terminal sends a first verification request to the on-demand device, where the first verification request includes a terminal identifier of the mobile terminal.
Specifically, the communication between the mobile terminal and the video-on-demand device may be based on Near Field Communication (NFC) technology, or may be based on bluetooth technology, or may be based on WIreless-Fidelity (WI-FI) technology, where the mobile terminal performs WIreless communication through an Access Point (AP).
The NFC technology is also called short-range wireless communication, and is a short-range high-frequency wireless communication technology that allows non-contact point-to-point data transmission between electronic devices. The technology evolved from contactless radio frequency identification, and was developed by philips semiconductors (now eniumps semiconductors), nokia and sony, and its foundation is contactless radio frequency identification and interconnection technology. NFC IS a short-range high-frequency radio technology and IS currently passing ISO/IEC IS18092 international standard, EMCA-340 standard and ETSI TS 102190 standard. NFC employs both active and passive read modes.
The on-demand device 52 is configured to send a second verification request to the target server 51 according to the first verification request, where the second verification request includes the terminal identifier of the mobile terminal and the device identifier of the on-demand device 52;
optionally, after receiving the first verification request sent by the mobile terminal, the on-demand device 52 sends a second verification request to the target server 51 according to the first verification request, where the target server 51 may be a private server of a merchant, for example, a server belonging to the merchant itself in KTV. The communication between the mobile terminal and the target server 51 may be based on a wireless local area network. Specifically, the method for the on-demand device 52 to generate the second verification request according to the first verification request may be that the terminal identifier of the mobile terminal is analyzed from the first verification request, and the terminal identifier of the mobile terminal and the device identifier of the on-demand device 52 are repackaged to obtain the second verification request, or the on-demand device 52 directly adds the device identifier of the on-demand device 52 to the first verification request and sends the second verification request to the target server 51.
The target server 51 is further configured to verify the terminal identifier of the mobile terminal according to the corresponding relationship, and when the terminal identifier of the mobile terminal is a terminal identifier in the corresponding relationship, return a prompt message indicating that the verification is successful to the on-demand device 52;
optionally, the target server 51 prestores a corresponding relationship between the terminal identifier of the mobile terminal, the device identifier of the on-demand device 52, and the verification code, when the target server 51 receives the second verification request, the terminal identifier of the mobile terminal and the device identifier of the on-demand device 52 are analyzed from the second verification request and are matched with the prestored corresponding relationship, if the matching is consistent, it is indicated that the mobile terminal has the authority to control the on-demand device 52, and the target server 51 immediately returns a prompt message indicating that the verification is successful to the on-demand device 52.
The on-demand device 52 is further configured to synchronize data information of an audio/video on-demand subsystem of the on-demand device 52 to the mobile terminal when receiving the prompt information that the verification is successful, which is returned by the target server 51;
optionally, when the on-demand device 52 receives the prompt information that the verification is successful and returned by the target server 51, the on-demand device 52 synchronizes data information of an audio/video on-demand subsystem of the on-demand device 52 to the mobile terminal, and a specific synchronization manner may be based on a bluetooth technology, an NFC technology, a wireless WIFI technology, or the like.
The data information of the audio/video on-demand subsystem of the on-demand device 52 may be an on-demand list of the audio/video on-demand subsystem, for example, a song on-demand list; the data information may also be a real-time audio-video stream being played by the on-demand device 52; the data information may also be volume information for an audio-video on-demand subsystem of on-demand device 52, or the like. The user can operate the mobile terminal to control the audio/video on-demand subsystem of the on-demand equipment 52 according to the data information.
The mobile terminal is further configured to send a control instruction to the audio/video on-demand subsystem to the on-demand device 52 according to the data information;
optionally, the mobile terminal sends a control instruction for the audio/video on-demand subsystem to the on-demand device 52 according to the synchronized data information. The control instruction may be an operation on a song-on-demand list, such as requesting a new song, or deleting a song already requested, or cutting a song, etc. The control instruction may also be to control the playing volume of the audio-video-on-demand subsystem, for example, to turn the playing volume up or down, and so on. Further, the control instruction may be to send a play special sound, for example, to send a clapping special sound.
Further, the user may record audio information through the mobile terminal, for example, the user may also sing with a microphone of the mobile terminal, and the mobile terminal synthesizes the recorded audio information and the real-time audio/video stream sent by the on-demand device 52 to obtain a target real-time audio/video stream, and sends the obtained target real-time audio/video stream to the playing device for playing, so that not only the user may sing with the microphone dedicated to the on-demand device 52, but also may sing with the mobile terminal.
The on-demand equipment 52 is further configured to control the audio-video on-demand subsystem according to the control instruction.
Optionally, the on-demand device 52 controls the audio-video on-demand subsystem according to the control instruction, for example, if the control instruction is operation control over an on-demand list of the audio-video on-demand subsystem, the on-demand device 52 updates the on-demand list of the audio-video on-demand subsystem according to the control instruction; if the control instruction is a control instruction for adjusting the playing volume of the audio/video on-demand subsystem, the on-demand equipment 52 adjusts the playing volume of the audio/video on-demand subsystem; if the control instruction is an instruction for playing the target real-time audio/video stream recorded by the mobile terminal, the on-demand device 52 plays the target real-time audio/video stream.
As another optional implementation, the data information of the audio-video on-demand subsystem includes an on-demand list of the audio-video on-demand subsystem;
the mobile terminal is further configured to send a control instruction for the on-demand list of the audio/video on-demand subsystem to the on-demand device 52 according to the on-demand list of the audio/video on-demand subsystem;
optionally, the mobile terminal displays a request list of the audio/video request subsystem synchronized by the request device 52, and the user may perform operation control on the request list on the mobile terminal, for example, delete a song that has been requested, request a song that can be requested, and the like. When the user operates the on-demand list, the mobile terminal sends a control instruction for the on-demand list of the audio/video on-demand subsystem to the on-demand device 52, and the control instruction represents some operations of the user on the on-demand list.
The on-demand equipment 52 is further configured to update the on-demand list of the audio/video on-demand subsystem according to the control instruction.
Optionally, after receiving the control instruction sent by the mobile terminal, the on-demand device 52 analyzes the control instruction, obtains the control operation represented by the control instruction, and updates the on-demand list of the audio/video on-demand subsystem. For example, if the operation instruction is to request a new song, the newly requested song is added to the already requested song, and if the operation instruction is to delete the already requested song, the corresponding song is deleted from the corresponding already requested song list.
As another optional implementation, the data information of the audio/video on-demand subsystem includes a real-time audio/video stream played by the audio/video on-demand subsystem;
the mobile terminal is also used for calling a recording device to record the real-time audio information of the user;
optionally, the mobile terminal may invoke the recording device, and record the real-time audio information of the user by using the microphone, so that the user may participate in the entertainment activity through the mobile terminal, for example, in KTV, the user may also participate in the entertainment activity by using the microphone of the mobile terminal in addition to singing the song by using the microphone dedicated to the on-demand device 52.
The mobile terminal is further configured to synthesize the real-time audio information and the real-time audio/video stream played by the audio/video on demand subsystem, obtain a target real-time audio/video stream, and synchronize the target real-time audio/video stream to the on demand device 52;
optionally, the mobile terminal performs synthesis processing on the recorded real-time audio information and the real-time audio/video stream played by the audio/video on demand subsystem to form a target real-time audio/video stream, and synchronizes the target real-time audio/video stream to the on demand device 52, so that when a user sings through the mobile terminal, a sound effect as singing through a microphone can be achieved.
The on-demand device 52 is further configured to play the target real-time audio/video stream.
As another optional implementation, the data information of the audio-video on-demand subsystem includes a current playing volume of the audio-video on-demand subsystem;
the mobile terminal is further configured to send a control instruction for adjusting the play volume of the audio/video on-demand subsystem to the on-demand device 52 according to the current play volume of the audio/video on-demand subsystem;
optionally, the mobile terminal displays the current play volume of the audio/video on-demand subsystem, and the user may perform operation control on the play volume of the audio on-demand subsystem on the mobile terminal, for example, turn the play volume up or turn the play volume down. After the user performs operation control on the play volume, the mobile terminal sends a control instruction for adjusting the play volume of the audio/video on-demand subsystem to the on-demand device 52, where the control instruction represents some operations of the user on the play volume.
The on-demand device 52 is further configured to adjust the playing volume of the audio/video on-demand subsystem according to the control instruction.
Optionally, after receiving the control instruction sent by the mobile terminal, the on-demand device 52 analyzes the control instruction, obtains the control operation represented by the control instruction, and adjusts the play volume of the audio/video on-demand subsystem. For example, if the operation instruction is to turn up the playing volume, the playing volume of the audio/video on-demand subsystem is turned up, and if the operation instruction is to turn down the playing volume, the playing volume of the audio/video on-demand subsystem is turned down.
In the embodiment of the invention, a mobile terminal sends an order request to a cloud server, the cloud server distributes a request device and a verification code for the mobile terminal according to the order request and returns distribution information to the mobile terminal, meanwhile, the cloud server establishes a corresponding relation among a terminal identifier of the mobile terminal, a device identifier of the request device and the verification code and sends the corresponding relation to a target server, the mobile terminal outputs the verification code to the target server, when the output verification code is the verification code in the corresponding relation, the request device is started, when the mobile terminal needs to control the request device, a first verification request is sent to the request device, the request device sends a second verification request to the target server according to the first verification request, the target server verifies the terminal identifier of the mobile terminal according to the corresponding relation, when the mobile terminal passes the verification, the request device synchronizes data information of an audio and video on demand subsystem of the request device to the mobile terminal, the mobile terminal can send a control instruction for the audio and video on-demand subsystem to the on-demand equipment according to the data information, and the on-demand equipment realizes the control for the audio and video on-demand subsystem according to the control instruction. In the embodiment, after the mobile terminal passes the verification, the on-demand equipment synchronizes the data information to the mobile terminal, and the mobile terminal can realize the control operation of the audio and video on-demand subsystem of the on-demand equipment according to the data information, so that a user can not only request on the on-demand equipment, but also request on the mobile terminal, the time spent on requesting is reduced, the on-demand efficiency is improved, and the operation is convenient.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs.
The modules or units in the terminal of the embodiment of the invention can be combined, divided and deleted according to actual needs.
The modules or units in the embodiments of the present invention may be implemented by a general-purpose integrated circuit, such as a CPU (central processing Unit), or an ASIC (Application Specific integrated circuit).
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.
Claims (10)
1. A cloud server control method, the method comprising:
the method comprises the steps that a mobile terminal sends an order request to a cloud server, wherein the order request comprises a terminal identifier of the mobile terminal, a reserved time period and a reserved merchant identifier;
the cloud server inquires reservation information of all on-demand devices from a target server corresponding to the reserved merchant identifier, wherein the reservation information comprises use state information of each on-demand device, the use state information comprises whether the on-demand device is used, whether the on-demand device is reserved and whether the on-demand device is idle, the on-demand device and a verification code are distributed to the mobile terminal according to the use state information of each on-demand device and the reserved time period, the device identifier of the on-demand device and the verification code are returned to the mobile terminal, the device identifier of the on-demand device comprises a box number of a box corresponding to the on-demand device, and the target server is a private server of a merchant corresponding to the reserved merchant identifier;
the cloud server establishes a corresponding relation among the terminal identification of the mobile terminal, the equipment identification of the on-demand equipment and the verification code, and sends the corresponding relation to a target server;
the mobile terminal outputs the verification code to the target server;
the target server verifies the verification code output by the mobile terminal, and when the verification code output by the mobile terminal is the verification code in the corresponding relation, the on-demand equipment is started;
when the mobile terminal needs to control the on-demand equipment, the mobile terminal sends a first verification request to the on-demand equipment, wherein the first verification request comprises a terminal identifier of the mobile terminal;
the on-demand equipment sends a second verification request to the target server according to the first verification request, wherein the second verification request comprises a terminal identifier of the mobile terminal and an equipment identifier of the on-demand equipment;
the target server verifies the terminal identification of the mobile terminal according to the corresponding relation, and when the terminal identification of the mobile terminal is the terminal identification in the corresponding relation, prompt information of successful verification is returned to the on-demand equipment;
when the on-demand equipment receives the prompt information of successful verification returned by the target server, the on-demand equipment synchronizes data information of an audio and video on-demand subsystem of the on-demand equipment to the mobile terminal;
the mobile terminal sends a control instruction for the audio and video on-demand subsystem to the on-demand equipment according to the data information;
and the on-demand equipment controls the audio-video on-demand subsystem according to the control instruction.
2. The method of claim 1, wherein the mobile terminal sending a first authentication request to the jukebox device comprises:
based on a short-distance wireless communication technology, the mobile terminal sends a first verification request to the on-demand equipment; or,
based on a Bluetooth communication technology, the mobile terminal sends a first verification request to the on-demand equipment; or,
based on the wireless fidelity technology, the mobile terminal sends a first verification request to the on-demand equipment.
3. The method of claim 2, wherein the data information of the audio video on demand subsystem comprises an on demand list of the audio video on demand subsystem;
the mobile terminal sends a control instruction for the audio and video on-demand subsystem to the on-demand equipment according to the data information, and the control instruction comprises the following steps:
the mobile terminal sends a control instruction for the on-demand list of the audio and video on-demand subsystem to the on-demand equipment according to the on-demand list of the audio and video on-demand subsystem;
the on-demand equipment controls the audio and video on-demand subsystem according to the control instruction, and the control method comprises the following steps:
and the on-demand equipment updates an on-demand list of the audio and video on-demand subsystem according to the control instruction.
4. The method of claim 3, wherein the data information of the audio video on demand subsystem comprises a real-time audio video stream played by the audio video on demand subsystem; the method further comprises the following steps:
the mobile terminal calls a recording device to record real-time audio information of a user;
the mobile terminal synthesizes the real-time audio information and the real-time audio and video stream played by the audio and video on-demand subsystem to obtain a target real-time audio and video stream, and synchronizes the target real-time audio and video stream to the on-demand equipment;
and the on-demand equipment plays the target real-time audio and video stream.
5. The method of claim 4, wherein the data information of the audio video on demand subsystem includes a current playing volume of the audio video on demand subsystem;
the mobile terminal sends a control instruction for the audio and video on-demand subsystem to the on-demand equipment according to the data information, and the control instruction comprises the following steps:
the mobile terminal sends a control instruction for adjusting the playing volume of the audio and video on-demand subsystem to the on-demand equipment according to the current playing volume of the audio and video on-demand subsystem;
the on-demand equipment controls the audio and video on-demand subsystem according to the control instruction, and the control method comprises the following steps:
and the on-demand equipment adjusts the playing volume of the audio and video on-demand subsystem according to the control instruction.
6. A cloud server control system is characterized by comprising a mobile terminal, a cloud server, a target server and a video-on-demand device, wherein,
the mobile terminal is used for sending an order request to the cloud server, wherein the order request comprises a terminal identifier of the mobile terminal, a reserved time period and a reserved merchant identifier;
the cloud server is used for inquiring the reservation information of all on-demand devices from a target server corresponding to the reserved merchant identifier, wherein the reservation information comprises the use state information of each on-demand device, the use state information comprises whether the on-demand device is used, whether the on-demand device is reserved and whether the on-demand device is idle, the on-demand device and a verification code are distributed to the mobile terminal according to the use state information of each on-demand device and the reserved time period, the device identifier of the on-demand device and the verification code are returned to the mobile terminal, the device identifier of the on-demand device comprises the box number of a box corresponding to the on-demand device, and the target server is a private server of a merchant corresponding to the reserved merchant identifier;
the cloud server is further used for establishing a corresponding relation among the terminal identification of the mobile terminal, the equipment identification of the on-demand equipment and the verification code, and sending the corresponding relation to a target server;
the mobile terminal also outputs the verification code to the target server;
the target server is used for verifying the verification code output by the mobile terminal, and when the verification code output by the mobile terminal is the verification code in the corresponding relation, the on-demand equipment is started;
the mobile terminal is further used for sending a first verification request to the on-demand equipment when the mobile terminal needs to control the on-demand equipment, wherein the first verification request comprises a terminal identifier of the mobile terminal;
the on-demand equipment is used for sending a second verification request to the target server according to the first verification request, wherein the second verification request comprises a terminal identifier of the mobile terminal and an equipment identifier of the on-demand equipment;
the target server is further used for verifying the terminal identification of the mobile terminal according to the corresponding relationship, and when the terminal identification of the mobile terminal is the terminal identification in the corresponding relationship, prompt information of successful verification is returned to the on-demand equipment;
the on-demand equipment is also used for synchronizing data information of an audio and video on-demand subsystem of the on-demand equipment to the mobile terminal when receiving the prompt message of successful verification returned by the target server;
the mobile terminal is also used for sending a control instruction for the audio and video on-demand subsystem to the on-demand equipment according to the data information;
the on-demand equipment is also used for controlling the audio-video on-demand subsystem according to the control instruction.
7. The system of claim 6, wherein the mobile terminal is further configured to send a first authentication request to the on-demand device based on a short-range wireless communication technology; or,
the mobile terminal is also used for sending a first verification request to the on-demand equipment based on the Bluetooth communication technology; or,
the mobile terminal is further used for sending a first verification request to the on-demand equipment based on the wireless fidelity technology.
8. The system of claim 7, wherein the data information of the audio video on demand subsystem includes an on demand list of the audio video on demand subsystem;
the mobile terminal is also used for sending a control instruction for the on-demand list of the audio and video on-demand subsystem to the on-demand equipment according to the on-demand list of the audio and video on-demand subsystem;
and the on-demand equipment is also used for updating an on-demand list of the audio and video on-demand subsystem according to the control instruction.
9. The system of claim 8, wherein the data information of the audio video on demand subsystem includes real-time audio video stream played by the audio video on demand subsystem;
the mobile terminal is also used for calling a recording device to record the real-time audio information of the user;
the mobile terminal is also used for synthesizing the real-time audio information and the real-time audio and video stream played by the audio and video on-demand subsystem to obtain a target real-time audio and video stream and synchronizing the target real-time audio and video stream to the on-demand equipment;
the on-demand equipment is also used for playing the target real-time audio and video stream.
10. The system of claim 9, wherein the data information of the av on-demand subsystem includes a current playing volume of the av on-demand subsystem;
the mobile terminal is also used for sending a control instruction for adjusting the playing volume of the audio and video on-demand subsystem to the on-demand equipment according to the current playing volume of the audio and video on-demand subsystem;
and the on-demand equipment is also used for adjusting the playing volume of the audio and video on-demand subsystem according to the control instruction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410514204.7A CN104320435B (en) | 2014-09-29 | 2014-09-29 | A kind of Cloud Server control method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410514204.7A CN104320435B (en) | 2014-09-29 | 2014-09-29 | A kind of Cloud Server control method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104320435A CN104320435A (en) | 2015-01-28 |
CN104320435B true CN104320435B (en) | 2018-09-25 |
Family
ID=52375604
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410514204.7A Active CN104320435B (en) | 2014-09-29 | 2014-09-29 | A kind of Cloud Server control method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104320435B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105023138B (en) * | 2015-07-02 | 2018-11-13 | 福建工程学院 | A kind of mobile terminal short message office approval process method and system |
CN105389501A (en) * | 2015-11-04 | 2016-03-09 | 严炎 | Control method and system for device without requirement for Internet connection |
CN106375370B (en) * | 2016-08-18 | 2019-05-07 | 广州凰腾通信科技有限公司 | Equipment starting method and equipment activation system |
CN107071519B (en) * | 2017-01-22 | 2019-12-17 | 福建星网视易信息***有限公司 | Multimedia resource on-demand method and system for audio-visual place |
CN107124657B (en) * | 2017-04-26 | 2020-01-07 | 北京威动科技有限公司 | Method and device for recording played film information of video-on-demand cinema |
CN108055422B (en) * | 2017-12-20 | 2019-12-24 | 珠海奔图电子有限公司 | Imaging method, imaging apparatus, and imaging system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102137281A (en) * | 2011-01-10 | 2011-07-27 | 上海聚欣网络科技有限公司 | Method and device for broadcasting requested video file for playing terminal |
CN103369126A (en) * | 2012-04-11 | 2013-10-23 | 陈世伟 | Song requesting method |
CN103812903A (en) * | 2012-11-13 | 2014-05-21 | 中国电信股份有限公司 | Method and system for achieving intelligent song requesting through Internet and service management server |
CN104063121A (en) * | 2013-03-22 | 2014-09-24 | 深圳市快播科技有限公司 | Method and device for song requesting control |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1228978C (en) * | 2002-09-23 | 2005-11-23 | 国际商业机器公司 | Video request system and method for requesting vedio program by request short message |
-
2014
- 2014-09-29 CN CN201410514204.7A patent/CN104320435B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102137281A (en) * | 2011-01-10 | 2011-07-27 | 上海聚欣网络科技有限公司 | Method and device for broadcasting requested video file for playing terminal |
CN103369126A (en) * | 2012-04-11 | 2013-10-23 | 陈世伟 | Song requesting method |
CN103812903A (en) * | 2012-11-13 | 2014-05-21 | 中国电信股份有限公司 | Method and system for achieving intelligent song requesting through Internet and service management server |
CN104063121A (en) * | 2013-03-22 | 2014-09-24 | 深圳市快播科技有限公司 | Method and device for song requesting control |
Also Published As
Publication number | Publication date |
---|---|
CN104320435A (en) | 2015-01-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104320435B (en) | A kind of Cloud Server control method and system | |
US12047635B2 (en) | Systems and methods for networked music playback | |
US9940090B2 (en) | Synchronized playback system, synchronized playback apparatus, and control method | |
US9148756B2 (en) | Output of content from the internet on a media rendering device | |
CN107332976B (en) | Karaoke method, device, equipment and system | |
WO2017058444A1 (en) | Synchronized playback and control of media | |
CN103957218A (en) | Shared media playing method and system | |
KR101333879B1 (en) | Mobile terminal and control method using the same | |
CN104754394A (en) | Vision-synchronized special effect system and vision-synchronized special effect handling method | |
CN103874005A (en) | Karaoke system based on intelligent terminal and wireless speaker and implementation method of Karaoke system | |
CN105824895A (en) | KTV song selection method and system | |
CN104320434A (en) | Cloud server control method and system | |
CN102065340A (en) | System and method for implementing multimedia synchronous interaction | |
CN106095132B (en) | Playback equipment keypress function setting method and device | |
CN104580838A (en) | Singing visual special effects system and singing visual special effects processing method | |
CN104717528A (en) | Streaming media live telecast PAAS processing method, device and system | |
CN101217030B (en) | A method and device for Kara OK service offering based on media server | |
KR20110096831A (en) | The ip-settop with function for playing media contents of individual portable device via wireless network | |
CN107146609B (en) | Switching method and device of playing resources and intelligent equipment | |
TW201533732A (en) | Sound visual effect system and method for processing sound visual effect | |
CN105682010B (en) | Bluetooth connection control method, device and playback equipment in audio frequency broadcast system | |
CN113518297A (en) | Sound box interaction method, device and system and sound box | |
TWI545452B (en) | Accompaniment visual effect system and method for processing accompaniment visual effect | |
CN106604085A (en) | Video sharing method and video sharing device | |
KR101462857B1 (en) | Dongle for playing contents having Converged Personal Network Service Environment protocol and Method for playing contents in the dongle |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200330 Address after: Room 1705-1707, Shenzhen Bay venture capital building, No. 1001, Keji Yuan Road, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province Patentee after: SHENZHEN ANDUN INTELLECTUAL PROPERTY SERVICES Co.,Ltd. Address before: 518000 Guangdong city of Shenzhen province Nanshan District Keyuan Road Kexing Science Park A4-1703A Patentee before: SHENZHEN WINSTRONG INFORMATION TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right |