CN110139139B - Service processing method, terminal, server and storage medium - Google Patents

Service processing method, terminal, server and storage medium Download PDF

Info

Publication number
CN110139139B
CN110139139B CN201810110591.6A CN201810110591A CN110139139B CN 110139139 B CN110139139 B CN 110139139B CN 201810110591 A CN201810110591 A CN 201810110591A CN 110139139 B CN110139139 B CN 110139139B
Authority
CN
China
Prior art keywords
terminal
server
stb
target
identity information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810110591.6A
Other languages
Chinese (zh)
Other versions
CN110139139A (en
Inventor
罗朴良
李玉英
蔡世宗
谢志强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201810110591.6A priority Critical patent/CN110139139B/en
Priority to PCT/CN2019/071506 priority patent/WO2019149049A1/en
Publication of CN110139139A publication Critical patent/CN110139139A/en
Application granted granted Critical
Publication of CN110139139B publication Critical patent/CN110139139B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/254Management at additional data server, e.g. shopping server, rights management server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25891Management of end-user data being end-user preferences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/42208Display device provided on the remote control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/4221Dedicated function buttons, e.g. for the control of an EPG, subtitles, aspect ratio, picture-in-picture or teletext
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/42224Touch pad or touch panel provided on the remote control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4431OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB characterized by the use of Application Program Interface [API] libraries
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Computer Graphics (AREA)
  • Library & Information Science (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application discloses a service processing method, a terminal, a server and related products, which are used for improving user experience. The method in the embodiment of the application comprises the following steps: the method comprises the steps that a server generates binding information used for indicating the binding relation between a terminal and an STB (set top box), the binding information is stored locally, then the server receives a target request sent by the terminal, the target request is generated by the terminal according to the operation of a user, the target request comprises first identity information of the terminal and second identity information of the STB, further, the server judges whether the first identity information and the second identity information are matched with the binding information, if the first identity information and the second identity information are matched with the binding information, the server determines a target API from a preset API set according to the indication of the target request and sends the target API to the terminal, then the terminal generates a control instruction according to the target API and sends the control instruction to the server, then the server forwards the control instruction to the STB, and the STB recognizes the control instruction and executes corresponding operation.

Description

Service processing method, terminal, server and storage medium
Technical Field
The present application relates to the field of communications, and in particular, to a service processing method, a terminal, a server, and a related product.
Background
As an indispensable terminal product in a home, a Set Top Box (STB) is a device for connecting a television Set and an external signal source, which can convert a compressed digital signal into television content and display the television content on the television Set, and a user mainly uses related functions of the STB through a remote controller.
With the rapid development of smart phones and internet technologies, users can use mobile phones to replace remote controllers to control STBs to realize related functions, for example, the mobile phones establish communication with the STBs through infrared, bluetooth or a local area network, keys of the remote controllers can be simulated on interfaces of the mobile phones, and the users can operate the interfaces of the mobile phones to enable the STBs to realize functions such as channel changing or volume adjustment.
However, since the mobile phone only simulates the keys of the remote controller, the functions realized by the user controlling the STB through the mobile phone are similar to the functions realized by the remote controller controlling the STB, which causes great limitation and leads to poor user experience.
Disclosure of Invention
The embodiment of the application provides a service processing method, a terminal, a server and related products, which are used for improving user experience.
In view of this, a first aspect of the embodiments of the present application provides a service processing method, including:
the method comprises the steps that a server generates binding information used for indicating the binding relation between a terminal and an STB (set top box), the binding information is stored locally, then the server receives a target request sent by the terminal, the target request is generated by the terminal according to the operation of a user, the target request comprises first identity information of the terminal and second identity information of the STB, further, the server judges whether the first identity information and the second identity information are matched with the binding information, if the first identity information and the second identity information are matched with the binding information, the server determines a target API from a preset API set according to the indication of the target request and sends the target API to the terminal, then the terminal generates a control instruction according to the target API and sends the control instruction to the server, then the server forwards the control instruction to the STB, and the STB recognizes the control instruction and executes corresponding operation.
Through the method, the user triggers the terminal to call the corresponding API from the API set through operating the terminal, the terminal generates the control instruction according to the called API and forwards the control instruction to the STB through the server to realize the remote control of the STB, the terminal can generate different control instructions according to different APIs, the instruction which can be identified by the STB is expanded, the terminal can control the STB to realize more functions, and the user experience is improved.
In one possible design, the server generating the binding information includes: the server receives the first identity information and the second identity information sent by the terminal, the second identity information is obtained by the terminal through scanning a two-dimensional code on a television through an application program APP, the two-dimensional code is generated by the STB and output to the television, and then the server binds the first identity information and the second identity information to obtain the binding information.
According to the scheme provided by the embodiment of the application, the server binds the identity information of the terminal and the identity information of the STB together to obtain the binding information.
In another possible design, after the server generates the binding information and before the server receives the target request sent by the terminal, the method further includes: and the server determines an operation interface corresponding to the terminal. Further, the server determining the operation interface corresponding to the terminal includes: and the server determines a user grade according to the first identity information, and then determines the operation interface corresponding to the user grade from a user grade list.
According to the scheme, the server configures the operation interface for the terminal according to the user level, different users can have different user levels and can also understand that different users have different authorities, so that different operation interfaces can be presented on the corresponding terminal, and the flexibility of the scheme is improved.
In yet another possible design, the control instructions are for controlling the STB to zap or adjust volume.
In yet another possible design, the control instructions are configured to control the STB to transmit an electronic program information navigation EPG to the terminal.
In yet another possible design, the control instructions are configured to control the STB to output a pop-up screen and/or a like message.
In yet another possible design, the control instruction is configured to control the STB to obtain and play a video shared by the terminals through a uniform resource locator URL.
Through the scheme, the user can simulate the function of the remote controller to control the STB, and the STB can also output the barrage sent by the user or play the video shared by the user, so that more interaction between the user and the television is realized, and the user experience is improved.
In yet another possible design, after the server sends the target API to the terminal, the method further includes: the server receives a target instruction sent by the terminal, the target instruction is generated by the terminal according to the target API, and the server sends the target instruction to the cloud space server so that the cloud space server executes an operation corresponding to the target instruction.
In yet another possible design, the target instruction is used to control the cloud space server to allocate cloud space to the terminal; or the target instruction is used for controlling the cloud space server to obtain the program content from the content delivery network CDN; or the target instruction is used for controlling the cloud space server to store the video uploaded by the terminal.
Through the scheme, the user can also control the cloud space server through the terminal to realize a series of functions, and the terminal can interact with the STB and also interact with the cloud space server, so that the user experience is improved.
A second aspect of the present application provides a service processing method, including: the method comprises the steps that a terminal is bound with a Set Top Box (STB) through an application program (APP), binding information of the terminal and the STB is stored in a server, the binding information is used for indicating the binding relationship of the terminal and the STB, a target request is sent to the server by the operation of a user, the target request comprises first identity information of the terminal and second identity information of the STB, when the server determines that the first identity information and the second identity information are matched with the binding information, the terminal obtains a target API from the server, the target API is determined by the server from a preset API set according to the indication of the target request, then the terminal generates a control instruction according to the target API, and sends the control instruction to the server.
In addition, the method enables the terminal to control the STB to realize more functions, and improves user experience.
In one possible design, the binding of the terminal with the STB via the APP includes: the terminal scans a two-dimensional code on a television through the APP, the two-dimensional code is output to the television through the STB, the terminal acquires the second identity information according to the two-dimensional code, then the terminal sends the first identity information and the second identity information to the server, the terminal receives a message sent by the server, and the message is used for indicating that the terminal and the STB are successfully bound.
Through the scheme, the user can realize the binding of the terminal and the STB by scanning the two-dimensional code on the television through the operation terminal.
A third aspect of the embodiments of the present application provides a server, which has a function of implementing a server behavior in the foregoing method. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software comprises one or more units corresponding to the functions, such as a generating unit, a first receiving unit, a judging unit, a first determining unit, a first sending unit, a second receiving unit and a second sending unit.
A fourth aspect of the embodiments of the present application provides a server, which has a function of implementing a server behavior in the foregoing method. The server is structured to include a processor and a memory for storing program code for supporting the server to execute the above method, and the processor is configured to execute the program stored in the memory. The server may further include a bus, an input output interface.
A fifth aspect of the embodiments of the present application provides a terminal, which has a function of implementing a terminal behavior in the foregoing method. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more units corresponding to the above functions, such as: the device comprises a binding unit, a first sending unit, an obtaining unit, a generating unit and a second sending unit.
A sixth aspect of the present embodiment provides a terminal, which has a function of implementing a terminal behavior in the foregoing method. The terminal comprises a processor and a memory, wherein the memory is used for storing program codes for supporting the terminal to execute the method, and the processor is configured for executing the program stored in the memory. The terminal can also comprise a bus and an input and output interface.
A seventh aspect of the embodiments of the present application provides a computer-readable storage medium, including instructions, which when executed on a computer, cause the computer to execute a process of a business processing method according to the first or second aspect of the embodiments of the present application.
An eighth aspect of the present embodiment provides a computer program product, which when running on a computer, causes the computer to execute the flow of the service processing method in the first aspect or the second aspect of the present embodiment.
According to the technical scheme, the embodiment of the application has the following advantages:
the method comprises the steps that a server generates binding information, wherein the binding information is used for indicating the binding relationship between a terminal and an STB (set Top Box), the binding information is stored in the server, then the server receives a target request sent by the terminal, the target request is generated by the terminal according to the operation of a user, the target request comprises first identity information of the terminal and second identity information of the STB, when the server determines that the first identity information and the second identity information are matched with the binding information, the server determines a target API from a preset API set according to the indication of the target request, then the server sends the target API to the terminal, the server receives a control instruction sent by the terminal, the control instruction is generated by the terminal according to the target API, then the server sends the control instruction to the STB so that the STB executes the operation corresponding to the control instruction, therefore, a user triggers the terminal to call the corresponding API from the API set by operating the terminal, the terminal generates a control instruction according to the called API and forwards the control instruction to the STB through the server to realize remote control of the STB, the terminal can generate different control instructions according to different APIs, the instruction which can be identified by the STB is expanded, the terminal can control the STB to realize more functions, and user experience is improved.
Drawings
FIG. 1 is a system framework diagram of the present application;
FIG. 2 is a schematic diagram of an embodiment of a business processing method of the present application;
FIG. 3 is a schematic diagram of another embodiment of a business processing method according to the present application;
fig. 4 is a schematic view of a scene in which a terminal scans a two-dimensional code according to the present application;
FIG. 5 is a schematic diagram illustrating a scenario in which a terminal controls an STB to change channels or adjust volume according to the present application;
FIG. 6 is a schematic diagram illustrating a scenario in which a terminal controls an STB to transmit an EPG to the terminal according to the present application;
fig. 7 is a schematic view of a scenario in which a terminal controls an STB to output a pop screen or like information according to the present application;
FIG. 8 is a schematic view of a scenario in which a terminal controls an STB to obtain a video shared by the terminal through a URL and play the video;
fig. 9 is a schematic diagram of another embodiment of the service processing method of the present application;
FIG. 10 is a schematic diagram of one embodiment of a server of the present application;
FIG. 11 is a schematic diagram of another embodiment of a server of the present application;
FIG. 12 is a schematic diagram of an embodiment of a terminal of the present application;
FIG. 13 is a schematic diagram of a server according to the present application;
fig. 14 is a schematic structural diagram of the terminal of the present application.
Detailed Description
The embodiment of the application provides a service processing method, a terminal, a server and related products, which are used for enabling the terminal to control an STB (set Top Box) to realize more functions and improving user experience.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment can be applied to the application scenario shown in fig. 1, where a terminal, a server, and an STB (television) are connected via a wireless or wired network, and the terminal can remotely control the television via the locally installed APP, for example, a user operates on an operation interface of the terminal to trigger the terminal to generate a corresponding control instruction, the terminal sends the control instruction to the server and forwards the control instruction to the STB by the server, and the STB can perform operations such as program searching, channel changing, or volume adjustment, and output the control instruction to the television for display.
The terminal in this embodiment of the application may be a mobile phone, a tablet computer, a wearable device, an Augmented Reality (AR) \ Virtual Reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), and other user devices having a shooting function, and this embodiment of the application does not limit this.
The server in the embodiment of the present application may provide the service in the form of a cloud platform, or may provide the service in the form of independent deployment, which is not limited in this embodiment of the present application.
Referring to fig. 2, a service processing method in an embodiment of the present application is described in detail below, where an embodiment of the service processing method in the embodiment of the present application includes:
201. the server generates binding information.
In the embodiment of the application, the server generates the binding information for indicating the binding relationship between the terminal and the STB, and it can be understood that the terminal can be bound with the STB through the locally installed APP, and the server can combine the first identity information of the terminal and the second identity information of the STB into a corresponding relationship, that is, the binding information, which can be stored in the server.
It is understood that the first identity information of the terminal and the second identity information of the STB can be distinguished from other similar devices as their own identifiers.
Optionally, after the terminal and the STB are successfully bound for the first time, the terminal does not need to bind again when opening the APP for operation next time.
Optionally, the STB may establish a binding relationship with only one terminal, or may establish a binding relationship with each of a plurality of terminals, which is not limited herein.
202. The server receives the target request sent by the terminal.
The user can trigger the terminal to send a target request to the server by operating the APP, where the target request is used to request the server to call a target API, and it can be understood that different operations of the user correspond to different target requests, for example, if the user selects channel switching, the target request will request to call the API for channel switching, and if the user selects volume adjustment, the target request will request to call the API for volume adjustment.
It should be noted that the target request further includes first identity information and second identity information, where the first identity information may be an ID of the terminal, and the second identity information may be an ID of the STB.
203. The server determines whether the first identity information and the second identity information match the binding information, and if so, executes step 204.
In the embodiment of the application, after receiving the target request, the server extracts the first identity information and the second identity information from the target request and matches the first identity information and the second identity information with the binding information.
204. The server determines a target API from a preset API set according to the indication of the target request.
In the embodiment of the application, when the server determines that the identity information of the terminal matches with the binding information, the server may determine the target API from the locally stored API set according to the indication of the target request.
It will be appreciated that the control functions available to the user on the APP all have their corresponding APIs in the API set.
205. The server sends the target API to the terminal.
In the embodiment of the application, the server sends the target API to the terminal after determining the target API.
206. And the server receives the control instruction sent by the terminal.
In the embodiment of the application, the server receives a control instruction sent by the terminal, where the control instruction is generated by the terminal according to the called API, and it can be understood that the control instruction is a control instruction that can be recognized by the STB.
207. The server sends control instructions to the STB.
In the embodiment of the application, the server may send the control instruction received from the terminal to the STB through a wired or wireless network, and the STB recognizes the control instruction and executes an operation corresponding to the control instruction.
The method comprises the steps that a server generates binding information, wherein the binding information is used for indicating the binding relationship between a terminal and an STB (set Top Box), the binding information is stored in the server, then the server receives a target request sent by the terminal, the target request is generated by the terminal according to the operation of a user, the target request comprises first identity information of the terminal and second identity information of the STB, when the server determines that the first identity information and the second identity information are matched with the binding information, the server determines a target API from a preset API set according to the indication of the target request, then the server sends the target API to the terminal, the server receives a control instruction sent by the terminal, the control instruction is generated by the terminal according to the target API, then the server sends the control instruction to the STB so that the STB executes the operation corresponding to the control instruction, therefore, a user triggers the terminal to call the corresponding API from the API set by operating the terminal, the terminal generates a control instruction according to the called API and forwards the control instruction to the STB through the server to realize remote control of the STB, the terminal can generate different control instructions according to different APIs, the instruction which can be identified by the STB is expanded, the terminal can control the STB to realize more functions, and user experience is improved.
For the convenience of understanding, the service processing method of the embodiment of the present application is further described below with reference to a specific manner of data interaction between the terminal, the server and the STB:
referring to fig. 3, another embodiment of the service processing method according to the embodiment of the present application includes:
301. and the STB outputs the two-dimensional code to the television.
In this embodiment of the application, the STB may output the two-dimensional code including the second identity information to the television for display, specifically, the two-dimensional code may be generated by the server according to the second identity information and sent to the STB, and in addition, the two-dimensional code may also be generated by the STB according to the second identity information stored locally, which is not limited herein.
302. And the terminal acquires the identity information of the STB by scanning the two-dimensional code on the television.
The terminal may scan the two-dimensional code displayed on the television through the APP to obtain the second identity information, specifically refer to fig. 4, where the APP may be a WeChat applet or other third-party APPs, and is not limited herein.
It will be appreciated that the terminal stores its own first identity information locally.
The description of the first identity information and the second identity information is similar to step 201 in the embodiment shown in fig. 2, and is not repeated here.
303. The terminal sends a binding request message to the server.
After the terminal scans the two-dimensional code, the terminal may generate a binding request message and send the binding request message to the server, and it can be understood that the binding request message includes the first identity information and the second identity information.
Specifically, the terminal may generate the binding request message by calling an API corresponding to the binding request.
It should be noted that, after receiving the binding request message, the server may configure a prompt window for the STB, and the STB outputs the prompt window to the television for display, where the prompt window is used to prompt the user whether to select to bind the terminal with the STB, and the user may select to confirm through the remote controller, and then the STB may feed back the message confirmed by the user to the server.
304. And the server binds the first identity information and the second identity information to obtain binding information.
After the user confirms the binding, the server may bind the received first identity information and the second identity information to generate a corresponding relationship between the first identity information and the second identity information, that is, binding information.
305. And the server sends a message of successful binding to the terminal.
After the server generates and stores the binding relationship between the terminal and the STB, the server can send a message of successful binding to the terminal.
306. The server determines an operation interface corresponding to the terminal.
After the server determines that the terminal and the STB establish the binding relationship, the server can determine an operation interface corresponding to the terminal, specifically, the server can determine the user level according to the first identity information, it is understood that the first identity information may include IDs of users, each ID of a user corresponds to its own user rank, and further, the server may determine an operation interface corresponding to the user rank from a user rank list stored locally, and it is understood that, the corresponding relation between the user grade and the operation interface is stored in the user grade list, users with different grades can have operation interfaces with different authorities, for example, the first-level user can only use the functions of channel changing and volume adjusting, the second-level user can also use the function of bullet screen sending on the basis of the first-level user, and the user can freely select the available operation interface according to the requirement in the authority of the user.
307. The terminal sends a target request to the server.
In the embodiment of the present application, step 307 is similar to step 202 in the embodiment shown in fig. 2, and detailed description thereof is omitted here.
308. The server determines whether the first identity information and the second identity information match the binding information, if not, step 309 is executed, and if so, step 310 is executed.
In the embodiment of the application, after the server receives the target request sent by the terminal, the server can acquire the identity information of the terminal from the target request, and the server can judge whether the identity information is matched with the local binding relationship stored in the server, that is, whether the binding relationship exists between the terminal and the STB.
309. And the server sends a message of failed identity verification to the terminal.
If the server judges that the first identity information and the second identity information are not matched with the binding information, the server sends a message of identity verification failure to the terminal, and the terminal needs to be bound with the STB again.
310. The server determines a target API from the API set.
If the server determines that the first identity information and the second identity information match the binding information, the server determines a target API from an API set stored locally at the server according to the indication of the target request.
311. The server sends the target API to the terminal.
In the embodiment of the application, after the server determines the target API, the server sends the target API to the terminal for the terminal to use.
312. And the terminal generates a control instruction according to the target API.
The terminal may generate a corresponding control instruction according to the called target API, and it is understood that the control instruction is a control instruction that the STB can recognize.
313. And the terminal sends a control instruction to the server.
In the embodiment of the application, the terminal can send the control instruction to the server through a wired or wireless network.
314. The server sends control instructions to the STB.
And after receiving the control instruction of the terminal sending end, the server forwards the control instruction to the STB.
315. And the STB executes the operation corresponding to the control instruction.
After receiving the control instruction, the STB can recognize the control instruction and execute the corresponding operation according to the instruction of the control instruction.
For convenience of understanding, on the basis of the embodiments corresponding to fig. 2 and fig. 3, the service processing method in the embodiment of the present application is described below with reference to specific operation scenarios of several users:
optionally, the user can operate the terminal to realize the function of simulating the keys of the television remote controller, such as channel switching or volume adjustment.
After the terminal is bound with the STB, the terminal may display an operation interface as shown in fig. 5 according to a selection of a user, where virtual keys on the operation interface are generated by simulating physical keys on a television remote controller, for example, a key "CH +" is used to control the STB to switch to a next station, a key "CH-" is used to control the STB to switch to a previous station, a key "V +" is used to control the STB to increase a volume, and a key "V-" is used to control the STB to decrease a volume, and the like.
The user can trigger the terminal to call the API corresponding to the key by touching one key, and generate a corresponding control instruction, so that the STB executes corresponding operations such as channel change or volume adjustment.
Alternatively, the terminal may acquire Electronic Program Guide (EPG) information from the STB and display the EPG information on the operation interface for the user to select.
After the terminal is bound with the STB, the terminal can display an operation interface as shown in fig. 6 according to the selection of the user, the EPG information obtained from the STB is displayed, the user can directly select the programs which the user wants to watch through touch, and compared with the mode that one program is selected through keys of a remote controller, the operation is more convenient, and the user experience is improved.
It will be appreciated that the user may touch the "update" button to cause the terminal to obtain the latest EPG information from the STB.
Optionally, the user may operate the terminal to send a pop-up screen or approve the program while watching the program, and both the pop-up screen and the approve sent by the user may be displayed on the television.
After the terminal is bound with the STB, the terminal can display an operation interface as shown in fig. 7 according to the selection of a user, because many live programs or network videos support the function of barrage or praise, the barrage or praise sent by different users can be displayed on the playing interface of the program, when the user watches the program through a mobile phone, a computer or other terminal equipment, the user directly inputs the content to be sent on a keyboard, the operation is convenient and fast, and when the user watches the program through a television, the operation of barrage sending by using a remote controller is complicated.
By adopting the method provided by the embodiment of the application, a user can watch a television and send the bullet screen or praise through the terminal, the watching experience of the user is not influenced, and the bullet screen can interact with the television program in real time.
It is understood that the STB may also obtain the pop-up or praise sent by other users from the server in real time, continuously update the latest pop-up or praise and output the latest pop-up or praise to the area of the tv where the pop-up is displayed.
Optionally, the user can also share the videos stored locally in the terminal or the network videos to the STB through the terminal, and the STB outputs the videos shared by the user to the television for display.
According to the method provided by the embodiment of the application, the video which the user wants to watch can be shared to the STB for playing without the help of the U disk directly through a wireless network, and the steps are simple and time is saved.
After the terminal is bound with the STB, the terminal may display an operation interface as shown in fig. 8 according to a selection of the user, for example, the user selects a video from a video list and clicks "share video" to trigger the terminal to call an API corresponding to a video forwarding function, and after receiving a corresponding control instruction, the STB may obtain a video Resource selected by the user from a cloud space or a Content Delivery Network (CDN) through a shared Uniform Resource Locator (URL) and download and play the video Resource.
In addition, the terminal may also control the cloud space server to perform corresponding operations by calling the API, which is described in detail below:
referring to fig. 9, another embodiment of the service processing method according to the embodiment of the present application includes:
901. the server sends the target API to the terminal.
In the embodiment of the present application, the server may send the target API to the terminal after determining the target API, and it is understood that the steps before the server sends the target API to the terminal may be similar to steps 301 to 310 in the embodiment shown in fig. 3, and details are not described here again.
It should be noted that the terminal in the embodiment of the present application calls the target API to control the cloud space server to perform a corresponding operation.
902. And the terminal generates a target instruction according to the target API.
The terminal may generate a target instruction according to the called target API, and it may be understood that the target instruction is an instruction that the cloud space server may recognize.
903. And the terminal sends the target instruction to the server.
In the embodiment of the application, the terminal can send the target instruction to the server through a wired or wireless network.
904. The server sends the target instruction to the cloud space server.
After receiving the target instruction of the terminal sending end, the server forwards the target instruction to the cloud space server.
905. And the cloud space server executes the operation corresponding to the target instruction.
After receiving the target instruction, the cloud space server can identify the target instruction and execute corresponding operation according to the instruction of the target instruction.
Optionally, also referring to the operation interface shown in fig. 8, for example, when the user selects functions of "purchase cloud space", "save video to cloud space", or "upload video", the terminal may call a target API corresponding to these functions and generate a target instruction, and then the terminal may forward the target instruction to the cloud space server through the server, and after receiving the target instruction, the cloud space server may perform operations such as allocating cloud space to the terminal, obtaining program content from the CDN, or saving video uploaded by the terminal.
The service processing method in the embodiment of the present application is described above, and a server in the embodiment of the present application is described below:
referring to fig. 10, an embodiment of a server in the embodiment of the present application includes:
a generating unit 1001 configured to generate binding information, where the binding information is used to indicate a binding relationship between a terminal and an STB, and the binding information is stored in the server;
a first receiving unit 1002, configured to receive a target request sent by the terminal, where the target request is generated by the terminal according to an operation of a user, and the target request includes first identity information of the terminal and second identity information of the STB;
a determining unit 1003, configured to determine whether the first identity information and the second identity information match the binding information;
a first determining unit 1004, configured to determine a target API from a preset API set according to an indication of the target request when the first identity information and the second identity information match the binding information, where the API set is stored in the server;
a first sending unit 1005, configured to send the target API to the terminal;
a second receiving unit 1006, configured to receive a control instruction sent by the terminal, where the control instruction is generated by the terminal according to the target API;
a second sending unit 1007 is configured to send the control instruction to the STB, so that the STB performs an operation corresponding to the control instruction.
In this embodiment, the generating unit 1001 generates binding information indicating a binding relationship between a terminal and an STB, the binding information being stored in a server, the first receiving unit 1002 receives a target request transmitted by the terminal, the target request being generated by the terminal according to an operation of a user, the target request including first identity information of the terminal and second identity information of the STB, the determining unit 1003 determines whether the first identity information and the second identity information match the binding information, if so, the first determining unit 1004 determines a target API from a preset API set according to an indication of the target request, the first transmitting unit 1005 transmits the target API to the terminal, the second receiving unit 1006 receives a control instruction transmitted by the terminal, the control instruction is generated by the terminal according to the target API, the second transmitting unit 1007 transmits the control instruction to the STB so that the STB performs an operation corresponding to the control instruction, therefore, a user triggers the terminal to call the corresponding API from the API set by operating the terminal, the terminal generates a control instruction according to the called API and forwards the control instruction to the STB through the server to realize remote control of the STB, the terminal can generate different control instructions according to different APIs, the instruction which can be identified by the STB is expanded, the terminal can control the STB to realize more functions, and user experience is improved.
Optionally, referring to fig. 11, another embodiment of the server in the embodiment of the present application includes:
the actions performed by the generating unit 1101, the first receiving unit 1102, the determining unit 1103, the first determining unit 1104, the first sending unit 1105, the second receiving unit 1106, and the second sending unit 1107 are similar to the actions performed by the units shown in fig. 10, and detailed description thereof is omitted here.
Optionally, the generating unit 1101 includes:
the receiving module 11011 is configured to receive the first identity information and the second identity information sent by the terminal, where the second identity information is obtained by scanning, by the terminal, a two-dimensional code on a television through an application APP, and the two-dimensional code is generated by the STB and output to the television;
a binding module 11012, configured to bind the first identity information and the second identity information to obtain the binding information.
Optionally, the server further comprises:
the second determining unit 1108 is configured to determine an operation interface corresponding to the terminal.
Wherein the second determining unit 1108 includes:
a first determining module 11081, configured to determine a user level according to the first identity information;
a second determining module 11082, configured to determine the operation interface corresponding to the user rank from the user rank list.
Optionally, the second receiving unit 1106 is further configured to receive a target instruction sent by the terminal, where the target instruction is generated by the terminal according to the target API;
the second sending unit 1107 is further configured to send the target instruction to the cloud space server, so that the cloud space server performs an operation corresponding to the target instruction.
The server in the embodiment of the present application is described above, and the terminal in the embodiment of the present application is described below:
referring to fig. 12, an embodiment of a terminal in the embodiment of the present application includes:
a binding unit 1201, configured to bind with a set top box STB through an application APP, where binding information of the terminal and the STB is stored in a server, and the binding information is used to indicate a binding relationship between the terminal and the STB;
a first sending unit 1202, configured to send a target request to the server according to an operation of a user, where the target request includes first identity information of the terminal and second identity information of the STB;
an obtaining unit 1203, configured to obtain a target application program interface API when the server determines that the first identity information and the second identity information match the binding information, where the target API is determined by the server according to an indication of the target request from a preset API set, and the API set is stored in the server;
a generating unit 1204, configured to generate a control instruction according to the target API;
a second sending unit 1205 is configured to send the control instruction to the server.
Optionally, the binding unit 1201 includes:
the scanning module 12011 is configured to scan a two-dimensional code on a television through the APP, where the two-dimensional code is output to the television by the STB;
an obtaining module 12012, configured to obtain the second identity information according to the two-dimensional code;
a sending module 12013, configured to send the first identity information and the second identity information to the server;
a receiving module 12014, configured to receive a message sent by the server, where the message is used to indicate that the terminal and the STB are successfully bound.
The server and the terminal in the embodiment of the present application are described above from the perspective of the modular functional entity, and the server and the terminal in the embodiment of the present application are described below from the perspective of hardware processing:
fig. 13 is a schematic diagram of a server 1300 according to an embodiment of the present disclosure, where the server 1300 may have a relatively large difference due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 1322 (e.g., one or more processors) and a memory 1332, and one or more storage media 1330 (e.g., one or more mass storage devices) storing an application program 1342 or data 1344. Memory 1332 and storage medium 1330 may be, among other things, transitory or persistent storage. The program stored on the storage medium 1330 may include one or more modules (not shown), each of which may include a sequence of instructions operating on a server. Still further, the central processor 1322 may be arranged in communication with the storage medium 1330, executing a sequence of instruction operations in the storage medium 1330 on the server 1300.
The central processor 1322 may perform all or part of the actions performed by the server in the embodiments shown in fig. 2 and fig. 3 according to the instruction operation, which is not described herein again.
The server 1300 may also include one or more power supplies 1326, one or more wired or wireless network interfaces 1350, one or more input-output interfaces 1358, and/or one or more operating systems 1341, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
The steps performed by the server in the above embodiment may be based on the server structure shown in fig. 13.
As shown in fig. 14, for convenience of description, only the portions related to the embodiments of the present application are shown, and details of the specific technology are not disclosed, please refer to the method portion of the embodiments of the present application. The terminal may be any terminal device including a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), a point of sale (POS), a vehicle-mounted computer, and the like, taking the terminal as the mobile phone as an example:
fig. 14 is a block diagram illustrating a partial structure of a mobile phone related to a terminal provided in an embodiment of the present application. Referring to fig. 14, the handset includes: radio Frequency (RF) circuitry 1410, memory 1420, input unit 1430, display unit 1440, sensor 1450, audio circuitry 1460, wireless fidelity (WiFi) module 1470, processor 1480, and power supply 1490. Those skilled in the art will appreciate that the handset configuration shown in fig. 14 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 14:
RF circuit 1410 may be used for receiving and transmitting signals during a message transmission or call, and in particular, for processing received downlink information of a base station to processor 1480; in addition, the data for designing uplink is transmitted to the base station. In general, RF circuit 1410 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 1410 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to global system for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), etc.
The memory 1420 may be used to store software programs and modules, and the processor 1480 executes various functional applications and data processing of the cellular phone by operating the software programs and modules stored in the memory 1420. The memory 1420 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, memory 1420 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The input unit 1430 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. In particular, the input unit 1430 may include a touch panel 1431 and other input devices 1432. The touch panel 1431, also referred to as a touch screen, may collect touch operations performed by a user on or near the touch panel 1431 (for example, operations performed by the user on or near the touch panel 1431 by using any suitable object or accessory such as a finger or a stylus pen), and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 1431 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device and converts it to touch point coordinates, which are provided to the processor 1480 and can receive and execute commands from the processor 1480. In addition, the touch panel 1431 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1431, the input unit 1430 may also include other input devices 1432. In particular, other input devices 1432 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 1440 may be used to display information input by or provided to the user and various menus of the mobile phone. The display unit 1440 may include a display panel 1441, and optionally, the display panel 1441 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), or the like. Further, touch panel 1431 can overlay display panel 1441, and when touch panel 1431 detects a touch operation on or near touch panel 1431, it can transmit to processor 1480 to determine the type of touch event, and then processor 1480 can provide a corresponding visual output on display panel 1441 according to the type of touch event. Although in fig. 14, the touch panel 1431 and the display panel 1441 are two independent components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 1431 and the display panel 1441 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 1450, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 1441 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 1441 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 1460, speaker 1461, microphone 1462 may provide an audio interface between a user and a cell phone. The audio circuit 1460 can transmit the received electrical signal converted from the audio data to the loudspeaker 1461, and the electrical signal is converted into a sound signal by the loudspeaker 1461 and output; on the other hand, the microphone 1462 converts collected sound signals into electrical signals, which are received by the audio circuit 1460 and converted into audio data, which are then processed by the audio data output processor 1480, and then passed through the RF circuit 1410 for transmission to, for example, another cellular phone, or for output to the memory 1420 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through a WiFi module 1470, and provides wireless broadband internet access for the user. Although fig. 14 shows the WiFi module 1470, it is understood that it does not belong to the essential constitution of the handset, and may be omitted entirely as needed within the scope of not changing the essence of the application.
The processor 1480, which is the control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 1420 and calling data stored in the memory 1420, thereby integrally monitoring the mobile phone. Alternatively, the processor 1480 may include one or more processing units; preferably, the processor 1480 may integrate an application processor, which handles primarily operating systems, user interfaces, and applications, among others, with a modem processor, which handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1480.
The handset also includes a power supply 1490 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 1480 via a power management system to provide management of charging, discharging, and power consumption via the power management system.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In this embodiment of the application, the processor 1480 is specifically configured to perform all or part of the actions performed by the terminal in the embodiment shown in fig. 3, and details are not described here again.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in 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 application. 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 the like.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (27)

1. A method for processing a service, comprising:
the method comprises the steps that a server generates binding information, the binding information is used for indicating the binding relation between a terminal and an STB, and the binding information is stored in the server;
the server receives a target request sent by the terminal, wherein the target request is generated by the terminal according to the operation of a user, and the target request comprises first identity information of the terminal and second identity information of the STB;
the server judges whether the first identity information and the second identity information are matched with the binding information;
if yes, the server determines a target API from a preset API set according to the indication of the target request, and the API set is stored in the server;
the server sends the target API to the terminal;
the server receives a control instruction sent by the terminal, and the control instruction is generated by the terminal according to the target API;
the server sends the control instruction to the STB so that the STB executes the operation corresponding to the control instruction.
2. The method of claim 1, wherein the server generating the binding information comprises:
the server receives the first identity information and the second identity information sent by the terminal, the second identity information is obtained by scanning a two-dimensional code on a television through an application program APP by the terminal, and the two-dimensional code is generated by the STB and output to the television;
and the server binds the first identity information and the second identity information to obtain the binding information.
3. The method of claim 1, wherein after the server generates the binding information and before the server receives the target request sent by the terminal, the method further comprises:
and the server determines an operation interface corresponding to the terminal.
4. The method according to claim 3, wherein the server determining the operation interface corresponding to the terminal comprises:
the server determines a user grade according to the first identity information;
the server determines the operation interface corresponding to the user grade from a user grade list.
5. The method of any of claims 1 to 4, wherein the control instructions are used to control the STB to zap or adjust volume.
6. The method according to any of claims 1 to 4, wherein the control instructions are for controlling the STB to transmit an electronic program information navigation EPG to the terminal.
7. The method according to any of claims 1 to 4, wherein the control instructions are used to control the STB to output barrage and/or praise information.
8. The method according to any one of claims 1 to 4, wherein the control instruction is used for controlling the STB to obtain and play the video shared by the terminals through a Uniform Resource Locator (URL).
9. The method according to any one of claims 1 to 4, wherein after the server sends the target API to the terminal, the method further comprises:
the server receives a target instruction sent by the terminal, and the target instruction is generated by the terminal according to the target API;
the server sends the target instruction to a cloud space server so that the cloud space server executes an operation corresponding to the target instruction.
10. The method according to claim 9, wherein the target instruction is used for controlling the cloud space server to allocate cloud space for the terminal; or the like, or, alternatively,
the target instruction is used for controlling the cloud space server to obtain program content from a Content Delivery Network (CDN); or the like, or, alternatively,
the target instruction is used for controlling the cloud space server to store the video uploaded by the terminal.
11. A method for processing a service, comprising:
the method comprises the steps that a terminal is bound with a Set Top Box (STB) through an application program (APP), wherein binding information of the terminal and the STB is stored in a server, and the binding information is used for indicating the binding relationship between the terminal and the STB;
the terminal sends a target request to the server according to the operation of a user, wherein the target request comprises first identity information of the terminal and second identity information of the STB;
when the server determines that the first identity information and the second identity information are matched with the binding information, the terminal acquires a target Application Program Interface (API) from the server, wherein the target API is determined by the server from a preset API set according to the indication of the target request, and the API set is stored in the server;
the terminal generates a control instruction according to the target API;
and the terminal sends the control instruction to the server.
12. The method of claim 11, wherein the binding of the terminal with the STB via the APP comprises:
the terminal scans a two-dimensional code displayed on a television through the APP, and the two-dimensional code is output to the television by the STB;
the terminal acquires the second identity information according to the two-dimensional code;
the terminal sends the first identity information and the second identity information to the server;
and the terminal receives a message sent by the server, wherein the message is used for indicating that the terminal and the STB are successfully bound.
13. A server, comprising:
the generating unit is used for generating binding information, the binding information is used for indicating the binding relationship between the terminal and the STB, and the binding information is stored in the server;
a first receiving unit, configured to receive a target request sent by the terminal, where the target request is generated by the terminal according to an operation of a user, and the target request includes first identity information of the terminal and second identity information of the STB;
a determining unit, configured to determine whether the first identity information and the second identity information match the binding information;
a first determining unit, configured to determine a target API from a preset API set according to an indication of the target request when the first identity information and the second identity information match the binding information, where the API set is stored in the server;
a first sending unit, configured to send the target API to the terminal;
a second receiving unit, configured to receive a control instruction sent by the terminal, where the control instruction is generated by the terminal according to the target API;
a second sending unit, configured to send the control instruction to the STB, so that the STB performs an operation corresponding to the control instruction.
14. The server according to claim 13, wherein the generating unit includes:
the receiving module is used for receiving the first identity information and the second identity information sent by the terminal, the second identity information is obtained by scanning a two-dimensional code on a television through an application program APP by the terminal, and the two-dimensional code is generated by the STB and output to the television;
and the binding module is used for binding the first identity information and the second identity information to obtain the binding information.
15. The server according to claim 13, further comprising:
and the second determining unit is used for determining the operation interface corresponding to the terminal.
16. The server according to claim 15, wherein the second determining unit includes:
the first determining module is used for determining the user grade according to the first identity information;
and the second determining module is used for determining the operation interface corresponding to the user grade from the user grade list.
17. The server according to any one of claims 13 to 16, wherein the control instructions are configured to control the STB to zap or adjust volume.
18. The server according to any one of claims 13 to 16, wherein the control instructions are configured to control the STB to transmit an electronic program information navigation EPG to the terminal.
19. The server according to any one of claims 13 to 16, wherein the control instructions are configured to control the STB to output barrage and/or like information.
20. The server according to any one of claims 13 to 16, wherein the control instruction is configured to control the STB to obtain and play the video shared by the terminals through a uniform resource locator URL.
21. The server according to any one of claims 13 to 16,
the second receiving unit is further configured to receive a target instruction sent by the terminal, where the target instruction is generated by the terminal according to the target API;
the second sending unit is further configured to send the target instruction to a cloud space server, so that the cloud space server executes an operation corresponding to the target instruction.
22. The server according to claim 21, wherein the target instruction is configured to control the cloud space server to allocate cloud space for the terminal; or the like, or, alternatively,
the target instruction is used for controlling the cloud space server to obtain program content from a Content Delivery Network (CDN); or the like, or, alternatively,
the target instruction is used for controlling the cloud space server to store the video uploaded by the terminal.
23. A terminal, comprising:
the binding unit is used for binding the STB through an application program APP, wherein binding information of the terminal and the STB is stored in a server, and the binding information is used for indicating the binding relationship between the terminal and the STB;
a first sending unit, configured to send a target request to the server according to an operation of a user, where the target request includes first identity information of the terminal and second identity information of the STB;
an obtaining unit, configured to obtain a target application program interface API when the server determines that the first identity information and the second identity information match the binding information, where the target API is determined by the server according to an indication of the target request from a preset API set, and the API set is stored in the server;
the generating unit is used for generating a control instruction according to the target API;
and the second sending unit is used for sending the control instruction to the server.
24. The terminal of claim 23, wherein the binding unit comprises:
the scanning module is used for scanning a two-dimensional code displayed on a television through the APP, and the two-dimensional code is output to the television by the STB;
the acquisition module is used for acquiring the second identity information according to the two-dimension code;
the sending module is used for sending the first identity information and the second identity information to the server;
and the receiving module is used for sending a message by the server, wherein the message is used for indicating that the terminal is successfully bound with the STB.
25. A server, comprising:
the system comprises a processor, a memory, a bus and an input/output interface;
the memory has program code stored therein;
when the processor calls the program codes in the memory, the following operations are executed:
generating binding information, wherein the binding information is used for indicating the binding relationship between a terminal and an STB (set top box), and the binding information is stored in the server;
receiving a target request sent by the terminal, wherein the target request is generated by the terminal according to the operation of a user and comprises first identity information of the terminal and second identity information of the STB;
judging whether the first identity information and the second identity information are matched with the binding information;
if yes, determining a target API from a preset API set according to the indication of the target request, wherein the API set is stored in the server;
sending the target API to the terminal;
receiving a control instruction sent by the terminal, wherein the control instruction is generated by the terminal according to the target API;
and sending the control instruction to the STB so as to enable the STB to execute the operation corresponding to the control instruction.
26. A terminal, comprising:
the system comprises a processor, a memory, a bus and an input/output interface;
the memory has program code stored therein;
when the processor calls the program codes in the memory, the following operations are executed:
the method comprises the steps that binding is carried out on the STB through an application program APP, wherein binding information of the terminal and the STB is stored in a server, and the binding information is used for indicating the binding relation between the terminal and the STB;
sending a target request to the server according to the operation of a user, wherein the target request comprises first identity information of the terminal and second identity information of the STB;
when the server determines that the first identity information and the second identity information are matched with the binding information, acquiring a target Application Program Interface (API) from the server, wherein the target API is determined by the server from a preset API set according to the indication of the target request, and the API set is stored in the server;
generating a control instruction according to the target API;
and sending the control instruction to the server.
27. A computer-readable storage medium comprising instructions that, when executed on a computer, cause the computer to perform the method of any of claims 1 to 12.
CN201810110591.6A 2018-02-02 2018-02-02 Service processing method, terminal, server and storage medium Active CN110139139B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810110591.6A CN110139139B (en) 2018-02-02 2018-02-02 Service processing method, terminal, server and storage medium
PCT/CN2019/071506 WO2019149049A1 (en) 2018-02-02 2019-01-13 Service processing method, terminal, server, and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810110591.6A CN110139139B (en) 2018-02-02 2018-02-02 Service processing method, terminal, server and storage medium

Publications (2)

Publication Number Publication Date
CN110139139A CN110139139A (en) 2019-08-16
CN110139139B true CN110139139B (en) 2021-08-03

Family

ID=67477918

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810110591.6A Active CN110139139B (en) 2018-02-02 2018-02-02 Service processing method, terminal, server and storage medium

Country Status (2)

Country Link
CN (1) CN110139139B (en)
WO (1) WO2019149049A1 (en)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112699256A (en) * 2019-10-23 2021-04-23 北京数字理想科技有限公司 Visual management method and device, equipment and storage medium
CN110796556A (en) * 2019-10-30 2020-02-14 泰康保险集团股份有限公司 Information processing method and device, computer readable storage medium and electronic equipment
CN111104577B (en) * 2019-10-31 2023-11-14 北京金堤科技有限公司 Data processing method, data processing device, computer readable storage medium and electronic equipment
CN110930011B (en) * 2019-11-15 2023-11-07 北京浪潮数据技术有限公司 Industrial control system and method, electronic equipment and storage medium
CN110798724A (en) * 2019-11-25 2020-02-14 上海邸客网络科技有限公司 Screen-casting playing method for controlling television box by handheld terminal under non-same network
WO2021195888A1 (en) * 2020-03-30 2021-10-07 深圳市大疆创新科技有限公司 Control method for unmanned aerial vehicle, control terminal, server, and storage medium
CN113242310B (en) * 2020-06-30 2024-04-12 浙江口碑网络技术有限公司 Method and device for realizing service based on applet
CN111880845A (en) * 2020-07-24 2020-11-03 西安万像电子科技有限公司 Method, system and device for controlling target application
CN112040407B (en) * 2020-08-06 2023-03-14 拉扎斯网络科技(上海)有限公司 Beacon data processing method and device, electronic equipment and readable storage medium
CN112788099A (en) * 2020-11-11 2021-05-11 中移雄安信息通信科技有限公司 Method, device and equipment for loading back-end service and computer storage medium
CN114489532B (en) * 2020-11-12 2023-11-10 聚好看科技股份有限公司 Terminal equipment and method for linking terminal equipment and display equipment
CN112769783B (en) * 2020-12-29 2023-04-25 西安万像电子科技有限公司 Data transmission method, cloud server, receiving end and sending end
CN113225236A (en) * 2021-04-09 2021-08-06 珠海格力电器股份有限公司 Electric appliance control method and device, storage medium, remote controller and server
CN113285987A (en) * 2021-05-08 2021-08-20 北京京东振世信息技术有限公司 Method and apparatus for transmitting information
TWI771055B (en) * 2021-06-11 2022-07-11 中華電信股份有限公司 Method for sharing multimedia information and set-top box system using the same
CN113852740A (en) * 2021-09-18 2021-12-28 广东睿住智能科技有限公司 Anti-lost system and method and readable storage medium thereof
CN114116090A (en) * 2021-11-08 2022-03-01 深圳Tcl新技术有限公司 Information display method and device, electronic equipment and computer readable storage medium
CN114489403B (en) * 2022-01-26 2023-07-07 中国联合网络通信集团有限公司 Method, device, equipment and storage medium for publishing popup screen
CN114727154A (en) * 2022-03-10 2022-07-08 阿里云计算有限公司 Cloud application service data processing method and system, storage medium and processor
CN114331459B (en) * 2022-03-14 2022-05-24 广东招才通信息科技有限公司 Mobile payment system and method based on big data

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102438090A (en) * 2011-11-01 2012-05-02 广东九联科技股份有限公司 Method for realizing remote control of set-top box by mobile phone
CN104038781A (en) * 2014-04-21 2014-09-10 华数传媒网络有限公司 Mobile terminal system for controlling set top box and implementation method
CN105553931A (en) * 2015-11-27 2016-05-04 深圳市美贝壳科技有限公司 Mobile phone and household intelligent equipment rapid activation and binding method
CN106559700A (en) * 2015-09-29 2017-04-05 北京优朋普乐科技有限公司 A kind of method of lan device interaction, apparatus and system

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8577354B2 (en) * 2011-10-07 2013-11-05 Newaer, Inc. Automating actions within a phone network based upon scanned wireless signals
JP2014045232A (en) * 2012-08-24 2014-03-13 Hitachi Consumer Electronics Co Ltd Remote control system and terminal device
CN103152624A (en) * 2013-02-26 2013-06-12 中兴通讯股份有限公司 Remote control processing method, device and system
US9054742B2 (en) * 2013-03-14 2015-06-09 Intel Corporation Error and erasure decoding apparatus and method
CN103369363B (en) * 2013-06-27 2016-08-24 北京新思易佳科技有限公司 The control method of a kind of application program, system and device
KR20150025514A (en) * 2013-08-30 2015-03-10 (주)휴맥스 Method for relaying contents in contents reproducing device
CN103986752B (en) * 2014-05-08 2017-10-03 海信集团有限公司 The method, apparatus and system of information are inputted in the inputting interface of intelligent television
CN106937164A (en) * 2015-12-30 2017-07-07 上海东方网络金融服务有限公司 The Set Top Box of television set and the exchange method of smart mobile phone
CN106131709A (en) * 2016-08-31 2016-11-16 深圳创维数字技术有限公司 A kind of method and system of remote-control Set Top Box
CN106897071A (en) * 2017-02-28 2017-06-27 郑州云海信息技术有限公司 A kind of API extracting methods and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102438090A (en) * 2011-11-01 2012-05-02 广东九联科技股份有限公司 Method for realizing remote control of set-top box by mobile phone
CN104038781A (en) * 2014-04-21 2014-09-10 华数传媒网络有限公司 Mobile terminal system for controlling set top box and implementation method
CN106559700A (en) * 2015-09-29 2017-04-05 北京优朋普乐科技有限公司 A kind of method of lan device interaction, apparatus and system
CN105553931A (en) * 2015-11-27 2016-05-04 深圳市美贝壳科技有限公司 Mobile phone and household intelligent equipment rapid activation and binding method

Also Published As

Publication number Publication date
WO2019149049A1 (en) 2019-08-08
CN110139139A (en) 2019-08-16

Similar Documents

Publication Publication Date Title
CN110139139B (en) Service processing method, terminal, server and storage medium
US10834237B2 (en) Method, apparatus, and storage medium for controlling cooperation of multiple intelligent devices with social application platform
US10659844B2 (en) Interaction method and system based on recommended content
CN106412681B (en) Live bullet screen video broadcasting method and device
CN106791892B (en) Method, device and system for live broadcasting of wheelhouses
CN106803993B (en) Method and device for realizing video branch selection playing
CN106973330B (en) Screen live broadcasting method, device and system
CN107231159B (en) Radio frequency interference processing method, device, storage medium and terminal
CN106303733B (en) Method and device for playing live special effect information
CN106254910B (en) Method and device for recording image
CN108574778B (en) Screen projection brightness adjusting method and related product
CN108834132B (en) Data transmission method and equipment and related medium product
CN110719319B (en) Resource sharing method, device, terminal equipment and storage medium
CN112019929A (en) Volume adjusting method and device
CN106791916B (en) Method, device and system for recommending audio data
WO2017215661A1 (en) Scenario-based sound effect control method and electronic device
CN108337533B (en) Video compression method and device
CN105227598B (en) Resource sharing method, device and system based on cloud storage
CN108718389B (en) Shooting mode selection method and mobile terminal
CN112691363A (en) Cross-terminal switching method and related device for cloud games
CN111199424A (en) Advertisement putting method and device, terminal equipment and storage medium
CN109495769B (en) Video communication method, terminal, smart television, server and storage medium
CN106708390B (en) Screen capturing method, device and system
CN110769303A (en) Playing control method and device and mobile terminal
CN107622234B (en) Method and device for displaying budding face gift

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant