CN110083789B - Applet page acquisition method, server, client and electronic equipment - Google Patents

Applet page acquisition method, server, client and electronic equipment Download PDF

Info

Publication number
CN110083789B
CN110083789B CN201910357563.9A CN201910357563A CN110083789B CN 110083789 B CN110083789 B CN 110083789B CN 201910357563 A CN201910357563 A CN 201910357563A CN 110083789 B CN110083789 B CN 110083789B
Authority
CN
China
Prior art keywords
page
information
client
applet
path information
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
CN201910357563.9A
Other languages
Chinese (zh)
Other versions
CN110083789A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201910357563.9A priority Critical patent/CN110083789B/en
Publication of CN110083789A publication Critical patent/CN110083789A/en
Application granted granted Critical
Publication of CN110083789B publication Critical patent/CN110083789B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • 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/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • G06F9/4484Executing subprograms

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides an applet page acquisition method, a server, a client and electronic equipment, wherein the method comprises the following steps: receiving retrieval information sent by a first client through a host program; determining page key information matched with the retrieval information, and determining page path information corresponding to the page key information according to a mapping relation; the mapping relation comprises a corresponding relation between the page key information and the page path information; and sending the page path information to the first client so that the first client acquires a page corresponding to the page path information and including the page key information. In this way, the server searches the applet page according to the search information and sends the page path information corresponding to the applet page obtained through searching to the client, so that the page content of the applet can be searched, and the search efficiency is improved.

Description

Applet page acquisition method, server, client and electronic equipment
Technical Field
The invention relates to the technical field of computers, in particular to an applet page obtaining method, a server, a client and electronic equipment.
Background
The applet is an application that can be used without downloading, and specifically, the applet is some programs that need to be attached to the host application program, and the applet is composed of pages. At present, when an applet is searched, the applet can only be searched according to the name of the applet, a user needs to accurately input the name of the applet, and then the applet search server returns a search result to a client according to the name of the applet.
In the prior art, when the small program is searched, the page content of the small program cannot be searched, for example: when the used cars of the brand A are directly searched, the pages of the used cars of the brand A, which are included by the used car applets, cannot be searched, so that the searching efficiency is low, and the user experience is poor.
Disclosure of Invention
The embodiment of the invention provides an applet page acquisition method, a server, a client and electronic equipment, and aims to solve the problem of low retrieval efficiency caused by the fact that the page content of an applet cannot be retrieved at present.
In a first aspect, an embodiment of the present invention provides an applet page obtaining method, applied to a server, including:
receiving retrieval information sent by a first client through a host program;
Determining page key information matched with the retrieval information, and determining page path information corresponding to the page key information according to a mapping relation; the mapping relation comprises a corresponding relation between the page key information and the page path information;
and sending the page path information to the first client so that the first client acquires a page corresponding to the page path information and including the page key information.
In a second aspect, an embodiment of the present invention provides an applet page obtaining method, applied to a first client, including:
sending retrieval information to a server through a host program;
receiving page path information which is sent by the server and determined according to the retrieval information;
and acquiring a page corresponding to the page path information.
In a third aspect, an embodiment of the present invention provides a server, including:
the receiving module is used for receiving retrieval information sent by the first client through the host program;
the determining module is used for determining the page key information matched with the retrieval information and determining page path information corresponding to the page key information according to the mapping relation; the mapping relation comprises a corresponding relation between the page key information and the page path information;
And the sending module is used for sending the page path information to the first client so that the first client obtains a page corresponding to the page path information and including the page key information.
In a fourth aspect, an embodiment of the present invention provides a server, including:
the receiving module is used for receiving retrieval information sent by the first client through the host program;
the determining module is used for determining the page key information matched with the retrieval information and determining page path information corresponding to the page key information according to the mapping relation; the mapping relation comprises a corresponding relation between the page key information and the page path information;
and the sending module is used for sending the page path information to the first client so that the first client obtains a page corresponding to the page path information and including the page key information.
In a fifth aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the applet page acquisition method according to the first aspect or the second aspect.
In a sixth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the applet page acquisition method according to the first aspect or the second aspect.
In the embodiment of the invention, retrieval information sent by a first client through a host program is received; determining page key information matched with the retrieval information, and determining page path information corresponding to the page key information according to a mapping relation; the mapping relation comprises a corresponding relation between the page key information and the page path information; and sending the page path information to the first client so that the first client acquires a page corresponding to the page path information and including the page key information. The server searches the small program page according to the search information and sends the page path information corresponding to the small program page obtained through searching to the client, so that the page content of the small program is searched, and the search efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic flowchart of an applet page acquisition method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of obtaining a mapping relationship according to an embodiment of the present invention;
fig. 3 is another schematic flow chart of a method for acquiring an applet page according to an embodiment of the present invention;
fig. 3a is a schematic flowchart of another method for acquiring an applet page according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a client according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of an applet page obtaining method provided in an embodiment of the present invention, and as shown in fig. 1, the present invention provides an applet page obtaining method applied to a server, where the method includes the following steps:
Step 101, receiving retrieval information sent by a first client through a host program.
In particular, an applet comprises one or more pages, i.e. pages of the applet. The applet is a program attached to the host program, and when the applet is searched, the applet is searched through a search function of the host program, for example, the applet is searched by inputting an applet name in an information receiving entry of the host program, where the information receiving entry may be a search box for receiving text information or picture information or a voice receiving module for receiving voice information.
In this step, the server receives retrieval information sent by the first client through the host program, and the retrieval information is information that the user needs to retrieve and can be understood as a retrieval key.
The first client may be a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
Step 102, determining page key information matched with the retrieval information, and determining page path information corresponding to the page key information according to a mapping relation; the mapping relation comprises the corresponding relation between the page key information and the page path information.
In the step, according to the retrieval information, determining the page key information matched with the retrieval information in the mapping relation. The mapping relation is the corresponding relation between the first page key information of the small program page and the first page path information of the small program page. For convenience of description, page key information of an applet page is referred to as first page key information, and page path information corresponding to the first page key information is referred to as first page path information. And calling the page key information matched with the retrieval information as target page key information, and calling the page path information corresponding to the target page key information as the target page key information.
Therefore, in this step, the mapping relationship includes a corresponding relationship between the page key information and the page path information, which can be understood as that the mapping relationship includes a corresponding relationship between the target page key information and the target page path information.
After the server acquires the retrieval information, the retrieval information is matched with the first page key information in the mapping relation to acquire target page key information, and target page path information corresponding to the target page key information is acquired.
Step 103, sending the page path information to the first client, so that the first client obtains a page corresponding to the page path information and including the page key information.
In this embodiment, the server sends the page path information (i.e., the target page path information) to the first client, and the first client may obtain a corresponding page according to the page path information, where the page includes the page key information. When the first client side searches the page content of the applet, the applet does not need to be opened first and the search is carried out in the applet, but the page content of the applet can be directly searched in the host program, so that the arrival path of a user when the user searches the applet content or service can be effectively shortened, and the search efficiency is improved.
The method provided by the embodiment receives retrieval information sent by a first client through a host program; determining page key information matched with the retrieval information, and determining page path information corresponding to the page key information according to a mapping relation; the mapping relation comprises a corresponding relation between the page key information and the page path information; and sending the page path information to the first client so that the first client acquires a page corresponding to the page path information and including the page key information. In this way, the server searches the applet page according to the search information and sends the page path information corresponding to the applet page obtained through searching to the client, so that the page content of the applet can be searched, and the search efficiency is improved.
When the server acquires the page path information according to the retrieval information, a mapping relation needs to be used, and the mapping relation can be constructed by the server applying the applet page acquisition method and can also be determined by other servers, which is not limited herein.
In an embodiment of the present invention, as shown in fig. 2, the mapping relationship obtaining process includes:
step 201, obtaining storage position information of a page and a snapshot of the page.
The page content of the small program is generated by filling static pages and dynamic data, and the pages subjected to data filling can be obtained based on the active access behavior of a user. A snapshot of a page is a snapshot of a page that has been data-populated based on user access.
Specifically, the obtaining the storage location of the page and the snapshot of the page includes:
and receiving a storage position of the page and a snapshot of the page sent by a second client, wherein the storage position of the page and the snapshot of the page are obtained when the second client obtains the page according to query information.
The second client may be a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
The first client and the second client may be the same or different, and are not limited herein.
And the second client accesses the page of the applet according to the query information, and in this case, the second client needs to open the applet first and input the query information in the applet to obtain the page of the applet obtained according to the query information.
The second client records the storage position (path) and query information (query) of the page based on the access of the user, and carries out snapshot processing on the content of the page; and then, returning the storage position of the applet page and the snapshot of the page to a first service end (the first server is a server for constructing a mapping relation) for storage, and simultaneously returning the query information to the first server.
Step 202, obtaining the page key information of the page according to the snapshot of the page.
The first server processes the snapshot of the page (i.e. the html content snapshot of the page), and may perform off-line processing or on-line processing, so as to extract a search keyword (the search keyword may be understood as page key information) from the snapshot of the page. The page key information may include a plurality of keywords and/or keywords, which are not limited herein.
Step 203, generating page path information including the storage position information of the page.
And after the first server acquires the storage position information of the page, generating page path information according to the storage position information. Or generating page path information according to the storage position information of the page and the query information when the query information is obtained, wherein the page path information is also called an applet opening protocol. The applet open protocol is similar to a Uniform Resource Locator (URL), and the rule is: { protocol header }/{ applet host identity }// { applet appkey }/{ applet page path }, for example: the baiuboxapp:// swan/appkey/pathquery is a piece of page path information.
And 204, determining the corresponding relation between the page key information and the page path information.
And recording the corresponding relation between the retrieval key words and the generated applet opening protocol, namely determining the corresponding relation between the page key information and the page path information. And the first server pours the corresponding relation into a retrieval service database, so that the server applying the applet page acquisition method can search in the retrieval database according to the retrieval information after acquiring the retrieval information, and return the applet opening protocol of the page corresponding to the retrieved retrieval key word to the first client.
In this embodiment, the establishment of the correspondence between the applet page content (specifically, the page key information) and the applet opening protocol may be completed by using the access behavior of the user to the applet page.
In the embodiment, when the mapping relation is determined, the storage position information of the page and the snapshot of the page are acquired; acquiring page key information of the page according to the snapshot of the page; generating page path information including storage location information of the page; and determining the corresponding relation between the page key information and the page path information. By establishing the corresponding relation between the page key information and the page path information, the server searches the page of the applet according to the search information, the search information is matched with the page key information, and the page path information corresponding to the page key information obtained through matching is sent to the client, so that the page content of the applet is searched, and the search efficiency is improved.
Referring to fig. 3, fig. 3 is a flowchart of an applet page obtaining method provided in an embodiment of the present invention, and as shown in fig. 3, the present invention provides an applet page obtaining method applied to a first client, where the method includes the following steps:
Step 301, sending the search information to the server through the host program.
In particular, an applet comprises one or more pages, i.e. pages of the applet. The applet is a program attached to the host program, and when the applet is searched, the applet is searched by a search function of the host program, for example, by inputting an applet name in an information receiving entry of the host program. The information receiving entrance can be a search box for receiving text information or picture information, and can also be a voice receiving module for receiving voice information. In this step, the first client installs the host program, and sends the retrieval information to the server through the host program. The retrieval information is information that the user needs to retrieve and can be understood as a retrieval keyword.
The first client may be a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
In another embodiment of the present invention, before step 301, the method further includes: receiving the retrieval information input by a user through an information receiving inlet of the host program; or receiving the retrieval information input by the user through an information receiving entrance of an applet in the host program.
The user can input the search information in the information receiving entry of the host program, and can also input the search information in the information receiving entry of the applet of the host program. Because the small program consists of pages, one page of the small program can be displayed after the small program is opened, and the information receiving inlet of the small program can be understood as the information receiving inlet of the page of the small program.
Step 302, receiving the page path information which is sent by the server and determined according to the retrieval information.
And after receiving the retrieval information, the server determines page key information matched with the retrieval information in the mapping relation according to the retrieval information. The mapping relation is the corresponding relation between the first page key information of the small program page and the first page path information of the small program page. For convenience of description, page key information of an applet page is referred to as first page key information, and page path information corresponding to the first page key information is referred to as first page path information. And calling the page key information matched with the retrieval information as target page key information, and calling the page path information corresponding to the target page key information as the target page key information.
The mapping relationship includes a corresponding relationship between the page key information and the page path information, and may be understood as a corresponding relationship between the target page key information and the target page path information.
After the server acquires the retrieval information, the retrieval information is matched with the first page key information in the mapping relation to acquire target page key information, and target page path information corresponding to the target page key information is acquired.
The page path information determined according to the retrieval information can be understood as target page path information determined according to the retrieval information.
And step 303, acquiring a page corresponding to the page path information.
The first client side can access according to the page path information to obtain a corresponding page, and the page comprises page key information. When the first client side searches the page content of the small program, the small program does not need to be opened first, the search is carried out in the small program, the page content of the small program can be directly searched in the host program, and the search efficiency is improved.
In this embodiment, the retrieval information is sent to the server through the host program; receiving page path information which is sent by the server and determined according to the retrieval information; and acquiring a page corresponding to the page path information. The first client side obtains the page of the applet according to the retrieval information, so that the purpose of retrieving the page content of the applet is achieved, and the retrieval efficiency is improved.
In an embodiment of the present invention, as shown in fig. 3a, the applet page acquiring method includes the following steps:
and 11, recording the mapping relation between the small program page storage path and the content by the server based on user access.
And the client records the page path and the query based on the access record of the user, and carries out snapshot processing on the page content html.
The client returns the applet page path, query information and page html snapshot to the server, so that the server stores and records the mapping relation between the applet page storage path and the content.
And step 22, calculating and generating a mapping relation between the applet content and the applet opening protocol (which can be understood as page path information) by the server side offline (or online, which is not limited herein).
The server side extracts retrieval keywords (which can be understood as page key information) by processing the html content snapshot in an off-line manner;
and generating a mapping relation between the applet opening protocol and the retrieval key words according to the page path and the query information recorded in the step one. The applet opening protocol is similar to a generic url with the rules: { protocol header }/{ applet host identity }// { applet appkey }/{ applet page path }, for example: baidauboxapp:// swan/appkey/pathquery;
Filling the mapping relation into a retrieval service database;
step 33, the server returns the applet opening protocol (retrieve applet content page) to the first client according to the search term (which can be understood as search information).
The applet searching service searches in the searching database according to the content input by the user and returns the applet opening protocol of the page corresponding to the searched content to the first client.
And 44, the first client jumps to the specified content page according to the applet page opening protocol.
The method for acquiring the applet page in the embodiment can be used for retrieving the content of the applet page, and the establishment of the mapping relation between the content of the applet and the applet page opening protocol is completed by using the behavior of the user page access, so that the path of arrival when the user retrieves the content or service of the applet can be effectively shortened, and the experience of the user in retrieving the applet page is improved.
Referring to fig. 4, fig. 4 is a block diagram of a server according to an embodiment of the present invention, and as shown in fig. 4, the server 400 includes:
a receiving module 401, configured to receive retrieval information sent by a first client through a host program;
a determining module 402, configured to determine page key information matched with the search information, and determine page path information corresponding to the page key information according to a mapping relationship; the mapping relation comprises a corresponding relation between the page key information and the page path information;
A sending module 403, configured to send the page path information to the first client, so that the first client obtains a page that includes the page key information and corresponds to the page path information.
Further, the mapping relationship obtaining process includes:
acquiring storage position information of a page and a snapshot of the page;
acquiring page key information of the page according to the snapshot of the page;
generating page path information including storage location information of the page;
and determining the corresponding relation between the page key information and the page path information.
Further, the obtaining the storage location of the page and the snapshot of the page includes:
and receiving a storage position of the page and a snapshot of the page sent by a second client, wherein the storage position of the page and the snapshot of the page are obtained when the second client obtains the page according to query information.
The server 400 provided in the embodiment of the present invention can implement each process implemented by the server in the method embodiment shown in fig. 1, and is not described herein again to avoid repetition.
The server 400 of this embodiment receives the retrieval information sent by the first client through the host program; determining page key information matched with the retrieval information, and determining page path information corresponding to the page key information according to a mapping relation; the mapping relation comprises a corresponding relation between the page key information and the page path information; and sending the page path information to the first client so that the first client acquires a page corresponding to the page path information and including the page key information. In this way, the server searches the applet page according to the search information and sends the page path information corresponding to the applet page obtained through searching to the client, so that the page content of the applet can be searched, and the search efficiency is improved.
Referring to fig. 5, fig. 5 is a structural diagram of a client according to an embodiment of the present invention, and as shown in fig. 5, a client 500, where the client 500 is a first client, includes:
a sending module 501, configured to send search information to a server through a host program;
a receiving module 502, configured to receive page path information sent by the server and determined according to the retrieval information;
An obtaining module 503, configured to obtain a page corresponding to the page path information.
Further, the client 500 further includes: a retrieval information receiving module for:
receiving the retrieval information input by a user through an information receiving inlet of the host program;
alternatively, the first and second electrodes may be,
and receiving the retrieval information input by a user through an information receiving inlet of an applet in the host program.
The client 500 in this embodiment sends retrieval information to the server through the host program; receiving page path information which is sent by the server and determined according to the retrieval information; and acquiring a page corresponding to the page path information. The first client side obtains the page of the applet according to the retrieval information, so that the purpose of retrieving the page content of the applet is achieved, and the retrieval efficiency is improved.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 6, the electronic device 600 includes: a processor 601, a memory 602, and a computer program stored on and executable on said memory 602, the various components in the electronic device 600 being coupled together by a bus system 603. It will be appreciated that the bus system 603 is used to enable communications for connections between these components.
In an embodiment of the present invention, the processor 601 is configured to receive retrieval information sent by the first client through the host program;
determining page key information matched with the retrieval information, and determining page path information corresponding to the page key information according to a mapping relation; the mapping relation comprises a corresponding relation between the page key information and the page path information;
and sending the page path information to the first client so that the first client acquires a page corresponding to the page path information and including the page key information.
Further, the mapping relationship obtaining process includes:
acquiring storage position information of a page and a snapshot of the page;
acquiring page key information of the page according to the snapshot of the page;
generating page path information including storage location information of the page;
and determining the corresponding relation between the page key information and the page path information.
Further, the obtaining the storage location of the page and the snapshot of the page includes:
and receiving a storage position of the page and a snapshot of the page sent by a second client, wherein the storage position of the page and the snapshot of the page are obtained when the second client obtains the page according to query information.
The electronic device 600 can implement the processes implemented by the server in the foregoing embodiments, and details are not described here to avoid repetition.
The electronic device 600 of the embodiment of the present invention receives retrieval information sent by a first client through a host program; determining page key information matched with the retrieval information, and determining page path information corresponding to the page key information according to a mapping relation; the mapping relation comprises a corresponding relation between the page key information and the page path information; and sending the page path information to the first client so that the first client acquires a page corresponding to the page path information and including the page key information. In this way, the server searches the applet page according to the search information and sends the page path information corresponding to the applet page obtained through searching to the client, so that the page content of the applet can be searched, and the search efficiency is improved.
In another embodiment of the present invention, the processor 601 is configured to send the retrieval information to the server through the host program;
receiving page path information which is sent by the server and determined according to the retrieval information;
And acquiring a page corresponding to the page path information.
Further, the processor 601 is further configured to receive the search information input by a user through an information receiving portal of the host program;
alternatively, the first and second electrodes may be,
and receiving the retrieval information input by a user through an information receiving inlet of an applet in the host program.
The electronic device 600 can implement the processes implemented by the first client in the foregoing embodiments, and details are not repeated here to avoid repetition.
The electronic device 600 of the embodiment of the present invention sends the search information to the server through the host program; receiving page path information which is sent by the server and determined according to the retrieval information; and acquiring a page corresponding to the page path information. The first client side obtains the page of the applet according to the retrieval information, so that the purpose of retrieving the page content of the applet is achieved, and the retrieval efficiency is improved.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned applet page obtaining method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. An applet page acquisition method applied to a server is characterized by comprising the following steps:
receiving retrieval information sent by a first client through a host program;
determining page key information matched with the retrieval information, and determining page path information corresponding to the page key information according to a mapping relation; the mapping relation comprises a corresponding relation between the page key information and the page path information;
sending the page path information to the first client, so that the first client acquires a page which corresponds to the page path information and comprises the page key information;
the mapping relation obtaining process comprises the following steps:
acquiring storage position information of a page and a snapshot of the page;
acquiring page key information of the page according to the snapshot of the page;
Generating page path information including storage location information of the page;
and determining the corresponding relation between the page key information and the page path information.
2. The method of claim 1, wherein obtaining the storage location of the page and the snapshot of the page comprises:
receiving a storage position of the page and a snapshot of the page sent by a second client, wherein the storage position of the page and the snapshot of the page are obtained when the second client obtains the page according to query information;
the first client and the second client are the same client, or the first client and the second client are different clients.
3. An applet page acquisition method applied to a first client is characterized by comprising the following steps:
sending retrieval information to a server through a host program;
receiving page path information which is sent by the server and determined according to the retrieval information;
acquiring a page corresponding to the page path information;
the page path information is page key information matched with the retrieval information determined by the server, and the page path information corresponding to the page key information is determined according to a mapping relation; the mapping relation comprises a corresponding relation between the page key information and the page path information;
The mapping relation is that the server acquires storage position information of a page and a snapshot of the page; acquiring page key information of the page according to the snapshot of the page; generating page path information including storage location information of the page; and determining the corresponding relation between the page key information and the page path information.
4. The method of claim 3, prior to sending the retrieved information to the server via the host program, further comprising:
receiving the retrieval information input by a user through an information receiving inlet of the host program;
alternatively, the first and second electrodes may be,
and receiving the retrieval information input by a user through an information receiving inlet of an applet in the host program.
5. A server, comprising:
the receiving module is used for receiving retrieval information sent by the first client through the host program;
the determining module is used for determining the page key information matched with the retrieval information and determining page path information corresponding to the page key information according to the mapping relation; the mapping relation comprises a corresponding relation between the page key information and the page path information;
A sending module, configured to send the page path information to the first client, so that the first client obtains a page that includes the page key information and corresponds to the page path information;
the mapping relation obtaining process comprises the following steps:
acquiring storage position information of a page and a snapshot of the page;
acquiring page key information of the page according to the snapshot of the page;
generating page path information including storage location information of the page;
and determining the corresponding relation between the page key information and the page path information.
6. The server according to claim 5, wherein the obtaining the storage location of the page and the snapshot of the page comprises:
receiving a storage position of the page and a snapshot of the page sent by a second client, wherein the storage position of the page and the snapshot of the page are obtained when the second client obtains the page according to query information;
the first client and the second client are the same client, or the first client and the second client are different clients.
7. A client, the client being a first client, comprising:
the sending module is used for sending retrieval information to the server through the host program;
the receiving module is used for receiving the page path information which is sent by the server and determined according to the retrieval information;
the acquisition module is used for acquiring a page corresponding to the page path information;
the page path information is page key information matched with the retrieval information determined by the server, and the page path information corresponding to the page key information is determined according to a mapping relation; the mapping relation comprises a corresponding relation between the page key information and the page path information;
the mapping relation is that the server acquires storage position information of a page and a snapshot of the page; acquiring page key information of the page according to the snapshot of the page; generating page path information including storage location information of the page; and determining the corresponding relation between the page key information and the page path information.
8. The client of claim 7, further comprising a retrieve information receiving module configured to:
Receiving the retrieval information input by a user through an information receiving inlet of the host program;
alternatively, the first and second electrodes may be,
and receiving the retrieval information input by a user through an information receiving inlet of an applet in the host program.
9. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the applet page acquisition method according to one of claims 1 to 2 or the computer program, when executed by the processor, implementing the steps of the applet page acquisition method according to one of claims 3 or 4.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the applet page acquisition method according to one of the claims 1 to 2, or which, when being executed by the processor, carries out the steps of the applet page acquisition method according to one of the claims 3 or 4.
CN201910357563.9A 2019-04-29 2019-04-29 Applet page acquisition method, server, client and electronic equipment Active CN110083789B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910357563.9A CN110083789B (en) 2019-04-29 2019-04-29 Applet page acquisition method, server, client and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910357563.9A CN110083789B (en) 2019-04-29 2019-04-29 Applet page acquisition method, server, client and electronic equipment

Publications (2)

Publication Number Publication Date
CN110083789A CN110083789A (en) 2019-08-02
CN110083789B true CN110083789B (en) 2021-08-06

Family

ID=67417840

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910357563.9A Active CN110083789B (en) 2019-04-29 2019-04-29 Applet page acquisition method, server, client and electronic equipment

Country Status (1)

Country Link
CN (1) CN110083789B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112583651B (en) * 2019-09-27 2022-08-23 腾讯科技(深圳)有限公司 Method, device and medium for testing applet communication interface
CN110990057B (en) * 2019-11-22 2023-08-01 百度在线网络技术(北京)有限公司 Method, device, equipment and medium for extracting small program subchain information
CN111026438B (en) * 2019-11-29 2023-08-04 百度在线网络技术(北京)有限公司 Method, device, equipment and medium for extracting small program package and page key information
CN111078324B (en) * 2019-12-16 2023-06-06 百度在线网络技术(北京)有限公司 Method and apparatus for prefetching page data
CN111176752B (en) * 2019-12-20 2023-05-16 汪佐怀 Method and device for embedding window applet in browser page
CN111338937B (en) * 2020-02-19 2023-06-23 百度在线网络技术(北京)有限公司 Method, device, equipment and medium for downloading small program intervention
CN111651141B (en) * 2020-05-25 2023-02-28 北京百度网讯科技有限公司 Method and device for showing landing page of applet, electronic equipment and storage medium
CN111782300B (en) * 2020-07-08 2022-02-08 支付宝(杭州)信息技术有限公司 Data processing method, device, equipment and system
CN112910973B (en) * 2021-01-21 2022-11-25 云账户技术(天津)有限公司 Application page selection method and device
CN114020992B (en) * 2021-11-09 2022-10-14 北京百度网讯科技有限公司 Page blocking method, device, system, client and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108334608A (en) * 2018-02-02 2018-07-27 广东欧珀移动通信有限公司 Link generation method, device, storage medium and the electronic equipment of five application page
WO2018144256A1 (en) * 2017-01-31 2018-08-09 Microsoft Technology Licensing, Llc Automated application linking
CN109308201A (en) * 2018-10-15 2019-02-05 百度在线网络技术(北京)有限公司 Method and apparatus for output information
CN109359237A (en) * 2018-09-30 2019-02-19 上海掌门科技有限公司 It is a kind of for search for boarding program method and apparatus
CN109408696A (en) * 2018-09-30 2019-03-01 上海掌门科技有限公司 It is a kind of for search for boarding program method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018144256A1 (en) * 2017-01-31 2018-08-09 Microsoft Technology Licensing, Llc Automated application linking
CN108334608A (en) * 2018-02-02 2018-07-27 广东欧珀移动通信有限公司 Link generation method, device, storage medium and the electronic equipment of five application page
CN109359237A (en) * 2018-09-30 2019-02-19 上海掌门科技有限公司 It is a kind of for search for boarding program method and apparatus
CN109408696A (en) * 2018-09-30 2019-03-01 上海掌门科技有限公司 It is a kind of for search for boarding program method and apparatus
CN109308201A (en) * 2018-10-15 2019-02-05 百度在线网络技术(北京)有限公司 Method and apparatus for output information

Also Published As

Publication number Publication date
CN110083789A (en) 2019-08-02

Similar Documents

Publication Publication Date Title
CN110083789B (en) Applet page acquisition method, server, client and electronic equipment
CN107679211B (en) Method and device for pushing information
CN108804450B (en) Information pushing method and device
CN104410546B (en) The method of testing and device of real time processing system
JP6520513B2 (en) Question and Answer Information Providing System, Information Processing Device, and Program
CN106534268B (en) Data sharing method and device
CN102333092A (en) Network user identification method and application server
CN106649446B (en) Information pushing method and device
CN113807538A (en) Federal learning method and device, electronic equipment and storage medium
CN107103014A (en) The replay method of history pushed information, device and system
CN112954043B (en) Method for identifying user based on website access log and computer equipment
CN107748772B (en) Trademark identification method and device
CN106202440B (en) Data processing method, device and equipment
WO2008096992A1 (en) System and method for providing search service by keywords
CN110209804B (en) Target corpus determining method and device, storage medium and electronic device
CN116431912A (en) User portrait pushing method and device
CN110866196A (en) Printer network information acquisition method and device and electronic equipment
US8909795B2 (en) Method for determining validity of command and system thereof
CN113076760B (en) Translation and commodity retrieval method and device, electronic equipment and computer storage medium
CN111190964B (en) Data docking method, device, equipment and storage medium
CN112784032A (en) Conversation corpus recommendation evaluation method and device, storage medium and electronic equipment
CN113674083A (en) Internet financial platform credit risk monitoring method, device and computer system
CN106156298A (en) The method and device of the page is moved in a kind of website that generates
CN109086428B (en) Forwarding information access frequency counting method and device
CN113824644A (en) Method, device and equipment for identifying HTTPS (hypertext transfer protocol secure) service content

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
GR01 Patent grant
GR01 Patent grant