WO2015089790A1 - Service processing method, apparatus, and system - Google Patents

Service processing method, apparatus, and system Download PDF

Info

Publication number
WO2015089790A1
WO2015089790A1 PCT/CN2013/089965 CN2013089965W WO2015089790A1 WO 2015089790 A1 WO2015089790 A1 WO 2015089790A1 CN 2013089965 W CN2013089965 W CN 2013089965W WO 2015089790 A1 WO2015089790 A1 WO 2015089790A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
service
terminal
breakpoint
breakpoint information
Prior art date
Application number
PCT/CN2013/089965
Other languages
French (fr)
Chinese (zh)
Inventor
朱晓荣
时洪露
朱洪波
邢平平
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201380003501.9A priority Critical patent/CN105052165B/en
Priority to PCT/CN2013/089965 priority patent/WO2015089790A1/en
Publication of WO2015089790A1 publication Critical patent/WO2015089790A1/en

Links

Classifications

    • 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/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47214End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for content reservation or setting reminders; for requesting event notification, e.g. of sport results or stock market

Definitions

  • the present invention relates to the field of network technologies, and in particular, to a service processing method, apparatus, and system. Background technique
  • a user may have multiple terminals capable of handling services, such as mobile phones, tablets, and the like.
  • the other terminal may continue to process the service.
  • the user uses the mobile phone to watch the video outdoors, and closes the video during the viewing.
  • the video can be queried on the computer, and the video progress bar is dragged first. Find the time point you last watched outdoors, and continue watching from that point in time.
  • the embodiment of the present invention provides a service processing method, apparatus and system.
  • the technical solution is as follows:
  • a service processing method includes:
  • breakpoint information corresponding to the user identifier where the breakpoint information is used to indicate a processing progress of the service, and the breakpoint information is interrupted by a second terminal that processes the service based on the user identifier Determined at the time of business;
  • the method before the acquiring the breakpoint information corresponding to the user identifier, the method further includes:
  • the service data that is determined according to the breakpoint information is sent to the first terminal, so that the first terminal continues to process the service, including:
  • the method further includes: acquiring context information of the first terminal;
  • decision information includes data format information
  • the service is to play a multimedia file, and according to the determining information, performing the sending to the first terminal
  • the step of sending the service data determined according to the breakpoint information includes:
  • the multimedia file of the service is transcoded according to the data format information, so that the transcoded multimedia file matches the data format information, and the execution is performed. And the step of the first terminal transmitting the transcoded multimedia file data stream determined according to the breakpoint information.
  • the context information includes at least one of terminal context information, including a terminal type, a screen resolution, a processor class, or a storage capacity, where the network includes The context information includes the network connection method, transmission quality, transmission bandwidth, or network rate.
  • a service processing apparatus is provided, where the apparatus includes:
  • a request request receiving module configured to receive a specified processing request of the first terminal based on the user identifier, where the specified processing request is used to request to continue processing the interrupted service;
  • a breakpoint obtaining module configured to acquire breakpoint information corresponding to the user identifier, where the breakpoint information is used to indicate a processing progress of the service, and the breakpoint information is processed by a second service based on the user identifier
  • the terminal determines when the service is interrupted;
  • a breakpoint sending module configured to send the service data determined according to the breakpoint information to the first terminal, so that the first terminal continues to process the service.
  • the device further includes: an interrupt request receiving module, configured to receive, by the second terminal, an interrupt service request based on the user identifier, the interrupt The service request carries the breakpoint information; and/or,
  • a breakpoint generating module configured to receive the interrupt service of the second terminal based on the user identifier Obtaining, according to the processing progress of the current business, generating the breakpoint information
  • a saving module configured to save the user identifier and the breakpoint information correspondingly.
  • the breakpoint sending module includes:
  • a first breakpoint sending unit configured to acquire, according to the breakpoint information, service data starting from the breakpoint information, and send, to the first terminal, service data starting from the breakpoint information, so that The first terminal continues to process the service according to the service data whose breakpoint information is the starting point; or the second breakpoint sending unit is configured to send the breakpoint information and the service to the first terminal And causing the first terminal to continue processing the service according to the service data, starting from the breakpoint information.
  • the device further includes: a context acquiring module, configured to acquire context information of the first terminal;
  • An analysis module configured to analyze the context information to obtain decision information, where the decision information includes data format information
  • a decision module configured to perform, according to the decision information, a step of transmitting, to the first terminal, service data determined according to the breakpoint information.
  • the service is to play a multimedia file
  • the determining module includes:
  • a determining unit configured to determine whether a multimedia file matching the data format information exists in the multimedia file of the service
  • a first matching unit configured to: when a multimedia file matching the data format information exists, perform a step of transmitting a multimedia file data stream determined according to the breakpoint information to the first terminal; or, a second matching unit And, when there is no multimedia file matching the data format information, transcoding the multimedia file of the service according to the data format information, so that the transcoded multimedia file matches the data format information And performing the step of transmitting, to the first terminal, the transcoded multimedia file data stream determined according to the breakpoint information.
  • the context information includes at least one of terminal context information, including a terminal type, a screen resolution, a processor class, or a storage capacity
  • the network includes
  • the context information includes the network connection method, transmission quality, transmission bandwidth, or network rate.
  • a service processing system is provided, where the system includes: a context server, a decision server, and a media server,
  • the context server is configured to receive a specified processing request of the first terminal based on the user identifier, where the specified processing request is used to request to continue processing the interrupted service; and obtain breakpoint information corresponding to the user identifier, where the breakpoint information is used by Determining the processing progress of the service, and the breakpoint information is determined by the second terminal that processes the service based on the user identifier when the service is interrupted; the server is configured to obtain the disconnection according to the breakpoint information
  • the point information is the service data of the starting point, and the service data with the breakpoint information as a starting point is sent to the first terminal, so that the first terminal continues to process the service according to the service data with the breakpoint information as a starting point. ; or,
  • the context server is further configured to send the breakpoint information to the first terminal, where the media server is configured to send the service data to the first terminal, so that the first terminal uses the breakpoint information As a starting point, the service is continued to be processed according to the service data.
  • the decision server is configured to acquire context information of the first terminal, analyze the context information, obtain decision information, where the decision information includes data format information, and send the decision information to the media server, so that The media server obtains service data corresponding to the service according to the decision information.
  • the method, the device and the system provided by the embodiment of the present invention obtain the breakpoint information of the service when receiving the request for the first terminal to continue processing the service when the second terminal has interrupted the service, so that The first terminal can continue to process the service without processing the service from the beginning, realizing the migration of the service on different terminals, and ensuring the continuity of the service processing, reducing the consumption time.
  • FIG. 1 is a flowchart of a service processing method according to an embodiment of the present invention.
  • FIG. 2 is a flowchart of a service processing method according to an embodiment of the present invention.
  • FIG. 3a is a flowchart of a service processing method according to an embodiment of the present invention.
  • FIG. 3b is a schematic diagram of interaction information provided by an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a service processing apparatus according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a service processing system according to an embodiment of the present invention. detailed description
  • FIG. 1 is a flowchart of a service processing method according to an embodiment of the present invention. Referring to FIG. 1, the method includes:
  • breakpoint information corresponding to the user identifier, where the breakpoint information is used to indicate a processing progress of the service, and the breakpoint information is determined by the second terminal that processes the service based on the user identifier when the service is interrupted.
  • the method provided by the embodiment of the present invention when receiving the request for the first terminal to continue processing the service, if the second terminal has interrupted the service, acquiring the breakpoint information of the service, so that the first terminal can continue to process the The service, without having to deal with the service from the beginning, realizes the migration of the service on different terminals, and ensures the continuity of the business processing, and the operation is reduced, and the consumption time is reduced.
  • the method before acquiring the breakpoint information corresponding to the user identifier, the method further includes:
  • the service data determined according to the breakpoint information is sent to the first terminal, so that the first terminal continues to process the service, including:
  • the method further includes:
  • the context information is analyzed to obtain decision information, and the decision information includes data format information. According to the decision information, the step of transmitting the service data determined according to the breakpoint information to the first terminal is performed.
  • the service is to play the multimedia file
  • performing the step of sending the service data determined according to the breakpoint information to the first terminal includes: Determining whether there is a multimedia file matching the data format information in the multimedia file of the service;
  • the multimedia file of the service is transcoded according to the data format information, so that the transcoded multimedia file matches the data format information, and execution is performed to the first terminal.
  • the step of transmitting the transcoded multimedia file data stream determined according to the breakpoint information.
  • the context information includes at least one of terminal context information including a terminal type, a screen resolution, a processor class, or a storage capacity, where the network context information includes a network connection manner, and the transmission Quality, transmission bandwidth or network speed.
  • FIG. 2 is a flowchart of a service processing method according to an embodiment of the present invention.
  • the interaction entity of the embodiment of the present invention is a service processing device, a first terminal, and a second terminal, and the method includes:
  • the second terminal interrupts processing the service when receiving the interrupt service instruction in the process of processing the service based on the user identifier.
  • the embodiment of the present invention is applied to a scenario in which the first terminal requests to continue processing the service in the case that the second terminal has interrupted the processing of the service.
  • the first terminal and the second terminal may be terminals of a mobile phone, a computer, a tablet computer, a television, and the like, and the service may be a plurality of types of services, such as playing video, playing audio, displaying a webpage, and the like. Not limited.
  • the service processing device may be any one of a server cluster and a server cluster, or any of the server modules.
  • the user identifier can be used to uniquely determine the identifier of the user, such as the user account used by the user to log in to the service processing device, the user's phone number, etc., and the second terminal uses the user identifier to log in to the service processing device.
  • a request can be sent to the service processing device based on the user identification.
  • the second terminal logs in to the service processing device by using the user identifier, and when the second terminal detects that the user clicks the pause button in the process of playing the multimedia file, determining that the interrupt service command is received, the second terminal pauses. Play the multimedia file.
  • the second terminal detects that the user closes the operation of the application software associated with the service processing device, and determines that the interrupt service instruction is received, the application software is closed.
  • the method for triggering the interrupt service instruction and the manner for the second terminal to interrupt the processing of the service are not limited in this embodiment of the present invention.
  • the second terminal sends an interrupt service request to the service processing apparatus based on the user identifier, where the interrupt service request carries breakpoint information.
  • the breakpoint information is used to indicate the processing progress of the service, and may be a time schedule, a progress of the number of pages, and the like.
  • the breakpoint information includes a time point at which the video is played when paused, and for the document, the breakpoint information includes a page number displayed when the document is closed, and for the webpage, the breakpoint The point information includes the web page node to which the web page is displayed when it is closed.
  • the breakpoint information may further include basic configuration information of the service, such as a name of the video, a name of the document, and a link address of the webpage, and the service data corresponding to the service may be obtained according to the basic configuration information.
  • the breakpoint information is a URL (Uniform Resource Locator), where the URL includes an address and a processing manner of the service data, accesses an address indicated by the URL, and accesses the accessed data according to the processing manner. This service data can also be obtained when processing.
  • the embodiment of the present invention does not limit the breakpoint information.
  • the second terminal may interrupt the service multiple times and continue to process the service, and the second terminal may, when the service is interrupted, the service processing device. Sending the current breakpoint information, or sending the current breakpoint information to the service processing device when the second terminal user determines to send the breakpoint information.
  • the breakpoint information may also be sent to the service processing device, which is not limited in this embodiment of the present invention. 203.
  • the service processing device saves the user identifier and the breakpoint information when receiving the interrupt service request.
  • the service processing device saves the user identifier and the breakpoint information in a preset database.
  • the service processing device may obtain multiple breakpoint information, and the service processing device may correspond the multiple breakpoint information to the user identifier.
  • the saving is performed, so that the subsequent user can select the breakpoint information from the plurality of breakpoint information according to the starting point of the desired processing start, and continue to process the service according to the selected breakpoint information.
  • the service processing device saves the user identifier and the plurality of pause time points of the video correspondingly, when the user wishes to be in the first
  • the user may select the latest pause time point to continue playing according to the time sequence of the multiple pause time points corresponding to the user identifier, so as to implement the breakpoint resume, or select the middle position.
  • the pause time point continues to play, so that the user can review the wonderful video content.
  • the breakpoint information is carried by the interrupt service request, and the service processing device obtains the breakpoint information when receiving the interrupt service request as an example for description.
  • the point information may also be generated by the service processing device, or may be jointly generated by the first terminal and the service processing device, that is, in another embodiment provided by the embodiment of the present invention, the step 202 and the step 203 may be performed by the following steps. Instead of:
  • the second terminal sends an interrupt service request to the service processing device, and when receiving the interrupt service request, the service processing device generates the breakpoint information according to the current processing progress of the service, and correspondingly saves the user identifier and The breakpoint information.
  • the service processing device sends a video stream to the second terminal, and when the user clicks the pause button, the second terminal sends an interrupt service request to the service processing device, where the service processing When receiving the interrupt service request, the device may acquire a time point of the video indicated by the currently suspended video stream, and generate the breakpoint information according to the time point.
  • the second terminal sends an interrupt service request to the service processing device, the interrupt service request Carrying the terminal breakpoint information generated by the second terminal, the service processing device acquires the breakpoint information of the terminal when receiving the interrupt service request, and according to the terminal breakpoint information, the address of the service data, the processing manner, and the like
  • the basic configuration information is generated, and the breakpoint information is generated, and the user identifier and the breakpoint information are saved correspondingly.
  • the first terminal sends a specified processing request to the service processing apparatus based on the user identifier, where the specified processing request is used to request to continue processing the interrupted service, and the specified processing request carries context information of the first terminal.
  • the first terminal uses the user identifier to log in to the service processing device, and the specified processing request may be triggered by the user clicking the continuous viewing button on the first terminal, or when the user opens the application software associated with the service processing device.
  • the automatic triggering is not limited in this embodiment of the present invention.
  • the method further includes: the service processing device correspondingly saving the user identifier and the context information. Further, when the service processing device receives the context information corresponding to the user identifier again, the saved context information corresponding to the user identifier is replaced with the currently received context information.
  • the specified processing request carries the context information of the first terminal, where the context information is used to describe the current state of the first terminal, and may include various variables, registers, or operating environments, etc., The embodiment does not limit this.
  • the context information is structured information.
  • the context information includes at least one of terminal context information including a terminal type, a screen resolution, a processor class or a storage capacity, and the like, the network context information including a network connection manner.
  • the context information is not limited in the embodiment of the present invention, the transmission quality, the transmission bandwidth, or the network rate.
  • the embodiment of the present invention uses the specified processing request to carry the context information as an example.
  • the specified processing request may not carry the context information
  • the first terminal may send the service information to the service processing device.
  • the context information is separately transmitted to the service processing device, or the context information is not transmitted to the service processing device.
  • the first terminal may further send terminal context information to the service processing device, where the first terminal is connected.
  • the incoming base station or the base station controller sends the network context information to the service processing device, where the network context information includes information about the network connection mode, the transmission quality, and the transmission bandwidth of the access network, and can indicate the access network characteristics of the first terminal.
  • the manner in which the service processing device obtains the context information of the first terminal is not limited in the embodiment of the present invention.
  • the service processing device acquires breakpoint information corresponding to the user identifier.
  • the service processing device has saved the user identifier and the breakpoint information in the preset database, and queries the preset database to obtain the breakpoint information corresponding to the user identifier.
  • the service processing device obtains a breakpoint information corresponding to the user identifier as an example.
  • the service processing device may The point information is provided to the first terminal user for selection, and details are not described herein again.
  • the service processing device analyzes the context information to obtain decision information, where the decision information includes data format information.
  • the service processing apparatus performs comprehensive analysis and calculation on the terminal context information and the network context information of the first terminal and the type of the service, and determines decision information that matches the first terminal.
  • the decision information includes data format information, where the data format information is used to specify format information that matches the first terminal, and may include a resolution, a file size, a file format, or a transmission rate that match the first terminal.
  • the decision information may also include information such as the publisher of the service data, the release time of the service data, and the like, which is not limited by the embodiment of the present invention.
  • the type of the service may be a play multimedia file type, a webpage display type, a document display type, and the like, which is not limited by the embodiment of the present invention.
  • the service processing device analyzes information such as storage capacity, network connection mode, transmission quality, and network bandwidth of the first terminal, if the storage capacity of the first terminal is small or the network bandwidth is small or transmitted.
  • the quality is not good, and the format of the video is determined to be H.264 format, instead of the MPEG-2 format which requires a large storage space and a large network bandwidth.
  • the step 206 is performed after the step 205 as an example. It is to be noted that, in fact, there is no inevitable timing relationship between the step 205 and the step 206, which may be performed at the same time, or may be performed one after the other, which is not limited by the embodiment of the present invention.
  • the service processing device determines whether there is service data matching the data format information in the service data corresponding to the service. If yes, go to step 209. If no, go to step 208.
  • acquiring a plurality of service data corresponding to the service in the service processing device traversing the acquired service data, determining whether each service data matches the data format information, and matching any service data with the data format information.
  • the business data matching the data format information is obtained.
  • the data format information may include multiple formats of the resolution of the service data, the transmission rate of the service data transmission, and the network bandwidth occupied by the service data.
  • the data may be accurately matched or Fuzzy matching. That is, determining whether the resolution of the service data, the transmission rate required to transmit the service data, and the network bandwidth occupied by the service format match the format information specified by the data format information, and the service data may be
  • the format information matches the data format information, it is determined that the service data matches the data format information, and when the preset item in each format information of the service data matches the data format information, The business data can be determined to match the data format information.
  • the service processing device performs matching processing on the service data corresponding to the service, so that the processed service data matches the data format information, and step 209 is performed.
  • the service processing device when the service processing device does not save the service data that matches the data format information, the service data needs to be processed to obtain the service data that matches the data format information.
  • performing matching processing on the service data includes, but is not limited to, transcoding the service data according to the data format information, so that the transcoded service data matches the data format information.
  • the step 206-208 performs content and format adaptation according to the context information of the first terminal, such as access network characteristics and terminal characteristics, so that the service processing device acquires the first terminal.
  • the context information of the first terminal such as access network characteristics and terminal characteristics
  • the steps 206-208 are optional steps, and the service processing device may also be incorrect.
  • the context information of the first terminal is analyzed, and the service data corresponding to the service is directly sent to the first terminal, or the service data corresponding to the service is sent to the first terminal, and the compatibility is the best, most likely with the first
  • the service data matched by the terminal of course, if the first terminal stores the service data corresponding to the service, the service may continue to be processed according to the breakpoint information and the service data saved by the first terminal, This is not limited.
  • the service processing device acquires, according to the breakpoint information, service data that matches the data format information by using the breakpoint information as a starting point.
  • the service processing apparatus sends the acquired service data to the first terminal.
  • the step 209 may include any of the following:
  • the service processing device sends the video stream starting from the breakpoint information to the first terminal, so that the first terminal starts playing the video stream from the breakpoint information.
  • the service processing device sends the audio stream starting from the breakpoint information to the first terminal, so that the first terminal starts playing the audio stream from the breakpoint information.
  • the service processing apparatus transmits, to the first terminal, information to be displayed starting from the breakpoint information, so that the first terminal displays information starting from the breakpoint information.
  • the service processing device transmits the document content starting from the breakpoint information to the first terminal, so that the first terminal displays the document valley starting from the breakpoint information.
  • step 209 and the step 210 may be replaced by any one of the following steps:
  • the service processing device sends the breakpoint information and the service data matching the data format information to the first terminal, so that the first terminal starts processing the service according to the service data by using the breakpoint information as a starting point.
  • the service processing device sends the breakpoint information to the first terminal, when the first terminal receives When the breakpoint information is reached, the user is prompted to receive the breakpoint information, and when the first terminal detects the user confirming the breakpoint information, sending an acknowledgement message to the service processing device, when the service processing device receives When the confirmation message is sent, the service data matching the data format information is sent to the first terminal.
  • the service processing device may simultaneously send the breakpoint information and the service data, or may send the message in tandem, or send the breakpoint information first, and the first terminal user confirms the service. After receiving the confirmation message, the processing device sends the service data, which is not limited.
  • the first terminal continues to process the service according to the service data that uses the breakpoint information as a starting point and matches the data format information.
  • the first terminal when receiving the video stream sent by the service processing device starting from the breakpoint information, the first terminal plays the video stream, so that the user can start watching from the time point indicated by the breakpoint information.
  • video when receiving the webpage content sent by the service processing apparatus and starting from the breakpoint information, the first terminal displays the received webpage content, so that the user can start from the breakpoint information and browse. The content of the page.
  • the first terminal determines a time point indicated by the breakpoint information, and corresponds to receiving the time point.
  • playback begins, allowing the user to watch the video from that point in time.
  • the webpage display when the first terminal receives the breakpoint information, determining the webpage link address and the displayed webpage node, the first terminal jumps to the webpage link address, and displays the webpage node from the display. The content in the web page.
  • the processing of a service is taken as an example.
  • the processing procedure is similar, and details are not described herein again.
  • the second terminal opens a plurality of webpage windows in the browser based on the user identifier, and when the second terminal closes the browser, simultaneously closes the plurality of webpage windows, and then, when the first terminal uses
  • the plurality of webpage windows can continue to be displayed, and the user selects a webpage window to continue browsing.
  • the method provided by the embodiment of the present invention is received by the second terminal when the service is interrupted.
  • the breakpoint information of the service is obtained, so that the first terminal can continue to process the service without processing the service from the beginning, realizing the migration of the service on different terminals, and ensuring The continuity of business processing, the operation of the cylinder, reducing the time spent.
  • the first terminal is provided with matching service data, which ensures the adaptability of the terminal and has strong flexibility.
  • the service processing device performs corresponding storage of the user identifier and the breakpoint information, and sends the breakpoint information to the first terminal to analyze the context information of the first terminal.
  • a process in which a terminal provides matching service data is used as an example.
  • the foregoing process may be performed by multiple interrelated servers, such as correspondingly saving the user identifier and the breakpoint information, and sending the disconnection to the first terminal.
  • the point information is executed by the context server, and the analysis of the context information is performed by the decision server, and the matching service data is provided by the media server for the first terminal to be executed by the media server.
  • the next embodiment will introduce the interaction between the multiple associated servers.
  • Figure 3a is a flowchart of a service processing method according to an embodiment of the present invention.
  • the interaction entity in the embodiment of the present invention is a first terminal, a second terminal, a context server, a decision server, and a media server, and the method includes :
  • the second terminal sends a video play request to the media server based on the user identifier.
  • the embodiment of the present invention is applied to a scenario in which the first terminal requests to continue processing the service after the second terminal interrupts the processing service.
  • the embodiment of the present invention uses the service as a playback video as an example for description.
  • the context information is used to save context information and breakpoint information corresponding to the user identifier
  • the decision server is configured to determine the decision information according to the context information
  • the media server is configured to provide service data for the terminal. Then, when receiving the video play request, the media server does not immediately push the video stream to the second terminal, but waits for the decision server to determine the decision information, and then transcodes the video stream according to the decision information. After the matching process, the video stream is pushed to the second terminal, so that the pushed video stream matches the second terminal.
  • the second terminal sends the context information of the second terminal to the context server based on the user identifier.
  • the second terminal acquires context information of the second terminal by using a context programming API (Application Programming Interface), and sends the context information to the context server based on the user identifier.
  • a context programming API Application Programming Interface
  • the embodiment of the present invention is described by taking the step 302 after the step 301 as an example.
  • the step 301 and the step 302 may be performed simultaneously, or when the second terminal sends a video play request to the media server,
  • the context information is sent to the media server, and is forwarded to the context server by the media server, which is not limited by the embodiment of the present invention.
  • the context server receives the context information, the user identifier and the context information are saved correspondingly.
  • the context server forwards the context information to the decision server.
  • the context server may be used to establish and manage a preset database, where multiple user identifiers and context information corresponding to each user identifier are recorded in the preset database.
  • the context server When the context server receives the context information of the second terminal, determining whether the user identifier is saved in the context server, and if the user identifier is saved in the context server, forwarding the context information to the decision server, if When the context information does not save the user identifier, the user identifier error information is sent to the second terminal without performing a forwarding operation.
  • the context server can also authenticate the user identity.
  • the context information is stored with each registered user identifier and password.
  • the second terminal logs in using the user identifier, the user identifier and the password input by the user are obtained, and the password input by the user and the password saved by the context server are determined. Match, if yes, the verification is passed, if no, the verification fails, prompting the second terminal to fail to log in.
  • the embodiment of the present invention is described by taking the step 304 after the step 303 as an example.
  • the step 303 and the step 304 may be performed simultaneously, or when the context server receives the context information, the step 304 is performed before the step is performed.
  • the embodiment of the present invention does not limit this.
  • 305 When the decision server receives the context information, analyze the context information to obtain decision information, where the decision information includes data format information.
  • the storage operation when the decision information receives the context information, the storage operation is not performed, but the context information is analyzed to determine data format information that matches the first terminal.
  • the decision server sends the decision information to the media server.
  • the media server When the media server receives the decision information, perform video processing according to the decision information and the video play request to obtain a video stream.
  • the media server pushes the video stream to the second terminal.
  • the media server opens two ports for receiving decision information sent by the decision server and pushing the video stream to the terminal.
  • the decision server also opens two ports for receiving context information sent by the context server and forwarding the decision information to the media server.
  • the context server has a complicated workflow, and the concurrency requirement is high, and the java multi-thread operation may be adopted. Further, the context server may include multiple databases, and the information interaction between the context server and the database may be adopted. JDBC (Java Data Base Connectivity, java database connection) is done in a way.
  • JDBC Java Data Base Connectivity, java database connection
  • the second terminal performs video playback when receiving the video stream.
  • the second terminal can use the webpage to embed flash (interactive vector graphics and web animation standard) to play video, and can perform information interaction with the server while playing the video, and can send or receive the breakpoint. information.
  • flash interactive vector graphics and web animation standard
  • the second terminal receives the interrupt play instruction during the video playback based on the user identifier, pauses playing the video and acquires breakpoint information.
  • the second terminal sends an interrupt play request to the media server and the context server based on the user identifier, where the interrupt play request carries the breakpoint information.
  • the second terminal sends the breakpoint to the context server by using a socket (socket) Information.
  • the context information and the breakpoint information may be sent in conjunction with a Transmission Control Protocol (TCP).
  • TCP Transmission Control Protocol
  • the media server stops pushing the video stream when receiving the interrupt play request.
  • the context server saves the user identifier and the breakpoint information when receiving the interrupt play request.
  • the method provided by the embodiment of the present invention is applied.
  • the user wants to pause the video playing during the process of watching the video using one terminal, the user only needs to trigger the operation of suspending the video playing to implement the storage of the breakpoint information.
  • you want to continue watching the video with another terminal you only need to trigger the operation to continue playback, and you can resume the breakpoint.
  • the first terminal uses the user identifier to log in to the media server.
  • the step of automatically sending the context information of the first terminal to the context server based on the user identifier is automatically performed.
  • the first terminal sends a resume play request to the media server based on the user identifier.
  • the first terminal sends the context information of the first terminal to the context server based on the user identifier.
  • FIG. 3b is a schematic diagram of the interaction information provided by the embodiment of the present invention.
  • the second terminal has sent the context information of the second terminal and the breakpoint information to the context server, where the first terminal uses the user identifier. After logging in, the context information of the first terminal is sent to the context server.
  • step 316 is performed in the step 315.
  • step 315 and the step 316 may be performed simultaneously, which is not limited by the embodiment of the present invention.
  • the context server When receiving the context information of the first terminal, the context server obtains the breakpoint information corresponding to the user identifier, and replaces the context information of the second terminal that is saved corresponding to the user identifier with the first terminal. Contextual information.
  • the context server forwards the context information of the first terminal to the decision server.
  • the context server sends the breakpoint information of the first terminal to the media server.
  • the decision server receives the context information, analyze the context information, The decision information is obtained, and the decision information includes data format information.
  • the decision server sends the decision information to the media server.
  • the media server receives the decision information, perform video processing according to the decision information, the video play request, and the breakpoint information, to obtain a video stream starting from the breakpoint information.
  • the steps 304-307 are a process of performing video content and format adaptation for the second terminal, and the steps 318-322 are a process of performing video content and format adaptation for the first terminal, similar to the steps 304-307. I will not repeat them here.
  • the media server pushes the video stream starting from the breakpoint information to the first terminal.
  • the first terminal When receiving the video stream, the first terminal starts playing the video from the breakpoint information.
  • the method provided by the embodiment of the present invention takes a video as an example, and obtains a breakpoint information of the video when receiving the request for the first terminal to continue playing the video when the second terminal has interrupted the video playing, and
  • the context information of the first terminal is analyzed, and the video stream that matches the first terminal starting from the breakpoint information is pushed to the first terminal, so that the first terminal can start from the breakpoint information.
  • the video stream continues to play the video without playing the video from the beginning, realizing the resume of the video on different terminals, ensuring the continuity of the video playback, operating the tube, and taking a short time, ensuring the terminal Adaptive, flexible.
  • 4 is a schematic structural diagram of a service processing apparatus according to an embodiment of the present invention. Referring to FIG.
  • the apparatus includes: a request request receiving module 401, a breakpoint obtaining module 402, and a breakpoint sending module 403, wherein the request receiving module 401 is specified.
  • the specified processing request is used to receive the specified processing request based on the user identifier, and the specified processing request is used to request to continue processing the interrupted service;
  • the breakpoint obtaining module 402 is connected to the specified request receiving module 401, and configured to acquire the corresponding Point information, the breakpoint information is used to indicate the processing progress of the service, and the breakpoint information is determined by the second terminal processing the service based on the user identifier when the service is interrupted;
  • the breakpoint sending module 403 and the breakpoint obtaining module 402 a connection, configured to send, to the first terminal, service data determined according to the breakpoint information, so that the first terminal continues Take care of the business.
  • the device further includes:
  • An interrupt request receiving module configured to receive an interrupt service request of the second terminal based on the user identifier, where the interrupt service request carries the breakpoint information; and/or,
  • a breakpoint generating module configured to receive an interrupt service request of the second terminal based on the user identifier, and generate the breakpoint information according to a current processing progress of the service
  • the save module is configured to save the user identifier and the breakpoint information.
  • the breakpoint sending module includes:
  • a first breakpoint sending unit configured to acquire, according to the breakpoint information, service data starting from the breakpoint information, and send, to the first terminal, service data starting from the breakpoint information, so that the first terminal
  • the service data starting from the breakpoint information continues to process the service
  • a second breakpoint sending unit configured to send the breakpoint information and the service data to the first terminal, so that the first terminal starts processing the service according to the service data, starting from the breakpoint information.
  • the device further includes:
  • a context obtaining module configured to acquire context information of the first terminal
  • An analysis module configured to analyze the context information to obtain decision information, where the decision information includes data format information
  • a determining module configured to perform, according to the decision information, a step of sending the service data determined according to the breakpoint information to the first terminal.
  • the service is to play a multimedia file
  • the decision module includes:
  • a determining unit configured to determine whether a multimedia file matching the data format information exists in the multimedia file of the service
  • a first matching unit configured to: when a multimedia file matching the data format information exists, perform a step of transmitting a multimedia file data stream determined according to the breakpoint information to the first terminal; or, a second matching unit, configured to: When there is no multimedia file matching the data format information, the multimedia file of the service is transcoded according to the data format information, so that the transcoded multimedia file is The device matches the data format information, and performs the step of transmitting, to the first terminal, the transcoded multimedia file data stream determined according to the breakpoint information.
  • the context information includes at least one of terminal context information including a terminal type, a screen resolution, a processor class, or a storage capacity, where the network context information includes a network connection manner, and the transmission Quality, transmission bandwidth or network speed.
  • FIG. 5 is a schematic structural diagram of a service processing system according to an embodiment of the present invention.
  • the system includes: a context server 501, a decision server 502, and a media server 503.
  • the context server 501 is configured to receive a specified processing request of the first terminal based on the user identifier, where the specified processing request is used to request to continue processing the interrupted service; and obtain the breakpoint information corresponding to the user identifier, where the breakpoint information is used to indicate the Processing progress of the service, and the breakpoint information is determined by the second terminal processing the service based on the user identifier when the service is interrupted;
  • the context server 501 is further configured to send the breakpoint information to the media server 503, where the media server 503 is configured to obtain, according to the breakpoint information, service data starting from the breakpoint information, and to the first a terminal sends the service data starting from the breakpoint information, so that the first terminal continues to process the service according to the service data starting from the breakpoint information; or
  • the context server 501 is further configured to send the breakpoint information to the first terminal, where the media server 503 is configured to send the service data to the first terminal, so that the first terminal starts with the breakpoint information, according to the service.
  • the data continues to process the business.
  • the context server 501 is further configured to receive, by the second terminal, an interrupt service request based on the user identifier, where the interrupt service request carries the breakpoint information; and/or,
  • the context server 501 is further configured to receive the interrupt service of the second terminal based on the user identifier. Request, ⁇ according to the current processing progress of the business, generate the breakpoint information;
  • the context server 501 is further configured to save the user identifier and the breakpoint information.
  • the decision server 502 is configured to obtain context information of the first terminal, analyze the context information, obtain decision information, where the decision information includes data format information, and send the decision information to the media server 503, so that the The media server 503 obtains service data corresponding to the service according to the decision information.
  • the service is to play a multimedia file
  • the media server 503 is further configured to determine whether a multimedia file matching the data format information exists in the multimedia file of the service; and when there is a multimedia file that matches the data format information, performing the providing the data to the first terminal a step of matching the multimedia file with the format information; or, when there is no multimedia file matching the data format information, transcoding the multimedia file of the service according to the data format information, so that the transcoded multimedia file and the The service data format is matched, and the step of providing the transcoded multimedia file for the first terminal is performed.
  • the context information includes at least one of terminal context information including a terminal type, a screen resolution, a processor class, or a storage capacity, where the network context information includes a network connection manner, and the transmission Quality, transmission bandwidth or network speed.
  • terminal context information including a terminal type, a screen resolution, a processor class, or a storage capacity
  • the network context information includes a network connection manner, and the transmission Quality, transmission bandwidth or network speed.

Abstract

Embodiments of the present invention relates to the technical field of networks. Provided are a service processing method, apparatus, and system. The method comprises: receiving a user identity-based specified processing request of a first terminal, the specified processing request being used for requesting continuing to process an interrupted service; obtaining interruption point information corresponding to the user identity; and sending service data determined according to the interruption point information to the first terminal, so that the first terminal continues to process the service. In the present invention, in a case in which a second terminal has interrupted a service, when a request of a first terminal for continuing to process the service is received, interruption point information of the service is obtained, so that the first terminal can continue to process the service, and the service does not need to be processed from the beginning, the service is migrated between different terminals, the continuity of service processing is ensured, and the operations are simple and convenient, thereby reducing time consumption.

Description

说 明 书  Description
业务处理方法、 装置和系统 技术领域 Business processing method, device and system
本发明涉及网络技术领域, 特别涉及一种业务处理方法、 装置和系统。 背景技术  The present invention relates to the field of network technologies, and in particular, to a service processing method, apparatus, and system. Background technique
随着智能终端的普及, 一个用户可能拥有多个能够处理业务的终端, 如手 机、 平板电脑等。 当用户在使用一个终端处理业务的过程中, 由于地点变化、 电量耗尽或者网络状况变化等原因而希望切换终端时, 可以使用另一个终端继 续处理该业务。  With the popularity of smart terminals, a user may have multiple terminals capable of handling services, such as mobile phones, tablets, and the like. When the user wants to switch the terminal due to location change, power exhaustion, or network status change during the process of using one terminal to process the service, the other terminal may continue to process the service.
以视频为例, 用户在户外使用手机观看视频, 并在观看中途关闭了视频, 当用户回到家中,希望使用电脑继续观看该视频时,可以在电脑上查询该视频, 先拖拽视频进度条找到上次在户外观看到的时间点, 再从该时间点继续观看。  Taking video as an example, the user uses the mobile phone to watch the video outdoors, and closes the video during the viewing. When the user returns home and wants to use the computer to continue watching the video, the video can be queried on the computer, and the video progress bar is dragged first. Find the time point you last watched outdoors, and continue watching from that point in time.
但用户在切换了终端并希望继续观看视频时, 需要手动查询到该视频并找 到上次观看到的时间点才能实现续播, 操作繁瑣且耗时过长。 发明内容  However, when the user switches the terminal and wants to continue watching the video, the user needs to manually query the video and find the time point of the last viewing to realize the continuous broadcast, which is cumbersome and time consuming. Summary of the invention
为了解决需要手动查询实现续播, 操作繁瑣且耗时过长的问题, 本发明实 施例提供了一种业务处理方法、 装置和系统。 所述技术方案如下:  In order to solve the problem that the manual query is required to implement the continuous broadcast, which is cumbersome and time consuming, the embodiment of the present invention provides a service processing method, apparatus and system. The technical solution is as follows:
第一方面, 提供了一种业务处理方法, 所述方法包括:  In a first aspect, a service processing method is provided, where the method includes:
接收第一终端基于用户标识的指定处理请求, 所述指定处理请求用于请求 继续处理已中断的业务;  Receiving, by the first terminal, a specified processing request based on the user identifier, where the specified processing request is used to request to continue processing the interrupted service;
获取所述用户标识对应的断点信息, 所述断点信息用于表示所述业务的处 理进度,且所述断点信息由基于所述用户标识处理业务的第二终端在中断所述 业务时确定; Obtaining breakpoint information corresponding to the user identifier, where the breakpoint information is used to indicate a processing progress of the service, and the breakpoint information is interrupted by a second terminal that processes the service based on the user identifier Determined at the time of business;
向所述第一终端发送根据所述断点信息确定的业务数据,使得所述第一终 端继续处理所述业务。  Transmitting the service data determined according to the breakpoint information to the first terminal, so that the first terminal continues to process the service.
结合第一方面, 在第一方面的第一种可能实现方式中, 获取所述用户标识 对应的断点信息之前, 所述方法还包括:  With reference to the first aspect, in a first possible implementation manner of the first aspect, before the acquiring the breakpoint information corresponding to the user identifier, the method further includes:
接收所述第二终端基于所述用户标识的中断业务请求, 所述中断业务请求 携带所述断点信息; 和 /或,  Receiving, by the second terminal, an interrupt service request based on the user identifier, where the interrupt service request carries the breakpoint information; and/or,
接收所述第二终端基于所述用户标识的中断业务请求,根据当前所述业务 的处理进度, 生成所述断点信息;  Receiving, by the second terminal, an interrupt service request based on the user identifier, and generating the breakpoint information according to a current processing progress of the service;
对应保存所述用户标识与所述断点信息。  Corresponding to saving the user identifier and the breakpoint information.
结合第一方面, 在第一方面的第二种可能实现方式中, 向所述第一终端发 送根据所述断点信息确定的业务数据,使得所述第一终端继续处理所述业务包 括:  With reference to the first aspect, in a second possible implementation manner of the first aspect, the service data that is determined according to the breakpoint information is sent to the first terminal, so that the first terminal continues to process the service, including:
根据所述断点信息, 获取以所述断点信息为起点的业务数据, 并向所述第 一终端发送以所述断点信息为起点的业务数据,使得所述第一终端根据所述断 点信息为起点的业务数据继续处理所述业务; 或,  Obtaining, according to the breakpoint information, service data starting from the breakpoint information, and sending, to the first terminal, service data starting from the breakpoint information, so that the first terminal is configured according to the The business data whose point information is the starting point continues to process the service; or,
向所述第一终端发送所述断点信息和所述业务数据,使得所述第一终端以 所述断点信息为起点, 根据所述业务数据继续处理所述业务。  Sending the breakpoint information and the service data to the first terminal, so that the first terminal starts to process the service according to the service data by using the breakpoint information as a starting point.
结合第一方面, 在第一方面的第三种可能实现方式中, 所述方法还包括: 获取所述第一终端的上下文信息;  With reference to the first aspect, in a third possible implementation manner of the first aspect, the method further includes: acquiring context information of the first terminal;
对所述上下文信息进行分析, 得到决策信息, 所述决策信息包括数据格式 信息;  And analyzing the context information to obtain decision information, where the decision information includes data format information;
根据所述决策信息,执行向所述第一终端发送根据所述断点信息确定的业 务数据的步骤。  And transmitting, according to the decision information, the step of transmitting the service data determined according to the breakpoint information to the first terminal.
结合第一方面的第三种可能实现方式,在第一方面的第四种可能实现方式 中, 所述业务为播放多媒体文件, 根据所述决策信息, 执行向所述第一终端发 送根据所述断点信息确定的业务数据的步骤包括: With reference to the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the service is to play a multimedia file, and according to the determining information, performing the sending to the first terminal The step of sending the service data determined according to the breakpoint information includes:
判断所述业务的多媒体文件中是否存在与所述数据格式信息匹配的多媒 体文件;  Determining whether there is a multimedia file matching the data format information in the multimedia file of the service;
当存在与所述数据格式信息匹配的多媒体文件时,执行向所述第一终端发 送根据所述断点信息确定的多媒体文件数据流的步骤; 或,  And when there is a multimedia file matching the data format information, performing a step of transmitting, to the first terminal, a multimedia file data stream determined according to the breakpoint information; or
当不存在与所述数据格式信息匹配的多媒体文件时,按照所述数据格式信 息, 对所述业务的多媒体文件进行转码, 使得转码后的多媒体文件与所述数据 格式信息匹配,执行向所述第一终端发送根据所述断点信息确定的转码后的多 媒体文件数据流的步骤。  When there is no multimedia file matching the data format information, the multimedia file of the service is transcoded according to the data format information, so that the transcoded multimedia file matches the data format information, and the execution is performed. And the step of the first terminal transmitting the transcoded multimedia file data stream determined according to the breakpoint information.
结合上述任一种可能实现方式, 所述上下文信息包括终端上下文信息和网 络上下文信息中的至少一项,所述终端上下文信息包括终端类型、屏幕分辨率、 处理器类别或存储容量, 所述网络上下文信息包括网络连接方式、 传输质量、 传输带宽或网络速率。 第二方面, 提供了一种业务处理装置, 所述装置包括:  In combination with any of the foregoing possible implementation manners, the context information includes at least one of terminal context information, including a terminal type, a screen resolution, a processor class, or a storage capacity, where the network includes The context information includes the network connection method, transmission quality, transmission bandwidth, or network rate. In a second aspect, a service processing apparatus is provided, where the apparatus includes:
指定请求接收模块, 用于接收第一终端基于用户标识的指定处理请求, 所 述指定处理请求用于请求继续处理已中断的业务;  a request request receiving module, configured to receive a specified processing request of the first terminal based on the user identifier, where the specified processing request is used to request to continue processing the interrupted service;
断点获取模块, 用于获取所述用户标识对应的断点信息, 所述断点信息用 于表示所述业务的处理进度,且所述断点信息由基于所述用户标识处理业务的 第二终端在中断所述业务时确定;  a breakpoint obtaining module, configured to acquire breakpoint information corresponding to the user identifier, where the breakpoint information is used to indicate a processing progress of the service, and the breakpoint information is processed by a second service based on the user identifier The terminal determines when the service is interrupted;
断点发送模块, 用于向所述第一终端发送根据所述断点信息确定的业务数 据, 使得所述第一终端继续处理所述业务。  And a breakpoint sending module, configured to send the service data determined according to the breakpoint information to the first terminal, so that the first terminal continues to process the service.
结合第二方面, 在第二方面的第一种可能实现方式中, 所述装置还包括: 中断请求接收模块, 用于接收所述第二终端基于所述用户标识的中断业务 请求, 所述中断业务请求携带所述断点信息; 和 /或,  With reference to the second aspect, in a first possible implementation manner of the second aspect, the device further includes: an interrupt request receiving module, configured to receive, by the second terminal, an interrupt service request based on the user identifier, the interrupt The service request carries the breakpoint information; and/or,
断点生成模块, 用于接收所述第二终端基于所述用户标识的中断业务请 求, ^据当前所述业务的处理进度, 生成所述断点信息; a breakpoint generating module, configured to receive the interrupt service of the second terminal based on the user identifier Obtaining, according to the processing progress of the current business, generating the breakpoint information;
保存模块, 用于对应保存所述用户标识与所述断点信息。  And a saving module, configured to save the user identifier and the breakpoint information correspondingly.
结合第二方面, 在第二方面的第二种可能实现方式中, 所述断点发送模块 包括:  With reference to the second aspect, in a second possible implementation manner of the second aspect, the breakpoint sending module includes:
第一断点发送单元, 用于根据所述断点信息, 获取以所述断点信息为起点 的业务数据, 并向所述第一终端发送以所述断点信息为起点的业务数据, 使得 所述第一终端 ^据所述断点信息为起点的业务数据继续处理所述业务; 或, 第二断点发送单元, 用于向所述第一终端发送所述断点信息和所述业务数 据, 使得所述第一终端以所述断点信息为起点, 根据所述业务数据继续处理所 述业务。  a first breakpoint sending unit, configured to acquire, according to the breakpoint information, service data starting from the breakpoint information, and send, to the first terminal, service data starting from the breakpoint information, so that The first terminal continues to process the service according to the service data whose breakpoint information is the starting point; or the second breakpoint sending unit is configured to send the breakpoint information and the service to the first terminal And causing the first terminal to continue processing the service according to the service data, starting from the breakpoint information.
结合第二方面, 在第二方面的第三种可能实现方式中, 所述装置还包括: 上下文获取模块, 用于获取所述第一终端的上下文信息;  With reference to the second aspect, in a third possible implementation manner of the second aspect, the device further includes: a context acquiring module, configured to acquire context information of the first terminal;
分析模块, 用于对所述上下文信息进行分析, 得到决策信息, 所述决策信 息包括数据格式信息;  An analysis module, configured to analyze the context information to obtain decision information, where the decision information includes data format information;
决策模块, 用于根据所述决策信息, 执行向所述第一终端发送根据所述断 点信息确定的业务数据的步骤。  a decision module, configured to perform, according to the decision information, a step of transmitting, to the first terminal, service data determined according to the breakpoint information.
结合第二方面的第三种可能实现方式,在第二方面的第四种可能实现方式 中, 所述业务为播放多媒体文件, 所述决策模块包括:  With reference to the third possible implementation of the second aspect, in a fourth possible implementation manner of the second aspect, the service is to play a multimedia file, and the determining module includes:
判断单元, 用于判断所述业务的多媒体文件中是否存在与所述数据格式信 息匹配的多媒体文件;  a determining unit, configured to determine whether a multimedia file matching the data format information exists in the multimedia file of the service;
第一匹配单元, 用于当存在与所述数据格式信息匹配的多媒体文件时, 执 行向所述第一终端发送根据所述断点信息确定的多媒体文件数据流的步骤; 或, 第二匹配单元, 用于当不存在与所述数据格式信息匹配的多媒体文件 时, 按照所述数据格式信息, 对所述业务的多媒体文件进行转码, 使得转码后 的多媒体文件与所述数据格式信息匹配,执行向所述第一终端发送根据所述断 点信息确定的转码后的多媒体文件数据流的步骤。 结合上述任一种可能实现方式, 所述上下文信息包括终端上下文信息和网 络上下文信息中的至少一项,所述终端上下文信息包括终端类型、屏幕分辨率、 处理器类别或存储容量, 所述网络上下文信息包括网络连接方式、 传输质量、 传输带宽或网络速率。 第三方面, 提供了一种业务处理系统, 所述系统包括: 上下文服务器、 决 策服务器和媒体服务器, a first matching unit, configured to: when a multimedia file matching the data format information exists, perform a step of transmitting a multimedia file data stream determined according to the breakpoint information to the first terminal; or, a second matching unit And, when there is no multimedia file matching the data format information, transcoding the multimedia file of the service according to the data format information, so that the transcoded multimedia file matches the data format information And performing the step of transmitting, to the first terminal, the transcoded multimedia file data stream determined according to the breakpoint information. In combination with any of the foregoing possible implementation manners, the context information includes at least one of terminal context information, including a terminal type, a screen resolution, a processor class, or a storage capacity, where the network includes The context information includes the network connection method, transmission quality, transmission bandwidth, or network rate. In a third aspect, a service processing system is provided, where the system includes: a context server, a decision server, and a media server,
所述上下文服务器用于接收第一终端基于用户标识的指定处理请求, 所述 指定处理请求用于请求继续处理已中断的业务; 获取所述用户标识对应的断点 信息, 所述断点信息用于表示所述业务的处理进度, 且所述断点信息由基于所 述用户标识处理业务的第二终端在中断所述业务时确定; 服务器用于根据所述断点信息, 获取以所述断点信息为起点的业务数据, 并向 所述第一终端发送以所述断点信息为起点的业务数据,使得所述第一终端根据 所述断点信息为起点的业务数据继续处理所述业务; 或,  The context server is configured to receive a specified processing request of the first terminal based on the user identifier, where the specified processing request is used to request to continue processing the interrupted service; and obtain breakpoint information corresponding to the user identifier, where the breakpoint information is used by Determining the processing progress of the service, and the breakpoint information is determined by the second terminal that processes the service based on the user identifier when the service is interrupted; the server is configured to obtain the disconnection according to the breakpoint information The point information is the service data of the starting point, and the service data with the breakpoint information as a starting point is sent to the first terminal, so that the first terminal continues to process the service according to the service data with the breakpoint information as a starting point. ; or,
所述上下文服务器还用于向所述第一终端发送所述断点信息, 所述媒体服 务器用于向所述第一终端发送所述业务数据,使得所述第一终端以所述断点信 息为起点, 根据所述业务数据继续处理所述业务。  The context server is further configured to send the breakpoint information to the first terminal, where the media server is configured to send the service data to the first terminal, so that the first terminal uses the breakpoint information As a starting point, the service is continued to be processed according to the service data.
所述决策服务器用于获取所述第一终端的上下文信息; 对所述上下文信息 进行分析, 得到决策信息, 所述决策信息包括数据格式信息; 向所述媒体服务 器发送所述决策信息, 使得所述媒体服务器根据所述决策信息, 获取所述业务 对应的业务数据。 本发明实施例提供的技术方案的有益效果是:  The decision server is configured to acquire context information of the first terminal, analyze the context information, obtain decision information, where the decision information includes data format information, and send the decision information to the media server, so that The media server obtains service data corresponding to the service according to the decision information. The beneficial effects of the technical solutions provided by the embodiments of the present invention are:
本发明实施例提供的方法、 装置和系统, 通过在第二终端已中断业务的情 况下, 接收到第一终端继续处理该业务的请求时, 获取该业务的断点信息, 使 得该第一终端可以继续处理该业务, 而无需从头开始处理该业务, 实现了业务 在不同终端上的迁移, 且保证了业务处理的连续性, 操作筒便, 减小了消耗的 时间。 附图说明 The method, the device and the system provided by the embodiment of the present invention obtain the breakpoint information of the service when receiving the request for the first terminal to continue processing the service when the second terminal has interrupted the service, so that The first terminal can continue to process the service without processing the service from the beginning, realizing the migration of the service on different terminals, and ensuring the continuity of the service processing, reducing the consumption time. DRAWINGS
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中所 需要使用的附图作筒单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明 的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in light of the inventive work.
图 1是本发明实施例提供的一种业务处理方法的流程图;  1 is a flowchart of a service processing method according to an embodiment of the present invention;
图 2是本发明实施例提供的一种业务处理方法的流程图;  2 is a flowchart of a service processing method according to an embodiment of the present invention;
图 3a是本发明实施例提供的一种业务处理方法的流程图;  FIG. 3a is a flowchart of a service processing method according to an embodiment of the present invention;
图 3b是本发明实施例提供的交互信息示意图;  FIG. 3b is a schematic diagram of interaction information provided by an embodiment of the present invention;
图 4是本发明实施例提供的一种业务处理装置结构示意图;  4 is a schematic structural diagram of a service processing apparatus according to an embodiment of the present invention;
图 5是本发明实施例提供的一种业务处理系统结构示意图。 具体实施方式  FIG. 5 is a schematic structural diagram of a service processing system according to an embodiment of the present invention. detailed description
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本发明 实施方式作进一步地详细描述。  The embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
图 1是本发明实施例提供的一种业务处理方法的流程图, 参见图 1 , 该方 法包括:  FIG. 1 is a flowchart of a service processing method according to an embodiment of the present invention. Referring to FIG. 1, the method includes:
101、 接收第一终端基于用户标识的指定处理请求, 该指定处理请求用于 请求继续处理已中断的业务。  101. Receive, by the first terminal, a specified processing request based on a user identifier, where the specified processing request is used to request to continue processing the interrupted service.
102、 获取该用户标识对应的断点信息, 该断点信息用于表示该业务的处 理进度,且该断点信息由基于该用户标识处理业务的第二终端在中断该业务时 确定。 103、 向该第一终端发送根据该断点信息确定的业务数据, 使得该第一终 端继续处理该业务。 102. Obtain breakpoint information corresponding to the user identifier, where the breakpoint information is used to indicate a processing progress of the service, and the breakpoint information is determined by the second terminal that processes the service based on the user identifier when the service is interrupted. 103. Send, to the first terminal, service data determined according to the breakpoint information, so that the first terminal continues to process the service.
本发明实施例提供的方法, 通过在第二终端已中断业务的情况下, 接收到 第一终端继续处理该业务的请求时, 获取该业务的断点信息, 使得该第一终端 可以继续处理该业务, 而无需从头开始处理该业务, 实现了业务在不同终端上 的迁移, 且保证了业务处理的连续性, 操作筒便, 减小了消耗的时间。  The method provided by the embodiment of the present invention, when receiving the request for the first terminal to continue processing the service, if the second terminal has interrupted the service, acquiring the breakpoint information of the service, so that the first terminal can continue to process the The service, without having to deal with the service from the beginning, realizes the migration of the service on different terminals, and ensures the continuity of the business processing, and the operation is reduced, and the consumption time is reduced.
可选地, 获取该用户标识对应的断点信息之前, 该方法还包括:  Optionally, before acquiring the breakpoint information corresponding to the user identifier, the method further includes:
接收该第二终端基于该用户标识的中断业务请求, 该中断业务请求携带该 断点信息; 和 /或,  Receiving, by the second terminal, an interrupt service request based on the user identifier, where the interrupt service request carries the breakpoint information; and/or,
接收该第二终端基于该用户标识的中断业务请求,根据当前该业务的处理 进度, 生成该断点信息;  Receiving, by the second terminal, an interrupt service request based on the user identifier, and generating the breakpoint information according to a current processing progress of the service;
对应保存该用户标识与该断点信息。  Corresponding to save the user ID and the breakpoint information.
可选地, 向该第一终端发送根据该断点信息确定的业务数据, 使得该第一 终端继续处理该业务包括:  Optionally, the service data determined according to the breakpoint information is sent to the first terminal, so that the first terminal continues to process the service, including:
根据该断点信息, 获取以该断点信息为起点的业务数据, 并向该第一终端 发送以该断点信息为起点的业务数据,使得该第一终端根据该断点信息为起点 的业务数据继续处理该业务; 或,  Obtaining, according to the breakpoint information, the service data starting from the breakpoint information, and sending the service data starting from the breakpoint information to the first terminal, so that the first terminal starts the service according to the breakpoint information. The data continues to process the business; or,
向该第一终端发送该断点信息和该业务数据,使得该第一终端以该断点信 息为起点, 根据该业务数据继续处理该业务。  Sending the breakpoint information and the service data to the first terminal, so that the first terminal starts processing the service according to the service data, starting from the breakpoint information.
可选地, 该方法还包括:  Optionally, the method further includes:
获取该第一终端的上下文信息;  Obtaining context information of the first terminal;
对该上下文信息进行分析,得到决策信息,该决策信息包括数据格式信息; 根据该决策信息,执行向该第一终端发送根据该断点信息确定的业务数据 的步骤。  The context information is analyzed to obtain decision information, and the decision information includes data format information. According to the decision information, the step of transmitting the service data determined according to the breakpoint information to the first terminal is performed.
可选地, 该业务为播放多媒体文件, 根据该决策信息, 执行向该第一终端 发送根据该断点信息确定的业务数据的步骤包括: 判断该业务的多媒体文件中是否存在与该数据格式信息匹配的多媒体文 件; Optionally, the service is to play the multimedia file, and according to the decision information, performing the step of sending the service data determined according to the breakpoint information to the first terminal includes: Determining whether there is a multimedia file matching the data format information in the multimedia file of the service;
当存在与该数据格式信息匹配的多媒体文件时,执行向该第一终端发送根 据该断点信息确定的多媒体文件数据流的步骤; 或,  And when there is a multimedia file matching the data format information, performing a step of transmitting, to the first terminal, a multimedia file data stream determined according to the breakpoint information; or
当不存在与该数据格式信息匹配的多媒体文件时, 按照该数据格式信息, 对该业务的多媒体文件进行转码,使得转码后的多媒体文件与该数据格式信息 匹配,执行向该第一终端发送根据该断点信息确定的转码后的多媒体文件数据 流的步骤。  When there is no multimedia file matching the data format information, the multimedia file of the service is transcoded according to the data format information, so that the transcoded multimedia file matches the data format information, and execution is performed to the first terminal. The step of transmitting the transcoded multimedia file data stream determined according to the breakpoint information.
可选地, 该上下文信息包括终端上下文信息和网络上下文信息中的至少一 项, 该终端上下文信息包括终端类型、 屏幕分辨率、 处理器类别或存储容量, 该网络上下文信息包括网络连接方式、 传输质量、 传输带宽或网络速率。  Optionally, the context information includes at least one of terminal context information including a terminal type, a screen resolution, a processor class, or a storage capacity, where the network context information includes a network connection manner, and the transmission Quality, transmission bandwidth or network speed.
上述所有可选技术方案, 可以采用任意结合形成本发明的可选实施例, 在 此不再一一赘述。 图 2是本发明实施例提供的一种业务处理方法的流程图, 参见图 2, 本发 明实施例的交互主体为业务处理装置、 第一终端和第二终端, 该方法包括: All of the above optional technical solutions may be combined to form an optional embodiment of the present invention, and will not be further described herein. 2 is a flowchart of a service processing method according to an embodiment of the present invention. Referring to FIG. 2, the interaction entity of the embodiment of the present invention is a service processing device, a first terminal, and a second terminal, and the method includes:
201、 该第二终端在基于用户标识处理业务的过程中, 接收到中断业务指 令时, 中断处理该业务。 201. The second terminal interrupts processing the service when receiving the interrupt service instruction in the process of processing the service based on the user identifier.
本发明实施例应用于在第二终端已中断处理业务的情况下, 第一终端请求 继续处理该业务的场景下。其中,该第一终端和该第二终端可以为手机、 电脑、 平板电脑、 电视机等终端, 该业务可以为播放视频、 播放音频、 显示网页等多 种类型的业务, 本发明实施例对此不做限定。  The embodiment of the present invention is applied to a scenario in which the first terminal requests to continue processing the service in the case that the second terminal has interrupted the processing of the service. The first terminal and the second terminal may be terminals of a mobile phone, a computer, a tablet computer, a television, and the like, and the service may be a plurality of types of services, such as playing video, playing audio, displaying a webpage, and the like. Not limited.
在本发明实施例中, 该业务处理装置可以为服务器集群、 服务器集群中的 任一服务器或者服务器中的任一功能模块, 本发明实施例对此均不做限定。 该 用户标识可以为用户登录该业务处理装置所用的用户账号、用户电话号码等能 够唯一确定该用户的标识, 当该第二终端使用该用户标识登录该业务处理装置 时, 可以基于该用户标识, 向该业务处理装置发送请求。 In the embodiment of the present invention, the service processing device may be any one of a server cluster and a server cluster, or any of the server modules. The user identifier can be used to uniquely determine the identifier of the user, such as the user account used by the user to log in to the service processing device, the user's phone number, etc., and the second terminal uses the user identifier to log in to the service processing device. At the time, a request can be sent to the service processing device based on the user identification.
具体地, 该第二终端使用该用户标识登录该业务处理装置, 当该第二终端 在播放多媒体文件的过程中, 检测到用户点击暂停按键的操作时, 确定接收到 该中断业务指令, 则暂停播放该多媒体文件。 或者, 当该第二终端检测到用户 关闭该业务处理装置关联的应用软件的操作时, 确定接收到该中断业务指令, 则关闭该应用软件。 本发明实施例对该中断业务指令的触发方式和该第二终端 中断处理该业务的方式不做限定。  Specifically, the second terminal logs in to the service processing device by using the user identifier, and when the second terminal detects that the user clicks the pause button in the process of playing the multimedia file, determining that the interrupt service command is received, the second terminal pauses. Play the multimedia file. Alternatively, when the second terminal detects that the user closes the operation of the application software associated with the service processing device, and determines that the interrupt service instruction is received, the application software is closed. The method for triggering the interrupt service instruction and the manner for the second terminal to interrupt the processing of the service are not limited in this embodiment of the present invention.
202、 该第二终端基于该用户标识向该业务处理装置发送中断业务请求, 该中断业务请求携带断点信息。  202. The second terminal sends an interrupt service request to the service processing apparatus based on the user identifier, where the interrupt service request carries breakpoint information.
其中, 该断点信息用于表示业务的处理进度, 可以为时间进度、 阅读页数 进度等, 本发明实施例对此不做限定。  The breakpoint information is used to indicate the processing progress of the service, and may be a time schedule, a progress of the number of pages, and the like.
如, 对于视频来说, 该断点信息包括该视频在暂停时播放到的时间点, 对 于文档来说, 该断点信息包括该文档在关闭时显示到的页码, 对于网页来说, 该断点信息包括该网页在关闭时显示到的网页节点。  For example, for a video, the breakpoint information includes a time point at which the video is played when paused, and for the document, the breakpoint information includes a page number displayed when the document is closed, and for the webpage, the breakpoint The point information includes the web page node to which the web page is displayed when it is closed.
此外, 该断点信息还可以包括该业务的基本配置信息, 如视频的名称、 文 档的名称、 网页的链接地址等信息, 根据该基本配置信息, 可以获取到该业务 对应的业务数据。 可选地, 该断点信息为 URL ( Uniform Resource Locator, 统 一资源定位符 ), 该 URL包含业务数据的地址和处理方式, 访问该 URL所指 示的地址, 并按照该处理方式对访问到的数据进行处理时, 也可以获取到该业 务数据。 本发明实施例对该断点信息不做限定。  In addition, the breakpoint information may further include basic configuration information of the service, such as a name of the video, a name of the document, and a link address of the webpage, and the service data corresponding to the service may be obtained according to the basic configuration information. Optionally, the breakpoint information is a URL (Uniform Resource Locator), where the URL includes an address and a processing manner of the service data, accesses an address indicated by the URL, and accesses the accessed data according to the processing manner. This service data can also be obtained when processing. The embodiment of the present invention does not limit the breakpoint information.
需要说明的是, 该第二终端在处理业务的过程中, 可能会多次地中断该业 务, 再继续处理该业务, 则该第二终端可以在每次中断该业务时, 向该业务处 理装置发送当前的断点信息, 或者在该第二终端用户确定发送断点信息时, 再 向该业务处理装置发送当前的断点信息。 此外, 当该第二终端改变了该业务对 应的业务数据时, 也可以向该业务处理装置发送该断点信息, 本发明实施例对 此不做限定。 203、 该业务处理装置在接收到该中断业务请求时, 对应保存该用户标识 和该断点信息。 It should be noted that, in the process of processing the service, the second terminal may interrupt the service multiple times and continue to process the service, and the second terminal may, when the service is interrupted, the service processing device. Sending the current breakpoint information, or sending the current breakpoint information to the service processing device when the second terminal user determines to send the breakpoint information. In addition, when the second terminal changes the service data corresponding to the service, the breakpoint information may also be sent to the service processing device, which is not limited in this embodiment of the present invention. 203. The service processing device saves the user identifier and the breakpoint information when receiving the interrupt service request.
可选地, 该业务处理装置将该用户标识和该断点信息对应保存在预设数据 库中。  Optionally, the service processing device saves the user identifier and the breakpoint information in a preset database.
在本发明实施例中, 当该第二终端多次中断该业务时, 该业务处理装置可 能获取到多个断点信息, 则该业务处理装置可以将该多个断点信息与该用户标 识对应保存, 以便后续用户可以根据希望开始处理业务的起点, 从该多个断点 信息中选择断点信息, 根据该选择的断点信息, 继续处理该业务。  In the embodiment of the present invention, when the second terminal interrupts the service multiple times, the service processing device may obtain multiple breakpoint information, and the service processing device may correspond the multiple breakpoint information to the user identifier. The saving is performed, so that the subsequent user can select the breakpoint information from the plurality of breakpoint information according to the starting point of the desired processing start, and continue to process the service according to the selected breakpoint information.
如, 用户在该第二终端上观看视频的过程中, 多次地暂停了播放视频, 则 该业务处理装置将该用户标识和视频的多个暂停时间点对应保存, 当该用户希 望在该第一终端上继续观看该视频时, 可以按照该用户标识对应的多个暂停时 间点的时间顺序, 选择最晚的暂停时间点继续播放, 以实现断点续播, 也可以 选择排在中间位置的暂停时间点继续播放, 以便用户回顾精彩的视频内容。  For example, when the user pauses the playing video multiple times during the process of watching the video on the second terminal, the service processing device saves the user identifier and the plurality of pause time points of the video correspondingly, when the user wishes to be in the first When watching the video on a terminal, the user may select the latest pause time point to continue playing according to the time sequence of the multiple pause time points corresponding to the user identifier, so as to implement the breakpoint resume, or select the middle position. The pause time point continues to play, so that the user can review the wonderful video content.
需要说明的是, 该步骤 202和步骤 203中以该中断业务请求携带该断点信 息, 该业务处理装置在接收到该中断业务请求时获取该断点信息为例进行说 明, 实际上, 该断点信息还可以由该业务处理装置生成, 或者由该第一终端和 该业务处理装置共同生成, 即在本发明实施例让提供的另一实施例中, 该步骤 202和步骤 203可以由以下步骤代替:  It should be noted that, in step 202 and step 203, the breakpoint information is carried by the interrupt service request, and the service processing device obtains the breakpoint information when receiving the interrupt service request as an example for description. The point information may also be generated by the service processing device, or may be jointly generated by the first terminal and the service processing device, that is, in another embodiment provided by the embodiment of the present invention, the step 202 and the step 203 may be performed by the following steps. Instead of:
( 1 )该第二终端向该业务处理装置发送中断业务请求, 该业务处理装置 在接收到该中断业务请求时, 根据当前该业务的处理进度, 生成该断点信息, 对应保存该用户标识与该断点信息。  (1) The second terminal sends an interrupt service request to the service processing device, and when receiving the interrupt service request, the service processing device generates the breakpoint information according to the current processing progress of the service, and correspondingly saves the user identifier and The breakpoint information.
如, 在该第二终端播放视频的过程中, 该业务处理装置向该第二终端发送 视频流, 当用户点击暂停按键时, 该第二终端向该业务处理装置发送中断业务 请求, 该业务处理装置在接收到中断业务请求时, 可以获取当前暂停发送的视 频流所指示的该视频的时间点, 根据该时间点, 生成该断点信息。  For example, in the process of playing the video by the second terminal, the service processing device sends a video stream to the second terminal, and when the user clicks the pause button, the second terminal sends an interrupt service request to the service processing device, where the service processing When receiving the interrupt service request, the device may acquire a time point of the video indicated by the currently suspended video stream, and generate the breakpoint information according to the time point.
( 2 )该第二终端向该业务处理装置发送中断业务请求, 该中断业务请求 携带该第二终端生成的终端断点信息, 该业务处理装置在接收到该中断业务请 求时, 获取该终端断点信息, 并 ^据该终端断点信息、 该业务数据的地址、 处 理方式等基本配置信息,生成该断点信息,对应保存该用户标识与该断点信息。 (2) the second terminal sends an interrupt service request to the service processing device, the interrupt service request Carrying the terminal breakpoint information generated by the second terminal, the service processing device acquires the breakpoint information of the terminal when receiving the interrupt service request, and according to the terminal breakpoint information, the address of the service data, the processing manner, and the like The basic configuration information is generated, and the breakpoint information is generated, and the user identifier and the breakpoint information are saved correspondingly.
204、 该第一终端基于该用户标识向该业务处理装置发送指定处理请求, 该指定处理请求用于请求继续处理该已中断的业务, 且该指定处理请求携带该 第一终端的上下文信息。  204. The first terminal sends a specified processing request to the service processing apparatus based on the user identifier, where the specified processing request is used to request to continue processing the interrupted service, and the specified processing request carries context information of the first terminal.
其中, 该第一终端使用该用户标识登录该业务处理装置, 该指定处理请求 可以由用户点击该第一终端上的继续观看按键触发, 或者由该用户在开启该业 务处理装置关联的应用软件时自动触发, 本发明实施例对此不做限定。  The first terminal uses the user identifier to log in to the service processing device, and the specified processing request may be triggered by the user clicking the continuous viewing button on the first terminal, or when the user opens the application software associated with the service processing device. The automatic triggering is not limited in this embodiment of the present invention.
可选地, 在该步骤 204之后, 该方法还包括: 该业务处理装置对应保存该 用户标识和该上下文信息。 进一步地, 当该业务处理装置再一次接收到该用户 标识对应的上下文信息时, 将保存的该用户标识对应的上下文信息替换为当前 接收到的上下文信息。  Optionally, after the step 204, the method further includes: the service processing device correspondingly saving the user identifier and the context information. Further, when the service processing device receives the context information corresponding to the user identifier again, the saved context information corresponding to the user identifier is replaced with the currently received context information.
在本发明实施例中, 该指定处理请求携带该第一终端的上下文信息, 该上 下文信息用于描述该第一终端当前所处的状态, 可以包括各种变量、 寄存器或 者运行环境等, 本发明实施例对此不做限定。 优选地, 该上下文信息为结构化 信息。  In the embodiment of the present invention, the specified processing request carries the context information of the first terminal, where the context information is used to describe the current state of the first terminal, and may include various variables, registers, or operating environments, etc., The embodiment does not limit this. Preferably, the context information is structured information.
进一步可选地, 该上下文信息包括终端上下文信息和网络上下文信息中的 至少一项, 该终端上下文信息包括终端类型、 屏幕分辨率、 处理器类别或存储 容量等, 该网络上下文信息包括网络连接方式、 传输质量、 传输带宽或网络速 率等, 本发明实施例对该上下文信息不做限定。  Further optionally, the context information includes at least one of terminal context information including a terminal type, a screen resolution, a processor class or a storage capacity, and the like, the network context information including a network connection manner. The context information is not limited in the embodiment of the present invention, the transmission quality, the transmission bandwidth, or the network rate.
需要说明的是, 本发明实施例以该指定处理请求携带该上下文信息为例进 行说明, 实际上, 该指定处理请求还可以不携带该上下文信息, 该第一终端可 以在向该业务处理装置发送该指定处理请求之后,再单独向该业务处理装置发 送该上下文信息, 或者不向该业务处理装置发送该上下文信息。 进一步地, 还 可以由该第一终端向该业务处理装置发送终端上下文信息, 由该第一终端所接 入的基站或者基站控制器向该业务处理装置发送网络上下文信息, 该网络上下 文信息包含该接入网的网络连接方式、 传输质量、 传输带宽等信息, 能够表明 该第一终端的接入网络特性。本发明实施例对该业务处理装置获取该第一终端 的上下文信息的方式不做限定。 It should be noted that, the embodiment of the present invention uses the specified processing request to carry the context information as an example. In fact, the specified processing request may not carry the context information, and the first terminal may send the service information to the service processing device. After the processing request is specified, the context information is separately transmitted to the service processing device, or the context information is not transmitted to the service processing device. Further, the first terminal may further send terminal context information to the service processing device, where the first terminal is connected. The incoming base station or the base station controller sends the network context information to the service processing device, where the network context information includes information about the network connection mode, the transmission quality, and the transmission bandwidth of the access network, and can indicate the access network characteristics of the first terminal. . The manner in which the service processing device obtains the context information of the first terminal is not limited in the embodiment of the present invention.
205、 该业务处理装置获取该用户标识对应的断点信息。  205. The service processing device acquires breakpoint information corresponding to the user identifier.
在本发明实施例中,该业务处理装置已将该用户标识与断点信息对应保存 在该预设数据库中, 则查询该预设数据库, 获取该用户标识对应的断点信息。  In the embodiment of the present invention, the service processing device has saved the user identifier and the breakpoint information in the preset database, and queries the preset database to obtain the breakpoint information corresponding to the user identifier.
本发明实施例以该业务处理装置获取到该用户标识对应的一个断点信息 为例进行说明, 当获取到该用户标识对应的多个断点信息时, 该业务处理装置 可以将该多个断点信息提供给该第一终端用户进行选择, 在此不再赘述。  In the embodiment of the present invention, the service processing device obtains a breakpoint information corresponding to the user identifier as an example. When the plurality of breakpoint information corresponding to the user identifier is obtained, the service processing device may The point information is provided to the first terminal user for selection, and details are not described herein again.
206、 该业务处理装置对该上下文信息进行分析, 得到决策信息, 该决策 信息包括数据格式信息。  206. The service processing device analyzes the context information to obtain decision information, where the decision information includes data format information.
具体地, 该业务处理装置对该第一终端的终端上下文信息和网络上下文信 息以及该业务的类型进行综合地分析计算, 确定与该第一终端匹配的决策信 息。  Specifically, the service processing apparatus performs comprehensive analysis and calculation on the terminal context information and the network context information of the first terminal and the type of the service, and determines decision information that matches the first terminal.
其中, 该决策信息包括数据格式信息, 该数据格式信息用于规定与该第一 终端匹配的格式信息, 可以包括与该第一终端匹配的分辨率、 文件大小、 文件 格式或传输速率等。 该决策信息还可以包括业务数据的发布者、 业务数据的发 布时间等信息, 本发明实施例对此不做限定。 另外, 该业务的类型可以为播放 多媒体文件类型、 网页显示类型、 文档显示类型等等, 本发明实施例对此也不 做限定。  The decision information includes data format information, where the data format information is used to specify format information that matches the first terminal, and may include a resolution, a file size, a file format, or a transmission rate that match the first terminal. The decision information may also include information such as the publisher of the service data, the release time of the service data, and the like, which is not limited by the embodiment of the present invention. In addition, the type of the service may be a play multimedia file type, a webpage display type, a document display type, and the like, which is not limited by the embodiment of the present invention.
仍以视频为例,该业务处理装置对该第一终端的存储容量、网络连接方式、 传输质量和网络带宽等信息进行分析,如果该第一终端的存储容量很小或者网 络带宽很小或者传输质量不好, 确定视频的格式为 H.264格式, 而不是需要占 用较大存储空间和较大网络带宽的 MPEG-2格式。  Still taking the video as an example, the service processing device analyzes information such as storage capacity, network connection mode, transmission quality, and network bandwidth of the first terminal, if the storage capacity of the first terminal is small or the network bandwidth is small or transmitted. The quality is not good, and the format of the video is determined to be H.264 format, instead of the MPEG-2 format which requires a large storage space and a large network bandwidth.
需要说明的是, 本发明实施例以该步骤 206在该步骤 205之后执行为例进 行说明, 实际上, 该步骤 205和步骤 206之间并不存在必然的时序关系, 可以 同时执行, 也可以一前一后执行, 本发明实施例对此不做限定。 It should be noted that, in this embodiment of the present invention, the step 206 is performed after the step 205 as an example. It is to be noted that, in fact, there is no inevitable timing relationship between the step 205 and the step 206, which may be performed at the same time, or may be performed one after the other, which is not limited by the embodiment of the present invention.
207、 该业务处理装置判断该业务对应的业务数据中是否存在与该数据格 式信息匹配的业务数据, 如果是, 执行步骤 209, 如果否, 执行步骤 208。  207. The service processing device determines whether there is service data matching the data format information in the service data corresponding to the service. If yes, go to step 209. If no, go to step 208.
具体地, 获取该业务处理装置中该业务对应的多种业务数据, 遍历该获取 到的业务数据, 判断每一个业务数据是否与该数据格式信息匹配, 当任一业务 数据与该数据格式信息匹配时, 获取与该数据格式信息匹配的业务数据。  Specifically, acquiring a plurality of service data corresponding to the service in the service processing device, traversing the acquired service data, determining whether each service data matches the data format information, and matching any service data with the data format information. When, the business data matching the data format information is obtained.
其中, 该数据格式信息可能包括业务数据的分辨率、 业务数据传输的传输 速率、 所占网络带宽等多项格式信息, 则在判断业务数据是否与该业务数据格 式匹配时, 可以进行精确匹配或者模糊匹配。 即判断该业务数据的分辨率、 传 输该业务数据是所需的传输速率以及所占的网络带宽等各项格式信息是否与 该数据格式信息所规定的各项格式信息匹配, 可以在该业务数据的各项格式信 息均与该数据格式信息匹配时, 确定该业务数据与该数据格式信息匹配, 也可 以在该业务数据的各项格式信息中的预设项目与该数据格式信息匹配时, 即可 确定该业务数据与该数据格式信息匹配。  The data format information may include multiple formats of the resolution of the service data, the transmission rate of the service data transmission, and the network bandwidth occupied by the service data. When determining whether the service data matches the service data format, the data may be accurately matched or Fuzzy matching. That is, determining whether the resolution of the service data, the transmission rate required to transmit the service data, and the network bandwidth occupied by the service format match the format information specified by the data format information, and the service data may be When the format information matches the data format information, it is determined that the service data matches the data format information, and when the preset item in each format information of the service data matches the data format information, The business data can be determined to match the data format information.
208、 该业务处理装置对该业务对应的业务数据进行匹配处理, 使得处理 后的业务数据与该数据格式信息匹配, 执行步骤 209。  208. The service processing device performs matching processing on the service data corresponding to the service, so that the processed service data matches the data format information, and step 209 is performed.
在本发明实施例中, 当该业务处理装置未保存与该数据格式信息匹配的业 务数据时, 需要对该业务数据进行处理, 以得到与该数据格式信息匹配的业务 数据。  In the embodiment of the present invention, when the service processing device does not save the service data that matches the data format information, the service data needs to be processed to obtain the service data that matches the data format information.
可选地, 对该业务数据进行匹配处理包括但不限于根据该数据格式信息, 对该业务数据进行转码, 使得转码后的业务数据与该数据格式信息匹配。  Optionally, performing matching processing on the service data includes, but is not limited to, transcoding the service data according to the data format information, so that the transcoded service data matches the data format information.
在本发明实施例中,该步骤 206-208通过根据该第一终端的接入网络特性、 终端特性等上下文信息, 进行内容和格式适配, 使得该业务处理装置获取到与 该第一终端匹配的业务数据。  In the embodiment of the present invention, the step 206-208 performs content and format adaptation according to the context information of the first terminal, such as access network characteristics and terminal characteristics, so that the service processing device acquires the first terminal. Business data.
需要说明的是, 该步骤 206-208为可选步骤, 该业务处理装置还可以不对 该第一终端的上下文信息进行分析, 直接向该第一终端发送该业务对应的业务 数据, 或者向该第一终端发送该业务对应的业务数据中, 兼容性最好、 最可能 与该第一终端匹配的业务数据, 当然, 如果该第一终端保存有该业务对应的业 务数据时, 也可以根据该断点信息和该第一终端保存的业务数据, 继续处理该 业务, 本发明实施例对此不做限定。 It should be noted that the steps 206-208 are optional steps, and the service processing device may also be incorrect. The context information of the first terminal is analyzed, and the service data corresponding to the service is directly sent to the first terminal, or the service data corresponding to the service is sent to the first terminal, and the compatibility is the best, most likely with the first The service data matched by the terminal, of course, if the first terminal stores the service data corresponding to the service, the service may continue to be processed according to the breakpoint information and the service data saved by the first terminal, This is not limited.
209、 该业务处理装置根据该断点信息, 获取以该断点信息为起点、 与该 数据格式信息匹配的业务数据。  209. The service processing device acquires, according to the breakpoint information, service data that matches the data format information by using the breakpoint information as a starting point.
210、 该业务处理装置向该第一终端发送获取到的业务数据。  210. The service processing apparatus sends the acquired service data to the first terminal.
在本发明实施例中, 对于不同类型的业务, 该步骤 209可以包括以下任一 项:  In the embodiment of the present invention, for different types of services, the step 209 may include any of the following:
( 1 )对于视频播放的业务来说, 该业务处理装置向该第一终端发送以该 断点信息为起点的视频流, 使得该第一终端从该断点信息开始播放该视频流。  (1) For the video broadcast service, the service processing device sends the video stream starting from the breakpoint information to the first terminal, so that the first terminal starts playing the video stream from the breakpoint information.
( 2 )对于音频播放的业务来说, 该业务处理装置向该第一终端发送以该 断点信息为起点的音频流, 使得该第一终端从该断点信息开始播放音频流。  (2) For the audio playing service, the service processing device sends the audio stream starting from the breakpoint information to the first terminal, so that the first terminal starts playing the audio stream from the breakpoint information.
( 3 )对于网页显示的业务来说, 该业务处理装置向该第一终端发送以该 断点信息为起点的待显示的信息,使得该第一终端显示从该断点信息开始的信 息。  (3) For the service displayed by the webpage, the service processing apparatus transmits, to the first terminal, information to be displayed starting from the breakpoint information, so that the first terminal displays information starting from the breakpoint information.
( 4 )对于文档显示的业务来说, 该业务处理装置向该第一终端发送以该 断点信息为起点的文档内容,使得该第一终端显示从该断点信息开始的文档内 谷。  (4) For the service displayed by the document, the service processing device transmits the document content starting from the breakpoint information to the first terminal, so that the first terminal displays the document valley starting from the breakpoint information.
在本发明实施例提供的另一实施例中,该步骤 209和步骤 210可以由以下 任一步骤代替:  In another embodiment provided by the embodiment of the present invention, the step 209 and the step 210 may be replaced by any one of the following steps:
( 1 )该业务处理装置向该第一终端发送该断点信息和与该数据格式信息 匹配的业务数据, 使得该第一终端以该断点信息为起点, 根据该业务数据继续 处理该业务。  (1) The service processing device sends the breakpoint information and the service data matching the data format information to the first terminal, so that the first terminal starts processing the service according to the service data by using the breakpoint information as a starting point.
( 2 )该业务处理装置向该第一终端发送该断点信息, 当该第一终端接收 到该断点信息时, 提示用户已接收到该断点信息, 当该第一终端检测到用户确 认该断点信息的操作时, 向该业务处理装置发送确认消息, 当该业务处理装置 接收到该确认消息时, 向该第一终端发送与该数据格式信息匹配的业务数据。 (2) the service processing device sends the breakpoint information to the first terminal, when the first terminal receives When the breakpoint information is reached, the user is prompted to receive the breakpoint information, and when the first terminal detects the user confirming the breakpoint information, sending an acknowledgement message to the service processing device, when the service processing device receives When the confirmation message is sent, the service data matching the data format information is sent to the first terminal.
需要说明的是, 该业务处理装置可以同时发送该断点信息和该业务数据, 也可以一前一后发送,还可以先发送该断点信息,由该第一终端用户进行确认, 在该业务处理装置接收到确认消息之后, 再发送该业务数据, 对此不做限定。  It should be noted that the service processing device may simultaneously send the breakpoint information and the service data, or may send the message in tandem, or send the breakpoint information first, and the first terminal user confirms the service. After receiving the confirmation message, the processing device sends the service data, which is not limited.
211、 该第一终端根据以该断点信息为起点、 与该数据格式信息匹配的业 务数据, 继续处理该业务。  211. The first terminal continues to process the service according to the service data that uses the breakpoint information as a starting point and matches the data format information.
以视频为例, 该第一终端在接收到该业务处理装置发送的以该断点信息为 起点的视频流时, 播放该视频流, 使得用户可以从该断点信息所指示的时间点 开始观看视频。 再以网页显示为例, 该第一终端在接收到该业务处理装置发送 的以该断点信息为起点的网页内容时, 显示接收到的网页内容, 使得用户可以 从该断点信息开始, 浏览该网页的内容。  Taking the video as an example, when receiving the video stream sent by the service processing device starting from the breakpoint information, the first terminal plays the video stream, so that the user can start watching from the time point indicated by the breakpoint information. video. Taking the webpage display as an example, when receiving the webpage content sent by the service processing apparatus and starting from the breakpoint information, the first terminal displays the received webpage content, so that the user can start from the breakpoint information and browse. The content of the page.
而基于该步骤 210提供的另一实施例, 以视频为例, 该第一终端在接收到 该断点信息时, 确定该断点信息所指示的时间点, 并在接收到该时间点所对应 的视频流时, 开始进行播放, 使得用户可以从该时间点开始观看视频。 再以网 页显示为例, 该第一终端在接收到该断点信息时, 确定网页链接地址以及显示 到的网页节点, 则跳转至该网页链接地址, 从该显示到的网页节点开始显示该 网页中的内容。  According to another embodiment provided by the step 210, taking the video as an example, when receiving the breakpoint information, the first terminal determines a time point indicated by the breakpoint information, and corresponds to receiving the time point. When the video stream is streamed, playback begins, allowing the user to watch the video from that point in time. Taking the webpage display as an example, when the first terminal receives the breakpoint information, determining the webpage link address and the displayed webpage node, the first terminal jumps to the webpage link address, and displays the webpage node from the display. The content in the web page.
需要说明的是, 本发明实施例以处理一个业务为例进行说明, 当该第一终 端触发了对多个业务的指定处理请求时, 处理过程与此类似, 在此不再赘述。  It should be noted that, in the embodiment of the present invention, the processing of a service is taken as an example. When the first terminal triggers the specified processing request for multiple services, the processing procedure is similar, and details are not described herein again.
如, 该第二终端基于该用户标识, 在浏览器中开启了多个网页窗口, 当该 第二终端关闭该浏览器时, 同时关闭了该多个网页窗口, 之后, 当该第一终端 使用该用户标识登录该浏览器时, 能够继续显示该多个网页窗口, 由用户选择 一个网页窗口继续浏览。  For example, the second terminal opens a plurality of webpage windows in the browser based on the user identifier, and when the second terminal closes the browser, simultaneously closes the plurality of webpage windows, and then, when the first terminal uses When the user identifier logs in to the browser, the plurality of webpage windows can continue to be displayed, and the user selects a webpage window to continue browsing.
本发明实施例提供的方法, 通过在第二终端已中断业务的情况下, 接收到 第一终端继续处理该业务的请求时, 获取该业务的断点信息, 使得该第一终端 可以继续处理该业务, 而无需从头开始处理该业务, 实现了业务在不同终端上 的迁移, 且保证了业务处理的连续性, 操作筒便, 减小了消耗的时间。 进一步 地, 通过对该第一终端的上下文信息进行分析, 为该第一终端提供匹配的业务 数据, 保证了终端的自适应性, 灵活性强。 The method provided by the embodiment of the present invention is received by the second terminal when the service is interrupted. When the first terminal continues to process the request for the service, the breakpoint information of the service is obtained, so that the first terminal can continue to process the service without processing the service from the beginning, realizing the migration of the service on different terminals, and ensuring The continuity of business processing, the operation of the cylinder, reducing the time spent. Further, by analyzing the context information of the first terminal, the first terminal is provided with matching service data, which ensures the adaptability of the terminal and has strong flexibility.
在本发明实施例中, 以由该业务处理装置执行对应保存该用户标识和该断 点信息、向该第一终端发送该断点信息,对该第一终端的上下文信息进行分析、 为该第一终端提供匹配的业务数据等过程为例进行说明, 实际应用中, 上述过 程可以由多个相互关联的服务器执行,如对应保存该用户标识和该断点信息以 及向该第一终端发送该断点信息由上下文服务器执行, 对该上下文信息进行分 析由决策服务器执行, 为该第一终端提供匹配的业务数据由媒体服务器执行等 等, 本发明实施例对该执行主体不做限定。 下一实施例将对该多个关联服务器 之间的交互进行介绍。 图 3a是本发明实施例提供的一种业务处理方法的流程图, 参见图 3a, 本 发明实施例的交互主体为第一终端、 第二终端、 上下文服务器、 决策服务器和 媒体服务器, 该方法包括:  In the embodiment of the present invention, the service processing device performs corresponding storage of the user identifier and the breakpoint information, and sends the breakpoint information to the first terminal to analyze the context information of the first terminal. A process in which a terminal provides matching service data is used as an example. In an actual application, the foregoing process may be performed by multiple interrelated servers, such as correspondingly saving the user identifier and the breakpoint information, and sending the disconnection to the first terminal. The point information is executed by the context server, and the analysis of the context information is performed by the decision server, and the matching service data is provided by the media server for the first terminal to be executed by the media server. The next embodiment will introduce the interaction between the multiple associated servers. Figure 3a is a flowchart of a service processing method according to an embodiment of the present invention. Referring to Figure 3a, the interaction entity in the embodiment of the present invention is a first terminal, a second terminal, a context server, a decision server, and a media server, and the method includes :
301、 该第二终端基于用户标识, 向该媒体服务器发送视频播放请求。 本发明实施例应用于在该第二终端中断处理业务后, 该第一终端请求继续 处理该业务的场景下。 且本发明实施例以该业务为播放视频为例进行说明。  301. The second terminal sends a video play request to the media server based on the user identifier. The embodiment of the present invention is applied to a scenario in which the first terminal requests to continue processing the service after the second terminal interrupts the processing service. The embodiment of the present invention uses the service as a playback video as an example for description.
在本发明实施例中, 该上下文信息用于保存该用户标识对应的上下文信息 和断点信息, 该决策服务器用于根据该上下文信息确定该决策信息, 该媒体服 务器用于为终端提供业务数据。 则该媒体服务器在接收到该视频播放请求时, 并不会立即向该第二终端推送视频流, 而是等待该决策服务器确定了决策信息 后, 根据该决策信息, 对视频流进行转码等匹配处理后, 再向该第二终端推送 视频流, 使得该推送的视频流与该第二终端匹配。 302、 该第二终端基于该用户标识向该上下文服务器发送该第二终端的上 下文信息。 In the embodiment of the present invention, the context information is used to save context information and breakpoint information corresponding to the user identifier, and the decision server is configured to determine the decision information according to the context information, where the media server is configured to provide service data for the terminal. Then, when receiving the video play request, the media server does not immediately push the video stream to the second terminal, but waits for the decision server to determine the decision information, and then transcodes the video stream according to the decision information. After the matching process, the video stream is pushed to the second terminal, so that the pushed video stream matches the second terminal. 302. The second terminal sends the context information of the second terminal to the context server based on the user identifier.
可选地 , 该第二终端通过调用上下文 API ( Application Programming Interface, 应用程序编程接口), 获取该第二终端的上下文信息, 基于该用户标 识发送给该上下文服务器。  Optionally, the second terminal acquires context information of the second terminal by using a context programming API (Application Programming Interface), and sends the context information to the context server based on the user identifier.
本发明实施例以该步骤 302在步骤 301之后执行为例进行说明, 实际上, 该步骤 301和步骤 302可以同时进行, 或者由该第二终端在向该媒体服务器发 送视频播放请求时, 将该上下文信息发送给该媒体服务器, 由该媒体服务器转 发给该上下文服务器, 本发明实施例对此不做限定。  The embodiment of the present invention is described by taking the step 302 after the step 301 as an example. In fact, the step 301 and the step 302 may be performed simultaneously, or when the second terminal sends a video play request to the media server, The context information is sent to the media server, and is forwarded to the context server by the media server, which is not limited by the embodiment of the present invention.
303、 当该上下文服务器接收到该上下文信息时, 对应保存该用户标识和 该上下文信息。  303. When the context server receives the context information, the user identifier and the context information are saved correspondingly.
304、 该上下文服务器将该上下文信息转发给该决策服务器。  304. The context server forwards the context information to the decision server.
在本发明实施例中, 该上下文服务器可以用于建立和管理预设数据库, 在 该预设数据库中记录有多个用户标识和每个用户标识对应的上下文信息。  In the embodiment of the present invention, the context server may be used to establish and manage a preset database, where multiple user identifiers and context information corresponding to each user identifier are recorded in the preset database.
当该上下文服务器接收到该第二终端的上下文信息时, 判断该上下文服务 器中是否保存该用户标识, 如果该上下文服务器中保存有该用户标识时, 将该 上下文信息转发给该决策服务器, 如果该上下文信息未保存该用户标识时, 向 该第二终端发送用户标识错误信息, 而不执行转发操作。  When the context server receives the context information of the second terminal, determining whether the user identifier is saved in the context server, and if the user identifier is saved in the context server, forwarding the context information to the decision server, if When the context information does not save the user identifier, the user identifier error information is sent to the second terminal without performing a forwarding operation.
另外, 该上下文服务器还可以对用户标识进行验证。 该上下文信息保存有 每个注册的用户标识以及密码, 当该第二终端使用该用户标识登录时, 获取该 用户标识和用户输入的密码, 判断该用户输入的密码与该上下文服务器保存的 密码是否匹配, 如果是, 验证通过, 如果否, 验证未通过, 提示该第二终端登 录失败。  In addition, the context server can also authenticate the user identity. The context information is stored with each registered user identifier and password. When the second terminal logs in using the user identifier, the user identifier and the password input by the user are obtained, and the password input by the user and the password saved by the context server are determined. Match, if yes, the verification is passed, if no, the verification fails, prompting the second terminal to fail to log in.
本发明实施例以该步骤 304在步骤 303之后执行为例进行说明, 实际上, 该步骤 303和步骤 304可以同时进行, 或者当该上下文服务器接收到该上下文 信息时, 先执行步骤 304再执行步骤 303 , 本发明实施例对此不做限定。 305、 当该决策服务器接收到该上下文信息时, 对该上下文信息进行分析, 得到决策信息, 该决策信息包括数据格式信息。 The embodiment of the present invention is described by taking the step 304 after the step 303 as an example. In fact, the step 303 and the step 304 may be performed simultaneously, or when the context server receives the context information, the step 304 is performed before the step is performed. 303, the embodiment of the present invention does not limit this. 305. When the decision server receives the context information, analyze the context information to obtain decision information, where the decision information includes data format information.
在本发明实施例中, 当该决策信息接收到该上下文信息, 并不进行存储操 作,而是对该上下文信息进行分析,以确定与该第一终端匹配的数据格式信息。  In the embodiment of the present invention, when the decision information receives the context information, the storage operation is not performed, but the context information is analyzed to determine data format information that matches the first terminal.
306、 该决策服务器向该媒体服务器发送该决策信息。  306. The decision server sends the decision information to the media server.
307、 当该媒体服务器接收到该决策信息时, 根据该决策信息和该视频播 放请求, 进行视频处理, 得到视频流。  307. When the media server receives the decision information, perform video processing according to the decision information and the video play request to obtain a video stream.
308、 该媒体服务器向该第二终端推送该视频流。  308. The media server pushes the video stream to the second terminal.
在本发明实施例中, 该媒体服务器开启两个端口, 分别用于接收该决策服 务器发送的决策信息以及向终端推送视频流。 该决策服务器也开启两个端口, 分别用于接收该上下文服务器发送的上下文信息以及向媒体服务器转发该决 策信息。  In the embodiment of the present invention, the media server opens two ports for receiving decision information sent by the decision server and pushing the video stream to the terminal. The decision server also opens two ports for receiving context information sent by the context server and forwarding the decision information to the media server.
在实际应用时, 可以采用 java编程, java编程可以实现多端口互不影响的 工作。 其中, 该上下文服务器的工作流程复杂, 并发性要求 ^艮高, 则可以采用 java多线程操作, 进一步地, 该上下文服务器可能包括多个数据库, 则该上下 文服务器与数据库之间的信息交互可以采用 JDBC ( Java Data Base Connectivity, java数据库连接) 的方式进行。  In practical applications, you can use java programming, java programming can achieve multi-port work that does not affect each other. The context server has a complicated workflow, and the concurrency requirement is high, and the java multi-thread operation may be adopted. Further, the context server may include multiple databases, and the information interaction between the context server and the database may be adopted. JDBC (Java Data Base Connectivity, java database connection) is done in a way.
309、 该第二终端在接收到该视频流时, 进行视频播放。  309. The second terminal performs video playback when receiving the video stream.
在实际应用时,该第二终端可以采用网页嵌入 flash (交互式矢量图和 Web 动画标准)的方式进行视频播放, 能够在播放视频的同时, 与服务器进行信息 交互, 可以发送或接收该断点信息。  In practical application, the second terminal can use the webpage to embed flash (interactive vector graphics and web animation standard) to play video, and can perform information interaction with the server while playing the video, and can send or receive the breakpoint. information.
310、 当该第二终端在基于该用户标识进行视频播放的过程中, 接收到中 断播放指令时, 暂停播放视频, 并获取断点信息。  310. When the second terminal receives the interrupt play instruction during the video playback based on the user identifier, pauses playing the video and acquires breakpoint information.
311、 该第二终端基于该用户标识向该媒体服务器和该上下文服务器发送 中断播放请求, 该中断播放请求携带该断点信息。  311. The second terminal sends an interrupt play request to the media server and the context server based on the user identifier, where the interrupt play request carries the breakpoint information.
可选地, 该第二终端通过 socket (套接字) 向该上下文服务器发送该断点 信息。 进一步地, 可以结合 TCP ( Transmission Control Protocol, 传输控制协 议), 发送该上下文信息和该断点信息。 Optionally, the second terminal sends the breakpoint to the context server by using a socket (socket) Information. Further, the context information and the breakpoint information may be sent in conjunction with a Transmission Control Protocol (TCP).
312、 该媒体服务器在接收到该中断播放请求时, 停止推送该视频流。 312. The media server stops pushing the video stream when receiving the interrupt play request.
313、 该上下文服务器在接收到该中断播放请求时, 对应保存该用户标识 和该断点信息。 313. The context server saves the user identifier and the breakpoint information when receiving the interrupt play request.
基于该步骤 310-313 , 应用本发明实施例提供的方法, 当用户在使用一个 终端观看视频的过程中希望暂停视频播放时, 只需触发暂停视频播放的操作, 即可实现断点信息的存储, 而在之后希望使用另一终端继续观看该视频时, 只 需触发继续播放的操作, 即可实现断点续播。  Based on the steps 310-313, the method provided by the embodiment of the present invention is applied. When the user wants to pause the video playing during the process of watching the video using one terminal, the user only needs to trigger the operation of suspending the video playing to implement the storage of the breakpoint information. When you want to continue watching the video with another terminal, you only need to trigger the operation to continue playback, and you can resume the breakpoint.
314、 该第一终端使用该用户标识, 登录该媒体服务器。  314. The first terminal uses the user identifier to log in to the media server.
可选的, 该第一终端在登录该媒体服务器时, 自动执行基于该用户标识, 向该上下文服务器发送该第一终端的上下文信息的步骤。  Optionally, when the first terminal logs in to the media server, the step of automatically sending the context information of the first terminal to the context server based on the user identifier is automatically performed.
315、 该第一终端基于该用户标识, 向该媒体服务器发送继续播放请求。 315. The first terminal sends a resume play request to the media server based on the user identifier.
316、 该第一终端基于该用户标识, 向该上下文服务器发送该第一终端的 上下文信息。 316. The first terminal sends the context information of the first terminal to the context server based on the user identifier.
图 3b是本发明实施例提供的交互信息示意图, 参见图 3b, 该第二终端已 将该第二终端的上下文信息和该断点信息发送给该上下文服务器, 该第一终端 在使用该用户标识登录后, 向该上下文服务器发送该第一终端的上下文信息。  FIG. 3b is a schematic diagram of the interaction information provided by the embodiment of the present invention. Referring to FIG. 3b, the second terminal has sent the context information of the second terminal and the breakpoint information to the context server, where the first terminal uses the user identifier. After logging in, the context information of the first terminal is sent to the context server.
本发明实施例以该步骤 316在步骤 315之后执行为例进行说明, 实际上, 该步骤 315和步骤 316还可以同时进行, 本发明实施例对此不做限定。  The embodiment of the present invention is described as an example after the step 316 is performed in the step 315. In fact, the step 315 and the step 316 may be performed simultaneously, which is not limited by the embodiment of the present invention.
317、 该上下文服务器在接收到该第一终端的上下文信息时, 获取该用户 标识对应的断点信息, 并将与该用户标识对应保存的该第二终端的上下文信息 替换为该第一终端的上下文信息。  317. When receiving the context information of the first terminal, the context server obtains the breakpoint information corresponding to the user identifier, and replaces the context information of the second terminal that is saved corresponding to the user identifier with the first terminal. Contextual information.
318、 该上下文服务器将该第一终端的上下文信息转发给该决策服务器。 318. The context server forwards the context information of the first terminal to the decision server.
319、 该上下文服务器将该第一终端的断点信息发送给该媒体服务器。319. The context server sends the breakpoint information of the first terminal to the media server.
320、 当该决策服务器接收到该上下文信息时, 对该上下文信息进行分析, 得到决策信息, 该决策信息包括数据格式信息。 320. When the decision server receives the context information, analyze the context information, The decision information is obtained, and the decision information includes data format information.
321、 该决策服务器向该媒体服务器发送该决策信息。  321. The decision server sends the decision information to the media server.
322、 当该媒体服务器接收到该决策信息时, 根据该决策信息、 该视频播 放请求和该断点信息, 进行视频处理, 得到以该断点信息为起点的视频流。  322. When the media server receives the decision information, perform video processing according to the decision information, the video play request, and the breakpoint information, to obtain a video stream starting from the breakpoint information.
该步骤 304-307是为该第二终端进行视频内容和格式适配的过程, 该步骤 318-322 是为该第一终端进行视频内容和格式适配的过程, 与该步骤 304-307 类似, 在此不再赘述。  The steps 304-307 are a process of performing video content and format adaptation for the second terminal, and the steps 318-322 are a process of performing video content and format adaptation for the first terminal, similar to the steps 304-307. I will not repeat them here.
323、 该媒体服务器向该第一终端推送以该断点信息为起点的视频流。 323. The media server pushes the video stream starting from the breakpoint information to the first terminal.
324、 该第一终端在接收到该视频流时, 从该断点信息开始, 继续播放视 频。 324. When receiving the video stream, the first terminal starts playing the video from the breakpoint information.
本发明实施例提供的方法, 以播放视频为例, 通过在第二终端已中断视频 播放的情况下, 接收到第一终端继续播放该视频的请求时, 获取该视频的断点 信息, 并对该第一终端的上下文信息进行分析, 向该第一终端推送以该断点信 息为起点的、 与该第一终端匹配的视频流, 使得该第一终端可以根据以该断点 信息为起点的视频流, 继续播放该视频, 而无需从头开始播放该视频, 实现了 视频在不同终端上的断点续播, 保证了视频播放的连续性, 操作筒便, 耗时很 短, 保证了终端的自适应性, 灵活性强。 图 4是本发明实施例提供的一种业务处理装置结构示意图, 参见图 4, 该 装置包括: 指定请求接收模块 401、 断点获取模块 402、 断点发送模块 403 , 其中, 指定请求接收模块 401用于接收第一终端基于用户标识的指定处理 请求, 该指定处理请求用于请求继续处理已中断的业务; 断点获取模块 402与 指定请求接收模块 401连接, 用于获取该用户标识对应的断点信息, 该断点信 息用于表示该业务的处理进度,且该断点信息由基于该用户标识处理业务的第 二终端在中断该业务时确定; 断点发送模块 403与断点获取模块 402连接, 用 于向该第一终端发送根据该断点信息确定的业务数据,使得该第一终端继续处 理该业务。 The method provided by the embodiment of the present invention takes a video as an example, and obtains a breakpoint information of the video when receiving the request for the first terminal to continue playing the video when the second terminal has interrupted the video playing, and The context information of the first terminal is analyzed, and the video stream that matches the first terminal starting from the breakpoint information is pushed to the first terminal, so that the first terminal can start from the breakpoint information. The video stream continues to play the video without playing the video from the beginning, realizing the resume of the video on different terminals, ensuring the continuity of the video playback, operating the tube, and taking a short time, ensuring the terminal Adaptive, flexible. 4 is a schematic structural diagram of a service processing apparatus according to an embodiment of the present invention. Referring to FIG. 4, the apparatus includes: a request request receiving module 401, a breakpoint obtaining module 402, and a breakpoint sending module 403, wherein the request receiving module 401 is specified. And the specified processing request is used to receive the specified processing request based on the user identifier, and the specified processing request is used to request to continue processing the interrupted service; the breakpoint obtaining module 402 is connected to the specified request receiving module 401, and configured to acquire the corresponding Point information, the breakpoint information is used to indicate the processing progress of the service, and the breakpoint information is determined by the second terminal processing the service based on the user identifier when the service is interrupted; the breakpoint sending module 403 and the breakpoint obtaining module 402 a connection, configured to send, to the first terminal, service data determined according to the breakpoint information, so that the first terminal continues Take care of the business.
可选地, 该装置还包括:  Optionally, the device further includes:
中断请求接收模块, 用于接收该第二终端基于该用户标识的中断业务请 求, 该中断业务请求携带该断点信息; 和 /或,  An interrupt request receiving module, configured to receive an interrupt service request of the second terminal based on the user identifier, where the interrupt service request carries the breakpoint information; and/or,
断点生成模块, 用于接收该第二终端基于该用户标识的中断业务请求, 根 据当前该业务的处理进度, 生成该断点信息;  a breakpoint generating module, configured to receive an interrupt service request of the second terminal based on the user identifier, and generate the breakpoint information according to a current processing progress of the service;
保存模块, 用于对应保存该用户标识与该断点信息。  The save module is configured to save the user identifier and the breakpoint information.
可选地, 该断点发送模块包括:  Optionally, the breakpoint sending module includes:
第一断点发送单元, 用于根据该断点信息, 获取以该断点信息为起点的业 务数据, 并向该第一终端发送以该断点信息为起点的业务数据, 使得该第一终 端根据该断点信息为起点的业务数据继续处理该业务; 或,  a first breakpoint sending unit, configured to acquire, according to the breakpoint information, service data starting from the breakpoint information, and send, to the first terminal, service data starting from the breakpoint information, so that the first terminal The service data starting from the breakpoint information continues to process the service; or,
第二断点发送单元, 用于向该第一终端发送该断点信息和该业务数据, 使 得该第一终端以该断点信息为起点, 根据该业务数据继续处理该业务。  And a second breakpoint sending unit, configured to send the breakpoint information and the service data to the first terminal, so that the first terminal starts processing the service according to the service data, starting from the breakpoint information.
可选地, 该装置还包括:  Optionally, the device further includes:
上下文获取模块, 用于获取该第一终端的上下文信息;  a context obtaining module, configured to acquire context information of the first terminal;
分析模块, 用于对该上下文信息进行分析, 得到决策信息, 该决策信息包 括数据格式信息;  An analysis module, configured to analyze the context information to obtain decision information, where the decision information includes data format information;
决策模块, 用于根据该决策信息, 执行向该第一终端发送根据该断点信息 确定的业务数据的步骤。  And a determining module, configured to perform, according to the decision information, a step of sending the service data determined according to the breakpoint information to the first terminal.
可选地, 该业务为播放多媒体文件, 该决策模块包括:  Optionally, the service is to play a multimedia file, and the decision module includes:
判断单元, 用于判断该业务的多媒体文件中是否存在与该数据格式信息匹 配的多媒体文件;  a determining unit, configured to determine whether a multimedia file matching the data format information exists in the multimedia file of the service;
第一匹配单元, 用于当存在与该数据格式信息匹配的多媒体文件时, 执行 向该第一终端发送根据该断点信息确定的多媒体文件数据流的步骤; 或, 第二匹配单元, 用于当不存在与该数据格式信息匹配的多媒体文件时, 按 照该数据格式信息, 对该业务的多媒体文件进行转码, 使得转码后的多媒体文 件与该数据格式信息匹配,执行向该第一终端发送根据该断点信息确定的转码 后的多媒体文件数据流的步骤。 a first matching unit, configured to: when a multimedia file matching the data format information exists, perform a step of transmitting a multimedia file data stream determined according to the breakpoint information to the first terminal; or, a second matching unit, configured to: When there is no multimedia file matching the data format information, the multimedia file of the service is transcoded according to the data format information, so that the transcoded multimedia file is The device matches the data format information, and performs the step of transmitting, to the first terminal, the transcoded multimedia file data stream determined according to the breakpoint information.
可选地, 该上下文信息包括终端上下文信息和网络上下文信息中的至少一 项, 该终端上下文信息包括终端类型、 屏幕分辨率、 处理器类别或存储容量, 该网络上下文信息包括网络连接方式、 传输质量、 传输带宽或网络速率。  Optionally, the context information includes at least one of terminal context information including a terminal type, a screen resolution, a processor class, or a storage capacity, where the network context information includes a network connection manner, and the transmission Quality, transmission bandwidth or network speed.
本发明实施例提供的装置, 通过在第二终端已中断业务的情况下, 接收到 第一终端继续处理该业务的请求时, 获取该业务的断点信息, 使得该第一终端 可以继续处理该业务, 而无需从头开始处理该业务, 实现了业务在不同终端上 的迁移, 且保证了业务处理的连续性, 操作筒便, 减小了消耗的时间。 图 5是本发明实施例提供的一种业务处理系统结构示意图, 参见图 5 , 该 系统包括: 上下文服务器 501、 决策服务器 502和媒体服务器 503 ,  The device provided by the embodiment of the present invention obtains the breakpoint information of the service when the second terminal receives the request for the service to continue processing the service, so that the first terminal can continue to process the The service, without having to deal with the service from the beginning, realizes the migration of the service on different terminals, and ensures the continuity of the business processing, and the operation is reduced, and the consumption time is reduced. FIG. 5 is a schematic structural diagram of a service processing system according to an embodiment of the present invention. Referring to FIG. 5, the system includes: a context server 501, a decision server 502, and a media server 503.
该上下文服务器 501用于接收第一终端基于用户标识的指定处理请求, 该 指定处理请求用于请求继续处理已中断的业务; 获取该用户标识对应的断点信 息, 该断点信息用于表示该业务的处理进度, 且该断点信息由基于该用户标识 处理业务的第二终端在中断该业务时确定;  The context server 501 is configured to receive a specified processing request of the first terminal based on the user identifier, where the specified processing request is used to request to continue processing the interrupted service; and obtain the breakpoint information corresponding to the user identifier, where the breakpoint information is used to indicate the Processing progress of the service, and the breakpoint information is determined by the second terminal processing the service based on the user identifier when the service is interrupted;
可选地,该上下文服务器 501还用于向该媒体服务器 503发送该断点信息, 该媒体服务器 503用于根据该断点信息,获取以该断点信息为起点的业务数据, 并向该第一终端发送以该断点信息为起点的业务数据,使得该第一终端根据该 断点信息为起点的业务数据继续处理该业务; 或,  Optionally, the context server 501 is further configured to send the breakpoint information to the media server 503, where the media server 503 is configured to obtain, according to the breakpoint information, service data starting from the breakpoint information, and to the first a terminal sends the service data starting from the breakpoint information, so that the first terminal continues to process the service according to the service data starting from the breakpoint information; or
该上下文服务器 501还用于向该第一终端发送该断点信息, 该媒体服务器 503用于向该第一终端发送该业务数据,使得该第一终端以该断点信息为起点, 根据该业务数据继续处理该业务。  The context server 501 is further configured to send the breakpoint information to the first terminal, where the media server 503 is configured to send the service data to the first terminal, so that the first terminal starts with the breakpoint information, according to the service. The data continues to process the business.
可选地, 该上下文服务器 501还用于接收该第二终端基于该用户标识的中 断业务请求, 该中断业务请求携带该断点信息; 和 /或,  Optionally, the context server 501 is further configured to receive, by the second terminal, an interrupt service request based on the user identifier, where the interrupt service request carries the breakpoint information; and/or,
该上下文服务器 501还用于接收该第二终端基于该用户标识的中断业务请 求, ^据当前该业务的处理进度, 生成该断点信息; The context server 501 is further configured to receive the interrupt service of the second terminal based on the user identifier. Request, ^ according to the current processing progress of the business, generate the breakpoint information;
该上下文服务器 501还用于对应保存该用户标识与该断点信息。  The context server 501 is further configured to save the user identifier and the breakpoint information.
可选地, 该决策服务器 502用于获取该第一终端的上下文信息; 对该上下 文信息进行分析, 得到决策信息, 该决策信息包括数据格式信息; 向该媒体服 务器 503发送该决策信息, 使得该媒体服务器 503根据该决策信息, 获取该业 务对应的业务数据。  Optionally, the decision server 502 is configured to obtain context information of the first terminal, analyze the context information, obtain decision information, where the decision information includes data format information, and send the decision information to the media server 503, so that the The media server 503 obtains service data corresponding to the service according to the decision information.
可选地, 该业务为播放多媒体文件,  Optionally, the service is to play a multimedia file,
该媒体服务器 503还用于判断该业务的多媒体文件中是否存在与该数据格 式信息匹配的多媒体文件; 当存在与该数据格式信息匹配的多媒体文件时, 执 行为该第一终端提供该与该数据格式信息匹配的多媒体文件的步骤; 或, 当不 存在与该数据格式信息匹配的多媒体文件时, 按照该数据格式信息, 对该业务 的多媒体文件进行转码, 使得转码后的多媒体文件与该业务数据格式匹配, 执 行为该第一终端提供转码后的多媒体文件的步骤。  The media server 503 is further configured to determine whether a multimedia file matching the data format information exists in the multimedia file of the service; and when there is a multimedia file that matches the data format information, performing the providing the data to the first terminal a step of matching the multimedia file with the format information; or, when there is no multimedia file matching the data format information, transcoding the multimedia file of the service according to the data format information, so that the transcoded multimedia file and the The service data format is matched, and the step of providing the transcoded multimedia file for the first terminal is performed.
可选地, 该上下文信息包括终端上下文信息和网络上下文信息中的至少一 项, 该终端上下文信息包括终端类型、 屏幕分辨率、 处理器类别或存储容量, 该网络上下文信息包括网络连接方式、 传输质量、 传输带宽或网络速率。 本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通 过硬件来完成, 也可以通过程序来指令相关的硬件完成, 所述的程序可以存储 于一种计算机可读存储介质中, 上述提到的存储介质可以是只读存储器, 磁盘 或光盘等。 以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明的 精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的 保护范围之内。  Optionally, the context information includes at least one of terminal context information including a terminal type, a screen resolution, a processor class, or a storage capacity, where the network context information includes a network connection manner, and the transmission Quality, transmission bandwidth or network speed. A person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium. The storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.

Claims

权 利 要 求 书 claims
1、 一种业务处理方法, 其特征在于, 所述方法包括: 1. A business processing method, characterized in that the method includes:
接收第一终端基于用户标识的指定处理请求, 所述指定处理请求用于请求 继续处理已中断的业务; Receive a designated processing request from the first terminal based on the user identity, where the designated processing request is used to request to continue processing the interrupted service;
获取所述用户标识对应的断点信息, 所述断点信息用于表示所述业务的处 理进度, 且所述断点信息由基于所述用户标识处理业务的第二终端在中断所述 业务时确定; Obtain breakpoint information corresponding to the user identification, the breakpoint information is used to indicate the processing progress of the service, and the breakpoint information is generated by the second terminal that processes the service based on the user identification when interrupting the service. Sure;
向所述第一终端发送根据所述断点信息确定的业务数据, 使得所述第一终 端继续处理所述业务。 Send the service data determined according to the breakpoint information to the first terminal, so that the first terminal continues to process the service.
2、 根据权利要求 1所述的方法, 其特征在于, 获取所述用户标识对应的断 点信息之前, 所述方法还包括: 2. The method according to claim 1, characterized in that, before obtaining the breakpoint information corresponding to the user identification, the method further includes:
接收所述第二终端基于所述用户标识的中断业务请求, 所述中断业务请求 携带所述断点信息; 和 /或, Receive a service interruption request from the second terminal based on the user identity, where the service interruption request carries the breakpoint information; and/or,
接收所述第二终端基于所述用户标识的中断业务请求, 根据当前所述业务 的处理进度, 生成所述断点信息; Receive a service interruption request from the second terminal based on the user identification, and generate the breakpoint information according to the current processing progress of the service;
对应保存所述用户标识与所述断点信息。 The user identification and the breakpoint information are stored correspondingly.
3、 根据权利要求 1所述的方法, 其特征在于, 向所述第一终端发送根据所 述断点信息确定的业务数据, 使得所述第一终端继续处理所述业务包括: 3. The method according to claim 1, wherein sending the service data determined according to the breakpoint information to the first terminal so that the first terminal continues to process the service includes:
根据所述断点信息, 获取以所述断点信息为起点的业务数据, 并向所述第 一终端发送以所述断点信息为起点的业务数据, 使得所述第一终端根据所述断 点信息为起点的业务数据继续处理所述业务; 或, According to the breakpoint information, obtain the service data starting from the breakpoint information, and send the service data starting from the breakpoint information to the first terminal, so that the first terminal can obtain the service data starting from the breakpoint information according to the breakpoint information. Use the business data as the starting point to continue processing the business; or,
向所述第一终端发送所述断点信息和所述业务数据, 使得所述第一终端以 所述断点信息为起点, ^据所述业务数据继续处理所述业务。 The breakpoint information and the service data are sent to the first terminal, so that the first terminal uses the breakpoint information as a starting point and continues to process the service according to the service data.
4、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括: 获取所述第一终端的上下文信息; 4. The method according to claim 1, characterized in that, the method further includes: obtaining context information of the first terminal;
对所述上下文信息进行分析, 得到决策信息, 所述决策信息包括数据格式 信息; Analyze the context information to obtain decision-making information, where the decision-making information includes data format information;
根据所述决策信息, 执行向所述第一终端发送根据所述断点信息确定的业 务数据的步骤。 According to the decision information, the step of sending the service data determined according to the breakpoint information to the first terminal is performed.
5、根据权利要求 4所述的方法, 其特征在于, 所述业务为播放多媒体文件, 根据所述决策信息, 执行向所述第一终端发送根据所述断点信息确定的业务数 据的步骤包括: 5. The method according to claim 4, characterized in that, the service is playing multimedia files, and according to the decision information, performing the step of sending the service data determined according to the breakpoint information to the first terminal includes :
判断所述业务的多媒体文件中是否存在与所述数据格式信息匹配的多媒体 文件; Determine whether there is a multimedia file matching the data format information in the multimedia files of the service;
当存在与所述数据格式信息匹配的多媒体文件时, 执行向所述第一终端发 送根据所述断点信息确定的多媒体文件数据流的步骤; 或, When there is a multimedia file that matches the data format information, perform the step of sending the multimedia file data stream determined based on the breakpoint information to the first terminal; or,
当不存在与所述数据格式信息匹配的多媒体文件时, 按照所述数据格式信 息, 对所述业务的多媒体文件进行转码, 使得转码后的多媒体文件与所述数据 格式信息匹配, 执行向所述第一终端发送根据所述断点信息确定的转码后的多 媒体文件数据流的步骤。 When there is no multimedia file matching the data format information, transcode the multimedia file of the service according to the data format information, so that the transcoded multimedia file matches the data format information, and execute The first terminal sends the transcoded multimedia file data stream determined according to the breakpoint information.
6、 根据权利要求 1-5任一项所述的方法, 其特征在于, 所述上下文信息包 括终端上下文信息和网络上下文信息中的至少一项, 所述终端上下文信息包括 终端类型、 屏幕分辨率、 处理器类别或存储容量, 所述网络上下文信息包括网 络连接方式、 传输质量、 传输带宽或网络速率。 6. The method according to any one of claims 1 to 5, characterized in that, the context information includes at least one of terminal context information and network context information, and the terminal context information includes terminal type, screen resolution , processor type or storage capacity, the network context information includes network connection mode, transmission quality, transmission bandwidth or network rate.
7、 一种业务处理装置, 其特征在于, 所述装置包括: 7. A business processing device, characterized in that the device includes:
指定请求接收模块, 用于接收第一终端基于用户标识的指定处理请求, 所 述指定处理请求用于请求继续处理已中断的业务; The designated request receiving module is configured to receive a designated processing request from the first terminal based on the user identification, so The above specified processing request is used to request to continue processing the interrupted business;
断点获取模块, 用于获取所述用户标识对应的断点信息, 所述断点信息用 于表示所述业务的处理进度, 且所述断点信息由基于所述用户标识处理业务的 第二终端在中断所述业务时确定; A breakpoint acquisition module, configured to acquire breakpoint information corresponding to the user identification, where the breakpoint information is used to represent the processing progress of the service, and the breakpoint information is obtained by a second processor that processes the service based on the user identification. The terminal determines when interrupting the service;
断点发送模块, 用于向所述第一终端发送根据所述断点信息确定的业务数 据, 使得所述第一终端继续处理所述业务。 A breakpoint sending module, configured to send the service data determined according to the breakpoint information to the first terminal, so that the first terminal continues to process the service.
8、 根据权利要求 7所述的装置, 其特征在于, 所述装置还包括: 8. The device according to claim 7, characterized in that, the device further includes:
中断请求接收模块, 用于接收所述第二终端基于所述用户标识的中断业务 请求, 所述中断业务请求携带所述断点信息; 和 /或, An interruption request receiving module, configured to receive an interruption service request from the second terminal based on the user identity, where the interruption service request carries the breakpoint information; and/or,
断点生成模块, 用于接收所述第二终端基于所述用户标识的中断业务请求, 才艮据当前所述业务的处理进度, 生成所述断点信息; A breakpoint generation module, configured to receive a service interruption request from the second terminal based on the user identity, and generate the breakpoint information based on the current processing progress of the service;
保存模块, 用于对应保存所述用户标识与所述断点信息。 A saving module, configured to correspondingly save the user identification and the breakpoint information.
9、 根据权利要求 7所述的装置, 其特征在于, 所述断点发送模块包括: 第一断点发送单元, 用于根据所述断点信息, 获取以所述断点信息为起点 的业务数据, 并向所述第一终端发送以所述断点信息为起点的业务数据, 使得 所述第一终端根据所述断点信息为起点的业务数据继续处理所述业务; 或, 第二断点发送单元, 用于向所述第一终端发送所述断点信息和所述业务数 据, 使得所述第一终端以所述断点信息为起点, 根据所述业务数据继续处理所 述业务。 9. The device according to claim 7, characterized in that the breakpoint sending module includes: a first breakpoint sending unit, configured to obtain services starting from the breakpoint information according to the breakpoint information. data, and sends service data starting from the breakpoint information to the first terminal, so that the first terminal continues to process the service based on the service data starting from the breakpoint information; or, the second break A point sending unit is configured to send the breakpoint information and the service data to the first terminal, so that the first terminal uses the breakpoint information as a starting point and continues to process the service according to the service data.
10、 根据权利要求 7所述的装置, 其特征在于, 所述装置还包括: 上下文获取模块, 用于获取所述第一终端的上下文信息; 10. The device according to claim 7, wherein the device further includes: a context acquisition module, configured to acquire context information of the first terminal;
分析模块, 用于对所述上下文信息进行分析, 得到决策信息, 所述决策信 息包括数据格式信息; 决策模块, 用于根据所述决策信息, 执行向所述第一终端发送根据所述断 点信息确定的业务数据的步骤。 An analysis module, used to analyze the context information to obtain decision-making information, where the decision-making information includes data format information; A decision-making module, configured to perform the step of sending the service data determined according to the breakpoint information to the first terminal according to the decision information.
11、 根据权利要求 10所述的装置, 其特征在于, 所述业务为播放多媒体文 件, 所述决策模块包括: 11. The device according to claim 10, wherein the service is playing multimedia files, and the decision-making module includes:
判断单元, 用于判断所述业务的多媒体文件中是否存在与所述数据格式信 息匹配的多媒体文件; A judgment unit, used to judge whether there is a multimedia file matching the data format information in the multimedia files of the service;
第一匹配单元, 用于当存在与所述数据格式信息匹配的多媒体文件时, 执 行向所述第一终端发送根据所述断点信息确定的多媒体文件数据流的步骤; 或, 第二匹配单元, 用于当不存在与所述数据格式信息匹配的多媒体文件时, 按照所述数据格式信息, 对所述业务的多媒体文件进行转码, 使得转码后的多 媒体文件与所述数据格式信息匹配, 执行向所述第一终端发送根据所述断点信 息确定的转码后的多媒体文件数据流的步骤。 The first matching unit is configured to perform the step of sending the multimedia file data stream determined based on the breakpoint information to the first terminal when there is a multimedia file matching the data format information; or, the second matching unit , used to transcode the multimedia files of the service according to the data format information when there is no multimedia file matching the data format information, so that the transcoded multimedia files match the data format information. , execute the step of sending the transcoded multimedia file data stream determined according to the breakpoint information to the first terminal.
12、 根据权利要求 7-11任一项所述的装置, 其特征在于, 所述上下文信息 包括终端上下文信息和网络上下文信息中的至少一项, 所述终端上下文信息包 括终端类型、 屏幕分辨率、 处理器类别或存储容量, 所述网络上下文信息包括 网络连接方式、 传输质量、 传输带宽或网络速率。 12. The device according to any one of claims 7-11, wherein the context information includes at least one of terminal context information and network context information, and the terminal context information includes terminal type, screen resolution , processor type or storage capacity, the network context information includes network connection mode, transmission quality, transmission bandwidth or network rate.
13、 一种业务处理系统, 其特征在于, 所述系统包括: 上下文服务器、 决 策服务器和媒体服务器, 13. A business processing system, characterized in that the system includes: a context server, a decision server and a media server,
所述上下文服务器用于接收第一终端基于用户标识的指定处理请求, 所述 指定处理请求用于请求继续处理已中断的业务; 获取所述用户标识对应的断点 信息, 所述断点信息用于表示所述业务的处理进度, 且所述断点信息由基于所 述用户标识处理业务的第二终端在中断所述业务时确定; 服务器用于根据所述断点信息, 获取以所述断点信息为起点的业务数据, 并向 所述第一终端发送以所述断点信息为起点的业务数据, 使得所述第一终端根据 所述断点信息为起点的业务数据继续处理所述业务; 或, The context server is configured to receive a designated processing request from the first terminal based on the user identification, and the designated processing request is used to request to continue processing the interrupted service; and obtain breakpoint information corresponding to the user identification, and the breakpoint information is used Indicates the processing progress of the service, and the breakpoint information is determined by the second terminal that processes the service based on the user identification when interrupting the service; The server is configured to obtain service data starting from the breakpoint information according to the breakpoint information, and send service data starting from the breakpoint information to the first terminal, so that the first terminal can obtain the service data based on the breakpoint information. The breakpoint information is the starting point of the business data to continue processing the business; or,
所述上下文服务器还用于向所述第一终端发送所述断点信息, 所述媒体服 务器用于向所述第一终端发送所述业务数据, 使得所述第一终端以所述断点信 息为起点, 根据所述业务数据继续处理所述业务。 The context server is further configured to send the breakpoint information to the first terminal, and the media server is configured to send the service data to the first terminal, so that the first terminal responds with the breakpoint information. as a starting point, and continue to process the business based on the business data.
所述决策服务器用于获取所述第一终端的上下文信息; 对所述上下文信息 进行分析, 得到决策信息, 所述决策信息包括数据格式信息; 向所述媒体服务 器发送所述决策信息, 使得所述媒体服务器根据所述决策信息, 执行向所述第 一终端发送根据所述断点信息确定的业务数据的步骤。 The decision server is used to obtain context information of the first terminal; analyze the context information to obtain decision information, where the decision information includes data format information; send the decision information to the media server, so that The media server performs the step of sending the service data determined based on the breakpoint information to the first terminal based on the decision information.
PCT/CN2013/089965 2013-12-19 2013-12-19 Service processing method, apparatus, and system WO2015089790A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201380003501.9A CN105052165B (en) 2013-12-19 2013-12-19 Method for processing business, device and system
PCT/CN2013/089965 WO2015089790A1 (en) 2013-12-19 2013-12-19 Service processing method, apparatus, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/089965 WO2015089790A1 (en) 2013-12-19 2013-12-19 Service processing method, apparatus, and system

Publications (1)

Publication Number Publication Date
WO2015089790A1 true WO2015089790A1 (en) 2015-06-25

Family

ID=53401972

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/089965 WO2015089790A1 (en) 2013-12-19 2013-12-19 Service processing method, apparatus, and system

Country Status (2)

Country Link
CN (1) CN105052165B (en)
WO (1) WO2015089790A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106658598A (en) * 2016-12-08 2017-05-10 南京邮电大学 Service migration method based on content caching and network state awareness
CN109756937A (en) * 2017-11-01 2019-05-14 中国移动通信有限公司研究院 Business continuance support method, functional network element and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110597815A (en) * 2019-09-17 2019-12-20 深圳市数聚能源科技有限公司 Service processing method, device, computer equipment and storage medium
CN114363665B (en) * 2021-12-16 2023-11-07 深圳市捷视飞通科技股份有限公司 Multi-service code stream pushing method, system, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523529A (en) * 2011-12-08 2012-06-27 中国联合网络通信集团有限公司 Method for continuously playing videos of multi-terminal equipment and video server
CN103037244A (en) * 2011-09-30 2013-04-10 深圳市龙视传媒有限公司 Method and system for switching network videos among multiple intelligent terminals and intelligent terminals
CN101964787B (en) * 2010-09-17 2013-07-10 深圳市同洲电子股份有限公司 Method, device and system for implementation of multiple-terminal breakpoint broadcast of programs

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7383983B2 (en) * 2004-05-07 2008-06-10 General Instrument Corporation System and method for managing content between devices in various domains
CN101193264A (en) * 2006-11-21 2008-06-04 明基电通股份有限公司 Playing method of video/audio file and playing system using this method
US20090232481A1 (en) * 2008-03-11 2009-09-17 Aaron Baalbergen Systems and methods for handling content playback
US20140016911A1 (en) * 2011-05-03 2014-01-16 Thomson Licensing Multi-location dvr access control

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101964787B (en) * 2010-09-17 2013-07-10 深圳市同洲电子股份有限公司 Method, device and system for implementation of multiple-terminal breakpoint broadcast of programs
CN103037244A (en) * 2011-09-30 2013-04-10 深圳市龙视传媒有限公司 Method and system for switching network videos among multiple intelligent terminals and intelligent terminals
CN102523529A (en) * 2011-12-08 2012-06-27 中国联合网络通信集团有限公司 Method for continuously playing videos of multi-terminal equipment and video server

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106658598A (en) * 2016-12-08 2017-05-10 南京邮电大学 Service migration method based on content caching and network state awareness
CN109756937A (en) * 2017-11-01 2019-05-14 中国移动通信有限公司研究院 Business continuance support method, functional network element and storage medium

Also Published As

Publication number Publication date
CN105052165A (en) 2015-11-11
CN105052165B (en) 2019-05-24

Similar Documents

Publication Publication Date Title
US7996538B2 (en) Information processing apparatus and content information processing method for transmitting content and event information to a client
US10419804B2 (en) Cooperative provision of personalized user functions using shared and personal devices
KR101657914B1 (en) Method and terminal for sharing media stream
US10034057B2 (en) Message processing method, device, gateway, STB and IPTV
CN103166941A (en) Data sharing method and device
US7996540B2 (en) Method and system for replacing media stream in a communication process of a terminal
WO2016095705A1 (en) Method, device and system for streaming media transmission
WO2017075956A1 (en) Content projection method and mobile terminal
WO2017096851A1 (en) Method, system, and server for pushing video file
WO2013044696A1 (en) Media playing method and system
WO2015180446A1 (en) System and method for maintaining connection channel in multi-device interworking service
CN104079597A (en) Transfer method of media stream and user equipment
WO2015089790A1 (en) Service processing method, apparatus, and system
JP6116240B2 (en) Transmission device, transmission method, and program
JP5651558B2 (en) Management server, video distribution control system, and video distribution control method
EP2157761A2 (en) Information processing apparatus, information processing method and information processing system for the cooperative operation of several appliances interconnected via a home network
US9871840B2 (en) Electronic apparatus and method for transferring contents on cloud system to device connected to DLNA
CN104486665A (en) Remote assistance method and device of mobile terminal
WO2019007027A1 (en) Video playing method and system, electronic device and readable storage medium
CN115865884A (en) Network camera data access device and method, network camera and medium
CN112584134B (en) Method and device for testing video conference code stream, computer equipment and storage medium
KR102079339B1 (en) Apparatas and method for contents transfer to dlna connected device of cloud system in an electronic device
US9106468B1 (en) Transferring media objects from one device to another device
JP2017509200A (en) Television program image frame capture device, television program image frame acquisition device, system and method
CN112243135B (en) Multimedia playing method and device

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201380003501.9

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13899481

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13899481

Country of ref document: EP

Kind code of ref document: A1