CN103634894A - 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
CN103634894A
CN103634894A CN201210302665.9A CN201210302665A CN103634894A CN 103634894 A CN103634894 A CN 103634894A CN 201210302665 A CN201210302665 A CN 201210302665A CN 103634894 A CN103634894 A CN 103634894A
Authority
CN
China
Prior art keywords
time
terminal
access device
web
system time
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
CN201210302665.9A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201210302665.9A priority Critical patent/CN103634894A/en
Priority to PCT/CN2013/080584 priority patent/WO2013185711A1/en
Publication of CN103634894A publication Critical patent/CN103634894A/en
Pending legal-status Critical Current

Links

Images

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

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

The invention provides a method, terminal access device, and system for synchronously supporting time of a web UI terminal. The method comprises: a terminal access device obtaining system time of itself; and the access device connected to a terminal sending the system time to the terminal connected to itself. According to the invention, there are more choices for configuration of terminal time of this type.

Description

Method, access device and the system of the time of synchronous web UI terminal
Technical field
The present invention relates to synchronously support the time field of web UI terminal, relate in particular to method, terminal access device and the system of a kind of synchronous described terminal time.
Background technology
Along with the fast development of wireless communication technique, the terminal (as MiFi) of network enabled user interface (web UI) is more and more universal.
The terminal of supporting web UI is connected by access devices such as WLAN technology and PCs conventionally.User on PC by this terminal of Web web page access to check the configuration information of this terminal, or by the setting at the enterprising line correlation of Web webpage to configure this terminal.
Existing part supports the terminal (as MiFi) of web UI upper owing to being only provided with " ON/OFF " button, cannot realize user and in this terminal, pass through the function of button setup times.If user wishes this terminal displaying time, only can on the access devices such as PC, open Web webpage, on this webpage, adopt the mode of artificial setup times to configure the time of this terminal.
Visible, the mode of the time of existing configuration support web UI terminal is single, and inefficiency.
Summary of the invention
The invention provides method, terminal access device and the system of a kind of time of synchronous web UI terminal, to solve, how to provide the another kind of configuration technical problem of such terminal time.
For solving the problems of the technologies described above, the invention provides the method for synchronous terminal time a kind of, described terminal support network user interface (web UI), described method comprises:
The access device of described terminal obtains the system time of self;
The access device of described terminal is sent to this system time the described terminal being connected with self.
Further, the system time that the access device of described terminal obtains self comprises:
The access device of described terminal receives after set of time instruction by web page, obtains the system time of self.
Further, the access device of described terminal receives after set of time instruction by web page, and the system time that obtains self comprises:
The access device of described terminal receives after set of time instruction by web page, calls the system time that Javascript shell script obtains self.
For solving the problems of the technologies described above, the present invention also provides the method for terminal time described in a kind of terminal and its access device synchronisation, described terminal support network user interface (web UI), and described method comprises:
The access device of described terminal adopts preceding method to the described terminal transmitting system time;
Described terminal receives and shows described system time.
Further, described method also comprises:
Described terminal receives after described system time, based on this system time, generates real-time time;
Described terminal shows described real-time time.
For solving the problems of the technologies described above, the present invention also provides a kind of terminal access device for the synchronous terminal time, described terminal support network user interface (web UI), and described terminal access device comprises time-obtaining module and time sending module, wherein
Described time-obtaining module, for obtaining the system time of self, and is sent to described time sending module by the system time obtaining;
Described time sending module, for being sent to described system time the described terminal being connected with self.
Further, described time-obtaining module, comprises for the system time that obtains self:
Described time-obtaining module, for receiving after set of time instruction by web page, obtains the system time of self.
Further, described time-obtaining module, for receiving after set of time instruction by web page, the system time that obtains self comprises:
Described time-obtaining module, for receiving after set of time instruction by web page, calls the system time that Javascript shell script obtains self.
For solving the problems of the technologies described above, the present invention also provides a kind of system for the synchronous terminal time, and described system comprises the terminal of network enabled user interface (web UI) and the access device of described terminal, wherein,
The access device of described terminal adopts aforesaid terminal access device;
Described terminal, for receiving and showing the system time from described terminal access device.
Further, described terminal, also for receiving after described system time, generates real-time time based on this system time; And show described real-time time.
In technique scheme, support system time that the access device of the terminal of web UI is sent to this terminal no longer by manually arranging, but self obtained by this terminal access device, for providing another kind of configuration, those skilled in the art support the approach of the time of web UI terminal.
Accompanying drawing explanation
Fig. 1 is the method for time of the synchronous support web UI terminal of the present embodiment;
Fig. 2 is that the terminal access device of time of the synchronous support web UI terminal of the present embodiment forms module map.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, hereinafter in connection with accompanying drawing, embodiments of the invention are elaborated.It should be noted that, in the situation that not conflicting, the embodiment in the application and the feature in embodiment be combination in any mutually.
Fig. 1 is the method for time of the synchronous support web UI terminal of the present embodiment.
S101 supports the access device of the terminal of web UI to obtain the system time of self;
This terminal access device can receive after set of time instruction by web page, obtains the system time of self; This set of time order can send to this terminal access device by open the corresponding set of time page on this terminal access device by user, or by clicking corresponding set of time button open web page on this terminal access device after, sends to this terminal access device by user;
This terminal access device receives after set of time instruction, can call can realize the Javascript shell script that obtains system time function and obtain the system time of self;
The access device of this terminal of S102 is sent to this system time the terminal of the support web UI being connected with self.
The present invention also provides the terminal of a kind of web of support UI and the method for its access device synchronisation this terminal time.
The access device of this terminal adopts aforesaid method to the terminal transmitting system time of supporting web UI in the method;
Support the terminal of web UI to receive after this system time, show this system time.
This supports the terminal of web UI after receiving described system time, based on this system time, to generate real-time time, shows real-time time.As support the terminal of web UI after system time as described in receiving, and start internal time crystal oscillator, by the counting of time crystal oscillator, realize and on the basis of the system time receiving, carry out timing.
With a concrete application example, the embodiment of the terminal of above-mentioned support web UI and its access device synchronisation this terminal time is further described below.
In this application example, support that the terminal of web UI is MiFi, the access device of this terminal is PC.
Step 1, MiFi terminal is connected with PC by WLAN (comprise and be not limited to wlan network);
Step 2, user opens web browser on PC, and the host domain name address of input MiFi terminal, arranges the page by select time, to PC transmitting time, instruction is set;
Step 3, PC receives after set of time instruction, is invoked at can realizing of embedding in the set of time page and obtains the Javascript shell script of system time function and obtain the system time of self;
This Javascript shell script can be as minor function:
Function get_PCtime () // the obtain javascript shell script of PC time
{
The PC time getting (Hour Minute Second week date) is put into corresponding label
}
PC, in operation Javascript shell script, sends script operation notice to MiFi terminal;
MiFi terminal receives after this notice, starts the go ahead background program of its webserver, for coordinate and PC between the transmitting-receiving of web webpage;
Step 4, PC is carried at the system time obtaining in web webpage, to be sent to MiFi terminal;
Step 5, MiFi terminal receives after web webpage by go ahead background program, at web webpage with between body side program language, makes Function Mapping, to identify this web webpage;
As:
void?formDefineTimeMgmt(void)
{
websFormDefine(T(″set_time″),sms_set_PCtimetoSms);
}
Step 6, MiFi terminal is extracted the system time carrying in the web webpage identifying the RTC memory of self, by this memory crystal oscillator start-up time, by the counting of time crystal oscillator, is realized and on the basis of the system time receiving, is carried out timing;
Step 7, the real-time time that MiFi terminal generates step 6 timing shows in LCD display.
Fig. 2 is that the terminal access device of time of the synchronous support web UI terminal of the present embodiment forms module map.
This terminal access device comprises time-obtaining module and time sending module, wherein,
Described time-obtaining module, for obtaining the system time of self, and is sent to described time sending module by the system time obtaining;
This time-obtaining module, for receiving after set of time instruction by web page, obtains the system time of self; This time-obtaining module, can, after knowing that the corresponding set of time page is activated, obtain the system time of self; Or after knowing that corresponding set of time button on web page is activated, obtain the system time of self;
This time knows that module, receiving by web page after set of time instruction, can call the system time that Javascript shell script obtains self;
Described time sending module, for being sent to described system time the described terminal being connected with self.
The present invention also provides a kind of system for the synchronous terminal time, and this system comprises supports the terminal of web UI (user interface) and the access device of described terminal, wherein:
Support the access device of the terminal of web UI can adopt aforesaid access device;
Support the terminal of web UI, for receiving and showing the system time from described terminal access device;
This supports the terminal of web UI, also can, after receiving described system time, based on this system time, generate real-time time; And show described real-time time.
One of ordinary skill in the art will appreciate that all or part of step in said method can come instruction related hardware to complete by program, described program can be stored in computer-readable recording medium, as read-only memory, disk or CD etc.Alternatively, all or part of step of above-described embodiment also can realize with one or more integrated circuits, and correspondingly, each the module/unit in above-described embodiment can adopt the form of hardware to realize, and also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.
It should be noted that; the present invention also can have other various embodiments; in the situation that not deviating from spirit of the present invention and essence thereof; those of ordinary skill in the art can make according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (10)

1. the method for synchronous terminal time, described terminal support network user interface (web UI), is characterized in that, described method comprises:
The access device of described terminal obtains the system time of self;
The access device of described terminal is sent to this system time the described terminal being connected with self.
2. the method for claim 1, is characterized in that, the system time that the access device of described terminal obtains self further comprises:
The access device of described terminal receives after set of time instruction by web page, obtains the system time of self.
3. method as claimed in claim 2, is characterized in that, described method further comprises:
The access device of described terminal receives after set of time instruction by web page, calls the system time that Javascript shell script obtains self.
4. the method for terminal time described in terminal and its access device synchronisation, described terminal support network user interface (web UI), is characterized in that, described method comprises:
Method in the access device employing claim 1~3 of described terminal described in any one is to the described terminal transmitting system time;
Described terminal receives and shows described system time.
5. method as claimed in claim 4, is characterized in that, described method also comprises:
Described terminal receives after described system time, based on this system time, generates real-time time;
Described terminal shows described real-time time.
6. for the terminal access device of synchronous terminal time, described terminal support network user interface (web UI), is characterized in that, described terminal access device comprises time-obtaining module and time sending module, wherein,
Described time-obtaining module, for obtaining the system time of self, and is sent to described time sending module by the system time obtaining;
Described time sending module, for being sent to described system time the described terminal being connected with self.
7. access device as claimed in claim 6, is characterized in that,
Described time-obtaining module, further comprises for the system time that obtains self:
Described time-obtaining module, for receiving after set of time instruction by web page, obtains the system time of self.
8. access device as claimed in claim 7, is characterized in that:
Described time-obtaining module, for receiving after set of time instruction by web page, the system time that obtains self further comprises:
Described time-obtaining module, for receiving after set of time instruction by web page, calls the system time that Javascript shell script obtains self.
9. for the system of synchronous terminal time, described system comprises the terminal of network enabled user interface (web UI) and the access device of described terminal, it is characterized in that,
The access device of described terminal adopts the terminal access device as described in claim 6~8;
Described terminal, for receiving and showing the system time from described terminal access device.
10. system as claimed in claim 9, is characterized in that,
Described terminal, also for receiving after described system time, generates real-time time based on this system time; And show described real-time time.
CN201210302665.9A 2012-08-23 2012-08-23 Method, access device, and system for synchronizing time of web UI terminal Pending CN103634894A (en)

Priority Applications (2)

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

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
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
CN103634894A true CN103634894A (en) 2014-03-12

Family

ID=49757590

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210302665.9A Pending CN103634894A (en) 2012-08-23 2012-08-23 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)

Families Citing this family (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
US20110276648A1 (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
US20110276648A1 (en) * 2010-05-07 2011-11-10 Microsoft Corporation Clock synchronization for shared media playback

Also Published As

Publication number Publication date
WO2013185711A1 (en) 2013-12-19

Similar Documents

Publication Publication Date Title
CN110471639B (en) Display method and related device
US10223132B2 (en) Synchronization between electronic devices
WO2020253758A1 (en) User interface layout method and electronic device
US9805724B2 (en) Method and apparatus for voice recording and playback
KR102122476B1 (en) Apparatas and method for controlling a rotation of screen in an electronic device
US20170235435A1 (en) Electronic device and method of application data display therefor
CN115486087A (en) Application interface display method under multi-window screen projection scene and electronic equipment
EP3115912A2 (en) Method for displaying web content and electronic device supporting the same
KR20150111221A (en) Method for constructing page and electronic device supporting the same
CN115981582B (en) Display method and electronic equipment
CN116360725B (en) Display interaction system, display method and device
CN111357255B (en) Building a trusted application common to multiple applications
KR20150066876A (en) Method for controlling an user interface and an electronic device
KR20150027459A (en) Content transmission method and apparatus
KR20140142116A (en) Electronic device and method for providing text transformaation service
CN105892849B (en) Image processing method and electronic device supporting the same
KR20150117968A (en) Apparatas and method for changing a function according to input direction in an electronic device
KR102140294B1 (en) Advertising method of electronic apparatus and electronic apparatus thereof
CN103634894A (en) Method, access device, and system for synchronizing time of web UI terminal
EP4261677A1 (en) Upgrade prompt method, terminal device, and computer readable storage medium
CN113840030B (en) Icon display method, electronic device and readable storage medium
CN113747543B (en) Network distribution method, equipment, device and storage medium
CN106488392B (en) Data transfer method and device
CN111726848B (en) Equipment binding method, target starting device, fixed terminal and storage medium
KR20150059282A (en) Method for processing data and an electronic device thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140312