WO2016061890A1 - 一种资源共享方法、终端、系统及计算机存储介质 - Google Patents

一种资源共享方法、终端、系统及计算机存储介质 Download PDF

Info

Publication number
WO2016061890A1
WO2016061890A1 PCT/CN2014/094528 CN2014094528W WO2016061890A1 WO 2016061890 A1 WO2016061890 A1 WO 2016061890A1 CN 2014094528 W CN2014094528 W CN 2014094528W WO 2016061890 A1 WO2016061890 A1 WO 2016061890A1
Authority
WO
WIPO (PCT)
Prior art keywords
request
processing
response
information
client
Prior art date
Application number
PCT/CN2014/094528
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 中兴通讯股份有限公司
Publication of WO2016061890A1 publication Critical patent/WO2016061890A1/zh

Links

Images

Classifications

    • 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
    • H04L65/40Support for services or applications

Definitions

  • the present invention relates to network communication technologies, and in particular, to a resource sharing method, a terminal, a system, and a computer storage medium.
  • the shared file can be directly sent to the client in advance.
  • the server sharing the resource cannot control the client's use of the shared file, and thus cannot achieve the desired effect.
  • the shared file is downloaded to a mobile terminal such as a mobile phone in advance; during the conference, the mobile phone user can browse the shared file by himself.
  • the conference host cannot control the browsing status of the shared file by the mobile phone user in real time, there is a situation in which the mobile phone user uses the mobile phone to send WeChat and browse the webpage in the name of browsing the shared file, so that the conference host cannot use the mobile phone to reach the shared information. purpose.
  • the embodiment of the invention provides a resource sharing method, a terminal, a system and a computer storage medium, and the server can synchronously control the control operation of the shared file by the client, thereby achieving the purpose of synchronously browsing the shared resource between the server and the client.
  • An embodiment of the present invention provides a resource sharing method, which is applied to a server.
  • the method includes:
  • Triggering a first operation the first operation is used to set shared resource configuration information
  • the first request is for requesting processing of the shared resource configuration information
  • the processing response is used to indicate accepting the first request, establishing a resource sharing connection based on the processing response, and entering a connection sharing state;
  • the second request is for requesting to perform a control operation on the shared file.
  • the method further includes:
  • the method further includes:
  • the first information is used to represent current synchronization browsing state information of the client;
  • the processing information is used to represent a processing operation corresponding to the first information determined according to a preset processing rule.
  • the sending processing information includes:
  • the processing information formed by the determined processing operation is transmitted.
  • the embodiment of the invention further provides a resource sharing method, which is applied to a client, and the method includes:
  • the processing response is for indicating acceptance of the first request
  • the synchronous browsing state is entered, and the control operation of the shared file is performed.
  • the method further includes:
  • Triggering a second operation the second operation is for switching a browsing mode
  • the method further includes:
  • the first information is used to represent the current synchronous browsing state information of the user
  • a processing operation corresponding to the first information is performed.
  • the method further includes:
  • the download request is for requesting a download operation on the shared file.
  • the embodiment of the present invention further provides a terminal, where the terminal includes a first triggering unit, a first sending unit, a first receiving unit, a second receiving unit, a first executing unit, and a second sending unit, where
  • the first triggering unit is configured to trigger a first operation; the first operation is used to set shared resource configuration information;
  • the first sending unit is configured to send a first request in response to the first operation, where the first request is used to request processing of the shared resource configuration information;
  • the first receiving unit is configured to receive a processing response, where the processing response is used to indicate that the first request is accepted, and based on the processing response, establish a resource sharing connection, and enter a connection sharing state;
  • the second receiving unit is configured to receive a control instruction
  • the first execution unit is configured to enter a synchronous browsing state in response to the control instruction, and perform a control operation on the shared file;
  • the second sending unit is configured to send a second request in response to the control instruction, where the second request is used to request to perform a control operation on the shared file.
  • the terminal further includes a third receiving unit and a second executing unit; wherein
  • the third receiving unit is configured to receive a download request
  • the second execution unit is configured to perform a download operation on the shared file in response to the download request.
  • the terminal further includes a fourth receiving unit and a third sending unit;
  • the fourth receiving unit is configured to receive first information, where the first information is used to represent current synchronization browsing state information of the client;
  • the third sending unit is configured to send processing information, where the processing information is used to identify a processing operation corresponding to the first information determined according to a preset processing rule.
  • the third sending unit includes a statistic module, a determining module, and a sending module
  • the statistic module is configured to record and collect the first information to obtain a statistical result
  • the determining module is configured to determine, according to a preset processing rule, a processing operation corresponding to the statistical result
  • the sending module is configured to send processing information formed by the determined processing operation.
  • the embodiment of the present invention further provides another terminal, where the terminal includes a fifth receiving unit, a third executing unit, a fourth sending unit, a sixth receiving unit, and a fourth executing unit, where
  • the fifth receiving unit is configured to receive the first request
  • the third execution unit is configured to perform a processing operation on the shared resource configuration information in response to the first request;
  • the fourth sending unit is configured to send a processing response, where the processing response is used to indicate that the first request is accepted;
  • the sixth receiving unit is configured to receive the second request
  • the fourth execution unit is configured to enter a synchronous browsing state in response to the second request, and perform a control operation on the shared file.
  • the terminal further includes a second trigger unit and a fifth execution unit;
  • the second triggering unit is configured to trigger a second operation; the second operation is used to switch the browsing mode;
  • the fifth execution unit is configured to perform a first control operation on the shared file in response to the second operation.
  • the terminal further includes a fifth sending unit, a seventh receiving unit, and a sixth executing unit;
  • the fifth sending unit is configured to send the first information, where the first information is used to represent the current synchronous browsing state information of the user;
  • the seventh receiving unit is configured to receive processing information
  • the sixth execution unit is configured to perform a processing operation corresponding to the first information in response to the processing information.
  • the terminal further includes a sixth sending unit
  • the sixth sending unit is configured to send a download request, where the download request is used to request a download operation on the shared file.
  • the embodiment of the invention further provides a resource sharing system, where the system includes a server and a client;
  • the server is configured to trigger a first operation; the first operation is used to set shared resource configuration information; in response to the first operation, a first request is sent; the first request is used to request the client to Processing of the shared resource configuration information; receiving a processing response, the processing response Used to indicate that the client accepts the first request, establish a resource sharing connection based on the processing response, enter a connection sharing state, receive a control instruction, respond to the control instruction, enter a synchronous browsing state, and execute a shared file Controlling an operation; transmitting a second request in response to the control instruction; the second request is for requesting the client to perform a control operation on the shared file;
  • the client is configured to receive the first request, perform a processing operation on the shared resource configuration information in response to the first request, send a processing response, receive the second request, respond to the second request, enter a synchronous browsing state, and execute the shared file Control operation.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the resource sharing method according to the embodiment of the invention.
  • the server triggers the first operation; the first operation is used to set the shared resource configuration information; and in response to the first operation, the first request is sent
  • the first request is used to request processing of the shared resource configuration information by the client; receiving a processing response, the processing response is used to indicate that the client accepts the first request, and establishing resource sharing based on the processing response
  • Connecting entering a connection sharing state; receiving a control instruction; entering a synchronous browsing state in response to the control instruction, performing a control operation on the shared file; transmitting a second request in response to the control instruction; the second request is used to request a client
  • the terminal performs control operations on the shared file. In this way, the server can synchronously control the client's control operation on the shared file, thereby achieving the purpose of synchronously browsing the shared resource between the server and the client.
  • the server receives the first information; the first information is used to represent the current synchronous browsing state information of the client; and the processing information is used; the processing information is used to identify the first determined according to the preset processing rule Corresponding processing operation of the information; correspondingly, the client receives the processing information; and in response to the processing information, performs a processing operation corresponding to the first information.
  • the server synchronizes the current browsing state and performs corresponding processing operations to achieve the necessary monitoring of the client's operational activities, thereby achieving the purpose of sharing resources.
  • FIG. 1 is a schematic flowchart 1 of a resource sharing method according to an embodiment of the present invention.
  • FIG. 2 is a second schematic flowchart of a resource sharing method according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart 3 of a resource sharing method according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of sending processing information in a resource sharing method according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart 4 of a resource sharing method according to an embodiment of the present invention.
  • FIG. 6 is a schematic flowchart 5 of a resource sharing method according to an embodiment of the present invention.
  • FIG. 7 is a schematic flowchart 6 of a resource sharing method according to an embodiment of the present invention.
  • FIG. 8 is a schematic flowchart 7 of a resource sharing method according to an embodiment of the present invention.
  • FIG. 9 is a schematic flowchart 8 of a resource sharing method according to an embodiment of the present invention.
  • FIG. 10 is a first schematic structural diagram of a terminal structure according to Embodiment 9 of the present invention.
  • FIG. 11 is a second schematic structural diagram of a terminal structure according to Embodiment 9 of the present invention.
  • FIG. 12 is a third schematic structural diagram of a terminal structure according to Embodiment 9 of the present invention.
  • FIG. 13 is a schematic structural diagram 4 of a terminal structure according to Embodiment 9 of the present invention.
  • FIG. 14 is a first schematic structural diagram of a terminal of a tenth embodiment of the present invention.
  • 15 is a second schematic structural diagram of a terminal of a tenth embodiment of the present invention.
  • 16 is a third schematic structural diagram of a terminal of a tenth embodiment of the present invention.
  • 17 is a schematic structural diagram 4 of a terminal structure of a tenth embodiment of the present invention.
  • FIG. 18 is a schematic structural diagram of a resource sharing system according to an embodiment of the present invention.
  • the first operation is triggered; the first operation is used to set the shared resource configuration information; in response to the first operation, the first request is sent; the first request is used to request the pair Processing of the shared resource configuration information; receiving the processing response, the processing response is for indicating acceptance of the first request, establishing a resource sharing connection based on the processing response, entering a connection sharing state; receiving a control instruction; Controlling the instruction, entering a synchronous browsing state, performing a control operation on the shared file; transmitting a second request in response to the control instruction; and the second request is for requesting to perform a control operation on the shared file.
  • FIG. 1 is a schematic flowchart 1 of a resource sharing method according to an embodiment of the present invention, which is applied to a server.
  • a resource sharing method according to an embodiment of the present invention includes:
  • Step S101 triggering a first operation; the first operation is used to set shared resource configuration information;
  • the server triggers a first operation and sets shared resource configuration information.
  • the shared resource configuration information includes a shared file, an IP address of a client that allows login, a client account that allows login, a running environment requirement for the client, and a control operation requirement for the shared file in the entire synchronous browsing state of the client. Wait.
  • the shared file includes data files such as documents, pictures, audio and video.
  • the server to which the server belongs includes a mobile terminal and a non-mobile terminal
  • the non-mobile terminal includes a desktop computer
  • the mobile terminal includes a smart phone, a tablet computer, a notebook computer, and a personal digital assistant.
  • Step S102 Send a first request in response to the first operation, where the first request is used to request processing of the shared resource configuration information;
  • the server sends a first request in response to the first operation to request processing of the shared resource configuration information by the client.
  • the processing of the shared resource configuration information by the client includes: setting an operating environment of the client according to the running environment requirement of the shared resource configuration information; and when the running environment set by the client itself satisfies the running Send a processing response to the environment when required It is known that the server establishes a resource sharing connection and enters a connection sharing state.
  • the running environment of the client setting itself includes automatic setting or manual setting.
  • the server directly responds to the first operation by the IP address of the client that is allowed to log in or the client account that is allowed to log in to one or Multiple clients send the first request.
  • the server may also receive the connection request sent by the client, and determine the IP address of the client that initiates the connection request or the client account belongs to the IP address of the client that is allowed to log in or allow the login.
  • the client accounts in response to the first operation, the first request is sent to the client that initiates the connection request to request the client to process the shared resource configuration information.
  • Step S103 Receive a processing response, where the processing response is used to indicate that the first request is accepted, and based on the processing response, establish a resource sharing connection, and enter a connection sharing state;
  • the client has obtained a shared file.
  • shared files There are two ways for the client to obtain shared files:
  • the client After receiving the first request from the server, the client parses the first request to obtain the shared file carried in the first request; in this manner, the first request sent by the server is requested. Carrying a shared file; 2) The client itself stores a shared file.
  • Step S104 receiving a control instruction
  • the server receives a control operation instruction of the user on the shared file.
  • Step S105 In response to the control instruction, enter a synchronous browsing state, and perform a control operation on the shared file;
  • the server responds to the control instruction, enters a synchronous browsing state, and performs a control operation on the shared file.
  • control operation on the shared file includes control of browsing, playing, and playback of documents, pictures, audio and video, such as page turning, progress jump, marking of the currently displayed content, and the like.
  • Step S106 Send a second request in response to the control instruction; the second request is used for Seek to perform control operations on shared files.
  • the server sends a second request in response to the control instruction, requesting the client to perform a control operation on the shared file.
  • control operation on the shared file includes control of browsing, playing, and playback of documents, pictures, audio and video, such as page turning, progress jump, marking of the currently displayed content, and the like.
  • step S105 and step S106 are performed simultaneously.
  • the server can synchronously control the client's control operation on the shared file, thereby achieving the purpose of synchronously browsing the shared resource between the server and the client.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the resource sharing method according to the first embodiment of the present invention.
  • FIG. 2 is a schematic flowchart 2 of a resource sharing method according to an embodiment of the present invention, which is applied to a server.
  • the resource sharing method in the embodiment of the present invention includes:
  • Step S201 triggering a first operation; the first operation is used to set shared resource configuration information;
  • the server triggers a first operation and sets shared resource configuration information.
  • the shared resource configuration information includes a shared file, an IP address of a client that allows login, a client account that allows login, a running environment requirement for the client, and a control operation requirement for the shared file in the entire synchronous browsing state of the client. Wait.
  • the shared file includes data files such as documents, pictures, audio and video.
  • the server to which the server belongs includes a mobile terminal and a non-mobile terminal
  • the non-mobile terminal includes a desktop computer
  • the mobile terminal includes a smart phone, a tablet computer, a notebook computer, and a personal digital assistant.
  • Step S202 Send a first request in response to the first operation, where the first request is used to request processing of the shared resource configuration information;
  • the server sends a first request in response to the first operation to request processing of the shared resource configuration information by the client.
  • the processing of the shared resource configuration information by the client includes: setting an operating environment of the client according to the running environment requirement of the shared resource configuration information; and when the running environment set by the client itself satisfies the running When the environment requires, a processing response is sent to notify the server to establish a resource sharing connection and enter a connection sharing state.
  • the running environment of the client setting itself includes automatic setting or manual setting.
  • the server directly responds to the first operation by the IP address of the client that is allowed to log in or the client account that is allowed to log in to one or Multiple clients send the first request.
  • the server may also receive the connection request sent by the client, and determine the IP address of the client that initiates the connection request or the client account belongs to the IP address of the client that is allowed to log in or allow the login.
  • the client accounts in response to the first operation, the first request is sent to the client that initiates the connection request to request the client to process the shared resource related information.
  • Step S203 Receive a processing response, where the processing response is used to indicate that the first request is accepted, and based on the processing response, establish a resource sharing connection, and enter a connection sharing state;
  • Step S204 receiving a download request
  • the shared file since the client does not obtain a shared file, the shared file needs to be downloaded through the server.
  • the server receives a request for downloading a shared file sent by the client.
  • Step S205 In response to the download request, perform a download operation on the shared file
  • the server downloads the shared file to the client in response to the download request.
  • the downloading manner of the shared file may be selected to be completed all at once according to the needs of the client, or may be downloaded after the server enters the synchronous browsing state in the subsequent step S207.
  • Step S206 receiving a control instruction
  • the server receives a control operation instruction of the user on the shared file.
  • Step S207 In response to the control instruction, enter a synchronous browsing state, and perform a control operation on the shared file;
  • the server responds to the control instruction, enters a synchronous browsing state, and performs a control operation on the shared file.
  • control operation on the shared file includes control of browsing, playing, and playback of documents, pictures, audio and video, such as page turning, progress jump, marking of the currently displayed content, and the like.
  • Step S208 Send a second request in response to the control instruction; the second request is used to request to perform a control operation on the shared file.
  • the server sends a second request in response to the control instruction, requesting the client to perform a control operation on the shared file.
  • control operation on the shared file includes control of browsing, playing, and playback of documents, pictures, audio and video, such as page turning, progress jump, marking of the currently displayed content, and the like.
  • step S207 and step S208 are performed simultaneously.
  • the server can synchronously control the client's control operation on the shared file, thereby achieving the purpose of synchronously browsing the shared resource between the server and the client.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the resource sharing method according to the second embodiment of the present invention.
  • a resource sharing method includes:
  • Step S101 triggering a first operation; the first operation is used to set shared resource configuration information;
  • Step S102 Send a first request in response to the first operation; the first request is used for Obtaining processing of the shared resource configuration information;
  • Step S103 Receive a processing response, where the processing response is used to indicate that the first request is accepted, and based on the processing response, establish a resource sharing connection, and enter a connection sharing state;
  • Step S104 receiving a control instruction
  • Step S105 In response to the control instruction, enter a synchronous browsing state, and perform a control operation on the shared file;
  • Step S106 Send a second request in response to the control instruction; the second request is used to request to perform a control operation on the shared file;
  • Steps S101 to S106 in the third embodiment of the present invention can be referred to the steps S101 to S106 in the first embodiment, respectively.
  • Step S301 Receive first information, where the first information is used to represent current synchronization browsing state information of the client.
  • the server receives the first information, that is, receives the current synchronous browsing state information of the client.
  • the first information includes whether the client is in a silent mode, whether to switch to another application, the duration of switching to other application software, the number of handovers, and the like.
  • Step S302 Send processing information; the processing information is used to represent a processing operation corresponding to the first information determined according to a preset processing rule.
  • the sending of the processing information by the server includes:
  • Step S3021 Recording and counting the first information to obtain a statistical result
  • Step S3022 Determine a processing operation corresponding to the statistical result according to a preset processing rule
  • Step S3023 Transmitting the processing information formed by the determined processing operation.
  • the processing operation includes setting the client to a mute state, closing other applications that the client is running, or disconnecting a resource sharing connection or the like.
  • the resource sharing method in the embodiment of the present invention can synchronously control the client to control the shared file, so as to achieve the purpose of synchronously browsing the shared resource between the server and the client.
  • the purpose of the resource can be synchronously control the client to control the shared file, so as to achieve the purpose of synchronously browsing the shared resource between the server and the client.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the resource sharing method according to the third embodiment of the invention.
  • FIG. 5 is a schematic flowchart of a resource sharing method according to an embodiment of the present invention, which is applied to a server. As shown in FIG. 5, the resource sharing method in the embodiment of the present invention includes:
  • Step S201 triggering a first operation; the first operation is used to set shared resource configuration information;
  • Step S202 Send a first request in response to the first operation, where the first request is used to request processing of the shared resource configuration information;
  • Step S203 Receive a processing response, where the processing response is used to indicate that the first request is accepted, and based on the processing response, establish a resource sharing connection, and enter a connection sharing state;
  • Step S204 receiving a download request
  • Step S205 In response to the download request, perform a download operation on the shared file.
  • Step S206 receiving a control instruction
  • Step S207 In response to the control instruction, enter a synchronous browsing state, and perform a control operation on the shared file;
  • Step S208 Send a second request in response to the control instruction; the second request is used to request to perform a control operation on the shared file;
  • Steps S201 to S208 in the fourth embodiment of the present invention may be correspondingly referred to step S201 to step S208 in the second embodiment, and the details are not described herein again.
  • Step S301 Receive first information, where the first information is used to represent current synchronization browsing state information of the client.
  • Step S302 Send processing information; the processing information is used to represent a processing operation corresponding to the first information determined according to a preset processing rule.
  • Steps S301 to S302 in the fourth embodiment of the present invention may be correspondingly referred to step S301 to step S302 in the third embodiment, and the details are not described herein again.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the resource sharing method according to the fourth embodiment of the invention.
  • FIG. 6 is a schematic flowchart of a method for sharing a resource according to an embodiment of the present invention, and is applied to a client.
  • the resource sharing method in the embodiment of the present invention includes:
  • Step S501 receiving a first request
  • the client receives a first request sent by the server, where the first request is used to request processing of the shared resource configuration information by the client.
  • Step S502 Perform a processing operation on the shared resource related information in response to the first request
  • the client performs a processing operation on the shared resource configuration information in response to the first request.
  • the processing of the shared resource configuration information by the client includes: setting an operating environment of the client according to the running environment requirement of the shared resource configuration information; and when the running environment set by the client itself satisfies the running When the environment requires, a processing response is sent to notify the server to establish a resource sharing connection and enter a connection sharing state.
  • the running environment of the client setting itself includes automatic setting or manual setting.
  • Step S503 Send a processing response; the processing response is used to indicate acceptance of the first request;
  • the server After the client completes setting the operating environment, sending the server to the server.
  • the response is processed to indicate acceptance of the first request from the server.
  • the client has obtained a shared file.
  • the client obtains the shared file in two ways: 1) after receiving the first request from the server, the client parses the first request to obtain the shared file carried in the first request; In the mode, the first request sent by the server is required to carry a shared file; 2) the client itself stores a shared file.
  • Step S504 receiving a second request
  • the client receives a second request sent by the server, and the second request is used to request to perform a control operation on the shared file.
  • Step S505 In response to the second request, enter a synchronous browsing state, and perform a control operation on the shared file.
  • the client responds to the second request, enters a synchronous browsing state, and performs a control operation on the shared file.
  • control operation on the shared file includes control of browsing, playing, and playback of documents, pictures, audio and video, such as page turning, progress jump, marking of the currently displayed content, and the like.
  • the server can synchronously control the client's control operation on the shared file, thereby achieving the purpose of synchronously browsing the shared resource between the server and the client.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the resource sharing method according to the fifth embodiment of the invention.
  • FIG. 7 is a schematic flowchart of a method for sharing a resource according to an embodiment of the present invention, which is applied to a client.
  • the resource sharing method in the embodiment of the present invention includes:
  • Step S501 receiving a first request
  • Step S502 Perform a processing operation on the shared resource configuration information in response to the first request.
  • Step S503 Send a processing response; the processing response is used to indicate acceptance of the first request;
  • Step S504 receiving a second request
  • Step S505 In response to the second request, enter a synchronous browsing state, and perform a control operation on the shared file;
  • Steps S501 to S505 in the sixth embodiment of the present invention may be correspondingly referred to step S501 to step S505 in the fifth embodiment, and the details are not described herein again.
  • Step S601 triggering a second operation; the second operation is used to switch the browsing mode;
  • Step S602 In response to the second operation, performing a first control operation on the shared file.
  • the client triggers a second operation for switching the browsing mode.
  • the client switching the browsing mode includes the client switching from the synchronous browsing mode to the self-browsing mode, and performing the first control operation on the shared file by itself in response to the second operation.
  • the first control operation is similar to the control operation in the foregoing embodiment, and includes operations such as browsing of a document, a picture, audio and video, and playback, such as page turning, progress jump, marking of the currently displayed content, and the like.
  • the client can switch between the synchronous browsing mode and the self-browsing mode through steps S601 and S602.
  • the client switches from the self-browsing mode to the synchronous browsing mode the current server's browsing progress and operation status of the shared file are synchronized to achieve the purpose of the client and the server simultaneously browsing the shared file.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the resource sharing method according to the sixth embodiment of the invention.
  • FIG. 8 is a schematic flowchart of a method for sharing a resource according to an embodiment of the present invention, which is applied to a client. As shown in FIG.
  • Step S501 receiving a first request
  • Step S502 Perform a processing operation on the shared resource configuration information in response to the first request.
  • Step S503 Send a processing response; the processing response is used to indicate acceptance of the first request;
  • Step S504 receiving a second request
  • Step S505 In response to the second request, enter a synchronous browsing state, and perform a control operation on the shared file;
  • Steps S501 to S505 in the seventh embodiment of the present invention may be correspondingly referred to step S501 to step S505 in the fifth embodiment, and the details are not described herein again.
  • Step S701 Send first information; the first information is used to represent current synchronization browsing state information of the user;
  • the client sends the first information to the server, that is, sends the current synchronous browsing state information to the server.
  • the first information includes whether the client is in a silent mode, whether to switch to another application, the duration of switching to other application software, the number of handovers, and the like.
  • Step S702 Receive processing information
  • the client receives the processing information sent by the server, and the processing information is used to represent a processing operation that is determined by the server according to the preset processing rule and corresponding to the first information.
  • Step S703 In response to the processing information, perform a processing operation corresponding to the first information.
  • the client performs a processing operation corresponding to the first information in response to the processing information.
  • the processing operation includes setting the client to a mute state, closing other applications that the client is running, or disconnecting a resource sharing connection or the like.
  • the resource sharing method in the embodiment of the present invention can synchronously control the client to control the shared file, so as to achieve synchronous browsing sharing between the server and the client.
  • the purpose of the resource it is also possible to monitor the current synchronous browsing state of the client while the server and the client simultaneously browse the shared resources, and perform corresponding processing operations to implement necessary monitoring of the operating activities of the client, thereby achieving sharing.
  • the purpose of the resource it is also possible to monitor the current synchronous browsing state of the client while the server and the client simultaneously browse the shared resources, and perform corresponding processing operations to implement necessary monitoring of the operating activities of the client, thereby achieving sharing.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the resource sharing method according to Embodiment 7 of the present invention.
  • FIG. 9 is a schematic flowchart of a method for sharing a resource according to an embodiment of the present invention, which is applied to a client.
  • the resource sharing method in the embodiment of the present invention includes:
  • Step S801 receiving the first request
  • the client receives a first request sent by the server, where the first request is used to request processing of the shared resource configuration information by the client.
  • Step S802 Perform a processing operation on the shared resource configuration information in response to the first request
  • the client performs a processing operation on the shared resource configuration information in response to the first request.
  • the processing of the shared resource configuration information by the client includes: setting an operating environment of the client according to the running environment requirement of the shared resource configuration information; and when the running environment set by the client itself satisfies the running When the environment requires, a processing response is sent to notify the server to establish a resource sharing connection and enter a connection sharing state.
  • the running environment of the client setting itself includes automatic setting or manual setting.
  • Step S803 Send a processing response; the processing response is used to indicate acceptance of the first request;
  • the shared file since the client does not obtain the shared file, the shared file needs to be downloaded through the server.
  • Step S804 Send a download request; the download request is used to request a download operation on the shared file.
  • the client sends a download request to the server to request the server to perform a download operation on the shared file, and download the shared file to the client.
  • Step S805 receiving a second request
  • the client receives a second request sent by the server, and the second request is used to request to perform a control operation on the shared file.
  • Step S806 In response to the second request, enter a synchronous browsing state, and perform a control operation on the shared file.
  • the client responds to the second request, enters a synchronous browsing state, and performs a control operation on the shared file.
  • control operation on the shared file includes control of browsing, playing, and playback of documents, pictures, audio and video, such as page turning, progress jump, marking of the currently displayed content, and the like.
  • the server can synchronously control the client's control operation on the shared file, and achieve the purpose of synchronously browsing the shared resource between the server and the client.
  • resource sharing methods described in the foregoing embodiments may be applied to an Android system, and may also be applied to other operating systems, such as wince, ios, and the like.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the resource sharing method according to the eighth embodiment of the present invention.
  • the terminal in the embodiment of the present invention includes: a first trigger unit 901, a first sending unit 902, and a first receiving. a unit 903, a second receiving unit 904, a first executing unit 905, and a second transmitting unit 906; wherein
  • the first triggering unit 901 is configured to trigger a first operation; the first operation is used to set shared resource configuration information;
  • the first sending unit 902 is configured to send a first request in response to the first operation, where the first request is used to request processing of the shared resource configuration information;
  • the first receiving unit 903 is configured to receive a processing response, where the processing response is used to indicate that the first request is accepted, and based on the processing response, establish a resource sharing connection, and enter a connection sharing state;
  • the second receiving unit 904 is configured to receive a control instruction
  • the first executing unit 905 is configured to enter a synchronous browsing state in response to the control instruction, and perform a control operation on the shared file;
  • the second sending unit 906 is configured to send a second request in response to the control instruction, where the second request is used to request to perform a control operation on the shared file.
  • the terminal further includes a third receiving unit 907 and a second executing unit 908;
  • the third receiving unit 907 is configured to receive a download request.
  • the second execution unit 908 is configured to perform a download operation on the shared file in response to the download request.
  • the terminal further includes a fourth receiving unit 909 and a third sending unit 910;
  • the fourth receiving unit 909 is configured to receive first information, where the first information is used to represent current synchronization browsing state information of the client;
  • the third sending unit 910 is configured to send processing information, where the processing information is used to identify a processing operation corresponding to the first information determined according to a preset processing rule.
  • the third sending unit 910 includes a statistic module 9101, a determining module 9102, and a sending module 9103.
  • the statistic module 9101 is configured to record and collect the first information to obtain a statistical result
  • the determining module 9102 is configured to determine, according to a preset processing rule, a processing operation corresponding to the statistical result
  • the sending module 9103 is configured to send the processing information formed by the determined processing operation.
  • Each unit in the terminal and the module included in the unit in the embodiment of the present invention may be implemented by a processor in the terminal, or may be implemented by a specific logic circuit; for example, in practical applications, it may be located in the center of the terminal.
  • a central processing unit CPU
  • a microprocessor Micro Processing Unit (MPU)
  • DSP digital signal processor
  • FPGA Field Programmable Gate Array
  • FIG. 14 is a schematic diagram of a composition of a ten terminal according to an embodiment of the present invention.
  • the terminal belongs to a client.
  • the terminal in the embodiment of the present invention includes: a fifth receiving unit 1001 and a third executing unit 1002. a fourth transmitting unit 1003, a sixth receiving unit 1004, and a fourth executing unit 1005; wherein
  • the fifth receiving unit 1001 is configured to receive the first request.
  • the third executing unit 1002 is configured to perform a processing operation on the shared resource configuration information in response to the first request;
  • the fourth sending unit 1003 is configured to send a processing response, where the processing response is used to indicate that the first request is accepted;
  • the sixth receiving unit 1004 is configured to receive the second request.
  • the fourth execution unit 1005 is configured to enter a synchronous browsing state in response to the second request, and perform a control operation on the shared file.
  • the terminal further includes a second trigger unit 1006 and a fifth execution unit 1007;
  • the second triggering unit 1006 is configured to trigger a second operation; the second operation is used to switch the browsing mode;
  • the fifth execution unit 1007 is configured to perform a first control operation on the shared file in response to the second operation.
  • the terminal further includes a fifth sending unit 1008, a seventh receiving unit 1009, and a sixth executing unit 1010;
  • the fifth sending unit 1008 is configured to send first information, where the first information is used to represent current synchronization browsing state information of the user;
  • the seventh receiving unit 1009 is configured to receive processing information.
  • the sixth execution unit 1010 is configured to perform a processing operation corresponding to the first information in response to the processing information.
  • the terminal further includes a sixth sending unit 1011;
  • the sixth sending unit 1011 is configured to send a download request, where the download request is used to request a download operation on the shared file.
  • Each unit in the terminal provided in the embodiment of the present invention may be implemented by a processor in the terminal, or may be implemented by a specific logic circuit; for example, in actual applications, the CPU, MPU, DSP, FPGA, etc. located in the terminal may be used. achieve.
  • FIG. 18 is a system for simultaneously browsing a shared resource according to an embodiment of the present invention. As shown in FIG. 18, the system includes a server 900 and a client 1000;
  • the server 900 is configured to trigger a first operation; the first operation is used to set a shared resource Source configuration information; in response to the first operation, transmitting a first request; the first request is used to request the client to process the shared resource configuration information; and receive a processing response, where the processing response is used to indicate
  • the client accepts the first request, establishes a resource sharing connection based on the processing response, enters a connection sharing state, receives a control instruction, responds to the control instruction, enters a synchronous browsing state, and performs a control operation on the shared file;
  • the control instruction sends a second request, where the second request is used to request the client to perform a control operation on the shared file;
  • the client 1000 is configured to receive a first request, perform a processing operation on the shared resource related information in response to the first request, send a processing response, receive the second request, respond to the second request, enter a synchronous browsing state, and perform sharing File control operations.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a 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 and optical storage, etc.) including computer usable program code.
  • These computer program instructions can also be stored in a bootable computer or other programmable data processing
  • the apparatus is readable in a computer readable memory in a particular manner such that instructions stored in the computer readable memory produce an article of manufacture comprising instruction means implemented in one or more flows and/or block diagrams of the flowchart The function specified in the box or in multiple 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.
  • the first operation is triggered by the server, where the first operation is used to set the shared resource configuration information; in response to the first operation, the first request is sent, where the first request is used to request the client to Processing of the shared resource configuration information; receiving the processing response, the processing response being used to indicate that the client accepts the first request, establishing a resource sharing connection based on the processing response, entering a connection sharing state; receiving a control instruction; Controlling the instruction, entering a synchronous browsing state, performing a control operation on the shared file; and in response to the control instruction, transmitting a second request, the second request is used to request the client to perform a control operation on the shared file.
  • the server can synchronously control the client's control operation on the shared file, thereby achieving the purpose of synchronously browsing the shared resource between the server and the client.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明实施例提供了一种资源共享方法、终端、系统及计算机存储介质,服务端触发第一操作,所述第一操作用于设置共享资源相关信息;响应所述第一操作,发送第一请求,所述第一请求用于请求客户端对所述共享资源相关信息的处理;接收处理响应,所述处理响应用于表明客户端接受所述第一请求,基于所述处理响应,建立资源共享连接,进入连接共享状态;接收控制指令;响应所述控制指令,进入同步浏览状态,执行对共享文件的控制操作;响应所述控制指令,发送第二请求,所述第二请求用于请求客户端执行对共享文件的控制操作。

Description

一种资源共享方法、终端、系统及计算机存储介质 技术领域
本发明涉及网络通信技术,尤其涉及一种资源共享方法、终端、系统及计算机存储介质。
背景技术
随着通信技术的发展,各种应用技术的出现,不断满足人类的多种需求,方便人们的工作和生活。在日常工作生活中,如上课、开会、观看现场表演等场合,通常采用投影仪、大屏幕显示器等设备来显示共享资源,以供人们观看。然而,这些设备的功能比较局限,使得用户上课时因处于靠后的位置可能看不清屏幕,开会时缺少投影仪设备,观看表演时距离太远而无法更好的欣赏表演等,从而给人们的工作和生活带来不便。
为了解决上述问题,可以直接将共享文件预先发送给客户端。然而,在这种情况下,共享资源的服务端又无法控制客户端对共享文件的使用情况,从而无法达到预期的效果。例如,预先将共享文件下载到移动终端如手机上;在会议过程中,手机用户可以对共享文件进行自行浏览。这样,由于会议主持者不能够实时控制手机用户对共享文件的浏览状态,存在手机用户以浏览共享文件的名义使用手机来发微信、浏览网页等情况,使得会议主持者无法利用手机达到共享信息的目的。
发明内容
本发明实施例提供一种资源共享方法、终端、系统及计算机存储介质,服务端能够同步控制客户端对共享文件的控制操作,从而达到服务端和客户端之间同步浏览共享资源的目的。
本发明实施例的技术方案是这样实现的:
本发明实施例提供一种资源共享方法,应用于服务端,该方法包括:
触发第一操作;所述第一操作用于设置共享资源配置信息;
响应所述第一操作,发送第一请求;所述第一请求用于请求对所述共享资源配置信息的处理;
接收处理响应,所述处理响应用于表明接受所述第一请求,基于所述处理响应,建立资源共享连接,进入连接共享状态;
接收控制指令;
响应所述控制指令,进入同步浏览状态,执行对共享文件的控制操作;
响应所述控制指令,发送第二请求;所述第二请求用于请求执行对共享文件的控制操作。
在一实施例中,所述基于所述处理响应,建立资源共享连接之后,所述方法还包括:
接收下载请求;
响应所述下载请求,执行对共享文件的下载操作。
在一实施例中,所述方法还包括:
接收第一信息;所述第一信息用于表征客户端当前的同步浏览状态信息;
发送处理信息;所述处理信息用于表征根据预设处理规则所确定的与所述第一信息相对应的处理操作。
在一实施例中,所述发送处理信息包括:
对所述第一信息进行记录和统计,得到统计结果;
根据预设处理规则确定与所述统计结果相对应的处理操作;
发送由所确定的处理操作所形成的处理信息。
本发明实施例还提供一种资源共享方法,应用于客户端,该方法包括:
接收第一请求;
响应第一请求,执行对共享资源配置信息的处理操作;
发送处理响应;所述处理响应用于表明接受所述第一请求;
接收第二请求;
响应第二请求,进入同步浏览状态,执行对共享文件的控制操作。
在一实施例中,所述方法还包括:
触发第二操作;所述第二操作用于切换浏览模式;
响应第二操作,执行对共享文件的第一控制操作。
在一实施例中,所述方法还包括:
发送第一信息;所述第一信息用于表征自身当前的同步浏览状态信息;
接收处理信息;
响应所述处理信息,执行与所述第一信息相对应的处理操作。
在一实施例中,所述发送处理响应之后,所述方法还包括:
发送下载请求;所述下载请求用于请求对共享文件的下载操作。
本发明实施例还提供一种终端,所述终端包括第一触发单元、第一发送单元、第一接收单元、第二接收单元、第一执行单元和第二发送单元;其中,
所述第一触发单元,配置为触发第一操作;所述第一操作用于设置共享资源配置信息;
所述第一发送单元,配置为响应所述第一操作,发送第一请求;所述第一请求用于请求对所述共享资源配置信息的处理;
所述第一接收单元,配置为接收处理响应,所述处理响应用于表明接受所述第一请求,基于所述处理响应,建立资源共享连接,进入连接共享状态;
所述第二接收单元,配置为接收控制指令;
所述第一执行单元,配置为响应所述控制指令,进入同步浏览状态,执行对共享文件的控制操作;
所述第二发送单元,配置为响应所述控制指令,发送第二请求;所述第二请求用于请求执行对共享文件的控制操作。
在一实施例中,所述终端还包括第三接收单元和第二执行单元;其中,
所述第三接收单元,配置为接收下载请求;
所述第二执行单元,配置为响应所述下载请求,执行对共享文件的下载操作。
在一实施例中,所述终端还包括第四接收单元和第三发送单元;其中,
所述第四接收单元,配置为接收第一信息;所述第一信息用于表征客户端当前的同步浏览状态信息;
所述第三发送单元,配置为发送处理信息;所述处理信息用于表征根据预设处理规则所确定的与所述第一信息相对应的处理操作。
在一实施例中,所述第三发送单元包括统计模块、确定模块、发送模块;其中,
所述统计模块,配置为对所述第一信息进行记录和统计,得到统计结果;
所述确定模块,配置为根据预设处理规则确定与所述统计结果相对应的处理操作;
所述发送模块,配置为发送由所确定的处理操作所形成的处理信息。
本发明实施例还提供另一种终端,所述终端包括第五接收单元、第三执行单元、第四发送单元、第六接收单元和第四执行单元;其中,
所述第五接收单元,配置为接收第一请求;
所述第三执行单元,配置为响应第一请求,执行对共享资源配置信息的处理操作;
所述第四发送单元,配置为发送处理响应;所述处理响应用于表明接受所述第一请求;
所述第六接收单元,配置为接收第二请求;
所述第四执行单元,用于响应第二请求,进入同步浏览状态,执行对共享文件的控制操作。
在一实施例中,所述终端还包括第二触发单元和第五执行单元;其中,
所述第二触发单元,配置为触发第二操作;所述第二操作用于切换浏览模式;
所述第五执行单元,配置为响应第二操作,执行对共享文件的第一控制操作。
在一实施例中,所述终端还包括第五发送单元、第七接收单元和第六执行单元;其中,
所述第五发送单元,配置为发送第一信息;所述第一信息用于表征自身当前的同步浏览状态信息;
所述第七接收单元,配置为接收处理信息;
所述第六执行单元,配置为响应所述处理信息,执行与所述第一信息相对应的处理操作。
在一实施例中,所述终端还包括第六发送单元;其中,
所述第六发送单元,配置为发送下载请求;所述下载请求用于请求对共享文件的下载操作。
本发明实施例又提供一种资源共享系统,所述系统包括服务端和客户端;其中,
所述服务端,配置为触发第一操作;所述第一操作用于设置共享资源配置信息;响应所述第一操作,发送第一请求;所述第一请求用于请求所述客户端对所述共享资源配置信息的处理;接收处理响应,所述处理响应 用于表明所述客户端接受所述第一请求,基于所述处理响应,建立资源共享连接,进入连接共享状态;接收控制指令;响应所述控制指令,进入同步浏览状态,执行对共享文件的控制操作;响应所述控制指令,发送第二请求;所述第二请求用于请求所述客户端执行对共享文件的控制操作;
所述客户端,配置为接收第一请求;响应第一请求,执行对共享资源配置信息的处理操作;发送处理响应;接收第二请求;响应第二请求,进入同步浏览状态,执行对共享文件的控制操作。
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行本发明实施例所述的资源共享方法。
本发明实施例所提供的资源共享方法、终端、系统及计算机存储介质,服务端触发第一操作;所述第一操作用于设置共享资源配置信息;响应所述第一操作,发送第一请求;所述第一请求用于请求客户端对所述共享资源配置信息的处理;接收处理响应,所述处理响应用于表明客户端接受所述第一请求,基于所述处理响应,建立资源共享连接,进入连接共享状态;接收控制指令;响应所述控制指令,进入同步浏览状态,执行对共享文件的控制操作;响应所述控制指令,发送第二请求;所述第二请求用于请求客户端执行对共享文件的控制操作。如此,服务端能够同步控制客户端对共享文件的控制操作,从而达到服务端和客户端之间同步浏览共享资源的目的。
进一步地,服务端接收第一信息;所述第一信息用于表征客户端当前的同步浏览状态信息;发送处理信息;所述处理信息用于表征根据预设处理规则所确定的与所述第一信息相对应的处理操作;相应地,客户端接收处理信息;响应所述处理信息,执行与所述第一信息相对应的处理操作。如此,还能够实现在服务端和客户端同步浏览共享资源的同时,监测所述 客户端当前的同步浏览状态,并执行相应的处理操作,以实现对客户端的操作活动的必要监控,从而达到共享资源的目的。
附图说明
图1为本发明实施例资源共享方法的流程示意图一;
图2为本发明实施例资源共享方法的流程示意图二;
图3为本发明实施例资源共享方法的流程示意图三;
图4为本发明实施例资源共享方法中发送处理信息的流程示意图;
图5为本发明实施例资源共享方法的流程示意图四;
图6为本发明实施例资源共享方法的流程示意图五;
图7为本发明实施例资源共享方法的流程示意图六;
图8为本发明实施例资源共享方法的流程示意图七;
图9为本发明实施例资源共享方法的流程示意图八;
图10为本发明实施例九终端的组成结构示意图一;
图11为本发明实施例九终端的组成结构示意图二;
图12为本发明实施例九终端的组成结构示意图三;
图13为本发明实施例九终端的组成结构示意图四;
图14为本发明实施例十终端的组成结构示意图一;
图15为本发明实施例十终端的组成结构示意图二;
图16为本发明实施例十终端的组成结构示意图三;
图17为本发明实施例十终端的组成结构示意图四;
图18为本发明实施例资源共享系统的组成结构示意图。
具体实施方式
在本发明实施例中,触发第一操作;所述第一操作用于设置共享资源配置信息;响应所述第一操作,发送第一请求;所述第一请求用于请求对 所述共享资源配置信息的处理;接收处理响应,所述处理响应用于表明接受所述第一请求,基于所述处理响应,建立资源共享连接,进入连接共享状态;接收控制指令;响应所述控制指令,进入同步浏览状态,执行对共享文件的控制操作;响应所述控制指令,发送第二请求;所述第二请求用于请求执行对共享文件的控制操作。
下面结合附图及具体实施例对本发明再作进一步详细的说明。
实施例一
图1为本发明实施例资源共享方法的流程示意图一,应用于服务端,如图1所示,本发明实施例资源共享方法包括:
步骤S101:触发第一操作;所述第一操作用于设置共享资源配置信息;
具体地,所述服务端触发第一操作,设置共享资源配置信息。
这里,所述共享资源配置信息包括共享文件、允许登陆的客户端的IP地址或允许登陆的客户端账户、对客户端的运行环境要求、对客户端在整个同步浏览状态中对共享文件的控制操作要求等。其中,所述共享文件包括文档、图片、音视频等数据文件。
这里,所述服务端所属终端包括移动终端以及非移动终端,所述非移动终端包括台式计算机,所述移动终端包括智能手机、平板电脑、笔记本电脑、以及个人数字助理等。
步骤S102:响应所述第一操作,发送第一请求;所述第一请求用于请求对所述共享资源配置信息的处理;
具体地,所述服务端响应所述第一操作,发送第一请求,以请求客户端对所述共享资源配置信息的处理。
这里,所述客户端对所述共享资源配置信息的处理包括:根据所述共享资源配置信息中对客户端的运行环境要求设置自身的运行环境;当客户端自身所设置的运行环境满足所述运行环境要求时,发送处理响应,以通 知所述服务端建立资源共享连接,进入连接共享状态。其中,所述客户端设置自身的运行环境包括自动设置或手动设置。
需要说明的是,在本发明实施例步骤S102中,所述服务端通过响应所述第一操作的方式,直接根据所设置的允许登陆的客户端的IP地址或允许登陆的客户端账户向一个或多个客户端发送第一请求。而在实现应用中,所述服务端还可以通过接收所述客户端发送的连接请求,通过检测确定发起连接请求的客户端的IP地址或客户端账户属于允许登陆的客户端的IP地址或允许登陆的客户端账户时,再响应所述第一操作,向发起连接请求的客户端发送第一请求,以请求所述客户端对所述共享资源配置信息的处理。
步骤S103:接收处理响应,所述处理响应用于表明接受所述第一请求,基于所述处理响应,建立资源共享连接,进入连接共享状态;
在本发明实施例一中,所述客户端已经获得共享文件。所述客户端获得共享文件的方式有两种情况:
1)所述客户端在收到服务端的第一请求后,解析所述第一请求,获得第一请求中所携带的共享文件;在该方式下,要求所述服务端发送的第一请求中携带有共享文件;2)所述客户端本身存储有共享文件。
步骤S104:接收控制指令;
具体地,所述服务端接收用户对共享文件的控制操作指令。
步骤S105:响应所述控制指令,进入同步浏览状态,执行对共享文件的控制操作;
具体地,所述服务端响应所述控制指令,进入同步浏览状态,执行对共享文件的控制操作。
这里,所述对共享文件的控制操作包括对文档、图片、音视频的浏览、播放的控制,如翻页、进度跳转、对当前显示内容的标记等操作。
步骤S106:响应所述控制指令,发送第二请求;所述第二请求用于请 求执行对共享文件的控制操作。
具体地,所述服务端响应所述控制指令,发送第二请求,请求客户端执行对共享文件的控制操作。
这里,所述对共享文件的控制操作包括对文档、图片、音视频的浏览、播放的控制,如翻页、进度跳转、对当前显示内容的标记等操作。
在本发明实施例中,步骤S105和步骤S106同步进行。如此,服务端能够同步控制客户端对共享文件的控制操作,从而达到服务端和客户端之间同步浏览共享资源的目的。
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行本发明实施例一所述的资源共享方法。
实施例二
图2为本发明实施例资源共享方法的流程示意图二,应用于服务端,如图2示,本发明实施例资源共享方法包括:
步骤S201:触发第一操作;所述第一操作用于设置共享资源配置信息;
具体地,所述服务端触发第一操作,设置共享资源配置信息。
这里,所述共享资源配置信息包括共享文件、允许登陆的客户端的IP地址或允许登陆的客户端账户、对客户端的运行环境要求、对客户端在整个同步浏览状态中对共享文件的控制操作要求等。其中,所述共享文件包括文档、图片、音视频等数据文件。
这里,所述服务端所属终端包括移动终端以及非移动终端,所述非移动终端包括台式计算机,所述移动终端包括智能手机、平板电脑、笔记本电脑、以及个人数字助理等。
步骤S202:响应所述第一操作,发送第一请求;所述第一请求用于请求对所述共享资源配置信息的处理;
具体地,所述服务端响应所述第一操作,发送第一请求,以请求客户端对所述共享资源配置信息的处理。
这里,所述客户端对所述共享资源配置信息的处理包括:根据所述共享资源配置信息中对客户端的运行环境要求设置自身的运行环境;当客户端自身所设置的运行环境满足所述运行环境要求时,发送处理响应,以通知所述服务端建立资源共享连接,进入连接共享状态。其中,所述客户端设置自身的运行环境包括自动设置或手动设置。
需要说明的是,在本发明实施例步骤S102中,所述服务端通过响应所述第一操作的方式,直接根据所设置的允许登陆的客户端的IP地址或允许登陆的客户端账户向一个或多个客户端发送第一请求。而在实现应用中,所述服务端还可以通过接收所述客户端发送的连接请求,通过检测确定发起连接请求的客户端的IP地址或客户端账户属于允许登陆的客户端的IP地址或允许登陆的客户端账户时,再响应所述第一操作,向发起连接请求的客户端发送第一请求,以请求所述客户端对所述共享资源相关信息的处理。
步骤S203:接收处理响应,所述处理响应用于表明接受所述第一请求,基于所述处理响应,建立资源共享连接,进入连接共享状态;
步骤S204:接收下载请求;
在本发明实施例二中,由于所述客户端并未获得共享文件,因此需要通过服务器来下载共享文件。
具体地,所述服务端接收客户端发送的下载共享文件的请求。
步骤S205:响应所述下载请求,执行对共享文件的下载操作;
具体地,所述服务端响应所述下载请求,将所述共享文件下载到客户端。
这里,所述共享文件的下载方式可以根据客户端的需要,选择一次性全部下载完成,或选择在后续步骤S207服务端进入同步浏览状态时再下载。
步骤S206:接收控制指令;
具体地,所述服务端接收用户对共享文件的控制操作指令。
步骤S207:响应所述控制指令,进入同步浏览状态,执行对共享文件的控制操作;
具体地,所述服务端响应所述控制指令,进入同步浏览状态,执行对共享文件的控制操作。
这里,所述对共享文件的控制操作包括对文档、图片、音视频的浏览、播放的控制,如翻页、进度跳转、对当前显示内容的标记等操作。
步骤S208:响应所述控制指令,发送第二请求;所述第二请求用于请求执行对共享文件的控制操作。
具体地,所述服务端响应所述控制指令,发送第二请求,请求客户端执行对共享文件的控制操作。
这里,所述对共享文件的控制操作包括对文档、图片、音视频的浏览、播放的控制,如翻页、进度跳转、对当前显示内容的标记等操作。
在本发明实施例中,步骤S207和步骤S208同步进行。如此,服务端能够同步控制客户端对共享文件的控制操作,从而达到服务端和客户端之间同步浏览共享资源的目的。
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行本发明实施例二所述的资源共享方法。
实施例三
图3为本发明实施例资源共享方法的流程示意图三,应用于服务端,如图3所示,本发明实施例资源共享方法包括:
步骤S101:触发第一操作;所述第一操作用于设置共享资源配置信息;
步骤S102:响应所述第一操作,发送第一请求;所述第一请求用于请 求对所述共享资源配置信息的处理;
步骤S103:接收处理响应,所述处理响应用于表明接受所述第一请求,基于所述处理响应,建立资源共享连接,进入连接共享状态;
步骤S104:接收控制指令;
步骤S105:响应所述控制指令,进入同步浏览状态,执行对共享文件的控制操作;
步骤S106:响应所述控制指令,发送第二请求;所述第二请求用于请求执行对共享文件的控制操作;
本发明实施例三中的步骤S101至步骤S106可以分别对应地参见实施例一中的步骤S101至步骤S106,为节约篇幅,这里不再赘述。
步骤S301:接收第一信息;所述第一信息用于表征客户端当前的同步浏览状态信息;
具体地,所述服务端接收第一信息,即接收所述客户端当前的同步浏览状态信息。
这里,所述第一信息包括所述客户端是否处于静音模式、是否切换至其他应用、切换至其他应用软件的时长和切换次数等。
步骤S302:发送处理信息;所述处理信息用于表征根据预设处理规则所确定的与所述第一信息相对应的处理操作。
在本发明实施例三中,如图4所示,所述服务端发送处理信息包括:
步骤S3021:对所述第一信息进行记录和统计,得到统计结果;
步骤S3022:根据预设处理规则确定与所述统计结果相对应的处理操作;
步骤S3023:发送由所确定的处理操作所形成的处理信息。
这里,所述处理操作包括将客户端设置为静音状态、关闭所述客户端正在运行的其他应用、或断开资源共享连接等。
如此,通过本发明实施例所述资源共享方法,服务端能够同步控制客户端对共享文件的控制操作,从而达到服务端和客户端之间同步浏览共享资源的目的。另外,还能够实现在服务端和客户端同步浏览共享资源的同时,监测所述客户端当前的同步浏览状态,并执行相应的处理操作,以实现对客户端的操作活动的必要监控,从而达到共享资源的目的。
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行本发明实施例三所述的资源共享方法。
实施例四
图5为本发明实施例资源共享方法的流程示意图四,应用于服务端,如图5所示,本发明实施例资源共享方法包括:
步骤S201:触发第一操作;所述第一操作用于设置共享资源配置信息;
步骤S202:响应所述第一操作,发送第一请求;所述第一请求用于请求对所述共享资源配置信息的处理;
步骤S203:接收处理响应,所述处理响应用于表明接受所述第一请求,基于所述处理响应,建立资源共享连接,进入连接共享状态;
步骤S204:接收下载请求;
步骤S205:响应所述下载请求,执行对共享文件的下载操作。
步骤S206:接收控制指令;
步骤S207:响应所述控制指令,进入同步浏览状态,执行对共享文件的控制操作;
步骤S208:响应所述控制指令,发送第二请求;所述第二请求用于请求执行对共享文件的控制操作;
本发明实施例四中的步骤S201至步骤S208可以分别对应地参见实施例二中的步骤S201至步骤S208,为节约篇幅,这里不再赘述。
步骤S301:接收第一信息;所述第一信息用于表征客户端当前的同步浏览状态信息;
步骤S302:发送处理信息;所述处理信息用于表征根据预设处理规则所确定的与所述第一信息相对应的处理操作。
本发明实施例四中的步骤S301至步骤S302可以分别对应地参见实施例三中的步骤S301至步骤S302,为节约篇幅,这里不再赘述。
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行本发明实施例四所述的资源共享方法。
实施例五
图6为本发明实施例资源共享方法的流程示意图五,应用于客户端,如图6所示,本发明实施例资源共享方法包括:
步骤S501:接收第一请求;
具体地,所述客户端接收服务端发送的第一请求,所述第一请求用于请求客户端对所述共享资源配置信息的处理。
步骤S502:响应第一请求,执行对共享资源相关信息的处理操作;
具体地,所述客户端响应第一请求,执行对共享资源配置信息的处理操作。
这里,所述客户端对所述共享资源配置信息的处理包括:根据所述共享资源配置信息中对客户端的运行环境要求设置自身的运行环境;当客户端自身所设置的运行环境满足所述运行环境要求时,发送处理响应,以通知所述服务端建立资源共享连接,进入连接共享状态。其中,所述客户端设置自身的运行环境包括自动设置或手动设置。
步骤S503:发送处理响应;所述处理响应用于表明接受所述第一请求;
具体地,当所述客户端完成对所述运行环境的设置后,向服务端发送 处理响应,以表明接受服务端的第一请求。
在本发明实施例五中,所述客户端已经获得共享文件。所述客户端获得共享文件的方式有两种情况:1)所述客户端在收到服务端的第一请求后,解析所述第一请求,获得第一请求中所携带的共享文件;在该方式下,要求所述服务端发送的第一请求中携带有共享文件;2)所述客户端本身存储有共享文件。
步骤S504:接收第二请求;
具体地,所述客户端接收所述服务端发送的第二请求,所述第二请求用于请求执行对共享文件的控制操作。
步骤S505:响应第二请求,进入同步浏览状态,执行对共享文件的控制操作。
具体地,所述客户端响应第二请求,进入同步浏览状态,执行对共享文件的控制操作。
这里,所述对共享文件的控制操作包括对文档、图片、音视频的浏览、播放的控制,如翻页、进度跳转、对当前显示内容的标记等操作。
如此,服务端能够同步控制客户端对共享文件的控制操作,从而达到服务端和客户端之间同步浏览共享资源的目的。
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行本发明实施例五所述的资源共享方法。
实施例六
图7为本发明实施例资源共享方法的流程示意图六,应用于客户端,如图7所示,本发明实施例资源共享方法包括:
步骤S501:接收第一请求;
步骤S502:响应第一请求,执行对共享资源配置信息的处理操作;
步骤S503:发送处理响应;所述处理响应用于表明接受所述第一请求;
步骤S504:接收第二请求;
步骤S505:响应第二请求,进入同步浏览状态,执行对共享文件的控制操作;
本发明实施例六中的步骤S501至步骤S505可以分别对应地参见实施例五中的步骤S501至步骤S505,为节约篇幅,这里不再赘述。
步骤S601:触发第二操作;所述第二操作用于切换浏览模式;
步骤S602:响应第二操作,执行对共享文件的第一控制操作。
具体地,所述客户端触发第二操作,用于切换浏览模式。
这里,所述客户端切换浏览模式包括所述客户端从同步浏览模式切换至自行浏览模式,以响应第二操作,自行对共享文件执行第一控制操作。其中,所述第一控制操作与前述实施例中的控制操作类似,包括对文档、图片、音视频的浏览、播放的控制,如翻页、进度跳转、对当前显示内容的标记等操作。
需要说明的是,所述客户端可以通过步骤S601和S602实现同步浏览模式与自行浏览模式间的相互切换。当所述客户端从自行浏览模式切换回同步浏览模式时,将同步当前服务端对共享文件的浏览进度和操作状态,以达到所述客户端与所述服务端同步浏览共享文件的目的。
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行本发明实施例六所述的资源共享方法。
实施例七
图8为本发明实施例资源共享方法的流程示意图七,应用于客户端,如图8所示,本发明实施例资源共享方法包括:
步骤S501:接收第一请求;
步骤S502:响应第一请求,执行对共享资源配置信息的处理操作;
步骤S503:发送处理响应;所述处理响应用于表明接受所述第一请求;
步骤S504:接收第二请求;
步骤S505:响应第二请求,进入同步浏览状态,执行对共享文件的控制操作;
本发明实施例七中的步骤S501至步骤S505可以分别对应地参见实施例五中的步骤S501至步骤S505,为节约篇幅,这里不再赘述。
步骤S701:发送第一信息;所述第一信息用于表征自身当前的同步浏览状态信息;
具体地,所述客户端向服务端发送第一信息,即向服务端发送自身当前的同步浏览状态信息。
这里,所述第一信息包括所述客户端是否处于静音模式、是否切换至其他应用、切换至其他应用软件的时长和切换次数等。
步骤S702:接收处理信息;
具体地,所述客户端接收服务端发送的处理信息,所述处理信息用于表征所述服务端根据预设处理规则所确定的与所述第一信息相对应的处理操作。
步骤S703:响应所述处理信息,执行与所述第一信息相对应的处理操作。
具体地,所述客户端响应所述处理信息,执行与所述第一信息相对应的处理操作。
这里,所述处理操作包括将客户端设置为静音状态、关闭所述客户端正在运行的其他应用、或断开资源共享连接等。
如此,通过本发明实施例所述资源共享方法,服务端能够同步控制客户端对共享文件的控制操作,从而达到服务端和客户端之间同步浏览共享 资源的目的。另外,还能够实现在服务端和客户端同步浏览共享资源的同时,监测所述客户端当前的同步浏览状态,并执行相应的处理操作,以实现对客户端的操作活动的必要监控,从而达到共享资源的目的。
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行本发明实施例七所述的资源共享方法。
实施例八
图9为本发明实施例资源共享方法的流程示意图八,应用于客户端,如图9所示,本发明实施例资源共享方法包括:
步骤S801:接收第一请求;
具体地,所述客户端接收服务端发送的第一请求,所述第一请求用于请求客户端对所述共享资源配置信息的处理。
步骤S802:响应第一请求,执行对共享资源配置信息的处理操作;
具体地,所述客户端响应第一请求,执行对共享资源配置信息的处理操作。
这里,所述客户端对所述共享资源配置信息的处理包括:根据所述共享资源配置信息中对客户端的运行环境要求设置自身的运行环境;当客户端自身所设置的运行环境满足所述运行环境要求时,发送处理响应,以通知所述服务端建立资源共享连接,进入连接共享状态。其中,所述客户端设置自身的运行环境包括自动设置或手动设置。
步骤S803:发送处理响应;所述处理响应用于表明接受所述第一请求;
具体地,当所述客户端完成对所述运行环境的设置后,向服务端发送处理响应,以表明接受服务端的第一请求。
在本发明实施例八中,由于所述客户端并未获得共享文件,因此需要通过服务器来下载共享文件。
步骤S804:发送下载请求;所述下载请求用于请求对共享文件的下载操作。
具体地,所述客户端向服务端发送下载请求,以请求所述服务端执行对共享文件的下载操作,将所述共享文件下载到所述客户端。
步骤S805:接收第二请求;
具体地,所述客户端接收所述服务端发送的第二请求,所述第二请求用于请求执行对共享文件的控制操作。
步骤S806:响应第二请求,进入同步浏览状态,执行对共享文件的控制操作。
具体地,所述客户端响应第二请求,进入同步浏览状态,执行对共享文件的控制操作。
这里,所述对共享文件的控制操作包括对文档、图片、音视频的浏览、播放的控制,如翻页、进度跳转、对当前显示内容的标记等操作。
如此,服务端能够同步控制客户端对共享文件的控制操作,达到服务端和客户端之间同步浏览共享资源的目的。
需要说明的是,上述各个实施例所述资源共享方法均可应用于安卓(android)系统,也可以应用于其他操作系统,如wince、ios等。
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行本发明实施例八所述的资源共享方法。
实施例九
图10为本发明实施例九终端的组成结构示意图一,所述终端属于服务端,如图10所示,本发明实施例终端包括:第一触发单元901、第一发送单元902、第一接收单元903、第二接收单元904、第一执行单元905和第二发送单元906;其中,
所述第一触发单元901,配置为触发第一操作;所述第一操作用于设置共享资源配置信息;
所述第一发送单元902,配置为响应所述第一操作,发送第一请求;所述第一请求用于请求对所述共享资源配置信息的处理;
所述第一接收单元903,配置为接收处理响应,所述处理响应用于表明接受所述第一请求,基于所述处理响应,建立资源共享连接,进入连接共享状态;
所述第二接收单元904,配置为接收控制指令;
所述第一执行单元905,配置为响应所述控制指令,进入同步浏览状态,执行对共享文件的控制操作;
所述第二发送单元906,配置为响应所述控制指令,发送第二请求;所述第二请求用于请求执行对共享文件的控制操作。
在本发明实施例中,如图11所示,所述终端还包括第三接收单元907和第二执行单元908;其中,
所述第三接收单元907,配置为接收下载请求;
所述第二执行单元908,配置为响应所述下载请求,执行对共享文件的下载操作。
在本发明实施例中,如图12所示,所述终端还包括第四接收单元909和第三发送单元910;其中,
所述第四接收单元909,配置为接收第一信息;所述第一信息用于表征客户端当前的同步浏览状态信息;
所述第三发送单元910,配置为发送处理信息;所述处理信息用于表征根据预设处理规则所确定的与所述第一信息相对应的处理操作。
在本发明实施例中,如图13所示,所述第三发送单元910包括统计模块9101、确定模块9102、发送模块9103;其中,
所述统计模块9101,配置为对所述第一信息进行记录和统计,得到统计结果;
所述确定模块9102,配置为根据预设处理规则确定与所述统计结果相对应的处理操作;
所述发送模块9103,配置为发送由所确定的处理操作所形成的处理信息。
本发明实施例中提供的终端中的各单元,及单元各自包括的模块都可以通过终端中的处理器实现,也可以通过具体的逻辑电路实现;比如,在实际应用中,可由位于终端的中央处理器(Central Processing Unit,CPU)、微处理器(Micro Processing Unit,MPU)、数字信号处理器(Digital Signal Processor,DSP)、或现场可编程门阵列(Field Programmable Gate Array,FPGA)等实现。
实施例十
图14为本发明实施例十终端的组成结构示意图一,所述终端属于客户端,如图14所示,本发明实施例所述终端包括:第五接收单元1001、第三执行单元1002、第四发送单元1003、第六接收单元1004和第四执行单元1005;其中,
所述第五接收单元1001,配置为接收第一请求;
所述第三执行单元1002,配置为响应第一请求,执行对共享资源配置信息的处理操作;
所述第四发送单元1003,配置为发送处理响应;所述处理响应用于表明接受所述第一请求;
所述第六接收单元1004,配置为接收第二请求;
所述第四执行单元1005,配置为响应第二请求,进入同步浏览状态,执行对共享文件的控制操作。
在本发明实施例中,如图15所示,所述终端还包括第二触发单元1006和第五执行单元1007;其中,
所述第二触发单元1006,配置为触发第二操作;所述第二操作用于切换浏览模式;
所述第五执行单元1007,配置为响应第二操作,执行对共享文件的第一控制操作。
在本发明实施例中,如图16所示,所述终端还包括第五发送单元1008、第七接收单元1009和第六执行单元1010;其中,
所述第五发送单元1008,配置为发送第一信息;所述第一信息用于表征自身当前的同步浏览状态信息;
所述第七接收单元1009,配置为接收处理信息;
所述第六执行单元1010,配置为响应所述处理信息,执行与所述第一信息相对应的处理操作。
在本发明实施例中,如图17所示,所述终端还包括第六发送单元1011;其中,
所述第六发送单元1011,配置为发送下载请求;所述下载请求用于请求对共享文件的下载操作。
本发明实施例中提供的终端中的各单元都可以通过终端中的处理器实现,也可以通过具体的逻辑电路实现;比如,在实际应用中,可由位于终端的CPU、MPU、DSP、FPGA等实现。
实施例十一
图18为本发明实施例同步浏览共享资源的系统,如图18所示,所述系统包括服务端900和客户端1000;其中,
所述服务端900,配置为触发第一操作;所述第一操作用于设置共享资 源配置信息;响应所述第一操作,发送第一请求;所述第一请求用于请求所述客户端对所述共享资源配置信息的处理;接收处理响应,所述处理响应用于表明所述客户端接受所述第一请求,基于所述处理响应,建立资源共享连接,进入连接共享状态;接收控制指令;响应所述控制指令,进入同步浏览状态,执行对共享文件的控制操作;响应所述控制指令,发送第二请求;所述第二请求用于请求所述客户端执行对共享文件的控制操作;
所述客户端1000,配置为接收第一请求;响应第一请求,执行对共享资源相关信息的处理操作;发送处理响应;接收第二请求;响应第二请求,进入同步浏览状态,执行对共享文件的控制操作。
本发明实施例所记载的技术方案之间,在不冲突的情况下,可以任意组合。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理 设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。
工业实用性
本发明实施例通过服务端触发第一操作,所述第一操作用于设置共享资源配置信息;响应所述第一操作,发送第一请求,所述第一请求用于请求客户端对所述共享资源配置信息的处理;接收处理响应,所述处理响应用于表明客户端接受所述第一请求,基于所述处理响应,建立资源共享连接,进入连接共享状态;接收控制指令;响应所述控制指令,进入同步浏览状态,执行对共享文件的控制操作;响应所述控制指令,发送第二请求,所述第二请求用于请求客户端执行对共享文件的控制操作。如此,服务端能够同步控制客户端对共享文件的控制操作,从而达到服务端和客户端之间同步浏览共享资源的目的。

Claims (18)

  1. 一种资源共享方法,应用于服务端,所述方法包括:
    触发第一操作;所述第一操作用于设置共享资源配置信息;
    响应所述第一操作,发送第一请求;所述第一请求用于请求对所述共享资源配置信息的处理;
    接收处理响应,所述处理响应用于表明接受所述第一请求,基于所述处理响应,建立资源共享连接,进入连接共享状态;
    接收控制指令;
    响应所述控制指令,进入同步浏览状态,执行对共享文件的控制操作;
    响应所述控制指令,发送第二请求;所述第二请求用于请求执行对共享文件的控制操作。
  2. 根据权利要求1所述的方法,其中,所述基于所述处理响应,建立资源共享连接之后,所述方法还包括:
    接收下载请求;
    响应所述下载请求,执行对共享文件的下载操作。
  3. 根据权利要求1或2所述的方法,其中,所述方法还包括:
    接收第一信息;所述第一信息用于表征客户端当前的同步浏览状态信息;
    发送处理信息;所述处理信息用于表征根据预设处理规则所确定的与所述第一信息相对应的处理操作。
  4. 根据权利要求3所述的方法,其中,所述发送处理信息包括:
    对所述第一信息进行记录和统计,得到统计结果;
    根据预设处理规则确定与所述统计结果相对应的处理操作;
    发送由所确定的处理操作所形成的处理信息。
  5. 一种资源共享方法,应用于客户端,所述方法包括:
    接收第一请求;
    响应第一请求,执行对共享资源配置信息的处理操作;
    发送处理响应;所述处理响应用于表明接受所述第一请求;
    接收第二请求;
    响应第二请求,进入同步浏览状态,执行对共享文件的控制操作。
  6. 根据权利要求5所述的方法,其中,所述方法还包括:
    触发第二操作;所述第二操作用于切换浏览模式;
    响应第二操作,执行对共享文件的第一控制操作。
  7. 根据权利要求5或6所述的方法,其中,所述方法还包括:
    发送第一信息;所述第一信息用于表征自身当前的同步浏览状态信息;
    接收处理信息;
    响应所述处理信息,执行与所述第一信息相对应的处理操作。
  8. 根据权利要求5或6所述的方法,其中,所述发送处理响应之后,所述方法还包括:
    发送下载请求;所述下载请求用于请求对共享文件的下载操作。
  9. 一种终端,所述终端包括第一触发单元、第一发送单元、第一接收单元、第二接收单元、第一执行单元和第二发送单元;
    所述第一触发单元,配置为触发第一操作;所述第一操作用于设置共享资源配置信息;
    所述第一发送单元,配置为响应所述第一操作,发送第一请求;所述第一请求用于请求对所述共享资源配置信息的处理;
    所述第一接收单元,配置为接收处理响应,所述处理响应用于表明接受所述第一请求,基于所述处理响应,建立资源共享连接,进入连接共享状态;
    所述第二接收单元,配置为接收控制指令;
    所述第一执行单元,配置为响应所述控制指令,进入同步浏览状态,执行对共享文件的控制操作;
    所述第二发送单元,配置为响应所述控制指令,发送第二请求;所述第二请求用于请求执行对共享文件的控制操作。
  10. 根据权利要求9所述的终端,其中,所述终端还包括第三接收单元和第二执行单元;
    所述第三接收单元,配置为接收下载请求;
    所述第二执行单元,配置为响应所述下载请求,执行对共享文件的下载操作。
  11. 根据权利要求9或10所述的终端,其中,所述终端还包括第四接收单元和第三发送单元;
    所述第四接收单元,配置为接收第一信息;所述第一信息用于表征客户端当前的同步浏览状态信息;
    所述第三发送单元,配置为发送处理信息;所述处理信息用于表征根据预设处理规则所确定的与所述第一信息相对应的处理操作。
  12. 根据权利要求11所述的终端,其中,所述第三发送单元包括统计模块、确定模块、发送模块;
    所述统计模块,配置为对所述第一信息进行记录和统计,得到统计结果;
    所述确定模块,配置为根据预设处理规则确定与所述统计结果相对应的处理操作;
    所述发送模块,配置为发送由所确定的处理操作所形成的处理信息。
  13. 一种终端,所述终端包括第五接收单元、第三执行单元、第四发送单元、第六接收单元和第四执行单元;
    所述第五接收单元,配置为接收第一请求;
    所述第三执行单元,配置为响应第一请求,执行对共享资源相关信息的处理操作;
    所述第四发送单元,配置为发送处理响应;所述处理响应用于表明接受所述第一请求;
    所述第六接收单元,配置为接收第二请求;
    所述第四执行单元,配置为响应第二请求,进入同步浏览状态,执行对共享文件的控制操作。
  14. 根据权利要求13所述的终端,其中,所述终端还包括第二触发单元和第五执行单元;
    所述第二触发单元,配置为触发第二操作;所述第二操作用于切换浏览模式;
    所述第五执行单元,配置为响应第二操作,执行对共享文件的第一控制操作。
  15. 根据权利要求13或14所述的终端,其中,所述终端还包括第五发送单元、第七接收单元和第六执行单元;
    所述第五发送单元,配置为发送第一信息;所述第一信息用于表征自身当前的同步浏览状态信息;
    所述第七接收单元,配置为接收处理信息;
    所述第六执行单元,配置为响应所述处理信息,执行与所述第一信息相对应的处理操作。
  16. 根据权利要求13或14所述的终端,其中,所述终端还包括第六发送单元;
    所述第六发送单元,配置为发送下载请求;所述下载请求用于请求对共享文件的下载操作。
  17. 一种资源共享系统,所述系统包括服务端和客户端;
    所述服务端,配置为触发第一操作;所述第一操作用于设置共享资源配置信息;响应所述第一操作,发送第一请求;所述第一请求用于请求所述客户端对所述共享资源配置信息的处理;接收处理响应,所述处理响应用于表明所述客户端接受所述第一请求,基于所述处理响应,建立资源共享连接,进入连接共享状态;接收控制指令;响应所述控制指令,进入同步浏览状态,执行对共享文件的控制操作;响应所述控制指令,发送第二请求;所述第二请求用于请求所述客户端执行对共享文件的控制操作;
    所述客户端,配置为接收第一请求;响应第一请求,执行对共享资源配置信息的处理操作;发送处理响应;接收第二请求;响应第二请求,进入同步浏览状态,执行对共享文件的控制操作。
  18. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至8任一项所述的资源共享方法。
PCT/CN2014/094528 2014-10-23 2014-12-22 一种资源共享方法、终端、系统及计算机存储介质 WO2016061890A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410571325.5A CN105592116A (zh) 2014-10-23 2014-10-23 一种同步浏览共享资源的方法、终端及系统
CN201410571325.5 2014-10-23

Publications (1)

Publication Number Publication Date
WO2016061890A1 true WO2016061890A1 (zh) 2016-04-28

Family

ID=55760115

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/094528 WO2016061890A1 (zh) 2014-10-23 2014-12-22 一种资源共享方法、终端、系统及计算机存储介质

Country Status (2)

Country Link
CN (1) CN105592116A (zh)
WO (1) WO2016061890A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107846382B (zh) * 2016-09-19 2022-09-13 中兴通讯股份有限公司 一种融合通信中多屏共享的方法、服务器、终端及系统
CN108038005A (zh) * 2017-12-28 2018-05-15 广东蜂助手网络技术股份有限公司 基于zookeeper的共享资源访问方法、客户端、服务端、系统
CN108710480A (zh) * 2018-04-18 2018-10-26 东莞职业技术学院 一种文档共享和文档控制的方法和系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1638338A (zh) * 2003-12-22 2005-07-13 国际商业机器公司 会话共享的方法与系统
CN101834905A (zh) * 2010-05-13 2010-09-15 中兴通讯股份有限公司 远程文档共享方法以及远程文档共享服务器
CN101924779A (zh) * 2009-06-15 2010-12-22 北京搜狗科技发展有限公司 浏览器客户端共享资源的方法、设备及系统
CN103944888A (zh) * 2014-04-02 2014-07-23 天脉聚源(北京)传媒科技有限公司 一种资源共享的方法、装置及系统

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100630072B1 (ko) * 2004-03-29 2006-09-27 삼성전자주식회사 서버 주도형 클라이언트 동기화 방법
TWI431487B (zh) * 2010-02-26 2014-03-21 Maxkit Technology Co Ltd 網路裝置之分享控制方法及其應用
CN202340255U (zh) * 2011-08-30 2012-07-18 余华东 电话监控学童看电视/玩电脑的多功能电源控制装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1638338A (zh) * 2003-12-22 2005-07-13 国际商业机器公司 会话共享的方法与系统
CN101924779A (zh) * 2009-06-15 2010-12-22 北京搜狗科技发展有限公司 浏览器客户端共享资源的方法、设备及系统
CN101834905A (zh) * 2010-05-13 2010-09-15 中兴通讯股份有限公司 远程文档共享方法以及远程文档共享服务器
CN103944888A (zh) * 2014-04-02 2014-07-23 天脉聚源(北京)传媒科技有限公司 一种资源共享的方法、装置及系统

Also Published As

Publication number Publication date
CN105592116A (zh) 2016-05-18

Similar Documents

Publication Publication Date Title
WO2017124842A1 (zh) 一种截图的方法及装置
US8701020B1 (en) Text chat overlay for video chat
US20200267195A1 (en) Closed network video presentation
WO2017107542A1 (zh) 视频节目获取方法、设备及系统
WO2016078186A1 (zh) 一种视频直播的方法以及装置
KR20130064796A (ko) 원격 장치 상에서의 적응성 미디어 콘텐츠 스크러빙
WO2015035767A1 (zh) 一种基于桌面云的媒体控制方法和设备
WO2016127687A1 (zh) 一种同步媒体文件播放进度的方法、装置及系统
JP2015201168A (ja) スマートグラスに基づくプロンプティングのための方法及び装置
US11140222B2 (en) Aggregating electronic devices to provide a synchronized presentation
CN112995759A (zh) 互动业务处理方法、系统、装置、设备及存储介质
EP3163805B1 (en) Method and device for processing information
WO2022135005A1 (zh) 一种基于通话的屏幕共享方法、装置、设备及存储介质
CN111131891B (zh) 一种音视频播放方法、装置、播放设备及系统
WO2017113708A1 (zh) 视频播放方法及装置
CN111245854B (zh) 一种媒体传输方法、媒体控制方法及装置
JP2016218994A (ja) メッセンジャを利用したコンテンツ提供方法、システム、および記録媒体
US20240143649A1 (en) Multimedia information processing method, apparatus, electronic device, and medium
CN112969093A (zh) 互动业务处理方法、装置、设备及存储介质
TW202147834A (zh) 同步本地房間和遠端共享
WO2016061890A1 (zh) 一种资源共享方法、终端、系统及计算机存储介质
US10666588B2 (en) Method for sharing media content, terminal device, and content sharing system
TWI634784B (zh) 數位媒體內容播放轉移的方法及其應用設備
WO2022142568A1 (zh) 内容显示方法及装置
US10484485B2 (en) Context-aware task processing for multiple devices

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: 14904382

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14904382

Country of ref document: EP

Kind code of ref document: A1