CN113268277A - Web-based client access method and terminal equipment - Google Patents

Web-based client access method and terminal equipment Download PDF

Info

Publication number
CN113268277A
CN113268277A CN202110461186.0A CN202110461186A CN113268277A CN 113268277 A CN113268277 A CN 113268277A CN 202110461186 A CN202110461186 A CN 202110461186A CN 113268277 A CN113268277 A CN 113268277A
Authority
CN
China
Prior art keywords
client
registry
path
registration
parameter
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
CN202110461186.0A
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.)
Shenzhen Genew Technologies Co Ltd
Original Assignee
Shenzhen Genew Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Genew Technologies Co Ltd filed Critical Shenzhen Genew Technologies Co Ltd
Priority to CN202110461186.0A priority Critical patent/CN113268277A/en
Publication of CN113268277A publication Critical patent/CN113268277A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a client access method based on a web and a terminal device, wherein the method comprises the following steps: obtaining an access instruction, and accessing a registry according to the access instruction; the client is accessed through a registry. The invention can directly access the client through the web page, and is convenient for users to directly use the functions or processes which the users want to use through the browser.

Description

Web-based client access method and terminal equipment
Technical Field
The invention relates to the technical field of communication, in particular to a client access method based on a web and a terminal device.
Background
In the current Windows system, programs can be divided into a web program (hereinafter referred to as a web program) of a B/S (based on a Browser/Server mode) and a Client program (hereinafter referred to as a Client program) of a C/S (based on a Client/Server mode), which are independent of each other, so that when a user faces the web program, the user only needs to open the Browser and input a webpage address to be accessed to access the Browser; when a user faces a client program, the user needs to install the client program file locally, and after the installation is finished, the specific executable file of the program is opened.
In most cases, when a user uses a web program, the user can use only one browser, but if the user wants to open a client program in the local computer, the user needs to find a corresponding client executable file in the local computer, and if a shortcut is not set, the user often has difficulty in finding the corresponding client executable file.
Accordingly, there is a need for improvements and developments in the art.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a web-based client access method and a terminal device, aiming at solving the problem that a client can be opened only when a corresponding client execution file needs to be searched.
In order to achieve the purpose, the invention adopts the following technical scheme:
a web-based client access method, the method comprising:
obtaining an access instruction, and accessing a registry according to the access instruction;
the client is accessed through a registry.
Accessing the registry according to the access instruction specifically includes:
and accessing a corresponding registration item in the registry according to a label in the access instruction, wherein the label comprises an item value and a parameter item.
The accessing the client through the registry specifically includes:
acquiring a starting program path and a parameter calling path of a client from a registration item of the registry;
and accessing the client according to the starting program path and the parameter calling path.
The accessing the client according to the starting program path and the parameter calling path specifically comprises:
calling a starting program of the client according to the starting program path, and opening the client;
and calling corresponding parameters according to the parameter calling path, and accessing a corresponding interface of the client through the parameters, wherein the parameters are access parameters of a page corresponding to the client.
Before the calling the corresponding parameter according to the parameter calling path, the method further includes:
and creating a parameter file according to the corresponding client interface, and storing the corresponding parameters into the parameter file.
Before the obtaining the access instruction, the method further comprises:
and adding a registration item in the registry, wherein the registration item is provided with a registration item value which is hyperlinked with the label, and a client starting path and a parameter calling path are also stored in the registration item.
Adding a registration item in the registry specifically includes:
creating a registration script text, and storing a registration item value, a starting program path and a parameter calling path in the registration script text;
and converting the registration script text into a registration script file, and adding the registration script file into a registry as a registration item.
Before the obtaining of the access instruction, the method further comprises:
and hyperlink the label with the registration item value of the registry.
The present invention also provides a computer readable storage medium storing a web-based client access program for execution by a processor to implement the steps in the web-based client access method as described above.
The present invention also provides a terminal device, including: a processor and memory and a communication bus; the memory has stored thereon a computer readable program executable by the processor;
the communication bus realizes communication connection between the processor and the memory;
the processor, when executing the computer readable program, implements the steps in the web-based client access method as described above.
Has the advantages that: compared with the prior art, the invention provides a client access method based on a web and a terminal device, wherein the method comprises the following steps: obtaining an access instruction, and accessing a registry according to the access instruction; the client is accessed through a registry. The invention can directly access the client through the web page, and is convenient for users to directly use the functions or processes which the users want to use through the browser.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of a web-based client access method provided by the present invention;
FIG. 2 is a flowchart of the S100 step of the web-based client access method provided by the present invention;
FIG. 3 is a flowchart of the step S200 of the web-based client access method provided by the present invention;
FIG. 4 is a flowchart of step S220 of the web-based client access method provided by the present invention;
FIG. 5 is a flowchart illustrating steps S10-S30 of the web-based client access method provided by the present invention;
FIG. 6 is a flowchart of the step S20 of the web-based client access method provided by the present invention
Fig. 7 is a schematic structural diagram of a terminal device provided in the present invention.
Detailed Description
The invention provides a client access method and terminal equipment based on a web, and in order to make the purpose, technical scheme and effect of the invention clearer and clearer, the invention is further described in detail below by referring to the attached drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The invention will be further explained by the description of the embodiments with reference to the drawings.
Referring to fig. 1, the present embodiment provides a web-based client access method, which includes:
s100, obtaining an access instruction, and accessing a registry according to the access instruction.
And S200, accessing the client through the registry.
In a specific implementation, in an optional application scenario, when a user needs to start a corresponding client through a web page, an access instruction is input to the web page in a browser, after the browser receives the access instruction, a registry is accessed through the access instruction, a client start program is called through the registry, and then the access to the client is realized, so that the user can start the client in the browser, and the user can use a function or a flow which the user wants to use directly through the browser.
For example, referring to fig. 2, the step S100 specifically includes:
and S110, accessing the corresponding registration item in the registry according to the label in the access instruction.
In specific implementation, in this embodiment, the access instruction is input through a corresponding option, a virtual button, and the like in the web page, and after receiving the access instruction, the browser accesses the corresponding entry in the registry according to the tag in the access instruction, thereby implementing a jump from the browser to the registry. Specifically, the corresponding registry key is opened by a window.
Optionally, the tag includes an item value and a parameter item, and the format of the tag is "item value: parameter", where the item value corresponds to a registration item value in a custom Windows system registry, and the two values are consistent; the parameters can be customized according to the client interface to be accessed, and user names, passwords and other character strings of client programs can be added.
For example, referring to fig. 3, the step S200 specifically includes:
s210, acquiring a starting program path and a parameter calling path of the client from the registration items of the registry.
And S220, accessing the client according to the starting program path and the parameter calling path.
In specific implementation, in this embodiment, after accessing the registry from the browser, the corresponding registry is located according to the tag, and the startup program path and the parameter call path of the client are obtained from the registry, so that the corresponding startup program and the corresponding parameter are used to access the client.
For example, referring to fig. 4, the step S220 specifically includes:
s221, calling a starting program of the client according to the starting program path, and opening the client.
S222, calling corresponding parameters according to the parameter calling path, and accessing a corresponding interface of the client through the parameters, wherein the parameters are access parameters of a page corresponding to the client.
In specific implementation, in this embodiment, after the startup program path of the corresponding client is obtained from the registry entry of the registry, the corresponding startup program is called through the startup program path, and the corresponding client is opened; and meanwhile, a parameter calling path is also acquired from a registration item of the registry, and a prestored parameter is called so as to enter a corresponding interface after the client is opened.
For example, referring to fig. 5, before S222, the method further includes:
and S10, creating a parameter file according to the corresponding client interface, and storing the corresponding parameters into the parameter file.
In specific implementation, in this embodiment, before the function of accessing the client by the web page is implemented, the corresponding login or access parameter needs to be stored in advance. Firstly, creating a parameter file, setting a corresponding file name for the parameter file, wherein the parameter file is generally a text file, and finally, storing corresponding login parameters in the parameter file. The preparation of the login parameters is realized.
Illustratively, with continuing reference to fig. 5, before S100, the method further includes:
and S20, adding a registration item in the registry.
In specific implementation, in this embodiment, since the Windows system does not have a function of accessing the client through the web page, and before this step, the registry does not have a registration item associated with the tag, it is necessary to set in advance that the corresponding registration is associated with the tag before the function of accessing the client through the web page is implemented. And the registration item is provided with a registration item value which is hyperlinked with the label, and a client starting path and a parameter calling path are also stored in the registration item.
Referring to fig. 6, for example, the S20 specifically includes:
s21, creating a registration script text, and storing the registration item value, the startup program path and the parameter calling path in the registration script text.
And S22, converting the registration script text into a registration script file, and adding the registration script file into a registry as a registration item.
In specific implementation, in this embodiment, after the parameter file is set, a registration script text, that is, a text file, is created, and a start program path, a parameter call path, and a registration item value of the client to be accessed are stored in the registration script text. The browser accesses the registration item of the registry according to the registration item value, then acquires a starting program path to search the starting program, acquires a parameter calling path to access the parameter file, and calls a parameter login client.
Illustratively, with continuing reference to fig. 5, before S100, the method further includes:
and S30, hyperlink the label and the registration item value of the registry.
In specific implementation, in this embodiment, after the parameter file and the registration script file are set, the browser is further associated with the registry. Specifically, controls such as options, virtual buttons or links are set in the browser, corresponding labels are set for the controls, the format of the labels is 'item value: parameter', and the item values of the labels are hyperlinked with the registration item values of the registry, so that when a user clicks the controls, the corresponding registration items can be accessed according to the item values of the labels.
In summary, compared with the prior art, the embodiment of the invention has the following advantages:
the invention discloses a client access method based on a web and a terminal device, wherein the method comprises the following steps: obtaining an access instruction, and accessing a registry according to the access instruction; the client is accessed through a registry. The invention can directly access the client through the web page, and is convenient for users to directly use the functions or processes which the users want to use through the browser.
The above-described web-based client access method may be implemented in the form of a computer program that can be run on a terminal device as shown in fig. 7.
Based on the above-mentioned web-based client access method, the present invention further provides a computer-readable storage medium, in which a web-based client access program is stored, and the web-based client access program is executed by a processor to implement the steps in the web-based client access method of the above-mentioned embodiment.
Based on the above-mentioned web-based client access method, the present invention further provides a terminal device, as shown in fig. 7, which includes at least one processor (processor) 20; a display screen 21; and a memory (memory)22, and may further include a communication Interface (Communications Interface)23 and a bus 24. The processor 20, the display 21, the memory 22 and the communication interface 23 can communicate with each other through the bus 24. The display screen 21 is configured to display a user guidance interface preset in the initial setting mode. The communication interface 23 may transmit information. The processor 20 may call logic instructions in the memory 22 to perform the methods in the embodiments described above.
Furthermore, the logic instructions in the memory 22 may be implemented in software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product.
The memory 22, which is a computer-readable storage medium, may be configured to store a software program, a computer-executable program, such as program instructions or modules corresponding to the methods in the embodiments of the present disclosure. The processor 20 executes the functional application and data processing, i.e. implements the method in the above-described embodiments, by executing the software program, instructions or modules stored in the memory 22.
The memory 22 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Further, the memory 22 may include a high speed random access memory and may also include a non-volatile memory. For example, a variety of media that can store program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, may also be transient storage media.
In addition, the specific processes loaded and executed by the storage medium and the instruction processors in the terminal device are described in detail in the method, and are not stated herein.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A web-based client access method, the method comprising:
obtaining an access instruction, and accessing a registry according to the access instruction;
the client is accessed through a registry.
2. The method according to claim 1, wherein accessing the registry according to the access instruction specifically comprises:
and accessing a corresponding registration item in the registry according to a label in the access instruction, wherein the label comprises an item value and a parameter item.
3. The method according to claim 1, wherein accessing the client via the registry specifically comprises:
acquiring a starting program path and a parameter calling path of a client from a registration item of the registry;
and accessing the client according to the starting program path and the parameter calling path.
4. The method according to claim 3, wherein the accessing the client according to the initiator path and the parameter call path specifically comprises:
calling a starting program of the client according to the starting program path, and opening the client;
and calling corresponding parameters according to the parameter calling path, and accessing a corresponding interface of the client through the parameters, wherein the parameters are access parameters of a page corresponding to the client.
5. The method according to claim 4, wherein before the calling the corresponding parameter according to the parameter calling path, further comprising:
and creating a parameter file according to the corresponding client interface, and storing the corresponding parameters into the parameter file.
6. The method of claim 1, wherein prior to said obtaining an access instruction, the method further comprises:
and adding a registration item in the registry, wherein the registration item is provided with a registration item value which is hyperlinked with the label, and a client starting path and a parameter calling path are also stored in the registration item.
7. The method according to claim 6, wherein the adding a registration entry in the registry specifically includes:
creating a registration script text, and storing a registration item value, a starting program path and a parameter calling path in the registration script text;
and converting the registration script text into a registration script file, and adding the registration script file into a registry as a registration item.
8. The method of claim 1, wherein before the obtaining the access instruction, further comprising:
and hyperlink the label with the registration item value of the registry.
9. A computer-readable storage medium storing a web-based client access program for execution by a processor to perform the steps of the method according to any one of claims 1 to 8.
10. A terminal device, characterized in that the terminal device comprises: a processor and memory and a communication bus; the memory has stored thereon a computer readable program executable by the processor;
the communication bus realizes communication connection between the processor and the memory;
the processor, when executing the computer readable program, performs the steps in the web-based client access method of any of claims 1-8.
CN202110461186.0A 2021-04-27 2021-04-27 Web-based client access method and terminal equipment Pending CN113268277A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110461186.0A CN113268277A (en) 2021-04-27 2021-04-27 Web-based client access method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110461186.0A CN113268277A (en) 2021-04-27 2021-04-27 Web-based client access method and terminal equipment

Publications (1)

Publication Number Publication Date
CN113268277A true CN113268277A (en) 2021-08-17

Family

ID=77229486

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110461186.0A Pending CN113268277A (en) 2021-04-27 2021-04-27 Web-based client access method and terminal equipment

Country Status (1)

Country Link
CN (1) CN113268277A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114297539A (en) * 2021-11-29 2022-04-08 山东齐鲁数通科技有限公司 Quick access method, system and terminal for third-party application
CN115080127A (en) * 2022-05-18 2022-09-20 青岛国实科技集团有限公司 Method for calling marine digital twin desktop software based on Windows system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020093532A1 (en) * 2001-01-12 2002-07-18 Stana Ronald Joseph Method and apparatus for launching computer applications
US20140324788A1 (en) * 2013-04-24 2014-10-30 Piriform Ltd. Cleaner with browser monitoring
CN109710331A (en) * 2018-12-27 2019-05-03 武汉益模科技股份有限公司 A method of calling local application from webpage
CN110096286A (en) * 2019-03-20 2019-08-06 中国石油化工股份有限公司 A kind of method of oil field Web application starting local client program
CN110309476A (en) * 2019-07-05 2019-10-08 上海中通吉网络技术有限公司 The method and device of web browser calling local application
CN112379896A (en) * 2020-11-24 2021-02-19 中教云智数字科技有限公司 Software communication interaction method based on registry and http protocol

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020093532A1 (en) * 2001-01-12 2002-07-18 Stana Ronald Joseph Method and apparatus for launching computer applications
US20140324788A1 (en) * 2013-04-24 2014-10-30 Piriform Ltd. Cleaner with browser monitoring
CN109710331A (en) * 2018-12-27 2019-05-03 武汉益模科技股份有限公司 A method of calling local application from webpage
CN110096286A (en) * 2019-03-20 2019-08-06 中国石油化工股份有限公司 A kind of method of oil field Web application starting local client program
CN110309476A (en) * 2019-07-05 2019-10-08 上海中通吉网络技术有限公司 The method and device of web browser calling local application
CN112379896A (en) * 2020-11-24 2021-02-19 中教云智数字科技有限公司 Software communication interaction method based on registry and http protocol

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114297539A (en) * 2021-11-29 2022-04-08 山东齐鲁数通科技有限公司 Quick access method, system and terminal for third-party application
CN115080127A (en) * 2022-05-18 2022-09-20 青岛国实科技集团有限公司 Method for calling marine digital twin desktop software based on Windows system

Similar Documents

Publication Publication Date Title
US10733259B2 (en) Web page access method and apparatus
WO2021139127A1 (en) Method and apparatus for running mini program, electronic device, and storage medium
CN107861713B (en) Data calling method and device and computer readable storage medium
US10110604B2 (en) Sandbox technology based webpage browsing method and device
US10185704B2 (en) Webpage browsing method, webapp framework, method and device for executing javascript and mobile terminal
US8386955B1 (en) User-optimized content for web browsing windows
US6976059B1 (en) System and method to provide applets using a server based virtual machine
WO2019072201A1 (en) Webpage content extraction method and terminal device
US9727354B2 (en) System and methods for loading an application and its modules in a client device
JP2017005756A (en) Hover to call
WO2014206113A1 (en) Window switching method and device and storage medium thereof
US20170083495A1 (en) Method for Modifying Webpage and Apparatus for Modifying Webpage
CN113268277A (en) Web-based client access method and terminal equipment
US20140317537A1 (en) Browser based application program extension method and device
WO2016011879A1 (en) Web page display method and apparatus
CN109299331B (en) Method and device for displaying hypertext markup language HTML5 page by Air
US9342386B1 (en) Messaging channel for web pages, extensions, and applications to communicate
CN111880813B (en) Method for realizing android card UI (user interface) and storage medium
US20120254712A1 (en) Map Service
US7937715B2 (en) Mechanism for generating dynamic content without a web server
US20090030908A1 (en) Centralized management type computer system
JP2002342189A (en) Bookmark frame and method of launching browser using bookmark in internet terminal
US20210232755A1 (en) Machine first approach for identifying accessibility, non-compliances, remediation techniques and fixing at run-time
US20210342522A1 (en) Dynamic accessibility compliance of a website
CN111176628B (en) Front-end access method under modular architecture and storage medium

Legal Events

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

Application publication date: 20210817