Movatterモバイル変換


[0]ホーム

URL:


CN104679564B - A kind of method for starting application program by browser - Google Patents

A kind of method for starting application program by browser
Download PDF

Info

Publication number
CN104679564B
CN104679564BCN201510103090.1ACN201510103090ACN104679564BCN 104679564 BCN104679564 BCN 104679564BCN 201510103090 ACN201510103090 ACN 201510103090ACN 104679564 BCN104679564 BCN 104679564B
Authority
CN
China
Prior art keywords
url
des
browser
parameter
result
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.)
Active
Application number
CN201510103090.1A
Other languages
Chinese (zh)
Other versions
CN104679564A (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.)
Zhejiang Wanpeng Digital Intelligence Technology Co.,Ltd.
Original Assignee
Zhejiang Wanpeng Education Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Wanpeng Education Technology Co LtdfiledCriticalZhejiang Wanpeng Education Technology Co Ltd
Priority to CN201510103090.1ApriorityCriticalpatent/CN104679564B/en
Publication of CN104679564ApublicationCriticalpatent/CN104679564A/en
Application grantedgrantedCritical
Publication of CN104679564BpublicationCriticalpatent/CN104679564B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

The invention discloses a kind of method for starting application program by browser.The present invention comprises the following steps:First, Web, which generates one, can obtain the URL 1 of complete start-up parameter, and URL 1 is obtained into DES 1 using DES algorithms, and then URL 1 is calculated using MD5 algorithms and obtains MD5 1, merge DES 1 and MD5 1 and obtain linked contents;2nd, behind family clickthrough address, linked contents are started authorized agency's startup program by browser, linked contents are divided into MD5 2 and DES 2, DES 2 is URL 2 using DES algorithms decryption postscript, calculated again with MD5 and obtain MD5 3, MD5 3 is compared with MD5 2, the addresses of URL 2 are accessed if result is equal.3rd, startup program is acted on behalf of to parse using corresponding parsing storehouse and get corresponding content of parameter.The maximum parameter that the present invention has got around custom protocol permission is limited.

Description

A kind of method for starting application program by browser
Technical field
The invention belongs to computer desktop application field, especially a kind of method for starting application program by browser.
Background technology
With developing rapidly for current Web browser, occur in that a variety of browser kernels and shell, such as IE shells+Trident kernels, Firefox shell+Gecko kernels, Chrome shell+Webkit kernels, these browsers are except usingOutside the browser of Trident kernels, ActiveX plug-in part technologies are not supported, and browser starts the weight of application program beforeWant mode to pass through ActiveX plug-in units to carry out, for this reason, it may be necessary to which one to all general startups of a variety of browsers and kernelTechnology.
The content of the invention
The purpose of the present invention is that there is provided a kind of side for starting application program by browser in view of the shortcomings of the prior artMethod.
The technical solution adopted for the present invention to solve the technical problems comprises the following steps:
Step (1), Web and act on behalf of startup program same key is used in code, be designated as KEY, Web generates an energyThe URL of complete start-up parameter is accessed, URL-1 is designated as, URL-1 is used into DES algorithms, encrypts, obtains using KEY as keyEncrypted result is designated as DES-1, URL-1 then is calculated into summary using MD5 algorithms, summary result is designated as MD5-1, encrypted resultDES-1 and summary result MD5-1, which merge, obtains a new character string, and the character string is designated as the linked contents of custom protocolHREF-1, custom protocol head+HREF-1 are the chained address shown in webpage.
Described encrypted result DES-1 and summary result MD5-1 merging mode merge including MD5+DES modes, DES+MD5 modes or the mode staggeredly merged.
Described custom protocol head is the call format of custom protocol, shape such as " vizpower:// " be exactly one fromProtocol header is defined, the link started with the character string can be considered custom protocol by browser, and call corresponding application journeySequence, that is, call and act on behalf of startup program.
After step (2), user click on the chained address of the custom protocol on its browser, browser can use linkContent HREF-1 acts on behalf of startup program as what parameter started that the custom protocol specifies, and acting on behalf of the parameter of startup program acquisition isShape such as " vizpower:// 1234AABB ... " content, content-data is removed after custom protocol head, is retained in step (1)Linked contents HREF-1, linked contents HREF-1 is divided into MD5-2 and DES-2, DES-2 is decrypted using DES algorithms, decryptAs a result URL-2 is designated as, the summary that MD5 calculates decrypted result URL-2 is reused, obtains MD5-3, MD5-3 and MD5-2 is comparedCompared with if comparative result is equal, then it is assumed that URL-2 is correct, URL-2 addresses are then accessed, so as to obtain the tool for starting application programBody parameter.
Described linked contents HREF-1 partitioning scheme is the reverse operation of the merging in step 1.
Step (3), include the Json forms or ini forms of text by the URL-2 parameter formats got, convenient agencyStartup program reads parameters content, acts on behalf of startup program and is parsed and got in corresponding parameter using corresponding parsing storehouseHold, start application program.
The present invention has the beneficial effect that:
The custom protocol standard that the present invention is provided by Windows systems, starts one by simple URL parameterStartup program is acted on behalf of, startup program is acted on behalf of and gets detailed and complete start-up parameter to website by simple URL parameter, mostAfter start application program.The innovative point of the present invention is not transmit start-up parameter directly, by way of transmitting URL, has been got around certainlyThe maximum parameter that defining agreement allows is limited, and makes this method completely general under various demands.
Embodiment
The invention will be further described below.
A kind of method for starting application program by browser, specifically includes following steps:
Step (1), Web and act on behalf of startup program same key is used in code, be designated as KEY, Web generates an energyThe URL of complete start-up parameter is accessed, URL-1 is designated as, URL-1 is used into DES algorithms, encrypts, obtains using KEY as keyEncrypted result is designated as DES-1, URL-1 then is calculated into summary using MD5 algorithms, summary result is designated as MD5-1, encrypted resultDES-1 and summary result MD5-1, which merge, obtains a new character string, and the character string is designated as the linked contents of custom protocolHREF-1, custom protocol head+HREF-1 are the chained address shown in webpage.
Described encrypted result DES-1 and summary result MD5-1 merging mode merge including MD5+DES modes, DES+MD5 modes or the mode staggeredly merged.
Described custom protocol head is the call format of custom protocol, shape such as " vizpower:// " be exactly one fromProtocol header is defined, the link started with the character string can be considered custom protocol by browser, and call corresponding application journeySequence, that is, call and act on behalf of startup program.
After step (2), user click on the chained address of the custom protocol on its browser, browser can use linkContent HREF-1 acts on behalf of startup program as what parameter started that the custom protocol specifies, and acting on behalf of the parameter of startup program acquisition isShape such as " vizpower:// 1234AABB ... " content, content-data is removed after custom protocol head, is retained in step (1)Linked contents HREF-1, linked contents HREF-1 is divided into MD5-2 and DES-2, DES-2 is decrypted using DES algorithms, decryptAs a result URL-2 is designated as, the summary that MD5 calculates decrypted result URL-2 is reused, obtains MD5-3, MD5-3 and MD5-2 is comparedCompared with if comparative result is equal, then it is assumed that URL-2 is correct, URL-2 addresses are then accessed, so as to obtain the tool for starting application programBody parameter.
Described linked contents HREF-1 partitioning scheme is the reverse operation of the merging in step 1.
Step (3), include the Json forms or ini forms of text by the URL-2 parameter formats got, convenient agencyStartup program reads parameters content, acts on behalf of startup program and is parsed and got in corresponding parameter using corresponding parsing storehouseHold, start application program.

Claims (4)

After step (2), user click on the chained address of the custom protocol on its browser, browser can use linked contentsHREF-1 starts the content of parameter acted on behalf of startup program, act on behalf of startup program acquisition that the custom protocol is specified as parameter,Content-data is removed after custom protocol head, retains the linked contents HREF-1 in step (1), linked contents HREF-1 is dividedMD5-2 and DES-2 are segmented into, DES-2 is decrypted using DES algorithms, and decrypted result is designated as URL-2, reuse MD5 and calculate decrypted resultURL-2 summary, obtains MD5-3, and MD5-3 is compared with MD5-2, if comparative result is equal, then it is assumed that URL-2 is correct,Then URL-2 addresses are accessed, so as to obtain the design parameter for starting application program;
CN201510103090.1A2015-03-092015-03-09A kind of method for starting application program by browserActiveCN104679564B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201510103090.1ACN104679564B (en)2015-03-092015-03-09A kind of method for starting application program by browser

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201510103090.1ACN104679564B (en)2015-03-092015-03-09A kind of method for starting application program by browser

Publications (2)

Publication NumberPublication Date
CN104679564A CN104679564A (en)2015-06-03
CN104679564Btrue CN104679564B (en)2017-09-26

Family

ID=53314661

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201510103090.1AActiveCN104679564B (en)2015-03-092015-03-09A kind of method for starting application program by browser

Country Status (1)

CountryLink
CN (1)CN104679564B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105516208B (en)*2016-01-282018-09-28邱铭钗A kind of WEB web site url dynamic hidden methods effectivelying prevent network attack
CN108111565B (en)*2016-11-252020-08-04腾讯科技(深圳)有限公司Message transmission method and device
CN107257372B (en)*2017-06-142020-04-17广东省电子商务认证有限公司Method for supporting communication between multiple browsers and local application program
CN107483177B (en)*2017-07-072020-10-23苏州浪潮智能科技有限公司Method and system for verifying authenticity of encrypted data of encryption equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1416091A (en)*2002-09-292003-05-07南京仕邦软件有限责任公司Application system of banking self-help service based on web and operational method
CN101924749A (en)*2010-01-282010-12-22赵路System for realizing safe network browsing and method thereof
CN102663049A (en)*2012-03-292012-09-12奇智软件(北京)有限公司Method and device for updating search engine web address library
CN104267994A (en)*2014-09-302015-01-07北京奇虎科技有限公司Application running device and terminal device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1416091A (en)*2002-09-292003-05-07南京仕邦软件有限责任公司Application system of banking self-help service based on web and operational method
CN101924749A (en)*2010-01-282010-12-22赵路System for realizing safe network browsing and method thereof
CN102663049A (en)*2012-03-292012-09-12奇智软件(北京)有限公司Method and device for updating search engine web address library
CN104267994A (en)*2014-09-302015-01-07北京奇虎科技有限公司Application running device and terminal device

Also Published As

Publication numberPublication date
CN104679564A (en)2015-06-03

Similar Documents

PublicationPublication DateTitle
CN104679564B (en)A kind of method for starting application program by browser
EP2835933A1 (en)Method, device and system for implementing media data processing
CN112653719A (en)Automobile information safety storage method and device, electronic equipment and storage medium
CN107425957A (en)A kind of cryptographic attack method, apparatus and isomery accelerate platform
CN104217136B (en)Method and system for preventing web page text message from being captured automatically
CN113836498A (en)Webpage source code obfuscation method and device, electronic device and storage medium
KR101430840B1 (en)A method for processing a soap message within a network and a network
CN105071922A (en)Method of using cryptographic equipment by JAVASCRIPT
CN105827673B (en) A kind of anti-leech method, device and network server
KR20130072907A (en)Method and system for shortening url
Smith et al.Reinstatement of Aloe labiaflava (Asphodelaceae subfam. Alooideae), a distinctive species of maculate aloe endemic to the western Mpumalanga province of South Africa
KR102241021B1 (en)System for sso authentication service between medical chart software and web-site
EP2709307A2 (en)Methods and systems for securely accessing translation resource manager
CN104394147B (en)The method that authentication information is added in the http protocol of Android system
Becker et al.A new approach to create image control networks in ISIS
Mohajeri Moghaddam et al.Anonymizing masses: practical light-weight anonymity at the network level
KR20130096875A (en)Web communication data encryption method and current system supports web standard
KR102132385B1 (en)System and method for controlling local file based on web browser
Güldoğan LekesizFinite biorthogonal polynomials suggested by the finite orthogonal polynomials $ M_ {n}^{(p, q)}(x) $
Okunade et al.EP088/# 904 Prevalence and risk factors for cervical squamous intraepithelial lesions among HIV-infected women at a university teaching hospital in Lagos, Nigeria
Soleimany et al.Approaches and challenges of the white-box model of the block cipher schemes implementation
Møller Greve et al.Eliminating Variables in Boolean Equation Systems
Ragas RojasHistory of Pandemics in Latin America
Asyraf Asbullah et al.Rabin-$ p $ Cryptosystem: Practical and Efficient Method for Rabin based Encryption Scheme
Greenwood et al.Mesoscopic RLC Circuit and its Associated Occupation Number and Berry Phase

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
CB02Change of applicant information

Address after:The electronic commerce building, No. 118 Hangzhou West Road, Zhejiang province 310013 city 15 Floor

Applicant after:ZHEJIANG WANPENG EDUCATION SCIENCE AND TECHNOLOGY STOCK CO.,LTD.

Address before:The electronic commerce building, No. 118 Hangzhou West Road, Zhejiang province 310013 city 15 Floor

Applicant before:ZHEJIANG WANPENG NETWORK TECHNOLOGY Co.,Ltd.

CB02Change of applicant information
GR01Patent grant
GR01Patent grant
CP02Change in the address of a patent holder

Address after:310051 12 / F, building 8, No. 19, Jugong Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after:ZHEJIANG WANPENG EDUCATION SCIENCE AND TECHNOLOGY STOCK Co.,Ltd.

Address before:The electronic commerce building, No. 118 Hangzhou West Road, Zhejiang province 310013 city 15 Floor

Patentee before:ZHEJIANG WANPENG EDUCATION SCIENCE AND TECHNOLOGY STOCK Co.,Ltd.

CP02Change in the address of a patent holder
CP01Change in the name or title of a patent holder

Address after:12 / F, building 8, No. 19, Jugong Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province, 310051

Patentee after:Zhejiang Wanpeng Digital Intelligence Technology Co.,Ltd.

Address before:12 / F, building 8, No. 19, Jugong Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province, 310051

Patentee before:ZHEJIANG WANPENG EDUCATION SCIENCE AND TECHNOLOGY STOCK CO.,LTD.

CP01Change in the name or title of a patent holder

[8]ページ先頭

©2009-2025 Movatter.jp