CN103873591B - A kind of cross-platform high in the clouds unlocking method - Google Patents

A kind of cross-platform high in the clouds unlocking method Download PDF

Info

Publication number
CN103873591B
CN103873591B CN201410129225.7A CN201410129225A CN103873591B CN 103873591 B CN103873591 B CN 103873591B CN 201410129225 A CN201410129225 A CN 201410129225A CN 103873591 B CN103873591 B CN 103873591B
Authority
CN
China
Prior art keywords
unblock
clouds
script
user
client
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.)
Expired - Fee Related
Application number
CN201410129225.7A
Other languages
Chinese (zh)
Other versions
CN103873591A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201410129225.7A priority Critical patent/CN103873591B/en
Publication of CN103873591A publication Critical patent/CN103873591A/en
Application granted granted Critical
Publication of CN103873591B publication Critical patent/CN103873591B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of cross-platform high in the clouds unlocking method, comprise the steps:S1, local unblock client receive unlock instruction, proceed by unblock;S2, in locally unblock client it is loaded into different unblock scripts;S3, beyond the clouds offer unblock logic, user are locally parsed, beyond the clouds unblock change logic, and high in the clouds unblock logic alternative will be pushed to user, and the unblock logic of user will change, the unblock of completion high in the clouds;S4, according to the high in the clouds script after renewal, using analytics engine is unlocked, by script interface, the work-based logic of unblock is run according to script completely;S5, judge whether that needs are unlocked, if it is, screen locking disappears, if it is not, then keeping present situation.The present invention can realize cross-platform in different platform using unblock, and the unlocking manner of oneself can be set on pc in cloud platform user, will the synchronous interactive mode oneself set accordingly on cell phone platform.

Description

A kind of cross-platform high in the clouds unlocking method
Technical field
The present invention relates to the technical field of high in the clouds unblock, more particularly to a kind of cross-platform high in the clouds unlocking method.
Background technology
During the use of intelligent machine, unblock is often system customization, or needs user oneself to download unblock progress Installation switching etc. is operated, and different platform such as Saipans, android, and the system program such as ios can not all be shared, and limit pole Greatly.Chinese invention patent 201210143674.8(Publication No.:CN103391203A)Disclose a kind of " unblock of mobile terminal Method, system and device ", wherein unlocking method are:User sets the high in the clouds unblock certification letter of mobile terminal to remote server Breath;High in the clouds solution lock icon is provided in the unlock interface of the mobile terminal;When high in the clouds solution lock icon is triggered, the shifting Dynamic terminal opening network connection, and point out user's input authentication information;The certification that the mobile terminal inputs user is believed Breath is sent to the remote server;The remote server judges whether the authentication information is believed with high in the clouds unblock certification Breath matching;If it is determined that matching, then the remote server return authentication successful information is to the mobile terminal;And the shifting Dynamic terminal is unlocked according to the authentication success message.This method can realize the unblock in high in the clouds, still, and it still fails to dash forward Break the unlocking method in different platform.So, same solution can be allowed to be locked in different platform and run, and unblock can root It is those skilled in the art's urgent problem to be solved to change and change according to high in the clouds.
The content of the invention
It is an object of the invention to the shortcoming and deficiency for overcoming prior art, there is provided a kind of cross-platform high in the clouds unblock side Method.
The purpose of the present invention is achieved through the following technical solutions:
A kind of cross-platform high in the clouds unlocking method, comprises the steps:
S1, local unblock client receive unlock instruction, proceed by unblock;
S2, in locally unblock client it is loaded into different unblock scripts;
S3, beyond the clouds offer unblock logic, user are locally parsed, beyond the clouds unblock change logic, and high in the clouds unblock is patrolled User will be pushed to by collecting change, and the unblock logic of user will change, and complete high in the clouds unblock;
S4, according to the high in the clouds script after renewal, using analytics engine is unlocked, by script interface, the work-based logic of unblock Run completely according to script;
S5, judge whether that needs are unlocked, if it is, screen locking disappears, if it is not, then keeping present situation.
It is preferred that, in step S1, user actively updates unlock instruction, and what is actively updated concretely comprises the following steps:
S111, user click on client and update button, and client is sent to cloud server updates request;
The data of renewal are sent to client by S112, cloud server in the form of a list after being asked;
S113, client see the high in the clouds unblock that can be updated;
S114, user click on the unblock for wanting to update, and high in the clouds user end to server, which is sent, updates request;
S115, cloud server are provided to client updates address;
S116, client go to high in the clouds to download the script for needing to update and application according to address is updated;
S117, completion update.
It is preferred that, in step S1, unlock instruction is that high in the clouds timing is pushed, and high in the clouds timing, which is pushed, to be concretely comprised the following steps:
The other users that S121, high in the clouds receive user's concern have updated unblock, either certain day be red-letter day or user oneself Oneself have updated unblock on pc or other-end needs synchronization, and above- mentioned information can be sent out to the client user for having bound the high in the clouds High in the clouds is sent to push request;
S122, client, which are learnt, to be needed to update;
S123, the unblock for needing to update to cloud server acquisition;
S124, cloud server are provided to client updates address;
S125, client go to high in the clouds to download the script for needing to update and application according to address is updated;
S126, completion update.
It is preferred that, in step S3, the method for parsing is:
S31, Download Script, and check whether the script is correct script,
S32, engine start analyzing script file,
The interface that S33, user's operation have been parsed, notifies unlocking program to complete unblock behaviour if Interface detection to unblock Make.
It is preferred that, in step S31, check that the whether correct method of script is:
The script that high in the clouds is downloaded is made a distinction with specific fields, if detected comprising the field, then it is assumed that downloaded To the script have no problem.
It is preferred that, the step of engine starts analyzing script file is:Html is directly parsed using webkit, and in branch Hold and shown on the mobile terminal of browser, the flow of parsing is:
S321, CURL obtain the stream of website;
S322, parsing divide character string;
S323, Dom trees by legal html specifications are generated by Dom Builder;
S324, if javascript, JSEngine just improves Dom trees by ECMA-262 standards;
S325, Dom is transmitted to LayoutEngine, is laid out, if CSS style, just solved by CSSParser Analysis;
S326, last Rendering out come out.
It is preferred that, engine starts analyzing script file to be completed in the form of oneself customization, is specially:Script uses xml Canonical form, engine custom field, field includes the essential information of the module, and xml is made up of multiple such fields, engine Each field is parsed when parsing, is then showed, finally completed according to the essential information included inside field Xml lump-sum analysis.
It is preferred that, the essential information is in effect, the position, background picture or the response events that are shown in above screen It is one or more.
The present invention has the following advantages and effect relative to prior art:
1st, user of the invention voluntarily need not install different unblocks to change unlocking manner.
2nd, the present invention can realize cross-platform use in different platforms using unblock.
3rd, the present invention can set the unlocking manner of oneself in cloud platform user on pc, will be corresponding on cell phone platform The synchronous interactive mode oneself set.
4th, high in the clouds of the present invention can update the unblock of user automatically according to user's Provisioning Policy(Different red-letter days updates different Unblock;Share the unblock of oneself with other people cloud users, unified triggering updates by high in the clouds).
5th, during user's switch mobile phone theme of the invention, high in the clouds can update unblock style according to topic style.
6th, service logic of the invention beyond the clouds, if desired for upgrading without allowing user's more new procedures.
Brief description of the drawings
Fig. 1 is the flow chart of the present invention;
Fig. 2 is the flow chart that the present invention is parsed;
Fig. 3 is the unblock change logic chart that user actively updates;
Fig. 4 is to push the unblock change logic chart updated.
Embodiment
With reference to embodiment and accompanying drawing, the present invention is described in further detail, but embodiments of the present invention are not limited In this.
Embodiment 1
As shown in Figure 1 and Figure 2, a kind of cross-platform high in the clouds unlocking method of the present embodiment, comprises the steps:
S1, local unblock client receive unlock instruction, proceed by unblock;
S2, in locally unblock client it is loaded into different unblock scripts;
S3, beyond the clouds offer unblock logic, user are locally parsed, beyond the clouds unblock change logic, and high in the clouds unblock is patrolled User will be pushed to by collecting change, and the unblock logic of user will change, and complete high in the clouds unblock;
S4, according to the high in the clouds script after renewal, using analytics engine is unlocked, by script interface, the work-based logic of unblock Run completely according to script;
S5, judge whether that needs are unlocked, if it is, screen locking disappears, if it is not, then keeping present situation.
In step S1, unlock instruction is that user actively updates unlock instruction, and user actively updates unlock instruction, such as Fig. 3 institutes Show, what is actively updated concretely comprises the following steps:
S111, user click on client and update button, and client is sent to cloud server updates request;
The data of renewal are sent to client by S112, cloud server in the form of a list after being asked;
S113, client are it is seen that the high in the clouds unblock that can be updated;
S114, user click on the unblock for wanting to update, and high in the clouds user end to server, which is sent, updates request;
S115, cloud server are provided to client updates address;
S116, client go to high in the clouds to download the script for needing to update and application according to address is updated;
S117, completion update.
In step S3, the method for parsing is:
S31, Download Script, and check whether the script is correct script,
S32, engine start analyzing script file,
The interface that S33, user's operation have been parsed, notifies unlocking program to complete unblock behaviour if Interface detection to unblock Make.
In step S31, check that the whether correct method of script is:
The script that high in the clouds is downloaded is made a distinction with specific fields, if detected comprising the field, then it is assumed that downloaded To the script have no problem.
The step of engine starts analyzing script file be:Html is directly parsed using webkit, and is supporting to browse Shown on the mobile terminal of device, the flow of parsing is:
S321, CURL obtain the stream of website;
S322, parsing divide character string;
S323, Dom trees by legal html specifications are generated by Dom Builder;
S324, if javascript, JSEngine just improves Dom trees by ECMA-262 standards;
S325, Dom is transmitted to LayoutEngine, is laid out, if CSS style, just solved by CSSParser Analysis;
S326, last Rendering out come out.
Engine starts analyzing script file to be completed in the form of oneself customization, is specially:Script uses xml canonical forms Formula, engine custom field, field includes the essential information of the module, and xml is made up of multiple such fields, engine parsing When each field is parsed, then showed according to the essential information included inside field, finally complete the whole of xml Body is parsed.
Above-mentioned module can be different
For example<Music x=0,y=0,width=200,height=200/>
Here module refers to that music sits vertex position(0,0), wide height(200,200)
<Image x=200,y=00,width=200,height=200/>
Here module refers to that photo frame sits vertex position(200,200), wide height(200,200)
Specific module and position can be thus shown according to configuration
The essential information for one kind in effect, the position, background picture or the response events that are shown in above screen or It is a variety of, still, essential information be not limited to it is above-mentioned several, other information can also serve as the present invention normative reference.
Embodiment 2
The present embodiment is in addition to following technical characteristics, and other features are identical with above-described embodiment 1:
As shown in figure 1, a kind of cross-platform high in the clouds unlocking method of the present embodiment, comprises the steps:
S1, local unblock client receive unlock instruction, proceed by unblock;
S2, in locally unblock client it is loaded into different unblock scripts;
S3, beyond the clouds offer unblock logic, user are locally parsed, beyond the clouds unblock change logic, and high in the clouds unblock is patrolled User will be pushed to by collecting change, and the unblock logic of user will change, and complete high in the clouds unblock;
S4, according to the high in the clouds script after renewal, using analytics engine is unlocked, by script interface, the work-based logic of unblock Run completely according to script;
S5, judge whether that needs are unlocked, if it is, screen locking disappears, if it is not, then keeping present situation.
As shown in figure 4, in step S1, unlock instruction is that high in the clouds timing is pushed, and high in the clouds timing, which is pushed, to be concretely comprised the following steps:
The other users that S121, high in the clouds receive user's concern have updated unblock, either certain day be red-letter day or user oneself Oneself have updated unblock on pc or other-end needs synchronization, and above- mentioned information can be sent out to the client user for having bound the high in the clouds High in the clouds is sent to push request;
S122, client, which are learnt, to be needed to update;
S123, the unblock for needing to update to cloud server acquisition;
S124, cloud server are provided to client updates address;
S125, client go to high in the clouds to download the script for needing to update and application according to address is updated;
S126, completion update.
Above-described embodiment is preferably embodiment, but embodiments of the present invention are not by above-described embodiment of the invention Limitation, other any Spirit Essences without departing from the present invention and the change made under principle, modification, replacement, combine, simplification, Equivalent substitute mode is should be, is included within protection scope of the present invention.

Claims (4)

1. a kind of cross-platform high in the clouds unlocking method, it is characterised in that comprise the steps:
S1, local unblock client receive unlock instruction, proceed by unblock;
S2, in locally unblock client it is loaded into different unblock scripts;
S3, beyond the clouds offer unblock logic, user are locally parsed, beyond the clouds unblock change logic, high in the clouds unblock logic change User will be more pushed to, the unblock logic of user will change, complete high in the clouds unblock;High in the clouds is set automatically according to user The unblock of policy update user includes:Different red-letter day updates different unblock and shares the solution of oneself with other people cloud users Lock;The method that user is locally parsed is:
S31, Download Script, and check whether the script is correct script, check that the whether correct method of script is:By high in the clouds The script of download is made a distinction with specific fields, if detected comprising the field, then it is assumed that the script downloaded to does not have Problem;
S32, engine start analyzing script file;Engine starts analyzing script file to be completed in the form of oneself customization, specifically For:Script uses xml canonical forms, and engine custom field, field includes the essential information of module, and xml is by multiple such Field is constituted, and engine parses each field when parsing, is then presented according to the essential information included inside field Out, xml lump-sum analysis is finally completed;The essential information for effect, be shown in above screen position, background picture or One or more in response events;Specific module and position are shown according to configuration;
The interface that S33, user's operation have been parsed, notifies unlocking program to complete unblock operation if Interface detection to unblock;
S4, according to the high in the clouds script after renewal, using analytics engine is unlocked, by script interface, the work-based logic of unblock is complete Run according to script;
S5, judge whether that needs are unlocked, if it is, screen locking disappears, if it is not, then keeping present situation.
2. cross-platform high in the clouds unlocking method according to claim 1, it is characterised in that in step S1, unlock instruction is use Householder is dynamic to update unlock instruction, and what is actively updated concretely comprises the following steps:
S111, user click on client and update button, and client is sent to cloud server updates request;
The data of renewal are sent to client by S112, cloud server in the form of a list after being asked;
S113, client see the high in the clouds unblock that can be updated;
S114, user click on the unblock for wanting to update, and client is sent to cloud server updates request;
S115, cloud server are provided to client updates address;
S116, client go to high in the clouds to download the script for needing to update and application according to address is updated;
S117, completion update.
3. cross-platform high in the clouds unlocking method according to claim 1, it is characterised in that in step S1, unlock instruction is cloud End timing is pushed, and high in the clouds timing, which is pushed, to be concretely comprised the following steps:
The other users that S121, high in the clouds receive user's concern have updated unblock, and either certain day is that red-letter day or user oneself exist Unblock is have updated on pc or other-end needs synchronization, and above- mentioned information can send cloud to the client user for having bound the high in the clouds End pushes request;
S122, client, which are learnt, to be needed to update;
S123, the unblock for needing to update to cloud server acquisition;
S124, cloud server are provided to client updates address;
S125, client go to high in the clouds to download the script for needing to update and application according to address is updated;
S126, completion update.
4. cross-platform high in the clouds unlocking method according to claim 1, it is characterised in that in step S32, engine starts parsing The step of script file is:Html is directly parsed using webkit, and is shown on the mobile terminal for supporting browser Come, the flow of parsing is:
S321, CURL obtain the stream of website;
S322, parsing divide character string;
S323, Dom trees by legal html specifications are generated by Dom Builder;
S324, if javascript, JSEngine just improves Dom trees by ECMA-262 standards;
S325, Dom is transmitted to LayoutEngine, is laid out, if CSS style, just parsed by CSSParser;
S326, last Rendering out come out.
CN201410129225.7A 2014-03-31 2014-03-31 A kind of cross-platform high in the clouds unlocking method Expired - Fee Related CN103873591B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410129225.7A CN103873591B (en) 2014-03-31 2014-03-31 A kind of cross-platform high in the clouds unlocking method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410129225.7A CN103873591B (en) 2014-03-31 2014-03-31 A kind of cross-platform high in the clouds unlocking method

Publications (2)

Publication Number Publication Date
CN103873591A CN103873591A (en) 2014-06-18
CN103873591B true CN103873591B (en) 2017-09-29

Family

ID=50911705

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410129225.7A Expired - Fee Related CN103873591B (en) 2014-03-31 2014-03-31 A kind of cross-platform high in the clouds unlocking method

Country Status (1)

Country Link
CN (1) CN103873591B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105718784A (en) * 2014-12-05 2016-06-29 航天信息股份有限公司 Gesture unlocking implementation method based on Javascript
CN108230501B (en) * 2017-12-29 2020-11-24 广州斯马特信息科技有限公司 Bluetooth unlocking method and device
CN114840287B (en) * 2022-03-25 2024-04-16 阿里巴巴(中国)有限公司 Task interaction method of cross-cloud desktop

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102495741A (en) * 2011-11-17 2012-06-13 深圳市中兴移动通信有限公司 Touch screen equipment unlocking mode management device, system and management method
CN103257879A (en) * 2013-05-24 2013-08-21 安徽易众网络科技有限公司 Method using screen capture for installing and configuring software
CN103391203A (en) * 2012-05-09 2013-11-13 百度在线网络技术(北京)有限公司 Unlocking method, system and device of mobile terminal
CN103514416A (en) * 2013-10-15 2014-01-15 广东欧珀移动通信有限公司 Dynamic unlocking method and unlocking system for mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9024890B2 (en) * 2008-05-17 2015-05-05 David H. Chin Comparison of an applied gesture on a touch screen of a mobile device with a remotely stored security gesture

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102495741A (en) * 2011-11-17 2012-06-13 深圳市中兴移动通信有限公司 Touch screen equipment unlocking mode management device, system and management method
CN103391203A (en) * 2012-05-09 2013-11-13 百度在线网络技术(北京)有限公司 Unlocking method, system and device of mobile terminal
CN103257879A (en) * 2013-05-24 2013-08-21 安徽易众网络科技有限公司 Method using screen capture for installing and configuring software
CN103514416A (en) * 2013-10-15 2014-01-15 广东欧珀移动通信有限公司 Dynamic unlocking method and unlocking system for mobile terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于WebKit 的嵌入式浏览器关键技术研究与实现;倪建新;《智能计算机与应用》;20111231;第1卷(第4期);第3部分Webkit引擎解析流程分析,图3 *

Also Published As

Publication number Publication date
CN103873591A (en) 2014-06-18

Similar Documents

Publication Publication Date Title
CN105407172B (en) A kind of router long-distance management system based on http protocol
CN108536524A (en) Resource regeneration method, device, terminal and storage medium
US9621627B2 (en) Dynamically launching a server-based application on a mobile device
US20120209950A1 (en) Data Card and Method for Internet Access of Data Card
US9832178B2 (en) Administration of web page
CN103873591B (en) A kind of cross-platform high in the clouds unlocking method
CN103391479A (en) Method, device, terminal and system for customizing updated series
US9244754B2 (en) Error code conversion method and system, PPPoE server and mobile terminal
CN102137126B (en) System and method for updating web data
US20170295217A1 (en) Method and system of application development for multiple device client platforms
CN107018450A (en) A kind of page display method and device
US20170054810A1 (en) Platform for Controlling and Operating Network Connected Devices
CN104111822B (en) Application program changes the method for font, apparatus and system
CN102750176A (en) Software upgrading method and device for network TV
WO2013174080A1 (en) Interface display method and system of home gateway applicable to multiple display types
CN105635201A (en) Application starting method and application starting system based on pushed information
CN103607454B (en) The method that android system browser arranges privately owned proxy server
CN106358083A (en) Method and system for updating television application
KR20130065777A (en) Apparatus and method for sharing web contents using inspector script
CN103902539A (en) Method and device for analyzing extensible markup language data
EP2235889B1 (en) Service access control system and method using embedded browser agent
CN104410702A (en) Remote service request method, response method, request device and response device
CN102842006A (en) Access control method of expanding script object as well as access control system and terminal of expanding script object
CN101527646A (en) System and method for WEB network management
CN102624882A (en) Method for synchronizing electronic digital signage terminal and interface customization update platform

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170929