Information recommendation method and device for applet, electronic equipment and storage medium

By receiving and parsing the applet identification and page path information in the near-field communication signal, it can quickly download and open the applet in specific scenarios, solve the problem of low scanning efficiency when the light is insufficient, and improve the user experience.

CN118568332APending Publication Date: 2024-08-30TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310271572.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-09
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

At night or in low-light scenarios, it is inefficient for users to scan QR codes to open mini programs, which is limited by differences in mobile phone performance and environment.

Method used

By receiving the near-field communication signal sent by the second electronic device, it parses the applet identification and page path information, downloads and displays the applet entrance, and directly opens the target applet page when the user triggers the operation.

Benefits of technology

It improves the efficiency of users opening mini programs in specific scenarios and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568332A
    Figure CN118568332A
Patent Text Reader

Abstract

The invention provides an applet information recommendation method and device, electronic equipment and a storage medium. The method is applied to first electronic equipment and comprises the steps that a near field communication signal sent by second electronic equipment is received, and the near field communication signal carries an applet identifier and page path information; analyzing the applet identifier and the page path information from the near field communication signal; downloading a corresponding applet from a server based on the applet identifier, and displaying an entry of the applet; and in response to a trigger operation for an entry of the applet, displaying an applet page corresponding to the page path information in an interface of the applet. By means of the method and device, the applet opening efficiency of a user in a specific scene can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method, device, electronic device and storage medium for recommending information for a mini-program. Background Art

[0002] With the development of computer technology, mini-programs have emerged. Mini-programs are applications that can be used without downloading. For example, by loading the software development kit of the mini-program through the host application of the electronic device, the connected mini-program can be used without downloading. Mini-programs run in separate sub-processes. Each mini-program occupies a sub-process and is isolated from the main process of the host application to ensure safe and stable operation.

[0003] In the related art, for mini-program application scenarios, the usual practice is for users to open specific mini-programs by scanning codes with their mobile phones. However, due to differences in the performance of users' mobile phones and differences in the environment, scanning codes is difficult in some scenarios. For example, the failure rate is high when scanning codes in low-light scenarios such as at night, resulting in low efficiency for users to open mini-programs. Summary of the invention

[0004] The embodiments of the present application provide a method, device, electronic device, computer-readable storage medium and computer program product for recommending information of a mini-program, which can improve the efficiency of users opening mini-programs in specific scenarios.

[0005] The technical solution of the embodiment of the present application is implemented as follows:

[0006] The present application embodiment provides a method for recommending information of a mini-program, which is applied to a first electronic device and includes:

[0007] Receiving a short-range communication signal sent by a second electronic device, wherein the short-range communication signal carries a mini-program identifier and page path information;

[0008] Parsing the mini-program identifier and the page path information from the short-range communication signal;

[0009] Downloading a corresponding mini-program from a server based on the mini-program identifier, and displaying an entry to the mini-program;

[0010] In response to a triggering operation on the entrance of the mini-program, a target mini-program page corresponding to the page path information is displayed in the interface of the mini-program.

[0011] The present application embodiment provides an information recommendation device for a mini-program, which is applied to a first electronic device, including:

[0012] A receiving module, configured to receive a short-range communication signal sent by a second electronic device, wherein the short-range communication signal carries a mini-program identifier and page path information;

[0013] A parsing module, used to parse the mini-program identifier and the page path information from the short-range communication signal;

[0014] A download module, used to download the corresponding mini program from the server based on the mini program identifier;

[0015] A display module, used to display the entrance of the mini program;

[0016] The display module is also used to display a target mini-program page corresponding to the page path information in the interface of the mini-program in response to a trigger operation on the entrance of the mini-program.

[0017] In the above scheme, the short-range communication signal also carries the device identification of the second electronic device, and the mini-program identification, the page path information, and the device identification are encrypted; the parsing module is also used to parse the encrypted data from the short-range communication signal and decrypt the encrypted data to obtain the mini-program identification, the page path information, and the device identification.

[0018] In the above scheme, the information recommendation device of the mini program also includes a sending module and a transfer module, wherein the sending module is used for sending the device identification to the server before the downloading module downloads the corresponding mini program from the server based on the mini program identification, so that the server performs authentication processing on the second electronic device based on the device identification and returns the authentication result to the first server; the transfer module is used for transferring to execute the processing of downloading the corresponding mini program from the server based on the mini program identification in response to the authentication result characterizing that the second electronic device is a legal device.

[0019] In the above scheme, the information recommendation device of the mini program also includes a deletion module, which is used to delete the encrypted data in response to the authentication result indicating that the second electronic device is an illegal device; the display module is also used to display a first prompt information, wherein the first prompt information is used to prompt that the second electronic device is an illegal device.

[0020] In the above scheme, the sending module is also used to send the device identification to the server so that the server performs the following processing: querying a device identification library based on the device identification, wherein a plurality of authenticated device identifications are pre-stored in the device identification library; in response to the existence of the device identification in the device identification library, returning to the first electronic device an authentication result that the second electronic device is a legal device; in response to the absence of the device identification in the device identification library, returning to the first electronic device an authentication result that the second electronic device is an illegal device.

[0021] In the above scheme, the parsing module is also used to obtain a decryption key from the server, wherein the decryption key is the same as or different from the encryption key used by the second electronic device when encrypting the mini-program identifier, the page path information, and the device identifier; the encrypted data is decrypted based on the decryption key to obtain the mini-program identifier, the page path information, and the device identifier.

[0022] In the above scheme, the deletion module is also used to delete the encrypted data in response to failure to decrypt the encrypted data based on the decryption key; the display module is also used to display a second prompt information, wherein the second prompt information is used to prompt that the short-range communication signal is an illegal signal.

[0023] In the above scheme, the display module is also used to perform one of the following processing: displaying the entrance of the mini program in the interface of the host application of the mini program; displaying the mini program entrance list in response to a list trigger operation on the interface of the host application of the mini program, and displaying the entrance of the mini program in the mini program entrance list.

[0024] In the above scheme, when the entrance of the mini program is displayed in the interface of the host application, the display module is also used to jump from the interface of the host application to the interface of the mini program in response to a trigger operation on the entrance of the mini program; based on the page path information, the corresponding target mini program page is determined from the multiple mini program pages included in the mini program, and the target mini program page is displayed in the interface of the mini program.

[0025] In the above scheme, when the entrance of the mini program is displayed in the mini program entrance list, the display module is also used to jump from the mini program entrance list to the interface of the mini program in response to a trigger operation on the entrance of the mini program; based on the page path information, determine the corresponding target mini program page from the multiple mini program pages included in the mini program, and display the target mini program page in the interface of the mini program.

[0026] The present application embodiment provides a method for recommending information of a mini-program, which is applied to a second electronic device, and includes:

[0027] Get the mini program ID and page path information;

[0028] Sending a short-distance communication signal carrying the applet identifier and the page path information, wherein the short-distance communication signal is used for the first electronic device that receives the short-distance communication signal to perform the following processing:

[0029] Parsing the mini-program identifier and the page path information from the short-range communication signal;

[0030] Downloading a corresponding mini-program from a server based on the mini-program identifier, and displaying an entry to the mini-program;

[0031] In response to a triggering operation on the entrance of the mini-program, a target mini-program page corresponding to the page path information is displayed in the interface of the mini-program.

[0032] The present application embodiment provides an information recommendation device for a mini-program, which is applied to a second electronic device, including:

[0033] The acquisition module is used to obtain the mini program identifier and page path information;

[0034] A sending module, used for sending a short-range communication signal carrying the mini-program identifier and the page path information, wherein the short-range communication signal is used for a first electronic device that receives the short-range communication signal to perform the following processing: parsing the mini-program identifier and the page path information from the short-range communication signal; downloading the corresponding mini-program from a server based on the mini-program identifier, and displaying an entry to the mini-program; and displaying a target mini-program page corresponding to the page path information in the interface of the mini-program in response to a trigger operation on the entry to the mini-program.

[0035] In the above scheme, the acquisition module is also used to obtain the device identification of the second electronic device; the information recommendation device of the mini program also includes an encryption module, which is used to encrypt the mini program identification, the page path information, and the device identification to obtain encrypted data; the sending module is also used to send a short-range communication signal carrying the encrypted data.

[0036] In the above scheme, the acquisition module is also used to obtain an encryption key from the server, wherein the encryption key is the same as or different from the decryption key used by the first electronic device when decrypting the encrypted data; the encryption module is also used to encrypt the mini-program identifier, the page path information, and the device identifier based on the encryption key to obtain encrypted data.

[0037] In the above scheme, the information recommendation device of the mini program also includes a determination module, which is used to perform one of the following processing: in response to the signal strength setting operation, determining the set signal strength as the signal strength of the short-range communication signal; obtaining the current environmental information of the second electronic device, and determining the signal strength adapted to the environmental information as the signal strength of the short-range communication signal.

[0038] An embodiment of the present application provides an electronic device, including:

[0039] A memory for storing executable instructions;

[0040] The processor is used to implement the information recommendation method of the mini-program provided in the embodiment of the present application when executing the executable instructions stored in the memory.

[0041] An embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions for implementing the information recommendation method for the mini-program provided in the embodiment of the present application when executed by a processor.

[0042] An embodiment of the present application provides a computer program product, including a computer program or computer executable instructions, which are used to implement the information recommendation method of the mini-program provided by the embodiment of the present application when executed by a processor.

[0043] The embodiments of the present application have the following beneficial effects:

[0044] By sending a short-range communication signal carrying the mini-program identifier and page path information through the second electronic device, the first electronic device can quickly transmit the mini-program identifier and page path information to the first electronic device when it is close to the second electronic device, so that the first electronic device can download the corresponding mini-program from the server based on the mini-program identifier and display the entrance of the mini-program. When the user clicks on the entrance of the mini-program, the first electronic device can quickly open the corresponding target mini-program page based on the page path information. In this way, the efficiency of users opening mini-programs in specific scenarios is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1A It is a schematic diagram of the architecture of the information recommendation system 100-1 of the mini program provided in the embodiment of the present application;

[0046] Figure 1B It is a schematic diagram of the architecture of the information recommendation system 100-2 of the mini program provided in the embodiment of the present application;

[0047] Figure 2A is a schematic structural diagram of a first electronic device 400 provided in an embodiment of the present application;

[0048] Figure 2B is a schematic structural diagram of a second electronic device 500 provided in an embodiment of the present application;

[0049] Figure 3 It is a flowchart of the information recommendation method of the mini program provided in the embodiment of the present application;

[0050] Figure 4 It is a flowchart of the information recommendation method of the mini program provided in the embodiment of the present application;

[0051] Figure 5 It is a flowchart of the information recommendation method of the mini program provided in the embodiment of the present application;

[0052] Figure 6 This is a schematic diagram of an application scenario of the information recommendation method for a mini-program provided in an embodiment of the present application;

[0053] Figure 7 It is a schematic diagram of a scenario of palm swiping payment provided in an embodiment of the present application;

[0054] Figure 8 It is a schematic diagram of the overall architecture of the mini-program information recommendation method provided in the embodiment of the present application. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.

[0056] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it can be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0057] It is understandable that in the embodiments of the present application, when data related to user information (such as user's biometric data, including facial data, palm print data, fingerprint data, etc.) is involved, when the embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0058] In the following description, the terms "first\second\..." are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\..." can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0059] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0060] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.

[0061] 1) Mini Program: It is an application that can be used without downloading and installing. In order to provide users with more diversified business services, developers can develop corresponding mini programs for terminal applications (i.e. host applications, such as instant messaging applications, shopping applications, email applications, etc.). The mini program can be embedded into the terminal application as a sub-application, and can provide users with corresponding business services by running the sub-application in the application (i.e. the corresponding mini program).

[0062] 2) Short-range communication: A communication method that uses the characteristics of electromagnetic wave signals propagating in space to achieve information exchange within a short distance, such as Bluetooth, ZigBee and Near Field Communication (NFC).

[0063] 3) In response to: used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed may be in real time or have a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations executed are executed.

[0064] The embodiments of the present application provide a method, device, electronic device, computer-readable storage medium and computer program product for recommending information of a small program, which can improve the efficiency of users opening small programs in specific scenarios. The electronic device provided by the embodiments of the present application is described below. The electronic device provided by the embodiments of the present application includes a first electronic device and a second electronic device, wherein the first electronic device can be implemented as various types of user terminals such as a laptop computer, a tablet computer, a desktop computer, a smart speaker, a smart watch, and a vehicle-mounted terminal, and the second electronic device can be implemented as a payment terminal suitable for a variety of biometric payment scenarios (such as fingerprint payment scenarios, face payment scenarios, palm payment scenarios, etc.) (for example, when the payment scenario is a palm payment scenario, the second electronic device can be a palm payment terminal). Of course, the second electronic device can also be implemented as various types of user terminals such as a laptop computer, a tablet computer, a desktop computer, a smart speaker, a smart watch, and a vehicle-mounted terminal. The embodiments of the present application do not specifically limit the type of the second electronic device.

[0065] For example, see Figure 1A , Figure 1A 1 is a schematic diagram of the architecture of the information recommendation system 100-1 of the mini program provided in the embodiment of the present application, which is used to realize an application that supports improving the efficiency of users opening mini programs in specific scenarios, such as Figure 1A As shown, the information recommendation system 100-1 of the mini program includes: a server 200, a network 300, a first electronic device 400, and a second electronic device 500, wherein the network 300 can be a local area network or a wide area network, or a combination of the two, the first electronic device 400 is a terminal device associated with the user, and a client 410 (i.e., the host application of the mini program, used to provide an operating environment for the mini program) runs on the first electronic device 400. The client 410 can be various types of clients, such as instant messaging clients, electronic payment clients, e-commerce shopping clients, etc. The second electronic device 500 can be a payment terminal associated with a merchant, such as a palm payment terminal, a face payment terminal, a fingerprint payment terminal, etc.

[0066] In some embodiments, the second electronic device 500 associated with the merchant can send a short-range communication signal (for example, a broadcast Bluetooth signal), which can carry the applet identifier (for example, the APPID of applet 1) and page path information (for example, the page path information corresponding to sub-page A in applet 1, that is, the merchant hopes that the user can directly access sub-page A when opening applet 1); when the first electronic device 400 associated with the user receives the short-range communication signal sent by the second electronic device 500 (for example, when the user enters a store, the terminal device associated with the user can receive the Bluetooth signal broadcast by the payment terminal set up by the merchant in the store), it can The mini-program identifier and page path information can be parsed from the received short-range communication signal. The first electronic device 400 can then download the corresponding mini-program from the server 200 based on the parsed mini-program identifier and display the entry of the mini-program (for example, at least one of the icon and name of the mini-program 1 can be directly displayed in the interface of the client 410). Finally, when the first electronic device 400 receives a trigger operation (such as a click operation) from the user for the entry of the mini-program, the mini-program page corresponding to the page path information (such as the above-mentioned sub-page A) can be directly displayed in the interface of the mini-program. In this way, the efficiency of users opening mini-programs in specific scenarios can be improved, thereby enhancing the user experience.

[0067] In some embodiments, the information recommendation method of the mini-program provided in the embodiments of the present application can also be implemented in combination with blockchain technology.

[0068] For example, see Figure 1B , Figure 1B 1 is a schematic diagram of the architecture of the information recommendation system 100-2 of the mini program provided in the embodiment of the present application. Figure 1B As shown, the server 200, the first electronic device 400, and the second electronic device 500 can all join the blockchain network 600 and become a node therein. The types of blockchain network 600 are flexible and diverse, for example, it can be any of a public chain, a private chain, or a consortium chain. Taking the public chain as an example, any electronic device of a business entity, such as a terminal device or a server, can access the blockchain network 600 without authorization to serve as a consensus node of the blockchain network 600. For example, Figure 1A The server 200 in the mapping is Figure 1B The consensus node 600-0 in the blockchain network 600 in Figure 1A The first electronic device 400 in is mapped as Figure 1B The consensus node 600-1 in the blockchain network 600, and Figure 1A The second electronic device 500 in is mapped as Figure 1B Consensus node 600-2 in the blockchain network 600.

[0069] Taking the blockchain network 600 as an alliance chain as an example, the server 200, the first electronic device 400, and the second electronic device 500 can access the blockchain network 600 and become consensus nodes after obtaining authorization. Among them, a smart contract is installed in each consensus node to complete the consensus and chain storage of the small program identification and page path information. For example, after the second electronic device 500 obtains the small program identification (such as the APPID of the small program 1) and the page path information (such as the page path information corresponding to the subpage A in the small program 1) configured by the merchant, it can send the obtained small program identification and page path information to the consensus node 600-2 in the blockchain network 600. After receiving the small program identification and page path information sent by the second electronic device 500, the consensus node 600-2 can verify the small program identification and page path information by calling the smart contract, and sign a digital signature (i.e., endorsement) after the verification is passed, and broadcast the small program identification and page path information after signing the digital signature to the blockchain network 600. When the consensus node 600-2 collects enough signatures (for example, more than half) for the mini-program identifier and page path information, it determines that the consensus verification for the mini-program identifier and page path information has passed, and stores the mini-program identifier and page path information sent by the second electronic device 500 in the blockchain network 600.

[0070] Subsequently, the second electronic device 500 can broadcast a short-range communication signal (such as a Bluetooth signal) carrying the mini-program identifier and page path information. After the first electronic device 400 receives the short-range communication signal sent by the second electronic device 500, it can parse the received short-range communication signal to obtain the mini-program identifier and page path information. In order to parse and verify the legitimacy of the mini-program identification and page path information obtained, the first electronic device 400 can also send a request to the consensus node 600-1 in the blockchain network 600 to obtain the mini-program identification and page path information. After receiving the request sent by the first electronic device 400, the consensus node 600-1 can send the mini-program identification and page path information stored in the blockchain 600 to the first electronic device 400, so that the first electronic device 400 compares the mini-program identification and page path information returned by the consensus node 600-1 with the parsed mini-program identification and page path information. When the two are consistent, it means that the parsed mini-program identification and page path information are legal information, and subsequent processing can be performed; when the two are inconsistent, it means that the parsed mini-program identification and page path information are illegal information. The first electronic device 400 can delete the parsed mini-program identification and page path information, and display corresponding prompt information in the human-computer interaction interface to remind the user that the currently received short-range communication signal is an illegal signal. In this way, based on the tamper-proof nature of the blockchain network, the security of the data is guaranteed.

[0071] In some embodiments, the embodiments of the present application can also be implemented with the aid of cloud technology. Cloud technology refers to a hosting technology that unifies a series of resources such as hardware, software, and networks within a wide area network or a local area network to achieve data calculation, storage, processing, and sharing.

[0072] Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, and application technology based on the cloud computing business model. It can form a resource pool that can be used on demand and is flexible and convenient. Cloud computing technology will become an important support. The background services of the technical network system require a large amount of computing and storage resources.

[0073] For example, Figure 1AThe server 200 in the example may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks (CDNs), and big data and artificial intelligence platforms. The first electronic device 400, the second electronic device 500, and the server 200 may be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiments of the present application.

[0074] Next, continue Figure 1A The structure of the first electronic device 400 shown in FIG. Figure 2A , Figure 2A is a schematic diagram of the structure of a first electronic device 400 provided in an embodiment of the present application, Figure 2A The first electronic device 400 shown includes: at least one processor 420, a memory 460, at least one network interface 430 and a user interface 440. The various components in the first electronic device 400 are coupled together via a bus system 450. It is understood that the bus system 450 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 450 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 450 is not described in detail. Figure 2A Various buses are labeled as bus system 450 .

[0075] The processor 420 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.

[0076] The user interface 440 includes one or more output devices 441 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 440 also includes one or more input devices 442, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.

[0077] The memory 460 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard drives, optical drives, etc. The memory 460 may optionally include one or more storage devices that are physically remote from the processor 420.

[0078] The memory 460 includes a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 460 described in the embodiments of the present application is intended to include any suitable type of memory.

[0079] In some embodiments, memory 460 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.

[0080] Operating system 461, including system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks;

[0081] A network communication module 462, for reaching other computing devices via one or more (wired or wireless) network interfaces 430, exemplary network interfaces 430 include: Bluetooth, Wireless Compatibility Authentication (WiFi), and Universal Serial Bus (USB);

[0082] a presentation module 463 for enabling presentation of information via one or more output devices 441 (e.g., display screen, speaker, etc.) associated with the user interface 440 (e.g., a user interface for operating peripherals and displaying content and information);

[0083] The input processing module 464 is used to detect one or more user inputs or interactions from one of the one or more input devices 442 and translate the detected inputs or interactions.

[0084] In some embodiments, the device provided in the embodiments of the present application can be implemented in software. Figure 2A The information recommendation device 465 of the mini-program stored in the memory 460 is shown, which can be software in the form of a program or a plug-in, including the following software modules: a receiving module 4651, a parsing module 4652, a downloading module 4653, a display module 4654, a sending module 4655, a transfer module 4656 and a deletion module 4657. These modules are logical, and therefore can be arbitrarily combined or further split according to the functions implemented. It should be pointed out that in Figure 2AFor the sake of convenience, all the above modules are shown at once, but it should not be regarded as excluding the implementation of the information recommendation device 465 of the mini program that can only include the receiving module 4651, the parsing module 4652, the downloading module 4653 and the display module 4654. The functions of each module will be explained below.

[0085] Next, continue Figure 1A The structure of the second electronic device 500 shown in FIG. Figure 2B , Figure 2B is a schematic diagram of the structure of a second electronic device 500 provided in an embodiment of the present application, such as Figure 2B As shown, the second electronic device 500 includes: a processor 510, a network interface 520, a user interface 530, a bus system 540 and a memory 550. Among them, the user interface 530 includes one or more output devices 531 that enable the presentation of media content, such as one or more speakers and / or one or more visual display screens. The user interface 530 also includes one or more input devices 532, including user interface components that facilitate user input, such as a keyboard, a mouse, a microphone, a touch screen display, a camera, other input buttons and controls. The memory 550 includes: an operating system 551, a network communication module 552, a presentation module 553, which is used to enable the display of information (e.g., a user interface for operating peripheral devices and displaying content and information) via one or more output devices 531 associated with the user interface 530 (e.g., a display screen, a speaker, etc.), an input processing module 554, which is used to detect one or more user inputs or interactions from one of the one or more input devices 532, and to translate the detected inputs or interactions, and an information recommendation device 555 for a small program. The software modules in the information recommendation device 555 of the mini-program stored in the memory 550 include: an acquisition module 5551, a sending module 5552, an encryption module 5553 and a determination module 5554. These modules are logical and can be arbitrarily combined or further split according to the functions implemented. Figure 2B For the sake of convenience, all the above modules are shown at once, but it should not be considered that the information recommendation device 555 of the mini program excludes the implementation that can only include the acquisition module 5551 and the sending module 5552. The functions of each module will be explained below.

[0086] The following will specifically describe the information recommendation method of the mini-program provided in the embodiment of the present application from the perspective of interaction between the first electronic device, the second electronic device, and the server.

[0087] For example, see Figure 3 , Figure 3is a flowchart of the information recommendation method of the mini program provided in the embodiment of the present application, which will be combined with Figure 3 The steps shown are explained.

[0088] It should be noted that for Figure 3 The steps performed by the first electronic device shown in the figure can be performed by various forms of computer programs running on the first electronic device, and are not limited to the client. For example, it can also be the operating system, software module, etc. described above. Therefore, the example of the client in the following text should not be regarded as a limitation on the embodiments of the present application. In addition, for the sake of convenience, the following text does not specifically distinguish between the first electronic device and the client running on the first electronic device.

[0089] In step 101, a first electronic device receives a short distance communication signal sent by a second electronic device.

[0090] Here, the short-range communication signal can carry the mini program identifier (of the mini program to be recommended) (for example, the APPID of mini program 1) and the page path information (corresponding to the target mini program page) (for example, the page path information corresponding to sub-page A in mini program 1 used to introduce product 1).

[0091] It should be noted that the page path information is also called the mini program opening protocol. The mini program opening protocol is similar to the Uniform Resource Locator (URL), and the rule is: {protocol header}: / / {mini program host identifier} / {mini program appkey} / {mini program page path path? query}, for example: xxxapp: / / swan / appkey / path? query is a page path information. When a user clicks on the mini program entrance, the corresponding target mini program page can be directly displayed based on the page path information, which effectively shortens the arrival path when the user searches for mini program content or services, and improves the efficiency of users opening mini programs.

[0092] In some embodiments, the mini-program identifier and page path information may also be encrypted. In this case, the second electronic device may also perform the following processing before sending a short-range communication signal to the outside: obtain the mini-program identifier (configured by the merchant) and the page path information (for example, when the merchant needs to recommend mini-program A to the user, the merchant may configure the mini-program identifier of mini-program A in the second electronic device. In addition, in order to enable the user to quickly reach the corresponding target mini-program page, such as mini-program page 1 for introducing product A, the merchant may also configure the page path information corresponding to mini-program page 1 in the second electronic device. In this way, when the user clicks on the entrance of mini-program A, the mini-program page 1 for introducing product A may be directly displayed in the interface of mini-program A), encrypt the obtained mini-program identifier and page path information to obtain encrypted data, and then the second electronic device may send a short-range communication signal carrying the encrypted data to the outside. In this way, the security of the data can be guaranteed.

[0093] For example, the second electronic device can encrypt the mini-program identifier and page path information to obtain encrypted data in the following manner: obtain an encryption key from a server, where the encryption key is the same as or different from the decryption key used by the first electronic device to decrypt the encrypted data (i.e., symmetric encryption) or different (i.e., asymmetric encryption); encrypt the mini-program identifier and page path information based on the obtained encryption key to obtain encrypted data.

[0094] For example, taking symmetric encryption as an example, symmetric encryption is an encryption method that uses a single-key encryption system, that is, the same key can be used for both data encryption and decryption. For example, the server can pre-generate a key and send the key to the first electronic device and the second electronic device respectively. The second electronic device can use the key to encrypt the mini-program identifier and page path information to obtain encrypted data, and send a short-range communication signal carrying the encrypted data to the outside; after the first electronic device parses the encrypted data from the received short-range communication signal, it can use the key to decrypt the encrypted data to obtain the mini-program identifier and page path information.

[0095] In step 102, the first electronic device parses the mini-program identifier and page path information from the short-range communication signal.

[0096] In some embodiments, the short-range communication signal may also carry a device identification of the second electronic device, such as a string serial number (SN, Serial Number) of the second electronic device, wherein the string serial number can uniquely identify the identity identification (ID, IDentity) of a device, and the mini-program identification, page path information, and device identification carried in the short-range communication signal may be encrypted. For example, the second electronic device may first encrypt the mini-program identification, page path information, and device identification to obtain encrypted data, and then send a short-range communication signal carrying the encrypted data. The first electronic device may implement step 102 in the following manner: parse the encrypted data from the short-range communication signal, and decrypt the encrypted data to obtain the mini-program identification, page path information, and device identification of the second electronic device.

[0097] For example, the first electronic device can implement the above-mentioned decryption processing of encrypted data to obtain the mini-program identification, page path information, and the device identification of the second electronic device in the following manner: obtain a decryption key from the server, wherein the decryption key is the same as the encryption key used by the second electronic device when encrypting the mini-program identification, page path information, and device identification (i.e., symmetric encryption, the same key is used for encryption and decryption) or different (i.e., asymmetric encryption, two keys are required for encryption and decryption); decrypt the encrypted data based on the decryption key to obtain the mini-program identification, page path information, and the device identification of the second electronic device.

[0098] For example, taking asymmetric encryption as an example, the server can pre-generate a pair of keys, including a public key and a private key. The public key and the private key are a pair, that is, if the public key is used to encrypt the data, only the corresponding private key can be used to decrypt it; if the private key is used to encrypt the data, only the corresponding public key can be used to decrypt it. After generating the key pair, the server can send the public key to the second electronic device, so that the second electronic device can encrypt the applet identifier, page path information, and the device identifier of the second electronic device based on the public key to obtain encrypted data; at the same time, the server can also send the private key to the first electronic device, so that the first electronic device can decrypt the encrypted data based on the private key after parsing the encrypted data from the received short-range communication signal, and obtain the applet identifier, page path information, and the device identifier of the second electronic device. In this way, since encryption and decryption are relatively independent, encryption and decryption will use two different keys, which greatly enhances the strength of information protection.

[0099] In other embodiments, when the first electronic device fails to decrypt the encrypted data based on the decryption key obtained from the server, it indicates that the encrypted data carried in the short-range communication signal has been illegally destroyed. In this case, the encrypted data parsed from the short-range communication signal can be deleted and a second prompt message can be displayed, wherein the second prompt message is used to indicate that the short-range communication signal is an illegal signal.

[0100] For example, taking the first electronic device as the mobile phone associated with user A and the second electronic device as the palm-swiping payment terminal associated with the merchant, after generating the key pair, the server can send the public key to the palm-swiping payment terminal associated with the merchant, and send the private key to the mobile phone associated with user A. After the palm-swiping payment terminal associated with the merchant obtains the mini-program identifier and page path information configured by the merchant, it can encrypt the obtained mini-program identifier, page path information, and device identifier of the palm-swiping payment terminal based on the public key to obtain encrypted data. Subsequently, the swiping palm payment terminal associated with the merchant can send out a short-range communication signal carrying encrypted data (for example, broadcasting a Bluetooth signal). When user A enters the store, the mobile phone associated with user A can receive the short-range communication signal sent by the swiping palm payment terminal and parse the encrypted data from the short-range communication signal. Subsequently, the mobile phone associated with user A can decrypt the encrypted data based on the private key sent in advance by the server. When the decryption of the encrypted data based on the private key fails, it means that the encrypted data carried in the short-range communication signal sent by the swiping palm payment terminal has been destroyed. Then, the mobile phone associated with user A can delete the encrypted data parsed from the short-range communication signal and display a second prompt message, such as "Please note that the Bluetooth signal broadcast by the swiping palm payment terminal is an illegal signal". In addition, the mobile phone associated with user A can subsequently refuse to receive the short-range communication signal sent by the swiping palm payment terminal, so that the security of the data can be guaranteed.

[0101] It should be noted that the mini-program identifier, page path information, and device identifier of the second electronic device carried in the short-range communication signal sent by the second electronic device may also be unencrypted, that is, sent in plain text, and the embodiments of the present application do not specifically limit this.

[0102] In step 103, the first electronic device downloads the corresponding mini-program from the server based on the mini-program identifier.

[0103] In some embodiments, after parsing the mini-program identifier from the short-range communication signal, the first electronic device may send the parsed mini-program identifier to the server, so that the server returns a software development kit of the mini-program corresponding to the mini-program identifier to the first electronic device.

[0104] For example, taking the mini program identifier of mini program 1 (for example, the APPID of mini program 1) as an example, after the first electronic device parses the APPID of mini program 1 from the short-range communication signal (for example, a Bluetooth signal) sent by the second electronic device, the first electronic device can send the parsed APPID of mini program 1 to the server, so that the server queries the software development kit of mini program 1 based on the APPID of mini program 1, and then the server can send the software development kit of mini program 1 to the first electronic device.

[0105] In some other embodiments, the short-range communication signal may also carry a device identification of the second electronic device. Figure 3 Before step 103 shown, you can also perform Figure 4 Steps 106 to 109 shown in FIG. 106 and FIG. 109 are combined with Figure 4 The steps shown are explained.

[0106] In step 106, the first electronic device sends a device identification to the server.

[0107] In some embodiments, after the first electronic device parses the encrypted data from the short-range communication signal and decrypts the encrypted data based on the decryption key obtained from the server to obtain the device identification of the second electronic device, the device identification of the second electronic device can be sent to the server so that the server can authenticate the legitimacy of the second electronic device.

[0108] In step 107, the server performs authentication processing on the second electronic device based on the device identification.

[0109] In some embodiments, after receiving the device identification of the second electronic device (for example, the SN of the second electronic device) sent by the first electronic device, the server can query the device identification library based on the received device identification of the second electronic device, wherein a plurality of authenticated device identifications are pre-stored in the device identification library.

[0110] In step 108, the server returns the authentication result to the first electronic device.

[0111] In some embodiments, when the server queries the device identification library and finds an authenticated device identification that is identical to the device identification (of the second electronic device) sent by the first electronic device, that is, the device identification sent by the first electronic device exists in the device identification library, indicating that the second electronic device is a authenticated and legal device, then the server can return the authentication result that the second electronic device is a legal device to the first electronic device; when the server does not query the device identification library and finds an authenticated device identification that is identical to the device identification (of the second electronic device) sent by the first electronic device, that is, the device identification sent by the first electronic device does not exist in the device identification library, indicating that the second electronic device is an unauthenticated and illegal device, then the server can return the authentication result that the second electronic device is an illegal device to the first electronic device.

[0112] In step 109 , the first electronic device determines whether the second electronic device is a legitimate device based on the authentication result. If so, the first electronic device performs subsequent steps 103 to 105 ; if not, the first electronic device performs step 110 .

[0113] In some embodiments, after receiving the authentication result returned by the server, the first electronic device can determine whether the second electronic device is a legal device based on the authentication result. For example, the authentication result returned by the server can carry a notification message indicating whether the second electronic device is a legal device. For example, when the server determines that the second electronic device is a legal device based on the device identification, it can return the authentication result carrying the first communication message to the first electronic device; when the server determines that the second electronic device is an illegal device based on the device identification, it can return the authentication result carrying the second communication message to the first electronic device. In this way, the first electronic device can determine whether the second electronic device is a legal device based on the type of notification message carried in the authentication result. For example, when the notification message carried in the authentication result returned by the server is the first communication message, the first electronic device can determine that the second electronic device is a legal device and proceed to execute subsequent steps 103 to 105.

[0114] In step 110, the first electronic device deletes the encrypted data and displays a first prompt message.

[0115] Here, the first prompt information is used to prompt that the second electronic device is an illegal device.

[0116] In some embodiments, continuing with the above example, when the communication message carried in the authentication result returned by the server is a second communication message, the first electronic device can determine that the second electronic device is an illegal device, and can delete the encrypted data parsed from the short-range communication signal (received by the second electronic device), and display a first prompt message in the human-computer interaction interface of the client, such as "Please note that the second electronic device is an illegal device", to remind the user.

[0117] In step 104, the first electronic device displays an entrance to the mini-program.

[0118] In some embodiments, after the first electronic device downloads the corresponding mini-program from the server based on the mini-program identifier, it can display the entrance of the mini-program in the following ways: displaying the entrance of the mini-program in the interface of the host application of the mini-program (such as an instant messaging client) (for example, displaying at least one of the thumbnail and the name of the mini-program); or, in response to a list trigger operation on the interface of the host application of the mini-program (for example, a pull-down operation on the interface of the host application), displaying a mini-program entrance list and displaying the entrance of the mini-program in the mini-program entrance list.

[0119] For example, taking mini program identifier 1 of mini program A as an example, after the first electronic device downloads mini program A from the server based on mini program identifier 1, it can directly display the entrance of mini program A in the interface of the host application of mini program A (for example, taking the host application as an instant messaging application as an example, after the first electronic device downloads mini program A from the server based on mini program identifier 1, it can directly display the thumbnail of mini program A in the interface of the instant messaging application); or, the first electronic device can also respond to the user's pull-down trigger operation on the interface of the host application, jump from the interface of the host application to the mini program entry list, and display the entrance of mini program A in the mini program entry list (that is, add the entrance of mini program A to the mini program entry list).

[0120] For example, when the first electronic device displays the entrance to the mini-program, it can also obtain the virtual resource information (such as coupon information) owned by the user at the object associated with the second electronic device (such as the merchant associated with the palm payment terminal) from the server based on the object identifier (such as the user ID of the user associated with the first electronic device). In this way, when the first electronic device displays the entrance to the mini-program, it can also superimpose and display the coupon information owned by the user at the merchant (such as the number of coupons, amount, etc.), so that the user can intuitively understand the coupons he owns at the current merchant, thereby improving the efficiency of the user's subsequent shopping and thus improving the user's usage experience.

[0121] For example, when the first electronic device displays the entrance to the mini-program, it can also obtain the user's frequently purchased items (i.e., items purchased more than a threshold number of times) from the server based on the object identifier (i.e., the object associated with the second electronic device) when displaying the entrance to the mini-program. In this way, when the first electronic device displays the entrance to the mini-program, it can also superimpose and display the user's frequently purchased items at the merchant. For example, taking the mini-program as a supermarket mini-program, the milk that the user frequently purchases in the supermarket can be displayed next to the entrance of the supermarket mini-program, which improves the user's shopping efficiency and thereby enhances the user's usage experience.

[0122] For example, when the first electronic device displays the entrance to the mini program, it can also obtain the items frequently purchased by the user (i.e., items purchased more than a threshold number of times) from the server based on the object identifier (such as the user ID), and if the merchant corresponding to the current mini program also sells such items, then when the first electronic device displays the entrance to the mini program, it can also display corresponding prompt information to remind the user that this merchant also has the items that the user frequently purchases, thereby facilitating the user's shopping and improving the user's shopping experience.

[0123] In some embodiments, the entrance to the mini program can also be displayed in the form of a map based on the positioning of the short-range wireless communication signal (such as ibeacon positioning). For example, taking the mini program identifier 1 of mini program A as an example, after the terminal device downloads mini program A from the server based on mini program identifier 1, it can display an electronic map in the host application of mini program A (or jump from the host application to the electronic map application), and display the entrance to mini program A at the corresponding location in the electronic map (such as the location of the second electronic device, which can be located based on the ibeacon signal broadcast by the second electronic device). In this way, the user can intuitively understand the location of the second electronic device from which each mini program is downloaded. In other words, by displaying the entrance to the mini program in the form of a map, the location of the merchant corresponding to the mini program can be intuitively displayed, which is convenient for the user to understand which merchant in the mall each mini program corresponds to.

[0124] In some embodiments, the entrances corresponding to multiple mini-programs can also be displayed in a list in order from near to far based on the ibeacon positioning, and the entrance icon of the mini-program can change from large to small, that is, the closer the mini-program is to the user's current location, the larger the entrance icon of the mini-program. For example, suppose that the user's mobile phone has downloaded three mini-programs from the server, and they are assumed to be mini-program A, mini-program B and mini-program C, among which mini-program A is downloaded from the server by the user's mobile phone based on Bluetooth signal 1 broadcasted by the palm payment terminal set in store 1 (for example, Bluetooth signal 1 carries the logo of mini-program A), and mini-program B is downloaded from the server by the user's mobile phone based on Bluetooth signal 2 broadcasted by the face payment terminal set in store 2 (for example, Bluetooth signal 2 carries the logo of mini-program B); mini-program C is downloaded from the server by the user's mobile phone based on Bluetooth signal 3 broadcasted by the palm payment terminal set in store 3 (for example, Bluetooth signal 3 carries the logo of mini-program C). At the same time, assuming that the user is currently in Shop 3, that is, the user is currently closest to Shop 3, the distance to Shop 2 is the second, and the distance to Shop 1 is the farthest, then the entrances corresponding to these three mini-programs are sorted in the mini-program list entrance as follows: the entrance of Mini Program C, the entrance of Mini Program B, and the entrance of Mini Program A. The entrance icon of Mini Program C is the largest, the entrance icon of Mini Program B is the second, and the entrance icon of Mini Program A is the smallest. In this way, it is convenient for users to give priority to opening the mini-program corresponding to the merchant closest to them, thereby improving the user's shopping efficiency and thus improving the user's usage experience.

[0125] In other embodiments, when the short-range communication signal sent by the second electronic device carries identifiers corresponding to multiple mini-programs (for example, assuming that it includes the identifier of mini-program A, the identifier of mini-program B, and the identifier of mini-program C), the first electronic device can download multiple mini-programs from the server at one time based on the identifiers corresponding to the multiple mini-programs. It can then sort the multiple mini-programs according to the user's characteristic data (for example, shopping habits, browsing history, etc.) through a neural network model (for example, a deep learning model) (for example, the more items that match the user's shopping habits, the higher the ranking of the mini-programs), and display the entries corresponding to the multiple mini-programs in the mini-program entry list according to the sorting results. In this way, since the entry of the mini-program that is more in line with the user's shopping habits is ranked higher, it is convenient for the user to give priority to opening the mini-program that meets their shopping habits, thereby improving the user's shopping efficiency and also improving the user's usage experience.

[0126] In step 105, the first electronic device displays a target mini-program page corresponding to the page path information in the interface of the mini-program in response to a trigger operation on the entry of the mini-program.

[0127] In some embodiments, when the entrance to the mini program is displayed in the interface of the host application, the first electronic device can implement the above step 105 in the following manner: in response to a trigger operation on the entrance to the mini program, jump from the interface of the host application to the interface of the mini program; based on the page path information, determine the corresponding target mini program page from the multiple mini program pages included in the mini program, and display the target mini program page in the interface of the mini program.

[0128] For example, taking the mini program as mini program A and the host application as an instant messaging application, the entrance of mini program A can be directly displayed in the interface of the instant messaging application, for example, the thumbnail of mini program A can be directly displayed in the interface of the instant messaging application. When receiving a click operation from the user on the thumbnail of mini program A, the first electronic device can jump from the interface of the instant messaging application to the interface of mini program A (i.e., open mini program A), and based on the page path information, determine the corresponding target mini program page from the multiple mini program pages included in mini program A (e.g., sub-page 1 for introducing product 1 in mini program A), and display sub-page 1 for introducing product 1 in the interface of mini program A. That is to say, when the user clicks on the entrance of mini program A, he can directly reach sub-page 1 for introducing product 1, thereby improving the efficiency of users opening mini programs.

[0129] In other embodiments, when the entrance to the mini program is displayed in the mini program entrance list, the first electronic device can implement the above-mentioned step 105 in the following manner: in response to a trigger operation on the entrance to the mini program, jump to the interface of the mini program from the mini program entrance list; based on the page path information, determine the corresponding target mini program page from the multiple mini program pages included in the mini program, and display the target mini program page in the interface of the mini program.

[0130] For example, taking the mini program as mini program A and the host application as an instant messaging application, the entrance of mini program A can be displayed in the mini program entrance list. For example, when a drop-down operation triggered by the user on the interface of the instant messaging application is received, it is possible to jump from the interface of the instant messaging application to the mini program entrance list (the mini program entrance list can display the entrance of the mini program that the user has used most recently), and display the entrance of mini program A in the mini program entrance list, such as displaying the thumbnail and name of mini program A; when a user clicks on the entrance of mini program A, it is possible to jump from the mini program entrance list to the interface of mini program A (i.e., open mini program A), and based on the page path information, determine the corresponding target mini program page from the multiple mini program pages included in mini program A (for example, sub-page 1 in mini program A for introducing product 1), and display sub-page 1 for introducing product 1 in the interface of mini program A. That is to say, when the user clicks on the entrance of mini program A, he can directly reach sub-page 1 for introducing product 1, thereby improving the efficiency of the user in opening the mini program.

[0131] In other embodiments, see Figure 5 , Figure 5 is a flowchart of the information recommendation method of the mini program provided in the embodiment of the present application, such as Figure 5 As shown, in the execution Figure 3 Before step 101 shown, you can also perform Figure 5 Step 111A or step 111B shown will be combined with Figure 5 The steps shown are explained.

[0132] In step 111A, the second electronic device determines the set signal strength as the signal strength of the short-range communication signal in response to the signal strength setting operation.

[0133] In some embodiments, taking the palm-swiping payment terminal in which the second electronic device is associated with a merchant as an example, the palm-swiping payment terminal can also support the adjustment of the signal strength of the short-range communication signal. For example, the palm-swiping payment terminal can respond to the signal strength setting operation triggered by the merchant, and determine the set signal strength as the signal strength of the short-range communication signal subsequently sent out. For example, when the area of ​​the shopping mall is large, the merchant can set the signal strength of the short-range communication signal sent by the palm-swiping payment terminal to be larger; when the area of ​​the merchant is small, the merchant can set the signal strength of the short-range communication signal sent by the palm-swiping payment terminal to be smaller. In this way, it can meet the needs of different scenarios.

[0134] In step 111B, the second electronic device obtains the current environment information of the second electronic device, and determines the signal strength adapted to the environment information as the signal strength of the short-range communication signal.

[0135] In some embodiments, taking the palm-swipe payment terminal associated with the merchant as an example, the palm-swipe payment terminal can also adaptively adjust the signal strength of the short-range communication signal according to the current environmental information (such as the area of ​​the area). For example, before sending the short-range communication signal to the outside, the palm-swipe payment terminal can first obtain the current environmental information (for example, the palm-swipe payment terminal can obtain the area of ​​the current area based on the built-in distance sensor or the external distance sensor), and automatically determine the signal strength that matches the environmental information (for example, the signal strength can be positively correlated with the area, that is, the larger the area, the stronger the signal strength can be automatically adjusted, that is, the larger the coverage range of the short-range communication signal; the smaller the area, the weaker the signal strength can be automatically adjusted, that is, the smaller the coverage range of the short-range communication signal), and then send the short-range communication signal to the outside with the determined signal strength. In this way, the signal strength of the short-range communication signal can be adaptively adjusted according to the current environmental information of the second electronic device, thereby saving the resources of the second electronic device.

[0136] The mini-program information recommendation method provided in the embodiment of the present application sends a short-range communication signal carrying the mini-program identifier and page path information through the second electronic device. When the first electronic device is close to the second electronic device, the mini-program identifier and page path information can be quickly delivered to the first electronic device, so that the first electronic device can download the corresponding mini-program from the server based on the mini-program identifier and display the entrance of the mini-program. When the user clicks on the entrance of the mini-program, the first electronic device can quickly open the corresponding target mini-program page based on the page path information. In this way, the efficiency of users opening mini-programs in specific scenarios is improved.

[0137] Below, taking the first electronic device as a mobile phone associated with the user and the second electronic device as a palm payment terminal associated with the merchant as an example, an exemplary application of the embodiment of the present application in an actual application scenario is explained.

[0138] An embodiment of the present application provides a method for recommending information of mini-programs. For offline scenarios, a palm-swiping payment terminal capable of broadcasting mini-programs (such as the APPID of the mini-program) and scenario information (such as page path information corresponding to relevant sub-pages within the mini-program) is deployed. The palm-swiping payment terminal broadcasts relevant signals (such as Bluetooth signals based on iBeacon technology). When the user's associated mobile phone is close to the palm-swiping payment terminal, the mini-program and scenario information can be quickly accessed by the mobile phone. After receiving the Bluetooth signal broadcast by the palm-swiping payment terminal, the mobile phone can add an entry for the mini-program to the message drop-down entry of the mini-program's host application (such as an instant messaging application). When a user clicks on the entry for the mini-program, the mobile phone can directly display the corresponding relevant sub-page (corresponding to the above-mentioned target mini-program page) in the mini-program interface based on the page path information, thereby improving the efficiency of users opening mini-programs in specific scenarios.

[0139] For example, see Figure 6 , Figure 6 : is a schematic diagram of an application scenario of the information recommendation method of a mini program provided in an embodiment of the present application, such as Figure 6 As shown, there are two shops located on street 601, namely shop 602 and shop 603. A palm-swiping payment terminal 604 is set in shop 602. Merchant A associated with shop 602 can push small programs and scene information to users (such as customers) through the palm-swiping payment terminal 604. For example, merchant A can set the APPID of the small program to be pushed (such as the APPID of small program 1) and the page path information corresponding to the relevant sub-page of small program 1 (such as the voucher collection page) in the palm-swiping payment terminal 604. Subsequently, the palm-swiping payment terminal 604 can broadcast a Bluetooth signal 605 carrying the above information. At the same time, assuming that a palm payment terminal 605 is set up in the shop 603, the merchant B associated with the shop 603 can also use the palm payment terminal 605 to set the mini-programs and scene information that need to be pushed to customers, such as the APPID of the mini-program 2, and the page path information corresponding to the membership card collection page in the mini-program 2. After obtaining the above information set by the merchant B, the palm payment terminal 605 can send a Bluetooth signal 606 carrying the above information.

[0140] Continue to see Figure 6When the user enters the store 602, the user's mobile phone 607 can receive the Bluetooth signal 605 sent by the palm payment terminal 604 set in the store 602. At this time, the user's mobile phone 607 can parse the APPID of the small program 1 carried in the Bluetooth signal 605, and the page path information corresponding to the voucher collection page in the small program 1. Then, the user's mobile phone 607 can download the small program 1 from the server based on the APPID of the small program 1, and display the entry 608 of the small program 1 in the small program entry list (for example, the entry 608 of the small program 1 can be displayed at the first position in the small program entry list). When the user clicks on the entry 608 of the small program 1, the voucher collection page 609 can be directly displayed in the interface of the small program 1 based on the page path information obtained by parsing. In this way, merchant A can quickly push the voucher to the user through the small program 1. Subsequently, when the user leaves the shop 602 and enters the shop 603, at this time, the user's mobile phone 607 can receive the Bluetooth signal 606 sent by the palm payment terminal 605 set in the shop 603, and the user's mobile phone 607 parses the received Bluetooth signal 606 to obtain the APPID of the mini program 2 and the page path information corresponding to the membership card collection page in the mini program 2. Subsequently, the user's mobile phone 607 can download the mini program 2 from the server based on the APPID of the mini program 2, and display the entry 610 of the mini program 2 in the mini program entry list (for example, the entry 610 of the mini program 2 can be displayed in the mini program entry list, at this time, the entry 608 of the mini program 1 pushed by the merchant A is located in the second position). When the user clicks on the entry 610 of the mini program 2, the membership card collection page 611 can be directly displayed in the interface of the mini program 2 based on the page path information parsed from the Bluetooth signal 606, so that the mini program 2 is quickly opened, and the merchant B can quickly push the membership card to the user through the mini program 2, thereby improving the user's experience.

[0141] The following is a detailed description of the information recommendation method of the mini-program provided in the embodiment of the present application.

[0142] The mini-program information recommendation method provided in the embodiment of the present application can be applied to the palm-swipe payment terminal, in which a Bluetooth or other near-field communication hardware module can be integrated. In addition, at the software level, the palm-swipe payment terminal can also support merchants (or merchants) to customize the broadcast mini-program content and signal strength. At the same time, on the user's mobile phone, the establishment of the Bluetooth channel is supported. After the authentication is passed, the mini-program message push from the palm-swipe payment terminal can be received, and the entrance of the mini-program can be pulled and displayed. The user can quickly open the mini-program through the entrance.

[0143] For example, see Figure 7 , Figure 7is a schematic diagram of a palm-swipe payment scenario provided in an embodiment of the present application, such as Figure 7 As shown, a palm print recognition area is provided on the palm print payment terminal 701. After activating the palm print payment function, the user only needs to scan in the palm print recognition area. For example, the user places the palm 702 close to the palm print recognition area of ​​the palm print payment terminal 701 to complete the payment of the goods.

[0144] Next, continue to combine Figure 8 The information recommendation method of the mini-program provided in the embodiment of the present application is explained.

[0145] For example, see Figure 8 , Figure 8 is a schematic diagram of the overall architecture of the information recommendation method for a mini-program provided in an embodiment of the present application, such as Figure 8 As shown, the overall architecture of the information recommendation method of the mini program provided in the embodiment of the present application may include: the back-end service of instant messaging, the user's mobile phone, and the swipe palm payment terminal. The merchant can set the mini program and scene information (i.e., the relevant sub-pages in the mini program) that the swipe palm payment terminal needs to broadcast through the built-in APP on the swipe palm payment terminal. When the information setting is completed, the swipe palm payment terminal can summarize all the information to be transmitted (for example, including the APPID of the mini program, the page path information corresponding to the relevant sub-page, and the SN of the swipe palm payment terminal), and call the Advanced Encryption Standard (AES) module for encryption processing, and then broadcast the encrypted information. The user's mobile phone will receive the broadcast when it is close to the swipe palm payment terminal. After receiving the broadcast, the user's mobile phone can initiate a request to the back-end service of instant messaging to verify the legitimacy of the relevant broadcast information. If it is legal, the entrance of the mini program can be displayed. In this way, the user can click on the entrance of the mini program to quickly open the mini program. The following is a specific description of the above three parts.

[0146] 1. Palm payment terminal

[0147] In some embodiments, the palm payment terminal itself mainly carries palm payment and login related functions. A 3D camera (compared to an ordinary camera, it adds liveness related software and hardware, including a depth camera and an infrared camera, to ensure information security) and a security module (SE, Secure Element) component can be integrated in the palm payment terminal. The 3D camera is used for palm recognition related applications, and the SE component is used to provide a unique source of identification equipment and store related keys.

[0148] For example, the SE module may include an AES key storage module and a uniqueness authentication module. In the technical solution provided in the embodiment of the present application, after receiving the information broadcast by the swipe payment terminal, the user's mobile phone needs to verify the legitimacy of the broadcast. The verification method has two core points. On the one hand, in the SE module, identification information (such as SN) that can uniquely identify the identity of the swipe payment terminal is burned. When the swipe payment terminal leaves the factory, it is burned and logged in to the back-end service of instant messaging. If it is a forged device identification (such as ID information), the back-end service of instant messaging cannot query the swipe payment terminal. On the other hand, the signature key information from the instant messaging application can also be added to the burned device identification for subsequent verification of the identity of the broadcast request.

[0149] In other embodiments, a merchant configuration module may be integrated into the palm-swipe payment terminal, and merchants may configure the mini-program related information that needs to be broadcast on the palm-swipe payment terminal, such as the APPID of the mini-program that needs to be broadcast, and scene information (i.e., the relevant sub-pages within the mini-program), which is used to specify the path information for opening a certain level of page. At the same time, since merchants have different application scenario scales, such as some small shops that are only a few square meters, and some may be open areas of dozens of square meters, the solution provided in the embodiment of the present application can also additionally support the adjustment of the Bluetooth signal strength in meters, and the default broadcast is within 2 meters, which can meet the needs of most small shops.

[0150] In addition, a Bluetooth communication module can also be integrated into the swipe payment terminal, where the Bluetooth communication module is mainly used to broadcast Bluetooth signals through ibeacon, where the content carried in the Bluetooth signal may include {“app ID”: “XXXX”; “page path information”: “XXXX”; “device ID”: “XXX”}. In order to ensure data security, the AES encryption module in the Bluetooth communication module can encrypt the content to be transmitted using the key stored in the SE module and broadcast the encrypted content.

[0151] In some embodiments, the palm payment terminal may also be integrated with a palm application module, wherein the palm application module is mainly used to collect the user's current palm streaming media data by calling a 3D camera. After obtaining the streaming media data of the user's palm, the palm payment terminal may also optimize the obtained streaming media data, for example, by comprehensively evaluating the palm size, angle, image contrast, image brightness and clarity and other coefficients to select the best palm image. The optimized palm image may then be sent to the back-end service of instant messaging for palm recognition, and further obtain the user identity information corresponding to the palm, or payment code related information, and apply it, such as payment, or logging in to a merchant member, etc.

[0152] (II) User mobile terminal

[0153] In some embodiments, an instant messaging client may be run on the user's mobile phone, and a login module, a Bluetooth communication module, a message list module, and a small program module may be carried in the instant messaging client. For example, after the user logs in to the instant messaging client on the mobile phone, the instant messaging client is in a logged-in state, and the user can set the mobile phone to allow the reception of external Bluetooth broadcast signals. When the setting is turned on and the user is close to the swiping palm payment terminal, the user's mobile phone can receive the Bluetooth signal broadcast by the swiping palm payment terminal, and call the AES decryption module pre-built into the instant messaging client to decrypt the received Bluetooth signal. If the decryption is successful, the information source can be considered reliable, and then the identity of the swiping palm payment terminal can be further authenticated. The authentication identity requires the decrypted device ID information (such as the SN of the swiping palm payment terminal) to be sent to the back-end service of the instant messaging for matching authentication. If it passes, the swiping palm payment terminal is deemed to be a trusted device.

[0154] In other embodiments, following the above example, after the device authentication is passed, the instant messaging client can call the mini-program entry module in the message list module to update the mini-program entry list. For example, the mini-program entry module can pull the thumbnail and name of the corresponding mini-program through the decrypted APPID related information, and display it in the mini-program entry list. In addition, when the instant messaging client receives a user click operation on the mini-program entry, it can call the mini-program module in combination with the page path information previously obtained through Bluetooth communication to directly display the corresponding sub-page in the mini-program interface.

[0155] 3. Backend services for instant messaging

[0156] In some embodiments, Figure 8 As shown, the backend services of instant messaging may include: mini-program services, device authentication management services, palm-swiping services, and basic services, among which the mini-program services are mainly used to pull detailed information of related mini-programs through the APPID uploaded by the user's mobile phone; the device authentication management service includes key issuance services and unique authentication services. Before leaving the factory, all palm-swiping payment terminals need to upload the unique ID information generated on the device side to the backend service of instant messaging for management, and only devices that are consistent with the comparison are authenticated devices. The AES encryption and decryption keys are generated by the backend service of instant messaging and burned into the SE module of the palm-swiping payment terminal and the instant messaging client on the user's mobile phone.

[0157] In other embodiments, the palm recognition service in the palm swiping service is mainly used to extract features from the palm image uploaded by the palm swiping payment terminal after receiving it, and compare the extracted features with the features in the database to find the feature data with the highest score, and compare the relevant palm data with the authorized palm data in the back-end database. If the comparison is successful, that is, after the user's identity information is successfully matched, the payment code can be returned for payment operations. In addition, the basic service is mainly used by merchants to initiate payments to the payment back-end of instant messaging or perform identity recognition after obtaining payment codes or open authentication systems (OPENID).

[0158] The mini-program information recommendation method provided in the embodiment of the present application, through combining with the Bluetooth or other near-field communication software module integrated in the palm payment terminal, broadcasts relevant information and receives it by the user's mobile phone, pulls and displays the entrance to the mini-program, and the user can use the entrance to quickly open the mini-program in a specific scenario, thereby improving the user experience.

[0159] The following is a description of an exemplary structure of the mini-program information recommendation device 465 provided in the embodiment of the present application implemented as a software module. In some embodiments, Figure 2A As shown, the software modules in the information recommendation device 465 of the mini-program stored in the memory 460 may include: a receiving module 4651, a parsing module 4652, a downloading module 4653 and a display module 4654.

[0160] Receiving module 4651 is used to receive a short-range communication signal sent by a second electronic device, wherein the short-range communication signal carries a mini-program identifier and page path information; parsing module 4652 is used to parse the mini-program identifier and page path information from the short-range communication signal; downloading module 4653 is used to download a corresponding mini-program from a server based on the mini-program identifier; display module 4654 is used to display an entry to the mini-program; and in response to a trigger operation on the entry to the mini-program, display a target mini-program page corresponding to the page path information in the interface of the mini-program.

[0161] In some embodiments, the short-range communication signal also carries the device identification of the second electronic device, and the mini-program identification, page path information, and device identification are encrypted; the parsing module 4652 is also used to parse the encrypted data from the short-range communication signal and decrypt the encrypted data to obtain the mini-program identification, page path information, and device identification.

[0162] In some embodiments, the mini-program information recommendation device 465 also includes a sending module 4655 and a transfer module 4656, wherein the sending module 4655 is used to send a device identification to the server before the downloading module 4653 downloads the corresponding mini-program from the server based on the mini-program identification, so that the server performs authentication processing on the second electronic device based on the device identification and returns the authentication result to the first server; the transfer module 4656 is used to transfer and execute the processing of downloading the corresponding mini-program from the server based on the mini-program identification in response to the authentication result characterizing the second electronic device as a legal device.

[0163] In some embodiments, the information recommendation device 465 of the mini program also includes a deletion module 4657, which is used to delete the encrypted data in response to the authentication result characterizing the second electronic device as an illegal device; the display module 4654 is also used to display a first prompt message, wherein the first prompt message is used to prompt that the second electronic device is an illegal device.

[0164] In some embodiments, the sending module 4655 is also used to send the device identification to the server so that the server performs the following processing: querying a device identification library based on the device identification, wherein a plurality of authenticated device identifications are pre-stored in the device identification library; in response to the existence of the device identification in the device identification library, returning to the first electronic device an authentication result that the second electronic device is a legal device; in response to the absence of the device identification in the device identification library, returning to the first electronic device an authentication result that the second electronic device is an illegal device.

[0165] In some embodiments, the parsing module 4652 is also used to obtain a decryption key from the server, where the decryption key is the same as or different from the encryption key used by the second electronic device when encrypting the mini-program identifier, page path information, and device identifier; the encrypted data is decrypted based on the decryption key to obtain the mini-program identifier, page path information, and device identifier.

[0166] In some embodiments, the deletion module 4657 is further used to delete the encrypted data in response to failure to decrypt the encrypted data based on the decryption key; the display module 4654 is further used to display a second prompt message, wherein the second prompt message is used to indicate that the short-range communication signal is an illegal signal.

[0167] In some embodiments, the display module 4654 is also used to perform one of the following processes: displaying the entrance of the mini program in the interface of the host application of the mini program; displaying the mini program entrance list in response to a list trigger operation on the interface of the host application of the mini program, and displaying the entrance of the mini program in the mini program entrance list.

[0168] In some embodiments, when the entrance to the mini program is displayed in the interface of the host application, the display module 4654 is also used to jump from the interface of the host application to the interface of the mini program in response to a trigger operation on the entrance to the mini program; based on the page path information, determine the corresponding target mini program page from the multiple mini program pages included in the mini program, and display the target mini program page in the interface of the mini program.

[0169] In some embodiments, when the entrance of the mini program is displayed in the mini program entrance list, the display module 4654 is also used to jump to the interface of the mini program from the mini program entrance list in response to a trigger operation on the entrance of the mini program; based on the page path information, determine the corresponding target mini program page from the multiple mini program pages included in the mini program, and display the target mini program page in the interface of the mini program.

[0170] The following is a description of an exemplary structure of the mini-program information recommendation device 555 provided in the embodiment of the present application implemented as a software module. In some embodiments, Figure 2B As shown, the software modules in the information recommendation device 555 of the mini-program stored in the memory 550 may include: an acquisition module 5551 and a sending module 5552.

[0171] The acquisition module 5551 is used to obtain the mini-program identifier and page path information; the sending module 5552 is used to send a short-range communication signal carrying the mini-program identifier and page path information, wherein the short-range communication signal is used for the first electronic device that receives the short-range communication signal to perform the following processing: parsing the mini-program identifier and page path information from the short-range communication signal; downloading the corresponding mini-program from the server based on the mini-program identifier, and displaying the entry of the mini-program; in response to a trigger operation on the entry of the mini-program, displaying the target mini-program page corresponding to the page path information in the interface of the mini-program.

[0172] In some embodiments, the acquisition module 5551 is also used to obtain the device identification of the second electronic device; the information recommendation device 555 of the mini program also includes an encryption module 5553, which is used to encrypt the mini program identification, page path information, and device identification to obtain encrypted data; the sending module 5552 is also used to send a short-range communication signal carrying encrypted data.

[0173] In some embodiments, the acquisition module 5551 is also used to obtain an encryption key from the server, where the encryption key is the same as or different from the decryption key used by the first electronic device to decrypt the encrypted data; the encryption module 5553 is also used to encrypt the mini-program identifier, page path information, and device identifier based on the encryption key to obtain encrypted data.

[0174] In some embodiments, the information recommendation device 555 of the mini program also includes a determination module 5554 for performing one of the following processes: in response to a signal strength setting operation, determining the set signal strength as the signal strength of a short-range communication signal; obtaining environmental information in which the second electronic device is currently located, and determining the signal strength that is adapted to the environmental information as the signal strength of a short-range communication signal.

[0175] It should be noted that the description of the device in the embodiment of the present application is similar to the description of the method embodiment above, and has similar beneficial effects as the method embodiment, so it will not be repeated. Figures 3 to 5 The present invention should be understood by referring to the description of any one of the accompanying drawings.

[0176] The embodiment of the present application provides a computer program product, which includes a computer program or a computer executable instruction, and the computer program or the computer executable instruction is stored in a computer-readable storage medium. The processor of the computer device reads the computer executable instruction from the computer-readable storage medium, and the processor executes the computer executable instruction, so that the computer device executes the information recommendation method of the mini-program described in the embodiment of the present application.

[0177] The present application embodiment provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, the processor will execute the information recommendation method of the mini-program provided by the present application embodiment, for example, Figures 3 to 5 An information recommendation method for a mini-program as shown in any of the accompanying drawings.

[0178] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface storage, optical disk, or CD-ROM; or it may be various devices including one or any combination of the above memories.

[0179] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.

[0180] As an example, the executable instructions may be deployed to be executed on one electronic device, or on multiple electronic devices located at one site, or on multiple electronic devices distributed at multiple sites and interconnected by a communication network.

[0181] The above is only an embodiment of the present application and is not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.

Claims

1. A method for recommending information of a mini program, characterized in that: Applied to a first electronic device, the method includes: Receiving a short-range communication signal sent by a second electronic device, wherein the short-range communication signal carries a mini-program identifier and page path information; Parsing the mini-program identifier and the page path information from the short-range communication signal; Downloading a corresponding mini-program from a server based on the mini-program identifier, and displaying an entry to the mini-program; In response to a triggering operation on the entrance of the mini-program, a target mini-program page corresponding to the page path information is displayed in the interface of the mini-program.

2. The method according to claim 1, characterized in that The short-range communication signal also carries a device identification of the second electronic device, and the applet identification, the page path information, and the device identification are encrypted; The step of parsing the mini-program identifier and the page path information from the short-range communication signal includes: The encrypted data is parsed from the short-range communication signal, and the encrypted data is decrypted to obtain the mini-program identifier, the page path information, and the device identifier.

3. The method according to claim 2, characterized in that Before downloading the corresponding mini-program from the server based on the mini-program identifier, the method further includes: Sending the device identification to the server, so that the server performs authentication processing on the second electronic device based on the device identification, and returns an authentication result to the first server; In response to the authentication result indicating that the second electronic device is a legitimate device, the process of downloading the corresponding mini-program from the server based on the mini-program identifier is executed.

4. The method according to claim 3, characterized in that The method further comprises: In response to the authentication result indicating that the second electronic device is an illegal device, the encrypted data is deleted and first prompt information is displayed, wherein the first prompt information is used to prompt that the second electronic device is an illegal device.

5. The method according to claim 3, characterized in that: The sending the device identification to the server so that the server performs authentication processing on the second electronic device based on the device identification and returns the authentication result to the first server includes: Send the device identification to the server so that the server performs the following processing: Querying a device identification library based on the device identification, wherein the device identification library pre-stores a plurality of authenticated device identifications; In response to the presence of the device identification in the device identification library, returning to the first electronic device an authentication result that the second electronic device is a legitimate device; In response to the device identification not existing in the device identification library, returning an authentication result indicating that the second electronic device is an illegal device to the first electronic device.

6. The method according to claim 2, characterized in that The decrypting the encrypted data to obtain the applet identifier, the page path information, and the device identifier includes: Obtaining a decryption key from the server, wherein the decryption key is the same as or different from an encryption key used by the second electronic device when encrypting the mini-program identifier, the page path information, and the device identifier; The encrypted data is decrypted based on the decryption key to obtain the mini-program identifier, the page path information, and the device identifier.

7. The method according to claim 6, characterized in that The method further comprises: In response to failure to decrypt the encrypted data based on the decryption key, the encrypted data is deleted and second prompt information is displayed, wherein the second prompt information is used to prompt that the short-range communication signal is an illegal signal.

8. The method according to any one of claims 1 to 7, characterized in that: The display of the entry of the mini program includes: Perform one of the following actions: Displaying an entry to the mini-program in an interface of a host application of the mini-program; In response to a list triggering operation on the interface of the host application of the mini-program, a mini-program entry list is displayed, and the entry of the mini-program is displayed in the mini-program entry list.

9. The method according to claim 8, characterized in that When the entry of the mini program is displayed in the interface of the host application, in response to the triggering operation on the entry of the mini program, displaying the target mini program page corresponding to the page path information in the interface of the mini program includes: In response to a trigger operation on the entry of the mini-program, jumping from the interface of the host application to the interface of the mini-program; Based on the page path information, a corresponding target mini-program page is determined from a plurality of mini-program pages included in the mini-program, and the target mini-program page is displayed in the interface of the mini-program.

10. The method according to claim 8, characterized in that When the entry of the mini program is displayed in the mini program entry list, in response to the triggering operation on the entry of the mini program, displaying a target mini program page corresponding to the page path information in the interface of the mini program includes: In response to a triggering operation on the entry of the mini-program, jumping from the mini-program entry list to the interface of the mini-program; Based on the page path information, a corresponding target mini-program page is determined from a plurality of mini-program pages included in the mini-program, and the target mini-program page is displayed in the interface of the mini-program.

11. A method for recommending information of a mini program, characterized in that: Applied to a second electronic device, the method includes: Get the mini program ID and page path information; Sending a short-distance communication signal carrying the applet identifier and the page path information, wherein the short-distance communication signal is used for the first electronic device that receives the short-distance communication signal to perform the following processing: Parsing the mini-program identifier and the page path information from the short-range communication signal; Downloading a corresponding mini-program from a server based on the mini-program identifier, and displaying an entry to the mini-program; In response to a triggering operation on the entrance of the mini-program, a target mini-program page corresponding to the page path information is displayed in the interface of the mini-program.

12. The method according to claim 11, characterized in that The method further comprises: Acquire a device identification of the second electronic device; Encrypting the mini-program identifier, the page path information, and the device identifier to obtain encrypted data; The sending of the short-range communication signal carrying the mini-program identifier and the page path information includes: Sending a short-range communication signal carrying the encrypted data.

13. The method according to claim 12, characterized in that The encrypting the mini-program identifier, the page path information, and the device identifier to obtain encrypted data includes: Acquire an encryption key from the server, wherein the encryption key is the same as or different from a decryption key used by the first electronic device when decrypting the encrypted data; The mini-program identifier, the page path information, and the device identifier are encrypted based on the encryption key to obtain encrypted data.

14. The method according to claim 11, characterized in that The method further comprises: Perform one of the following actions: In response to a signal strength setting operation, determining the set signal strength as the signal strength of the short-range communication signal; The current environment information of the second electronic device is obtained, and the signal strength adapted to the environment information is determined as the signal strength of the short-range communication signal.

15. An information recommendation device for a mini program, characterized in that: Applied to a first electronic device, the device comprises: A receiving module, configured to receive a short-range communication signal sent by a second electronic device, wherein the short-range communication signal carries a mini-program identifier and page path information; A parsing module, used to parse the mini-program identifier and the page path information from the short-range communication signal; A download module, used to download the corresponding mini program from the server based on the mini program identifier; A display module, used to display the entrance of the mini program; The display module is also used to display a target mini-program page corresponding to the page path information in the interface of the mini-program in response to a trigger operation on the entrance of the mini-program.

16. An information recommendation device for a mini program, characterized in that: Applied to a second electronic device, the device comprises: The acquisition module is used to obtain the mini program identifier and page path information; A sending module, used for sending a short-range communication signal carrying the mini-program identifier and the page path information, wherein the short-range communication signal is used for a first electronic device that receives the short-range communication signal to perform the following processing: parsing the mini-program identifier and the page path information from the short-range communication signal; downloading the corresponding mini-program from a server based on the mini-program identifier, and displaying an entry to the mini-program; and displaying a target mini-program page corresponding to the page path information in the interface of the mini-program in response to a trigger operation on the entry to the mini-program.

17. An electronic device, characterized in that: include: A memory for storing executable instructions; The processor is used to implement the information recommendation method of the mini program described in any one of claims 1 to 10 or any one of claims 11 to 14 when executing the executable instructions stored in the memory.

18. A computer-readable storage medium storing computer-executable instructions, characterized in that: When the computer executable instructions are executed by the processor, the information recommendation method of the mini program described in any one of claims 1 to 10 or any one of claims 11 to 14 is implemented.

19. A computer program product comprising a computer program or computer executable instructions, characterized in that: When the computer program or computer executable instruction is executed by a processor, the information recommendation method of the mini program described in any one of claims 1 to 10 or any one of claims 11 to 14 is implemented.