CN106202074B - Method and device for processing shared file - Google Patents

Method and device for processing shared file Download PDF

Info

Publication number
CN106202074B
CN106202074B CN201510213584.5A CN201510213584A CN106202074B CN 106202074 B CN106202074 B CN 106202074B CN 201510213584 A CN201510213584 A CN 201510213584A CN 106202074 B CN106202074 B CN 106202074B
Authority
CN
China
Prior art keywords
terminal
file
shared
shared file
token
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510213584.5A
Other languages
Chinese (zh)
Other versions
CN106202074A (en
Inventor
孙令婷
贺睿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201510213584.5A priority Critical patent/CN106202074B/en
Priority to PCT/CN2016/071601 priority patent/WO2016173303A1/en
Publication of CN106202074A publication Critical patent/CN106202074A/en
Application granted granted Critical
Publication of CN106202074B publication Critical patent/CN106202074B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a method and a device for processing shared files, wherein the method comprises the following steps: after receiving a request of a first terminal for sharing a file, confirming whether a token identifier of the shared file is occupied or not; and if the shared file token identification is not occupied, assigning the shared file token identification to the first terminal, and granting the first terminal the authority of sharing files. The invention can process the conflict of accessing file resources by multiple parties simultaneously, can automatically store and synchronously display the information of the shared files by each terminal, further avoids the problem of simultaneous access conflict of the shared files by a plurality of terminals with high efficiency, and brings convenience and practicability.

Description

Method and device for processing shared file
Technical Field
The invention relates to the technical field of video communication control, in particular to a method and a device for processing shared files.
Background
With the development and progress of the times, the network and computer applications are gradually popularized to all social levels. In order to improve the working efficiency and simplify the business process, many enterprises and units choose to use the video conference. In a traditional video conference, a double-current module is usually added for data transmission, and a double-current function is provided, so that an opposite side can see data documents such as PPT (power point) and WORD (WORD) on a local PC (personal computer), but the data transmission is unidirectional, only one end is used for sending the data documents, and one end is used for watching the data documents, for some client groups, multi-party communication confirmation in the video conference is required, and double-current function suggestions cannot meet the requirements of the interactive conference; according to the customer requirements of the video conferencing technology. Synchronous communication tools such as electronic whiteboards have been widely used in video conferences to achieve shared data transmission; however, the application has limited data interaction processing capability, and multiple meeting places cannot interactively share files at the same time, so that the situation that resources are mutually preempted or conflict frequently occurs.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method and an apparatus for processing shared files, so as to avoid file resource conflict caused by simultaneous access of multiple parties.
In order to solve the above technical problem, the present invention provides a method for processing a shared file, including:
after receiving a request of a first terminal for sharing a file, confirming whether a token identifier of the shared file is occupied or not;
and if the shared file token identification is not occupied, assigning the shared file token identification to the first terminal, and granting the first terminal the authority of sharing files.
Further, the method also has the following characteristics: further comprising:
and after receiving the file sharing message of the first terminal, granting the read permission to all terminals participating in the conference.
Further, the method also has the following characteristics: further comprising:
after receiving a request of a second terminal for modifying the file, confirming whether a token identifier for modifying the file is occupied;
and if the modified file token identification is not occupied, assigning the modified file token identification to the second terminal, and granting the read-write permission to the second terminal.
Further, the method also has the following characteristics: further comprising:
and after receiving the file saving message of the second terminal, storing the shared file in a register of the first terminal in a stack mode according to the modification action message of the second terminal to the shared file, and releasing the modification token identification.
Further, the method also has the following characteristics: further comprising:
and releasing the modification token identification after receiving the message of the second terminal which is not stored.
In order to solve the above problem, the present invention further provides an apparatus for processing a shared file, including:
the confirmation module is used for confirming whether the token identifier of the shared file is occupied or not after receiving a request of the first terminal for sharing the file;
and the control module is used for assigning the shared file token identifier to the first terminal and granting the first terminal the authority of sharing files if the shared file token identifier is not occupied.
Further, the device also has the following characteristics:
and the control module is also used for granting the read permission to all the terminals participating in the conference after receiving the file sharing message of the first terminal.
Further, the device also has the following characteristics:
the determining module is further configured to determine whether the token identifier of the modified file is occupied after receiving a request for modifying the file by the second terminal;
the control module is further configured to assign the modified file token identifier to the second terminal and grant the read-write permission to the second terminal if the modified file token identifier is not occupied.
Further, the device also has the following characteristics: further comprising:
the storage module is used for storing the shared file in a register of the first terminal in a stack mode according to the modification action message of the second terminal to the shared file after receiving the file saving message of the second terminal;
and the control module is further configured to release the modification token identifier after receiving the file saving message of the second terminal.
Further, the device also has the following characteristics:
the control module is further configured to release the modification token identifier after receiving the message of the second terminal that is not saved.
Compared with the prior art, the invention provides a method and a device for processing shared files, which can process the conflict of accessing file resources by multiple parties at the same time, can automatically store and synchronously display the information of the shared files by each terminal, further avoid the problem of conflict of accessing the shared files by multiple terminals at the same time with high efficiency, and bring convenience and practicability. The use experience of the current video conference terminal is greatly improved, and the possibility of individually customizing the terminal is brought.
Drawings
FIG. 1 is a flowchart of a method for processing shared files according to an embodiment of the present invention;
FIG. 2 is a flow diagram of a video conference interaction mode of an embodiment of the present invention;
fig. 3 is a schematic diagram of an apparatus for processing a shared file according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
Fig. 1 is a flowchart of a method for processing a shared file according to an embodiment of the present invention, as shown in fig. 1, the method of the embodiment includes the following steps:
s11, after receiving a request of a first terminal for sharing files, confirming whether the token identifier of the shared file is occupied;
s12, if the shared file token is not occupied, assigning the shared file token identification to the first terminal, and granting the first terminal the authority of sharing files.
Therefore, the method of the embodiment can avoid the problem of interface deadlock caused by simultaneous access of a plurality of terminals to the shared file, ensure that only one meeting place can upload the file in the same time period, and ensure that the resource channel is kept unobstructed.
In a preferred embodiment, the method may further include:
s13, after receiving a request of a second terminal for modifying the file, confirming whether the token mark for modifying the file is occupied;
s14, if the modified file token identification is not occupied, assigning the modified file token identification to the second terminal, and granting the read-write permission to the second terminal.
Therefore, the problem of resource conflict caused by simultaneous operation of files by multiple parties can be solved by the method of the embodiment.
The video conference interaction mode of the embodiment is as follows:
and a certain terminal applies for the shared file token identification, the video conference system identifies the terminal as a main meeting place, and other terminals are branch meeting places. Uploading the shared file by the main meeting places, only one meeting place obtains the token identification of the modified file at the same time, and any meeting place has the right to apply for the token identification of the modified file; after a certain meeting place obtains the token modification identification, other meeting places have no modification authority, all modification tracks can be synchronously displayed in all meeting places, and the token modification identification is released when files are stored in the meeting places; the problem of resource conflict caused by simultaneous operation of files by multiple parties can be solved.
The files in the embodiment include, but are not limited to, documents, drawings, execution files, source programs, and the like; the conference mode is in accordance with the occasions of technical communication, design discussion, remote education or training and the like.
The method of the present embodiment is described in detail below by taking sharing a file on a video conference terminal as an example:
as shown in fig. 2, the video conference interaction mode flow of this embodiment is as follows:
step 101: when a terminal is in a meeting, a certain terminal applies for file sharing operation to a video conference system;
step 102: the video conference system receives the request information of the terminal, judges whether the file sharing token identifier is occupied, if so, prompts that the token is occupied, otherwise, the video conference system goes to step 103;
step 103: the video conference system assigns a token identification of the shared file to the terminal, grants the authority of the first terminal to share the file, and simultaneously identifies the terminal as a main meeting place and other terminals as branch meeting places;
and the master meeting place uploads the file after acquiring the shared file token identification.
Step 104: after receiving the shared file information of the main meeting place, the video conference system identifies all meeting places as read permission; and releases the shared file token identification.
Step 105: and a certain meeting place applies for the video conference system to modify the file.
Step 106: and after receiving the application modification message, the video conference system judges whether the file modification token identifier is occupied, if so, the video conference system prompts the meeting place that the file modification token identifier is occupied, otherwise, the video conference system goes to step 107.
Step 107: the video conference system assigns the modification token identification to the terminal and gives read-write permission to the conference place, and other conference places have read permission;
step 108: the terminal modifies the file;
the terminal analyzes the action message generated by the file operation, then synchronously displays the action message locally, and sends the action message to other meeting places; after the conference room analyzes the data, the analysis result is synchronously displayed in the conference room.
Step 109: the terminal applies for a storage instruction for an action message generated by file operation;
after receiving the save message, the video conference system stores the file in a register of a main conference place in a stack mode according to the action message of the conference place, stores a flag bit and releases a modification token identifier;
step 110: the terminal applies for a non-storage instruction for an action message generated by file operation, and the video conference system releases the modification token identification after receiving the non-storage message;
the main meeting place or the slave meeting place applies for downloading the file, and the video conference system receives the file downloading application instruction; and applying for downloading information to the file management module, reading the storage flag bit from the register of the main meeting place by the file management module, and sending the latest saved file to the meeting place.
Compared with the prior art, the method provided by the embodiment of the invention can be used for processing resource conflicts of simultaneous access of multiple parties to the shared file, and can automatically store and synchronously display the information of the shared file by each terminal, thereby avoiding the problem of simultaneous access conflicts of multiple terminals to the shared file with high efficiency, and bringing convenience and practicability. The use experience of the current video conference terminal is greatly improved, and the possibility of individually customizing the terminal is brought.
The above description is all contents of the present invention, and it can be seen from the above description process that the present invention provides a brand new application scenario of a video conference terminal, and particularly resource conflict is caused when multiple users operate files simultaneously, so that usability of the product is improved, and further, satisfaction of the clients is improved.
Fig. 3 is a schematic diagram of an apparatus for processing a shared file according to an embodiment of the present invention, as shown in fig. 3, the apparatus of the embodiment includes:
the confirmation module is used for confirming whether the token identifier of the shared file is occupied or not after receiving a request of the first terminal for sharing the file;
and the control module is used for assigning the shared file token identifier to the first terminal and granting the first terminal the authority of sharing files if the shared file token identifier is not occupied.
In a preferred embodiment, the control module may be further configured to grant, after receiving the file sharing message of the first terminal, read permissions to all terminals participating in the conference.
In a preferred embodiment, the determining module may be further configured to determine whether the token identifier of the modified file is occupied after receiving a request for modifying the file from the second terminal;
the control module may be further configured to assign the modified file token identifier to the second terminal and grant the read-write permission to the second terminal if the modified file token identifier is not occupied.
In a preferred embodiment, the apparatus may further include:
the storage module is used for storing the shared file in a register of the first terminal in a stack mode according to the modification action message of the second terminal to the shared file after receiving the file saving message of the second terminal;
the control module may be further configured to release the modification token identifier after receiving the file save message of the second terminal.
In a preferred embodiment, the control module may be further configured to release the modification token id after receiving the message of the second terminal that is not saved.
It will be understood by those skilled in the art that all or part of the steps of the above methods may be implemented by instructing the relevant hardware through a program, and the program may be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, and the like. Alternatively, all or part of the steps of the above embodiments may be implemented using one or more integrated circuits. Accordingly, each module/unit in the above embodiments may be implemented in the form of hardware, and may also be implemented in the form of a software functional module. The present invention is not limited to any specific form of combination of hardware and software.
The foregoing is only a preferred embodiment of the present invention, and naturally there are many other embodiments of the present invention, and those skilled in the art can make various corresponding changes and modifications according to the present invention without departing from the spirit and the essence of the present invention, and these corresponding changes and modifications should fall within the scope of the appended claims.

Claims (8)

1. A method of processing shared files, comprising:
after a request for uploading a shared file sent by a first terminal is received, determining whether a token identifier of the shared file is occupied or not;
if the shared file token identification is not occupied, assigning the shared file token identification to the first terminal, granting the first terminal the authority of sharing files, and simultaneously identifying the first terminal as a main meeting place so that the first terminal identified as the main meeting place can upload shared files after acquiring the shared file token identification;
and after receiving the shared file uploaded by the first terminal marked as the main meeting place, granting read permission to all terminals participating in the meeting.
2. The method of claim 1, wherein: further comprising:
after receiving a request of a second terminal for modifying the file, confirming whether a token identifier for modifying the file is occupied;
and if the modified file token identification is not occupied, assigning the modified file token identification to the second terminal, and granting the read-write permission to the second terminal.
3. The method of claim 2, wherein: further comprising:
and after receiving the file saving message of the second terminal, storing the shared file in a register of the first terminal in a stack mode according to the modification action message of the second terminal to the shared file, and releasing the modification token identification.
4. The method of claim 2, wherein: further comprising:
and releasing the modification token identification after receiving the message of the second terminal which is not stored.
5. An apparatus for processing shared files, comprising:
the confirmation module is used for confirming whether the token identifier of the shared file is occupied or not after receiving a request for uploading the shared file sent by the first terminal;
the control module is used for assigning the shared file token identification to the first terminal if the shared file token identification is not occupied, granting the first terminal the authority of sharing files, and simultaneously identifying the first terminal as a main meeting place so that the first terminal identified as the main meeting place can upload the shared files after acquiring the shared file token identification;
and after receiving the shared file uploaded by the first terminal marked as the main meeting place, granting read permission to all terminals participating in the meeting.
6. The apparatus of claim 5, wherein:
the confirmation module is further used for confirming whether the token identifier of the modified file is occupied or not after receiving a request of the second terminal for modifying the file;
the control module is further configured to assign the modified file token identifier to the second terminal and grant the read-write permission to the second terminal if the modified file token identifier is not occupied.
7. The apparatus of claim 6, wherein: further comprising:
the storage module is used for storing the shared file in a register of the first terminal in a stack mode according to the modification action message of the second terminal to the shared file after receiving the file saving message of the second terminal;
and the control module is further configured to release the modification token identifier after receiving the file saving message of the second terminal.
8. The apparatus of claim 6, wherein:
the control module is further configured to release the modification token identifier after receiving the message of the second terminal that is not saved.
CN201510213584.5A 2015-04-29 2015-04-29 Method and device for processing shared file Active CN106202074B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510213584.5A CN106202074B (en) 2015-04-29 2015-04-29 Method and device for processing shared file
PCT/CN2016/071601 WO2016173303A1 (en) 2015-04-29 2016-01-21 Shared file processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510213584.5A CN106202074B (en) 2015-04-29 2015-04-29 Method and device for processing shared file

Publications (2)

Publication Number Publication Date
CN106202074A CN106202074A (en) 2016-12-07
CN106202074B true CN106202074B (en) 2021-02-23

Family

ID=57198141

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510213584.5A Active CN106202074B (en) 2015-04-29 2015-04-29 Method and device for processing shared file

Country Status (2)

Country Link
CN (1) CN106202074B (en)
WO (1) WO2016173303A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107623833B (en) * 2016-07-13 2021-04-20 中兴通讯股份有限公司 Control method, device and system for video conference
CN107395763A (en) * 2017-08-30 2017-11-24 郑州云海信息技术有限公司 A kind of method, service end and the system of multi-client synchronization process file
CN107707385B (en) 2017-09-18 2019-03-12 贵州白山云科技股份有限公司 A kind of data reporting method and system
CN108829482B (en) * 2018-06-20 2022-04-05 广州视源电子科技股份有限公司 Data transmission cooperation control system, method, storage medium and interaction device
CN111314647A (en) * 2018-12-11 2020-06-19 中兴通讯股份有限公司 Electronic whiteboard control method, mobile terminal and electronic whiteboard system
CN111159513A (en) * 2020-04-04 2020-05-15 华软智科(深圳)技术有限公司 Electronic document management system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101103354A (en) * 2004-11-29 2008-01-09 诺基亚公司 Providing a service based on an access right to a shared data
CN101163118A (en) * 2007-11-30 2008-04-16 腾讯科技(深圳)有限公司 Method and device of a plurality of IM users for real-time sharing object
CN101329681A (en) * 2007-06-20 2008-12-24 国际商业机器公司 Distributed lock manager for file system objects in a shared file system
CN102243648A (en) * 2010-05-11 2011-11-16 微软公司 Concurrently accessing data
CN102413128A (en) * 2011-11-10 2012-04-11 青岛海信移动通信技术股份有限公司 Method for sharing electronic whiteboard and network conference system
CN103607469A (en) * 2013-11-28 2014-02-26 东莞中国科学院云计算产业技术创新与育成中心 Cloud platform for achieving distributed isomerous data sharing and data sharing method thereof
CN103716383A (en) * 2013-12-13 2014-04-09 华为技术有限公司 Method and device for accessing shared resources
CN104217283A (en) * 2014-08-20 2014-12-17 广东建邦计算机软件有限公司 Data sharing device and data sharing system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8578465B2 (en) * 2009-07-21 2013-11-05 Cisco Technology, Inc. Token-based control of permitted sub-sessions for online collaborative computing sessions
CN102651754B (en) * 2011-02-28 2015-04-29 株式会社理光 Method, equipment and system for white board content sharing
CN103685204A (en) * 2012-09-24 2014-03-26 中国科学院声学研究所 Resource authentication method based on internet of things resource sharing platform

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101103354A (en) * 2004-11-29 2008-01-09 诺基亚公司 Providing a service based on an access right to a shared data
CN101329681A (en) * 2007-06-20 2008-12-24 国际商业机器公司 Distributed lock manager for file system objects in a shared file system
CN101163118A (en) * 2007-11-30 2008-04-16 腾讯科技(深圳)有限公司 Method and device of a plurality of IM users for real-time sharing object
CN102243648A (en) * 2010-05-11 2011-11-16 微软公司 Concurrently accessing data
CN102413128A (en) * 2011-11-10 2012-04-11 青岛海信移动通信技术股份有限公司 Method for sharing electronic whiteboard and network conference system
CN103607469A (en) * 2013-11-28 2014-02-26 东莞中国科学院云计算产业技术创新与育成中心 Cloud platform for achieving distributed isomerous data sharing and data sharing method thereof
CN103716383A (en) * 2013-12-13 2014-04-09 华为技术有限公司 Method and device for accessing shared resources
CN104217283A (en) * 2014-08-20 2014-12-17 广东建邦计算机软件有限公司 Data sharing device and data sharing system

Also Published As

Publication number Publication date
WO2016173303A1 (en) 2016-11-03
CN106202074A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
CN106202074B (en) Method and device for processing shared file
US9166978B2 (en) Automatic resource provisioning for meeting collaboration
RU2438169C2 (en) Subsystem-context architecture for break-out rooms in virtual space
US10630733B2 (en) Generating recording access permissions based on meeting properties
JP2017201529A (en) Method for providing task allocation and cooperation, computer program and system
JP7422836B2 (en) Permission management for cloud-based documents
US20150326620A1 (en) Media presentation in a virtual shared space
US20150200785A1 (en) Method and apparatus for managing activities in a web conference
US20200412561A1 (en) Web conference replay association upon meeting completion
CN114827094B (en) Cloud desktop-based authority control method and device, computer equipment and medium
US20230055968A1 (en) Filtering group messages
TW201440476A (en) System and method for desktop sharing
US20230156156A1 (en) Methods and systems for facilitating communication in a collaborative work environment
US11716213B2 (en) Autonomous screenshare of dynamic magnification view without primary collaboration interruption
US11777753B2 (en) Apparatus and method for managing online conference
KR101750493B1 (en) Web based Realtime Service system and server device supporting the same
US20170149578A1 (en) Networking cooperation method and machine using such method
CN107885811B (en) Shared file display method, device, equipment and storage medium
US9680887B2 (en) Autonomic collaborative workspace creation
CN113885976A (en) Interaction method and device and electronic equipment
US11991223B2 (en) Methods and systems for facilitating communication in a collaborative work environment
US20230156157A1 (en) Facilitating collaboration in a work environment
CN108683731B (en) Method and device for managing multi-screen interaction
CN118251879A (en) Method and system for facilitating communication in a collaborative work environment
CN115033197A (en) Cloud conference content sharing method and device, electronic equipment and storage medium

Legal Events

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