CN106937140A - 一种多终端同步图片的方法 - Google Patents

一种多终端同步图片的方法 Download PDF

Info

Publication number
CN106937140A
CN106937140A CN201511011260.XA CN201511011260A CN106937140A CN 106937140 A CN106937140 A CN 106937140A CN 201511011260 A CN201511011260 A CN 201511011260A CN 106937140 A CN106937140 A CN 106937140A
Authority
CN
China
Prior art keywords
picture
service end
client
pictorial information
renewal
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.)
Pending
Application number
CN201511011260.XA
Other languages
English (en)
Inventor
张涢
祝丰华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Meibeike Technology Co Ltd
Original Assignee
Shenzhen Meibeike Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Meibeike Technology Co Ltd filed Critical Shenzhen Meibeike Technology Co Ltd
Priority to CN201511011260.XA priority Critical patent/CN106937140A/zh
Publication of CN106937140A publication Critical patent/CN106937140A/zh
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26291Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client
    • 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/4302Content synchronisation processes, e.g. decoder synchronisation
    • 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
    • H04N21/43615Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • H04N21/4586Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally

Landscapes

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

Abstract

本发明提供一种多终端同步图片的方法,包括:服务端将图片及包括图片的旋转角度的图片信息发送到客户端;客户端接收到服务端发送的图片及图片信息,保存该图片到本地,并将该图片信息保存到数据库中;客户端根据图片信息中的旋转角度,旋转所述图片的方向,并显示到显示区;服务端保存所述图片旋转后所生成的信息,将具有所述信息及更新的时间的更新数据保存进待更新数据库;服务端通知客户端更新图片和图片数据,客户端接收到服务端发送的更新数据后,从服务端重新下载该图片保存。本发明的技术方案与现有技术相比,提升了用户体验,做到家用智能设备与多个客户端同步显示图片。

Description

一种多终端同步图片的方法
技术领域
本发明涉及移动终端通信领域,特别是一种多终端同步图片的方法。
背景技术
在移动终端机广泛使用的今天,移动终端机种类愈来愈丰富,如各品牌智能手机、平板电脑等。移动终端机种的应用也越来越广泛,用户可以通过移动终端机种观看本地视频,可以通移动终端机种控制遥控玩具,可以通过移动终端机种获得摄像头的图像。移动终端机种越来越多的应用于人们的生活中,当代生活越来越离不开移动终端机种的存在。
目前,机顶盒也走进了千家万户,代替了以前的智能数字机顶盒,而移动终端机与机顶盒的交互也越来越普遍频繁,发现的问题也越来越多。用户手机客户端应用下载机顶盒服务端上的图片文件时,经常会发现,手机客户端显示的图片文件与机顶盒上显示的图片文件方向不一致的问题。
发明内容
基于这种的情况,本发明的首要目的旨在解决上述问题,而提供一种多手机终端客户端应用与机顶盒服务端图片显示同步的方法,该方法包括:
步骤一、服务端将图片及包括图片的旋转角度的图片信息发送到客户端;
步骤二、客户端接收到服务端发送的图片及图片信息,保存该图片到本地,并将该图片信息保存到数据库中;
步骤三、客户端根据图片信息中的旋转角度,旋转所述图片的方向,并显示到显示区;
步骤四、服务端保存所述图片旋转后所生成的信息,将具有所述信息及更新的时间的更新数据保存进待更新数据库;
步骤五、服务端将更新数据的消息提醒推送到客户端,客户端接收到有需要更新的数据时,连接服务端,将所述更新数据更发送到服务端;
步骤六、客户端接收到服务端发送的更新数据后,更新本地数据库所保存的图片信息,若判断图片信息有更新,则从服务端重新下载变更状态后的所述图片。
连接服务端,将之前保存的上次更新时间发送到服务端,若首次更新,则更新时间参数的初始值为0。
服务端接收到客户端的更新请求,根据接收到的更新时间参数,若更新时间参数为0,将带更新时间库中的全部数据加上当前更新时间参数发送到客户端。
所述判断图片信息有更新,是客户端判断同一图片的图片信息是否发生变化,并同时根据图片信息更新的时间进行对比。
本发明的技术方案与现有技术相比,提升了用户体验,做到家用智能设备与多个客户端同步显示图片。
附图说明
图1是本发明一种多终端同步图片的方法的流程框图示意图。
具体实施方式
以下结合附图对本发明的实施例进行详细说明,但是本发明可以由权利要求限定和覆盖的多种不同方式实施。
如图1所示,图1是本发明的方法流程示意图,在本发明中,移动端和客户端是具有操作系统的智能便携式设备,包括但不限于Android系统,IOS系统,Mobile Windows系统等,方法包括:
S1.服务端将图片及包括图片的旋转角度的图片信息发送到客户端;
S2.客户端接收到服务端发送的图片及图片信息,保存该图片到本地,并将该图片信息保存到数据库中;
S3.客户端根据图片信息中的旋转角度,旋转所述图片的方向,并显示到显示区;
S4.服务端保存所述图片旋转后所生成的信息,将具有所述信息及更新的时间的更新数据保存进待更新数据库;
S5.服务端将更新数据的消息提醒推送到客户端,客户端接收到有需要更新的数据时,连接服务端,将所述更新数据更发送到服务端;
S6.客户端接收到服务端发送的更新数据后,更新本地数据库所保存的图片信息,判断图片信息是否更新,若有,则从服务端重新下载变更状态后的所述图片。
在本发明具体实施例中,已具有操作系统的手机和机顶盒为例,手机是客户端,机顶盒作为接收图片和图片信息的服务端,手机和机顶盒是在同一WIFI环境下的局域网,在本发明中以同一WIFI环境下的局域网为例,手机和机顶盒连接同一路由器,通信信息通过路由器中转。
首先,在手机及机顶盒上的图片旋转角度进行适配,具体包括:
机顶盒将图片及图片信息发送到手机,该信息包括图片的旋转角度,包括旋转方向及角度,如逆时针90、顺时针90度等;
手机接收到机顶盒发送的图片及图片信息,保存该图片到本地存储设备,如装备内的内存,并将该图片信息保存到数据库中;
手机根据接收的信息中的旋转角度,按照信息上显示的角度。旋转接收的图片方向对应的角度,旋转完成后并显示到显示区,即手机屏幕,或者多屏显示连接的电视机。
在上述方法中,在机顶盒进行图片旋转操作,在手机端保存,上述方法也同样适用。
机顶盒图片信息更新后,手机也需要同步更新显示,做到同步更新,包括以下步骤:
机顶盒图片旋转保存或者编辑过信息,或编辑过图片文件后,将该编辑过的图片文件信息及更新时间参数保存进“待更新数据库”;
机顶盒将有带更新的数据提醒通过推送到手机,可以通过手机与机顶盒在同一WIFI,机顶盒进行消息推送,通过路由器中转到手机上;
手机接收到有需要更新的数据时,连接机顶盒,将之前保存的上次更新时间发送到机顶盒,若首次更新,则更新时间初始值为0;
机顶盒接收到手机的更新请求,根据接收到的更新时间参数,若更新时间参数为0,机顶盒将带更新时间库中的全部数据加上当前更新时间参数发送到手机;
若更新时间不为0,则比较数据库列表中的信息修改时间,获取该更新时间之后的所有数据,将该数据加上当前新的更新时间参数发送到手机;
手机接收到机顶盒发送的更新数据后,更新本地对应数据库保存的图片信息,若判断图片信息经过编辑,则从手机重新下载该图片保存到本地。
以上仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (4)

1.一种多终端同步图片的方法,其特征在于,包括如下步骤:
S1.服务端将图片及包括图片的旋转角度的图片信息发送到客户端;
S2.客户端接收到服务端发送的图片及图片信息,保存该图片到本地,并将该图片信息保存到数据库中;
S3.客户端根据图片信息中的旋转角度,旋转所述图片的方向,并显示到显示区;
S4.服务端保存所述图片旋转后所生成的信息,将具有所述信息及更新的时间的更新数据保存进待更新数据库;
S5.服务端将更新数据的消息提醒推送到客户端,客户端接收到有需要更新的数据时,连接服务端,将所述更新数据更发送到服务端;
S6.客户端接收到服务端发送的更新数据后,更新本地数据库所保存的图片信息,判断图片信息是否更新,若有,则从服务端重新下载变更状态后的所述图片。
2.根据权利要求1所述的一种多终端同步图片的方法,其特征在于,在S5中,连接服务端,将之前保存的上次更新时间发送到服务端,若首次更新,则更新时间参数的初始值为0。
3.根据权利要求1所述的一种多终端同步图片的方法,其特征在于,服务端接收到客户端的更新请求,根据接收到的更新时间参数,若更新时间参数为0,将带更新时间库中的全部数据加上当前更新时间参数发送到客户端。
4.根据权利要求1所述的一种多终端同步图片的方法,其特征在于,在S6中,所述判断图片信息有更新,是客户端判断同一图片的图片信息是否发生变化,并同时根据图片信息更新的时间进行对比。
CN201511011260.XA 2015-12-30 2015-12-30 一种多终端同步图片的方法 Pending CN106937140A (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511011260.XA CN106937140A (zh) 2015-12-30 2015-12-30 一种多终端同步图片的方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511011260.XA CN106937140A (zh) 2015-12-30 2015-12-30 一种多终端同步图片的方法

Publications (1)

Publication Number Publication Date
CN106937140A true CN106937140A (zh) 2017-07-07

Family

ID=59458682

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511011260.XA Pending CN106937140A (zh) 2015-12-30 2015-12-30 一种多终端同步图片的方法

Country Status (1)

Country Link
CN (1) CN106937140A (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1549130A (zh) * 2003-05-06 2004-11-24 联想(北京)有限公司 一种文件同步的方法
CN101344880A (zh) * 2007-07-13 2009-01-14 英华达(上海)电子有限公司 数字相框中自动记忆显示图片方向的方法及其装置
CN103186535A (zh) * 2011-12-27 2013-07-03 腾讯科技(深圳)有限公司 一种移动终端图片管理方法及设备
CN105094638A (zh) * 2015-06-17 2015-11-25 深圳市美贝壳科技有限公司 移动终端与智能家居设备的图片屏幕共享方法及移动终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1549130A (zh) * 2003-05-06 2004-11-24 联想(北京)有限公司 一种文件同步的方法
CN101344880A (zh) * 2007-07-13 2009-01-14 英华达(上海)电子有限公司 数字相框中自动记忆显示图片方向的方法及其装置
CN103186535A (zh) * 2011-12-27 2013-07-03 腾讯科技(深圳)有限公司 一种移动终端图片管理方法及设备
CN105094638A (zh) * 2015-06-17 2015-11-25 深圳市美贝壳科技有限公司 移动终端与智能家居设备的图片屏幕共享方法及移动终端

Similar Documents

Publication Publication Date Title
US10038772B2 (en) Communication systems and methods
EP3425994A1 (en) Device-pairing method and system therefor
US9774642B2 (en) Method and device for pushing multimedia resource and display terminal
CN107197346A (zh) 电视终端及蓝牙设备回连方法和计算机可读存储介质
US20170214973A1 (en) Interactive display telecommunication method and system
CN107493212B (zh) 智能家居设备的配置处理方法、终端、服务器及系统
CN108513154A (zh) 基于智能电视的智能家居控制方法、智能电视及存储介质
US20160055778A1 (en) Self-diagnosing system and method of self-diagnosing of a display device
WO2022089088A1 (zh) 显示设备、移动终端、投屏数据传输方法及传输系统
EP2712126A2 (en) Networking method, server end device, client end device and network system
CN103914969A (zh) 移动终端装置以及控制电器设备的方法
EP3013063B1 (en) Closed caption-support content receiving apparatus and display apparatus, system having the same, and closed caption-providing method thereof
US9307375B2 (en) Methods for connecting devices and devices using the same
EP3032838A1 (en) Message processing method, device, gateway, set-top box and internet protocol television system
US20130169670A1 (en) Electronic device and method for transmitting slide file during slide file presentation
CN104618801A (zh) 手机和机顶盒联合运行应用程序的方法、系统与机顶盒
CN102984578A (zh) 节目频道列表信息处理方法、视频终端及系统
US9491082B2 (en) Main electronic device for communicating within a network and method for operating a main electronic device for communicating within the network
US20150030012A1 (en) Communication device
CN104426918A (zh) 设备设置方法和电子设备
CN102857809A (zh) 电视控制装置、系统及方法
CN106937140A (zh) 一种多终端同步图片的方法
CN104618811A (zh) 智能电视及在其中展示cp内容的方法和装置
CN108322812B (zh) 一种多屏互动方法、装置及终端
CN105704521A (zh) 一种实现个性化频道列表的方法及装置

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170707

WD01 Invention patent application deemed withdrawn after publication