CN104301400A - Multi-screen cooperation and resource sharing method on basis of Samba protocol - Google Patents

Multi-screen cooperation and resource sharing method on basis of Samba protocol Download PDF

Info

Publication number
CN104301400A
CN104301400A CN201410510848.9A CN201410510848A CN104301400A CN 104301400 A CN104301400 A CN 104301400A CN 201410510848 A CN201410510848 A CN 201410510848A CN 104301400 A CN104301400 A CN 104301400A
Authority
CN
China
Prior art keywords
samba
resource
shared
screen
control
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.)
Granted
Application number
CN201410510848.9A
Other languages
Chinese (zh)
Other versions
CN104301400B (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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201410510848.9A priority Critical patent/CN104301400B/en
Publication of CN104301400A publication Critical patent/CN104301400A/en
Application granted granted Critical
Publication of CN104301400B publication Critical patent/CN104301400B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/75Indicating network or usage conditions on the user display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

The invention relates to the technology of sharing resources of a local area network and provides a multi-screen cooperation and resource sharing method on the basis of the Samba protocol. The multi-screen cooperation and resource sharing method on the basis of the Samba protocol solves the problem that the complexity is high according to an existing mode that the Samba protocol is used in the local area network for achieving resource sharing among devices. According to the technical scheme, the method comprises the steps that when storage class devices, display class devices and intelligent control terminals are started, the IP addresses of all the devices are obtained and set respectively, Samba sharing is carried out on the related resources in the devices respectively, a multi-screen cooperation protocol device discovery function and a multi-screen cooperation protocol device scanning function are started, a user selects the needed sharing resources, sharing resource links are pushed to the display class intelligent devices, the display class intelligent devices visit the related sharing resources on the Samba sharing devices by complying with the Samba protocol and display the related sharing resources, and the intelligent control terminals control the related sharing resources. The multi-screen cooperation and resource sharing method on the basis of the Samba protocol has the advantages that convenience is brought to the user, and the method is suitable for the local area network.

Description

Multi-screen based on Samba agreement is worked in coordination with and resource share method
Technical field
The present invention relates to LAN resources technology of sharing, particularly multi-screen Collaborative Control technology.
Background technology
Samba agreement (Server Messages Block, information service block) be a kind of communication protocol of a kind of shared file on a local area network and printer, it is for providing the share service of the resource such as file and printer between the different computers in local area network (LAN).
At present, in LAN, adopt the resource-sharing of Samba protocol realization equipment room to become a kind of popular way, along with the universal of fiber entering household and the appearance of multiple intelligent handheld device, the resource-sharing of traditional single intercomputer has developed into the resource-sharing between plurality of devices, such as smart mobile phone can resource in access computer, intelligent television also directly program request can leave NAS (Network Storage Technologies in, Network storage technology, transfer of data is realized based on computer network with standard network protocol, for the computer of the various different operating systems such as the Windows/Linux/Mac OS in network provides file-sharing and data backup) video display are large stretch of on equipment.But this equipment room is shared with the mode of access resources too loaded down with trivial details, and user not easily uses, and technical too strong, and domestic consumer uses very inconvenient.
Summary of the invention
The object of the invention is to overcome and in LAN, adopt the shortcoming that the mode complexity of the resource-sharing of Samba protocol realization equipment room is higher at present, provide a kind of multi-screen based on Samba agreement to work in coordination with and resource share method.
The present invention solves its technical problem, and the technical scheme of employing is, the multi-screen based on Samba agreement is worked in coordination with and resource share method, it is characterized in that, comprises the steps:
Step 1, start storage class equipment, obtains and this equipment IP address is in a local network set, and it is shared to carry out Samba to related resource;
Step 2, startup display class smart machine, obtain and arrange this equipment IP address in a local network, and starting multi-screen cooperation protocol device discovery function;
Step 3, startup control of intelligent terminal, obtain and arrange this terminal IP address in a local network, and starting multi-screen cooperation protocol device scan function;
Step 4, control of intelligent terminal, based on the Samba shared device in Samba agreement scanning local area network (LAN), scan storage class equipment, and carry out record to its IP address;
Step 5, control of intelligent terminal to display class smart machine, and carry out record to its IP address based on multi-screen cooperation protocol device scan functionality scan;
Step 6, control of intelligent terminal browse the Samba shared device in local area network (LAN), log in this Samba shared device as required, and carry out record to this username and password by username and password;
Step 7, control of intelligent terminal browse share directory in this Samba shared device and file, choose the shared resource of needs, according to multi-screen cooperation protocol by shared resource link push to display class smart machine, the resource true path of the IP address containing Samba shared device is at least comprised in described shared resource link, if log in this Samba shared device to need username and password, then also comprise the username and password of record in shared resource link;
Step 8, display class smart machine receive shared resource link, shared resource link is resolved, get resource true path, follow Samba protocol access and be positioned at corresponding shared resource on Samba shared device, this shared resource is presented, if log in this Samba shared device to need username and password, then directly this Samba shared device is logged according to resolving the username and password obtained;
Step 9, control of intelligent terminal send control command according to multi-screen cooperation protocol to display class smart machine, control display class smart machine to the control of play shared resource;
The control command that step 10, display class smart machine send according to the control of intelligent terminal received carries out corresponding control to the shared resource play.
Concrete, in step 1, described storage class equipment is computer or PAD or notebook or smart mobile phone or NAS equipment.
Further, in step 2, described display class smart machine is intelligent TV set or PAD or computer.
Concrete, in step 3, described control of intelligent terminal is mobile intelligent terminal or computer.
Further, described mobile intelligent terminal is the hand-held intelligent terminal with display screen.
Concrete, described hand-held intelligent terminal is smart mobile phone or PAD.
Further, in step 9, described control command is for suspending or playing or F.F. or rewind.
The invention has the beneficial effects as follows, in the present invention program, collaborative and the resource share method by the above-mentioned multi-screen based on Samba agreement, can simply be run voluntarily by system each in local area network (LAN), user only needs to select the shared resource of needs can realize corresponding resource-sharing and multi-screen interactive by control of intelligent terminal, facilitate user, arrange simple.
Embodiment
Below in conjunction with embodiment, describe technical scheme of the present invention in detail.
In the collaborative and resource share method of multi-screen based on Samba agreement of the present invention, first when starting storage class equipment, obtain and this equipment IP address is in a local network set, and to related resource carry out Samba share, when starting display class smart machine, obtain and this equipment IP address is in a local network set, and start multi-screen cooperation protocol device discovery function, when starting control of intelligent terminal, obtain and this terminal IP address is in a local network set, and start multi-screen cooperation protocol device scan function, then control of intelligent terminal is based on the Samba shared device in Samba agreement scanning local area network (LAN), scan storage class equipment, and record is carried out to its IP address, and based on multi-screen cooperation protocol device scan functionality scan to display class smart machine, and record is carried out to its IP address, then user uses control of intelligent terminal to browse Samba shared device in local area network (LAN), this Samba shared device is logged in as required by username and password, and record is carried out to this username and password, browse the share directory in this Samba shared device and file again, choose the shared resource of needs, according to multi-screen cooperation protocol by shared resource link push to display class smart machine, the resource true path of the IP address containing Samba shared device is at least comprised in the link of this shared resource, if log in this Samba shared device to need username and password, then also comprise the username and password of record in shared resource link, after display class smart machine receives shared resource link, shared resource link is resolved, get resource true path, follow Samba protocol access and be positioned at corresponding shared resource on Samba shared device, this shared resource is presented, if log in this Samba shared device to need username and password, then directly this Samba shared device is logged according to resolving the username and password obtained, when user watches, control of intelligent terminal sends control command according to multi-screen cooperation protocol to display class smart machine, control display class smart machine to the control of play shared resource, the control command that display class smart machine sends according to the control of intelligent terminal received carries out corresponding control to the shared resource play, complete resource-sharing and multi-screen interactive.
Embodiment
The multi-screen based on Samba agreement of the embodiment of the present invention is worked in coordination with and resource share method, comprises the following steps:
Step 1, start storage class equipment, obtains and this equipment IP address is in a local network set, and it is shared to carry out Samba to related resource.
In this step, storage class equipment can be the similar storage terminal equipment of computer or PAD or notebook or smart mobile phone or NAS equipment etc., this kind equipment plays the part of the role of content provider in the present invention, this kind equipment is shared Resource Storage carrier, and shared to local area network (LAN) internal unit by Samba agreement, this kind equipment can not have display screen or externally connected with display screen equipment etc., and it can be one or more in the present invention.
Step 2, startup display class smart machine, obtain and arrange this equipment IP address in a local network, and starting multi-screen cooperation protocol device discovery function.
In this step, the equipment that this display class smart machine can have display screen for intelligent TV set or PAD or computer etc. or be circumscribed with display screen, refer to the various display Terminal Type equipment run on intelligent operating system, this kind equipment in the present invention as shared resource in expression vector, be responsible for carrying out decoding display and ripple to shared resource, the advantage of this kind equipment is larger with display screen, the perfection that can realize picture presents and plays, also the various control commands of control axis can be accepted, realize the collaborative of multi-screen equipment room, in this example, display class smart machine also can be one or more, corresponding differentiation (as the user in subsequent step selects etc.) is carried out by IP address.
Equipment room multi-screen cooperation protocol described in the present invention: on Transmission Control Protocol, realizes the access of shared resource and the Collaborative Control of equipment room by transmission shared resource address and various control command, also comprises structure and the analysis protocol of shared resource address.
Step 3, startup control of intelligent terminal, obtain and arrange this terminal IP address in a local network, and starting multi-screen cooperation protocol device scan function.
In this step, this control of intelligent terminal can be the control of intelligent terminal such as mobile intelligent terminal or computer, mobile intelligent terminal is the hand-held intelligent terminal with display screen, such as smart mobile phone or PAD etc., this kind equipment carries display screen, and user can, easily to its operation and control, be the control kind equipment in the present invention, carry the discovery of shared device, the browsing and the function such as controlling functions that shared resource is play of shared resource, is the control axis of this method.
Step 4, control of intelligent terminal, based on the Samba shared device in Samba agreement scanning local area network (LAN), scan storage class equipment, and carry out record to its IP address.
Step 5, control of intelligent terminal to display class smart machine, and carry out record to its IP address based on multi-screen cooperation protocol device scan functionality scan.
Step 6, control of intelligent terminal browse the Samba shared device in local area network (LAN), log in this Samba shared device as required, and carry out record to this username and password by username and password.
Step 7, control of intelligent terminal browse share directory in this Samba shared device and file, choose the shared resource of needs, according to multi-screen cooperation protocol by shared resource link push to display class smart machine, the resource true path of the IP address containing Samba shared device is at least comprised in described shared resource link, if log in this Samba shared device to need username and password, then also comprise the username and password of record in shared resource link.
Step 8, display class smart machine receive shared resource link, shared resource link is resolved, get resource true path, follow Samba protocol access and be positioned at corresponding shared resource on Samba shared device, this shared resource is presented, if log in this Samba shared device to need username and password, then directly this Samba shared device is logged according to resolving the username and password obtained.
Step 9, control of intelligent terminal send control command according to multi-screen cooperation protocol to display class smart machine, control display class smart machine to the control of play shared resource.
In this step, control command is suspend or play or the various control command for playing such as F.F. or rewind.
The control command that step 10, display class smart machine send according to the control of intelligent terminal received carries out corresponding control to the shared resource play.

Claims (7)

1. the multi-screen based on Samba agreement is worked in coordination with and resource share method, it is characterized in that, comprises the steps:
Step 1, start storage class equipment, obtains and this equipment IP address is in a local network set, and it is shared to carry out Samba to related resource;
Step 2, startup display class smart machine, obtain and arrange this equipment IP address in a local network, and starting multi-screen cooperation protocol device discovery function;
Step 3, startup control of intelligent terminal, obtain and arrange this terminal IP address in a local network, and starting multi-screen cooperation protocol device scan function;
Step 4, control of intelligent terminal, based on the Samba shared device in Samba agreement scanning local area network (LAN), scan storage class equipment, and carry out record to its IP address;
Step 5, control of intelligent terminal to display class smart machine, and carry out record to its IP address based on multi-screen cooperation protocol device scan functionality scan;
Step 6, control of intelligent terminal browse the Samba shared device in local area network (LAN), log in this Samba shared device as required, and carry out record to this username and password by username and password;
Step 7, control of intelligent terminal browse share directory in this Samba shared device and file, choose the shared resource of needs, according to multi-screen cooperation protocol by shared resource link push to display class smart machine, the resource true path of the IP address containing Samba shared device is at least comprised in described shared resource link, if log in this Samba shared device to need username and password, then also comprise the username and password of record in shared resource link;
Step 8, display class smart machine receive shared resource link, shared resource link is resolved, get resource true path, follow Samba protocol access and be positioned at corresponding shared resource on Samba shared device, this shared resource is presented, if log in this Samba shared device to need username and password, then directly this Samba shared device is logged according to resolving the username and password obtained;
Step 9, control of intelligent terminal send control command according to multi-screen cooperation protocol to display class smart machine, control display class smart machine to the control of play shared resource;
The control command that step 10, display class smart machine send according to the control of intelligent terminal received carries out corresponding control to the shared resource play.
2. as claimed in claim 1 and resource share method collaborative based on the multi-screen of Samba agreement, is characterized in that, in step 1, described storage class equipment is computer or PAD or notebook or smart mobile phone or NAS equipment.
3. as claimed in claim 1 and resource share method collaborative based on the multi-screen of Samba agreement, is characterized in that, in step 2, described display class smart machine is intelligent TV set or PAD or computer.
4. work in coordination with and resource share method based on the multi-screen of Samba agreement as claimed in claim 1, it is characterized in that, in step 3, described control of intelligent terminal is mobile intelligent terminal or computer.
5. work in coordination with and resource share method based on the multi-screen of Samba agreement as claimed in claim 4, it is characterized in that, described mobile intelligent terminal is the hand-held intelligent terminal with display screen.
6. work in coordination with and resource share method based on the multi-screen of Samba agreement as claimed in claim 5, it is characterized in that, described hand-held intelligent terminal is smart mobile phone or PAD.
7. the collaborative and resource share method of the multi-screen based on Samba agreement as described in claim 1 or 2 or 3 or 4 or 5 or 6, is characterized in that, in step 9, described control command is for suspending or playing or F.F. or rewind.
CN201410510848.9A 2014-09-28 2014-09-28 Multi-screen collaboration and resource share method based on Samba agreements Active CN104301400B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410510848.9A CN104301400B (en) 2014-09-28 2014-09-28 Multi-screen collaboration and resource share method based on Samba agreements

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410510848.9A CN104301400B (en) 2014-09-28 2014-09-28 Multi-screen collaboration and resource share method based on Samba agreements

Publications (2)

Publication Number Publication Date
CN104301400A true CN104301400A (en) 2015-01-21
CN104301400B CN104301400B (en) 2017-10-03

Family

ID=52320963

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410510848.9A Active CN104301400B (en) 2014-09-28 2014-09-28 Multi-screen collaboration and resource share method based on Samba agreements

Country Status (1)

Country Link
CN (1) CN104301400B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106850734A (en) * 2016-12-11 2017-06-13 乐视控股(北京)有限公司 The method for pushing of shared resource, device and electronic equipment
CN110290415A (en) * 2019-07-29 2019-09-27 四川长虹电器股份有限公司 A method of realizing more seamless collaborations of equipment room media play
CN110471639A (en) * 2019-07-23 2019-11-19 华为技术有限公司 Display methods and relevant apparatus
CN111935236A (en) * 2015-02-03 2020-11-13 谷歌有限责任公司 Method, apparatus and medium for facilitating interoperability between screen devices and client devices
US11196798B2 (en) 2018-03-27 2021-12-07 Huawei Technologies Co., Ltd. Method for sharing data in local area network and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100232371A1 (en) * 2009-03-11 2010-09-16 Sony Corporation Quality of service service scheduling for home mesh network
CN103297420A (en) * 2013-04-27 2013-09-11 Tcl集团股份有限公司 Method, device and system for multi-screen sharing control
CN103702238A (en) * 2013-12-23 2014-04-02 华为终端有限公司 Multi-screen video sharing method, terminals and server
CN103747016A (en) * 2014-01-26 2014-04-23 广东欧珀移动通信有限公司 SAMBA-based method for quickly accessing and controlling to play shared media files

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100232371A1 (en) * 2009-03-11 2010-09-16 Sony Corporation Quality of service service scheduling for home mesh network
CN103297420A (en) * 2013-04-27 2013-09-11 Tcl集团股份有限公司 Method, device and system for multi-screen sharing control
CN103702238A (en) * 2013-12-23 2014-04-02 华为终端有限公司 Multi-screen video sharing method, terminals and server
CN103747016A (en) * 2014-01-26 2014-04-23 广东欧珀移动通信有限公司 SAMBA-based method for quickly accessing and controlling to play shared media files

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
高海莹: ""Samba技术实现跨平台资源共享"", 《电脑知识与技术》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111935236A (en) * 2015-02-03 2020-11-13 谷歌有限责任公司 Method, apparatus and medium for facilitating interoperability between screen devices and client devices
CN111935236B (en) * 2015-02-03 2023-07-25 谷歌有限责任公司 Method, device and medium for promoting interoperability between screen device and client device
CN106850734A (en) * 2016-12-11 2017-06-13 乐视控股(北京)有限公司 The method for pushing of shared resource, device and electronic equipment
US11196798B2 (en) 2018-03-27 2021-12-07 Huawei Technologies Co., Ltd. Method for sharing data in local area network and electronic device
CN110471639A (en) * 2019-07-23 2019-11-19 华为技术有限公司 Display methods and relevant apparatus
CN110471639B (en) * 2019-07-23 2022-10-18 华为技术有限公司 Display method and related device
CN110290415A (en) * 2019-07-29 2019-09-27 四川长虹电器股份有限公司 A method of realizing more seamless collaborations of equipment room media play

Also Published As

Publication number Publication date
CN104301400B (en) 2017-10-03

Similar Documents

Publication Publication Date Title
RU2602982C2 (en) Method, apparatus and system for intelligently controlling device and plug-and-play device
CN105471686B (en) Terminal control method, device and system
CN102547443B (en) Resource sharing and interaction realizing method of multi-terminal system
CN102523492B (en) Comment method for interactive comment system, television and mobile terminal
WO2017097088A1 (en) Multi-screen projection control method and system, terminal device, and computer storage medium
CN112350981B (en) Method, device and system for switching communication protocol
CN103618941B (en) Multi-screen interaction-based interactive system and method
US10034057B2 (en) Message processing method, device, gateway, STB and IPTV
EP3089466A1 (en) Method and device for same-screen interaction
CN109104416B (en) Multi-device cooperation cloud service platform based on PON (Passive optical network) local area network
CN105573609A (en) Content sharing method and device
CN104301400A (en) Multi-screen cooperation and resource sharing method on basis of Samba protocol
CN105100848A (en) Intelligent equipment, and intelligent equipment control system and realization method thereof
EP2945337A2 (en) Method, system and server for service switching
CN105323628B (en) Cross-screen playing method and system based on DLNA (digital Living network alliance), browser end device and playing device
CN104254005A (en) Wireless video sharing playing device and method
CN102821150A (en) Cloud server and application managing method based on same
CN103491122A (en) Multiple screen display interactive system and airsharing method
JP2015211474A (en) Method for opening communication path using relay server active connection for mobile terminal
CN103634660A (en) Method and device for controlling video playing of smart television through mobile communication terminal
JP2017539103A (en) Method, apparatus, server, and system for synchronizing member gain among multiple apparatuses
CN105245959B (en) Interface channel maintenance system and method in a kind of more equipment linkages service
US20160285949A1 (en) Wireless login-based remote control method and device
US20150095956A1 (en) Electronic device, computer program product, and information control method
CN102571841B (en) Remote file management system

Legal Events

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