WO2016106705A1 - 内容共享的方法、终端、服务器和系统 - Google Patents

内容共享的方法、终端、服务器和系统 Download PDF

Info

Publication number
WO2016106705A1
WO2016106705A1 PCT/CN2014/095956 CN2014095956W WO2016106705A1 WO 2016106705 A1 WO2016106705 A1 WO 2016106705A1 CN 2014095956 W CN2014095956 W CN 2014095956W WO 2016106705 A1 WO2016106705 A1 WO 2016106705A1
Authority
WO
WIPO (PCT)
Prior art keywords
cloud server
source terminal
shared content
content
destination terminal
Prior art date
Application number
PCT/CN2014/095956
Other languages
English (en)
French (fr)
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 PCT/CN2014/095956 priority Critical patent/WO2016106705A1/zh
Priority to CN201480084434.2A priority patent/CN107113281A/zh
Priority to EP14909513.5A priority patent/EP3232631B1/en
Publication of WO2016106705A1 publication Critical patent/WO2016106705A1/zh
Priority to US15/638,054 priority patent/US10721115B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5683Storage of data provided by user terminals, i.e. reverse caching

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method, a terminal, a server, and a system for content sharing.
  • KaaS Software Development Kit
  • SDK Software Development Kit
  • API Programming Interface
  • SIP Session Initiation Protocol
  • the source terminal sends a file by calling the API interface provided by the SDK. It can be sent in two ways. One way is to configure the RCS (Rich Communcation Suite) server to be in the store-and-forward mode.
  • the local file will be sent to the RCS server first, that is, the RCS server of the operator in the live network. After the RCS server is received, it is then sent by the RCS server to the receiver. Another way is to configure the RCS server to be in the peer-to-peer mode. After the destination terminal receives the content sharing request and selects to receive it, there is no need to wait for the file to be completely sent to the RCS server. The file can be sent to the recipient via the RCS server.
  • the server when the RCS server is configured to store and forward mode, and the shared content needs to wait for transmission to the server, the server notifies the user to receive, which may cause the time from the sender to the receiver to receive, and the required time passes. Long, affecting the user experience.
  • the RCS server When the RCS server is configured in point-to-point mode, the file does not need to wait for the sender to completely send the shared content, and the server will notify the receiver to receive.
  • the time Compared with the store-and-forward mode, the time will decrease, but this process depends on the network environment of both parties, either party. Slow network speed will affect the total transmission time of the sharing process.
  • the embodiment of the present invention provides a method, a terminal, a server, and a system for content sharing. After the shared content is transmitted between the cloud servers in the embodiment of the present invention, the terminal is By logging in to their respective cloud servers, you can browse and manipulate shared content.
  • a method of content sharing receives a content sending command sent by the source terminal, where the content sending command carries an address of the destination terminal cloud server.
  • the source terminal cloud server sends a connection request to the destination terminal cloud server according to the address of the destination terminal cloud server, where the connection request is used to request to establish a connection with the destination terminal cloud server. After the connection is established, the source terminal cloud server sends the shared content to the destination terminal cloud server.
  • the source terminal acquires the destination terminal cloud server address from the destination terminal.
  • the source terminal cloud server before the source terminal cloud server receives the content sending command step sent by the source terminal, the source terminal cloud server receives the ID of the shared content sent by the source terminal, according to the sharing The ID of the content acquires a corresponding random verification code, and returns a random verification code corresponding to the ID of the shared content to the source terminal, and the source terminal determines whether the shared content is uploaded according to the ID of the shared content and the random verification code.
  • the destination terminal operates the shared content by using the destination terminal cloud server.
  • the source terminal cloud server receives the source terminal and sends a login request,
  • the login request carries the verification information of the login.
  • a method of content sharing is provided.
  • the source terminal sends a request for acquiring the address of the destination terminal cloud server to the destination terminal, and receives an address of the destination terminal cloud server returned by the destination terminal.
  • the source terminal sends a content sending command to the source terminal cloud server, where the content sending command carries an address of the destination terminal cloud server.
  • the source terminal cloud server sends a connection request to the destination terminal cloud server according to the address of the destination terminal cloud server. After the connection is established, the source terminal cloud server sends the shared content to the destination terminal cloud server.
  • the source terminal determines an ID of the shared content according to local storage information, and sends an ID of the shared content to the source terminal cloud server. .
  • the source terminal cloud server acquires a random verification code corresponding to the ID of the shared content according to the ID of the shared content sent by the source terminal, and returns a random verification code corresponding to the ID of the shared content to the Source terminal.
  • the source terminal checks whether it matches the random verification code locally saved by the source terminal according to the ID of the shared content and the received random verification code.
  • the terminal receives the connection result that the smart card returns an error code, and the connection fails, and the network connection is The official website of the smart card queries the information corresponding to the error code.
  • the determining, by the source terminal, whether the identifier of the shared content and the received random verification code are matched with the locally stored random verification code includes: if the random verification code is received And the step of transmitting, by the source terminal, a content sending command to the source terminal cloud server, if the random verification code locally saved by the source terminal is matched; if the received random verification code is randomly stored locally with the source terminal The verification code does not match, and the source terminal uploads the shared content to the source terminal cloud server.
  • the source terminal sends a content sharing request to the destination terminal, and receives a response that the destination terminal returns to accept the content sharing.
  • the destination terminal operates the shared content by using the destination terminal cloud server.
  • a terminal for providing content sharing includes an interaction unit and a matching unit.
  • the interaction unit sends a request for acquiring the address of the destination terminal cloud server to the destination terminal, and receives the destination terminal cloud server address sent by the destination terminal.
  • the interaction unit sends the ID of the shared content to the source terminal cloud server, and receives a random verification code corresponding to the ID of the shared content returned by the source terminal cloud server.
  • the matching unit determines whether the shared content has been uploaded to the source terminal cloud server according to the ID of the shared content and the received random verification code. When the matching unit determines that the shared content has been uploaded to the source terminal cloud server, instructing the interaction unit to send a content sending command to the source terminal cloud server.
  • the interaction unit is further configured to send a content sending command to the source terminal cloud server.
  • the content sending command carries an address of the destination terminal cloud server.
  • the address of the destination terminal cloud server is used to enable the source terminal cloud server to send the shared content to the destination terminal cloud server.
  • the terminal further includes a memory.
  • the memory is configured to save related information of the shared content, where the related information of the shared content includes an ID of the shared content, and a random verification code.
  • the matching unit is further configured to: search the locally stored random verification code to the memory according to the ID of the shared content, and perform the locally saved random verification code and the random verification code returned by the source terminal cloud server. Comparison. If the locally stored random verification code is consistent with the random verification code returned by the source terminal cloud server, it is determined that the shared content has been uploaded to the source terminal cloud server. If the locally stored random verification code is inconsistent with the random verification code returned by the source terminal cloud server, it is determined that the shared content is not uploaded to the source terminal cloud server.
  • the memory saves login information of a user logging in to the cloud server.
  • the interaction unit logs in to the cloud server according to the login information.
  • a server for content sharing includes an interface unit, a processing unit.
  • the interface unit receives a content sending command sent by the terminal, where the content sending command carries an address of the destination terminal cloud server.
  • the processing unit parses the interface unit to receive the address of the destination terminal cloud server by receiving the content sending command, and the interaction unit sends a connection establishment request to the destination terminal cloud server according to the address of the destination terminal cloud server.
  • the processing unit instructs the interaction unit to send the shared content to the destination terminal cloud server.
  • the interaction unit sends a connection establishment request to the destination terminal cloud server, establishes a connection with the destination terminal cloud server, and sends the shared content to the destination terminal cloud server.
  • the server further includes a query unit, a memory.
  • the memory is used to store related information of the shared content.
  • the related information of the shared content includes an ID of the shared content and a random verification code.
  • the interaction unit receives an ID of the shared content sent by the terminal.
  • the query unit obtains a random verification code from the memory query according to the received ID of the shared content.
  • the interaction unit sends the random verification code to the terminal.
  • the processing unit records a progress of the interaction unit transmitting the shared content to the destination terminal cloud server ,status information.
  • the interaction unit feeds back to the terminal the progress and status information of the shared content to the destination terminal cloud server.
  • a fifth aspect provides a system for content sharing, where the system includes a source terminal, a source terminal cloud server, a destination terminal, and a destination terminal cloud server.
  • the source terminal sends a request for acquiring the address of the destination terminal cloud server to the destination terminal.
  • the address of the destination terminal cloud server returned by the destination terminal to the source terminal.
  • the source terminal sends a content sending command to the source terminal cloud server, where the content sending command carries an address of the destination terminal cloud server.
  • the source terminal cloud server sends a connection request to the destination terminal cloud server according to the address of the destination terminal cloud server.
  • the destination terminal cloud server returns a response to the connection request to the source terminal cloud server. After the connection is established, the source terminal cloud server sends the shared content to the destination terminal cloud server.
  • the source terminal determines an ID of the shared content according to the local storage information, and sends the ID of the shared content to the source terminal cloud server.
  • the source terminal cloud server acquires a random verification code corresponding to the ID of the shared content according to the ID of the shared content sent by the source terminal, and feeds back the random verification code to the source terminal.
  • the source terminal determines, according to the ID of the shared content and the received random verification code, whether the shared content has been uploaded to the source terminal cloud server.
  • the source terminal acquires a random verification code locally saved by the source terminal according to the ID of the shared content. And verifying the random verification code stored locally by the source terminal and the received verification code. If the locally stored random verification code and source end If the random verification code returned by the end cloud server is consistent, it is determined that the shared content has been uploaded to the source terminal cloud server. If the locally stored random verification code is inconsistent with the random verification code returned by the source terminal cloud server, it is determined that the shared content is not uploaded to the source terminal cloud server.
  • the destination terminal is logged in to the destination terminal cloud server Operating the shared content.
  • the system also includes an RCS server, and the source terminal communicates with the destination terminal through the RCS server.
  • a terminal for content sharing includes an interaction interface, a processor, and the interaction interface and the processor are connected by a bus.
  • the interaction interface sends a request for obtaining the destination terminal cloud server address to the destination terminal, and receives the target terminal to send the destination terminal cloud server address.
  • the interaction interface sends the ID of the shared content to the source terminal cloud server, and receives a random verification code corresponding to the ID of the shared content returned by the source terminal cloud server.
  • the processor determines that the shared content has been uploaded to the source terminal cloud server according to the ID of the shared content and the received random verification code, instructing the interaction interface to send a content sending command to the source terminal cloud server.
  • the interaction interface sends a content transmission command to the source terminal cloud server, where the content transmission command carries an address of the destination terminal cloud server, and an address of the destination terminal cloud server is used to make the source terminal cloud server
  • the destination terminal cloud server sends the shared content.
  • the terminal further includes a memory.
  • the memory is used to store related information of the shared content, and the related information of the shared content includes an ID of the shared content and a random verification code.
  • the processor searches the memory for a locally stored random verification code according to the ID of the shared content, and compares the locally stored random verification code with the random verification code returned by the source terminal cloud server. If the locally stored random verification code is consistent with the random verification code returned by the source terminal cloud server, it is determined that the shared content has been uploaded to the source terminal cloud server. If the locally stored random verification code is inconsistent with the random verification code returned by the source terminal cloud server, it is determined that the shared content is not uploaded to the source terminal cloud server.
  • a server for content sharing includes an interactive interface, a processor, and the interactive interface and the processor are connected by a bus.
  • the interactive interface receives a content sending command sent by the terminal, where the content sending command carries an address of the destination terminal cloud server.
  • the processor parses the interaction interface to receive the address of the destination terminal cloud server by receiving the content sending command, and sends the connection establishment request to the destination terminal cloud server according to the address of the destination terminal cloud server.
  • the processor instructs the interaction interface to send the share to the destination terminal cloud server.
  • the interaction interface sends a connection establishment request to the destination terminal cloud server, establishes a connection with the destination terminal cloud server, and is further configured to send the shared content to the destination terminal cloud server.
  • the server further includes a memory.
  • the memory is used to store related information of the shared content, and the related information of the shared content includes an ID of the shared content and a random verification code.
  • the interaction interface receives an ID of the shared content sent by the terminal.
  • the processor obtains a random verification code from the memory query according to the received ID of the shared content.
  • the interaction unit sends the random verification code to the terminal.
  • the processor records a progress of the interaction interface transmitting the shared content to the destination terminal cloud server ,status information.
  • the interaction interface feeds back to the terminal the progress and status information of the shared content to the destination terminal cloud server.
  • the source terminal and the destination terminal can browse and operate the shared content only after logging in to the respective cloud servers and verifying that the respective login information is logged in to the respective cloud servers. .
  • the source terminal sends the shared content to the destination terminal
  • the source terminal only needs the source terminal cloud server to send the shared content to the destination terminal cloud server, and the source terminal cloud server does not need to be used between the source terminal cloud server and the destination terminal cloud server. Perform mutual verification.
  • the transmission speed and efficiency of the RCS content sharing are improved, and the security of content sharing is also improved.
  • FIG. 1 is a schematic structural diagram of a system for content sharing according to an embodiment of the present invention.
  • FIG. 2 is a signaling flowchart of a method for content sharing according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a content sharing method according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of a content sharing method according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of a content sharing method according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a terminal used for content sharing according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a server for content sharing according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a terminal for content sharing according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a server for content sharing according to an embodiment of the present invention.
  • FIG. 10 is a flowchart of a content sharing method according to an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of a system for content sharing according to an embodiment of the present invention.
  • the present invention shares between cloud servers. After the content is transmitted, the terminals respectively log in to the respective cloud servers, so that the shared content can be browsed and operated.
  • a content sharing system provided by an embodiment of the present invention includes a source terminal 10, a source terminal cloud server 20, an RCS server 30, a destination terminal 40, and a destination terminal.
  • Cloud server 50 The source terminal 10 can log in to the source terminal cloud server 20 for data interaction, and the destination terminal 40 can log in to the destination terminal cloud server 50 for data interaction, and the source terminal 10 passes the RCS server 30 to the The destination terminal 40 acquires the address of the destination terminal cloud server 50, and the source terminal 10 sends a content sharing request to the destination terminal 40 through the RCS server 30, and the destination terminal 40 accepts the content sharing request.
  • the source terminal 10 instructs the source terminal cloud server 20 to send the shared content to the destination terminal cloud server 50, and the destination terminal 40 can log in to the destination terminal cloud server 50 to operate the shared content, thereby implementing the
  • the shared content is shared from the source terminal cloud server 20 to the destination terminal cloud server 50, and the user can browse the shared content conveniently and quickly through the terminal.
  • the destination terminal can operate on shared content as: download, browse, or edit.
  • the destination terminal cloud server may synchronously download the shared content to the destination terminal.
  • the destination terminal cloud server 50 may send information about download progress, status, and the like of the shared content by the destination terminal 40 to the destination terminal 40.
  • the source terminal 10 can also send the address of the source terminal cloud server 20 to the destination terminal 40 through the RCS server 30, so that the destination terminal 40 can be conveniently and quickly shared.
  • the content is given to the source terminal 10.
  • the source terminal 10 may further determine the sharing according to the local save information.
  • the ID of the content is sent to the source terminal cloud server 20, and the source terminal cloud server 20 acquires a corresponding random verification code according to the ID of the shared content sent by the source terminal 10, And feeding back the random verification code to the source terminal 10.
  • the ID of the shared content may be a number of the shared content or the like.
  • the shared content can be a file.
  • the source terminal 10 determines whether the shared content has been uploaded to the source terminal cloud server according to the ID of the shared content and the random verification code.
  • the source terminal 10 searches for the locally stored random verification code according to the ID of the shared content, and compares the locally stored random verification code with the random verification code received by the source terminal cloud server 20. If the locally stored random verification code is consistent with the random verification code returned by the source terminal cloud server, the table The shared content is already stored in the source terminal cloud server 20. If the locally stored random verification code is inconsistent with the random verification code returned by the source terminal cloud server, it indicates that the shared content is not uploaded to the source terminal cloud server 20, and the source terminal 10 uploads the shared content to the Source terminal cloud server 20.
  • the source terminal server 20 feeds back to the source terminal 10 the information about the progress, status, and the like of the source terminal cloud server 20 transmitting the shared content to the destination terminal cloud server 50.
  • the content sharing system provided by the embodiment of the present invention implements content sharing through data interaction between the user's cloud servers.
  • the content sharing system provided by the embodiment of the present invention performs content sharing, and the user can log in to the cloud server to download, browse, or operate the shared content, thereby improving the transmission speed and efficiency of the RCS content sharing, and improving the content sharing. safety.
  • the terminals may not need to pass through the RCS server 30 during the interaction process, that is, the source terminal 10 and the destination terminal 40 may directly exchange information.
  • the content sharing system as shown in FIG. 11 can also implement content sharing without using the RCS server.
  • the source terminal 10, the source terminal cloud server 20, the destination terminal 40, and the destination terminal cloud server 50 in the content sharing system in FIG. 11 can mutually exchange information, exchange data, implement content sharing, and the terminal and the respective
  • the direct interaction of data between cloud servers improves the efficiency of content sharing and improves the security of content sharing.
  • a method for signaling a content sharing method is applied to a content including a source terminal, a source terminal cloud server, an RCS server, a destination terminal, and a destination terminal cloud server.
  • a content including a source terminal, a source terminal cloud server, an RCS server, a destination terminal, and a destination terminal cloud server.
  • the signaling interaction process between the terminal and the server is shown in the signaling flowchart shown in FIG. 2. The signaling interaction process will be described in detail below.
  • Step 201 The source terminal accesses the source terminal cloud server, and sends the verification information of the source terminal to the source terminal cloud server to request access to the source terminal cloud server.
  • the source terminal may encrypt the verification information such as the account password input by the user through the SDK module in the source terminal, and send the encrypted verification information to the source terminal cloud server for login verification. .
  • Step 202 After the source terminal cloud server verifies the verification information, if the verification succeeds, the login succeeds. If the verification fails, the login fails, and the source terminal cloud server feeds back the login result of the source terminal. The source terminal.
  • Step 203 The source terminal sends a request for acquiring the address of the destination terminal cloud server to the RCS server.
  • the request for obtaining the destination terminal cloud server address sent by the source terminal may carry the address of the source terminal cloud server, and send the address of the source terminal cloud server to the RCS server. .
  • Step 204 The RCS server sends a request for acquiring the address of the destination terminal cloud server to the destination terminal.
  • the RCS server when the RCS server receives the address of the source terminal cloud server in the request for obtaining the destination terminal cloud server address, the RCS server records the address. And carrying the address of the source terminal cloud server in the request for sending the destination terminal cloud server address to the destination terminal.
  • step 205-206 the destination terminal sends the destination terminal cloud server address to the source terminal through the RCS server.
  • Step 207 The source terminal sends a content sharing request to the RCS server.
  • the user may send a content sharing request to the RCS server by using the source terminal, where the content sharing request may include information such as a file name, a type, a size, a thumbnail, and the like.
  • the source terminal may send a content sharing request to the RCS server by using a SendFileRequest message, and the RCS server may perform legality and security monitoring on the shared content, and may also monitor whether the timeout is waited.
  • Step 208 The RCS server sends the content sharing request to the destination terminal.
  • Step 209 The destination terminal feeds back to the RCS server whether to accept the response of the content sharing request.
  • the user may select to accept or reject the content sharing request by using the destination terminal, and the destination terminal feeds back a response of accepting or rejecting to the RCS server according to the selection result of the user.
  • Step 210 The RCS server returns, to the source terminal, a response that is received by the destination terminal to accept the content sharing request.
  • Step 211 The source terminal sends an ID of the shared content to the source terminal cloud server.
  • the source terminal determines the ID of the shared content according to the local storage information, and sends the ID of the shared content to the source terminal cloud server.
  • the ID of the shared content may be a number of the shared content or the like.
  • the shared content can be a file.
  • Step 212 The source terminal cloud server obtains a corresponding random verification code according to the ID of the shared content sent by the source terminal, and feeds back the ID of the shared content and the random verification code to the source terminal. .
  • the source terminal determines whether the shared content has been uploaded to the source terminal cloud server according to the ID of the shared content and the random verification code. Searching the locally saved random verification code according to the ID of the shared content, and comparing the locally saved random verification code with the random verification code received by the source terminal cloud server; if the locally stored random verification code and the source terminal are If the random verification code returned by the cloud server is consistent, it indicates that the shared content is already stored in the source terminal cloud server. If the locally stored random verification code is inconsistent with the random verification code returned by the source terminal cloud server, it indicates that the shared content is not uploaded to the source terminal cloud server, and the source terminal uploads the shared content to the source terminal. Cloud Server. And when the source terminal determines that the shared content is already stored in the source terminal cloud server, sending a content sending command to the source terminal cloud server.
  • the source terminal may add a setting of the login cloud server in the sub-menu “Account” in the local “Settings” menu.
  • the user is prompted to select “When the WIFI is turned on, Automatically upload content to the cloud server, you can upload the shared content to the cloud server storage in advance.
  • the source terminal can maintain the information of the locally saved shared content through Table 1.
  • the number may indicate the number or ID of the shared content.
  • the number can be automatically generated when the shared content is uploaded to the source terminal cloud server.
  • the random verification code is used as a verification code for verifying whether the source terminal cloud server and the source terminal local shared content have a one-to-one correspondence.
  • the random verification code may be randomly generated by the remote terminal when the shared content is uploaded to the source terminal cloud server.
  • the random verification code can be composed of numbers and/or pinyin.
  • the file path is used to indicate that the source terminal saves the absolute path of the shared content. In the same terminal, the file path is unique.
  • the sharing tag is used to mark whether the shared content has been uploaded to the source terminal cloud server. If it has been uploaded, it can be identified as yes, if it is not uploaded, it can be identified as no.
  • the source terminal cloud server can maintain the information of the locally stored shared content through Table 2.
  • the number is carried when the source terminal uploads the shared content to the source terminal cloud server.
  • the random verification code is carried when the source terminal uploads the shared content to the source terminal cloud server.
  • the file path is used to indicate that the shared content is stored in the path of the source terminal cloud server.
  • the correspondence between the shared content of the verification source terminal and the content stored in the source terminal cloud server can be determined in combination with Table 1 and Table 2.
  • the source terminal obtains the number of the shared content as 001 according to the file path query table 1 of the shared content.
  • the source terminal sends the found number 001 of the shared content to the source terminal cloud server.
  • the source terminal cloud server obtains a pair according to the received number 001 lookup table 2 of the shared content.
  • the random verification code should be Aaa123.
  • the source terminal cloud server returns the number 001 and the random verification code Aaa123 searched according to the number to the source terminal.
  • the source terminal obtains the random verification code Aaa123 according to the received number 001 lookup table 1.
  • the source terminal compares the queried random verification code with the received random verification code, and if the verification code is consistent, it may be determined that the shared content has been uploaded to the source terminal cloud server. It can be seen from Table 1 and Table 2 that if the random verification code of the number 001 matches, it is determined that the shared content numbered 001 has been uploaded to the source terminal cloud server. The source terminal may identify the shared mark corresponding to the shared content numbered 001 in Table 1 as "Yes”. If the random verification code of the number 002 does not match, it is determined that the shared content numbered 002 is not uploaded to the source terminal cloud server. The source terminal may identify the shared mark corresponding to the shared content numbered 002 in Table 1 as "No".
  • Step 213 When the source terminal determines that the shared content is already stored in the source terminal cloud server, the source terminal sends a content sending command to the source terminal cloud server.
  • the content sending command is used to instruct the source terminal cloud server to send the shared content to the destination terminal cloud server.
  • the address sending command may carry the address of the destination terminal cloud server.
  • Step 214 The source terminal cloud server sends a connection request to the destination terminal cloud server, so that the source terminal cloud server and the destination terminal cloud server can perform content transmission.
  • the transmission manner of the shared content may be determined by a connection situation between the cloud server of the source terminal and the destination terminal cloud server. If the connection between the cloud server of the source terminal and the destination terminal cloud server is successful, the shared content may be directly sent from the source terminal cloud server to the destination terminal cloud server. If the connection between the source terminal cloud server and the destination terminal cloud server fails, the shared content may be transmitted through the RCS server.
  • Step 215 The destination terminal cloud server returns a response to the connection request to the source terminal cloud server.
  • the response includes a feedback result for the connection request.
  • the feedback result may be to accept the connection request and establish a connection.
  • the feedback result may also be that the connection request is not accepted, and the process is terminated.
  • Step 216 The source terminal cloud server sends the feedback result to the source terminal.
  • Step 217 The source terminal sends a content transmission command to the source terminal cloud server.
  • Step 218 The source terminal cloud server sends the shared content to the destination terminal cloud server.
  • the source terminal cloud server sends the shared content to the destination terminal cloud server.
  • the communication between the source terminal cloud server and the destination terminal cloud server can be implemented by a specific protocol agreed upon.
  • the communication between the source terminal cloud server and the destination terminal cloud server may be through a Simple Mail Transfer Protocol (SMTP) protocol.
  • SMTP Simple Mail Transfer Protocol
  • Step 219 The source terminal server feeds back information about the progress, status, and the like of the source terminal cloud server to the shared content to the source terminal.
  • Step 220 The destination terminal logs in to the destination terminal cloud server to operate the shared content.
  • the destination terminal can operate on shared content as: download, browse, or edit.
  • the destination terminal cloud server may synchronously download the shared content to the destination terminal.
  • the destination terminal performs operations related to login verification or security verification and the like on the destination terminal cloud server during initialization, and does not need to repeat operations when downloading or browsing the shared content, thereby improving the speed and security of the content contribution. .
  • Step 221 The destination terminal cloud server sends operation information of the shared content to the destination terminal.
  • the operation information may include information such as download progress, status, and the like of the shared content. That is, the destination terminal cloud server may send information about the download progress, status, and the like of the shared content to the destination terminal.
  • the content sharing can be conveniently and quickly performed.
  • the server can be The photo, video or other file is sent to the cloud server of another user, and another user can download from the cloud server through the terminal to realize content sharing between users.
  • the time for content sharing can be greatly reduced, and the user experience is improved.
  • the source terminal and the destination terminal can browse and operate the shared content only after logging in to the respective cloud servers and verifying that the respective login information is logged in to the respective cloud servers.
  • the source terminal sends the shared content to the destination terminal
  • the source terminal only needs the source terminal cloud server to send the shared content to the destination terminal cloud server, and the source terminal cloud server does not need to be used between the source terminal cloud server and the destination terminal cloud server. Perform mutual verification.
  • the transmission speed and efficiency of the RCS content sharing are improved, and the security of content sharing is also improved.
  • the embodiment of the present invention further provides a method for content sharing.
  • the method of content sharing can be applied to a server.
  • the server can be a cloud server of the source terminal.
  • the source terminal can log in to the cloud server.
  • the method flow of the content sharing will be described in detail below.
  • Step 301 Receive a content sending command sent by the source terminal.
  • the content sending command carries an address of the destination terminal cloud server.
  • the content sending command is used to instruct to send the shared content to the destination terminal cloud server.
  • Step 302 Send a connection request to the destination terminal cloud server according to the address of the destination terminal cloud server.
  • the connection request is used to request to establish a connection with the destination terminal cloud server.
  • Step 303 After the connection is established, send the shared content to the destination terminal cloud server.
  • the method may further include:
  • Step 304 The destination terminal operates the shared content by using the destination terminal cloud server.
  • the operation of the shared terminal by the destination terminal may be: downloading, browsing, or editing.
  • Step 304 may further include the step of: the destination terminal cloud server sending the operation information of the shared content to the Describe the terminal.
  • the operation information includes information such as download progress, status, and the like.
  • the method may further include:
  • Step 300 The source terminal determines, according to the ID of the shared content and the random verification code, whether the shared content has been uploaded to the source terminal cloud server.
  • the source terminal searches for a locally stored random verification code according to the ID of the shared content, and compares the locally stored random verification code with the random verification code received by the source terminal cloud server; if the locally stored random verification code The code is consistent with the random verification code returned by the source terminal cloud server, indicating that the shared content is already stored in the source terminal cloud server. If the locally stored random verification code is inconsistent with the random verification code returned by the source terminal cloud server, it indicates that the shared content is not uploaded to the source terminal cloud server, and the source terminal uploads the shared content to the source terminal. Cloud Server.
  • the source terminal may further include: determining, by the source terminal, the ID of the shared content according to the local storage information, The ID of the shared content is sent to the source terminal cloud server; the source terminal cloud server acquires a corresponding random verification code according to the ID of the shared content sent by the source terminal, and the ID of the shared content is The random verification code is fed back to the source terminal.
  • the method may further include: the source terminal sending a request for acquiring the address of the destination terminal cloud server to the RCS server, where the destination terminal passes the destination terminal cloud server address
  • the RCS server sends the source terminal to the source terminal.
  • the source terminal may directly interact with the destination terminal, or may interact with the destination terminal through the RCS server.
  • the RCS server may be used to implement information interaction between the source terminal and the destination terminal.
  • the method may further include: the source terminal server feeding back information about the progress, status, and the like of the source terminal cloud server to the destination terminal cloud server for transmitting the shared content to the source terminal.
  • the source terminal and the destination terminal respectively log in to the respective cloud servers, and after verifying that the respective login information is logged in to the respective cloud servers, Share content for browsing and manipulation.
  • the transmission speed and efficiency of the RCS content sharing are improved, and the security of content sharing is also improved.
  • the embodiment of the present invention further provides a method for content sharing.
  • the method of content sharing can be applied to a terminal.
  • the content sharing method is used in a terminal that shares content with other users or terminals.
  • the terminal mentioned in the present invention may be, but not limited to, a mobile terminal, a fixed terminal, a mobile phone, a PAD, or the like.
  • the method flow of the content sharing will be described in detail below.
  • Step 501 Obtain a destination terminal cloud server address.
  • the terminal may send a request for acquiring the address of the destination terminal cloud server to the destination terminal by using the RCS server, and the destination terminal sends the destination terminal cloud server address to the source terminal by using the RCS server.
  • Step 502 Determine the shared content upload source terminal cloud server according to the shared content ID.
  • Step 503 Send a command to the content sent by the source terminal cloud server.
  • the content sending command carries an address of the destination terminal cloud server.
  • the content sending command is used to instruct to send the shared content to the destination terminal cloud server, so that the destination terminal operates the shared content through the destination terminal cloud server.
  • the destination terminal can operate on shared content as: download, browse, or edit.
  • the step 503 may further include the following steps: the source terminal server feeds back information about the progress, status, and the like of the source terminal cloud server to the destination terminal cloud server for transmitting the shared content to the source terminal.
  • the step 502 includes: the source terminal determining the ID of the shared content according to the local storage information, and sending the ID of the shared content to the source terminal cloud server; the source terminal cloud server Obtaining a corresponding random verification code according to the ID of the shared content sent by the source terminal, and feeding back the ID of the shared content and the random verification code to the source terminal.
  • the source terminal determines whether the shared content has been uploaded to the source terminal cloud server according to the ID of the shared content and the random verification code.
  • the source terminal searches for a locally stored random verification code according to the ID of the shared content, and compares the locally stored random verification code with the random verification code received by the source terminal cloud server; if the locally stored random verification code The code is consistent with the random verification code returned by the source terminal cloud server, indicating that the shared content is already stored in the source terminal cloud server. If the locally stored random verification code is inconsistent with the random verification code returned by the source terminal cloud server, it indicates that the shared content is not uploaded to the source terminal cloud server, and the source terminal uploads the shared content to the source terminal. Cloud Server.
  • the determining whether the shared content is uploaded by the terminal according to the ID of the shared content may refer to the determining process in combination with Table 1 and Table 2 in the foregoing embodiment.
  • the ID of the shared content may be the number of the shared content, or an identifier or the like.
  • the source terminal and the destination terminal respectively log in to the respective cloud servers to verify their respective After logging in to the respective cloud servers, you can browse and manipulate the shared content.
  • the content sharing method provided by the embodiment of the invention improves the transmission speed and efficiency of the RCS content sharing, and improves the convenience, speed and security of the content sharing.
  • the embodiment of the present invention further provides a terminal for content sharing.
  • the terminal includes an interaction unit 601 and a matching unit 602.
  • the interaction unit 601 is configured to interact with a source terminal server and also to interact with an RCS server.
  • the interaction unit 601 can be used to access a source terminal cloud server, and serve the source terminal cloud
  • the device sends the verification information of the source terminal to request access to the source terminal cloud server.
  • the interaction unit 601 is further configured to send a request for acquiring the destination terminal cloud server address to the destination terminal, and receive the destination terminal cloud server address sent by the destination terminal.
  • the interaction unit 601 is further configured to send a content sharing request to the destination terminal, and receive a response of the destination terminal to accept the content sharing request.
  • the interaction unit 601 is further configured to send the ID of the shared content to the source terminal cloud server, and receive an ID of the shared content returned by the source terminal cloud server and the random verification code.
  • the interaction between the interaction unit 601 and the destination terminal can be implemented by an RCS server.
  • the matching unit 602 is configured to determine, according to the ID of the shared content returned by the source terminal cloud server and the random verification code, whether the shared content has been uploaded to the source terminal cloud server.
  • the terminal also includes a memory 603.
  • the memory 603 is configured to store related information of the shared content.
  • the related information of the shared content is as described in Table 1.
  • the matching unit 602 searches the memory 603 for a locally stored random verification code according to the ID of the shared content, and locally stores the random verification code and receives the source.
  • the random verification code returned by the terminal cloud server is compared. If the locally stored random verification code is consistent with the random verification code returned by the source terminal cloud server, it is determined that the shared content has been uploaded to the source terminal cloud server. If the locally stored random verification code is inconsistent with the random verification code returned by the source terminal cloud server, it is determined that the shared content is not uploaded to the source terminal cloud server.
  • the interaction unit 601 sends a content transmission command to the source terminal cloud server.
  • the content sending command is used to instruct the source terminal cloud server to send the shared content to the destination terminal cloud server.
  • the address sending command may carry the address of the destination terminal cloud server.
  • the interaction unit 601 is further configured to receive information about the progress, status, and the like of the transmission shared content that is fed back by the source terminal cloud server.
  • the memory 603 is further configured to save login information of the user logging in to the cloud server, where the interaction unit 601 is configured to log in to the cloud server according to the login information.
  • the interaction unit 601 in the embodiment of the present invention may be an SDK module.
  • the SDK module can implement interaction between the terminal and other terminals or servers.
  • the terminal determines whether the shared content is uploaded to the cloud server, and after the shared content is transmitted between the cloud servers, the source terminal and the destination terminal respectively log in to the respective cloud servers to verify the respective logins. After the information is logged in to the respective cloud server, the shared content can be browsed and operated.
  • the content sharing method provided by the embodiment of the invention improves the transmission speed and efficiency of the RCS content sharing, and improves the convenience, speed and security of the content sharing.
  • the embodiment of the present invention further provides a server for content sharing, as shown in the structure of the server shown in FIG. 7.
  • the server includes an interface unit 701, a processing unit 702, a query unit 703, and a memory 704.
  • the interface unit 701 is configured to interact with the terminal, and is also used to interact with the server.
  • the interface unit 701 receives a content transmission command sent by the terminal.
  • the content sending command carries an address of the destination terminal cloud server.
  • the content sending command is used to instruct to send the shared content to the destination terminal cloud server.
  • the processing unit 702 parses the content sending command according to the content sending command received by the interface unit 701, and obtains an address of the destination terminal cloud server, and the interaction unit 701 instructs the interaction unit 701 according to the address of the destination terminal cloud server.
  • the destination terminal cloud server sends a connection establishment request.
  • the interaction unit 701 sends a connection establishment request to the destination terminal cloud server to establish a connection with the destination terminal cloud server.
  • the processing unit 702 instructs the interaction unit 701 to send the shared content to the destination terminal cloud server.
  • the memory 704 is configured to store related information of the shared content.
  • the related information of the shared content includes but is not limited to: the number of the shared content, the random verification code, and the file path.
  • the number of the shared content and the random verification code may be sent by the receiving unit 701 to the receiving terminal.
  • the file path is a specific path for saving shared content.
  • the interaction unit 701 receives an ID of the shared content sent by the terminal.
  • the query unit 703 queries the memory 704 for the random verification code according to the received ID of the shared content.
  • the interaction unit 701 sends the ID of the shared content and the random verification code to the terminal.
  • the terminal may determine whether the shared content has been uploaded to the server according to the ID of the shared content and the random verification code.
  • the processing unit 702 is further configured to record, by the interaction unit 701, information about the progress, status, and the like of the shared content to the destination terminal cloud server.
  • the interaction unit 701 is further configured to feed back information about the progress, status, and the like of the shared content to the destination terminal cloud server.
  • the server interacts with the terminal and other cloud servers through the interaction unit, and after the shared content is transmitted between the cloud servers, the source terminal and the destination terminal respectively log in to the respective cloud servers to verify the respective After logging in to the respective cloud server, the shared content can be browsed and operated.
  • the transmission speed and efficiency of the RCS content sharing are improved, and the security of content sharing is also improved.
  • the embodiment of the present invention further provides a terminal for content sharing.
  • the terminal includes an interaction interface 801, a processor 802, and a memory 803.
  • the interaction interface 801, the processor 802 and the memory 803 are connected by a bus 804.
  • the interaction interface 801 is configured to interact with a source terminal server and also to interact with an RCS server.
  • the interaction interface 801 can be used to access the source terminal cloud server, and send the verification information of the source terminal to the source terminal cloud server to request access to the source terminal cloud server.
  • the interaction interface 801 is further configured to send a request for acquiring the destination terminal cloud server address to the destination terminal, and receive the destination terminal to send the destination terminal cloud server address.
  • the interaction interface 801 is further configured to send a content sharing request to the destination terminal, and receive a response of the destination terminal to return whether to accept the content sharing request.
  • the interaction interface 801 is further configured to send the ID of the shared content to the And the source terminal cloud server receives the ID of the shared content returned by the source terminal cloud server and the random verification code.
  • the interaction interface 801 may further send a request for obtaining the destination terminal cloud server address to the RCS server, and receive the destination terminal cloud server address that is sent by the destination terminal by using the RCS server.
  • the processor 802 is configured to determine, according to the ID of the shared content returned by the source terminal cloud server, and the random verification code, whether the shared content has been uploaded to the source terminal cloud server.
  • the memory 803 is configured to store related information of the shared content.
  • the related information of the shared content is as described in Table 1.
  • the processor 802 searches the memory 803 for a locally stored random verification code according to the ID of the shared content, and locally stores the random verification code and receives the source.
  • the random verification code returned by the terminal cloud server is compared. If the locally stored random verification code is consistent with the random verification code returned by the source terminal cloud server, it is determined that the shared content has been uploaded to the source terminal cloud server. If the locally stored random verification code is inconsistent with the random verification code returned by the source terminal cloud server, it is determined that the shared content is not uploaded to the source terminal cloud server.
  • the interaction interface 801 is instructed to send a content transmission command to the source terminal cloud server.
  • the content sending command is used to instruct the source terminal cloud server to send the shared content to the destination terminal cloud server.
  • the address sending command may carry the address of the destination terminal cloud server.
  • the interaction interface 801 is further configured to receive information about the progress, status, and the like of the transmission shared content fed back by the source terminal cloud server.
  • the interaction interface 801 in the embodiment of the present invention may be an SDK module.
  • the SDK module can implement interaction between the terminal and other terminals or servers.
  • the terminal determines whether the shared content is uploaded to the cloud server, and after the shared content is transmitted between the cloud servers, the source terminal and the destination terminal respectively log in to the respective cloud servers to verify the respective logins. After the information is logged in to the respective cloud server, the shared content can be browsed and operated.
  • the content sharing method provided by the embodiment of the invention improves the transmission speed and efficiency of the RCS content sharing, and improves the convenience, speed and security of the content sharing.
  • the embodiment of the present invention further provides a server for content sharing, as shown in the schematic diagram of the server structure shown in FIG.
  • the server includes an interactive interface 901, a processor 902, and a memory 903.
  • the interaction interface 901, the processor 902 and the memory 903 are connected by a bus 904.
  • the interaction interface 901 is configured to interact with the terminal and also to interact with the server.
  • the interaction interface 901 receives a content transmission command sent by the terminal.
  • the content sending command carries an address of the destination terminal cloud server.
  • the content sending command is used to instruct to send the shared content to the destination terminal cloud server.
  • the processor 902 parses the content sending command according to the content sending command received by the interaction interface 901, and acquires the destination terminal cloud service.
  • the interaction interface 901 sends a connection establishment request to the destination terminal cloud server.
  • the interaction interface 901 sends a connection establishment request to the destination terminal cloud server to establish a connection with the destination terminal cloud server.
  • the processor 902 instructs the interaction interface 901 to send the shared content to the destination terminal cloud server.
  • the memory 903 is configured to store related information of the shared content.
  • the related information of the shared content includes but is not limited to: the number of the shared content, the random verification code, and the file path.
  • the number of the shared content and the random verification code may be sent by the receiving interface 901 to the receiving terminal.
  • the file path is a specific path for saving shared content.
  • the interaction interface 901 receives the ID of the shared content sent by the terminal.
  • the processor 902 queries the memory 903 for obtaining a random verification code according to the received ID of the shared content.
  • the interaction interface 901 sends the ID of the shared content and the random verification code to the terminal.
  • the terminal may determine whether the shared content has been uploaded to the server according to the ID of the shared content and the random verification code.
  • the processor 902 is further configured to record, by the interaction interface 901, information about the progress, status, and the like of the shared content to the destination terminal cloud server.
  • the interaction interface 901 is further configured to feed back information about the progress, status, and the like of the shared content to the destination terminal cloud server.
  • the server interacts with the terminal and other cloud servers through the interactive interface.
  • the source terminal and the destination terminal respectively log in to the respective cloud servers to verify the respective After logging in to the respective cloud server, the shared content can be browsed and operated.
  • the transmission speed and efficiency of the RCS content sharing are improved, and the security of content sharing is also improved.
  • the embodiment of the present invention further provides a method for content sharing.
  • the method is applied to a system including a source terminal, a source terminal cloud server, a destination terminal, and a destination terminal cloud server.
  • the content sharing method includes the steps of:
  • Step 1001 The source terminal sends a request for acquiring the address of the destination terminal cloud server to the destination terminal, and receives an address of the destination terminal cloud server returned by the destination terminal.
  • Step 1002 The source terminal sends a content sending command to the source terminal cloud server, where the content sending command carries an address of the destination terminal cloud server.
  • Step 1003 The source terminal cloud server sends a connection request to the destination terminal cloud server according to the address of the destination terminal cloud server.
  • Step 1004 After the connection is established, the source terminal cloud server sends the shared content to the destination terminal cloud server.
  • the method before the step 1002, further includes the step of: determining, by the source terminal, the ID of the shared content according to the local storage information, and sending the ID of the shared content to the source terminal cloud server; Terminal cloud The server acquires a corresponding random verification code according to the ID of the shared content sent by the source terminal, and feeds back the ID of the shared content and the random verification code to the source terminal; the source terminal according to the shared content The ID and the random verification code verify whether the corresponding shared content exists locally in the source terminal.
  • the determining, by the source terminal, whether the shared content has been uploaded to the source terminal cloud server according to the ID of the shared content and the random verification code specifically includes: if the source terminal has a corresponding shared content locally, indicating that the source terminal If the shared content has been uploaded to the source terminal cloud server, the step of sending the content sending command to the source terminal cloud server by the source terminal is performed; if the source terminal does not have corresponding shared content locally, indicating that the The shared content is not uploaded to the source terminal cloud server, and the source terminal uploads the shared content to the source terminal cloud server.
  • the method before the step 1002, the method further includes the step of: the source terminal sending a content sharing request to the destination terminal, and receiving a response of the destination terminal to accept content sharing.
  • the destination terminal further includes operating the shared content by using the destination terminal cloud server.
  • the source terminal may perform information interaction with the destination terminal through an RCS server.
  • the source terminal and the destination terminal respectively log in to the respective cloud servers, and after verifying that the respective login information is logged in to the respective cloud servers, the sharing may be performed.
  • Content for browsing and manipulation Through the embodiment of the invention, the transmission speed and efficiency of the RCS content sharing are improved, and the security of content sharing is also improved.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions can also be stored in a particular computer capable of booting a computer or other programmable data processing device In a computer readable memory that operates in a computer readable memory, causing instructions stored in the computer readable memory to produce an article of manufacture comprising instruction means implemented in a block or in a flow or a flow diagram and/or block diagram of the flowchart The functions specified in the boxes.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Abstract

本发明一种提供内容共享的方法和系统。源终端云服务器接收源终端发送的内容发送命令,所述内容发送命令携带目的终端云服务器的地址。源终端云服务器根据所述目的终端云服务器的地址向所述目的终端云服务器发送连接请求,所述连接请求用于请求与所述目的终端云服务器建立连接。连接建立后,源终端云服务器向所述目的终端云服务器发送共享内容。通过云服务器之间进行共享内容的传输后,所述终端分别登陆各自的云服务器,便可以对共享内容进行浏览和操作。

Description

内容共享的方法、终端、服务器和系统 技术领域
本发明涉及通信技术领域,尤其涉及一种内容共享的方法、终端、服务器和系统。
背景技术
目前手机的功能越来越强大,手机拍照功能也越来越强大,但是手机的存储空间是有限,各手机生产厂家大部分都提供了云服务器或者网盘提供给用户存储照片、通讯录等数据。
通信即服务CaaS(Communication as a Service)软件开发工具包SDK(Software Development Kit)是一个应用软件开发平台,将网络通话VoIP、即时消息、文件共享、图片共享、音视频会议等电信能力通过应用程序编程接口API(Application Programming Interface)接口对外开放,该方案是基于会话发起SIP(Session Initiation Protocol)协议开发。目前的图片共享解决方案中,在源终端用户选择本地文件后,源终端会调用SDK提供的API接口发送文件。可以通过两种方式发送,一种方式是在融合通信套件RCS(Rich Communcation Suite)服务器配置成存储转发模式下,本地文件会首先发送到RCS服务器,即现网中即运营商的RCS服务器,待RCS服务器接收完成后,然后由RCS服务器给接收方;另一种方式是在RCS服务器配置成在点对点模式下,待目的终端收到内容分享请求并选择接收后,无需等待文件完全发送到RCS服务器,就可经过RCS服务器将文件发送给接收方。
在上述的技术方案中,当RCS服务器配置成存储转发模式,共享的内容需要等待发送给服务器完成后,服务器才会通知用户接收,这样会导致从发送方发送到接收方接收,需要的时间过长,影响用户体验。当RCS服务器配置成点对点模式,文件不需要等待发送方完全发送共享内容,服务器便会通知接收方接收,相对于存储转发模式,时间会减小,但这个过程依赖与双方的网络环境,任何一方的网络速度较慢都会影响到分享过程总的传输时间
发明内容
鉴于上述提出的现有技术存在的技术问题,本发明实施例提供了一种内容共享的方法、终端、服务器和系统,本发明实施例通过云服务器之间进行共享内容的传输后,所述终端分别登陆各自的云服务器,便可以对共享内容进行浏览和操作。
第一方面,提供一种内容共享的方法。源终端云服务器接收源终端发送的内容发送命令,所述内容发送命令携带目的终端云服务器的地址。源终端云服务器根据所述目的终端云服务器的地址向所述目的终端云服务器发送连接请求,所述连接请求用于请求与所述目的终端云服务器建立连接。连接建立后,源终端云服务器向所述目的终端云服务器发送共享内容。
结合第一方面,在第一种可能的实现方式中,在源终端云服务器接收源终端发送的内容发送命令步骤之前,所述源终端向目的终端获取所述目的终端云服务器地址。
结合第一方面的第一种可能的实现方式中,在源终端云服务器接收源终端发送的内容发送命令步骤之前,源终端云服务器接收所述源终端发送的共享内容的ID,根据所述共享内容的ID获取对应的随机验证码,向所述源终端返回所述共享内容的ID对应的随机验证码,所述源终端根据共享内容的ID和随机验证码确定所述共享内容是否上传。
结合第一方面或第一方面的第一种可能的实现方式,在第二种可能的实现方式中,目的终端通过所述目的终端云服务器操作所述共享内容。
结合第一方面、第一方面的第一种可能的实现方式、第一方面的第二种可能的实现方式,在第三种可能的实现方式中,源终端云服务器接收源终端发送登录请求,所述登录请求中携带登录的校验信息。
第二方面,提供一种内容共享的方法。源终端向目的终端发送获取所述目的终端云服务器地址的请求,接收所述目的终端返回的所述目的终端云服务器的地址。所述源终端向所述源终端云服务器发送内容发送命令,所述内容发送命令携带所述目的终端云服务器的地址。所述源终端云服务器根据所述目的终端云服务器的地址向所述目的终端云服务器的发送连接请求。连接建立后,所述源终端云服务器向所述目的终端云服务器发送共享内容。
结合第二方面,在第二方面的第一种可能的实现方式中,所述源终端根据本地保存信息确定所述共享内容的ID,将所述共享内容的ID发送给所述源终端云服务器。所述源终端云服务器根据所述源终端发送的所述共享内容的ID,获取所述共享内容的ID对应的随机验证码,并将所述共享内容的ID对应的随机验证码返回给所述源终端。所述源终端根据共享内容的ID和接收的所述随机验证码校验是否与所述源终端本地保存的随机验证码匹配。
结合第二方面或第二方面的第一种可能的实现方式,在第二种可能的实现方式中,所述终端收到所述智能卡返回包括错误码的连接结果为连接失败,通过网络连接所述智能卡的官网,查询所述错误码对应的信息。
结合第二方面、第二方面的第一种可能的实现方式、第二方面的第二种可能的实现方 式,在第三种可能的实现方式中,所述源终端根据共享内容的ID和接收的所述随机验证码验证是否与本地保存的随机验证码匹配具体包括:如果接收的所述随机验证码与所述源终端本地保存的随机验证码匹配,则执行所述源终端向所述源终端云服务器发送内容发送命令的步骤;如果接收的所述随机验证码与所述源终端本地保存的随机验证码不匹配,所述源终端将所述共享内容上传到所述源终端云服务器。
结合第二方面、第二方面的第一种可能的实现方式、第二方面的第二种可能的实现方式,第二方面的第三种可能的实现方式,在第四种可能的实现方式中,所述源终端向所述目的终端发送内容共享请求,并接收所述目的终端返回的接受内容共享的响应。
结合第二方面、第二方面的第一种可能的实现方式、第二方面的第二种可能的实现方式,第二方面的第三种可能的实现方式,第二方面的第四种可能的实现方式,在第五种可能的实现方式中,目的终端通过所述目的终端云服务器操作所述共享内容。
第三方面,提供一种提供内容共享的终端。该终端包括交互单元,匹配单元。其中,所述交互单元向目的终端发送获取所述目的终端云服务器地址的请求,并接收所述目的终端发送的所述目的终端云服务器地址。所述交互单元将共享内容的ID发送给所述源终端云服务器,并接收所述源终端云服务器返回的所述共享内容的ID对应的随机验证码。所述匹配单元根据所述共享内容的ID和接收的所述随机验证码确定所述共享内容是否已经上传源终端云服务器。当所述匹配单元确定所述共享内容已经上传到源终端云服务器,指令所述交互单元向所述源终端云服务器发送内容发送命令。所述交互单元还用于向所述源终端云服务器发送内容发送命令。所述内容发送命令携带所述目的终端云服务器的地址。所述目的终端云服务器的地址用于使得所述源终端云服务器向所述目的终端云服务器发送共享内容。
结合第三方面,在第一种可能的实现方式中,该终端还包括存储器。所述存储器用于保存共享内容的相关信息,所述共享内容的相关信息包括所述共享内容的ID、随机验证码。所述匹配单元具体还用于根据所述共享内容的ID向所述存储器查找本地保存的随机验证码,将本地保存的随机验证码和接收所述源终端云服务器返回的所述随机验证码进行比较。如果本地保存的随机验证码与源终端云服务器返回的随机验证码一致,则确定所述共享内容已经上传源终端云服务器。如果本地保存的随机验证码与源终端云服务器返回的随机验证码不一致,则确定所述共享内容没有上传到源终端云服务器。
结合第三方面或第三方面的第一种可能的实现方式,在第二种可能的实现方式中,所述存储器保存用户登录云服务器的登录信息。所述交互单元根据所述登录信息登录云服务器。
第四方面,提供一种内容共享的服务器。该服务器包括接口单元,处理单元。其中,所述接口单元接收终端发送的内容发送命令,所述内容发送命令携带目的终端云服务器的地址。所述处理单元解析所述接口单元接收所述内容发送命令获取目的终端云服务器的地址,根据所述目的终端云服务器的地址指令所述交互单元向所述目的终端云服务器发送建立连接请求。在所述交互单元建立与所述目的终端云服务器之间的连接后,所述处理单元指令所述交互单元向所述目的终端云服务器发送共享内容。所述交互单元向所述目的终端云服务器发送建立连接请求,建立与所述目的终端云服务器之间的连接,向所述目的终端云服务器发送共享内容。
结合第四方面,在第一种可能的实现方式中,所述服务器还包括查询单元,存储器。其中,所述存储器用于存储共享内容的相关信息。所述共享内容的相关信息包括共享内容的ID、随机验证码。所述交互单元接收终端发送的共享内容的ID。所述查询单元根据接收的共享内容的ID向存储器查询获取随机验证码。所述交互单元将所述随机验证码发送给终端。
结合第四方面或第四方面的第一种可能的实现方式,在第二种可能的实现方式中,所述处理单元记录所述交互单元向所述目的终端云服务器传输所述共享内容的进度、状态信息。所述交互单元向终端反馈向所述目的终端云服务器传输共享内容的进度、状态信息。
第五方面,提供一种内容共享的系统,该系统包括源终端,源终端云服务器,目的终端,目的终端云服务器。其中,所述源终端向所述目的终端发送获取所述目的终端云服务器地址的请求。所述目的终端向所述源终端返回的所述目的终端云服务器的地址。所述源终端向所述源终端云服务器发送内容发送命令,所述内容发送命令携带所述目的终端云服务器的地址。所述源终端云服务器根据所述目的终端云服务器的地址向所述目的终端云服务器的发送连接请求。所述目的终端云服务器向所述源终端云服务器返回对所述连接请求的响应。连接建立后,所述源终端云服务器向所述目的终端云服务器发送共享内容。
结合第五方面,在第一种可能的实现方式中,所述源终端根据本地保存信息确定所述共享内容的ID,将所述共享内容的ID发送给所述源终端云服务器。所述源终端云服务器根据所述源终端发送的所述共享内容的ID,获取所述共享内容的ID对应的随机验证码,并将所述随机验证码反馈给所述源终端。所述源终端根据所述共享内容的ID和接收的所述随机验证码确定所述共享内容是否已经上传源终端云服务器。
结合第五方面或第五方面的第一种可能的实现方式,在第二种可能的实现方式中,所述源终端根据所述共享内容的ID获取所述源终端本地保存的随机验证码,将所述源终端本地保存的随机验证码与接收的所述验证码进行校验。如果本地保存的随机验证码与源终 端云服务器返回的随机验证码一致,则确定所述共享内容已经上传源终端云服务器。如果本地保存的随机验证码与源终端云服务器返回的随机验证码不一致,则确定所述共享内容没有上传到源终端云服务器。
结合第五方面,第五方面的第一种可能的实现方式,第五方面的第二种可能的实现方式,在第三种可能的实现方式中,所述目的终端登录所述目的终端云服务器操作所述共享内容。
结合第五方面,第五方面的第一种可能的实现方式,第五方面的第二种可能的实现方式,第五方面的第三种可能的实现方式,在第四种可能的实现方式中,该系统还包括RCS服务器,所述源终端通过所述RCS服务器与所述目的终端通信。
第六方面,提供一种内容共享的终端。所述终端包括交互接口,处理器,所述交互接口和处理器通过总线相连。其中,所述交互接口向目的终端发送获取所述目的终端云服务器地址的请求,并接收所述目的终端发送所述目的终端云服务器地址。所述交互接口将共享内容的ID发送给所述源终端云服务器,并接收所述源终端云服务器返回的所述共享内容的ID对应的随机验证码。当所述处理器根据所述共享内容的ID和接收的所述随机验证码确定所述共享内容已经上传到源终端云服务器,指令所述交互接口向所述源终端云服务器发送内容发送命令。所述交互接口向所述源终端云服务器发送内容发送命令,所述内容发送命令携带所述目的终端云服务器的地址,所述目的终端云服务器的地址用于使得所述源终端云服务器向所述目的终端云服务器发送共享内容。
结合第六方面,在第一种可能的实现方式中,所述终端还包括存储器。其中,所述存储器用于保存共享内容的相关信息,所述共享内容的相关信息包括所述共享内容的ID、随机验证码。所述处理器根据所述共享内容的ID向所述存储器查找本地保存的随机验证码,将本地保存的随机验证码和接收所述源终端云服务器返回的所述随机验证码进行比较。如果本地保存的随机验证码与源终端云服务器返回的随机验证码一致,则确定所述共享内容已经上传源终端云服务器。如果本地保存的随机验证码与源终端云服务器返回的随机验证码不一致,则确定所述共享内容没有上传到源终端云服务器。
第七方面,提供一种内容共享的服务器。该服务器包括交互接口,处理器,所述交互接口和处理器通过总线相连。其中,所述交互接口接收终端发送的内容发送命令,所述内容发送命令携带目的终端云服务器的地址。所述处理器解析所述交互接口接收所述内容发送命令获取目的终端云服务器的地址,根据所述目的终端云服务器的地址指令所述交互接口向所述目的终端云服务器发送建立连接请求。在所述交互接口建立与所述目的终端云服务器之间的连接后,所述处理器指令所述交互接口向所述目的终端云服务器发送共享内 容。所述交互接口向所述目的终端云服务器发送建立连接请求,建立与所述目的终端云服务器之间的连接,还用于向所述目的终端云服务器发送共享内容。
结合第七方面,在第一种可能的实现方式中,所述服务器还包括存储器。其中,所述存储器用于存储共享内容的相关信息,所述共享内容的相关信息包括共享内容的ID、随机验证码。所述交互接口接收终端发送的共享内容的ID。所述处理器根据接收的共享内容的ID向存储器查询获取随机验证码。所述交互单元将所述随机验证码发送给终端。
结合第七方面或第七方面的第一种可能的实现方式,在第二种可能的实现方式中,所述处理器记录所述交互接口向所述目的终端云服务器传输所述共享内容的进度、状态信息。所述交互接口向终端反馈向所述目的终端云服务器传输共享内容的进度、状态信息。
通过本发明实施例提供的上述方案,所述源终端和所述目的终端只需在分别登陆各自的云服务器,验证各自的登录信息登录各自的云服务器后,便可以对共享内容进行浏览和操作。所述源终端向所述目的终端发送共享内容时,只需要所述源终端指令所述源终端云服务器向所述目的终端云服务器发送共享内容,源终端云服务器与目的终端云服务器之间无需进行相互验证。通过本发明实施例,提高了RCS内容共享的传输速度、效率,还提高了内容共享的安全性。
附图说明
图1为本发明实施例一种内容共享的系统结构示意图;
图2为本发明实施例一种内容共享的方法信令流程图;
图3为本发明实施例一种内容共享方法流程图;
图4为本发明实施例一种内容共享方法流程图;
图5为本发明实施例一种内容共享方法流程图;
图6为本发明实施例一种用于内容共享的终端结构示意图;
图7为本发明实施例一种用于内容共享的服务器结构示意图;
图8为本发明实施例一种用于内容共享的终端结构示意图;
图9为本发明实施例一种用于内容共享的服务器结构示意图;
图10为本发明实施例一种内容共享方法流程图;
图11为本发明实施例的一种内容共享的系统结构示意图。
具体实施方式
为了解决目前在共享内容过程中存在的技术问题,本发明通过云服务器之间进行共享 内容的传输后,所述终端分别登陆各自的云服务器,便可以对共享内容进行浏览和操作。
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
参阅图1所示,本发明实施例提供的一种内容共享的系统,该实施例中所述内容共享系统包括源终端10,源终端云服务器20,RCS服务器30,目的终端40,以及目的终端云服务器50。所述源终端10可以登录所述源终端云服务器20进行数据交互,所述目的终端40可以登录所述目的终端云服务器50进行数据交互,所述源终端10通过所述RCS服务器30向所述目的终端40获取所述目的终端云服务器50的地址,所述源终端10通过所述RCS服务器30向所述目的终端40发送内容共享请求,所述目的终端40接受所述内容共享请求,则所述源终端10指令所述源终端云服务器20将共享内容发送给所述目的终端云服务器50,所述目的终端40可以登录所述目的终端云服务器50操作所述共享内容,从而实现将所述共享内容从所述源终端云服务器20共享到所述目的终端云服务器50,用户可以通过终端方便快捷地浏览共享内容。目的终端对共享内容的操作可是为:下载、浏览、或者编辑。所述目的终端云服务器接收到共享内容后,可以将所述共享内容同步下载到所述目的终端。在本发明实施例中,所述目的终端云服务器50可以将所述目的终端40下载所述共享内容的下载进度、状态等信息发送给所述目的终端40。
在本发明实施例中,所述源终端10还可以通过所述RCS服务器30将所述源终端云服务器20的地址发送给所述目的终端40,从而实现所述目的终端40可以方便快捷地共享内容给所述源终端10。
在本发明实施例中,在所述源终端10指令所述源终端云服务器20将共享内容发送给所述目的终端云服务器50之前,所述源终端10还可以根据本地保存信息确定所述共享内容的ID,将所述共享内容的ID发送给所述源终端云服务器20,所述源终端云服务器20根据所述源终端10发送的所述共享内容的ID,获取对应的随机验证码,并将所述随机验证码反馈给所述源终端10。所述共享内容的ID可以是所述共享内容的编号等。所述共享内容可以是文件。
在本发明实施例中,所述源终端10根据所述共享内容的ID和随机验证码确定所述共享内容是否已经上传源终端云服务器。所述源终端10根据所述共享内容的ID查找本地保存的随机验证码,将本地保存的随机验证码和接收所述源终端云服务器20返回的所述随机验证码进行比较。如果本地保存的随机验证码与源终端云服务器返回的随机验证码一致,则表 明所述共享内容已经存储在所述源终端云服务器20。如果本地保存的随机验证码与源终端云服务器返回的随机验证码不一致,则表明所述共享内容未上传到所述源终端云服务器20,所述源终端10将所述共享内容上传到所述源终端云服务器20。所述源终端服务器20将所述源终端云服务器20向所述目的终端云服务器50传输共享内容的进度、状态等信息反馈给源终端10。
本发明实施例提供的内容共享的系统,通过用户的云服务器之间的数据交互实现内容共享。采用本发明实施例提供的内容共享系统进行内容共享,用户登录自己的云服务器就可以对共享内容进行下载、浏览、或者操作,提高了RCS内容共享的传输速度、效率,还提高了内容共享的安全性。
在本发明另一实施例提供的内容共享系统中,各个终端之间在交互过程中可以不需要通过RCS服务器30,也就是说所述源终端10和所述目的终端40可以直接交互信息。如图11所示的内容共享系统不通过RCS服务器也可以实现内容共享。如图11中的内容共享系统中的源终端10,源终端云服务器20,目的终端40,以及目的终端云服务器50之间可以互相进行信息交互,交换数据,实现内容共享,而且终端和各自的云服务器之间直接交互数据,提高了内容共享的效率,也提高了内容共享的安全性。
如图2所示,本发明实施例提供的一种内容共享的方法信令流程图,该实施例应用在包括源终端,源终端云服务器,RCS服务器,目的终端,以及目的终端云服务器的内容共享系统中,如图2所示的信令流程图中示出了终端和服务器之间的信令交互过程。下面将该信令交互过程进行详细说明。
步骤201,源终端接入源终端云服务器,向所述源终端云服务器发送源终端的校验信息以请求接入源终端云服务器。
在本发明实施例中,所述源终端可以通过源终端内的SDK模块对用户输入的账号密码等校验信息进行加密,并将加密的校验信息发送给所述源终端云服务器进行登录验证。
步骤202,所述源终端云服务器对所述校验信息进行验证后,如果验证成功则登录成功,如果验证失败,则登录失败,所述源终端云服务器将所述源终端的登录结果反馈给所述源终端。
步骤203,所述源终端向所述RCS服务器发送获取所述目的终端云服务器地址的请求。
在本发明实施例中,所述源终端发送的获取所述目的终端云服务器地址的请求中可以携带所述源终端云服务器的地址,将所述源终端云服务器的地址发送给所述RCS服务器。
步骤204,所述RCS服务器向所述目的终端发送获取所述目的终端云服务器地址的请求。
在本发明实施例中,当所述RCS服务器收到所述源终端发送的获取所述目的终端云服务器地址的请求中携带所述源终端云服务器的地址时,所述RCS服务器记录该地址,并在向所述目的终端发送获取所述目的终端云服务器地址的请求中携带所述源终端云服务器的地址。
步骤205-步骤206,所述目的终端将所述目的终端云服务器地址通过所述RCS服务器发送给所述源终端。
步骤207,所述源终端向所述RCS服务器发送内容共享请求。
在本发明实施例中,用户可以通过源终端向所述RCS服务器发送内容共享请求,所述内容共享请求中可以包括文件名称、类型、大小、缩略图等信息。所述源终端可以通过SendFileRequest消息向所述RCS服务器发送内容共享请求,所述RCS服务器会对待共享内容进行合法性、安全性的监控,还可以监控是否超时等。
步骤208,所述RCS服务器将所述内容共享请求给所述目的终端。
步骤209,所述目的终端向所述RCS服务器反馈是否接受所述内容共享请求的响应。
在本发明实施例中,用户可以通过所述目的终端选择接受或者拒绝所述内容共享请求,所述目的终端根据用户的选择结果向所述RCS服务器反馈接受或者拒绝的响应。
步骤210,所述RCS服务器向所述源终端返回所述目的终端反馈的是否接受所述内容共享请求的响应。
步骤211,所述源终端将共享内容的ID发送给所述源终端云服务器。
在本发明实施例中,所述源终端根据本地保存信息确定所述共享内容的ID,将所述共享内容的ID发送给所述源终端云服务器。所述共享内容的ID可以是所述共享内容的编号等。所述共享内容可以是文件。
步骤212,所述源终端云服务器根据所述源终端发送的所述共享内容的ID,获取对应的随机验证码,并将所述共享内容的ID和所述随机验证码反馈给所述源终端。
在本发明实施例中,所述源终端根据共享内容的ID和随机验证码确定所述共享内容是否已经上传源终端云服务器。根据所述共享内容的ID查找本地保存的随机验证码,将本地保存的随机验证码和接收所述源终端云服务器返回的所述随机验证码进行比较;如果本地保存的随机验证码与源终端云服务器返回的随机验证码一致,则表明所述共享内容已经存储在所述源终端云服务器。如果本地保存的随机验证码与源终端云服务器返回的随机验证码不一致,则表明所述共享内容未上传到所述源终端云服务器,所述源终端将所述共享内容上传到所述源终端云服务器。当所述源终端确定所述共享内容已经存储在所述源终端云服务器,则向所述源终端云服务器发送内容发送命令。
在本发明实施例中,源终端可以在本地的“设置”菜单中的子菜单“账号”中增加登录云服务器的设置,当用户登陆了云服务器时,提示用户选择“在WIFI打开的时候,自动上传内容到云服务器”,可提前将需要共享内容上传到云服务器存储。
在本发明中,所述源终端可以通过表1维护本地保存的共享内容的信息。
编号 随机验证码 文件路径 共享标记
001 Aaa123 /……/
002 Bbb123 /……/
……      
表1
在表1中,编号可以表示共享内容的编号或者ID。编号可当所述共享内容上传到源终端云服务器时自动生成。随机验证码用来为校验源终端云服务器与源终端本地的共享内容是否存在一一对应关系的验证码。随机验证码可以在所述共享内容上传到源终端云服务器时由远终端随机生成。随机验证码可以由数字和/或拼音组成。文件路径用来表示源终端保存所述共享内容的绝对路径。在同一终端中,文件路径是唯一的。共享标记用来标记所述共享内容是否已上传到源终端云服务器。如果已经上传,可以标识为是,如果没有上传可以标识为否。
在本发明中,源终端云服务器可以通过表2维护本地保存的共享内容的信息。
编号 随机验证码 文件路径
001 Aaa123 /……/
002 Abc123 /……/
……    
表2
在表2中,编号为所述源终端上传所述共享内容至所述源终端云服务器时携带的。随机验证码为所述源终端上传所述共享内容至所述源终端云服务器时携带的。文件路径用来表示所述共享内容存储在所述源终端云服务器的路径。
本发明中,校验源终端的共享内容与源终端云服务器中保存的内容的对应关系可以结合表1和表2进行判断。例如,在内容共享时,源终端根据所述共享内容的文件路径查询表1得到所述共享内容的编号为001。源终端将所查找到的所述共享内容的编号001发送到源终端云服务器。所述源终端云服务器根据接收到的所述共享内容的编号001查找表2得到对 应的随机验证码为Aaa123。所述源终端云服务器向源终端返回所述编号001和根据所述编号查找的随机验证码Aaa123。源终端根据接收到的所述编号001查询表1得到随机验证码Aaa123。源终端将查询到的随机验证码与接收到的随机验证码进行比较,验证码一致则可以确定所述共享内容已经上传到源终端云服务器。从表1和表2中可以看出,编号001的随机验证码匹配,则认定编号为001的共享内容已经上传到所述源终端云服务器。源终端可以将表1中编号为001的共享内容对应的共享标记标识为“是”。编号002的随机验证码不匹配,则认定编号为002的共享内容没有上传到所述源终端云服务器。源终端可以将表1中编号为002的共享内容对应的共享标记标识为“否”。
步骤213,当所述源终端确定所述共享内容已经存储在所述源终端云服务器,所述源终端向所述源终端云服务器发送内容发送命令。所述内容发送命令用于指令所述源终端云服务器向所述目的终端云服务器发送所述共享内容。所述内容发送命令中可以携带所述目的终端云服务器的地址。
步骤214,所述源终端云服务器向所述目的终端云服务器的发送连接请求,以实现所述源终端云服务器与所述目的终端云服务器能进行内容传输。
在本发明实施例中,可以通过所述源终端的云服务器和所述目的终端云服务器的连接情况来确定所述共享内容的传输方式。如果所述源终端的云服务器和所述目的终端云服务器的连接成功,则所述共享内容可以直接从源终端云服务器发送到所述目的终端云服务器。如果源终端云服务器和目的终端云服务器的连接失败,则可以通过RCS服务器传输所述共享内容。
步骤215,所述目的终端云服务器向所述源终端云服务器返回对所述连接请求的响应。
所述响应包括对所述连接请求的反馈结果。反馈结果可以是接受所述连接请求,建立连接。反馈结果也可以是不接受所述连接请求,则流程终止。
步骤216,所述源终端云服务器将所述反馈结果发送给所述源终端。
步骤217,所述源终端发送内容传输命令给所述源终端云服务器。
步骤218,所述源终端云服务器将所述共享内容发送到所述目的终端云服务器。
所述源终端云服务器将共享内容发送给所述目的终端云服务器。所述源终端云服务器与所述目的终端云服务器之间的通信可以通过约定的特定协议来实现。例如,所述源终端云服务器与所述目的终端云服务器之间的通信可以通过SMTP(Simple Mail Transfer Protocol)简单邮件传输协议。
步骤219,所述源终端服务器将所述源终端云服务器传输共享内容的进度、状态等信息反馈给源终端。
步骤220,所述目的终端登录所述目的终端云服务器操作所述共享内容。
目的终端对共享内容的操作可是为:下载、浏览、或者编辑。所述目的终端云服务器接收到共享内容后,可以将所述共享内容同步下载到所述目的终端。
所述目的终端在初始化时与所述目的终端云服务器进行登录校验或者安全校验等相关的操作,下载或者浏览共享内容时可以不需要再重复操作,提升了内容贡献给的速度和安全性。
步骤221,所述目的终端云服务器将所述共享内容的操作信息发送给所述目的终端。
所述操作信息可以包括对所述共享内容的下载进度、状态等信息。即所述目的终端云服务器可以将所述共享内容的下载进度、状态等信息发送给所述目的终端。
通过本发明实施例,通过用户的云服务器之间进行数据交互,可以方便快捷地进行内容共享,对于存储在云服务器上的照片、视频或者其他文件,根据用户的共享指令,可以将服务器上的照片、视频或者其他文件发送给另一用户的云服务器,另一用户可以通过终端从云服务器上下载,实现用户之间的内容共享。通过本发明的实施例,可以大大减少了内容共享的时间,提升用户体验。
所述源终端和所述目的终端只需在分别登陆各自的云服务器,验证各自的登录信息登录各自的云服务器后,便可以对共享内容进行浏览和操作。所述源终端向所述目的终端发送共享内容时,只需要所述源终端指令所述源终端云服务器向所述目的终端云服务器发送共享内容,源终端云服务器与目的终端云服务器之间无需进行相互验证。通过本发明实施例,提高了RCS内容共享的传输速度、效率,还提高了内容共享的安全性。
本发明实施例还提供一种内容共享的方法,参见图3所示的内容共享方法流程图。该内容共享的方法可以应用在服务器中。该服务器可以为源终端的云服务器。源终端可以登录该云服务器。下面将对该内容共享的方法流程进行详细说明。
步骤301,接收源终端发送的内容发送命令。所述内容发送命令携带目的终端云服务器的地址。所述内容发送命令用于指令将共享内容发送给目的终端云服务器。
步骤302,根据所述目的终端云服务器的地址向所述目的终端云服务器发送连接请求。所述连接请求用于请求与所述目的终端云服务器建立连接。
步骤303,连接建立后,向所述目的终端云服务器发送共享内容。
在本发明实施例中,参见图4,在步骤303之后,还可以包括:
步骤304,所述目的终端通过所述目的终端云服务器操作所述共享内容。
在本发明实施例中,目的终端对共享内容的操作可是为:下载、浏览、或者编辑。步骤304之后还可以包括步骤:所述目的终端云服务器将所述共享内容的操作信息发送给所 述目的终端。所述操作信息包括下载进度、状态等信息。
在本发明实施例中,参见图4,在步骤301之前,还可以包括:
步骤300,所述源终端根据共享内容的ID和随机验证码确定所述共享内容是否已经上传源终端云服务器。
所述源终端根据所述共享内容的ID查找本地保存的随机验证码,将本地保存的随机验证码和接收所述源终端云服务器返回的所述随机验证码进行比较;如果本地保存的随机验证码与源终端云服务器返回的随机验证码一致,则表明所述共享内容已经存储在所述源终端云服务器。如果本地保存的随机验证码与源终端云服务器返回的随机验证码不一致,则表明所述共享内容未上传到所述源终端云服务器,所述源终端将所述共享内容上传到所述源终端云服务器。
在步骤所述源终端根据共享内容的ID和随机验证码确定所述共享内容是否已经上传源终端云服务器之前还可以包括:所述源终端根据本地保存信息确定所述共享内容的ID,将所述共享内容的ID发送给所述源终端云服务器;所述源终端云服务器根据所述源终端发送的所述共享内容的ID,获取对应的随机验证码,并将所述共享内容的ID和所述随机验证码反馈给所述源终端。
在本发明实施例中,在步骤301之前,还可以包括步骤:所述源终端向RCS服务器发送获取所述目的终端云服务器地址的请求,所述目的终端将所述目的终端云服务器地址通过所述RCS服务器发送给所述源终端。在本发明实施例中,源终端可以直接和目的终端进行交互,也可以通过RCS服务器和目的终端进行交互。
在本发明实施例中,RCS服务器可以用于实现源终端和目的终端之间的信息交互。
在本发明实施例中,在步骤303之后,还可以包括步骤:所述源终端服务器将所述源终端云服务器向所述目的终端云服务器传输共享内容的进度、状态等信息反馈给源终端。
通过本发明上述实施例,通过云服务器之间进行共享内容的传输后,所述源终端和所述目的终端分别登陆各自的云服务器,验证各自的登录信息登录各自的云服务器后,便可以对共享内容进行浏览和操作。通过本发明实施例,提高了RCS内容共享的传输速度、效率,还提高了内容共享的安全性。
本发明实施例还提供一种内容共享的方法,参见图5所示的内容共享方法流程图。该内容共享的方法可以应用在终端中。该内容共享方法用于向其他用户或者终端共享内容的终端中。本发明中提到的终端可以为但不限于移动终端,固定终端,手机,PAD等。下面将对该内容共享的方法流程进行详细说明。
步骤501,获取目的终端云服务器地址。
本发明实施例中,终端可以通过RCS服务器向目的终端发送获取所述目的终端云服务器地址的请求,目的终端将所述目的终端云服务器地址通过所述RCS服务器发送给所述源终端。
步骤502,根据共享内容ID确定所述共享内容上传源终端云服务器。
步骤503,向源终端云服务器发送的内容发送命令。所述内容发送命令携带目的终端云服务器的地址。所述内容发送命令用于指令将共享内容发送给目的终端云服务器,使得目的终端通过所述目的终端云服务器对所述共享内容进行操作。目的终端对共享内容的操作可是为:下载、浏览、或者编辑。
在本发明实施例中,步骤503之后还可以包括步骤:所述源终端服务器将所述源终端云服务器向所述目的终端云服务器传输共享内容的进度、状态等信息反馈给源终端
在本发明实施例中,步骤502具体包括:所述源终端根据本地保存信息确定所述共享内容的ID,将所述共享内容的ID发送给所述源终端云服务器;所述源终端云服务器根据所述源终端发送的所述共享内容的ID,获取对应的随机验证码,并将所述共享内容的ID和所述随机验证码反馈给所述源终端。所述源终端根据共享内容的ID和随机验证码确定所述共享内容是否已经上传源终端云服务器。所述源终端根据所述共享内容的ID查找本地保存的随机验证码,将本地保存的随机验证码和接收所述源终端云服务器返回的所述随机验证码进行比较;如果本地保存的随机验证码与源终端云服务器返回的随机验证码一致,则表明所述共享内容已经存储在所述源终端云服务器。如果本地保存的随机验证码与源终端云服务器返回的随机验证码不一致,则表明所述共享内容未上传到所述源终端云服务器,所述源终端将所述共享内容上传到所述源终端云服务器。
在本发明实施例中,终端根据共享内容的ID确定所述共享内容是否上传源终端云服务器具体可以参考上述实施例中结合表1和表2的判断过程。共享内容的ID可以是共享内容的编号,或者identifier等。
通过本发明上述实施例,通过终端判断共享内容是否上传到云服务器,并且根据云服务器之间进行共享内容的传输后,所述源终端和所述目的终端分别登陆各自的云服务器,验证各自的登录信息登录各自的云服务器后,便可以对共享内容进行浏览和操作。通过本发明实施例提供的内容共享方法,提高了RCS内容共享的传输速度、效率,还提高了内容共享的方便性、快捷性、安全性。
本发明实施例还提供一种用于内容共享的终端,参见图6所示的终端结构示意图。该终端包括交互单元601,匹配单元602。所述交互单元601用于与源终端服务器交互,还用于与RCS服务器交互。所述交互单元601可以用于接入源终端云服务器,向所述源终端云服务 器发送源终端的校验信息以请求接入源终端云服务器。所述交互单元601还用于向目的终端发送获取所述目的终端云服务器地址的请求,并接收所述目的终端发送的所述目的终端云服务器地址。所述交互单元601还用于向所述目的终端发送内容共享请求,并接收所述目的终端是否接受所述内容共享请求的响应。所述交互单元601还用于所述共享内容的ID发送给所述源终端云服务器,并接收所述源终端云服务器返回的所述共享内容的ID和所述随机验证码。所述交互单元601与所述目的终端的交互可以通过RCS服务器实现。
所述匹配单元602用于根据所述源终端云服务器返回的所述共享内容的ID和所述随机验证码确定所述共享内容是否已经上传源终端云服务器。
所述终端还包括存储器603。所述存储器603用于存储共享内容的相关信息。共享内容的相关信息如表1所述的信息。
在本发明实施例,参考表1和表2,所述匹配单元602根据所述共享内容的ID向所述存储器603查找本地保存的随机验证码,将本地保存的随机验证码和接收所述源终端云服务器返回的所述随机验证码进行比较。如果本地保存的随机验证码与源终端云服务器返回的随机验证码一致,则确定所述共享内容已经上传源终端云服务器。如果本地保存的随机验证码与源终端云服务器返回的随机验证码不一致,则确定所述共享内容没有上传到源终端云服务器。
当所述匹配单元602确定所述共享内容已经上传到源终端云服务器,所述交互单元601向所述源终端云服务器发送内容发送命令。所述内容发送命令用于指令所述源终端云服务器向所述目的终端云服务器发送所述共享内容。所述内容发送命令中可以携带所述目的终端云服务器的地址。所述交互单元601还用于接收所述源终端云服务器反馈的传输共享内容的进度、状态等信息。
所述存储器603还用于保存用户登录云服务器的登录信息,所述交互单元601用于根据所述登录信息登录云服务器。
本发明实施例中的交互单元601可以为SDK模块。SDK模块可以实现终端与其他终端或服务器的交互。
通过本发明实施例提供的终端判断共享内容是否上传到云服务器,并且根据云服务器之间进行共享内容的传输后,所述源终端和所述目的终端分别登陆各自的云服务器,验证各自的登录信息登录各自的云服务器后,便可以对共享内容进行浏览和操作。通过本发明实施例提供的内容共享方法,提高了RCS内容共享的传输速度、效率,还提高了内容共享的方便性、快捷性、安全性。
本发明实施例还提供一种用于内容共享的服务器,参见图7所示的服务器结构示意图。 该服务器包括接口单元701,处理单元702,查询单元703,存储器704。所述接口单元701用于与终端交互,还用于与服务器交互。所述接口单元701接收终端发送的内容发送命令。所述内容发送命令携带目的终端云服务器的地址。所述内容发送命令用于指令将共享内容发送给目的终端云服务器。所述处理单元702根据所述接口单元701接收的内容发送命令,解析所述内容发送命令,获取目的终端云服务器的地址,根据所述目的终端云服务器的地址指令所述交互单元701向所述目的终端云服务器发送建立连接请求。所述交互单元701向所述目的终端云服务器发送建立连接请求,建立与所述目的终端云服务器之间的连接。所述处理单元702在所述交互单元701建立与所述目的终端云服务器之间的连接后,指令所述交互单元701向所述目的终端云服务器发送共享内容。
本发明实施例中,所述存储器704用于存储共享内容的相关信息。共享内容的相关信息包括但不限于:共享内容的编号,随机验证码,文件路径。所述共享内容的编号和随机验证码可以是交互单元701接收终端发送的。所述文件路径为保存共享内容的具体路径。
所述交互单元701接收终端发送的共享内容的ID。所述查询单元703根据接收的共享内容的ID向存储器704查询获取随机验证码。所述交互单元701将所述共享内容的ID和所述随机验证码发送给终端。所述终端可以根据所述共享内容的ID和所述随机验证码确定所述共享内容是否已经上传到服务器。
本发明实施例中,所述处理单元702还用于记录所述交互单元701向所述目的终端云服务器传输共享内容的进度、状态等信息。所述交互单元701还用于向终端反馈向所述目的终端云服务器传输共享内容的进度、状态等信息。
通过本发明上述实施例,服务器通过交互单元与终端和其他云服务器进行交互,通过云服务器之间进行共享内容的传输后,所述源终端和所述目的终端分别登陆各自的云服务器,验证各自的登录信息登录各自的云服务器后,便可以对共享内容进行浏览和操作。通过本发明实施例,提高了RCS内容共享的传输速度、效率,还提高了内容共享的安全性。
本发明实施例还提供一种用于内容共享的终端,参见图8所示的终端结构示意图。该终端包括,交互接口801,处理器802,存储器803。所述交互接口801,处理器802和存储器803通过总线804相连。所述交互接口801用于与源终端服务器交互,还用于与RCS服务器交互。所述交互接口801可以用于接入源终端云服务器,向所述源终端云服务器发送源终端的校验信息以请求接入源终端云服务器。所述交互接口801还用于向目的终端发送获取所述目的终端云服务器地址的请求,并接收所述目的终端发送所述目的终端云服务器地址。所述交互接口801还用于向所述目的终端发送内容共享请求,并接收所述目的终端返回是否接受所述内容共享请求的响应。所述交互接口801还用于所述共享内容的ID发送给所述 源终端云服务器,并接收所述源终端云服务器返回的所述共享内容的ID和所述随机验证码。
所述交互接口801还可以通过向所述RCS服务器发送获取所述目的终端云服务器地址的请求,并接收所述目的终端通过所述RCS服务器发送的所述目的终端云服务器地址。
所述处理器802用于根据所述源终端云服务器返回的所述共享内容的ID和所述随机验证码确定所述共享内容是否已经上传源终端云服务器。
所述存储器803用于存储共享内容的相关信息。共享内容的相关信息如表1所述的信息。
在本发明实施例,参考表1和表2,所述处理器802根据所述共享内容的ID向所述存储器803查找本地保存的随机验证码,将本地保存的随机验证码和接收所述源终端云服务器返回的所述随机验证码进行比较。如果本地保存的随机验证码与源终端云服务器返回的随机验证码一致,则确定所述共享内容已经上传源终端云服务器。如果本地保存的随机验证码与源终端云服务器返回的随机验证码不一致,则确定所述共享内容没有上传到源终端云服务器。
当所述处理器802确定所述共享内容已经上传到源终端云服务器,指令所述交互接口801向所述源终端云服务器发送内容发送命令。所述内容发送命令用于指令所述源终端云服务器向所述目的终端云服务器发送所述共享内容。所述内容发送命令中可以携带所述目的终端云服务器的地址。所述交互接口801还用于接收所述源终端云服务器反馈的传输共享内容的进度、状态等信息。
本发明实施例中的交互接口801可以为SDK模块。SDK模块可以实现终端与其他终端或服务器的交互。
通过本发明实施例提供的终端判断共享内容是否上传到云服务器,并且根据云服务器之间进行共享内容的传输后,所述源终端和所述目的终端分别登陆各自的云服务器,验证各自的登录信息登录各自的云服务器后,便可以对共享内容进行浏览和操作。通过本发明实施例提供的内容共享方法,提高了RCS内容共享的传输速度、效率,还提高了内容共享的方便性、快捷性、安全性。
本发明实施例还提供一种用于内容共享的服务器,参见图9所示的服务器结构示意图。该服务器包括交互接口901,处理器902,存储器903。所述交互接口901,处理器902和存储器903通过总线904相连。所述交互接口901用于与终端交互,还用于与服务器交互。所述交互接口901接收终端发送的内容发送命令。所述内容发送命令携带目的终端云服务器的地址。所述内容发送命令用于指令将共享内容发送给目的终端云服务器。所述处理器902根据所述交互接口901接收的内容发送命令,解析所述内容发送命令,获取目的终端云服 务器的地址,根据所述目的终端云服务器的地址指令所述交互接口901向所述目的终端云服务器发送建立连接请求。所述交互接口901向所述目的终端云服务器发送建立连接请求,建立与所述目的终端云服务器之间的连接。所述处理器902在所述交互接口901建立与所述目的终端云服务器之间的连接后,指令所述交互接口901向所述目的终端云服务器发送共享内容。
本发明实施例中,所述存储器903用于存储共享内容的相关信息。共享内容的相关信息包括但不限于:共享内容的编号,随机验证码,文件路径。所述共享内容的编号和随机验证码可以是交互接口901接收终端发送的。所述文件路径为保存共享内容的具体路径。
所述交互接口901接收终端发送的共享内容的ID。所述处理器902根据接收的共享内容的ID向存储器903查询获取随机验证码。所述交互接口901将所述共享内容的ID和所述随机验证码发送给终端。所述终端可以根据所述共享内容的ID和所述随机验证码确定所述共享内容是否已经上传到服务器。
本发明实施例中,所述处理器902还用于记录所述交互接口901向所述目的终端云服务器传输共享内容的进度、状态等信息。所述交互接口901还用于向终端反馈向所述目的终端云服务器传输共享内容的进度、状态等信息。
通过本发明上述实施例,服务器通过交互接口与终端和其他云服务器进行交互,通过云服务器之间进行共享内容的传输后,所述源终端和所述目的终端分别登陆各自的云服务器,验证各自的登录信息登录各自的云服务器后,便可以对共享内容进行浏览和操作。通过本发明实施例,提高了RCS内容共享的传输速度、效率,还提高了内容共享的安全性。
本发明实施例还提供一种内容共享的方法,参见图10所示的内容共享方法流程图。该方法应用在包括源终端,源终端云服务器,目的终端,目的终端云服务器的系统中。该内容共享方法包括步骤:
步骤1001,源终端向目的终端发送获取所述目的终端云服务器地址的请求,接收所述目的终端返回的所述目的终端云服务器的地址。
步骤1002,所述源终端向所述源终端云服务器发送内容发送命令,所述内容发送命令携带所述目的终端云服务器的地址。
步骤1003,所述源终端云服务器根据所述目的终端云服务器的地址向所述目的终端云服务器的发送连接请求。
步骤1004,连接建立后,所述源终端云服务器向所述目的终端云服务器发送共享内容。
在本发明实施例中,在步骤1002之前还包括步骤:所述源终端根据本地保存信息确定所述共享内容的ID,将所述共享内容的ID发送给所述源终端云服务器;所述源终端云 服务器根据所述源终端发送的所述共享内容的ID,获取对应的随机验证码,并将所述共享内容的ID和所述随机验证码反馈给所述源终端;所述源终端根据共享内容的ID和随机验证码校验所述源终端本地是否存在对应的共享内容。
在本发明实施例中,所述源终端根据共享内容的ID和随机验证码确定所述共享内容是否已经上传源终端云服务器具体包括:如果所述源终端本地存在对应的共享内容,表明所述所述共享内容已经上传到所述源终端云服务器,则执行所述源终端向所述源终端云服务器发送内容发送命令的步骤;如果所述源终端本地不存在对应的共享内容,表明所述所述共享内容没有上传到所述源终端云服务器,所述源终端将所述共享内容上传到所述源终端云服务器。具体的校验过程可以参见前述实施例中结合表1和表2的实现方式。
在本发明实施例中,在步骤1002之前还包括步骤:所述源终端向所述目的终端发送内容共享请求,并接收所述目的终端返回的接受内容共享的响应。
在本发明实施例中,在步骤1004之后,还包括目的终端通过所述目的终端云服务器操作所述共享内容。
在本发明实施例中,所述源终端可以通过RCS服务器与所述目的终端进行信息交互。
通过本发明实施例,通过云服务器之间进行共享内容的传输后,所述源终端和所述目的终端分别登陆各自的云服务器,验证各自的登录信息登录各自的云服务器后,便可以对共享内容进行浏览和操作。通过本发明实施例,提高了RCS内容共享的传输速度、效率,还提高了内容共享的安全性。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方 式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。
显然,本领域的技术人员可以对本发明实施例进行各种改动和变型而不脱离本发明实施例的精神和范围。这样,倘若本发明实施例的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。

Claims (26)

  1. 一种内容共享的方法,其特征在于,包括:
    接收源终端发送的内容发送命令,所述内容发送命令携带目的终端云服务器的地址;
    根据所述目的终端云服务器的地址向所述目的终端云服务器发送连接请求,所述连接请求用于请求与所述目的终端云服务器建立连接;
    连接建立后,向所述目的终端云服务器发送共享内容。
  2. 如权利要求1所述的方法,其特征在于,在接收源终端发送的内容发送命令步骤之前,还包括所述源终端向目的终端获取所述目的终端云服务器地址。
  3. 如权利要求1所述的方法,其特征在于,在接收源终端发送的内容发送命令步骤之前,还包括:接收所述源终端发送的共享内容的ID,根据所述共享内容的ID获取随机验证码,向所述源终端返回所述共享内容的ID对应的随机验证码,所述源终端根据共享内容的ID和随机验证码确定所述共享内容是否上传。
  4. 如权利要求1-3任一所述的方法,其特征在于,在向所述目的终端云服务器发送共享内容步骤之后,还包括目的终端通过所述目的终端云服务器操作所述共享内容。
  5. 如权利要求1-4任一所述的方法,其特征在于,还包括接收源终端发送登录请求,所述登录请求中携带登录的校验信息。
  6. 一种内容共享的方法,其特征在于,包括:
    源终端向目的终端发送获取所述目的终端云服务器地址的请求,接收所述目的终端返回的所述目的终端云服务器的地址;
    所述源终端向所述源终端云服务器发送内容发送命令,所述内容发送命令携带所述目的终端云服务器的地址;
    所述源终端云服务器根据所述目的终端云服务器的地址向所述目的终端云服务器的发送连接请求;
    连接建立后,所述源终端云服务器向所述目的终端云服务器发送共享内容。
  7. 如权利要求6所述的方法,其特征在于,所述源终端向所述源终端云服务器发送内容发送命令之前还包括:
    所述源终端根据本地保存信息确定所述共享内容的ID,将所述共享内容的ID发送给所述源终端云服务器;
    所述源终端云服务器根据所述源终端发送的所述共享内容的ID,获取所述共享内容的ID对应的随机验证码,并将所述共享内容的ID对应的随机验证码返回给所述源终端;
    所述源终端根据共享内容的ID和接收的所述随机验证码校验是否与所述源终端本地保存的随机验证码匹配。
  8. 如权利要求7所述的方法,其特征在于,所述源终端根据共享内容的ID和接收的所述随机验证码验证是否与本地保存的随机验证码匹配具体包括:
    如果接收的所述随机验证码与所述源终端本地保存的随机验证码匹配,则执行所述源终端向所述源终端云服务器发送内容发送命令的步骤;
    如果接收的所述随机验证码与所述源终端本地保存的随机验证码不匹配,所述源终端将所述共享内容上传到所述源终端云服务器。
  9. 如权利要求6-8任一所述的方法,其特征在于,在所述源终端向所述源终端云服务器发送内容发送命令步骤之前还包括:所述源终端向所述目的终端发送内容共享请求,并接收所述目的终端返回的接受内容共享的响应。
  10. 如权利要求6-9任一所述的方法,其特征在于,在向所述目的终端云服务器发送共享内容步骤之后,还包括目的终端通过所述目的终端云服务器操作所述共享内容。
  11. 一种内容共享的终端,其特征在于,该终端包括交互单元601,匹配单元602,其中,
    所述交互单元601用于向目的终端发送获取所述目的终端云服务器地址的请求,并接收所述目的终端发送的所述目的终端云服务器地址,还用于将共享内容的ID发送给所述源终端云服务器,并接收所述源终端云服务器返回的所述共享内容的ID对应的随机验证码;
    所述匹配单元602用于根据所述共享内容的ID和接收的所述随机验证码确定所述共享内容是否已经上传源终端云服务器;
    当所述匹配单元602确定所述共享内容已经上传到源终端云服务器,指令所述交互单元601向所述源终端云服务器发送内容发送命令;
    所述交互单元601还用于向所述源终端云服务器发送内容发送命令,所述内容发送命令携带所述目的终端云服务器的地址,所述目的终端云服务器的地址用于使得所述源终端云服务器向所述目的终端云服务器发送共享内容。
  12. 如权利要求11所述的终端,其特征在于,所述终端还包括存储器603,其中,
    所述存储器603用于保存共享内容的相关信息,所述共享内容的相关信息包括所述共享内容的ID、随机验证码;
    所述匹配单元602具体还用于根据所述共享内容的ID向所述存储器603查找本地保存的随机验证码,将本地保存的随机验证码和接收所述源终端云服务器返回的所述随机验 证码进行比较;如果本地保存的随机验证码与源终端云服务器返回的随机验证码一致,则确定所述共享内容已经上传源终端云服务器;如果本地保存的随机验证码与源终端云服务器返回的随机验证码不一致,则确定所述共享内容没有上传到源终端云服务器。
  13. 如权利要求11或12所述的终端,其特征在于,所述存储器603用于保存用户登录云服务器的登录信息;所述交互单元601还用于根据所述登录信息登录云服务器。
  14. 一种内容共享的服务器,其特征在于,该服务器包括接口单元701,处理单元702,其中,
    所述接口单元701用于接收终端发送的内容发送命令,所述内容发送命令携带目的终端云服务器的地址;
    所述处理单元702还用于解析所述接口单元701接收所述内容发送命令获取目的终端云服务器的地址,根据所述目的终端云服务器的地址指令所述交互单元701向所述目的终端云服务器发送建立连接请求,在所述交互单元701建立与所述目的终端云服务器之间的连接后,指令所述交互单元701向所述目的终端云服务器发送共享内容;
    所述交互单元701还用于向所述目的终端云服务器发送建立连接请求,建立与所述目的终端云服务器之间的连接,还用于向所述目的终端云服务器发送共享内容。
  15. 如权利要求14所述的服务器,其特征在于,所述服务器还包括查询单元703,存储器704,其中,
    所述存储器704用于存储共享内容的相关信息,所述共享内容的相关信息包括共享内容的ID、随机验证码;
    所述交互单元701还用于接收终端发送的共享内容的ID;
    所述查询单元703用于根据接收的共享内容的ID向存储器704查询获取随机验证码;
    所述交互单元701还用于将所述随机验证码发送给终端。
  16. 如权利要求14或15所述的服务器,其特征在于,所述处理单元702还用于记录所述交互单元701向所述目的终端云服务器传输所述共享内容的进度、状态信息;
    所述交互单元701还用于向终端反馈向所述目的终端云服务器传输共享内容的进度、状态信息。
  17. 一种内容共享的系统,其特征在于,所述系统包括源终端10,源终端云服务器20,目的终端40,目的终端云服务器50,其中,
    所述源终端10用于向所述目的终端40发送获取所述目的终端云服务器地址的请求;
    所述目的终端40用于向所述源终端10返回的所述目的终端云服务器的地址;
    所述源终端10还用于向所述源终端云服务器20发送内容发送命令,所述内容发送命 令携带所述目的终端云服务器的地址;
    所述源终端云服务器20用于根据所述目的终端云服务器的地址向所述目的终端云服务器50的发送连接请求;
    所述目的终端云服务器50向所述源终端云服务器20返回对所述连接请求的响应;
    连接建立后,所述源终端云服务器20还用于向所述目的终端云服务器50发送共享内容。
  18. 如权利要求17所述的系统,其特征在于,所述源终端10还用于根据本地保存信息确定所述共享内容的ID,将所述共享内容的ID发送给所述源终端云服务器20;
    所述源终端云服务器20根据所述源终端10发送的所述共享内容的ID,获取所述共享内容的ID对应的随机验证码,并将所述随机验证码反馈给所述源终端10;
    所述源终端10根据所述共享内容的ID和接收的所述随机验证码确定所述共享内容是否已经上传源终端云服务器。
  19. 如权利要求18所述的系统,其特征在于,所述源终端10还用于根据所述共享内容的ID获取所述源终端本地保存的随机验证码,将所述源终端本地保存的随机验证码与接收的所述验证码进行校验,如果本地保存的随机验证码与源终端云服务器返回的随机验证码一致,则确定所述共享内容已经上传源终端云服务器;如果本地保存的随机验证码与源终端云服务器返回的随机验证码不一致,则确定所述共享内容没有上传到源终端云服务器。
  20. 如权利要求17-19任一所述的系统,其特征在于,所述目的终端40还用于登录所述目的终端云服务器50操作所述共享内容。
  21. 如权利要求17-20任一所述的系统,其特征在于,所述系统还包括RCS服务器30,所述源终端10还用于通过所述RCS服务器30与所述目的终端40通信。
  22. 一种内容共享的终端,其特征在于,所述终端包括交互接口801,处理器802,所述交互接口801和处理器802通过总线804相连,其中,
    所述交互接口801用于向目的终端发送获取所述目的终端云服务器地址的请求,并接收所述目的终端发送所述目的终端云服务器地址,还用于将共享内容的ID发送给所述源终端云服务器,并接收所述源终端云服务器返回的所述共享内容的ID对应的随机验证码;
    当所述处理器802根据所述共享内容的ID和接收的所述随机验证码确定所述共享内容已经上传到源终端云服务器,指令所述交互接口801向所述源终端云服务器发送内容发送命令;
    所述交互接口801向所述源终端云服务器发送内容发送命令,所述内容发送命令携带 所述目的终端云服务器的地址,所述目的终端云服务器的地址用于使得所述源终端云服务器向所述目的终端云服务器发送共享内容。
  23. 如权利要求22所述的终端,其特征在于,所述终端还包括存储器803,其中,
    所述存储器803用于保存共享内容的相关信息,所述共享内容的相关信息包括所述共享内容的ID、随机验证码;
    所述处理器802具体还用于根据所述共享内容的ID向所述存储器803查找本地保存的随机验证码,将本地保存的随机验证码和接收所述源终端云服务器返回的所述随机验证码进行比较;如果本地保存的随机验证码与源终端云服务器返回的随机验证码一致,则确定所述共享内容已经上传源终端云服务器;如果本地保存的随机验证码与源终端云服务器返回的随机验证码不一致,则确定所述共享内容没有上传到源终端云服务器。
  24. 一种内容共享的服务器,其特征在于,该服务器包括交互接口901,处理器902,所述交互接口901和处理器902通过总线904相连,其中,
    所述交互接口901用于接收终端发送的内容发送命令,所述内容发送命令携带目的终端云服务器的地址;
    所述处理器902还用于解析所述交互接口901接收所述内容发送命令获取目的终端云服务器的地址,根据所述目的终端云服务器的地址指令所述交互接口901向所述目的终端云服务器发送建立连接请求,在所述交互接口901建立与所述目的终端云服务器之间的连接后,指令所述交互接口901向所述目的终端云服务器发送共享内容;
    所述交互接口901还用于向所述目的终端云服务器发送建立连接请求,建立与所述目的终端云服务器之间的连接,还用于向所述目的终端云服务器发送共享内容。
  25. 如权利要求24所述的服务器,其特征在于,所述服务器还包括存储器903,其中,
    所述存储器903用于存储共享内容的相关信息,所述共享内容的相关信息包括共享内容的ID、随机验证码;
    所述交互接口901还用于接收终端发送的共享内容的ID;
    所述处理器902还用于根据接收的共享内容的ID向存储器903查询获取随机验证码;
    所述交互单元901还用于将所述随机验证码发送给终端。
  26. 如权利要求24或25所述的服务器,其特征在于,所述处理器902还用于记录所述交互接口901向所述目的终端云服务器传输所述共享内容的进度、状态信息;
    所述交互接口901还用于向终端反馈向所述目的终端云服务器传输共享内容的进度、状态信息。
PCT/CN2014/095956 2014-12-31 2014-12-31 内容共享的方法、终端、服务器和系统 WO2016106705A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
PCT/CN2014/095956 WO2016106705A1 (zh) 2014-12-31 2014-12-31 内容共享的方法、终端、服务器和系统
CN201480084434.2A CN107113281A (zh) 2014-12-31 2014-12-31 内容共享的方法、终端、服务器和系统
EP14909513.5A EP3232631B1 (en) 2014-12-31 2014-12-31 Content sharing method and server
US15/638,054 US10721115B2 (en) 2014-12-31 2017-06-29 Content sharing method, terminal, server, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/095956 WO2016106705A1 (zh) 2014-12-31 2014-12-31 内容共享的方法、终端、服务器和系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/638,054 Continuation US10721115B2 (en) 2014-12-31 2017-06-29 Content sharing method, terminal, server, and system

Publications (1)

Publication Number Publication Date
WO2016106705A1 true WO2016106705A1 (zh) 2016-07-07

Family

ID=56283978

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/095956 WO2016106705A1 (zh) 2014-12-31 2014-12-31 内容共享的方法、终端、服务器和系统

Country Status (4)

Country Link
US (1) US10721115B2 (zh)
EP (1) EP3232631B1 (zh)
CN (1) CN107113281A (zh)
WO (1) WO2016106705A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7680882B2 (en) 2007-03-06 2010-03-16 Friendster, Inc. Multimedia aggregation in an online social network
CN107395490B (zh) * 2017-07-18 2020-01-14 Oppo广东移动通信有限公司 多媒体消息的发送方法、装置、存储介质及电子设备
CN113453203B (zh) * 2020-03-26 2023-03-28 华为技术有限公司 一种数据共享和指令操作控制方法及系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102308290A (zh) * 2009-02-04 2012-01-04 日本电气株式会社 用于在云计算环境中传输虚拟化数据的方法
CN102651751A (zh) * 2011-02-25 2012-08-29 国基电子(上海)有限公司 文件传送系统及其文件传送方法
CN103095553A (zh) * 2011-11-03 2013-05-08 北京神州泰岳软件股份有限公司 一种消息通讯方法和系统
CN104243567A (zh) * 2014-09-06 2014-12-24 侯舒婷 一种用于在云计算传送信息的方法

Family Cites Families (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7290059B2 (en) * 2001-08-13 2007-10-30 Intel Corporation Apparatus and method for scalable server load balancing
US20050050211A1 (en) * 2003-08-29 2005-03-03 Kaul Bharat B. Method and apparatus to manage network addresses
US20090307302A1 (en) * 2008-06-06 2009-12-10 Snap-On Incorporated System and Method for Providing Data from a Server to a Client
EP2425341B1 (en) * 2009-05-01 2018-07-11 Citrix Systems, Inc. Systems and methods for establishing a cloud bridge between virtual storage resources
US9037564B2 (en) * 2011-04-29 2015-05-19 Stephen Lesavich Method and system for electronic content storage and retrieval with galois fields on cloud computing networks
US9432454B2 (en) * 2011-08-29 2016-08-30 At&T Intellectual Property I, L.P. Cloud-to-cloud peering
KR101818961B1 (ko) * 2011-11-16 2018-01-16 엘지전자 주식회사 컨텐츠 전송 방법 및 상기 방법을 채용한 기기, 서버
US20130246962A1 (en) * 2012-03-09 2013-09-19 Apple Inc. Dynamic update of a completion status indicator
CN103309768B (zh) * 2012-03-16 2015-03-11 腾讯科技(深圳)有限公司 系统文件修复方法和装置
US9253087B2 (en) * 2012-04-24 2016-02-02 Futurewei Technologies, Inc. Principal-identity-domain based naming scheme for information centric networks
CN103457973B (zh) * 2012-06-01 2016-04-27 深圳市腾讯计算机系统有限公司 一种图片上传方法、系统、图片上传客户端及网络服务器
CN102761612B (zh) * 2012-06-29 2016-08-03 惠州Tcl移动通信有限公司 基于无线通讯设备拍照自动上传的方法及系统
US9450784B2 (en) * 2012-09-27 2016-09-20 Blackberry Limited Communicating data among personal clouds
US9137131B1 (en) * 2013-03-12 2015-09-15 Skyhigh Networks, Inc. Network traffic monitoring system and method to redirect network traffic through a network intermediary
KR102069876B1 (ko) * 2012-12-21 2020-01-23 삼성전자주식회사 전자 기기, 개인 클라우드 기기, 개인 클라우드 시스템 및 이들의 개인 클라우드 기기 등록 방법
US9613047B2 (en) * 2013-02-13 2017-04-04 Dropbox, Inc. Automatic content item upload
US9344516B2 (en) * 2013-05-30 2016-05-17 Zentera Systems, Inc. Interlocking applications and files
CN104426955B (zh) * 2013-08-28 2018-05-04 北大方正集团有限公司 共享文件的处理方法及云存储服务器
US20150120843A1 (en) * 2013-10-30 2015-04-30 Infinite Convergence Solutions, Inc Method and Device to Store and Forward a File Thumbnail to an Initially Unavailable Client
US9166964B2 (en) * 2014-01-08 2015-10-20 Google Inc. Secure challenge system for verifying access rights to media content
KR102133014B1 (ko) * 2014-01-20 2020-07-10 삼성전자주식회사 멀티미디어 서비스를 이용한 통화 장치, 방법 및 시스템
CN103825950B (zh) * 2014-02-28 2018-12-07 惠州Tcl移动通信有限公司 一种基于云平台同步联系人的方法及系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102308290A (zh) * 2009-02-04 2012-01-04 日本电气株式会社 用于在云计算环境中传输虚拟化数据的方法
CN102651751A (zh) * 2011-02-25 2012-08-29 国基电子(上海)有限公司 文件传送系统及其文件传送方法
CN103095553A (zh) * 2011-11-03 2013-05-08 北京神州泰岳软件股份有限公司 一种消息通讯方法和系统
CN104243567A (zh) * 2014-09-06 2014-12-24 侯舒婷 一种用于在云计算传送信息的方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3232631A4 *

Also Published As

Publication number Publication date
US10721115B2 (en) 2020-07-21
EP3232631B1 (en) 2022-10-12
US20170302499A1 (en) 2017-10-19
EP3232631A4 (en) 2017-12-06
EP3232631A1 (en) 2017-10-18
CN107113281A (zh) 2017-08-29

Similar Documents

Publication Publication Date Title
EP2883340B1 (en) Authorization method, apparatus, and system
US9830330B2 (en) Systems and methods for secure cloud-based media file sharing
EP3323246B1 (en) Using temporary credentials in guest mode
US9600679B2 (en) Techniques for resource operation based on usage, sharing, and recommendations with modular authentication
JP6280641B2 (ja) アカウントログイン方法、デバイス及びシステム
US20180077237A1 (en) Method, apparatus, and system for providing remote terminal assistance to electronic devices using an intermediary server
EP2908477B1 (en) Remote access method and device
WO2012163176A1 (zh) 配置机顶盒的方法、装置及系统
US10034057B2 (en) Message processing method, device, gateway, STB and IPTV
WO2012151851A1 (zh) 一种移动终端间共享数据的方法、系统及控制服务器
WO2011113372A1 (zh) 多群组操作同步的方法、系统和群组服务器
WO2013178150A1 (zh) 一种信息的处理方法、优先级信息的发送方法及装置
KR101779917B1 (ko) 미디어 리소스 피드백 방법, 장치, 프로그램 및 기록매체
WO2017088634A1 (zh) 第三方应用认证方法、认证服务器、终端及管理服务器
WO2015043455A1 (zh) 数据传输方法、设备及系统
WO2015109872A1 (zh) 基于samba的快速访问和控制播放共享媒体文件方法
WO2016101545A1 (zh) 设备管理方法、装置及系统
WO2017080333A1 (zh) 上网认证方法、认证服务器及其所在认证系统
WO2013086848A1 (zh) 向即时消息系统用户传输文件的方法、装置及系统
US10721115B2 (en) Content sharing method, terminal, server, and system
WO2013178157A2 (zh) 私有云中设备间自动建立基于wifi局域网的方法及装置
US20160182504A1 (en) Method and apparatus for processing a rtcweb authentication
CN107547497B (zh) 一种无感知portal认证方法及装置
KR101578284B1 (ko) 통합 로그아웃 방법, 인증 처리 서버, 서비스 제공 서버 및 사용자 단말
JP5773902B2 (ja) 端末間で権限情報を転送する権限情報転送方法及びシステム

Legal Events

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

Ref document number: 14909513

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2014909513

Country of ref document: EP