CN104702578A - Terminal communication method and terminal - Google Patents

Terminal communication method and terminal Download PDF

Info

Publication number
CN104702578A
CN104702578A CN201310661999.XA CN201310661999A CN104702578A CN 104702578 A CN104702578 A CN 104702578A CN 201310661999 A CN201310661999 A CN 201310661999A CN 104702578 A CN104702578 A CN 104702578A
Authority
CN
China
Prior art keywords
terminal
terminals
list
online
local file
Prior art date
Application number
CN201310661999.XA
Other languages
Chinese (zh)
Inventor
孙健
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to CN201310661999.XA priority Critical patent/CN104702578A/en
Publication of CN104702578A publication Critical patent/CN104702578A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network-specific arrangements or communication protocols supporting networked applications
    • H04L67/10Network-specific arrangements or communication protocols supporting networked applications in which an application is distributed across nodes in the network
    • H04L67/1095Network-specific arrangements or communication protocols supporting networked applications in which an application is distributed across nodes in the network for supporting replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes or user terminals or syncML

Abstract

The invention provides a terminal communication method and a terminal. The terminal communication method includes transmitting equipment information of the terminal to other terminals in the same local area network of the terminal; acquiring feedback receipt messages after the other terminals add the terminal into an online device list of the other terminals according to the equipment information of the terminal; adding the other terminals into the online device list of the terminal according to the receipt messages. By the terminal communication method, media resources of all the terminals in the home local area network are integrated and media resource information is synchronized among all the terminals, so that all the device can obtain complete home network media resource information.

Description

一种终端间进行通信的方法及终端 A method for communication between a terminal of a terminal and

技术领域 FIELD

[0001] 本发明涉及信息通信领域,特别涉及一种终端间进行通信的方法及终端。 [0001] The present invention relates to an information communication field, and particularly relates to a method for communication between a terminal of a terminal.

背景技术 Background technique

[0002] 随着移动互联网的发展,智能手机、平板电脑、智能机顶盒等各类智能设备已进入越来越多的家庭,成为人们工作、生活中的必需品。 [0002] With the development of mobile Internet, smart phones, tablet PCs, smart set-top boxes and other types of smart devices has entered more and more families, as people work, a necessity of life. 一个家庭甚至是一个人拥有一个以上的智能设备,也成为了普遍现象。 A family or even a person has more than one smart devices, has become a common phenomenon. 因此在家庭网络中,在各终端设备之间共享媒体资源,在任意设备上浏览、播放,提供更多、更便捷的操作方式以成为了一个普遍和迫切的需求。 Therefore, in the home network, shared between the terminal device media resource, on any device browse, play, provide more convenient mode of operation to become a common and urgent needs.

[0003]目前比较通用的家庭智能终端媒体资源共享的方法主要有以下两种: [0003] the relatively common family of Intelligent Terminal media resource sharing There are two main ways:

[0004] 内容共享:在家庭智能终端设备之间共享媒体文件内容。 [0004] content sharing: share media files between home intelligent terminal equipment. 通过设备发现链接到一个或多个设备,然后通过下拉或推送的方法,在各设备之间共享媒体文件内容。 By device discovery linked to one or more devices, then pull down or push method, the file sharing media content between devices. 典型的代表有DLNA 和Apple 的AirPlay0 Typical representatives DLNA and Apple's AirPlay0

[0005] 屏幕共享:直接将源设备屏幕图像流化,然后发送到目的设备上播放。 [0005] The screen sharing: the device directly to the screen image source fluidization, then the player is sent to the destination device. 典型的代表有Mircast 和Apple 的AirPlay Mirroring。 Typical representatives Mircast and Apple's AirPlay Mirroring.

[0006] 上述现有媒体资源共享方法都解决了一些应用场景下的用户需求,但是这些方法都是将家庭网络中的各智能设备作为一个单独个体来进行操作,无法将家庭网络中的智能设备整个成一个整体,来呈现给用户。 [0006] The existing media resource sharing methods to solve some user needs in application scenarios, but these methods are each smart devices in the home network as a single individual to operate, not the home network of intelligent devices whole as a whole, to be presented to the user.

发明内容 SUMMARY

[0007] 本发明提供了一种终端间进行通信的方法及终端,其目的是为了使局域网络内的终端进行信息通信。 [0007] The present invention provides a method for communication between a terminal and a terminal which is intended to make the terminal within the local network to communicate information.

[0008] 为了达到上述目的,本发明的实施例提供了一种终端间进行通信的方法,包括: [0008] To achieve the above object, embodiments of the present invention provides a method for communication between a terminal, comprising:

[0009] 发送所述终端的设备信息给与所述终端处于同一局域网内的其他终端; [0009] the terminal device transmits information appending the terminal is another terminal in the same local area network;

[0010] 获取所述其他终端根据所述终端的设备信息将所述终端加入所述其他终端的在线设备列表内后,返回的回执消息; [0010] The terminal apparatus acquires the additional information of the terminal after the terminal into another terminal in said list of online devices, return receipt message;

[0011] 根据所述回执消息,将所述其他终端加入所述终端的在线设备列表内。 [0011] The receipt of the message, the other terminals within the terminal a list of added online device.

[0012] 进一步地,所述终端间进行通信的方法还包括: [0012] Further, the method for communication between said terminal further comprises:

[0013] 在一预设时间内向所述终端的在线设备列表内的其他终端发送心跳消息; [0013] Other terminals in the list of online devices within a predetermined time of the terminal sending a heartbeat message;

[0014] 若没有接收到所述其他终端的回应,则将所述其他终端从所述终端的在线设备列表内删除。 [0014] If no response is received to the other terminals, the other terminals will be deleted from the list of online device of the terminal.

[0015] 其中,所述终端间进行通信的方法还包括:将所述终端的本地文件元数据发送给所述终端的在线设备列表内的其他终端; [0015] wherein, among said terminal communication method further comprising: sending the local file metadata to the terminal, other terminals in the terminal list of online device;

[0016] 并获取所述其他终端接收到所述终端的所述本地文件元数据后,返回的所述其他终端的本地文件元数据。 After [0016] and acquiring the local file metadata receiving the terminal end of the other, the return of the local file metadata other terminals.

[0017] 进一步地,所述终端间进行通信的方法还包括:根据获取的所述其他终端的本地文件元数据的时间,修改所述终端与所述其他终端的同步时间。 [0017] Further, the method for communication between said terminal further comprising: the local time of the acquired file metadata another terminal, synchronization time modifying the terminal and the other terminals.

[0018] 其中,所述终端间进行通信的方法还包括:发送所述终端对所述其他终端的本地文件进行操作的操作指令给所述其他终端设备; [0018] wherein said inter-terminal communicating method further comprises: the terminal transmitting to said another terminal of the local file operation instruction for operating to the other terminal devices;

[0019] 获取其他终端根据所述操作指令对所述其他终端的本地文件进行操作的操作结果息。 [0019] The other terminal acquires the operation result of the operation information of other terminals of the local file according to the operation instruction.

[0020] 其中,所述终端间进行通信的方法还包括:检索并获取所述终端的本地文件,并对所述终端的本地文件进行操作。 [0020] wherein, among said terminal communication method further comprising: retrieving and acquiring local file of the terminal, the terminal and the local file operation.

[0021] 进一步地,所述操作包括:查看、拷贝、删除或修改。 [0021] Further, the operations comprising: viewed, copied, deleted, or modified.

[0022] 本发明的实施例还提供了一种终端,包括: [0022] Example embodiments of the present invention further provides a terminal, comprising:

[0023] 发送模块,用于发送所述终端的设备信息给与所述终端处于同一局域网内的其他终端; Information appending device [0023] transmitting means for transmitting the terminal of the terminal is another terminal within the same local area network;

[0024] 获取模块,用于获取所述其他终端根据所述终端的设备信息将所述终端加入所述其他终端的在线设备列表内后,返回的回执消息; [0024] obtaining module, configured to obtain the said another terminal apparatus information of the terminal to the other terminals of the terminal into the list of online devices, return receipt message;

[0025] 处理模块,用于根据所述回执消息,将所述其他终端加入所述终端的在线设备列表内。 [0025] Processing module for receipt of the message, the other terminals of the apparatus added to the list of online terminal.

[0026] 进一步地,所述发送模块还用于在一预设时间内向所述终端的在线设备列表内的其他终端发送心跳消息; [0026] Further, the transmitting module is further used for other terminals in the list of online devices within a predetermined time of the terminal sending a heartbeat message;

[0027] 所述处理模块还用于若没有接收到所述其他终端的回应,则将所述其他终端从所述终端的在线设备列表内删除。 The [0027] If the processing module is further configured to respond to said other terminal is not received, and said other terminal will be deleted from the list of online device of the terminal.

[0028] 其中,所述发送模块还用于将所述终端的本地文件元数据发送给所述终端的在线设备列表内的其他终端; [0028] wherein the transmitting module is further configured to send a local file metadata for the terminal to other terminals in the terminal list of online device;

[0029] 所述获取模块还用于获取所述其他终端接收到所述终端的所述本地文件元数据后,返回的所述其他终端的本地文件元数据。 [0029] After the acquisition module is further configured to obtain said other terminal of said local file metadata receiving the terminal, said local file metadata returned by other terminals.

[0030] 进一步地,所述处理模块还用于根据获取的所述其他终端的本地文件元数据的时间,修改所述终端与所述其他终端的同步时间。 [0030] Further, the processing module is further configured to time according to the acquired local file metadata another terminal, synchronization time modifying the terminal and the other terminals.

[0031] 其中,所述发送模块还用于发送所述终端对所述其他终端的本地文件进行操作的操作指令给所述其他终端设备; [0031] wherein the transmitting module is further configured to send the file to the other terminal of the local terminal to operate the operation instruction to the other terminal devices;

[0032] 所述获取模块还用于获取其他终端根据所述操作指令对所述其他终端的本地文件进行操作的操作结果信息。 [0032] The acquisition module is further configured to obtain additional information of the operation terminal operation result of the local file to the other terminal according to the operation instruction.

[0033] 本发明的上述方案的有益效果如下: [0033] Advantageous effects of the above embodiment of the present invention are as follows:

[0034] 通过本发明的上述实施例所提供的终端间进行通信的方法及终端,可以将家庭局域网络中所有终端的媒体资源进行整合,通过在各终端设备之间同步媒体资源信息,使得所有设备都能获得完整的家庭网络媒体资源信息。 [0034] Method for communication between a terminal and a terminal by the above-described embodiments of the present invention is provided, it may be the home local network media resources to integrate all the terminals, the media resource information through the synchronization between the terminal devices, such that all equipment can get a complete home media network resource information.

附图说明 BRIEF DESCRIPTION

[0035] 图1是本发明的实施例终端间进行通信的方法流程图; [0035] FIG. 1 is a method of communication between a terminal of the present embodiment of the invention, a flow chart;

[0036] 图2是本发明的实施例的终端间进行相互发现的一具体流程示意图; [0036] FIG 2 is a specific flow of each identified inter-terminal embodiment of the present invention, a schematic embodiment;

[0037] 图3是本发明的实施例家庭网络中终端间资源信息同步功能的流程示意图; [0037] FIG. 3 is a flow resource information synchronization function between the terminals a schematic embodiment of the present invention, the home network;

[0038] 图4是本发明的实施例家庭网络中终端间进行资源文件展示和操作功能的流程示意图; [0038] FIG. 4 is a flow chart showing resource files and operating functions between a home network terminal in the embodiment of the present invention;

[0039] 图5是本发明的实施例家庭网络中终端进行本地文件信息操作的流程示意图; [0039] FIG. 5 is a terminal file information local home network operations according to embodiments of the present invention, a schematic flow diagram;

[0040] 图6为本发明的实施例终端的一具体结构示意图。 A specific configuration diagram of an embodiment of a terminal [0040] FIG. 6 of the present invention.

具体实施方式 Detailed ways

[0041] 为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。 [0041] For the present invention to solve the technical problem, technical solutions and advantages clearer, the accompanying drawings and will be described in detail specific embodiments.

[0042] 本发明针对现有的无法将家庭网络中的智能设备整个成一个整体的问题,提供了一种终端间进行通信的方法及终端。 [0042] The present invention is directed to a conventional home network can not be intelligent devices throughout the problem as a whole, and provides a method for communication between a terminal of a terminal.

[0043] 如图1所示,本发明的实施例提供了一种终端间进行通信的方法,包括: [0043] As shown in FIG. 1, an embodiment of the present invention provides a method for communication between a terminal, comprising:

[0044] 步骤11,发送所述终端的设备信息给与所述终端处于同一局域网内的其他终端; [0044] Step 11, the terminal device transmits information of the terminal is another terminal given the same LAN;

[0045] 步骤12,获取所述其他终端根据所述终端的设备信息将所述终端加入所述其他终端的在线设备列表内后,返回的回执消息; [0045] Step 12, the other terminal apparatus acquiring the information of the terminal after the terminal into another terminal in said list of online devices, return receipt message;

[0046] 步骤13,根据所述回执消息,将所述其他终端加入所述终端的在线设备列表内。 [0046] Step 13, based on the acknowledgment message, the other terminals within the terminal a list of added online device.

[0047] 该实施例通过将处于同一局域网内(如家庭网络)的终端上建立在线设备列表,并可以将其它终端添加到本终端的在线设备列表,从而实现同一局域网内的终端之间的相互发现,从而为终端间进行资源共享提供准备。 [0047] By this embodiment is the same LAN (home network) of the line terminal establishes the list of devices, and other terminals may be added to the list of online devices for the terminal, the terminal each other in order to achieve the same LAN found that, in order to be ready to provide for the sharing of resources between terminals.

[0048] 进一步地,在上述实施例的基础上,所述终端间进行通信的方法还包括: [0048] Further, in the above embodiment, the method of communication between the terminal further comprises:

[0049] 步骤14,在一预设时间内向所述终端的在线设备列表内的其他终端发送心跳消息; [0049] Step 14, the other terminals in the list of online devices within a predetermined time of the terminal sending a heartbeat message;

[0050] 步骤15,若没有接收到所述其他终端的回应,则将所述其他终端从所述终端的在线设备列表内删除。 [0050] Step 15, if no response is received to the other terminals, the other terminals will be deleted from the list of online device of the terminal.

[0051] 通过本发明的上述实施例所提供的方法,可以使同一局域网络内的智能终端相互建立联系,使所述局域网络内的智能终端整合成一个整体;同时该方法还包括了终端在线监测功能,避免因为终端不在线而导致元数据传输失败。 [0051] by the method of the above-described embodiments of the present invention is provided, the intelligent terminal can be made in the same local area network to establish contact with each other, so that the intelligent terminals in the local area network integrated into a whole; Meanwhile, the method further comprising a terminal line monitoring function to avoid because the terminal is not caused by the online metadata transmission failure.

[0052] 下面结合图2说明该实施例的具体实现流程: [0052] described below in connection with FIG. 2 specific implementation process of this embodiment:

[0053] 智能终端A启动后,所述发送模块发送所述智能终端的设备信息,包括:设备标识、IP、软硬件信息、认证消息等;所述局域网络内的智能终端B中的获取模块在接收到所述智能终端的设备信息后,所述处理模块通过认证消息将智能终端A加入智能终端B的在线设备列表,然后向智能终端A发送回执消息;智能终端A的处理模块根据回执消息将智能终端B加入在线设备列表;智能终端A的发送模块定时向其在线设备列表中的设备发送心跳消息,并等待其回执,若在一定时间内相应设备没有应答,则将其从在线设备列表中删除。 [0053] After starting the intelligent terminal A, the transmission apparatus transmits information of the intelligent terminal module, comprising: a device identification, IP, software and hardware information, message authentication, etc.; obtaining module smart terminal B in the local area network upon receiving the device information of the intelligent terminal, the message processing module authentication intelligent terminal a is added to the list of online devices intelligent terminal B, and then send a receipt message to the intelligent terminal a; a smart terminal processing module in accordance with receipt message B is added to the list of online intelligent terminal equipment; intelligent terminal transmitting module a timing of transmitting a heartbeat message to the list of online devices devices, and wait for the receipt, if the corresponding device does not answer within a certain time, it is from a list of online devices deleted.

[0054] 在本发明的另一实施例中,所述终端间进行通信的方法还包括: [0054] In another embodiment of the present invention, a method for communication between said terminal further comprises:

[0055] 步骤21,将所述终端的本地文件元数据发送给所述终端的在线设备列表内的其他终端; [0055] Step 21, the local file metadata transmitting terminal to the other terminals in the terminal list of online device;

[0056] 步骤22,并获取所述其他终端接收到所述终端的所述本地文件元数据后,返回的所述其他终端的本地文件元数据。 [0056] Step 22, and acquires the metadata file of the local terminal receives the other terminals, the local file metadata returned by other terminals.

[0057] 该实施例通过将终端的本地文件元数据发送给在线设备列表内的其它终端,并可以获得其它终端的本地文件元数据,从而实现了同一局域网内终端间的文件元数据同步。 [0057] By this embodiment, the local file metadata transmitting terminal to other terminals in the list of online apparatus, and can obtain the file metadata other local terminals, in order to achieve the file metadata synchronization between the terminals within the same LAN.

[0058] 进一步地,该实施例中,所述终端间进行通信的方法还包括: [0058] Further, in this embodiment, a method for communication between said terminal further comprises:

[0059] 步骤23,根据获取的所述其他终端的本地文件元数据的时间,修改所述终端与所述其他终端的同步时间。 [0059] Step 23, the local time according to the acquired file metadata other terminals, modifying the terminal and the other terminal of the synchronization time.

[0060] 通过本发明的上述实施例所提供的方法,可以使所述局域网络内的智能终端进行元数据传输,达到每个智能终端的文件信息同步的目的;同时在所述智能终端信息同步之后,还会记录同步文件信息的时间,避免一些智能终端长时间没有同步文件信息,而出现文件信息不一致的现象。 [0060] by the method of the above-described embodiments of the present invention is provided, enables intelligent terminal within the local area network for the transmission of the metadata, the file information reaches each intelligent terminal for synchronization purposes; synchronize information while said intelligent terminals after that, the file also records the time synchronization information and avoid some of the smart terminal for a long time there is no synchronization file information, and file information inconsistent phenomenon.

[0061] 下面结合图3说明该实施例的具体实现流程: [0061] described below in connection with FIG. 3 specific implementation process of this embodiment:

[0062] 智能终端A检测其在线设备列表是否为空,若不为空则所述智能终端A的发送模块将发送智能终端A的本地文件元数据给智能终端B,智能终端B在接收到智能终端A发送过来的文件元数据后对智能终端B的本地文件元数据进行更新同步,然后再将智能终端B的本地文件元数据发送给智能终端A,同时智能终端B在其在线设备列表内修改智能终端A的同步时间;智能终端A在接收到智能终端B发送过来的文件元数据后,对其本身的本地文件元数据进行更新同步,同时智能终端A在其在线设备列表内修改智能终端B的同步时间。 [0062] A detected online intelligent terminal device list is empty, if not empty then the intelligent terminal A transmitting module transmits the intelligent terminal A local file metadata to the intelligent terminal B, terminal B receiving the intelligent smart local intelligent terminal B metadata file is updated file metadata synchronized sent from the terminal a, and then sends the local file metadata intelligent intelligent terminal B to terminal a, terminal B while the smart modifications within its online device list a synchronization time of the intelligent terminal; intelligent terminal a after receiving the metadata file sent from the intelligent terminal B, its own local file metadata update synchronization, while intelligent terminal intelligent terminal B a modification in which the list of online devices synchronization time.

[0063] 在本发明的又一实施例中,所述终端间进行通信的方法还包括: [0063] In a further embodiment of the present invention, a method for communication between said terminal further comprises:

[0064] 步骤31,发送所述终端对所述其他终端的本地文件进行操作的操作指令给所述其他终端设备; [0064] Step 31, the terminal transmits the operation instruction for operating on the local file to the other terminal of the other terminal devices;

[0065] 步骤32,获取其他终端根据所述操作指令对所述其他终端的本地文件进行操作的操作结果信息。 [0065] Step 32, the other terminal information acquiring operation result of operating the other terminal of the local file according to the operation instruction.

[0066] 通过本发明的上述实施例所提供的方法,由于终端上保存的是局域网内其它终端的媒体文件元数据信息,而元数据信息中又包含文件名、类型、所在终端IP和存储路径等信息;所以可以使得用户通过任意一个设备对家庭网络中的任意媒体资源进行操作;避免用户因为忘记想要找的资源文件具体在那个智能终端利存储而不能所述资源文件进行操作。 [0066] The method of the above embodiment of the present invention is provided, since the storage on the terminal within the local area network media file of another terminal metadata information, metadata information further includes the file name, type, where the terminal IP and a storage path and other information; it may enable a user to operate on any media resources in the home network through any one device; prevent users from forgetting to resource file you want to find a specific interest in the smart terminal can not be stored in the resource file operations.

[0067] 下面结合图4说明该实施例的具体实现流程: [0067] below with reference to FIG. 4 described a specific implementation process of this embodiment:

[0068] 本发明的上述实施例的具体实现过程如图4所示,在用户要通过智能终端A操作智能终端B的时候,智能终端A通过发送模块将操作命令消息发送到智能终端B上,智能终端B接收所述命令消息后通过处理模块对其本地文件进行操作,操作完成后在将结果发送给智能终端A,智能终端A接收所述操作结果后通过处理,向用户展示处理结果。 [0068] The specific implementation of the above-described embodiments of the present invention is shown in Figure 4, when the user terminal B to be operated by the intelligent intelligent terminal A, the terminal A by the intelligent operation command sending module sends a message to the intelligent terminal B, intelligent terminal B after receiving the command message by the processing module to its local file operations, send the result to the intelligent terminal A after the operation is completed, the intelligent terminal A receives the operation results after the processing, the processing result presented to a user.

[0069] 在本发明的又一实施例中,所述终端间进行通信的方法还包括: [0069] In a further embodiment of the present invention, a method for communication between said terminal further comprises:

[0070] 步骤41,检索并获取所述终端的本地文件,并对所述终端的本地文件进行操作。 [0070] Step 41, retrieves and acquires the terminal local file, and the file of the local terminal to operate.

[0071] 下面结合图5说明该实施例的具体实现流程: [0071] described below in connection with FIG. 5 specific implementation process of this embodiment:

[0072] 智能终端A通过处理模块向文件检索模块发送文件检索的命令消息,文件检索模块调用文件操作代理模块的接口,实现具体的本地媒体文件检索功能,获得本地媒体文件元数据信息,如文件名、创建时间、类型、大小、快照等;并可以对智能终端A的本地文件进行操作,本发明的上述各实施例中,所述操作包括:查看、拷贝、删除或修改等。 Command messages [0072] intelligent terminal A sends a document retrieval means by the processing module file retrieval, document retrieval module calls the file operations agent module interface, a specific local media file search function, obtain a local media file metadata information, such as file name, creation time, type, size, snapshot and the like; and may operate on a local file intelligent terminal a of each of the above embodiments of the present invention, the operations comprising: view, copy, delete, or modify the like.

[0073] 本发明的上述实施例相比于传统的媒体共享方法,在于所述终端间进行通信的方法可以将家庭网络中所有智能设备的媒体资源进行整合,通过在各设备之间同步媒体资源信息,使得所有设备都能获得完整的家庭网络媒体资源信息。 [0073] The embodiments of the present invention compared to conventional media sharing method, a method that communication between the terminal home network media resource may be all smart devices integrate media resources through the synchronization between the devices information, so that all devices have access to a complete home media network resource information. 这样也就使得用户可以通过任意一个设备对家庭网络中的任意媒体资源进行操作。 This also allows the user to operate on any media resources in the home network through any one device.

[0074] 本发明的实施例还提供了一种终端,包括: [0074] Example embodiments of the present invention further provides a terminal, comprising:

[0075] 发送模块,用于发送所述终端的设备信息给与所述终端处于同一局域网内的其他终端; Information appending device [0075] transmitting means for transmitting the terminal of the terminal is another terminal within the same local area network;

[0076] 获取模块,用于获取所述其他终端根据所述终端的设备信息将所述终端加入所述其他终端的在线设备列表内后,返回的回执消息; [0076] obtaining module, configured to obtain the said another terminal apparatus information of the terminal to the other terminals of the terminal into the list of online devices, return receipt message;

[0077] 处理模块,用于根据所述回执消息,将所述其他终端加入所述终端的在线设备列表内。 [0077] Processing module for receipt of the message, the other terminals of the apparatus added to the list of online terminal.

[0078] 进一步地,所述发送模块还用于在一预设时间内向所述终端的在线设备列表内的其他终端发送心跳消息; [0078] Further, the transmitting module is further used for other terminals in the list of online devices within a predetermined time of the terminal sending a heartbeat message;

[0079] 所述处理模块还用于若没有接收到所述其他终端的回应,则将所述其他终端从所述终端的在线设备列表内删除。 [0079] The processing module is further for receiving the response if no other terminals, the other terminals will be deleted from the list of online device of the terminal.

[0080] 本发明的上述实施例的具体实现过程如图2所示,智能终端A启动后,所述发送模块发送所述智能终端的设备信息,包括:设备标识、IP、软硬件信息、认证消息等;所述局域网络内的智能终端B中的获取模块在接收到所述智能终端的设备信息后,所述处理模块通过认证消息将智能终端A加入智能终端B的在线设备列表,然后向智能终端A发送回执消息;智能终端A的处理模块根据回执消息将智能终端B加入在线设备列表;智能终端A的发送模块定时向其在线设备列表中的设备发送心跳消息,并等待其回执,若在一定时间内相应设备没有应答,则将其从在线设备列表中删除。 [0080] The specific implementation of the above-described embodiments of the present invention is shown in Figure 2, the intelligent terminal A starts, the transmitting apparatus transmits information of the intelligent terminal module, comprising: a device identification, IP, software and hardware information, certification message and the like; intelligent terminal B in the local area network module after receiving the acquired device information of the intelligent terminal, the message processing module authentication intelligent terminal a is added to the list of online devices intelligent terminal B, and then to intelligent terminal a sends receipt message; intelligent terminal a processing module according to the message receipt intelligent terminal B is added to a list of line equipment; intelligent terminal module transmits a timing device a heartbeat message is sent to its list of online devices, and wait for the receipt, if appropriate equipment does not answer within a certain time, it is deleted from the online list of devices.

[0081] 其中,所述发送模块还用于将所述终端的本地文件元数据发送给所述终端的在线设备列表内的其他终端;所述获取模块还用于获取所述其他终端接收到所述终端的所述本地文件元数据后,返回的所述其他终端的本地文件元数据。 [0081] wherein the transmitting module is further configured to send the local file metadata to the terminal, other terminals in the terminal list of online device; the obtaining module is further configured to obtain said other terminal to receive the described later, the file metadata local terminal, said local file of another terminal returns metadata.

[0082] 进一步地,所述处理模块还用于根据获取的所述其他终端的本地文件元数据的时间,修改所述终端与所述其他终端的同步时间。 [0082] Further, the processing module is further configured to time according to the acquired local file metadata another terminal, synchronization time modifying the terminal and the other terminals.

[0083] 本发明的上述实施例的具体实现过程如图3所示,智能终端A检测其在线设备列表是否为空,若不为空则所述智能终端A的发送模块将发送智能终端A的本地文件元数据给智能终端B,智能终端B在接收到智能终端A发送过来的文件元数据后对智能终端B的本地文件元数据进行更新同步,然后再将智能终端B的本地文件元数据发送给智能终端A,同时智能终端B在其在线设备列表内修改智能终端A的同步时间;智能终端A在接收到智能终端B发送过来的文件元数据后,对其本身的本地文件元数据进行更新同步,同时智能终端A在其在线设备列表内修改智能终端B的同步时间。 [0083] The specific implementation of the above-described embodiments of the present invention is shown in Figure 3, the intelligent terminal A detects their online device list is empty, if not empty then the intelligent terminal A transmitting module transmits the intelligent terminal A local file metadata to the intelligent terminal B, the intelligent terminal B to synchronize the local file to update metadata in the intelligent terminal B after receiving the metadata file sent from the intelligent terminal a, and then sends the local file metadata intelligent terminal B to the intelligent terminal a, terminal B at the same time modify the synchronization time intelligent intelligent terminal a in its list of online devices; intelligent terminal a after receiving the metadata file sent from the intelligent terminal B, its own local file metadata update synchronizing, with the intelligent terminal a modified synchronization time intelligent terminal B in its online device list.

[0084] 其中,所述发送模块还用于发送所述终端对所述其他终端的本地文件进行操作的操作指令给所述其他终端设备; [0084] wherein the transmitting module is further configured to send the file to the other terminal of the local terminal to operate the operation instruction to the other terminal devices;

[0085] 所述获取模块还用于获取其他终端根据所述操作指令对所述其他终端的本地文件进行操作的操作结果信息。 [0085] The acquisition module is further configured to obtain additional information of the operation terminal operation result of the local file to the other terminal according to the operation instruction.

[0086] 本发明的上述实施例的具体实现过程如图4所示,在用户要通过智能终端A操作智能终端B的时候,智能终端A通过发送模块将操作命令消息发送到智能终端B上,智能终端B接收所述命令消息后通过处理模块对其本地文件进行操作,操作完成后在将结果发送给智能终端A,智能终端A接收所述操作结果后通过处理,向用户展示处理结果。 [0086] specific implementation of the above-described embodiments of the present invention is shown in Figure 4, when the user terminal B to be operated by the intelligent intelligent terminal A, the terminal A by the intelligent operation command sending module sends a message to the intelligent terminal B, intelligent terminal B after receiving the command message by the processing module to its local file operations, send the result to the intelligent terminal A after the operation is completed, the intelligent terminal A receives the operation results after the processing, the processing result presented to a user.

[0087] 进一步的,所述终端还可以在本地检索并获取所述终端的本地文件元数据,并对所述终端的本地文件元数据进行操作。 [0087] Further, the terminal may also obtain the local file and the metadata retrieval terminal in a local, local file metadata and the terminal operates. 所述操作包括:查看、拷贝、删除或修改。 The operations comprising: viewed, copied, deleted, or modified.

[0088] 对于上述终端,其具体的实现结构图如图6所示,其中,智能终端A启动后,向局域网内的其他智能终端发送设备消息,其他智能终端通过所述设备消息进行认证并发送回执消息,使之相互建立联系;所述局域网内的智能终端通过局域网内通信进行信息同步,同时也可以通过局域网内通信达到通过一个智能终端操作另一个智能终端;操作所述智能终端的文件资源时,可以通过处理模块以及文件检索模块和文件操作代理模块相互配个完成,主要是处理模块向文件检索模块发送命令,文件检索模块调用文件操作代理模块的接口,实现具体的本地文件操作功能。 [0088] For the terminal, the specific implementation structure shown in Figure 6, wherein the intelligent terminal A starts sending messages to other intelligent terminal device in the LAN, other intelligent terminal and the authentication message sent by the device receipt message, so as to establish contact with each other; intelligent terminal in the LAN through the LAN communication information for synchronization, but also can achieve LAN communication operation of another intelligent terminal via an intelligent terminal; operation of the intelligent terminal resource file when, can be equipped by the processing module and document retrieval means and file operations agent module to each other completions, mainly the processing module to the file search module transmits a command, the interface file retrieval module calls the file operations agent module, to achieve specific local file operation function.

[0089] 本发明的上述实施例将家庭网络中所有智能终端设备的媒体资源进行整合,通过在各智能终端设备之间同步媒体资源信息,使得所有智能终端设备都能获得完整的家庭网络媒体资源信息。 [0089] The above-described embodiments of the invention will all property home network to integrate the intelligent terminal equipment, a home network can get a complete property by synchronizing the media resource information between the intelligent terminal equipment, such that all the intelligent terminal equipment information. 这样也就使得用户可以通过任意一个设备对家庭网络中的任意媒体资源进行操作,使用户操作起来简单方便,快速有效;同时也节省了用户的时间。 This also allows the user to operate on any media resources in the home network through any one device, allowing users to operate simple, fast and effective; also saves the user time.

[0090] 以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。 [0090] The above embodiment is a preferred embodiment of the present invention, it should be noted that those of ordinary skill in the art, in the present invention without departing from the principles of the premise, further improvements and modifications may be made, these improvements and modifications should also be regarded as the protection scope of the present invention.

Claims (12)

1.一种终端间进行通信的方法,其特征在于,包括: 发送所述终端的设备信息给与所述终端处于同一局域网内的其他终端; 获取所述其他终端根据所述终端的设备信息将所述终端加入所述其他终端的在线设备列表内后,返回的回执消息; 根据所述回执消息,将所述其他终端加入所述终端的在线设备列表内。 1. A method for communication between a terminal, characterized by comprising: transmitting the terminal device information is given to the terminal is another terminal in the same local area network; acquiring the device information of the other terminal according to the terminal after the addition of other terminal within the terminal list of online devices, return receipt message; the message according to the acknowledgment, the terminal is added to the other terminal of the online device list.
2.根据权利要求1所述的终端间进行通信的方法,其特征在于,还包括: 在一预设时间内向所述终端的在线设备列表内的其他终端发送心跳消息; 若没有接收到所述其他终端的回应,则将所述其他终端从所述终端的在线设备列表内删除。 2. A method for communication between said terminal according to claim 1, characterized in that, further comprising: another terminal device in the online list within a preset time the terminal sends a heartbeat message; if not received the respond to other terminals, the other terminal will be deleted from the list of the terminal device online.
3.根据权利要求1所述的终端间进行通信的方法,其特征在于,还包括: 将所述终端的本地文件元数据发送给所述终端的在线设备列表内的其他终端; 并获取所述其他终端接收到所述终端的所述本地文件元数据后,返回的所述其他终端的本地文件元数据。 The method of communication between terminal according to claim 1, characterized in that, further comprising: transmitting the file metadata local terminal to other terminals in the terminal list of online device; and acquiring the after the local metadata file to the other terminal receiving terminal returns the local file metadata another terminal.
4.根据权利要求3所述的终端间进行通信的方法,其特征在于,还包括: 根据获取的所述其他终端的本地文件元数据的时间,修改所述终端与所述其他终端的同步时间。 The method of communication between terminal according to claim 3, characterized in that, further comprising: a local file according to the acquired time another terminal metadata, modifying the terminal and the other terminal of the synchronization time .
5.根据权利要求1所述的终端间进行通信的方法,其特征在于,还包括: 发送所述终端对所述其他终端的本地文件进行操作的操作指令给所述其他终端设备; 获取其他终端根据所述操作指令对所述其他终端的本地文件进行操作的操作结果信肩、O The method of communication between terminal according to claim 1, characterized in that, further comprising: transmitting the operation command to the terminal to another terminal in the local file to the operating other terminal devices; other terminals acquires shoulder operation result signal operating the local file of another terminal according to the operation instruction, O
6.根据权利要求1所述的终端间进行通信的方法,其特征在于,还包括: 检索并获取所述终端的本地文件,并对所述终端的本地文件进行操作。 The method of communication between terminal according to claim 1, characterized in that, further comprising: retrieving and acquiring local file of the terminal, the terminal and the local file operation.
7.根据权利要求5或6所述的终端间进行通信的方法,其特征在于,所述操作包括:查看、拷贝、删除或修改。 The method of communication between the terminals as claimed in claim 5 or 6, wherein said operation comprises: viewed, copied, deleted, or modified.
8.—种终端,其特征在于,包括: 发送模块,用于发送所述终端的设备信息给与所述终端处于同一局域网内的其他终端; 获取模块,用于获取所述其他终端根据所述终端的设备信息将所述终端加入所述其他终端的在线设备列表内后,返回的回执消息; 处理模块,用于根据所述回执消息,将所述其他终端加入所述终端的在线设备列表内。 8.- type of terminal, characterized by comprising: transmitting means for transmitting the terminal device information given to the terminal is another terminal in the same LAN; obtaining module, configured to obtain said other terminal in accordance with the after the information terminal device to the other terminal of the terminal into the list of online devices, return receipt message; processing module for receipt of the message, the other terminal into the terminal device within the list of online .
9.根据权利要求8所述的终端,其特征在于,所述发送模块还用于在一预设时间内向所述终端的在线设备列表内的其他终端发送心跳消息; 所述处理模块还用于若没有接收到所述其他终端的回应,则将所述其他终端从所述终端的在线设备列表内删除。 9. The terminal according to claim 8, wherein the transmitting module is further used for other terminals in the list of online devices within a predetermined time of the terminal sends a heartbeat message; the processing module is further configured to If no response is received to the other terminal, the other terminal will be deleted from the list of the terminal device online.
10.根据权利要求8所述的终端,其特征在于,所述发送模块还用于将所述终端的本地文件元数据发送给所述终端的在线设备列表内的其他终端; 所述获取模块还用于获取所述其他终端接收到所述终端的所述本地文件元数据后,返回的所述其他终端的本地文件元数据。 10. The terminal according to claim 8, wherein the transmitting module is further configured to send a local file metadata for the terminal to other terminals in the terminal list of online device; the acquisition module further after local file metadata for the receiving terminal to the other terminal acquire the return of the local file metadata another terminal.
11.根据权利要求10所述的终端,其特征在于,所述处理模块还用于根据获取的所述其他终端的本地文件元数据的时间,修改所述终端与所述其他终端的同步时间。 11. The terminal according to claim 10, wherein the processing module is further configured to time based on the acquired local file metadata other terminals, modifying the terminal and the other terminal of the synchronization time.
12.根据权利要求8所述的终端,其特征在于,所述发送模块还用于发送所述终端对所述其他终端的本地文件进行操作的操作指令给所述其他终端设备; 所述获取模块还用于获取其他终端根据所述操作指令对所述其他终端的本地文件进行操作的操作结果信息。 12. The terminal according to claim 8, wherein the sending module is further configured to send an operation instruction to the terminal of the local file operating another terminal to the other terminal devices; the obtaining module further used to obtain additional information of the operation terminal operation result of the local file to the other terminal according to the operation instruction.
CN201310661999.XA 2013-12-09 2013-12-09 Terminal communication method and terminal CN104702578A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310661999.XA CN104702578A (en) 2013-12-09 2013-12-09 Terminal communication method and terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310661999.XA CN104702578A (en) 2013-12-09 2013-12-09 Terminal communication method and terminal
PCT/CN2014/079631 WO2014180436A1 (en) 2013-12-09 2014-06-10 Inter-terminal communication method, and terminal

Publications (1)

Publication Number Publication Date
CN104702578A true CN104702578A (en) 2015-06-10

Family

ID=51866816

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310661999.XA CN104702578A (en) 2013-12-09 2013-12-09 Terminal communication method and terminal

Country Status (2)

Country Link
CN (1) CN104702578A (en)
WO (1) WO2014180436A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105391773A (en) * 2015-10-16 2016-03-09 广东欧珀移动通信有限公司 Data transmission method and data transmission device
CN106060894A (en) * 2016-05-16 2016-10-26 乐视控股(北京)有限公司 Method and system for acquiring interaction device list
CN106302692A (en) * 2016-08-09 2017-01-04 深圳Tcl新技术有限公司 Device finding method and apparatus

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100362799C (en) * 2006-03-23 2008-01-16 华为技术有限公司 Method for realizing social network
CN1874245B (en) * 2005-05-30 2011-06-15 佳能株式会社 Collaboration support system and control method thereof
CN102118418A (en) * 2009-12-30 2011-07-06 比亚迪股份有限公司 Mobile terminal data sharing system and method
CN103051624A (en) * 2012-12-21 2013-04-17 康佳集团股份有限公司 Method and system for transmitting shared media resources to intelligent terminal by mobile equipment
CN103108381A (en) * 2012-12-31 2013-05-15 中兴通讯股份有限公司 Near field communication method and equipment
CN103108051A (en) * 2013-02-27 2013-05-15 上海够快网络科技有限公司 Synchronous file sharing method from cloud server

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101218797A (en) * 2005-07-04 2008-07-09 Sk电信股份有限公司 House gateway system for household network service
CN101621385B (en) * 2008-06-30 2012-05-23 Tcl集团股份有限公司 Method for managing intelligent device group
CN102123065B (en) * 2010-12-29 2013-08-28 东软集团股份有限公司 Inter-home digital living network alliance (DLNA) equipment discovering and controlling method and device
JP2013123126A (en) * 2011-12-09 2013-06-20 Samsung Yokohama Research Institute Co Ltd Dlna compatible device and method of searching the same

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1874245B (en) * 2005-05-30 2011-06-15 佳能株式会社 Collaboration support system and control method thereof
CN100362799C (en) * 2006-03-23 2008-01-16 华为技术有限公司 Method for realizing social network
CN102118418A (en) * 2009-12-30 2011-07-06 比亚迪股份有限公司 Mobile terminal data sharing system and method
CN103051624A (en) * 2012-12-21 2013-04-17 康佳集团股份有限公司 Method and system for transmitting shared media resources to intelligent terminal by mobile equipment
CN103108381A (en) * 2012-12-31 2013-05-15 中兴通讯股份有限公司 Near field communication method and equipment
CN103108051A (en) * 2013-02-27 2013-05-15 上海够快网络科技有限公司 Synchronous file sharing method from cloud server

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105391773A (en) * 2015-10-16 2016-03-09 广东欧珀移动通信有限公司 Data transmission method and data transmission device
CN106060894A (en) * 2016-05-16 2016-10-26 乐视控股(北京)有限公司 Method and system for acquiring interaction device list
CN106302692A (en) * 2016-08-09 2017-01-04 深圳Tcl新技术有限公司 Device finding method and apparatus

Also Published As

Publication number Publication date
WO2014180436A1 (en) 2014-11-13

Similar Documents

Publication Publication Date Title
US7743022B2 (en) Method and system for synchronizing data shared among peer computing devices
CN101771707B (en) Implemented method of resource sharing between terminals, and the resource processing terminal system
JP6220338B2 (en) Fault-tolerant external application server
CN100385424C (en) Information processing apparatus and content information processing method
WO2015096648A1 (en) Video sharing method and system in smart tv
US8243702B2 (en) Wireless communication system
US9495375B2 (en) Battery pack with supplemental memory
US20090327305A1 (en) Content management and access systems and methods
US20060168000A1 (en) Method of sharing files between user stations in a network
CN102821109B (en) Method, associated equipment and system for realizing data sharing in instant communication application
CN101998682A (en) Device and method for acquiring service content by personal network equipment and related device thereof
CN102365634A (en) System for managing distributed assets and metadata
CN102571726B (en) Multimedia data sharing method, system and server state determination
CN101155022A (en) Data synchronization method, system and device
CN102790771B (en) A document transmission method and system
CN105359466A (en) Synchronizing and collaboration of information among a mobile device group
CN102595239A (en) Multi-screen interactive method, device and intelligent television for terminal system
US20150128194A1 (en) Method and mobile terminal for switching playback device
CN101958914A (en) File sharing method, shared server and mobile communication terminal
JP2006295918A (en) Method and device for synchronizing collection of home devices with contents
CN102546779B (en) Synchronized method and device of application data across devices
JP6145979B2 (en) Communication system, an information processing apparatus, the terminal
WO2013063941A1 (en) Screen sharing method and system for dlna terminal in home network
CN103888324A (en) Electronic device, personal cloud apparatus, personal cloud system and method for registering personal cloud apparatus
US20130227015A1 (en) Communication system, server, and terminal

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
WW01