WO2013185711A1 - Method, access device, and system for synchronizing time of web ui terminal - Google Patents

Method, access device, and system for synchronizing time of web ui terminal Download PDF

Info

Publication number
WO2013185711A1
WO2013185711A1 PCT/CN2013/080584 CN2013080584W WO2013185711A1 WO 2013185711 A1 WO2013185711 A1 WO 2013185711A1 CN 2013080584 W CN2013080584 W CN 2013080584W WO 2013185711 A1 WO2013185711 A1 WO 2013185711A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
terminal
access device
web
system time
Prior art date
Application number
PCT/CN2013/080584
Other languages
French (fr)
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 中兴通讯股份有限公司
Publication of WO2013185711A1 publication Critical patent/WO2013185711A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72445User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting Internet browser applications

Definitions

  • the present invention relates to a time domain for synchronously supporting a web UI terminal, and more particularly to a method for synchronizing the terminal time, a terminal access device, and a system.
  • Terminals that support web UI are usually connected to access devices such as PCs via WLAN technology.
  • the user accesses the terminal through the Web page on the PC to view the configuration information of the terminal, or configures the terminal by performing related settings on the Web page.
  • the user can not set the time by pressing the button on the terminal. If the user wants the terminal to display the time, the web page can be opened only on the access device such as the PC, and the time of the terminal is configured by manually setting the time on the web page.
  • the access device such as the PC
  • the embodiment of the invention provides a method for synchronizing the time of a web UI terminal, a terminal access device and a system, and how to provide another technical problem of configuring the terminal time of the type.
  • an embodiment of the present invention provides a method for synchronizing a terminal time, where the terminal supports a web user interface (web UI), and the method includes:
  • the access device connected to the terminal acquires its own system time
  • the access device connected to the terminal sends the system time to the terminal connected to itself.
  • the step of the access device connected to the terminal acquiring its own system time includes: The access device connected to the terminal acquires its own system time after receiving the time setting instruction through the web page.
  • the step of acquiring the system time of the terminal includes:
  • the access device connected to the terminal After receiving the time setting instruction through the web page, the access device connected to the terminal invokes a Javascript script program to acquire its own system time.
  • the embodiment of the present invention further provides a method for the terminal to synchronize the terminal time with the access device, where the terminal supports a web user interface (web UI), and the method includes:
  • the access device connected to the terminal sends the system time to the terminal by using the foregoing method; the terminal receives and displays the system time.
  • the method further includes:
  • the terminal After receiving the system time, the terminal generates a real-time time based on the system time; and the terminal displays the real-time time.
  • the embodiment of the present invention further provides a terminal access device for synchronizing terminal time, where the terminal supports a network user interface (web UI), and the terminal access device includes a time acquisition module and time. Sending module, wherein
  • the time acquisition module is configured to acquire its own system time, and send the acquired system time to the time sending module;
  • the time transmitting module is configured to send the system time to the terminal connected to itself.
  • the time acquiring module is configured to obtain the system time of the self, and the time acquiring module is configured to: obtain the system time of the self after receiving the time setting instruction through the web page.
  • the time acquisition module is configured to receive a time setting instruction through a web page. After that, getting your own system time means:
  • the time acquisition module is configured to, after receiving the time setting instruction through the web page, invoke the Javascript script program to acquire its own system time.
  • an embodiment of the present invention further provides a system for synchronizing a terminal time, where the system includes a terminal supporting a web user interface (web UI) and an access device connected to the terminal, where
  • web UI web user interface
  • the access device connected to the terminal uses the foregoing terminal access device
  • the terminal is configured to receive and display a system time from the terminal access device.
  • the terminal is further configured to: after receiving the system time, generate a real-time time based on the system time; and display the real-time time.
  • the system time that the access device connected to the terminal connected to the web UI in the foregoing technical solution is sent to the terminal is not manually set, but is acquired by the terminal access device itself, and another configuration is provided by those skilled in the art.
  • the way to support the time of the web UI terminal is not manually set, but is acquired by the terminal access device itself, and another configuration is provided by those skilled in the art. The way to support the time of the web UI terminal.
  • FIG. 1 is a method for synchronizing the time of supporting a web UI terminal according to the embodiment
  • FIG. 2 is a block diagram showing the components of the terminal access device that synchronizes the time of supporting the web UI terminal according to the embodiment.
  • FIG. 1 is a method for synchronizing the time of supporting a web UI terminal according to the embodiment.
  • S101 The access device of the terminal supporting the web UI acquires its own system time
  • the terminal access device can obtain its own system after receiving the time setting instruction through the web page.
  • the time setting command can be sent to the terminal access device by the user by opening a corresponding time setting page on the access device of the terminal, or the user clicks the corresponding time by opening the web page on the access device of the terminal. Setting a button to send to the terminal access device;
  • the terminal access device may invoke a Javascript script program capable of acquiring the system time function to acquire its own system time;
  • the access device of the terminal sends the system time to the terminal supporting the web UI connected to itself.
  • the embodiment of the invention further provides a method for the terminal supporting the web UI to interact with the access device to synchronize the terminal time.
  • the access device of the terminal sends the system time to the terminal supporting the web UI by using the foregoing method
  • the terminal that supports the web UI displays the system time after receiving the system time.
  • the terminal supporting the web UI can also generate a real-time time based on the system time after receiving the system time, and display the real-time time. If the terminal supporting the web UI receives the system time, the internal time crystal oscillator is started, and the time of the received system time is counted by counting the time crystal oscillator.
  • the following describes an embodiment in which the terminal supporting the web UI and the access device thereof synchronize the terminal time with a specific application example.
  • the terminal supporting the web UI is MiFi
  • the access device of the terminal is a PC.
  • Step 1 The MiFi terminal is connected to the PC through a WLAN (including but not limited to a WLAN network);
  • a WLAN including but not limited to a WLAN network
  • Step 2 The user opens a web browser on the PC, inputs the host domain address of the MiFi terminal, and sends a time setting instruction to the PC by selecting a time setting page;
  • Step 3 After receiving the time setting instruction, the PC calls the energy embedded in the time setting page.
  • a Javascript script that achieves the system time function to obtain its own system time;
  • the Javascript p program can be a function of 3 ⁇ 4 port:
  • the PC sends a script running notification to the MiFi terminal while running the Javascript script program;
  • the MiFi terminal After receiving the notification, the MiFi terminal starts the gofront daemon of its webserver, and is set to cooperate with the web page of the PC to send and receive;
  • Step 4 The PC sends the acquired system time to the MiFi terminal in the webpage;
  • Step 5 After receiving the webpage by the gofront daemon, the MiFi terminal performs function mapping between the webpage and the native board side programming language. To identify the web page;
  • Step 6 The MiFi terminal extracts the system time carried in the identified web page to its own RTC memory, and starts the time crystal oscillator from the memory, and performs time counting on the basis of the received system time by counting the time crystal oscillator;
  • Step 7 The MiFi terminal displays the real-time time generated by the step six timing on the LCD display.
  • FIG. 2 is a block diagram showing the components of the terminal access device that synchronizes the time of supporting the web UI terminal according to the embodiment.
  • the terminal access device includes a time acquisition module and a time sending module, where
  • the time acquisition module is configured to acquire its own system time, and send the acquired system time to the time sending module;
  • the time acquisition module is configured to obtain a system time of the system after receiving the time setting instruction through the webpage; the time acquisition module can acquire the system time of the system after the corresponding time setting page is started; or learn the web After the corresponding time setting button on the page is started, the system time of the system is obtained; after receiving the time setting instruction through the web page, the time learning module can call the Javascript script program to acquire its own system time;
  • the time transmitting module is configured to send the system time to the terminal connected to itself.
  • the embodiment of the invention further provides a system for setting a synchronization terminal time, the system comprising a terminal supporting a web UI (user interface) and an access device of the terminal, wherein:
  • the access device of the terminal supporting the web UI can use the foregoing access device
  • a terminal supporting a web UI configured to receive and display a system time from the terminal access device
  • the terminal supporting the web UI may further generate a real-time time based on the system time after receiving the system time; and display the real-time time.
  • the system time that the access device connected to the terminal connected to the web UI is sent to the terminal is not manually set, but is obtained by the terminal access device itself, and is provided by a person skilled in the art.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)
  • Electric Clocks (AREA)

Abstract

A method, a terminal access device, and a system for synchronously supporting time of a web UI terminal. The method comprises: the terminal access device obtaining self system time; and the access device connected to a terminal sending the system time to the terminal connected to itself. By means of embodiment of the present invention, configuration of terminal time of this type has more choices.

Description

同步 web UI终端的时间的方法、 接入设备及系统  Method, access device and system for synchronizing time of web UI terminal
技术领域 Technical field
本发明涉及同步支持 web UI终端的时间领域,尤其涉及一种同步所述终 端时间的方法、 终端接入设备及系统。  The present invention relates to a time domain for synchronously supporting a web UI terminal, and more particularly to a method for synchronizing the terminal time, a terminal access device, and a system.
背景技术 Background technique
随着无线通讯技术的快速发展, 支持网络用户界面( web UI )的终端(如 MiFi )越来越普及。  With the rapid development of wireless communication technologies, terminals that support web UI (such as MiFi) are becoming more and more popular.
支持 web UI的终端通常通过 WLAN技术与 PC机等接入设备相连。 用 户在 PC机上通过 Web网页访问该终端以查看该终端的配置信息, 或者通过 在 Web网页上进行相关的设置以配置该终端。  Terminals that support web UI are usually connected to access devices such as PCs via WLAN technology. The user accesses the terminal through the Web page on the PC to view the configuration information of the terminal, or configures the terminal by performing related settings on the Web page.
现有的部分支持 web UI的终端 (如 MiFi )上由于仅设置了 "开 /关" 按 键, 无法实现用户在该终端上通过按键设置时间的功能。 若用户希望该终端 显示时间, 仅能在 PC机等接入设备上打开 Web网页, 在该网页上釆用人工 设置时间的方式配置该终端的时间。  In some existing terminals that support web UI (such as MiFi), since only the "on/off" button is set, the user can not set the time by pressing the button on the terminal. If the user wants the terminal to display the time, the web page can be opened only on the access device such as the PC, and the time of the terminal is configured by manually setting the time on the web page.
可见, 现有的配置支持 web UI终端的时间的方式单一, 且效率低下。 发明内容  It can be seen that the existing configuration supports the time of the web UI terminal in a single way and is inefficient. Summary of the invention
本发明实施例提供了一种同步 web UI终端的时间的方法、终端接入设备 及系统, 以解决如何提供另一种配置该类终端时间的技术问题。  The embodiment of the invention provides a method for synchronizing the time of a web UI terminal, a terminal access device and a system, and how to provide another technical problem of configuring the terminal time of the type.
为解决上述技术问题, 本发明实施例提供了一种同步终端时间的方法, 所述终端支持网络用户界面 (web UI ) , 所述方法包括:  To solve the above technical problem, an embodiment of the present invention provides a method for synchronizing a terminal time, where the terminal supports a web user interface (web UI), and the method includes:
所述终端所连接的接入设备获取自身的系统时间;  The access device connected to the terminal acquires its own system time;
所述终端所连接的接入设备将该系统时间发送至与自身连接的所述终 端。  The access device connected to the terminal sends the system time to the terminal connected to itself.
可选地, 所述终端所连接的接入设备获取自身的系统时间的步骤包括: 所述终端所连接的接入设备通过 web页面接收到时间设置指令后, 获取 自身的系统时间。 Optionally, the step of the access device connected to the terminal acquiring its own system time includes: The access device connected to the terminal acquires its own system time after receiving the time setting instruction through the web page.
可选地, 所述终端所连接的接入设备通过 web页面接收到时间设置指令 后, 获取自身的系统时间的步骤包括:  Optionally, after the access device connected to the terminal receives the time setting command through the web page, the step of acquiring the system time of the terminal includes:
所述终端所连接的接入设备通过 web页面接收到时间设置指令后, 调用 Javascript脚本程序获取自身的系统时间。  After receiving the time setting instruction through the web page, the access device connected to the terminal invokes a Javascript script program to acquire its own system time.
为解决上述技术问题, 本发明实施例还提供了一种终端与其接入设备交 互同步所述终端时间的方法, 所述终端支持网络用户界面 (web UI ) , 所述 方法包括: To solve the above technical problem, the embodiment of the present invention further provides a method for the terminal to synchronize the terminal time with the access device, where the terminal supports a web user interface (web UI), and the method includes:
所述终端所连接的接入设备釆用前述方法向所述终端发送系统时间; 所述终端接收并显示所述系统时间。  The access device connected to the terminal sends the system time to the terminal by using the foregoing method; the terminal receives and displays the system time.
可选地, 所述方法还包括:  Optionally, the method further includes:
所述终端接收所述系统时间后, 基于该系统时间生成实时时间; 所述终端显示所述实时时间。  After receiving the system time, the terminal generates a real-time time based on the system time; and the terminal displays the real-time time.
为解决上述技术问题, 本发明实施例还提供了一种用于同步终端时间的 终端接入设备, 所述终端支持网络用户界面 (web UI ) , 所述终端接入设备 包括时间获取模块以及时间发送模块, 其中, To solve the above technical problem, the embodiment of the present invention further provides a terminal access device for synchronizing terminal time, where the terminal supports a network user interface (web UI), and the terminal access device includes a time acquisition module and time. Sending module, wherein
所述时间获取模块, 设置成获取自身的系统时间, 并将获取的系统时间 发送至所述时间发送模块;  The time acquisition module is configured to acquire its own system time, and send the acquired system time to the time sending module;
所述时间发送模块, 设置成将所述系统时间发送至与自身连接的所述终 端。  The time transmitting module is configured to send the system time to the terminal connected to itself.
可选地, 所述时间获取模块, 设置成获取自身的系统时间是指: 所述时间获取模块, 设置成通过 web页面接收到时间设置指令后, 获取 自身的系统时间。  Optionally, the time acquiring module is configured to obtain the system time of the self, and the time acquiring module is configured to: obtain the system time of the self after receiving the time setting instruction through the web page.
可选地, 所述时间获取模块, 设置成通过 web页面接收到时间设置指令 后, 获取自身的系统时间是指: Optionally, the time acquisition module is configured to receive a time setting instruction through a web page. After that, getting your own system time means:
所述时间获取模块, 设置成通过 web页面接收到时间设置指令后, 调用 Javascript脚本程序获取自身的系统时间。  The time acquisition module is configured to, after receiving the time setting instruction through the web page, invoke the Javascript script program to acquire its own system time.
为解决上述技术问题, 本发明实施例还提供了一种用于同步终端时间的 系统, 所述系统包括支持网络用户界面 (web UI ) 的终端以及所述终端所连 接的接入设备, 其中, In order to solve the above technical problem, an embodiment of the present invention further provides a system for synchronizing a terminal time, where the system includes a terminal supporting a web user interface (web UI) and an access device connected to the terminal, where
所述终端所连接的接入设备釆用前述的终端接入设备;  The access device connected to the terminal uses the foregoing terminal access device;
所述终端, 设置成接收并显示来自所述终端接入设备的系统时间。 可选地, 所述终端, 还设置成接收所述系统时间后, 基于该系统时间生 成实时时间; 以及显示所述实时时间。  The terminal is configured to receive and display a system time from the terminal access device. Optionally, the terminal is further configured to: after receiving the system time, generate a real-time time based on the system time; and display the real-time time.
上述技术方案中支持 web UI的终端所连接的接入设备发送至该终端的 系统时间不再由人工设置, 而是由该终端接入设备自身获取, 为本领域技术 人员提供了另一种配置支持 web UI终端的时间的途径。 The system time that the access device connected to the terminal connected to the web UI in the foregoing technical solution is sent to the terminal is not manually set, but is acquired by the terminal access device itself, and another configuration is provided by those skilled in the art. The way to support the time of the web UI terminal.
附图概述 BRIEF abstract
图 1为本实施例的同步支持 web UI终端的时间的方法;  FIG. 1 is a method for synchronizing the time of supporting a web UI terminal according to the embodiment;
图 2为本实施例的同步支持 web UI终端的时间的终端接入设备组成模块 图。  FIG. 2 is a block diagram showing the components of the terminal access device that synchronizes the time of supporting the web UI terminal according to the embodiment.
本发明的较佳实施方式 Preferred embodiment of the invention
下文中将结合附图对本发明的实施例进行详细说明。 需要说明的是, 在 不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互任意组合。  Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
图 1为本实施例的同步支持 web UI终端的时间的方法。  FIG. 1 is a method for synchronizing the time of supporting a web UI terminal according to the embodiment.
S101 支持 web UI的终端的接入设备获取自身的系统时间;  S101: The access device of the terminal supporting the web UI acquires its own system time;
该终端接入设备可通过 web页面接收到时间设置指令后, 获取自身的系 统时间; 该时间设置命令可由用户通过在该终端接入设备上打开相应的时间 设置页面发送给该终端接入设备, 或由用户通过在该终端接入设备上打开 web页面后点击相应的时间设置按键发送给该终端接入设备; The terminal access device can obtain its own system after receiving the time setting instruction through the web page. The time setting command can be sent to the terminal access device by the user by opening a corresponding time setting page on the access device of the terminal, or the user clicks the corresponding time by opening the web page on the access device of the terminal. Setting a button to send to the terminal access device;
该终端接入设备接收到时间设置指令后, 可调用能够实现获取系统时间 功能的 Javascript脚本程序获取自身的系统时间;  After receiving the time setting instruction, the terminal access device may invoke a Javascript script program capable of acquiring the system time function to acquire its own system time;
S102 该终端的接入设备将该系统时间发送至与自身连接的支持 web UI 的终端。  S102 The access device of the terminal sends the system time to the terminal supporting the web UI connected to itself.
本发明实施例还提供了一种支持 web UI的终端与其接入设备交互同步 该终端时间的方法。 The embodiment of the invention further provides a method for the terminal supporting the web UI to interact with the access device to synchronize the terminal time.
在该方法中该终端的接入设备釆用前述的方法向支持 web UI的终端发 送系统时间;  In the method, the access device of the terminal sends the system time to the terminal supporting the web UI by using the foregoing method;
支持 web UI的终端接收到该系统时间后, 显示该系统时间。  The terminal that supports the web UI displays the system time after receiving the system time.
该支持 web UI的终端还能在接收所述系统时间后,基于该系统时间生成 实时时间, 显示实时时间。 如支持 web UI的终端在接收所述系统时间后, 启 动内部时间晶振, 通过时间晶振的计数实现在接收到的系统时间的基础上进 行计时。  The terminal supporting the web UI can also generate a real-time time based on the system time after receiving the system time, and display the real-time time. If the terminal supporting the web UI receives the system time, the internal time crystal oscillator is started, and the time of the received system time is counted by counting the time crystal oscillator.
下面以一个具体的应用示例对上述支持 web UI的终端与其接入设备交 互同步该终端时间的实施例进行进一步说明。 The following describes an embodiment in which the terminal supporting the web UI and the access device thereof synchronize the terminal time with a specific application example.
在该应用示例中, 支持 web UI的终端为 MiFi, 该终端的接入设备为 PC 机。  In this application example, the terminal supporting the web UI is MiFi, and the access device of the terminal is a PC.
步骤一, MiFi终端通过 WLAN (包括且不限于 WLAN网络) 与 PC机 进行连接;  Step 1: The MiFi terminal is connected to the PC through a WLAN (including but not limited to a WLAN network);
步骤二, 用户在 PC机上打开 web浏览器,输入 MiFi终端的主机域名地 址, 通过选择时间设置页面向 PC机发送时间设置指令;  Step 2: The user opens a web browser on the PC, inputs the host domain address of the MiFi terminal, and sends a time setting instruction to the PC by selecting a time setting page;
步骤三, PC机接收到时间设置指令后,调用在时间设置页面中嵌入的能 够实现获取系统时间功能的 Javascript脚本程序获取自身的系统时间; Step 3: After receiving the time setting instruction, the PC calls the energy embedded in the time setting page. A Javascript script that achieves the system time function to obtain its own system time;
该 Javascript p本程序可为 ¾口下函数:  The Javascript p program can be a function of 3⁄4 port:
function get_PCtime() //获取 PC时间的 javascript脚本程序  Function get_PCtime() //Get the javascript script for PC time
把获取到的 PC时间 (年月日时分秒星期)放入相应的标签 Put the acquired PC time (year, month, day, minute, minute, and week) into the corresponding label.
PC机在运行 Javascript脚本程序的同时,向 MiFi终端发送脚本运行通知;The PC sends a script running notification to the MiFi terminal while running the Javascript script program;
MiFi终端接收到该通知后 , 启动其 webserver的 go ahead后台程序 , 设 置成配合与 PC机间 web网页的收发; After receiving the notification, the MiFi terminal starts the gofront daemon of its webserver, and is set to cooperate with the web page of the PC to send and receive;
步骤四, PC机将获取的系统时间携带在 web网页中发送至 MiFi终端; 步骤五, MiFi终端通过 go ahead后台程序接收到 web网页后, 在 web 网页和自身板侧程序语言之间作函数映射, 以识别该 web网页;  Step 4: The PC sends the acquired system time to the MiFi terminal in the webpage; Step 5: After receiving the webpage by the gofront daemon, the MiFi terminal performs function mapping between the webpage and the native board side programming language. To identify the web page;
如:  Such as:
void formDefineTimeMgmt(void)  Void formDefineTimeMgmt(void)
websFormDefine(T("set_time "), sms— set— PCtimetoSms); websFormDefine(T("set_time "), sms_ set_ PCtimetoSms);
步骤六, MiFi终端将识别出的 web网页中携带的系统时间提取到自身的 RTC存储器, 由该存储器启动时间晶振, 通过时间晶振的计数实现在接收到 的系统时间的基础上进行计时; Step 6: The MiFi terminal extracts the system time carried in the identified web page to its own RTC memory, and starts the time crystal oscillator from the memory, and performs time counting on the basis of the received system time by counting the time crystal oscillator;
步骤七, MiFi终端将步骤六计时生成的实时时间在 LCD显示屏上显示。  Step 7: The MiFi terminal displays the real-time time generated by the step six timing on the LCD display.
图 2为本实施例的同步支持 web UI终端的时间的终端接入设备组成模块 图。 FIG. 2 is a block diagram showing the components of the terminal access device that synchronizes the time of supporting the web UI terminal according to the embodiment.
该终端接入设备包括时间获取模块以及时间发送模块, 其中, 所述时间获取模块, 设置成获取自身的系统时间, 并将获取的系统时间 发送至所述时间发送模块; The terminal access device includes a time acquisition module and a time sending module, where The time acquisition module is configured to acquire its own system time, and send the acquired system time to the time sending module;
该时间获取模块, 设置成通过 web页面接收到时间设置指令后, 获取自 身的系统时间; 该时间获取模块, 可在获知相应的时间设置页面被启动后, 获取自身的系统时间; 或在获知 web页面上的相应时间设置按键被启动后, 获取自身的系统时间; 该时间获知模块在通过 web 页面接收到时间设置指令后, 可调用 Javascript脚本程序获取自身的系统时间;  The time acquisition module is configured to obtain a system time of the system after receiving the time setting instruction through the webpage; the time acquisition module can acquire the system time of the system after the corresponding time setting page is started; or learn the web After the corresponding time setting button on the page is started, the system time of the system is obtained; after receiving the time setting instruction through the web page, the time learning module can call the Javascript script program to acquire its own system time;
所述时间发送模块, 设置成将所述系统时间发送至与自身连接的所述终 端。  The time transmitting module is configured to send the system time to the terminal connected to itself.
本发明实施例还提供了一种设置成同步终端时间的系统, 该系统包括支 持 web UI (用户界面) 的终端以及所述终端的接入设备, 其中: The embodiment of the invention further provides a system for setting a synchronization terminal time, the system comprising a terminal supporting a web UI (user interface) and an access device of the terminal, wherein:
支持 web UI的终端的接入设备可釆用前述的接入设备;  The access device of the terminal supporting the web UI can use the foregoing access device;
支持 web UI的终端, 设置成接收并显示来自所述终端接入设备的系统 时间;  a terminal supporting a web UI, configured to receive and display a system time from the terminal access device;
该支持 web UI的终端, 还可在接收所述系统时间后, 基于该系统时间 生成实时时间; 以及显示所述实时时间。  The terminal supporting the web UI may further generate a real-time time based on the system time after receiving the system time; and display the real-time time.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现, 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明实施例不限 制于任何特定形式的硬件和软件的结合。 One of ordinary skill in the art will appreciate that all or a portion of the above steps may be accomplished by a program instructing the associated hardware, such as a read-only memory, a magnetic disk, or an optical disk. Optionally, all or part of the steps of the foregoing embodiments may also be implemented by using one or more integrated circuits. Accordingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware, or may use software functions. The form of the module is implemented. Embodiments of the invention are not limited to any particular form of combination of hardware and software.
需要说明的是, 本发明还可有其他多种实施例, 在不背离本发明实施例 精神及其实质的情况下, 熟悉本领域的技术人员可根据本发明实施例作出各 种相应的改变和变形, 但这些相应的改变和变形都应属于本发明实施例所附 的权利要求的保护范围。 It should be noted that the present invention may be embodied in various other embodiments, and those skilled in the art can make various embodiments according to the embodiments of the present invention without departing from the spirit and scope of the embodiments of the present invention. Corresponding changes and modifications are intended to be included within the scope of the appended claims.
工业实用性 Industrial applicability
本发明实施例技术方案中支持 web UI的终端所连接的接入设备发送至 该终端的系统时间不再由人工设置, 而是由该终端接入设备自身获取, 为本 领域技术人员提供了另一种配置支持 web UI终端的时间的途径。  In the technical solution of the technical solution of the embodiment of the present invention, the system time that the access device connected to the terminal connected to the web UI is sent to the terminal is not manually set, but is obtained by the terminal access device itself, and is provided by a person skilled in the art. A way to configure the time to support a web UI terminal.

Claims

权 利 要 求 书 claims
1、 一种同步终端时间的方法, 所述终端支持网络用户界面 (web UI ) , 所述方法包括: 1. A method for synchronizing terminal time. The terminal supports a network user interface (web UI). The method includes:
所述终端所连接的接入设备获取自身的系统时间; The access device connected to the terminal obtains its own system time;
所述终端所连接的接入设备将该系统时间发送至与自身连接的所述终 端。 The access device connected to the terminal sends the system time to the terminal connected to itself.
2、如权利要求 1所述的方法, 其中, 所述终端所连接的接入设备获取自 身的系统时间的步骤包括: 2. The method of claim 1, wherein the step of obtaining the system time of the access device connected to the terminal includes:
所述终端所连接的接入设备通过 web页面接收到时间设置指令后, 获取 自身的系统时间。 After receiving the time setting instruction through the web page, the access device connected to the terminal obtains its own system time.
3、 如权利要求 2 所述的方法, 其中, 所述终端所连接的接入设备通过 web页面接收到时间设置指令后, 获取自身的系统时间的步骤包括: 3. The method of claim 2, wherein, after the access device connected to the terminal receives a time setting instruction through a web page, the step of obtaining its own system time includes:
所述终端所连接的接入设备通过 web页面接收到时间设置指令后, 调用 Javascript脚本程序获取自身的系统时间。 After receiving the time setting instruction through the web page, the access device connected to the terminal calls a Javascript script program to obtain its own system time.
4、一种终端与其接入设备交互同步所述终端时间的方法,所述终端支持 网络用户界面 (web UI ) , 所述方法包括: 4. A method for a terminal to interact with its access device to synchronize the terminal time. The terminal supports a network user interface (web UI). The method includes:
所述终端所连接的接入设备釆用权利要求 1~3中任一项所述的方法向所 述终端发送系统时间; The access device connected to the terminal uses the method described in any one of claims 1 to 3 to send the system time to the terminal;
所述终端接收并显示所述系统时间。 The terminal receives and displays the system time.
5、 如权利要求 4所述的方法, 还包括: 5. The method of claim 4, further comprising:
所述终端接收所述系统时间后, 基于该系统时间生成实时时间; 所述终端显示所述实时时间。 After receiving the system time, the terminal generates real-time time based on the system time; and the terminal displays the real-time time.
6、一种用于同步终端时间的终端接入设备,所述终端支持网络用户界面 ( web UI ) , 所述终端接入设备包括时间获取模块以及时间发送模块, 其中, 所述时间获取模块, 设置成获取自身的系统时间, 并将获取的系统时间 发送至所述时间发送模块; 6. A terminal access device for synchronizing terminal time. The terminal supports a network user interface (web UI). The terminal access device includes a time acquisition module and a time sending module, wherein the time acquisition module, Set to obtain its own system time and send the obtained system time to the time sending module;
所述时间发送模块, 设置成将所述系统时间发送至与自身连接的所述终 端。 The time sending module is configured to send the system time to the terminal connected to itself. end.
7、 如权利要求 6所述的接入设备, 其中: 7. The access device as claimed in claim 6, wherein:
所述时间获取模块设置成获取自身的系统时间是指: The time acquisition module is set to obtain its own system time means:
所述时间获取模块, 设置成通过 web页面接收到时间设置指令后, 获取 自身的系统时间。 The time acquisition module is configured to acquire its own system time after receiving the time setting instruction through the web page.
8、 如权利要求 7所述的接入设备, 其中: 8. The access device as claimed in claim 7, wherein:
所述时间获取模块设置成通过 web页面接收到时间设置指令后, 获取自 身的系统时间是指: The time acquisition module is configured to obtain its own system time after receiving the time setting instruction through the web page:
所述时间获取模块, 设置成通过 web页面接收到时间设置指令后, 调用 Javascript脚本程序获取自身的系统时间。 The time acquisition module is configured to call a Javascript script program to obtain its own system time after receiving the time setting instruction through the web page.
9、一种用于同步终端时间的系统,所述系统包括支持网络用户界面( web UI ) 的终端以及如权利要求 6~8中任一项所述的终端接入设备, 9. A system for synchronizing terminal time, the system includes a terminal that supports a network user interface (web UI) and a terminal access device as claimed in any one of claims 6 to 8,
所述终端与终端接入设备相连, 设置成接收并显示来自所述终端接入设 备的系统时间。 The terminal is connected to a terminal access device and is configured to receive and display system time from the terminal access device.
10、 如权利要求 9所述的系统, 其中, 10. The system of claim 9, wherein,
所述终端, 还设置成接收所述系统时间后, 基于该系统时间生成实时时 间; 以及显示所述实时时间。 The terminal is further configured to generate real-time time based on the system time after receiving the system time; and display the real-time time.
PCT/CN2013/080584 2012-08-23 2013-08-01 Method, access device, and system for synchronizing time of web ui terminal WO2013185711A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210302665.9 2012-08-23
CN201210302665.9A CN103634894A (en) 2012-08-23 2012-08-23 Method, access device, and system for synchronizing time of web UI terminal

Publications (1)

Publication Number Publication Date
WO2013185711A1 true WO2013185711A1 (en) 2013-12-19

Family

ID=49757590

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/080584 WO2013185711A1 (en) 2012-08-23 2013-08-01 Method, access device, and system for synchronizing time of web ui terminal

Country Status (2)

Country Link
CN (1) CN103634894A (en)
WO (1) WO2013185711A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106941678A (en) * 2016-01-04 2017-07-11 希姆通信息技术(上海)有限公司 The intelligent switch method and system of MiFi online patterns

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101808280A (en) * 2009-02-13 2010-08-18 中兴通讯股份有限公司 Method and system for obtaining network side time for terminals
CN102045638A (en) * 2009-10-09 2011-05-04 中国移动通信集团公司 Method and equipment for time synchronization
CN102132270A (en) * 2008-08-26 2011-07-20 微软公司 Minimal extensions required for multi-master offline and collaboration for devices and web services
WO2011139929A2 (en) * 2010-05-07 2011-11-10 Microsoft Corporation Clock synchronization for shared media playback

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102132270A (en) * 2008-08-26 2011-07-20 微软公司 Minimal extensions required for multi-master offline and collaboration for devices and web services
CN101808280A (en) * 2009-02-13 2010-08-18 中兴通讯股份有限公司 Method and system for obtaining network side time for terminals
CN102045638A (en) * 2009-10-09 2011-05-04 中国移动通信集团公司 Method and equipment for time synchronization
WO2011139929A2 (en) * 2010-05-07 2011-11-10 Microsoft Corporation Clock synchronization for shared media playback

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106941678A (en) * 2016-01-04 2017-07-11 希姆通信息技术(上海)有限公司 The intelligent switch method and system of MiFi online patterns

Also Published As

Publication number Publication date
CN103634894A (en) 2014-03-12

Similar Documents

Publication Publication Date Title
WO2020192714A1 (en) Device control page display method, related apparatus and system
EP4044609A1 (en) Cross-device content projection method and electronic device
EP3026943B1 (en) Avoiding master role selection in a proximity network
CN105426141B (en) Information processing method and electronic device supporting the same
WO2016155331A1 (en) Wearable-device-based information delivery method and related device
KR102447179B1 (en) Method for wireless communication and electronic device supporting the same
EP3097745B1 (en) Method and apparatus supporting ip multimedia subsystem
US20140129681A1 (en) Method of installing a driver to emulate a network card
WO2021233079A1 (en) Cross-device content projection method, and electronic device
CN110622123A (en) Display method and device
EP3057375A1 (en) Device searching method and electronic device for supporting the same
KR102277460B1 (en) Method for sharing a display and electronic device thereof
EP3575005B1 (en) Method and apparatus for providing vibration in electronic device
WO2022127661A1 (en) Application sharing method, and electronic device and storage medium
EP3409073B1 (en) Method and electronic device for providing tethering service
US20180129519A1 (en) Method and system for emulating application running in secondary device on primary device
US20200280614A1 (en) Electronic device and method for providing ip network service
JP2016538792A (en) Short-range wireless communication control method and apparatus supporting the same
KR102220766B1 (en) Electronic device and method for configuring a message, and wearable electronic device and method for receiving and executing the message
CA2838938A1 (en) Method of installing a driver to emulate a network card
WO2013185711A1 (en) Method, access device, and system for synchronizing time of web ui terminal
CN109040820A (en) Method for synchronizing time, device, smart television and computer readable storage medium
KR20150085864A (en) Advertising method of electronic apparatus and electronic apparatus thereof
US20170048292A1 (en) Electronic device and method for providing content
CN111756561A (en) Clock initialization configuration method and device

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

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

Country of ref document: EP

Kind code of ref document: A1