WO2015090171A1 - 智能电视的资源访问方法和装置 - Google Patents

智能电视的资源访问方法和装置 Download PDF

Info

Publication number
WO2015090171A1
WO2015090171A1 PCT/CN2014/093850 CN2014093850W WO2015090171A1 WO 2015090171 A1 WO2015090171 A1 WO 2015090171A1 CN 2014093850 W CN2014093850 W CN 2014093850W WO 2015090171 A1 WO2015090171 A1 WO 2015090171A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
instruction
area network
local area
smart
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.)
Ceased
Application number
PCT/CN2014/093850
Other languages
English (en)
French (fr)
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.)
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Original Assignee
Leshi Zhixin Electronic Technology Tianjin 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
Priority claimed from CN201310685810.0A external-priority patent/CN103634659A/zh
Priority claimed from CN201310685441.5A external-priority patent/CN103618940A/zh
Priority claimed from CN201310685480.5A external-priority patent/CN103634658A/zh
Application filed by Leshi Zhixin Electronic Technology Tianjin Co Ltd filed Critical Leshi Zhixin Electronic Technology Tianjin Co Ltd
Publication of WO2015090171A1 publication Critical patent/WO2015090171A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home

Definitions

  • the present application relates to the field of television, and in particular to a resource access method and apparatus for a smart television.
  • the process of the existing smart TV products accessing resources on other terminal devices in the same local area network is only to use the smart TV end as a display device, and the resource is not acquired.
  • the user can establish a connection with the smart TV after the terminal device such as the mobile phone Control the mobile terminal to play the movie, and synchronously play on the smart TV end.
  • the smart TV end is only used as a playback device, and the movie resource is not really acquired. If the smart TV terminal needs to obtain resources of other terminal devices, it is usually required that other terminal devices send the resources included in the smart terminal to the smart TV end, and the smart TV terminal reads or plays the resource after receiving the resource. This way of obtaining resources on other devices is complicated and inefficient.
  • One of the purposes of the resource access method and device for a smart TV is to solve the problem that the smart TV cannot directly access the resources on other devices in the same local area network in the prior art.
  • a resource access method for a smart television comprising: scanning other devices in a local area network in response to a first instruction for triggering access to resources of other devices in a local area network of the smart television; and acquiring other devices in the scanned local area network
  • the ID and the resource access mode corresponding to the device are displayed, and the resource is played on the smart TV end in response to the second instruction of the resource in the device corresponding to the ID of the other device displayed by the triggered access.
  • scanning other devices in the local area network including: scanning a device corresponding to the ID existing in the display list, where the display list is saved The ID of other devices in the local area network where the smart TV is scanned last time and the resource access mode corresponding to the device; scanning the devices in the local area network where the smart TV is located outside the display list.
  • the ID of the other device in the scanned local area network and the resource access mode corresponding to the device are obtained and displayed, including: recording the ID of the scanned device and the resource access mode of the device to the display list, To complete the update of the display list; display the updated display list.
  • playing the resource on the smart TV end includes: responding to the ID of the other device used to determine the display in the second instruction And obtaining, by the third instruction of the corresponding device, a resource sharing list in the corresponding device, where the resource sharing list includes resources that are available for local area network sharing in the corresponding device; and is used for reading in response to the second instruction
  • the fourth instruction of the required resources in the resource sharing list is obtained, and the required resources are played on the smart TV side.
  • playing the required resource on the smart television end includes: acquiring the required resource in the device to which the resource belongs The storage address of the storage address location is sent to the device to which the resource belongs; after receiving the playback instruction sent by the device to which the resource belongs, the resource at the storage address location is played on the smart TV end.
  • a resource access device for a smart television comprising: a scanning module configured to scan other devices in the local area network in response to the triggered first instruction to access resources of other devices in the local area network of the smart television; the display module is configured to Obtaining an ID of another device in the scanned local area network and a resource access manner corresponding to the device, and displaying the same; the playing module is configured to respond to the second instruction of the resource in the device corresponding to the ID of the other device displayed by the triggered access , play resources on the smart TV side.
  • the scanning module includes: a first scanning module configured to scan a device corresponding to the ID existing in the display list, where the display list stores the local area network of the smart television that was last scanned The ID of the other device and the resource access mode corresponding to the device; the second scanning module is configured to scan the device in the local area network where the smart TV is located outside the display list.
  • the display module includes: an update module configured to record the ID of the scanned device and the resource access mode of the device into the display list to complete the update of the display list; the first display module is configured to be updated Display the list for display.
  • the playing module includes: a fourth acquiring module, configured to obtain a resource sharing list in the corresponding device, and perform the third instruction in the second instruction, which is used to determine the device corresponding to the ID of the displayed other device, and perform the Displaying, wherein the resource sharing list includes resources in the corresponding device that are available for local area network sharing; the first playing module is configured to respond to the fourth instruction in the second instruction for reading the resource required in the obtained resource sharing list. Command to play the required resources on the smart TV side.
  • a fourth acquiring module configured to obtain a resource sharing list in the corresponding device, and perform the third instruction in the second instruction, which is used to determine the device corresponding to the ID of the displayed other device, and perform the Displaying, wherein the resource sharing list includes resources in the corresponding device that are available for local area network sharing
  • the first playing module is configured to respond to the fourth instruction in the second instruction for reading the resource required in the obtained resource sharing list. Command to play the required resources on the smart TV side.
  • the first playing module includes: a fifth acquiring module, configured to acquire a storage resource of a device to which the resource belongs, and a third sending module configured to send a request for reading a resource of the storage address location to The device to which the resource belongs; the second play module is configured to: after receiving the play instruction sent by the device to which the resource belongs, play the resource at the storage address location on the smart TV end.
  • a fifth acquiring module configured to acquire a storage resource of a device to which the resource belongs
  • a third sending module configured to send a request for reading a resource of the storage address location to The device to which the resource belongs
  • the second play module is configured to: after receiving the play instruction sent by the device to which the resource belongs, play the resource at the storage address location on the smart TV end.
  • a device scanning method in a smart television comprising: initiating a process for scanning other devices in the local area network, in response to a triggered access instruction of accessing resources of other devices in a local area network of the smart television, wherein the smart The television terminal is preset with a process for scanning other devices in the local area network; determining, in response to the triggered determining instruction for determining a process to be used, a process required to scan the other device, calling the determined The scan thread preset in the process to be used, scans the device corresponding to the scan thread in the local area network, and displays the scanned device and the access mode corresponding to the device.
  • the other device includes: an SMB device, a DLNA device, and an FTP device, where the preset process of the smart TV terminal includes an automatic scanning process and a manual scanning process, where the determining instruction determines a process to be used.
  • the automatic scanning process the first scanning thread in the automatic scanning process is called to scan the SMB device, and the second scanning thread in the automatic scanning process is called to scan the DLNA device thread;
  • the determining instruction determines that the process to be used is the manual scanning process, calling a third scanning thread in the manual scanning process to perform the SMB device and/or the DLNA device and/or the FTP device scanning.
  • the invoking the first scanning thread in the automatic scanning process to scan the SMB device includes: acquiring an IP address of the smart TV corresponding to the local area network; traversing each IP address in the local area network And try to connect through the specific port of the SMB device; the connection is successful.
  • the device ID corresponding to the IP address of the SMB device is updated to the display list, and the resource access mode of the device is recorded in the display list as the SMB mode.
  • the traversing the IP addresses in the local area network and attempting to connect through the specific port of the SMB device respectively including: determining, by using a PING mode, whether the obtained IP addresses in the local area network can be the IP address of the smart TV. The address is connected; when the PING is connected, it is determined whether the IP address can be connected through the specific port of the SMB device, and if the connection is possible, the connection is determined to be successful.
  • the invoking the second scanning thread in the automatic scanning process to scan the DLNA device thread comprises: scanning the DLNA device according to a class library provided by a third party, and opening the DLNA device In the DMS, the device is scanned, and the device ID corresponding to the scanned DLNA device is updated to the display list, and the resource access mode of the device is recorded in the display list as the DLNA mode.
  • calling a third scanning thread in the manual scanning process to the SMB device and/or the DLNA device and / or scanning by the FTP device comprising: displaying a scan entry for selecting a desired device, wherein the scan entry includes an SMB device scan entry, a DLNA device scan entry, and an FTP device scan entry; selecting a scan in response to the trigger
  • the selection instruction of the entry enters an interface corresponding to the selected scan entry, and scans the device corresponding to the input scan address in the local area network according to the scan address input at the input input of the interface;
  • the device ID corresponding to the device is updated to the display list, and the resource access mode of the device is recorded.
  • a device scanning device in a smart television comprising: an activation module configured to start a process for scanning other devices in the local area network in response to an access instruction of a resource for accessing other devices in a local area network of the smart television;
  • the smart television terminal is preset with a process for scanning other devices in the local area network; and the determining module is configured to determine to scan the other device in response to the triggered determining instruction for determining a process to be used.
  • a process to be used to scan a device corresponding to the scan thread in the local area network and a device display module configured to scan the device and the device The access mode corresponding to the device is displayed.
  • the other device includes: an SMB device, a DLNA device, and an FTP device, where the preset process of the smart TV terminal includes an automatic scanning process and a manual scanning process, and the determining module includes: a first calling module configured to When the determining instruction determines that the process to be used is the automatic scanning process, calling the first scanning thread in the automatic scanning process to scan the SMB device; a calling module, configured to: when the determining instruction determines that the required process is the automatic scanning process, invoking a second scanning thread in the automatic scanning process to scan the DLNA device thread; the third calling module And configuring, when the determining instruction determines that the process to be used is the manual scanning process, calling a third scanning thread in the manual scanning process to the SMB device and/or the DLNA device and/or the The FTP device is scanned.
  • a first calling module configured to When the determining instruction determines that the process to be used is the automatic scanning process, calling the first scanning thread in the automatic scanning process to scan the SMB device
  • the first calling module includes: a sixth acquiring module, configured to acquire an IP address of the smart TV corresponding to the local area network; and a connection module configured to traverse an IP address of each SMB device in the local area network, And attempting to connect through a specific port of the SMB device; the first update module is configured to update the device ID corresponding to the IP address of the SMB device to the display list when the connection is successful, and the resource of the device in the display list
  • the access method is recorded as SMB mode.
  • the connection module determines, by using a PING manner, whether the obtained IP address in the local area network can communicate with the IP address of the smart TV.
  • the PING is connected, determining whether the IP address can pass the specific port of the SMB device. Make a connection. If it is possible to connect, it is determined that the connection is successful.
  • a method for reading a resource of a smart television comprising: sending a first request instruction to the other device to obtain the other device, in response to the triggered acquisition instruction of reading resources of other devices in the local area network of the smart television; a resource sharing list, wherein the resource sharing list includes resources available for local area network sharing in the other devices; and in response to the triggered instruction for determining resources to be acquired in the resource sharing list,
  • the other device sends a second request instruction, and obtains a storage address of the resource that needs to be acquired in the determined resource sharing list, where the storage address includes the device to which the resource to be acquired belongs An IP address of the local area network and a storage path of the resource to which the device belongs; transmitting a read permission request to the other terminal in response to the triggered instruction for reading a resource pointed to by the storage address; receiving the a permission instruction sent by another terminal for indicating a read permission, and reading the storage address according to the permission instruction Resource locations.
  • the privilege instruction includes: a first privilege and a second privilege, wherein, when the privilege instruction is the first privilege, the smart television end is allowed to read the resource of the location pointed by the storage address information once And when the permission instruction is the second authority, allowing the smart TV terminal to have permission to read the resource of the location pointed by the storage address information within a predetermined time range.
  • the reading, according to the permission instruction, the resource of the location pointed by the storage address includes: saving the read data to a local cache during a process of reading a resource pointed to by the storage address The area, after the reading ends, clears the data stored in the cache area.
  • the reading, according to the permission instruction, the resource of the location pointed by the storage address includes: receiving, during the process of reading a resource pointed to by the storage address, saving the storage address After the instruction of the location resource, the read data is saved to the local fixed storage area.
  • the method further includes: obtaining the storage address of the other resource in the resource sharing list while acquiring the storage address of the resource to be acquired in the determined resource sharing list; and in response to the triggering for reading And taking an instruction of the resource of the storage address location of the other resource in the resource sharing list, and sending a read permission request to the other terminal; receiving a permission instruction sent by the other terminal to indicate the read permission, according to the permission The instruction reads the resource at the location pointed to by the storage address.
  • a resource reading device for a smart television comprising: a first acquiring module, configured to send a first request to the other device in response to the triggered acquisition instruction of reading resources of other devices in the local area network of the smart television An instruction to obtain a resource sharing list of the other device, where the resource sharing list includes a resource that is available for local area network sharing in the other device, and a second acquiring module configured to determine the The instruction of the resource to be obtained in the resource sharing list, the second request instruction is sent to the other device, and the storage address of the resource to be acquired in the determined resource sharing list is obtained, where the storage address includes The IP address of the device to which the resource to be acquired belongs is relative to the IP address of the local area network and the storage path of the device to which the resource belongs; the first sending module is configured to be responsive to the trigger for reading the storage address An instruction of the resource of the location, sending a read permission request to the other terminal; the first reading module is configured to receive the location Permission command sent by another terminal for instructing read permission to read the memory address pointing to
  • the privilege instruction includes: a first privilege and a second privilege, wherein, when the privilege instruction is the first privilege, the smart television end is allowed to read the resource of the location pointed by the storage address information once And when the permission instruction is the second authority, allowing the smart TV terminal to have permission to read the resource of the location pointed by the storage address information within a predetermined time range.
  • the first reading module includes: a first storage module configured to save the read data to a local cache area during reading of a resource at a location pointed by the storage address, and to read After the end, the data stored in the cache area is cleared.
  • the first reading module includes: a second storage module configured to receive an instruction for saving a resource of a location pointed by the storage address in a process of reading a resource at a location pointed by the storage address After that, the read data is saved to the local fixed storage area.
  • the method further includes: a third obtaining module configured to use the resource sharing determined by the obtaining And obtaining, by the storage address of the resource to be obtained in the list, a storage address of the other resource in the resource sharing list;
  • the second sending module is configured to be configured to read other resources in the resource sharing list in response to the triggering An instruction to store a resource of the address location, and send a read permission request to the other terminal;
  • the second reading module is configured to receive a permission instruction sent by the other terminal to indicate the read permission, and read according to the permission instruction Take the resource of the location pointed to by the storage address.
  • a computer readable recording medium having recorded thereon a program for executing the above method.
  • the user when a user wants to use a smart TV to play resources on other terminal devices in the same local area network, the user does not need to use another terminal device to send the resource to the smart TV, and the user can use the smart TV line scan to obtain the same local area network.
  • the other device and the resource access mode of the device and then select the device to be accessed to determine the resource to be accessed.
  • the smart TV terminal can directly play the resource on the local end, which is equivalent.
  • the use of other devices as an authorized resource server is different from the way in which other devices in the prior art synchronously play resources of other devices with the smart TV end.
  • This resource access method effectively solves the problem that the smart TV in the prior art cannot directly Accessing the problem of reading resources on other devices in the same LAN reduces the complexity of accessing other device resources and improves efficiency.
  • FIG. 1 is an optional flowchart of a resource access method of a smart TV according to an embodiment of the present application
  • FIG. 2 is an optional flowchart of a device scanning method in a smart television according to an embodiment of the present application
  • FIG. 3 is an optional flowchart of a resource reading method of a smart television according to an embodiment of the present application
  • FIG. 4 is an optional structural diagram of a resource access device of a smart television according to an embodiment of the present application.
  • FIG. 5 is an optional structural diagram of a device scanning device in a smart television according to an embodiment of the present application.
  • FIG. 6 is an optional structural diagram of a resource reading apparatus of a smart television according to an embodiment of the present application.
  • FIG. 1 shows an optional flowchart of the method. As shown in FIG. 1, the method includes steps S102-S106:
  • S102 Scan, in response to the first instruction of the triggered resource for accessing other devices in the local area network of the smart television, scanning other devices in the local area network;
  • a file management application can be set on the smart TV end for managing resource data.
  • the file management application interface of the smart TV may have several buttons for managing local storage, external hard disk storage, local area network storage, and cloud storage, wherein the local storage includes the smart TV local resource; the external hard disk storage is intelligent.
  • the resources included in the TV access to the external hard disk; the cloud storage includes the resources in the cloud technology and the same account as the smart TV.
  • the device corresponding to the ID existing in the display list may be scanned first, wherein the display list stores the IDs of other devices in the local area network where the smart television that was last scanned is located, and the corresponding device The resource access mode is then scanned for the device in the local area network where the smart TV is located outside the display list.
  • the device can quickly scan to determine whether the device can be accessed. Improve access efficiency.
  • the ID of the scanned device and the resource access mode of the device are recorded in the display list to complete the update of the display list, optionally, if the display list exists
  • the device ID and resource access mode recorded in the sub-scan are deleted first, and the device ID and resource access mode of the last scan record are deleted, and then the device ID and resource access mode of the current scan are recorded.
  • the list is displayed to the user for selection by the user.
  • the method includes the following steps: acquiring, according to a third instruction of the device corresponding to the ID of the other device in the second instruction, obtaining a resource sharing list in the corresponding device, and performing display, where the resource sharing list Contains resources available for local area network sharing in the corresponding device; in response to the first
  • the fourth instruction in the second instruction for reading the required resources in the obtained resource sharing list plays the required resources on the smart television end.
  • the specific playback may include the following steps: acquiring a storage resource of a device to which the resource belongs; sending a request for reading a resource at the storage address location to a device to which the resource belongs; and receiving a playback sent by the device to which the resource belongs After the indication, the resource at the storage address location is played on the smart TV side.
  • the user when the user wants to use the smart TV to play resources on other terminal devices in the same local area network, the user does not need to use other terminal devices to send the resource to the smart TV, and the user can use the
  • the smart TV line scans the other devices in the same local area network and the resource access modes of the device, and then selects the devices to be accessed to determine the resources to be accessed. After the other devices agree to the smart TV to access the resources, the smart TV terminal can Playing the resource directly on the local end is equivalent to using other devices as an authorized resource server, which is different from the way that other devices in the prior art synchronously play resources of other devices with the smart TV end, and the resource access method is effectively solved.
  • the smart TV cannot directly access the resources on other devices in the same local area network, thereby reducing the complexity of accessing other device resources and improving efficiency.
  • FIG. 2 shows an optional flowchart of the method, as shown in FIG. The method includes steps S202-S206:
  • S202 Start a process for scanning other devices in the local area network, in response to the triggered access instruction of accessing resources of other devices in the local area network of the smart television, where the smart television terminal is preset with a process for scanning other devices in the local area network. ;
  • a file management application can be set on the smart TV end for managing resource data.
  • the file management application interface of the smart TV may have several buttons for managing local storage, external hard disk storage, local area network storage, and cloud storage, wherein when the user selects the local area storage button, the user accesses the local area network where the smart television is located.
  • the access command may be the same as the first command described in the first embodiment, or the access command may be separately issued after the first command is issued.
  • the user needs to scan other devices existing in the local area network.
  • the smart TV terminal starts an internal preset process for scanning other devices in the local area network.
  • the process includes automatic Scan process and manual scan process, where the automatic scan process can scan SMB devices and/or DLNA devices, manually scan
  • processes can also scan FTP devices.
  • the above-mentioned SMB device is a remote storage device that satisfies the SMB (Server Message Block Protocol)
  • the FTP device is a remote storage device that satisfies FTP (File Transfer Protocol)
  • the DLNA device satisfies DLNA (Digital) Remote Storage Device of the Living Network Alliance, Digital Living Network Alliance).
  • two scanning modes, automatic scanning and manual scanning are provided, and the user can perform targeted selection according to actual conditions, increase user selectivity, and improve the intelligence of the smart television scanning other devices.
  • S204 Determine, in response to the triggered determining instruction for determining a process to be used, a process required to scan other devices, and call a predetermined scanning thread preset in the process to be used, and the scanning thread in the local area network. The corresponding device is scanned;
  • the determining instruction is triggered, and the smart television end determines the process that the user needs to use, and invokes the scanning thread preset in the determined process, Scanning of other devices on the LAN.
  • at least a first scan thread and a second scan thread are preset in the automatic scanning process
  • at least a third scan thread is preset in the manual scanning process
  • the automatic calling process is automatically called when the process to be used is determined to be an automatic scanning process.
  • the first scanning thread in the scanning process scans the SMB device, calls the second scanning thread in the automatic scanning process to scan the DLNA device thread, and calls the manual scanning process when determining that the required process is a manual scanning process.
  • the third scan thread scans the SMB device and/or the DLNA device and/or the FTP device.
  • invoking the first scanning thread in the automatic scanning process to scan the SMB device includes the following steps: (1) acquiring an IP address corresponding to the local area network of the smart television; (2) traversing each IP address in the local area network, and respectively Try to connect through the specific port of the SMB device.
  • the IP address of each other device in the same LAN is the same as the first three bytes of the IP address of the smart TV.
  • the last byte is in the range of 2 to 254.
  • After the IP address of the other device try to establish a connection.
  • the device ID corresponding to the IP address of the SMB device is updated to the display list, and the resource access mode of the device is recorded as the SMB mode in the display list.
  • Calling the second scan thread in the automatic scan process to scan the DLNA device thread includes the following Step: Scan the DLNA device according to the class library provided by the third party, scan the device when the DLNA device opens the DMS (Digital Media Server), and update the device ID corresponding to the scanned DLNA device to the display list. And record the resource access mode of the device as DLNA mode in the display list.
  • This scanning method is simple in operation and high in accuracy.
  • the embodiment further provides a scheme for scanning by a manual scanning process. Specifically, when determining that the required process is a manual scanning process, a scan entry for selecting a required device is displayed on the interface, and the scan entry includes SMB. The device scans the portal, the DLNA device scan entry, and the FTP device scan entry. After the user selects a scan entry, the selection command is triggered, and the smart TV end enters the interface corresponding to the selected scan entry in response to the triggered selection command of the selected scan entry.
  • the interface provides an input portal for inputting a device address, where the user inputs the address of the desired scanning device, and the smart TV terminal scans the device corresponding to the scanned address in the local area network according to the address, and the device to be scanned
  • the corresponding device ID is updated to the display list, and the resource access mode of the device is recorded.
  • the display list in the last automatic scanning process may be displayed, and the recently operated device may be displayed at the forefront.
  • the device scanned by the last manual scan process will not be displayed in the display list.
  • the process of scanning the other devices in the local area network is started first, according to the requirements.
  • the device access mode select the corresponding scanning process to scan, and then directly display to the user, this scanning mode does not require the user to manually perform statistics, effectively solves the problem in the prior art that the user manually determines the presence of the smart TV in the same local area network. Problems with other devices, reducing operational steps and improving acquisition efficiency.
  • FIG. 3 shows an optional flowchart of the method. As shown in FIG. 3, the method includes steps S302-S308:
  • the smart TV After performing scanning of other devices in the same local area network in Embodiment 1, it needs to be read.
  • the user first triggers the acquisition instruction, and the smart television end responds to the acquisition instruction, and sends a first request instruction for acquiring the resource sharing list of the other device to other devices, optionally, other
  • the device end After receiving the first request command, the device end knows that the smart TV terminal wants to access the local resource, and if the smart TV terminal is allowed to obtain, it returns to the smart TV terminal resource sharing list, where the resource sharing list includes other devices available.
  • the resources shared by the local area network are selected by the smart TV end.
  • the user After obtaining the resource sharing list, the user triggers an instruction for determining the resource that needs to be acquired in the resource sharing list, and the smart TV end responds to the instruction, and acquires a storage address of the resource that needs to be acquired in the resource sharing list determined by the user, where The obtained storage address contains two parts of information, the IP address of the device to which the resource belongs and the specific storage path of the resource on the device to which it belongs.
  • the smart TV acquires the storage address of the resource that needs to be acquired in the determined resource sharing list, and may also obtain the resource sharing list.
  • a storage address of the other resource after responding to the triggered instruction for reading the resource of the storage address location of the other resource in the resource sharing list, sending a read permission request to the other terminal; receiving the instruction sent by the other terminal for indicating the reading The permission command of the permission reads the resource of the location pointed to by the storage address according to the permission instruction.
  • the device may return the address of all resources in the resource list to the television end, so that when the smart TV end reads the selected resource and needs to play the next resource, You can directly initiate an access request to the device with the address that has been obtained before, without re-acquiring the storage address of the next resource to the device.
  • the user After obtaining the storage address corresponding to the required resource, the user triggers an instruction for reading the resource pointed to by the storage address, and indicates that the user wants to obtain the resource corresponding to the storage address.
  • the smart TV end belongs to the resource.
  • the device sends a read permission request, asks whether it can be read, and the specific read permission.
  • the read permission includes the first permission and the second permission, and when the permission instruction is the first permission, the device belongs to the resource.
  • the end allows the smart TV terminal to read the location pointed to by the storage address information.
  • the resource is once (that is, the read is allowed, if the next time you need to read, you still need to ask); when the permission command is the second permission, the smart TV end is allowed to read the storage address information within the predetermined time range. The location of the resource.
  • the read data may be saved to a local cache area, and after the reading ends, the data stored in the cache area is cleared; After the instruction for saving the resource is stored, the resource is stored in a local fixed storage area of the smart TV for convenient reading.
  • the user when the user wants to use the smart TV to play resources on other terminal devices in the same local area network, the user does not need to use other terminal devices to send the resource to the smart TV, and the user can use the smart TV line scan to obtain the same local area network.
  • the other devices in the device and the resource access mode of the device and then select the device to be accessed to determine the resources to be accessed.
  • the smart TV terminal can directly play the resource on the local end. It is equivalent to using other devices as an authorized resource server, which is different from the way that other devices in the prior art synchronously play resources of other devices with the smart TV end.
  • This resource access method effectively solves the problem that the smart TV in the prior art cannot Direct access to read resources on other devices in the same LAN, reducing the complexity of accessing other device resources and improving efficiency.
  • the present application also discloses a computer readable recording medium on which a program for executing the methods described in Embodiments 1 to 3 is recorded.
  • the computer readable recording medium includes any mechanism configured to store or transfer information in a form readable by a computer (for example, a computer).
  • a machine-readable medium includes read only memory (ROM), random access memory (RAM), magnetic disk storage media, optical storage media, flash storage media, electrical, optical, acoustic, or other forms of propagation signals (eg, carrier waves) , infrared signals, digital signals, etc.).
  • the resource access method of the smart TV is provided in the embodiment 1.
  • the embodiment provides a resource access method device for the smart TV, and FIG. 4 shows an optional structural diagram of the device, as shown in FIG. Show that the device includes:
  • the scanning module 40 is configured to scan other devices in the local area network in response to the first instruction of the triggered resource for accessing other devices in the local area network of the smart television;
  • a file management application can be set on the smart TV end for managing resource data.
  • the file management application interface of the smart TV may have several buttons for managing local storage, external hard disk storage, local area network storage, and cloud storage, wherein the local storage includes the smart TV local resource; the external hard disk storage is intelligent.
  • the resources included in the TV access to the external hard disk; the cloud storage includes the resources in the cloud technology and the same account as the smart TV.
  • the scanning module 40 includes: a first scanning module configured to scan a device corresponding to the ID existing in the display list, wherein the display list stores an ID of another device in the local area network where the smart television that was last scanned is located And the resource access mode corresponding to the device; the second scanning module is configured to scan devices in the local area network where the smart television is located outside the display list.
  • the scanning mode when the device to which the user wants to acquire the resource belongs in the display list, the device can quickly scan to determine whether the device can be accessed, thereby improving access efficiency.
  • the display module 42 is configured to obtain an ID of another device in the scanned local area network and a resource access mode corresponding to the device, and display the display module 42.
  • the display module 42 includes: an update module configured to: Recording the ID of the scanned device and the resource access mode of the device to the display list to complete the update of the display list; the first display module is configured to display the updated display list.
  • the ID of the scanned device and the resource access mode of the device are recorded in the display list to complete the update of the display list, optionally, if the display list exists
  • the device ID and resource access mode recorded in the sub-scan are deleted first, and the device ID and resource access mode of the last scan record are deleted, and then the device ID and resource access mode of the current scan are recorded.
  • the list is displayed to the user for selection by the user.
  • the playing module 44 is connected to the display module 42 and configured to play the resource on the smart TV end in response to the second instruction of the resource in the device corresponding to the ID of the other device displayed by the triggered access.
  • the playing module 44 includes: a fourth acquiring module, configured to obtain a resource sharing list in the corresponding device, in response to the third instruction in the second instruction, which is used to determine the device corresponding to the ID of the displayed other device, and Displaying, wherein the resource sharing list includes resources in the corresponding device that are available for local area network sharing; and the first playing module is configured to respond to the second instruction in the second instruction for reading the resource required in the obtained resource sharing list.
  • the first playing module includes: a fifth acquiring module, configured to acquire a storage resource of a device to which the resource belongs, and a third sending module configured to send a request for reading a resource of the storage address location to the resource to which the resource belongs a second play module configured to receive a play instruction sent by the device to which the resource belongs, Play the resource at the storage address location on the smart TV side.
  • the user when the user wants to use the smart TV to play resources on other terminal devices in the same local area network, the user does not need to use other terminal devices to send the resource to the smart TV, and the user can use the
  • the smart TV line scans the other devices in the same local area network and the resource access modes of the device, and then selects the devices to be accessed to determine the resources to be accessed. After the other devices agree to the smart TV to access the resources, the smart TV terminal can Playing the resource directly on the local end is equivalent to using other devices as an authorized resource server, which is different from the way that other devices in the prior art synchronously play resources of other devices with the smart TV end, and the resource access method is effectively solved.
  • the smart TV cannot directly access the resources on other devices in the same local area network, thereby reducing the complexity of accessing other device resources and improving efficiency.
  • the embodiment provides a device scanning device in the smart TV, and FIG. 5 shows an optional structural diagram of the device, as shown in FIG. , the device includes:
  • the startup module 50 is configured to start a process for scanning other devices in the local area network in response to the triggered access instruction of accessing resources of other devices in the local area network of the smart television, wherein the smart television end is preset for scanning the local area network The process of other devices;
  • a file management application can be set on the smart TV end for managing resource data.
  • the file management application interface of the smart TV may have several buttons for managing local storage, external hard disk storage, local area network storage, and cloud storage, wherein when the user selects the local area storage button, the user accesses the local area network where the smart television is located.
  • the access command may be the same as the first command described in the first embodiment, or the access command may be separately issued after the first command is issued.
  • the user needs to scan other devices existing in the local area network.
  • the smart TV terminal starts an internal preset process for scanning other devices in the local area network.
  • the process includes automatic The scanning process and the manual scanning process, in which the automatic scanning process can scan the SMB device and/or the DLNA device, and the manual scanning process can scan the FTP device in addition to scanning the SMB device and/or the DLNA device.
  • the above-mentioned SMB device is a remote storage device that satisfies the SMB (Server Message Block Protocol)
  • the FTP device is a remote storage device that satisfies FTP (File Transfer Protocol)
  • the DLNA device satisfies DLNA (Digital) Living Network Alliance, Digital Living Network Network protocol)) Remote storage device.
  • two scanning modes, automatic scanning and manual scanning are provided, and the user can perform targeted selection according to actual conditions, increase user selectivity, and improve the intelligence of the smart television scanning other devices.
  • a determination module 52 coupled to the startup module 50, configured to determine a process to be used to scan other devices in response to the triggered determination instruction for determining a process to be used, invoking the determined required process to be preset in the process Scanning a thread to scan a device corresponding to the scan thread in the local area network;
  • the determining instruction is triggered, and the smart television end determines the process that the user needs to use, and invokes the scanning thread preset in the determined process, Scanning of other devices on the LAN.
  • the determining module includes: a first calling module configured to: when determining that the required process is an automatic scanning process, invoking a first scanning thread in the automatic scanning process to scan the SMB device; the second calling module And configured to: when determining that the process to be used is an automatic scanning process, calling a second scanning thread in the automatic scanning process to scan the DLNA device thread; and the third calling module is configured to determine the required use in determining the instruction.
  • the process is a manual scan process
  • the third scan thread in the manual scan process is called to scan the SMB device and/or the DLNA device and/or the FTP device.
  • the first calling module includes:
  • the sixth obtaining module is configured to obtain an IP address of the smart TV corresponding to the local area network; the connection module is configured to traverse each IP address in the local area network, and respectively try to connect through a specific port of the SMB device, wherein each other in the same local area network
  • the IP address of the device is the same as the first three bytes of the IP address of the smart TV.
  • the last byte is in the range of 2 to 254.
  • After obtaining the IP address of other devices try to establish a connection respectively.
  • the connection is made, whether the IP address in the obtained LAN can be connected to the IP address of the smart TV through the PING method; when the PING is connected, it is determined whether the IP address can be connected through the SMB device specific port [139, 445].
  • the first update module is configured to update the device ID corresponding to the IP address of the SMB device to the display list when the connection is successful, and record the resource access mode of the device in the display list as SMB mode. Use the PING method to judge whether the connection is successful, the operation is simple, and the accuracy is high.
  • the second calling module includes: a first scanning module configured to scan the DLNA device according to the class library provided by the third party, and scan the device when the DLNA device opens the DMS; and the second update module is configured to The device ID corresponding to the scanned DLNA device is updated to the display list, and the resource access mode of the device is recorded in the display list as the DLNA mode.
  • This scanning method operation Simple and accurate.
  • the embodiment further provides a scheme for scanning by a manual scanning process.
  • the third calling module includes: a display module configured to display a scan entry for selecting a required device, where the scan entry includes an SMB device scan.
  • the second scan module is configured to enter an interface corresponding to the selected scan entry in response to the triggered selection command of the selected scan entry, according to the scan address input at the input of the interface
  • the device corresponding to the scanned address is scanned in the local area network;
  • the third update module is configured to update the device ID corresponding to the scanned device to the display list, and record the resource access mode of the device.
  • the device display module 54 is connected to the determining module 52 and configured to display the scanned device and the access mode corresponding to the device.
  • the display list in the last automatic scanning process may be displayed, and the recently operated device may be displayed at the forefront.
  • the device scanned by the last manual scan process will not be displayed in the display list.
  • the process of scanning the other devices in the local area network is started first, according to the requirements.
  • the device access mode select the corresponding scanning process to scan, and then directly display to the user, this scanning mode does not require the user to manually perform statistics, effectively solves the problem in the prior art that the user manually determines the presence of the smart TV in the same local area network. Problems with other devices, reducing operational steps and improving acquisition efficiency.
  • the resource reading method of the smart TV provided in the above embodiment 3 is provided.
  • the embodiment provides a resource reading device for the smart television, and FIG. 6 shows an optional structural diagram of the device, as shown in FIG. 6 .
  • the device includes:
  • the first obtaining module 60 is configured to send a first request instruction to other devices in response to the triggered acquisition instruction of reading resources of other devices in the local area network of the smart television, and obtain a resource sharing list of the other device, where the resource sharing list Contains resources that can be used for LAN sharing in other devices;
  • the user first triggers the acquisition instruction, and the smart television end sends the acquisition instruction to the other device for acquiring.
  • the first request instruction of the resource sharing list of the other device optionally, after receiving the first request instruction, the other device end knows that the smart TV end wants to access the local resource, If the smart TV terminal is allowed to obtain, it is returned to the smart TV terminal resource sharing list, and the resource sharing list includes resources that can be used for local area network sharing in other devices for the smart television terminal to select.
  • the second obtaining module 62 is connected to the first obtaining module 60, and configured to send a second request instruction to the other device to obtain the determined resource sharing list in response to the triggered instruction for determining the resource that needs to be acquired in the resource sharing list.
  • a storage address of the resource to be obtained where the storage address includes an IP address of the device to which the resource to be acquired belongs to the local area network and a storage path of the device to which the resource belongs;
  • the user After obtaining the resource sharing list, the user triggers an instruction for determining the resource that needs to be acquired in the resource sharing list, and the smart TV end responds to the instruction, and acquires a storage address of the resource that needs to be acquired in the resource sharing list determined by the user, where The obtained storage address contains two parts of information, the IP address of the device to which the resource belongs and the specific storage path of the resource on the device to which it belongs.
  • the device further includes: a third acquiring module, configured to acquire a storage address of other resources in the resource sharing list while acquiring a storage address of the resource to be acquired in the determined resource sharing list; And configured to send a read permission request to the other terminal in response to the triggered instruction for reading the resource of the storage address location of the other resource in the resource sharing list; the second reading module is configured to receive the sending by the other terminal A permission instruction indicating a read permission, and reading a resource at a location pointed to by the storage address according to the permission instruction.
  • the device may return the address of all resources in the resource list to the television end, so that when the smart TV end reads the selected resource and needs to play the next resource, You can directly initiate an access request to the device with the address that has been obtained before, without re-acquiring the storage address of the next resource to the device.
  • the first sending module 64 is connected to the second obtaining module 62, and configured to send a read permission request to the other terminal in response to the triggered instruction for reading the resource of the location pointed by the storage address;
  • the user After obtaining the storage address corresponding to the required resource, the user triggers an instruction for reading the resource pointed to by the storage address, and indicates that the user wants to obtain the resource corresponding to the storage address.
  • the smart TV end belongs to the resource.
  • the device sends a read permission request, asks whether it can be read, and the specific read permission.
  • the read permission includes the first permission and the second permission, and when the permission instruction is the first permission, the device belongs to the resource.
  • the terminal allows the smart TV terminal to read the resource of the location pointed by the storage address information once (ie, allows the reading, if the next time the reading needs to be read, still needs to be queried); when the permission command is the second permission, the smart TV is allowed.
  • the terminal has permission to read the resource at the location pointed to by the storage address information within a predetermined time range.
  • the first reading module 66 is connected to the first sending module 64, and is configured to receive a permission instruction sent by another terminal for indicating the read permission, and read the resource of the location pointed by the storage address according to the permission instruction.
  • the first reading module includes: a first storage module configured to save the read data to a local cache area during the process of reading the resource pointed to by the storage address, and after the reading is finished, clearing The data stored in the cache area.
  • the second storage module is configured to, after receiving the resource for saving the location pointed to by the storage address, in the process of reading the resource pointed to by the storage address, and saving the read data to the local fixed storage area.
  • the user when the user wants to use the smart TV to play resources on other terminal devices in the same local area network, the user does not need to use other terminal devices to send the resource to the smart TV, and the user can use the smart TV line scan to obtain the same local area network.
  • the other devices in the device and the resource access mode of the device and then select the device to be accessed to determine the resources to be accessed.
  • the smart TV terminal can directly play the resource on the local end. It is equivalent to using other devices as an authorized resource server, which is different from the way that other devices in the prior art synchronously play resources of other devices with the smart TV end.
  • This resource access method effectively solves the problem that the smart TV in the prior art cannot Direct access to read resources on other devices in the same LAN, reducing the complexity of accessing other device resources and improving efficiency.
  • the application can be applied to a computer system/server that can operate with numerous other general purpose or special purpose computing system environments or configurations.
  • Examples of well-known computing systems, environments, and/or configurations suitable for use with computer systems/servers include, but are not limited to, personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, based on Microprocessor systems, set-top boxes, programmable consumer electronics, networked personal computers, small computer systems, mainframe computer systems, and distributed cloud computing technology environments including any of the above, and the like.
  • a computer system/server can execute instructions on a computer system executed by a computer system As described in the general context of the program module.
  • program modules may include routines, programs, target programs, components, logic, data structures, and the like that perform particular tasks or implement particular abstract data types.
  • the computer system/server can be implemented in a distributed cloud computing environment where tasks are performed by remote processing devices that are linked through a communication network.
  • program modules may be located on a local or remote computing system storage medium including storage devices.

Landscapes

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

Abstract

 一种智能电视的资源访问方法和装置,该方法包括:响应于触发的访问智能电视所处局域网内其他设备的资源的第一指令,扫描局域网内的其他设备;获取扫描到的局域网内的其他设备的ID以及该设备对应的资源访问方式,并进行显示;响应于触发的访问显示的其他设备的ID对应的设备中的资源的第二指令,在智能电视端播放资源。本申请解决了现有技术中智能电视无法直接访问读取同一局域网内的其他设备上的资源的问题,降低访问其他设备资源的复杂度,提高效率。

Description

智能电视的资源访问方法和装置
本申请要求于2013年12月16日提交的申请号为“201310685441.5”、发明名称为“智能电视的资源访问方法和装置”,于2013年12月16日提交的申请号为“201310685480.5”、发明名称为“智能电视中的设备扫描方法和装置”,以及,于2013年12月16日提交的申请号为“201310685810.0”、发明名称为“智能电视的资源读取方法和装置”3件中国发明专利申请的优先权,其全文引用在此供参考。
技术领域
本申请涉及电视领域,具体而言,涉及一种智能电视的资源访问方法和装置。
背景技术
电视作为信息传播终端,在人们生活中被广泛使用。随着互联网技术的发展,人们对电视的智能化提出更高的要求:除了具有传统电视不具备的互联网、游戏等功能外,还应具有访问读取其他终端设备资源的功能。
现有的智能电视产品访问同一局域网内其他终端设备上的资源的过程,仅仅是将智能电视端作为显示装置,并非获取到该资源,例如,用户可以在手机等终端设备与智能电视建立连接后,控制手机终端进行电影播放,相应地在智能电视端进行同步播放,但是,在播放过程中智能电视端仅仅是作为一个播放设备,并非真正意义上的获取到该电影资源。若智能电视端需要获取其他终端设备的资源时,通常需要其他终端设备将自身包含的资源发送给智能电视端,智能电视端接收到该资源后,进行读取或播放。这种获取其他设备上的资源的方式,操作复杂,效率较低。
针对现有技术中智能电视无法直接访问读取同一局域网内的其他设备上的资源的问题,目前尚未提出有效的解决方案。
发明内容
一种智能电视的资源访问方法和装置,目的之一在于解决现有技术中智能电视无法直接访问读取同一局域网内的其他设备上的资源的问题。
一种智能电视的资源访问方法,该方法包括:响应于触发的访问智能电视所处局域网内其他设备的资源的第一指令,扫描局域网内的其他设备;获取扫描到的局域网内的其他设备的ID以及该设备对应的资源访问方式,并进行显示;响应于触发的访问显示的其他设备的ID对应的设备中的资源的第二指令,在智能电视端播放资源。
可选地,响应于触发的访问智能电视所处局域网内其他设备的资源的第一指令,扫描局域网内的其他设备,包括:扫描显示列表中存在的ID对应的设备,其中,显示列表中保存有上次扫描到的智能电视所处局域网内的其他设备的ID以及该设备对应的资源访问方式;扫描显示列表之外智能电视所处局域网内的设备。
可选地,获取扫描到的局域网内的其他设备的ID以及该设备对应的资源访问方式,并进行显示,包括:将扫描到的设备的ID以及该设备的资源访问方式记录至显示列表中,以完成显示列表的更新;将更新的显示列表进行显示。
可选地,响应于触发的访问显示的其他设备的ID对应的设备中的资源的第二指令,在智能电视端播放资源,包括:响应于第二指令中用于确定显示的其他设备的ID对应的设备的第三指令,获取对应的设备中的资源共享列表,并进行显示,其中,资源共享列表中包含对应的设备中可用于局域网共享的资源;响应于第二指令中用于读取获取的资源共享列表中所需的资源的第四指令,在智能电视端播放所需的资源。
可选地,响应于第二指令中用于读取资源共享列表中所需的资源的第四指令,在智能电视端播放所需的资源,包括:获取所需的资源在该资源所属的设备的存储地址;发送读取存储地址位置的资源的请求至该资源所属的设备;接收到该资源所属的设备发送的播放指示后,在智能电视端播放存储地址位置的资源。
一种智能电视的资源访问装置,该装置包括:扫描模块,配置为响应于触发的访问智能电视所处局域网内其他设备的资源的第一指令,扫描局域网内的其他设备;显示模块,配置为获取扫描到的局域网内的其他设备的ID以及该设备对应的资源访问方式,并进行显示;播放模块,配置为响应于触发的访问显示的其他设备的ID对应的设备中的资源的第二指令,在智能电视端播放资源。
可选地,扫描模块包括:第一扫描模块,配置为扫描显示列表中存在的ID对应的设备,其中,显示列表中保存有上次扫描到的智能电视所处局域网内的 其他设备的ID以及该设备对应的资源访问方式;第二扫描模块,配置为扫描显示列表之外智能电视所处局域网内的设备。
可选地,显示模块包括:更新模块,配置为将扫描到的设备的ID以及该设备的资源访问方式记录至显示列表中,以完成显示列表的更新;第一显示模块,配置为将更新的显示列表进行显示。
可选地,播放模块包括:第四获取模块,配置为响应于第二指令中用于确定显示的其他设备的ID对应的设备的第三指令,获取对应的设备中的资源共享列表,并进行显示,其中,资源共享列表中包含对应的设备中可用于局域网共享的资源;第一播放模块,配置为响应于第二指令中用于读取获取的资源共享列表中所需的资源的第四指令,在智能电视端播放所需的资源。
可选地,第一播放模块包括:第五获取模块,配置为获取所需的资源在该资源所属的设备的存储地址;第三发送模块,配置为发送读取存储地址位置的资源的请求至该资源所属的设备;第二播放模块,配置为接收到该资源所属的设备发送的播放指示后,在智能电视端播放存储地址位置的资源。
一种智能电视中的设备扫描方法,包括:响应于触发的访问智能电视所处局域网内其他设备的资源的访问指令,启动用于扫描所述局域网内的其他设备的进程,其中,所述智能电视端预置有用于扫描所述局域网内的其他设备的进程;响应于触发的用于确定所需使用的进程的确定指令,确定扫描所述其他设备所需使用的进程,调用确定的所述所需使用的进程中预置的扫描线程,对所述局域网中与该扫描线程对应的设备进行扫描;将扫描到的设备及该设备对应的访问方式进行显示。
可选地,所述其他设备包括:SMB设备、DLNA设备以及FTP设备,所述智能电视端预置的进程包括自动扫描进程和手动扫描进程,其中,在所述确定指令确定所需使用的进程为所述自动扫描进程时,调用所述自动扫描进程中的第一扫描线程对所述SMB设备进行扫描,调用所述自动扫描进程中的第二扫描线程对所述DLNA设备线程进行扫描;在所述确定指令确定所需使用的进程为所述手动扫描进程时,调用所述手动扫描进程中的第三扫描线程对所述SMB设备和/或所述DLNA设备和/或所述FTP设备进行扫描。
可选地,所述调用所述自动扫描进程中的第一扫描线程对所述SMB设备进行扫描,包括:获取所述智能电视对应于所述局域网的IP地址;遍历所述局域网内各个IP地址,并分别尝试通过SMB设备特定端口进行连接;在连接成功 时,将SMB设备的IP地址对应的设备ID更新至显示列表,并在所述显示列表中将该设备的资源访问方式记录为SMB方式。
可选地,所述遍历所述局域网内各个IP地址,并分别尝试通过SMB设备特定端口进行连接,包括:通过PING方式判断获取的所述局域网内各个IP地址是否能够与所述智能电视的IP地址连通;在PING连通时,判断与该IP地址是否能够通过SMB设备特定端口进行连接,若能够连接,则判定连接成功。
可选地,所述调用所述自动扫描进程中的第二扫描线程对所述DLNA设备线程进行扫描,包括:根据第三方提供的类库对所述DLNA设备进行扫描,在所述DLNA设备打开DMS时,扫描到该设备;将扫描到的DLNA设备对应的设备ID更新至显示列表,并在所述显示列表中将该设备的资源访问方式记录为DLNA方式。
可选地,所述在所述确定指令确定所需使用的进程为所述手动扫描进程时,调用所述手动扫描进程中的第三扫描线程对所述SMB设备和/或所述DLNA设备和/或所述FTP设备进行扫描,包括:显示用于选择所需设备的扫描入口,其中,所述扫描入口包括SMB设备扫描入口、DLNA设备扫描入口以及FTP设备扫描入口;响应于触发的选择扫描入口的选择指令,进入到选择的所述扫描入口对应的界面,根据在所述界面的输入入口输入的扫描地址,在所述局域网内扫描所述输入的扫描地址对应的设备;将扫描到的设备对应的设备ID更新至显示列表,并记录该设备的资源访问方式。
一种智能电视中的设备扫描装置,包括:启动模块,配置为响应于触发的访问智能电视所处局域网内其他设备的资源的访问指令,启动用于扫描所述局域网内的其他设备的进程,其中,所述智能电视端预置有用于扫描所述局域网内的其他设备的进程;确定模块,配置为响应于触发的用于确定所需使用的进程的确定指令,确定扫描所述其他设备所需使用的进程,调用确定的所述所需使用的进程中预置的扫描线程,对所述局域网中与该扫描线程对应的设备进行扫描;设备显示模块,配置为将扫描到的设备及该设备对应的访问方式进行显示。
可选地,所述其他设备包括:SMB设备、DLNA设备以及FTP设备,所述智能电视端预置的进程包括自动扫描进程和手动扫描进程,所述确定模块包括:第一调用模块,配置为在所述确定指令确定所需使用的进程为所述自动扫描进程时,调用所述自动扫描进程中的第一扫描线程对所述SMB设备进行扫描;第 二调用模块,配置为在所述确定指令确定所需使用的进程为所述自动扫描进程时,调用所述自动扫描进程中的第二扫描线程对所述DLNA设备线程进行扫描;第三调用模块,配置为在所述确定指令确定所需使用的进程为所述手动扫描进程时,调用所述手动扫描进程中的第三扫描线程对所述SMB设备和/或所述DLNA设备和/或所述FTP设备进行扫描。
可选地,所述第一调用模块包括:第六获取模块,配置为获取所述智能电视对应于所述局域网的IP地址;连接模块,配置为遍历所述局域网内各个SMB设备的IP地址,并分别尝试通过SMB设备特定端口进行连接;第一更新模块,配置为在连接成功时,将SMB设备的IP地址对应的设备ID更新至显示列表,并在所述显示列表中将该设备的资源访问方式记录为SMB方式。
可选地,所述连接模块通过PING方式判断获取的所述局域网内各个IP地址是否能够与所述智能电视的IP地址连通;在PING连通时,判断与该IP地址是否能够通过SMB设备特定端口进行连接,若能够连接,则判定连接成功。
一种智能电视的资源读取方法,包括:响应于触发的读取所述智能电视所处局域网内其他设备的资源的获取指令,向所述其他设备发送第一请求指令,获取所述其他设备的资源共享列表,其中,所述资源共享列表中包含有所述其他设备中可用于局域网共享的资源;响应于触发的用于确定所述资源共享列表中所需获取的资源的指令,向所述其他设备发送第二请求指令,获取确定的所述资源共享列表中所需获取的资源的存储地址,其中,所述存储地址中包含有所述所需获取的资源所属的设备相对于所述局域网的IP地址以及该资源在其所属的设备的存储路径;响应于触发的用于读取所述存储地址指向的位置的资源的指令,向所述其他终端发送读取权限请求;接收所述其他终端发送的用于指示读取权限的权限指令,根据所述权限指令读取所述存储地址指向的位置的资源。
可选地,所述权限指令包括:第一权限和第二权限,其中,在所述权限指令为第一权限时,允许所述智能电视端读取所述存储地址信息指向的位置的资源一次;在所述权限指令为第二权限时,允许所述智能电视端在预定时间范围内有权限读取所述存储地址信息指向的位置的资源。
可选地,所述根据所述权限指令读取所述存储地址指向的位置的资源,包括:在读取所述存储地址指向的位置的资源过程中,将读取的数据保存至本地的缓存区域,在读取结束后,清空所述缓存区域存储的数据。
可选地,所述根据所述权限指令读取所述存储地址指向的位置的资源,包括:在读取所述存储地址指向的位置的资源过程中,接收用于保存所述存储地址指向的位置的资源的指令后,将读取的数据保存至本地固定存储区域。
可选地,还包括:在所述获取确定的所述资源共享列表中所需获取的资源的存储地址的同时,获取所述资源共享列表中其他资源的存储地址;响应于触发的用于读取所述资源共享列表中其他资源的存储地址位置的资源的指令,向所述其他终端发送读取权限请求;接收所述其他终端发送的用于指示读取权限的权限指令,根据所述权限指令读取所述存储地址指向的位置的资源。
一种智能电视的资源读取装置,包括:第一获取模块,配置为响应于触发的读取所述智能电视所处局域网内其他设备的资源的获取指令,向所述其他设备发送第一请求指令,获取所述其他设备的资源共享列表,其中,所述资源共享列表中包含有所述其他设备中可用于局域网共享的资源;第二获取模块,配置为响应于触发的用于确定所述资源共享列表中所需获取的资源的指令,向所述其他设备发送第二请求指令,获取确定的所述资源共享列表中所需获取的资源的存储地址,其中,所述存储地址中包含有所述所需获取的资源所属的设备相对于所述局域网的IP地址以及该资源在其所属的设备的存储路径;第一发送模块,配置为响应于触发的用于读取所述存储地址指向的位置的资源的指令,向所述其他终端发送读取权限请求;第一读取模块,配置为接收所述其他终端发送的用于指示读取权限的权限指令,根据所述权限指令读取所述存储地址指向的位置的资源。
可选地,所述权限指令包括:第一权限和第二权限,其中,在所述权限指令为第一权限时,允许所述智能电视端读取所述存储地址信息指向的位置的资源一次;在所述权限指令为第二权限时,允许所述智能电视端在预定时间范围内有权限读取所述存储地址信息指向的位置的资源。
可选地,所述第一读取模块包括:第一存储模块,配置为在读取所述存储地址指向的位置的资源过程中,将读取的数据保存至本地的缓存区域,在读取结束后,清空所述缓存区域存储的数据。
可选地,所述第一读取模块包括:第二存储模块,配置为在读取所述存储地址指向的位置的资源过程中,接收用于保存所述存储地址指向的位置的资源的指令后,将读取的数据保存至本地固定存储区域。
可选地,还包括:第三获取模块,配置为在所述获取确定的所述资源共享 列表中所需获取的资源的存储地址的同时,获取所述资源共享列表中其他资源的存储地址;第二发送模块,配置为响应于触发的用于读取所述资源共享列表中其他资源的存储地址位置的资源的指令,向所述其他终端发送读取权限请求;第二读取模块,配置为接收所述其他终端发送的用于指示读取权限的权限指令,根据所述权限指令读取所述存储地址指向的位置的资源。
一种在其上记录有用于执行上述方法的程序的计算机可读记录介质。
在本申请中用户想要使用智能电视播放处于同一局域网内其他终端设备上的资源时,不需要使用其他终端设备将该资源发送至智能电视上,用户可以使用智能电视线扫描获取到同一局域网内的其他设备及该设备的资源访问方式,然后选择所需访问的设备,确定所需访问的资源,在其他设备同意智能电视访问该资源后,智能电视端可以直接在本端播放该资源,相当于将其他设备作为一个已授权的资源服务器,区别于现有技术中其他设备与智能电视端同步播放其他设备端的资源的方式,这种资源访问方式有效地解决了现有技术中智能电视无法直接访问读取同一局域网内的其他设备上的资源的问题,降低访问其他设备资源的复杂度,提高效率。
附图说明
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:
图1是根据本申请实施例的智能电视的资源访问方法的一种可选的流程图;
图2是根据本申请实施例的智能电视中的设备扫描方法的一种可选的流程图;
图3是根据本申请实施例的智能电视的资源读取方法的一种可选的流程图;
图4是根据本申请实施例的智能电视的资源访问装置的一种可选的结构图;
图5是根据本申请实施例的智能电视中的设备扫描装置的一种可选的结构图;以及
图6是根据本申请实施例的智能电视的资源读取装置的一种可选的结构图。
具体实施方式
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被 这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。
实施例1
在本申请的实施例1中提供了一种智能电视的资源访问方法,图1示出该方法的一种可选的流程图,如图1所示,该方法包括步骤S102-S106:
S102,响应于触发的访问智能电视所处局域网内其他设备的资源的第一指令,扫描局域网内的其他设备;
具体实现时,可以在智能电视端设置文件管理应用,用于管理资源数据。可选地,智能电视的文件管理应用界面可以有几个按键,分别管理本地存储、外接硬盘存储、局域网存储以及云存储,其中,本地存储中包含有智能电视本端资源;外接硬盘存储为智能电视接入外接硬盘时包含的资源;云存储中包含有云技术中与该智能电视同一账号下的资源。在用户选中局域网存储按键时,触发访问智能电视所处局域网内其他设备的资源的第一指令,智能电视端发起扫描进程,对智能电视所处局域网内存在的其他设备进行扫描。可选地,在进行扫描时,可以先扫描显示列表中存在的ID对应的设备,其中,显示列表中保存有上次扫描到的智能电视所处局域网内的其他设备的ID以及该设备对应的资源访问方式,然后扫描显示列表之外智能电视所处局域网内的设备,这种扫描方式,当用户想要获取的资源所属的设备在显示列表中时,可以快速的扫描确定该设备是否可以访问,提高访问效率。
S104,获取扫描到的局域网内的其他设备的ID以及该设备对应的资源访问方式,并进行显示;
具体地,在扫描到局域网内存在其他设备时,将扫描到的设备的ID以及该设备的资源访问方式记录至显示列表中,以完成显示列表的更新,可选地,若显示列表中存在上次扫描中记录的设备ID及资源访问方式,先将上次扫描记录的设备ID及资源访问方式删除,然后记录下本次扫描到的设备ID及资源访问方式。完成显示列表的更新后,将该列表显示给用户,供用户选择。
S106,响应于触发的访问显示的其他设备的ID对应的设备中的资源的第二指令,在智能电视端播放资源。
具体来说,包括如下步骤:响应于第二指令中用于确定显示的其他设备的ID对应的设备的第三指令,获取对应的设备中的资源共享列表,并进行显示,其中,资源共享列表中包含对应的设备中可用于局域网共享的资源;响应于第 二指令中用于读取获取的资源共享列表中所需的资源的第四指令,在智能电视端播放所需的资源。具体播放时可以包括如下步骤:获取所需的资源在该资源所属的设备的存储地址;发送读取存储地址位置的资源的请求至该资源所属的设备;接收到该资源所属的设备发送的播放指示后,在智能电视端播放存储地址位置的资源。这种通过资源共享列表的方式,可以使用户快速查找到所需访问的资源,提高访问效率。
从以上描述中可以看出,本申请实施中在用户想要使用智能电视播放处于同一局域网内其他终端设备上的资源时,不需要使用其他终端设备将该资源发送至智能电视上,用户可以使用智能电视线扫描获取到同一局域网内的其他设备及该设备的资源访问方式,然后选择所需访问的设备,确定所需访问的资源,在其他设备同意智能电视访问该资源后,智能电视端可以直接在本端播放该资源,相当于将其他设备作为一个已授权的资源服务器,区别于现有技术中其他设备与智能电视端同步播放其他设备端的资源的方式,这种资源访问方式有效地解决了现有技术中智能电视无法直接访问读取同一局域网内的其他设备上的资源的问题,降低访问其他设备资源的复杂度,提高效率。
实施例2
关于实施例1中智能电视如何扫描局域网内的其他设备,本实施例提供了一种智能电视中的设备扫描方法,图2示出该方法的一种可选的流程图,如图2所示,该方法包括步骤S202-S206:
S202,响应于触发的访问智能电视所处局域网内其他设备的资源的访问指令,启动用于扫描局域网内的其他设备的进程,其中,智能电视端预置有用于扫描局域网内的其他设备的进程;
具体实现时,可以在智能电视端设置文件管理应用,用于管理资源数据。可选地,智能电视的文件管理应用界面可以有几个按键,分别管理本地存储、外接硬盘存储、局域网存储以及云存储,其中,在用户选中局域网存储按键时,触发访问智能电视所处局域网内其他设备的资源的访问指令,此处需要说明的是,该访问指令可以与实施例一中记载的第一指令相同,也可以是在发出上述的第一指令之后,再单独发出访问指令。在用户发出该访问指令后,表征用户需要扫描本局域网内存在的其他设备,此时,智能电视端启动内部预置的用于扫描局域网内的其他设备的进程,可选地,该进程包括自动扫描进程和手动扫描进程,其中,自动扫描进程可以扫描SMB设备和/或DLNA设备,手动扫描 进程除可以扫描SMB设备和/或DLNA设备外,还可以扫描FTP设备。其中,上述的SMB设备为满足SMB(Server Message Block,服务器信息块协议)的远程存储设备,FTP设备为满足FTP(File Transfer Protocol,文件传输协议)的远程存储设备,DLNA设备为满足DLNA(Digital Living Network Alliance,数字生活网络联盟协议))的远程存储设备。上述记载的实施方式中,提供了自动扫描和手动扫描两种扫描方式,用户可以根据实际情况进行针对性的选择,增加用户的选择性,同时提高智能电视扫描其他设备的智能性。
S204,响应于触发的用于确定所需使用的进程的确定指令,确定扫描其他设备所需使用的进程,调用确定的所需使用的进程中预置的扫描线程,对局域网中与该扫描线程对应的设备进行扫描;
具体地,在用户选择所需使用的进程(自动扫描进程或手动扫描进程)后,触发确定指令,智能电视端确定用户所需使用的进程,并调用确定的进程中预置的扫描线程,对局域网内的其他设备进行扫描。具体来说,自动扫描进程中至少预置有第一扫描线程和第二扫描线程,手动扫描进程中至少预置有第三扫描线程,在确定所需使用的进程为自动扫描进程时,调用自动扫描进程中的第一扫描线程对SMB设备进行扫描,调用自动扫描进程中的第二扫描线程对DLNA设备线程进行扫描,在确定所需使用的进程为手动扫描进程时,调用手动扫描进程中的第三扫描线程对SMB设备和/或DLNA设备和/或FTP设备进行扫描。
具体来说,调用自动扫描进程中的第一扫描线程对SMB设备进行扫描包括如下步骤:(1)获取智能电视对应于局域网的IP地址;(2)遍历所述局域网内各个IP地址,并分别尝试通过SMB设备特定端口进行连接,其中,同一局域网内的各个其他设备IP地址,与智能电视的IP地址的前三个字节均相同,最后一个字节在2到254的范围内,在获取到其他设备IP地址后,分别尝试建立连接;可选地,在进行连接时,通过PING方式判断获取的局域网内各个IP地址是否能够与智能电视的IP地址连通;在PING连通时,判断与该IP地址是否能够通过SMB设备特定端口[139,445]进行连接,若能够连接,则判定连接成功。(3)在连接成功时,将SMB设备的IP地址对应的设备ID更新至显示列表,并在显示列表中将该设备的资源访问方式记录为SMB方式。使用PING方式判断是否连接成功,操作简单,准确性高。
调用自动扫描进程中的第二扫描线程对DLNA设备线程进行扫描包括如下 步骤:根据第三方提供的类库对DLNA设备进行扫描,在DLNA设备打开DMS(Digital Media Server,数字媒体服务)时,扫描到该设备;将扫描到的DLNA设备对应的设备ID更新至显示列表,并在显示列表中将该设备的资源访问方式记录为DLNA方式。这种扫描方式,操作简单,准确性高。
此外,本实施例还提供了手动扫描进程进行扫描的方案,具体来说,在确定所需使用的进程为手动扫描进程时,在界面显示用于选择所需设备的扫描入口,扫描入口包括SMB设备扫描入口、DLNA设备扫描入口以及FTP设备扫描入口;用户选择一种扫描入口后,触发选择指令,智能电视端响应于触发的选择扫描入口的选择指令,进入到选择的扫描入口对应的界面,该界面提供用于输入设备地址的输入入口,用户在该界面输入所需扫描设备的地址,智能电视端根据该地址,在局域网内扫描输入的扫描地址对应的设备,并将将扫描到的设备对应的设备ID更新至显示列表,同时记录该设备的资源访问方式。
S206,将扫描到的设备及该设备对应的访问方式进行显示。
可选地,在完成一次扫描之后,下次再进入智能电视端文件管理应用的局域网存储时,可以显示出上次自动扫描进程中的显示列表,并且可以将最近操作过的设备显示在最前面,可选地,上次手动扫描进程扫描的设备,不会显示在该显示列表中。
从以上描述中可以看出,本实施例中当用户想要获知智能电视本端局域网内可访问的设备有哪些时,先启动智能电视内部用于扫描局域网内的其他设备的进程,根据所需的设备访问方式,选择对应的扫描进程进行扫描,然后直接显示给用户,这种扫描方式,无需用户人为地进行统计,有效地解决了现有技术中需要用户人为地确定智能电视同一局域网内存在的其他设备的问题,减少操作步骤,提高了获取效率。
实施例3
关于实施例1中智能电视如何读取扫描到的局域网内的其他设备的资源,本实施例提供了一种智能电视的资源读取方法,图3示出该方法的一种可选的流程图,如图3所示,该方法包括步骤S302-S308:
S302,响应于触发的读取智能电视所处局域网内其他设备的资源的获取指令,向其他设备发送第一请求指令,获取其他设备的资源共享列表,其中,资源共享列表中包含有其他设备中可用于局域网共享的资源;
具体来说,在实施例1中完成同一局域网内其他设备的扫描后,需要读取 智能电视所处局域网内其他设备的资源时,用户先触发获取指令,智能电视端响应该获取指令,向其他设备发送用于获取其他设备的资源共享列表的第一请求指令,可选地,其他设备端接收到该第一请求指令后,获知智能电视端想要访问本端资源,若允许智能电视端获取,则返回给智能电视端资源共享列表,该资源共享列表中包含有其他设备中可用于局域网共享的资源,供智能电视端进行选择。
S304,响应于触发的用于确定资源共享列表中所需获取的资源的指令,向其他设备发送第二请求指令,获取确定的资源共享列表中所需获取的资源的存储地址,其中,存储地址中包含有所需获取的资源所属的设备相对于局域网的IP地址以及该资源在其所属的设备的存储路径;
在获取到资源共享列表之后,用户触发用于确定资源共享列表中所需获取的资源的指令,智能电视端响应该指令,获取用户确定的资源共享列表中所需获取的资源的存储地址,其中,获取的存储地址包含有两部分信息,该资源所属的设备在当前局域网内的IP地址和该资源在其所属设备上具体的存储路径。
可选地,在用户触发用于确定资源共享列表中所需获取的资源的指令后,智能电视获取确定的资源共享列表中所需获取的资源的存储地址的同时,也可以获取资源共享列表中其他资源的存储地址,在响应于触发的用于读取资源共享列表中其他资源的存储地址位置的资源的指令后,向其他终端发送读取权限请求;接收其他终端发送的用于指示读取权限的权限指令,根据权限指令读取存储地址指向的位置的资源。在上述实施方式中,在用户点击了一个资源之后,设备端可以将其资源列表中所有资源的地址都返回给电视端,这样,当智能电视端读取完选中的资源需要播放下一个资源时,就可以直接用之前已经获取到的地址向设备发起访问请求,而不用再重新向设备端获取下一个资源的存储地址。
S306,响应于触发的用于读取存储地址指向的位置的资源的指令,向其他终端发送读取权限请求;
在获得所需资源对应的存储地址后,用户触发用于读取存储地址指向的位置的资源的指令,表征用户想要获取该存储地址对应位置的资源,此时,智能电视端向资源所属的设备端发送读取权限请求,询问是否可以读取,以及具体的读取权限,可选地,读取权限包括第一权限和第二权限,在权限指令为第一权限时,表征资源所属设备端允许智能电视端读取存储地址信息指向的位置的 资源一次(即,允许此次读取,若下次需要读取时,仍需要询问);在权限指令为第二权限时,允许智能电视端在预定时间范围内有权限读取存储地址信息指向的位置的资源。
S308,接收其他终端发送的用于指示读取权限的权限指令,根据权限指令读取存储地址指向的位置的资源。
可选地,在智能电视读取其他设备端资源过程中,可以将读取的数据保存至本地的缓存区域,在读取结束后,清空缓存区域存储的数据;也可以在接受到用户发出的用于保存该资源的指令后,将该资源存储至智能电视本地固定的存储区域,方便下次读取。
本申请实施中在用户想要使用智能电视播放处于同一局域网内其他终端设备上的资源时,不需要使用其他终端设备将该资源发送至智能电视上,用户可以使用智能电视线扫描获取到同一局域网内的其他设备及该设备的资源访问方式,然后选择所需访问的设备,确定所需访问的资源,在其他设备同意智能电视访问该资源后,智能电视端可以直接在本端播放该资源,相当于将其他设备作为一个已授权的资源服务器,区别于现有技术中其他设备与智能电视端同步播放其他设备端的资源的方式,这种资源访问方式有效地解决了现有技术中智能电视无法直接访问读取同一局域网内的其他设备上的资源的问题,降低访问其他设备资源的复杂度,提高效率。
本申请还公开了一种在其上记录有用于执行实施例1~3所述方法的程序的计算机可读记录介质。所述计算机可读记录介质包括配置为以计算机(以计算机为例)可读的形式存储或传送信息的任何机制。例如,机器可读介质包括只读存储器(ROM)、随机存取存储器(RAM)、磁盘存储介质、光存储介质、闪速存储介质、电、光、声或其他形式的传播信号(例如,载波、红外信号、数字信号等)等。
实施例4
基于实施例1中提供了一种智能电视的资源访问方法,本实施例提供了一种智能电视的资源访问方法装置,图4示出该装置的一种可选的结构图,如图4所示,该装置包括:
扫描模块40,配置为响应于触发的访问智能电视所处局域网内其他设备的资源的第一指令,扫描局域网内的其他设备;
具体实现时,可以在智能电视端设置文件管理应用,用于管理资源数据。 可选地,智能电视的文件管理应用界面可以有几个按键,分别管理本地存储、外接硬盘存储、局域网存储以及云存储,其中,本地存储中包含有智能电视本端资源;外接硬盘存储为智能电视接入外接硬盘时包含的资源;云存储中包含有云技术中与该智能电视同一账号下的资源。在用户选中局域网存储按键时,触发访问智能电视所处局域网内其他设备的资源的第一指令,智能电视端发起扫描进程,对智能电视所处局域网内存在的其他设备进行扫描。可选地,扫描模块40包括:第一扫描模块,配置为扫描显示列表中存在的ID对应的设备,其中,显示列表中保存有上次扫描到的智能电视所处局域网内的其他设备的ID以及该设备对应的资源访问方式;第二扫描模块,配置为扫描显示列表之外智能电视所处局域网内的设备。这种扫描方式,当用户想要获取的资源所属的设备在显示列表中时,可以快速的扫描确定该设备是否可以访问,提高访问效率。
显示模块42,与扫描模块40连接,配置为获取扫描到的局域网内的其他设备的ID以及该设备对应的资源访问方式,并进行显示;可选地,显示模块42包括:更新模块,配置为将扫描到的设备的ID以及该设备的资源访问方式记录至显示列表中,以完成显示列表的更新;第一显示模块,配置为将更新的显示列表进行显示。
具体地,在扫描到局域网内存在其他设备时,将扫描到的设备的ID以及该设备的资源访问方式记录至显示列表中,以完成显示列表的更新,可选地,若显示列表中存在上次扫描中记录的设备ID及资源访问方式,先将上次扫描记录的设备ID及资源访问方式删除,然后记录下本次扫描到的设备ID及资源访问方式。完成显示列表的更新后,将该列表显示给用户,供用户选择。
播放模块44,与显示模块42连接,配置为响应于触发的访问显示的其他设备的ID对应的设备中的资源的第二指令,在智能电视端播放资源。
具体来说,播放模块44包括:第四获取模块,配置为响应于第二指令中用于确定显示的其他设备的ID对应的设备的第三指令,获取对应的设备中的资源共享列表,并进行显示,其中,资源共享列表中包含对应的设备中可用于局域网共享的资源;第一播放模块,配置为响应于第二指令中用于读取获取的资源共享列表中所需的资源的第四指令,在智能电视端播放所需的资源。第一播放模块包括:第五获取模块,配置为获取所需的资源在该资源所属的设备的存储地址;第三发送模块,配置为发送读取存储地址位置的资源的请求至该资源所属的设备;第二播放模块,配置为接收到该资源所属的设备发送的播放指示后, 在智能电视端播放存储地址位置的资源。这种通过资源共享列表的方式,可以使用户快速查找到所需访问的资源,提高访问效率。
从以上描述中可以看出,本申请实施中在用户想要使用智能电视播放处于同一局域网内其他终端设备上的资源时,不需要使用其他终端设备将该资源发送至智能电视上,用户可以使用智能电视线扫描获取到同一局域网内的其他设备及该设备的资源访问方式,然后选择所需访问的设备,确定所需访问的资源,在其他设备同意智能电视访问该资源后,智能电视端可以直接在本端播放该资源,相当于将其他设备作为一个已授权的资源服务器,区别于现有技术中其他设备与智能电视端同步播放其他设备端的资源的方式,这种资源访问方式有效地解决了现有技术中智能电视无法直接访问读取同一局域网内的其他设备上的资源的问题,降低访问其他设备资源的复杂度,提高效率。
实施例5
基于上述实施例2提供的智能电视中的设备扫描方法,本实施例提供了一种智能电视中的设备扫描装置,图5示出该装置的一种可选的结构图,如图5所示,该装置包括:
启动模块50,配置为响应于触发的访问智能电视所处局域网内其他设备的资源的访问指令,启动用于扫描局域网内的其他设备的进程,其中,智能电视端预置有用于扫描局域网内的其他设备的进程;
具体实现时,可以在智能电视端设置文件管理应用,用于管理资源数据。可选地,智能电视的文件管理应用界面可以有几个按键,分别管理本地存储、外接硬盘存储、局域网存储以及云存储,其中,在用户选中局域网存储按键时,触发访问智能电视所处局域网内其他设备的资源的访问指令,此处需要说明的是,该访问指令可以与实施例一中记载的第一指令相同,也可以是在发出上述的第一指令之后,再单独发出访问指令。在用户发出该访问指令后,表征用户需要扫描本局域网内存在的其他设备,此时,智能电视端启动内部预置的用于扫描局域网内的其他设备的进程,可选地,该进程包括自动扫描进程和手动扫描进程,其中,自动扫描进程可以扫描SMB设备和/或DLNA设备,手动扫描进程除可以扫描SMB设备和/或DLNA设备外,还可以扫描FTP设备。其中,上述的SMB设备为满足SMB(Server Message Block,服务器信息块协议)的远程存储设备,FTP设备为满足FTP(File Transfer Protocol,文件传输协议)的远程存储设备,DLNA设备为满足DLNA(Digital Living Network Alliance,数字生活网 络联盟协议))的远程存储设备。上述记载的实施方式中,提供了自动扫描和手动扫描两种扫描方式,用户可以根据实际情况进行针对性的选择,增加用户的选择性,同时提高智能电视扫描其他设备的智能性。
确定模块52,与启动模块50连接,配置为响应于触发的用于确定所需使用的进程的确定指令,确定扫描其他设备所需使用的进程,调用确定的所需使用的进程中预置的扫描线程,对局域网中与该扫描线程对应的设备进行扫描;
具体地,在用户选择所需使用的进程(自动扫描进程或手动扫描进程)后,触发确定指令,智能电视端确定用户所需使用的进程,并调用确定的进程中预置的扫描线程,对局域网内的其他设备进行扫描。具体来说,确定模块包括:第一调用模块,配置为在确定指令确定所需使用的进程为自动扫描进程时,调用自动扫描进程中的第一扫描线程对SMB设备进行扫描;第二调用模块,配置为在确定指令确定所需使用的进程为自动扫描进程时,调用自动扫描进程中的第二扫描线程对DLNA设备线程进行扫描;第三调用模块,配置为在确定指令确定所需使用的进程为手动扫描进程时,调用手动扫描进程中的第三扫描线程对SMB设备和/或DLNA设备和/或FTP设备进行扫描。
具体来说,第一调用模块包括:
第六获取模块,配置为获取智能电视对应于局域网的IP地址;连接模块,配置为遍历所述局域网内各个IP地址,并分别尝试通过SMB设备特定端口进行连接,其中,同一局域网内的各个其他设备IP地址,与智能电视的IP地址的前三个字节均相同,最后一个字节在2到254的范围内,在获取到其他设备IP地址后,分别尝试建立连接;可选地,在进行连接时,通过PING方式判断获取的局域网内各个IP地址是否能够与智能电视的IP地址连通;在PING连通时,判断与该IP地址是否能够通过SMB设备特定端口[139,445]进行连接,若能够连接,则判定连接成功;第一更新模块,配置为在连接成功时,将SMB设备的IP地址对应的设备ID更新至显示列表,并在显示列表中将该设备的资源访问方式记录为SMB方式。使用PING方式判断是否连接成功,操作简单,准确性高。
具体来说,第二调用模块包括:第一扫描模块,配置为根据第三方提供的类库对DLNA设备进行扫描,在DLNA设备打开DMS时,扫描到该设备;第二更新模块,配置为将扫描到的DLNA设备对应的设备ID更新至显示列表,并在显示列表中将该设备的资源访问方式记录为DLNA方式。这种扫描方式,操 作简单,准确性高。
此外,本实施例还提供了手动扫描进程进行扫描的方案,具体来说,第三调用模块包括:显示模块,配置为显示用于选择所需设备的扫描入口,其中,扫描入口包括SMB设备扫描入口、DLNA设备扫描入口以及FTP设备扫描入口;第二扫描模块,配置为响应于触发的选择扫描入口的选择指令,进入到选择的扫描入口对应的界面,根据在界面的输入入口输入的扫描地址,在局域网内扫描输入的扫描地址对应的设备;第三更新模块,配置为将扫描到的设备对应的设备ID更新至显示列表,并记录该设备的资源访问方式。
设备显示模块54,与确定模块52连接,配置为将扫描到的设备及该设备对应的访问方式进行显示。
可选地,在完成一次扫描之后,下次再进入智能电视端文件管理应用的局域网存储时,可以显示出上次自动扫描进程中的显示列表,并且可以将最近操作过的设备显示在最前面,可选地,上次手动扫描进程扫描的设备,不会显示在该显示列表中。
从以上描述中可以看出,本实施例中当用户想要获知智能电视本端局域网内可访问的设备有哪些时,先启动智能电视内部用于扫描局域网内的其他设备的进程,根据所需的设备访问方式,选择对应的扫描进程进行扫描,然后直接显示给用户,这种扫描方式,无需用户人为地进行统计,有效地解决了现有技术中需要用户人为地确定智能电视同一局域网内存在的其他设备的问题,减少操作步骤,提高了获取效率。
实施例6
基手上述实施例3中提供的智能电视的资源读取方法,本实施例提供了一种智能电视的资源读取装置,图6示出该装置的一种可选的结构图,如图6所示,该装置包括:
第一获取模块60,配置为响应于触发的读取智能电视所处局域网内其他设备的资源的获取指令,向其他设备发送第一请求指令,获取其他设备的资源共享列表,其中,资源共享列表中包含有其他设备中可用于局域网共享的资源;
具体来说,完成同一局域网内其他设备的扫描后,需要读取智能电视所处局域网内其他设备的资源时,用户先触发获取指令,智能电视端响应该获取指令,向其他设备发送用于获取其他设备的资源共享列表的第一请求指令,可选地,其他设备端接收到该第一请求指令后,获知智能电视端想要访问本端资源, 若允许智能电视端获取,则返回给智能电视端资源共享列表,该资源共享列表中包含有其他设备中可用于局域网共享的资源,供智能电视端进行选择。
第二获取模块62,与第一获取模块60连接,配置为响应于触发的用于确定资源共享列表中所需获取的资源的指令,向其他设备发送第二请求指令,获取确定的资源共享列表中所需获取的资源的存储地址,其中,存储地址中包含有所需获取的资源所属的设备相对于局域网的IP地址以及该资源在其所属的设备的存储路径;
在获取到资源共享列表之后,用户触发用于确定资源共享列表中所需获取的资源的指令,智能电视端响应该指令,获取用户确定的资源共享列表中所需获取的资源的存储地址,其中,获取的存储地址包含有两部分信息,该资源所属的设备在当前局域网内的IP地址和该资源在其所属设备上具体的存储路径。
可选地,该装置还包括:第三获取模块,配置为在获取确定的资源共享列表中所需获取的资源的存储地址的同时,获取资源共享列表中其他资源的存储地址;第二发送模块,配置为响应于触发的用于读取资源共享列表中其他资源的存储地址位置的资源的指令,向其他终端发送读取权限请求;第二读取模块,配置为接收其他终端发送的用于指示读取权限的权限指令,根据权限指令读取存储地址指向的位置的资源。在上述实施方式中,在用户点击了一个资源之后,设备端可以将其资源列表中所有资源的地址都返回给电视端,这样,当智能电视端读取完选中的资源需要播放下一个资源时,就可以直接用之前已经获取到的地址向设备发起访问请求,而不用再重新向设备端获取下一个资源的存储地址。
第一发送模块64,与第二获取模块62连接,配置为响应于触发的用于读取存储地址指向的位置的资源的指令,向其他终端发送读取权限请求;
在获得所需资源对应的存储地址后,用户触发用于读取存储地址指向的位置的资源的指令,表征用户想要获取该存储地址对应位置的资源,此时,智能电视端向资源所属的设备端发送读取权限请求,询问是否可以读取,以及具体的读取权限,可选地,读取权限包括第一权限和第二权限,在权限指令为第一权限时,表征资源所属设备端允许智能电视端读取存储地址信息指向的位置的资源一次(即,允许此次读取,若下次需要读取时,仍需要询问);在权限指令为第二权限时,允许智能电视端在预定时间范围内有权限读取存储地址信息指向的位置的资源。
第一读取模块66,与第一发送模块64连接,配置为接收其他终端发送的用于指示读取权限的权限指令,根据权限指令读取存储地址指向的位置的资源。
可选地,第一读取模块包括:第一存储模块,配置为在读取存储地址指向的位置的资源过程中,将读取的数据保存至本地的缓存区域,在读取结束后,清空缓存区域存储的数据。第二存储模块,配置为在读取存储地址指向的位置的资源过程中,接收用于保存存储地址指向的位置的资源的指令后,将读取的数据保存至本地固定存储区域。
本申请实施中在用户想要使用智能电视播放处于同一局域网内其他终端设备上的资源时,不需要使用其他终端设备将该资源发送至智能电视上,用户可以使用智能电视线扫描获取到同一局域网内的其他设备及该设备的资源访问方式,然后选择所需访问的设备,确定所需访问的资源,在其他设备同意智能电视访问该资源后,智能电视端可以直接在本端播放该资源,相当于将其他设备作为一个已授权的资源服务器,区别于现有技术中其他设备与智能电视端同步播放其他设备端的资源的方式,这种资源访问方式有效地解决了现有技术中智能电视无法直接访问读取同一局域网内的其他设备上的资源的问题,降低访问其他设备资源的复杂度,提高效率。
应该注意的是上述实施例对本申请进行说明而不是对本申请进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本申请可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的模块中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。
本申请可以应用于计算机系统/服务器,其可与众多其它通用或专用计算系统环境或配置一起操作。适于与计算机系统/服务器一起使用的众所周知的计算系统、环境和/或配置的例子包括但不限于:个人计算机系统、服务器计算机系统、瘦客户机、厚客户机、手持或膝上设备、基于微处理器的系统、机顶盒、可编程消费电子产品、网络个人电脑、小型计算机系统、大型计算机系统和包括上述任何系统的分布式云计算技术环境,等等。
计算机系统/服务器可以在由计算机系统执行的计算机系统可执行指令(诸 如程序模块)的一般语境下描述。通常,程序模块可以包括例程、程序、目标程序、组件、逻辑、数据结构等等,它们执行特定的任务或者实现特定的抽象数据类型。计算机系统/服务器可以在分布式云计算环境中实施,分布式云计算环境中,任务是由通过通信网络链接的远程处理设备执行的。在分布式云计算环境中,程序模块可以位于包括存储设备的本地或远程计算系统存储介质上。

Claims (31)

  1. 一种智能电视的资源访问方法,包括:
    响应于触发的访问智能电视所处局域网内其他设备的资源的第一指令,扫描所述局域网内的其他设备;
    获取扫描到的所述局域网内的其他设备的ID以及该设备对应的资源访问方式,并进行显示;
    响应于触发的访问显示的所述其他设备的ID对应的设备中的资源的第二指令,在所述智能电视端播放所述资源。
  2. 如权利要求1所述的方法,其中,所述响应于触发的访问智能电视所处局域网内其他设备的资源的第一指令,扫描所述局域网内的其他设备,包括:
    扫描显示列表中存在的ID对应的设备,其中,所述显示列表中保存有上次扫描到的所述智能电视所处局域网内的其他设备的ID以及该设备对应的资源访问方式;
    扫描所述显示列表之外所述智能电视所处局域网内的设备。
  3. 如权利要求2所述的方法,其特征在于,所述获取扫描到的所述局域网内的其他设备的ID以及该设备对应的资源访问方式,并进行显示,包括:
    将扫描到的设备的ID以及该设备的资源访问方式记录至所述显示列表中,以完成所述显示列表的更新;
    将更新的所述显示列表进行显示。
  4. 如权利要求1所述的方法,其中,所述响应于触发的访问显示的所述其他设备的ID对应的设备中的资源的第二指令,在所述智能电视端播放所述资源,包括:
    响应于所述第二指令中用于确定显示的所述其他设备的ID对应的设备的第三指令,获取所述对应的设备中的资源共享列表,并进行显示,其中,所述资源共享列表中包含所述对应的设备中可用于局域网共享的资源;
    响应于所述第二指令中用于读取获取的所述资源共享列表中所需的资源的第四指令,在所述智能电视端播放所述所需的资源。
  5. 如权利要求4所述的方法,其中,所述响应于所述第二指令中用于读取所述资源共享列表中所需的资源的第四指令,在所述智能电视端播放所述所需的资源,包括:
    获取所述所需的资源在该资源所属的设备的存储地址;
    发送读取所述存储地址位置的资源的请求至该资源所属的设备;
    接收到该资源所属的设备发送的播放指示后,在所述智能电视端播放所述存储地址位置的资源。
  6. 一种智能电视的资源访问装置,包括:
    扫描模块,配置为响应于触发的访问智能电视所处局域网内其他设备的资源的第一指令,扫描所述局域网内的其他设备;
    显示模块,配置为获取扫描到的所述局域网内的其他设备的ID以及该设备对应的资源访问方式,并进行显示;
    播放模块,配置为响应于触发的访问显示的所述其他设备的ID对应的设备中的资源的第二指令,在所述智能电视端播放所述资源。
  7. 如权利要求6所述的装置,其中,所述扫描模块包括:
    第一扫描模块,配置为扫描显示列表中存在的ID对应的设备,其中,所述显示列表中保存有上次扫描到的所述智能电视所处局域网内的其他设备的ID以及该设备对应的资源访问方式;
    第二扫描模块,配置为扫描所述显示列表之外所述智能电视所处局域网内的设备。
  8. 如权利要求7所述的装置,其中,所述显示模块包括:
    更新模块,配置为将扫描到的设备的ID以及该设备的资源访问方式记录至所述显示列表中,以完成所述显示列表的更新;
    第一显示模块,配置为将更新的所述显示列表进行显示。
  9. 如权利要求6所述的装置,其中,所述播放模块包括:
    第四获取模块,配置为响应于所述第二指令中用于确定显示的所述其他设备的ID对应的设备的第三指令,获取所述对应的设备中的资源共享列表,并进行显示,其中,所述资源共享列表中包含所述对应的设备中可用于局域网共享的资源;
    第一播放模块,配置为响应于所述第二指令中用于读取获取的所述资源共享列表中所需的资源的第四指令,在所述智能电视端播放所述所需的资源。
  10. 如权利要求9所述的装置,其中,所述第一播放模块包括:
    第五获取模块,配置为获取所述所需的资源在该资源所属的设备的存储地址;
    第三发送模块,配置为发送读取所述存储地址位置的资源的请求至该资源 所属的设备;
    第二播放模块,配置为接收到该资源所属的设备发送的播放指示后,在所述智能电视端播放所述存储地址位置的资源。
  11. 一种智能电视中的设备扫描方法,包括:
    响应于触发的访问智能电视所处局域网内其他设备的资源的访问指令,启动用于扫描所述局域网内的其他设备的进程,其中,所述智能电视端预置有用于扫描所述局域网内的其他设备的进程;
    响应于触发的用于确定所需使用的进程的确定指令,确定扫描所述其他设备所需使用的进程,调用确定的所述所需使用的进程中预置的扫描线程,对所述局域网中与该扫描线程对应的设备进行扫描;
    将扫描到的设备及该设备对应的访问方式进行显示。
  12. 如权利要求11所述的方法,所述其他设备包括:SMB设备、DLNA设备以及FTP设备,所述智能电视端预置的进程包括自动扫描进程和手动扫描进程,其中,
    在所述确定指令确定所需使用的进程为所述自动扫描进程时,调用所述自动扫描进程中的第一扫描线程对所述SMB设备进行扫描,调用所述自动扫描进程中的第二扫描线程对所述DLNA设备线程进行扫描;
    在所述确定指令确定所需使用的进程为所述手动扫描进程时,调用所述手动扫描进程中的第三扫描线程对所述SMB设备和/或所述DLNA设备和/或所述FTP设备进行扫描。
  13. 如权利要求12所述的方法,其中,所述调用所述自动扫描进程中的第一扫描线程对所述SMB设备进行扫描,包括:
    获取所述智能电视对应于所述局域网的IP地址;
    遍历所述局域网内各个IP地址,并分别尝试通过SMB设备特定端口进行连接;
    在连接成功时,将SMB设备的IP地址对应的设备ID更新至显示列表,并在所述显示列表中将该设备的资源访问方式记录为SMB方式。
  14. 如权利要求13所述的方法,其中,所述遍历所述局域网内各个IP地址,并分别尝试通过SMB设备特定端口进行连接,包括:
    通过PING方式判断获取的所述局域网内各个IP地址是否能够与所述智能电视的IP地址连通;
    在PING连通时,判断与该IP地址是否能够通过SMB设备特定端口进行连接,若能够连接,则判定连接成功。
  15. 如权利要求12所述的方法,其中,所述调用所述自动扫描进程中的第二扫描线程对所述DLNA设备线程进行扫描,包括:
    根据第三方提供的类库对所述DLNA设备进行扫描,在所述DLNA设备打开DMS时,扫描到该设备;
    将扫描到的DLNA设备对应的设备ID更新至显示列表,并在所述显示列表中将该设备的资源访问方式记录为DLNA方式。
  16. 如权利要求12所述的方法,其中,所述在所述确定指令确定所需使用的进程为所述手动扫描进程时,调用所述手动扫描进程中的第三扫描线程对所述SMB设备和/或所述DLNA设备和/或所述FTP设备进行扫描,包括:
    显示用于选择所需设备的扫描入口,其中,所述扫描入口包括SMB设备扫描入口、DLNA设备扫描入口以及FTP设备扫描入口;
    响应于触发的选择扫描入口的选择指令,进入到选择的所述扫描入口对应的界面,根据在所述界面的输入入口输入的扫描地址,在所述局域网内扫描所述输入的扫描地址对应的设备;
    将扫描到的设备对应的设备ID更新至显示列表,并记录该设备的资源访问方式。
  17. 一种智能电视中的设备扫描装置,包括:
    启动模块,配置为响应于触发的访问智能电视所处局域网内其他设备的资源的访问指令,启动用于扫描所述局域网内的其他设备的进程,其中,所述智能电视端预置有用于扫描所述局域网内的其他设备的进程;
    确定模块,配置为响应于触发的用于确定所需使用的进程的确定指令,确定扫描所述其他设备所需使用的进程,调用确定的所述所需使用的进程中预置的扫描线程,对所述局域网中与该扫描线程对应的设备进行扫描;
    设备显示模块,配置为将扫描到的设备及该设备对应的访问方式进行显示。
  18. 如权利要求17所述的装置,其中,所述其他设备包括:SMB设备、DLNA设备以及FTP设备,所述智能电视端预置的进程包括自动扫描进程和手动扫描进程,所述确定模块包括:
    第一调用模块,配置为在所述确定指令确定所需使用的进程为所述自动扫描进程时,调用所述自动扫描进程中的第一扫描线程对所述SMB设备进行扫描;
    第二调用模块,配置为在所述确定指令确定所需使用的进程为所述自动扫描进程时,调用所述自动扫描进程中的第二扫描线程对所述DLNA设备线程进行扫描;
    第三调用模块,配置为在所述确定指令确定所需使用的进程为所述手动扫描进程时,调用所述手动扫描进程中的第三扫描线程对所述SMB设备和/或所述DLNA设备和/或所述FTP设备进行扫描。
  19. 如权利要求18所述的装置,其中,所述第一调用模块包括:
    第六获取模块,配置为获取所述智能电视对应于所述局域网的IP地址;
    连接模块,配置为遍历所述局域网内各个SMB设备的IP地址,并分别尝试通过SMB设备特定端口进行连接;
    第一更新模块,配置为在连接成功时,将SMB设备的IP地址对应的设备ID更新至显示列表,并在所述显示列表中将该设备的资源访问方式记录为SMB方式。
  20. 如权利要求19所述的装置,其中,所述连接模块通过PING方式判断获取的所述局域网内各个IP地址是否能够与所述智能电视的IP地址连通;在PING连通时,判断与该IP地址是否能够通过SMB设备特定端口进行连接,若能够连接,则判定连接成功。
  21. 一种智能电视的资源读取方法,包括:
    响应于触发的读取所述智能电视所处局域网内其他设备的资源的获取指令,向所述其他设备发送第一请求指令,获取所述其他设备的资源共享列表,其中,所述资源共享列表中包含有所述其他设备中可用于局域网共享的资源;
    响应于触发的用于确定所述资源共享列表中所需获取的资源的指令,向所述其他设备发送第二请求指令,获取确定的所述资源共享列表中所需获取的资源的存储地址,其中,所述存储地址中包含有所述所需获取的资源所属的设备相对于所述局域网的IP地址以及该资源在其所属的设备的存储路径;
    响应于触发的用于读取所述存储地址指向的位置的资源的指令,向所述其他终端发送读取权限请求;
    接收所述其他终端发送的用于指示读取权限的权限指令,根据所述权限指令读取所述存储地址指向的位置的资源。
  22. 如权利要求21所述的方法,所述权限指令包括:第一权限和第二权限,其中,
    在所述权限指令为第一权限时,允许所述智能电视端读取所述存储地址信息指向的位置的资源一次;
    在所述权限指令为第二权限时,允许所述智能电视端在预定时间范围内有权限读取所述存储地址信息指向的位置的资源。
  23. 如权利要求21所述的方法,其中,所述根据所述权限指令读取所述存储地址指向的位置的资源,包括:
    在读取所述存储地址指向的位置的资源过程中,将读取的数据保存至本地的缓存区域,在读取结束后,清空所述缓存区域存储的数据。
  24. 如权利要求21所述的方法,其中,所述根据所述权限指令读取所述存储地址指向的位置的资源,包括:
    在读取所述存储地址指向的位置的资源过程中,接收用于保存所述存储地址指向的位置的资源的指令后,将读取的数据保存至本地固定存储区域。
  25. 如权利要求21所述的方法,其中,还包括:
    在所述获取确定的所述资源共享列表中所需获取的资源的存储地址的同时,获取所述资源共享列表中其他资源的存储地址;
    响应于触发的用于读取所述资源共享列表中其他资源的存储地址位置的资源的指令,向所述其他终端发送读取权限请求;
    接收所述其他终端发送的用于指示读取权限的权限指令,根据所述权限指令读取所述存储地址指向的位置的资源。
  26. 一种智能电视的资源读取装置,包括:
    第一获取模块,配置为响应于触发的读取所述智能电视所处局域网内其他设备的资源的获取指令,向所述其他设备发送第一请求指令,获取所述其他设备的资源共享列表,其中,所述资源共享列表中包含有所述其他设备中可用于局域网共享的资源;
    第二获取模块,配置为响应于触发的用于确定所述资源共享列表中所需获取的资源的指令,向所述其他设备发送第二请求指令,获取确定的所述资源共享列表中所需获取的资源的存储地址,其中,所述存储地址中包含有所述所需获取的资源所属的设备相对于所述局域网的IP地址以及该资源在其所属的设备的存储路径;
    第一发送模块,配置为响应于触发的用于读取所述存储地址指向的位置的资源的指令,向所述其他终端发送读取权限请求;
    第一读取模块,配置为接收所述其他终端发送的用于指示读取权限的权限指令,根据所述权限指令读取所述存储地址指向的位置的资源。
  27. 如权利要求26所述的装置,所述权限指令包括:第一权限和第二权限,其中,
    在所述权限指令为第一权限时,允许所述智能电视端读取所述存储地址信息指向的位置的资源一次;
    在所述权限指令为第二权限时,允许所述智能电视端在预定时间范围内有权限读取所述存储地址信息指向的位置的资源。
  28. 如权利要求26所述的装置,其中,所述第一读取模块包括:
    第一存储模块,配置为在读取所述存储地址指向的位置的资源过程中,将读取的数据保存至本地的缓存区域,在读取结束后,清空所述缓存区域存储的数据。
  29. 如权利要求26所述的装置,其中,所述第一读取模块包括:
    第二存储模块,配置为在读取所述存储地址指向的位置的资源过程中,接收用于保存所述存储地址指向的位置的资源的指令后,将读取的数据保存至本地固定存储区域。
  30. 如权利要求26所述的装置,还包括:
    第三获取模块,配置为在所述获取确定的所述资源共享列表中所需获取的资源的存储地址的同时,获取所述资源共享列表中其他资源的存储地址;
    第二发送模块,配置为响应于触发的用于读取所述资源共享列表中其他资源的存储地址位置的资源的指令,向所述其他终端发送读取权限请求;
    第二读取模块,配置为接收所述其他终端发送的用于指示读取权限的权限指令,根据所述权限指令读取所述存储地址指向的位置的资源。
  31. 一种在其上记录有用于执行权利要求1、11或21所述方法的程序的计算机可读记录介质。
PCT/CN2014/093850 2013-12-16 2014-12-15 智能电视的资源访问方法和装置 Ceased WO2015090171A1 (zh)

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
CN201310685810.0A CN103634659A (zh) 2013-12-16 2013-12-16 智能电视的资源读取方法和装置
CN201310685441.5 2013-12-16
CN201310685441.5A CN103618940A (zh) 2013-12-16 2013-12-16 智能电视的资源访问方法和装置
CN201310685810.0 2013-12-16
CN201310685480.5 2013-12-16
CN201310685480.5A CN103634658A (zh) 2013-12-16 2013-12-16 智能电视中的设备扫描方法和装置

Publications (1)

Publication Number Publication Date
WO2015090171A1 true WO2015090171A1 (zh) 2015-06-25

Family

ID=53402098

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/093850 Ceased WO2015090171A1 (zh) 2013-12-16 2014-12-15 智能电视的资源访问方法和装置

Country Status (1)

Country Link
WO (1) WO2015090171A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108780488A (zh) * 2018-03-22 2018-11-09 深圳达闼科技控股有限公司 物质检测信息的上传及上传权限的确定方法、系统及装置

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101809550A (zh) * 2007-09-28 2010-08-18 索尼公司 数字生活网络联盟兼容装置、数字生活网络联盟连接设置方法及程序
CN102510392A (zh) * 2011-10-10 2012-06-20 Tcl集团股份有限公司 一种设备间共享应用的方法、系统、电视及移动终端
CN102547443A (zh) * 2012-01-16 2012-07-04 广州视源电子科技公司 一种多终端系统资源共享及互动实现方法
CN103051624A (zh) * 2012-12-21 2013-04-17 康佳集团股份有限公司 通过移动设备向智能终端推送共享媒体资源的方法和系统
CN103618940A (zh) * 2013-12-16 2014-03-05 乐视致新电子科技(天津)有限公司 智能电视的资源访问方法和装置
CN103634658A (zh) * 2013-12-16 2014-03-12 乐视致新电子科技(天津)有限公司 智能电视中的设备扫描方法和装置
CN103634659A (zh) * 2013-12-16 2014-03-12 乐视致新电子科技(天津)有限公司 智能电视的资源读取方法和装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101809550A (zh) * 2007-09-28 2010-08-18 索尼公司 数字生活网络联盟兼容装置、数字生活网络联盟连接设置方法及程序
CN102510392A (zh) * 2011-10-10 2012-06-20 Tcl集团股份有限公司 一种设备间共享应用的方法、系统、电视及移动终端
CN102547443A (zh) * 2012-01-16 2012-07-04 广州视源电子科技公司 一种多终端系统资源共享及互动实现方法
CN103051624A (zh) * 2012-12-21 2013-04-17 康佳集团股份有限公司 通过移动设备向智能终端推送共享媒体资源的方法和系统
CN103618940A (zh) * 2013-12-16 2014-03-05 乐视致新电子科技(天津)有限公司 智能电视的资源访问方法和装置
CN103634658A (zh) * 2013-12-16 2014-03-12 乐视致新电子科技(天津)有限公司 智能电视中的设备扫描方法和装置
CN103634659A (zh) * 2013-12-16 2014-03-12 乐视致新电子科技(天津)有限公司 智能电视的资源读取方法和装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108780488A (zh) * 2018-03-22 2018-11-09 深圳达闼科技控股有限公司 物质检测信息的上传及上传权限的确定方法、系统及装置
CN108780488B (zh) * 2018-03-22 2023-05-05 北京云端光科技术有限公司 物质检测信息的上传及上传权限的确定方法、系统及装置

Similar Documents

Publication Publication Date Title
RU2602982C2 (ru) Способ, аппарат и система для интеллектуального управления устройством и самонастраиваемое устройство
JP6413015B2 (ja) 無線ネットワークにアクセスする方法、装置及びシステム
CN103929796B (zh) 共享接入点的方法及装置
US8914464B2 (en) Information processing device, information processing method, and information processing system
RU2615759C2 (ru) Способ и устройство для видеозаписи
WO2016101729A1 (zh) 无线网络接入的方法、装置及系统
WO2022089271A1 (zh) 无线投屏方法、移动设备及计算机可读存储介质
US9124440B2 (en) Method and apparatus for sharing content in home network environment
US20110196915A1 (en) Method and apparatus for using service of home network device based on remote access
CN103634659A (zh) 智能电视的资源读取方法和装置
CN102387156B (zh) 设备登录网络的处理方法、装置及系统
US20230045914A1 (en) Method and apparatus for controlling device in internet of things, and gateway device and storage medium
CN107222326A (zh) 用于设备间服务的访问方法、配置方法及装置
CN102685607A (zh) 用于识别网络上的可用iptv设备的方法和装置
CN111901695B (zh) 视频内容截取方法、装置和设备及计算机存储介质
US12101515B2 (en) Live stream screen display method and apparatus, storage medium, and electronic device
WO2021042612A1 (zh) 无线投屏方法、装置、设备及存储介质
CN112804732B (zh) 识别电子设备的方法、装置及电子设备
CN103618940A (zh) 智能电视的资源访问方法和装置
US20140237519A1 (en) Control device and control method
WO2018161788A1 (zh) 多媒体数据共享方法及装置
CN103634658A (zh) 智能电视中的设备扫描方法和装置
WO2015090171A1 (zh) 智能电视的资源访问方法和装置
TWI431994B (zh) 多媒體檔案的播放方法、系統及其使用之電腦程式產品
CN105792237B (zh) 一种终端状态监控方法及装置

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

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

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 14871973

Country of ref document: EP

Kind code of ref document: A1