CN111367581A - Method and equipment for providing hosted program - Google Patents

Method and equipment for providing hosted program Download PDF

Info

Publication number
CN111367581A
CN111367581A CN202010130716.9A CN202010130716A CN111367581A CN 111367581 A CN111367581 A CN 111367581A CN 202010130716 A CN202010130716 A CN 202010130716A CN 111367581 A CN111367581 A CN 111367581A
Authority
CN
China
Prior art keywords
hosted
program
search
information
programs
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.)
Granted
Application number
CN202010130716.9A
Other languages
Chinese (zh)
Other versions
CN111367581B (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.)
Shanghai Shengfutong Electronic Payment Service Co ltd
Original Assignee
Shanghai Shengfutong Electronic Payment Service 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 Shanghai Shengfutong Electronic Payment Service Co ltd filed Critical Shanghai Shengfutong Electronic Payment Service Co ltd
Priority to CN202010130716.9A priority Critical patent/CN111367581B/en
Publication of CN111367581A publication Critical patent/CN111367581A/en
Application granted granted Critical
Publication of CN111367581B publication Critical patent/CN111367581B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/44568Immediately runnable code
    • 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/451Execution arrangements for user interfaces
    • 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

An object of the present application is to provide a method for providing a hosted program, the method comprising: responding to a first search operation of a first search box in a host program of a user, and sending a first search request about the hosted program to a network device corresponding to the host program; receiving search result information of one or more hosted programs returned by the network device based on the first search request; and presenting a first search result page corresponding to the first search request in a window of the host program. The description information of the hosted programs is presented through the page container, so that the user can know the functional characteristics of each hosted program more intuitively and more quickly, and the user can find the desired hosted program quickly; the code information of the hosted program is stored through the page container, and the hosted program can be directly run by directly executing the code information in the page container.

Description

Method and equipment for providing hosted program
Technical Field
The present application relates to the field of communications, and more particularly, to a technique for providing hosted programs.
Background
The boarder program is a program which depends on the host program and can be used without downloading and installing. The hosted program further expands the functionality of the host program. Typically, there will be a portal in the host program for searching hosted programs, and the user requests hosted programs associated with the search term from the server by entering the search term in the host program. The server returns list information about the hosted programs to the user device, including names, profiles, etc. of the queried hosted program or programs.
Disclosure of Invention
An object of the present application is to provide a method and apparatus for providing hosted programs.
According to an aspect of the present application, there is provided a method for providing a hosted program, applied to a user device, the method including:
responding to a first search operation of a first search box in a host program of a user, and sending a first search request about the hosted program to a network device corresponding to the host program;
receiving search result information of one or more hosted programs, returned by the network device based on the first search request, wherein the search result information corresponding to each hosted program in the one or more hosted programs includes description information of the hosted program, and the search result information corresponding to at least one hosted program in the one or more hosted programs further includes code information of the hosted program;
and presenting a first search result page corresponding to the first search request in a window of the host program, wherein the first search result page comprises one or more page containers, each page container is used for presenting description information of one of the one or more hosted programs and storing code information corresponding to the hosted program, and the code information is used for running the hosted program in the window of the host program.
According to another aspect of the present application, there is provided a method for providing a hosted program, applied to a network device, the method comprising:
receiving a first search request which is sent by a user device and is about to host a program, wherein the first search request is sent by the user device in response to a first search operation of a first search box in the host program by a user, and the first search request comprises first search information;
acquiring one or more boarder programs matched with the first search information according to the first search information query;
and sending the search result information of the one or more hosted programs to the user equipment, wherein the search result information corresponding to each hosted program in the one or more hosted programs includes description information of the hosted program, the search result information corresponding to at least one hosted program in the one or more hosted programs further includes code information of the hosted program, and the code information is used for running the hosted program in a window of the hosted program.
According to one aspect of the present application, there is provided a method for providing a hosted program, the method comprising:
the method comprises the steps that a user device sends a first search request about a hosted program to a network device corresponding to the hosted program corresponding to a first search operation of a user in a first search box of the hosted program;
the network equipment receives the first search request, wherein the first search request comprises first search information, one or more hosted programs matched with the first search information are obtained according to the first search information query, and search result information of the one or more hosted programs is sent to the user equipment;
and the user equipment receives search result information of the one or more hosted programs, and presents a first search result page corresponding to the first search request in a window of the hosted program, wherein the first search result page comprises one or more page containers, each page container is used for presenting description information of one hosted program in the one or more hosted programs and storing code information corresponding to the hosted program, and the code information is used for running the hosted program in the window of the hosted program.
According to one aspect of the present application, there is provided a user device for providing hosted programs, the device comprising:
a module, configured to send a first search request related to a hosted program to a network device corresponding to the hosted program in response to a first search operation of a first search box in the hosted program by a user;
a second module, configured to receive search result information of one or more hosted programs, where the search result information returned by the network device based on the first search request includes description information of each hosted program in the one or more hosted programs, and the search result information corresponding to at least one hosted program in the one or more hosted programs further includes code information of the hosted program;
a third module, configured to present, in a window of the host program, a first search result page corresponding to the first search request, where the first search result page includes one or more page containers, where each page container is used to present description information of one of the one or more hosted programs and store code information corresponding to the hosted program, and the code information is used to run the hosted program in the window of the host program.
According to one aspect of the present application, there is provided a network device for providing hosted programs, the device comprising:
a module, configured to receive a first search request sent by a user device regarding a hosted program, where the first search request is sent by the user device in response to a first search operation of a first search box in the hosted program by a user, and the first search request includes first search information;
a second module, configured to query and obtain one or more hosted programs matching the first search information according to the first search information;
a module two and three, configured to send search result information of the one or more hosted programs to the user equipment, where the search result information corresponding to each hosted program in the one or more hosted programs includes description information of the hosted program, the search result information corresponding to at least one hosted program in the one or more hosted programs further includes code information of the hosted program, and the code information is used to run the hosted program in a window of the hosted program.
According to one aspect of the present application, there is provided an apparatus for providing a hosted program, the apparatus comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to perform the operations of any of the methods described above.
According to another aspect of the application, there is provided a computer readable medium storing instructions that, when executed, cause a system to perform the operations of any of the methods described above.
Compared with the prior art, the first search result page corresponding to the first search request is presented through a window of a host program, wherein the first search result page comprises one or more page containers, and each page container is used for presenting the description information of one of the one or more hosted programs and storing the code information corresponding to the hosted program. The description information of one or more hosted programs is presented through one or more page containers in the first search result page, so that the user can know the functional characteristics of each hosted program more intuitively and more quickly, and the user can find the desired hosted program quickly; the code information of the hosted program is stored through the page container, the code information is used for running the hosted program in a window of the hosted program, the hosted program can be directly run by directly executing the code information in the page container, and a user can directly use the corresponding hosted program in the page container without sending a request about the code information to the network equipment.
Further, the application correspondingly moves the one or more page containers in the window of the host program by responding to the sliding operation of the user on the page container of one of the one or more page containers in the first search result page, wherein the page container is used for presenting the description information of the corresponding hosted program and storing the code information corresponding to the hosted program. The method and the device have the advantages that the user can quickly know the interface (such as the initial page of the small program) of the hosted program presented by each page container by sliding one or more page containers in the first search result page, so that the user can quickly browse interface information of a plurality of small programs, and further quickly and effectively find the desired hosted program. The problem that the functional characteristics of the hosted program can be known only after one click access experience is needed in the prior art is solved, the use efficiency is improved, and the user can conveniently inquire and use the hosted program.
Meanwhile, the target hosted program is operated in a target page container by executing target code information corresponding to the target hosted program in response to the application operation of the user on the target hosted program. The method and the device have the advantages that the user can directly use the search result information of one or more hosted programs returned by the network device based on the first search request, and a request for a certain target hosted program to send to the network device is not needed, so that the network device is requested to return the code information of the target hosted program. That is, what the network device returns to the user based on the user search request is a hosted program that is directly available. The user can use the hosted program directly through the page container.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 illustrates a system topology for providing hosted programs according to one embodiment of the present application;
FIG. 2 illustrates a flow diagram of a system method for providing a hosted program according to one embodiment of the present application;
FIG. 3 illustrates a flow diagram of a method for providing a hosted program, according to one embodiment of the present application;
FIG. 4 illustrates a flow diagram of a method for providing a hosted program, according to another embodiment of the present application;
FIG. 5 illustrates an interface change diagram of a user device according to one embodiment of the present application;
FIG. 6 illustrates an interface variation diagram of a user device according to another embodiment of the present application;
FIG. 7 illustrates an interface variation diagram of a user device according to yet another embodiment of the present application;
FIG. 8 illustrates a flow diagram of a method for providing a hosted program, according to one embodiment of the present application;
FIG. 9 illustrates a device block diagram for providing hosted programs, according to one embodiment of the present application;
FIG. 10 illustrates a device block diagram for providing hosted programs, according to another embodiment of the present application;
FIG. 11 illustrates functional modules of an exemplary system that can be used in various embodiments of the present application.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
The present application is described in further detail below with reference to the attached figures.
In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party each include one or more processors (e.g., Central Processing Units (CPUs)), input/output interfaces, network interfaces, and memory.
The Memory may include volatile Memory in a computer readable medium, Random Access Memory (RAM), and/or nonvolatile Memory such as Read Only Memory (ROM) or Flash Memory. Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, Phase-Change Memory (PCM), Programmable Random Access Memory (PRAM), Static Random-Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), electrically Erasable Programmable Read-Only Memory (EEPROM), flash Memory or other Memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device.
The device referred to in this application includes, but is not limited to, a user device, a network device, or a device formed by integrating a user device and a network device through a network. The user equipment includes, but is not limited to, any mobile electronic product, such as a smart phone, a tablet computer, etc., capable of performing human-computer interaction with a user (e.g., human-computer interaction through a touch panel), and the mobile electronic product may employ any operating system, such as an android operating system, an iOS operating system, etc. The network Device includes an electronic Device capable of automatically performing numerical calculation and information processing according to a preset or stored instruction, and the hardware includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded Device, and the like. The network device includes but is not limited to a computer, a network host, a single network server, a plurality of network server sets or a cloud of a plurality of servers; here, the Cloud is composed of a large number of computers or web servers based on Cloud Computing (Cloud Computing), which is a kind of distributed Computing, one virtual supercomputer consisting of a collection of loosely coupled computers. Including, but not limited to, the internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless Ad Hoc network (Ad Hoc network), etc. Preferably, the device may also be a program running on the user device, the network device, or a device formed by integrating the user device and the network device, the touch terminal, or the network device and the touch terminal through a network.
Of course, those skilled in the art will appreciate that the foregoing is by way of example only, and that other existing or future devices, which may be suitable for use in the present application, are also encompassed within the scope of the present application and are hereby incorporated by reference.
In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
According to one aspect of the present application, a system topology diagram for providing hosted programs is provided. Referring to fig. 1, the system includes a network device and a user device. In some embodiments, the network device includes, but is not limited to, a server (e.g., a server corresponding to the APP), and a cloud. In some embodiments, the user device includes, but is not limited to, a computing device such as a cell phone, tablet, laptop, and the like.
In some embodiments, based on the above system, the present application further discloses a method for providing a hosted program, referring to fig. 2, the method comprising the steps of:
the method comprises the steps that a user device responds to a first search operation of a first search box in a host program of a user, and sends a first search request about a hosted program to a network device corresponding to the host program;
the network equipment receives the first search request, wherein the first search request comprises first search information, one or more hosted programs matched with the first search information are obtained according to the first search information query, and search result information of the one or more hosted programs is sent to the user equipment;
and the user equipment receives search result information of the one or more hosted programs, and presents a first search result page corresponding to the first search request in a window of the hosted program, wherein the first search result page comprises one or more page containers, each page container is used for presenting description information of one hosted program in the one or more hosted programs and storing code information corresponding to the hosted program, and the code information is used for running the hosted program in the window of the hosted program.
Fig. 3 shows a flowchart of a method for providing a hosted program according to one embodiment of the application, the method comprising step S101, step S102, and step S103.
Specifically, in step S101, the user device sends a first search request about the hosted program to the network device corresponding to the hosted program in response to a first search operation of a first search box in the hosted program by the user. In some embodiments, the host program includes, but is not limited to, an application program (e.g., a social application, a payment application, a shopping application, etc.). In some embodiments, the host program is installed on the user device, wherein the user device includes, but is not limited to, a mobile phone, a tablet, a computer, and other computing devices. In some embodiments, the hosted program includes, but is not limited to, an applet, which may run on the hosted program. In some embodiments, a first search box for searching the hosted program is provided in the hosted program, for example, a user inputs a search word in the first search box, and completes the first search operation by clicking "search", thereby sending a first search request about the hosted program to the network device. In some embodiments, the network device includes, but is not limited to, a server (e.g., a server corresponding to the host program), and the server receives the first search request sent by the user device.
In step S102, the user device receives search result information of one or more hosted programs, which is returned by the network device based on the first search request, where the search result information corresponding to each hosted program in the one or more hosted programs includes description information of the hosted program, and the search result information corresponding to at least one hosted program in the one or more hosted programs further includes code information of the hosted program. In some embodiments, the network device obtains one or more hosted programs matching the first search request based on the received first search request query, and returns search result information of the one or more hosted programs to the user device. In some embodiments, the search result information of the hosted program includes at least description information of the hosted program, including but not limited to information about the hosted program's name, profile, interface home page, and the like. In some embodiments, the search result information of the hosted program also includes code information (e.g., applet code data) of the hosted program. For example, after the user device sends the first search request to the corresponding network device, the network device returns description information of one or more hosted programs and code information of at least one hosted program of the one or more hosted programs to the user device.
In step S103, the user device presents a first search result page corresponding to the first search request in a window of the host program, where the first search result page includes one or more page containers, where each page container is used to present description information of one hosted program of the one or more hosted programs and store code information corresponding to the hosted program, and the code information is used to run the hosted program in the window of the host program. In some embodiments, the user device receives search result information for one or more hosted programs returned by the network device and presents the one or more hosted programs via the first search results page. In particular, the user device presents and stores search result information for the one or more hosted programs via one or more page containers. For example, each page container in the first search results page is used to present and store search result information for a hosted program. In some embodiments, the page container is used as an object to hold packages of other objects (e.g., it is a hosted program that holds packages in this application). In some embodiments, the page container is used to present description information of the hosted program and to store code information of the hosted program. For example, code information of the corresponding hosted program is stored in each page container, and description information (such as applet home page information, or related information such as applet name, profile, etc.) of the hosted program is presented.
For example, user a has a host program w (e.g., some social application) installed in its user device. The host program w includes a first search box for searching the hosted program. The user a inputs a search word (e.g., a hot pot) in the first search box and completes a first search operation with respect to a search hosting program by clicking "search". And the user equipment responds to the first search operation and sends a first search request to the network equipment corresponding to the host program w. Further, the user device receives the search result information of the one or more hosted programs returned by the network device, and the user device presents the one or more hosted programs through the first search page. Specifically, the first search page includes one or more page containers, and each page container correspondingly displays description information of one hosted program and stores code information of the hosted program. The specific interface presentation effect can refer to the interface schematic diagrams shown in fig. 5, 6 and 7.
In some embodiments, the one or more hosted programs include a target hosted program, the code information of the target hosted program is target code information, the one or more page containers include a target page container, and the method further includes step S104 (not shown), in which, in step S104, the user device executes the target hosted program in the target page container by executing the target code information in response to an application operation of the target hosted program by the user, the target code information being stored in the target page container, the target code information being used for executing the target hosted program. In some embodiments, the page container of the user device stores the code information of the hosted program, and in response to the user operating the application of the target hosted program in the target page container selected by the user device, the user device directly executes the hosted program by executing the code information of the target hosted program. For example, referring to fig. 5, the user enters "milk tea" in the first search box, and receives one or more boarder programs related to milk tea returned by the network device. In fig. 5, the user device presents the description information of the hosted program 1 through the page container 1, and stores the code information of the hosted program 1. When a user performs an application operation on the hosted program 1 (for example, the user directly uses the hosted program 1), the user device can directly run the hosted program 1 by executing the code information of the hosted program 1 stored in the page container 1. For example, the user clicks the page of the lodging program 1 in fig. 5(a) (for example, the user clicks one milk tea shown in the top page of the lodging program), and selection information for selecting the milk tea specification as shown in fig. 5(b) pops up. The user can directly operate the hosted program through the page container without requesting code information for running the hosted program from the network device, and based on the method for presenting the description information (such as the home page information) of the hosted program through the page container, the fluency of page operation is increased, and the user experience is improved.
In some embodiments, the method further includes, before step S103, step S105 (not shown), in step S105, the user device generates a first search result page corresponding to the first search request in response to search result information of one or more hosted programs returned by the network device, where the first search result page includes one or more page containers. In some embodiments, the user device generates a corresponding first search results page in response to the network device returning search results information for one or more hosted programs. The first search result page includes one or more page containers, for example, the user device generates a page container for presenting one or more hosted programs after receiving search result information of the one or more hosted programs sent by the network device. For example, the user device receives search result information of five hosted programs (e.g., hosted program 1, hosted program 2, hosted program 3, hosted program 4, hosted program 5) sent by the network device, and generates five page containers (e.g., page container 1, page container 2, page container 3, page container 4, page container 5), each page container being used to present description information of one hosted program and store code information of at least one hosted program of the five hosted programs. For example, the network device sends the description information of the five hosted programs it searches and the code information of the hosted program 1 to the user device, and the user device stores the code information of the hosted program 1 with the page container 1 and presents the description information of the hosted program 1 with the page container 1. For another example, the network device sends the description information of the five hosted programs searched by the network device and the code information of the hosted program 1, the hosted program 2 and the hosted program 3 to the user device, and the user device stores the code information of the hosted program 1 with the page container 1; storing the code information of the hosted program 2 with a page container 2; the user page container 3 stores the code information of the hosted program 3 and uses the page container 1 to present the description information of the hosted program 1; presenting the description information of the hosted program 2 with the page container 2; the page container 3 is used to present the description information of the hosted program 3. In this embodiment, the first search result page is generated in response to search result information returned by the network device, and in some embodiments, the number of page containers generated by the user device is matched with the number of hosted programs returned by the network device, so as to avoid resource waste caused by excessive page containers being generated; in some embodiments, the number of the page containers generated by the user device is a preset percentage of the number of the hosted programs returned by the network device, for example, the network device returns 10 hosted programs, and the user device generates 5 page containers to present the corresponding hosted programs in batches, so as to save device resources of the user device.
In some embodiments, the method further includes step S106 (not shown), in step S106, the user device moves one or more page containers in the first search result page in response to a sliding operation of the user on the one of the one or more page containers in the host program, where the page container is used to present description information of a corresponding hosted program and store code information corresponding to the hosted program, and the target code information is used to run the target hosted program. In some embodiments, referring to the interface diagram shown in fig. 6(a), when the user slides page container 1 to the left, as shown in fig. 6(b), the user device correspondingly slides to the left in the window of the host program to switch to page container 2 located at the right side of page container 1. In the embodiment, the user switches different page containers by sliding one or more page containers presented in the first search result page, so that convenience is provided for the user to select different boarder programs. The user can quickly view the description information (for example, the home program home page) of the hosted program presented by different page containers through sliding switching, so as to quickly select the most desirable target hosted program. In some embodiments, the network device returns search result information of the one or more hosted programs to the user device, the user device presents description information of the one or more hosted programs through the generated page container, and stores code information of the one or more hosted programs. For example, the network device returns search result information of five hosted programs to the user device, where the search result information of each hosted program includes description information and code information of the hosted program. The user equipment generates five page containers, respectively presents the description information of the five hosted programs by using the five page containers, and stores corresponding code information. The user switches different page containers through sliding operation, and can directly use the boarder program stored with the code information.
In some embodiments, the step S106 includes: the user equipment responds to the sliding operation of the user on one of the one or more page containers of the first search result page, and sends request information of code information of other hosted programs, which do not enter the window of the hosted program, in the one or more hosted programs to the network equipment in real time; the user equipment receives the code information of at least one boarder program corresponding to the request information, which is returned by the network equipment; the user device stores code information of the at least one hosted program in one or more page containers of the first search results page. In some embodiments, the network device queries a plurality of hosted programs based on the first search request sent by the user device, and not all code information of the queried hosted programs is sent to the user device, but request information about the code information is sent to the network device in real time based on the sliding operation of the user on the page container to request the network device to return the code information. For example, two page containers are generated in the user device and the network device queries five hosted programs (e.g., hosted program 1, hosted program 2, hosted program 3, hosted program 4, hosted program 5). The network device sends the search result information of the five hosted programs to the user device, wherein the search result information of the five hosted programs includes description information of each hosted program, and the search result information of the hosted programs 1 and 2 further includes corresponding code information. The user device uses two page containers, namely a page container 1 and a page container 2, to contain the code information of the hosted program 1 and the hosted program 2, and when the user slides the page container 2 to the left, the user device triggers to send request information about the code information of the hosted program 3, the hosted program 4 and the hosted program 5 to the corresponding network device, so as to request the network device to return the code information of other hosted programs in real time. In this embodiment, the network device does not return all the queried code information of the hosted program to the user device, but returns the code information to the user device in real time based on the request information sent by the user device to the network device, so that the storage burden of the user device can be reduced, and the excessive storage space occupation can be avoided.
In some embodiments, the sliding operation comprises at least one of:
(1) and (4) performing up-and-down sliding operation. For example, the plurality of page containers in the first search result page are arranged one above the other, and the user may slide the one or more page containers up and down in the first search result page.
(2) And (4) performing left-right sliding operation. For example, the plurality of page containers in the first search result page are arranged side-to-side, and the user may slide the one or more page containers side-to-side in the first search result page.
In some embodiments, the method further comprises step S107 (not shown), in step S107, the user device sends a second search request for the hosted program to the network device in response to a second search operation of the user in a second search box in the hosted program; the user equipment receives the search result information of one or more sub-boarder programs returned by the network equipment based on the second search request, wherein the one or more sub-boarder programs are contained in the one or more boarder programs; and the user equipment presents a second search result page corresponding to the second search request in the window of the host program, wherein the second search result page comprises one or more page containers, each page container is used for presenting description information of one of the one or more sub-hosted programs and storing code information corresponding to the sub-hosted program, and the code information is used for running the sub-hosted program in the window of the host program. In some embodiments, as shown in fig. 5, 6 and 7, a second search box is further included in the host program, and the user can perform a secondary query by entering search terms in the second search box. For example, the network device obtains a plurality of hosted programs based on a first search operation query of a user requesting the network device to continue filtering queries among the plurality of hosted programs by a second search operation of a second search box in the hosted program. For example, referring to the interface diagram shown in fig. 7, the user inputs "now celestial grass" in the second search box, the server retrieves the results related to "now celestial grass" in the plurality of hosted programs, and the user device displays the searched results in the corresponding page container. The user may view the search results by sliding the page container left and right. In this embodiment, the user can directly view the hosted programs related to the second search term in each hosted program in the page container by performing the second search on the hosted program. In some embodiments, the second search request includes second search information, the user equipment sends the second search information to the network equipment through the second search request, and the network equipment searches a hosted program sub-database that matches the second search information, in this embodiment, the network equipment further filters, for the user, the hosted program sub-database from the hosted programs obtained by the first search based on the second search request; in other embodiments, since the code information of the corresponding hosted program is stored in the page container, and the user device, corresponding to the second search operation, searches for result information matching with the second search information from the locally stored code information of the hosted program, and presents the corresponding result information in each corresponding page container, as shown in the interface diagram shown in fig. 6, the user inputs "milk tea" in the first search box, and presents the corresponding hosted program in each page container of the user device; when the user inputs 'shaoxiangcao' in the second search box, the user equipment searches information related to the 'shaoxiangcao' from the code information of the hosted program corresponding to the plurality of locally stored page containers, and presents a corresponding result page in the corresponding page container. Therefore, the corresponding hosted programs are presented through the multiple page containers, and even if a user searches for the hosted programs for multiple times, the search results of the hosted programs can be efficiently presented for the user, so that the user can conveniently view and search the hosted programs, and the efficiency is improved.
Fig. 4 shows a flowchart of a method for providing a hosted program according to another embodiment of the present application, the method comprising step S201, step S202, and step S203.
Specifically, in step S201, the network device receives a first search request about the hosted program, which is sent by the user device, where the first search request is sent by the user device in response to a first search operation of a first search box in the hosted program by the user, and the first search request includes first search information. In some embodiments, the network device includes, but is not limited to, a server corresponding to a host program, for example, the host program installed in the user device is a social application, and the network device is a server corresponding to the social application. The host program includes, but is not limited to, an application program (e.g., a social application, a payment application, a shopping application, etc.). In some embodiments, the user device includes, but is not limited to, a cell phone, tablet, computer, or like computing device. In some embodiments, the hosted program includes, but is not limited to, an applet, which may run on the hosted program. In some embodiments, a first search box for searching the hosted program is provided in the hosted program, for example, a user inputs a search word in the first search box, and completes the first search operation by clicking "search", thereby sending a first search request about the hosted program to the network device. In some embodiments, the network device includes, but is not limited to, a server (e.g., a server corresponding to the host program), and the server receives the first search request sent by the user device. In some embodiments, the first search information includes, but is not limited to, information entered by a user in the first search box, such as "hot pot," "milky tea," and the like.
In step S202, the network device obtains one or more hosted programs matching the first search information according to the first search information query. In some embodiments, the first search information is "hot pot", and the server corresponding to the hosting program queries one or more hosting programs matching "hot pot" from the hosting program database of the cloud server. In some embodiments, the one or more hosted programs are obtained by the network device by querying a hosted program database in the cloud. For example, a large hosted program database is established in the cloud server, and a plurality of hosted program related information (e.g., code information, name, profile, etc. of the hosted program) is stored in the hosted program database. And the server corresponding to the host program inquires one or more host programs matched with the first search information from the host program database of the cloud server. In other embodiments, the one or more hosted programs are obtained by querying a local database by the network device (e.g., a server corresponding to the hosted program), for example, the network device has a hosted program database established locally, and the network device queries one or more hosted programs matching the first search information from the hosted program database according to the first search information.
In step S203, the network device sends search result information of the one or more hosted programs to the user device, where the search result information corresponding to each hosted program in the one or more hosted programs includes description information of the hosted program, and the search result information corresponding to at least one hosted program in the one or more hosted programs further includes code information of the hosted program, where the code information is used to run the hosted program in a window of the hosted program. In some embodiments, the network device obtains one or more hosted programs matching the first search request based on the received first search request query, and returns search result information of the one or more hosted programs to the user device. In some embodiments, the search result information of the hosted program includes at least description information of the hosted program, including but not limited to information about the hosted program's name, profile, interface home page, and the like. In some embodiments, the search result information of the hosted program also includes code information (e.g., applet code data) of the hosted program. For example, after the user device sends the first search request to the corresponding network device, the network device returns description information of one or more hosted programs and code information of at least one hosted program of the one or more hosted programs to the user device. In some embodiments, in response to a first search request about hosted programs sent by a user device, the network device includes, in search result information of at least one hosted program in search result information of one or more hosted programs returned to the user device, code information of the hosted program, so that a user can directly use the corresponding hosted program through a page container at the user device side. In some embodiments, the network device controls the amount of code information sent to the user device to prevent the use of storage space of the user device.
In some embodiments, the method further comprises step S204 (not shown) and step S205 (not shown). In step S204, the network device receives a second search request about the hosted program, which is sent by the user device, where the second search request is sent by the user device in response to a second search operation of a second search box in the hosted program by the user, and the second search request includes second search information; in step S205, the network device queries, according to the second search information, one or more hosted programs that match the second search information from the one or more hosted programs corresponding to the first search request, and sends search result information of the one or more hosted programs to the user device. In some embodiments, as shown in fig. 5, 6 and 7, a second search box is further included in the host program, and the user can perform a secondary query by entering search terms in the second search box. For example, the network device obtains a plurality of hosted programs based on a first search operation query of a user requesting the network device to continue filtering queries among the plurality of hosted programs by a second search operation of a second search box in the hosted program. For example, referring to the interface diagram shown in fig. 7, the user inputs the second search information of "shaoxiangcao" in the second search box, the server retrieves the results related to "shaoxiangcao" in the plurality of hosted programs, and the user device displays the searched results in the corresponding page container. The user may view the search results by sliding the page container left and right. In this embodiment, the user can directly view the hosted programs related to the second search information in each hosted program in the page container by performing the second search on the hosted program. In some embodiments, the network device filters one or more child hosted programs that match the second search information in the second search request from the one or more hosted programs queried based on the first search request based on the second search request sent by the user device, and returns filtered result information to the user device for the user device to update the first search result page.
In some embodiments, a temporary database related to the one or more hosted programs is established in the network device, and the step S205 includes: and inquiring and acquiring one or more sub-hosted programs matched with the second search information from the database according to the second search information, and sending the search result information of the one or more sub-hosted programs to the user equipment. In some embodiments, a temporary database for temporarily storing the queried hosted program or programs is established in the network device (e.g., a server corresponding to the hosted program), and description information and code information of the hosted program or programs queried based on the first search request are stored in the temporary database. In some embodiments, the network device queries, based on a first search request sent by the user device, one or more corresponding hosted programs from a hosted program database in the cloud server, and establishes a temporary database for the one or more queried hosted programs, so as to subsequently extract information such as description information or code information of the corresponding hosted program directly from the temporary database and return the information to the user device. In this embodiment, the temporary database is established to facilitate the network device to perform the second search for the hosted program in the temporary database.
In some embodiments, the method further comprises step S206 (not shown) and step S207 (not shown). In step S206, the network device receives request information sent by the user device about code information of other hosted programs in the one or more hosted programs that do not enter the window of the hosted program; in step S207, the network device sends code information of at least one of the other hosted programs to the user device in response to the request information. In some embodiments, the network device does not transmit all queried code information of the hosted programs to the user device at once, for example, the network device receives first search information of "hot pot" transmitted by the user device, the network device matches 20 hosted programs related to the hot pot according to the first search information query, and the network device does not transmit all the 20 hosted programs to the user device at once, but transmits code information of at least one hosted program of the 20 hosted programs to the user device, so as to save device resources. In some embodiments, the network device sends code information of other hosted programs to the user device in response to the request information sent by the user device for code information of other hosted programs. In some embodiments, the network device may set the code information of 2 or 3 hosted programs to be sent to the user device at a time, and of course, those skilled in the art should understand that "set the code information of 2 or 3 hosted programs to be sent to the user device at a time", in some embodiments, it may also be 4 or 5 or other set values.
In some embodiments, a temporary database related to the one or more hosted programs is established in the network device, and the step S207 includes: and the network equipment responds to the request information and sends code information of at least one hosted program in the other hosted programs to the user equipment from the temporary database, wherein the code information is used for running the other hosted programs in the windows of the hosted programs. In some embodiments, the network device returns corresponding code information to the user device in response to request information about the code information sent by the user device.
In some embodiments, the method further comprises step S208 (not shown), in step S208, the network device establishes a temporary database about the one or more hosted programs, wherein the temporary database is used for temporarily storing the description information and the code information of each of the one or more hosted programs. In some embodiments, the network device locally includes a large database of hosted programs, the network device, in response to a first search request sent by the user device, queries the large database for one or more hosted programs that match the first search information in the first search request, and establishes a temporary database for the one or more hosted programs. In other embodiments, the network device queries the database in the cloud server to obtain one or more hosted programs matching the first search information, and establishes a temporary database for the one or more hosted programs obtained from the cloud server. In this embodiment, a temporary database is established, so that secondary query from the temporary database is facilitated, and the queried code information of the hosted program is temporarily stored.
FIG. 8 illustrates a flow diagram of a method for providing a hosted program, according to one embodiment of the present application. A developer (e.g., applet developer) adds developed applet information (e.g., hosted program) to a database (e.g., the database is a large hosted program database built on a cloud server). In some embodiments, the operator may specify a sort rule for the applet listings in the database, for example, the listing sort rule may be modified according to the operational requirements, may be a sort according to the number of accesses, may be a sort according to the applet release time, may add a bid rank, and so on. The method comprises the steps that a user inputs a keyword (for example, first search information is input in a first search box) at an applet client, the applet client sends the keyword to a server, the server inquires a related applet list (for example, one or more hosted programs) from a database according to the keyword, sorts the applet list according to various parameters, and sends the sorted applet list to the applet client. For example, the server side sorts the queried one or more hosted programs according to the parameter information of the applet, so that the applet interface information is sequentially presented through the page container at the applet client side. In some embodiments, the parameter information includes, but is not limited to, a correlation of the keyword, feedback data of the user to the applet, an applet update time, revenue generated by the applet, and the like, and a specific value is calculated according to a weight corresponding to each parameter, and then the applet list is sorted in descending order according to a size of the value, and returned to the applet client. In some embodiments, the relevance of the keywords is: whether the name of the small program is changed by the key word or not or whether the development brief introduction of the small program contains the key word or not is judged so as to judge whether the small program is searched by the user. In some embodiments, the ue sends feedback information of the user's use of the applet to the server, so that the server uses the feedback information as one of the parameter information.
Fig. 9 illustrates a block diagram of a device for providing a user device of a hosted program, the device including a one-module, a two-module, and a three-module, according to one embodiment of the present application.
Specifically, the module is configured to send a first search request about the hosted program to a network device corresponding to the hosted program in response to a first search operation of a first search box in the hosted program by a user. In some embodiments, the host program includes, but is not limited to, an application program (e.g., a social application, a payment application, a shopping application, etc.). In some embodiments, the host program is installed on the user device, wherein the user device includes, but is not limited to, a mobile phone, a tablet, a computer, and other computing devices. In some embodiments, the hosted program includes, but is not limited to, an applet, which may run on the hosted program. In some embodiments, a first search box for searching the hosted program is provided in the hosted program, for example, a user inputs a search word in the first search box, and completes the first search operation by clicking "search", thereby sending a first search request about the hosted program to the network device. In some embodiments, the network device includes, but is not limited to, a server (e.g., a server corresponding to the host program), and the server receives the first search request sent by the user device.
A second module, configured to receive search result information of one or more hosted programs, where the search result information returned by the network device based on the first search request includes description information of each hosted program in the one or more hosted programs, and the search result information corresponding to at least one hosted program in the one or more hosted programs further includes code information of the hosted program. In some embodiments, the network device obtains one or more hosted programs matching the first search request based on the received first search request query, and returns search result information of the one or more hosted programs to the user device. In some embodiments, the search result information of the hosted program includes at least description information of the hosted program, including but not limited to information about the hosted program's name, profile, interface home page, and the like. In some embodiments, the search result information of the hosted program also includes code information (e.g., applet code data) of the hosted program. For example, after the user device sends the first search request to the corresponding network device, the network device returns description information of one or more hosted programs and code information of at least one hosted program of the one or more hosted programs to the user device.
A third module, configured to present, in a window of the host program, a first search result page corresponding to the first search request, where the first search result page includes one or more page containers, where each page container is used to present description information of one of the one or more hosted programs and store code information corresponding to the hosted program, and the code information is used to run the hosted program in the window of the host program. In some embodiments, the user device receives search result information for one or more hosted programs returned by the network device and presents the one or more hosted programs via the first search results page. In particular, the user device presents and stores search result information for the one or more hosted programs via one or more page containers. For example, each page container in the first search results page is used to present and store search result information for a hosted program. In some embodiments, the page container is used as an object to hold packages of other objects (e.g., it is a hosted program that holds packages in this application). In some embodiments, the page container is used to present description information of the hosted program and to store code information of the hosted program. For example, code information of the corresponding hosted program is stored in each page container, and description information (such as applet home page information, or related information such as applet name, profile, etc.) of the hosted program is presented.
For example, user a has a host program w (e.g., some social application) installed in its user device. The host program w includes a first search box for searching the hosted program. The user a inputs a search word (e.g., a hot pot) in the first search box and completes a first search operation with respect to a search hosting program by clicking "search". And the user equipment responds to the first search operation and sends a first search request to the network equipment corresponding to the host program w. Further, the user device receives the search result information of the one or more hosted programs returned by the network device, and the user device presents the one or more hosted programs through the first search page. Specifically, the first search page includes one or more page containers, and each page container correspondingly displays description information of one hosted program and stores code information of the hosted program. The specific interface presentation effect can refer to the interface schematic diagrams shown in fig. 5, 6 and 7.
In some embodiments, the one or more hosted programs include a target hosted program, the code information of the target hosted program is target code information, the one or more page containers include a target page container, and the apparatus further includes a quad module (not shown) for executing the target hosted program in the target page container by executing the target code information in response to an application operation of the target hosted program by the user, the target code information being stored in the target page container, the target code information being used to execute the target hosted program.
Here, the example of the specific implementation manner of the above-mentioned four modules is the same as or similar to the embodiment of the step S104, and therefore, the description thereof is omitted, and the detailed implementation manner of the above-mentioned four modules is incorporated herein by reference.
In some embodiments, the device further includes a fifth module (not shown) configured to generate a first search result page corresponding to the first search request in response to search result information of one or more hosted programs returned by the network device, where the first search result page includes one or more page containers.
Here, the example of the specific implementation manner of the above-mentioned one-five modules is the same as or similar to the embodiment of the step S105, and therefore, the description thereof is omitted, and the detailed implementation manner of the above-mentioned one-five modules is incorporated herein by reference.
In some embodiments, the apparatus further includes a sixth module (not shown) for, in response to a sliding operation by the user on one of the one or more page containers in the first search result page, moving the one or more page containers in the window of the host program accordingly, wherein the page container is configured to present description information of a corresponding hosted program and store code information corresponding to the hosted program, and the object code information is configured to run the target hosted program.
Here, the specific implementation of the above-mentioned six modules is the same as or similar to the embodiment of the above-mentioned step S106, and therefore, the description thereof is omitted, and the detailed implementation is incorporated herein by reference.
In some embodiments, the system further includes a sixth module for sending, to the network device in real-time, in response to a swipe operation by the user on one of the one or more page containers of the first search result page, request information regarding code information of other ones of the one or more hosted programs that do not enter the window of the hosted program; the user equipment receives the code information of at least one boarder program corresponding to the request information, which is returned by the network equipment; the user device stores code information of the at least one hosted program in one or more page containers of the first search results page.
Here, the specific implementation of the above-mentioned six modules is the same as or similar to the embodiment of the above-mentioned step S106, and therefore, the description thereof is omitted, and the detailed implementation is incorporated herein by reference.
In some embodiments, the sliding operation comprises at least one of:
(1) and (4) performing up-and-down sliding operation. For example, the plurality of page containers in the first search result page are arranged one above the other, and the user may slide the one or more page containers up and down in the first search result page.
(2) And (4) performing left-right sliding operation. For example, the plurality of page containers in the first search result page are arranged side-to-side, and the user may slide the one or more page containers side-to-side in the first search result page.
In some embodiments, the device further comprises a seventh module (not shown) for sending a second search request for the hosted program to the network device in response to a second search operation of the user in a second search box in the hosted program; the user equipment receives the search result information of one or more sub-boarder programs returned by the network equipment based on the second search request, wherein the one or more sub-boarder programs are contained in the one or more boarder programs; and the user equipment presents a second search result page corresponding to the second search request in the window of the host program, wherein the second search result page comprises one or more page containers, each page container is used for presenting description information of one of the one or more sub-hosted programs and storing code information corresponding to the sub-hosted program, and the code information is used for running the sub-hosted program in the window of the host program.
Here, the example of the specific implementation manner of the above-mentioned one or seven modules is the same as or similar to the embodiment of the step S107, and therefore, the description thereof is omitted, and the detailed implementation manner of the above-mentioned one or seven modules is incorporated herein by reference.
FIG. 10 illustrates a device block diagram of a network device for providing hosted programs, the device including two-in-one modules, two-in-two modules, and two-in-three modules, according to another embodiment of the present application.
Specifically, the apparatus includes a module for receiving a first search request sent by a user device for a hosted program, where the first search request is sent by the user device in response to a first search operation of a first search box in the hosted program by a user, and the first search request includes first search information. In some embodiments, the network device includes, but is not limited to, a server corresponding to a host program, for example, the host program installed in the user device is a social application, and the network device is a server corresponding to the social application. The host program includes, but is not limited to, an application program (e.g., a social application, a payment application, a shopping application, etc.). In some embodiments, the user device includes, but is not limited to, a cell phone, tablet, computer, or like computing device. In some embodiments, the hosted program includes, but is not limited to, an applet, which may run on the hosted program. In some embodiments, a first search box for searching the hosted program is provided in the hosted program, for example, a user inputs a search word in the first search box, and completes the first search operation by clicking "search", thereby sending a first search request about the hosted program to the network device. In some embodiments, the network device includes, but is not limited to, a server (e.g., a server corresponding to the host program), and the server receives the first search request sent by the user device. In some embodiments, the first search information includes, but is not limited to, information entered by a user in the first search box, such as "hot pot," "milky tea," and the like.
And the second module is used for inquiring and acquiring one or more boarder programs matched with the first search information according to the first search information. In some embodiments, the first search information is "hot pot", and the server corresponding to the hosting program queries one or more hosting programs matching "hot pot" from the hosting program database of the cloud server. In some embodiments, the one or more hosted programs are obtained by the network device by querying a hosted program database in the cloud. For example, a large hosted program database is established in the cloud server, and a plurality of hosted program related information (e.g., code information, name, profile, etc. of the hosted program) is stored in the hosted program database. And the server corresponding to the host program inquires one or more host programs matched with the first search information from the host program database of the cloud server. In other embodiments, the one or more hosted programs are obtained by querying a local database by the network device (e.g., a server corresponding to the hosted program), for example, the network device has a hosted program database established locally, and the network device queries one or more hosted programs matching the first search information from the hosted program database according to the first search information.
A module two and three, configured to send search result information of the one or more hosted programs to the user equipment, where the search result information corresponding to each hosted program in the one or more hosted programs includes description information of the hosted program, the search result information corresponding to at least one hosted program in the one or more hosted programs further includes code information of the hosted program, and the code information is used to run the hosted program in a window of the hosted program. In some embodiments, the network device obtains one or more hosted programs matching the first search request based on the received first search request query, and returns search result information of the one or more hosted programs to the user device. In some embodiments, the search result information of the hosted program includes at least description information of the hosted program, including but not limited to information about the hosted program's name, profile, interface home page, and the like. In some embodiments, the search result information of the hosted program also includes code information (e.g., applet code data) of the hosted program. For example, after the user device sends the first search request to the corresponding network device, the network device returns description information of one or more hosted programs and code information of at least one hosted program of the one or more hosted programs to the user device. In some embodiments, in response to a first search request about hosted programs sent by a user device, the network device includes, in search result information of at least one hosted program in search result information of one or more hosted programs returned to the user device, code information of the hosted program, so that a user can directly use the corresponding hosted program through a page container at the user device side. In some embodiments, the network device controls the amount of code information sent to the user device to prevent the use of storage space of the user device.
In some embodiments, the apparatus further comprises two-four modules (not shown) and two-five modules (not shown). A twenty-fourth module, configured to receive a second search request sent by the user equipment regarding a hosted program, where the second search request is sent by the user equipment in response to a second search operation of a second search box in the hosted program by the user, and the second search request includes second search information; and a twenty-five module, configured to query and acquire one or more child hosted programs matched with the second search information from the one or more hosted programs corresponding to the first search request according to the second search information, and send search result information of the one or more child hosted programs to the user equipment.
Here, examples of specific implementations of the two-four module and the two-five module are the same as or similar to the embodiments of the step S204 and the step S205, and therefore are not repeated herein, and are included herein by reference.
In some embodiments, a temporary database is established in the network device about the one or more hosted programs, and the twenty-five modules are configured to: and inquiring and acquiring one or more sub-hosted programs matched with the second search information from the database according to the second search information, and sending the search result information of the one or more sub-hosted programs to the user equipment.
Here, the example of the specific implementation manner of the above-mentioned two or five modules is the same as or similar to the embodiment of the above-mentioned step S205, and therefore, the detailed description is omitted, and the detailed implementation manner of the above-mentioned two or five modules is included herein by reference.
In some embodiments, the apparatus further comprises a twenty-six module (not shown) and a twenty-seven module (not shown). A sixteenth module, configured to receive request information sent by the user equipment about code information of other hosted programs in the one or more hosted programs that do not enter the window of the hosted program; and a twenty-seventh module for sending code information of at least one of the other hosted programs to the user device in response to the request information.
Here, examples of specific implementations of the two-six module and the two-seven module are the same as or similar to the embodiments of the step S206 and the step S207, and therefore are not repeated herein, and are included herein by reference.
In some embodiments, a temporary database related to the one or more hosted programs is established in the network device, and the twenty-seventh module is configured to send, from the temporary database to the user device in response to the request information, code information of at least one of the other hosted programs, where the code information is used to run the other hosted program in a window of the hosted program. In some embodiments, the network device returns corresponding code information to the user device in response to request information about the code information sent by the user device.
In some embodiments, the apparatus further comprises a twenty-eight module (not shown) for establishing a temporary database about the one or more hosted programs, wherein the temporary database is configured to temporarily store the description information and the code information of each of the one or more hosted programs.
Here, examples of specific implementations of the aforementioned twenty-eight modules are the same as or similar to the embodiment of the aforementioned step S208, and therefore are not repeated herein, and are incorporated herein by reference.
The present application also provides a computer readable storage medium having stored thereon computer code which, when executed, performs a method as in any one of the preceding.
The present application also provides a computer program product, which when executed by a computer device, performs the method of any of the preceding claims.
The present application further provides a computer device, comprising:
one or more processors;
a memory for storing one or more computer programs;
the one or more computer programs, when executed by the one or more processors, cause the one or more processors to implement the method of any preceding claim.
FIG. 11 illustrates an exemplary system that can be used to implement the various embodiments described herein;
in some embodiments, as shown in fig. 11, the system 1000 can be implemented as any one of the network device, the first user device, or the second user device in the various described embodiments. In some embodiments, system 1000 may include one or more computer-readable media (e.g., system memory or NVM/storage 1020) having instructions and one or more processors (e.g., processor(s) 1005) coupled with the one or more computer-readable media and configured to execute the instructions to implement modules to perform the actions described herein.
For one embodiment, system control module 1010 may include any suitable interface controllers to provide any suitable interface to at least one of the processor(s) 1005 and/or to any suitable device or component in communication with system control module 1010.
The system control module 1010 may include a memory controller module 1030 to provide an interface to the system memory 1015. Memory controller module 1030 may be a hardware module, a software module, and/or a firmware module.
System memory 1015 may be used to load and store data and/or instructions, for example, for system 1000. For one embodiment, system memory 1015 may include any suitable volatile memory, such as suitable DRAM. In some embodiments, the system memory 1015 may include a double data rate type four synchronous dynamic random access memory (DDR4 SDRAM).
For one embodiment, system control module 1010 may include one or more input/output (I/O) controllers to provide an interface to NVM/storage 1020 and communication interface(s) 1025.
For example, NVM/storage 1020 may be used to store data and/or instructions. NVM/storage 1020 may include any suitable non-volatile memory (e.g., flash memory) and/or may include any suitable non-volatile storage device(s) (e.g., one or more Hard Disk drive(s) (HDD (s)), one or more Compact Disc (CD) drive(s), and/or one or more Digital Versatile Disc (DVD) drive (s)).
NVM/storage 1020 may include storage resources that are physically part of a device on which system 1000 is installed or may be accessed by the device and not necessarily part of the device. For example, NVM/storage 1020 may be accessed over a network via communication interface(s) 1025.
Communication interface(s) 1025 may provide an interface for system 1000 to communicate over one or more networks and/or with any other suitable device. System 1000 may communicate wirelessly with one or more components of a wireless network according to any of one or more wireless network standards and/or protocols.
For one embodiment, at least one of the processor(s) 1005 may be packaged together with logic for one or more controller(s) of the system control module 1010, e.g., memory controller module 1030. For one embodiment, at least one of the processor(s) 1005 may be packaged together with logic for one or more controller(s) of the system control module 1010 to form a System In Package (SiP). For one embodiment, at least one of the processor(s) 1005 may be integrated on the same die with logic for one or more controller(s) of the system control module 1010. For one embodiment, at least one of the processor(s) 1005 may be integrated on the same die with logic of one or more controllers of the system control module 1010 to form a system on a chip (SoC).
In various embodiments, system 1000 may be, but is not limited to being: a server, a workstation, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet, a netbook, etc.). In various embodiments, system 1000 may have more or fewer components and/or different architectures. For example, in some embodiments, system 1000 includes one or more cameras, a keyboard, a Liquid Crystal Display (LCD) screen (including a touch screen display), a non-volatile memory port, multiple antennas, a graphics chip, an Application Specific Integrated Circuit (ASIC), and speakers.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, implemented using Application Specific Integrated Circuits (ASICs), general purpose computers or any other similar hardware devices. In one embodiment, the software programs of the present application may be executed by a processor to implement the steps or functions described above. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
In addition, some of the present application may be implemented as a computer program product, such as computer program instructions, which when executed by a computer, may invoke or provide methods and/or techniques in accordance with the present application through the operation of the computer. Those skilled in the art will appreciate that the form in which the computer program instructions reside on a computer-readable medium includes, but is not limited to, source files, executable files, installation package files, and the like, and that the manner in which the computer program instructions are executed by a computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Computer-readable media herein can be any available computer-readable storage media or communication media that can be accessed by a computer.
Communication media includes media by which communication signals, including, for example, computer readable instructions, data structures, program modules, or other data, are transmitted from one system to another. Communication media may include conductive transmission media such as cables and wires (e.g., fiber optics, coaxial, etc.) and wireless (non-conductive transmission) media capable of propagating energy waves such as acoustic, electromagnetic, RF, microwave, and infrared. Computer readable instructions, data structures, program modules, or other data may be embodied in a modulated data signal, for example, in a wireless medium such as a carrier wave or similar mechanism such as is embodied as part of spread spectrum techniques. The term "modulated data signal" means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. The modulation may be analog, digital or hybrid modulation techniques.
By way of example, and not limitation, computer-readable storage media may include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. For example, computer-readable storage media include, but are not limited to, volatile memory such as random access memory (RAM, DRAM, SRAM); and non-volatile memory such as flash memory, various read-only memories (ROM, PROM, EPROM, EEPROM), magnetic and ferromagnetic/ferroelectric memories (MRAM, FeRAM); and magnetic and optical storage devices (hard disk, tape, CD, DVD); or other now known media or later developed that can store computer-readable information/data for use by a computer system.
An embodiment according to the present application comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or a solution according to the aforementioned embodiments of the present application.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

Claims (16)

1. A method for providing hosted programs for a user device, the method comprising:
responding to a first search operation of a first search box in a host program of a user, and sending a first search request about the hosted program to a network device corresponding to the host program;
receiving search result information of one or more hosted programs, returned by the network device based on the first search request, wherein the search result information corresponding to each hosted program in the one or more hosted programs includes description information of the hosted program, and the search result information corresponding to at least one hosted program in the one or more hosted programs further includes code information of the hosted program;
and presenting a first search result page corresponding to the first search request in a window of the host program, wherein the first search result page comprises one or more page containers, each page container is used for presenting description information of one of the one or more hosted programs and storing code information corresponding to the hosted program, and the code information is used for running the hosted program in the window of the host program.
2. The method of claim 1, wherein the one or more hosted programs comprise a target hosted program, the code information of the target hosted program being target code information, the one or more page containers comprising a target page container;
the method further comprises the following steps:
and responding to the application operation of the user on the target hosted program, and running the target hosted program in the target page container by executing the target code information, wherein the target code information is stored in the target page container and is used for running the target hosted program.
3. The method of claim 1, wherein before presenting the first search result page corresponding to the first search request in the window of the host program, the method further comprises:
and generating a first search result page corresponding to the first search request in response to the search result information of one or more hosted programs returned by the network equipment, wherein the first search result page comprises one or more page containers.
4. The method of claim 1, further comprising:
and responding to the sliding operation of the user on one of the one or more page containers in the first search result page, and correspondingly moving the one or more page containers in the window of the host program, wherein the page container is used for presenting the description information of the corresponding hosted program and storing the code information corresponding to the hosted program.
5. The method of claim 4, wherein the responsive to the user sliding one of the one or more page containers in the first search results page, moving the one or more page containers accordingly in the window of the host program comprises:
in response to a sliding operation of the user on one of the one or more page containers of the first search result page, sending, to the network device in real-time, request information regarding code information of other ones of the one or more hosted programs that do not enter the window of the hosted program;
receiving code information of at least one other boarder program corresponding to the request information, which is returned by the network equipment;
storing code information of the at least one other hosted program in one or more page containers of the first search results page.
6. The method according to claim 4 or 5, wherein the sliding operation comprises at least one of:
sliding up and down;
and (4) performing left-right sliding operation.
7. The method of claim 1, further comprising:
sending a second search request for the hosted program to the network device in response to a second search operation of the user in a second search box in the hosted program;
receiving search result information of one or more child hosted programs returned by the network device based on the second search request, wherein the one or more child hosted programs are included in the one or more hosted programs;
and presenting a second search result page corresponding to the second search request in the window of the host program, wherein the second search result page comprises one or more page containers, each page container is used for presenting description information of one of the one or more child hosted programs and storing code information corresponding to the child hosted program, and the code information is used for running the child hosted program in the window of the host program.
8. A method for providing hosted programs for use in a network device, the method comprising:
receiving a first search request which is sent by a user device and is about to host a program, wherein the first search request is sent by the user device in response to a first search operation of a first search box in the host program by a user, and the first search request comprises first search information;
acquiring one or more boarder programs matched with the first search information according to the first search information query;
and sending the search result information of the one or more hosted programs to the user equipment, wherein the search result information corresponding to each hosted program in the one or more hosted programs includes description information of the hosted program, the search result information corresponding to at least one hosted program in the one or more hosted programs further includes code information of the hosted program, and the code information is used for running the hosted program in a window of the hosted program.
9. The method of claim 8, further comprising:
receiving a second search request which is sent by the user equipment and is about a hosted program, wherein the second search request is sent by the user equipment in response to a second search operation of a second search box in the hosted program by the user, and the second search request comprises second search information;
and inquiring one or more sub-hosted programs matched with the second search information from one or more hosted programs corresponding to the first search request according to the second search information, and sending search result information of the one or more sub-hosted programs to the user equipment.
10. The method of claim 9, wherein a temporary database related to the one or more hosted programs is established in the network device, and the querying, according to the second search information, from the one or more hosted programs corresponding to the first search request to obtain one or more sub-hosted programs matching the second search information, and sending search result information of the one or more sub-hosted programs to the user device includes:
and inquiring and acquiring one or more sub-hosted programs matched with the second search information from the database according to the second search information, and sending the search result information of the one or more sub-hosted programs to the user equipment.
11. The method of claim 8, further comprising:
receiving request information sent by the user equipment and about code information of other hosted programs in the one or more hosted programs which do not enter the window of the hosted program;
sending code information of at least one of the other hosted programs to the user device in response to the request information.
12. The method of claim 11, wherein a temporary database is established in the network device about the one or more hosted programs, and wherein sending code information of at least one of the other hosted programs to the user device in response to the requested information comprises:
sending code information of at least one of the other hosted programs from the temporary database to the user device in response to the request information, the code information being used to run the other hosted program in a window of the hosted program.
13. The method of claim 8, further comprising:
establishing a temporary database about the one or more hosted programs, wherein the temporary database is used for temporarily storing description information and code information of each of the one or more hosted programs.
14. A method for providing hosted programs, the method comprising:
the method comprises the steps that a user device responds to a first search operation of a first search box in a host program of a user, and sends a first search request about a hosted program to a network device corresponding to the host program;
the network equipment receives the first search request, wherein the first search request comprises first search information, one or more hosted programs matched with the first search information are obtained according to the first search information query, and search result information of the one or more hosted programs is sent to the user equipment;
and the user equipment receives search result information of the one or more hosted programs, and presents a first search result page corresponding to the first search request in a window of the hosted program, wherein the first search result page comprises one or more page containers, each page container is used for presenting description information of one hosted program in the one or more hosted programs and storing code information corresponding to the hosted program, and the code information is used for running the hosted program in the window of the hosted program.
15. An apparatus for providing hosted programs, wherein the apparatus comprises:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to perform the operations of the method of any of claims 1 to 13.
16. A computer-readable medium storing instructions that, when executed, cause a system to perform the operations of any of the methods of claims 1-13.
CN202010130716.9A 2020-02-28 2020-02-28 Method and equipment for providing hosted program Active CN111367581B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010130716.9A CN111367581B (en) 2020-02-28 2020-02-28 Method and equipment for providing hosted program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010130716.9A CN111367581B (en) 2020-02-28 2020-02-28 Method and equipment for providing hosted program

Publications (2)

Publication Number Publication Date
CN111367581A true CN111367581A (en) 2020-07-03
CN111367581B CN111367581B (en) 2024-02-09

Family

ID=71206357

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010130716.9A Active CN111367581B (en) 2020-02-28 2020-02-28 Method and equipment for providing hosted program

Country Status (1)

Country Link
CN (1) CN111367581B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111885152A (en) * 2020-07-21 2020-11-03 上海连尚网络科技有限公司 Promotion information processing method, electronic device and computer-readable storage medium
CN113379418A (en) * 2021-06-21 2021-09-10 上海盛付通电子支付服务有限公司 Information verification method, device, medium, and program product based on security plug-in
CN113709146A (en) * 2021-08-26 2021-11-26 上海掌门科技有限公司 Method, apparatus, medium, and program product for presenting portal information
CN114675762A (en) * 2022-03-30 2022-06-28 青岛海信移动通信技术股份有限公司 Terminal device, function searching method and storage medium
WO2023178952A1 (en) * 2022-03-24 2023-09-28 中国银联股份有限公司 Method and apparatus for integrating native program with applet, and device and medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440260A (en) * 2013-07-31 2013-12-11 北京百度网讯科技有限公司 Method and equipment used for providing representation information
CN107070870A (en) * 2017-01-09 2017-08-18 阿里巴巴集团控股有限公司 A kind of data capture method and device
CN108984225A (en) * 2018-06-19 2018-12-11 上海掌门科技有限公司 The method and apparatus of quick start boarding application
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
CN110297997A (en) * 2019-06-19 2019-10-01 百度在线网络技术(北京)有限公司 Page display method, device and equipment
CN110321189A (en) * 2019-04-03 2019-10-11 上海连尚网络科技有限公司 A kind of method and apparatus that boarding program being presented in host program
WO2019205717A1 (en) * 2018-04-26 2019-10-31 上海掌门科技有限公司 Method and device for searching for information in application program

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440260A (en) * 2013-07-31 2013-12-11 北京百度网讯科技有限公司 Method and equipment used for providing representation information
CN107070870A (en) * 2017-01-09 2017-08-18 阿里巴巴集团控股有限公司 A kind of data capture method and device
WO2019205717A1 (en) * 2018-04-26 2019-10-31 上海掌门科技有限公司 Method and device for searching for information in application program
CN108984225A (en) * 2018-06-19 2018-12-11 上海掌门科技有限公司 The method and apparatus of quick start boarding application
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
CN110321189A (en) * 2019-04-03 2019-10-11 上海连尚网络科技有限公司 A kind of method and apparatus that boarding program being presented in host program
CN110297997A (en) * 2019-06-19 2019-10-01 百度在线网络技术(北京)有限公司 Page display method, device and equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
戴佳瑶;江开忠;: "搜索引擎二次开发的设计与实现" *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111885152A (en) * 2020-07-21 2020-11-03 上海连尚网络科技有限公司 Promotion information processing method, electronic device and computer-readable storage medium
CN113379418A (en) * 2021-06-21 2021-09-10 上海盛付通电子支付服务有限公司 Information verification method, device, medium, and program product based on security plug-in
CN113379418B (en) * 2021-06-21 2024-04-05 上海盛付通电子支付服务有限公司 Information verification method, device, medium and program product based on security plug-in
CN113709146A (en) * 2021-08-26 2021-11-26 上海掌门科技有限公司 Method, apparatus, medium, and program product for presenting portal information
CN113709146B (en) * 2021-08-26 2023-06-23 上海掌门科技有限公司 Method, equipment and medium for presenting entry information
WO2023178952A1 (en) * 2022-03-24 2023-09-28 中国银联股份有限公司 Method and apparatus for integrating native program with applet, and device and medium
CN114675762A (en) * 2022-03-30 2022-06-28 青岛海信移动通信技术股份有限公司 Terminal device, function searching method and storage medium

Also Published As

Publication number Publication date
CN111367581B (en) 2024-02-09

Similar Documents

Publication Publication Date Title
CN111367581B (en) Method and equipment for providing hosted program
CN109408696B (en) Method and equipment for searching hosted program
CN109359237B (en) Method and equipment for searching hosted program
CN109710832B (en) Method and equipment for searching hosted program
CN110333918B (en) Method and equipment for managing boarder programs
CN110502298B (en) Method and equipment for providing update reminding information of electronic book
CN110765395B (en) Method and equipment for providing novel information
CN107016045A (en) A kind of method and device of paged data inquiry
CN111796741B (en) Method and equipment for providing recommended books
CN111325574B (en) Method and device for providing presentation information
CN111523039B (en) Method and device for processing book promotion request in reading application
CN111506232A (en) Method and equipment for controlling menu display in reading application
CN110430253B (en) Method and equipment for providing novel update notification information
CN110502299B (en) Method and equipment for providing novel information
CN110765258B (en) Method and equipment for providing electronic books
CN112306606A (en) Method and equipment for presenting control style
CN115794316A (en) Method, apparatus, medium, and program product for building a cloud computing experimental environment
CN110750611A (en) Method and equipment for providing rain sheltering information
CN110781269A (en) Method and equipment for searching books in reading application
CN112256991B (en) Method and equipment for native rendering of information flow fusing multiple link addresses
CN109634500B (en) User data filling method and device, terminal equipment and storage medium
CN109245938B (en) Method and equipment for executing resource configuration operation of user
CN111125565A (en) Method and equipment for inputting information in application
CN109542937B (en) Method and equipment for searching user contact information
CN116561735B (en) Mutual trust authentication method and system based on multiple authentication sources and electronic equipment

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