WO2021036877A1 - Information processing method, device, and computer storage medium - Google Patents

Information processing method, device, and computer storage medium Download PDF

Info

Publication number
WO2021036877A1
WO2021036877A1 PCT/CN2020/109954 CN2020109954W WO2021036877A1 WO 2021036877 A1 WO2021036877 A1 WO 2021036877A1 CN 2020109954 W CN2020109954 W CN 2020109954W WO 2021036877 A1 WO2021036877 A1 WO 2021036877A1
Authority
WO
WIPO (PCT)
Prior art keywords
host application
function
information
order
host
Prior art date
Application number
PCT/CN2020/109954
Other languages
French (fr)
Chinese (zh)
Inventor
崔英林
Original Assignee
上海连尚网络科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 上海连尚网络科技有限公司 filed Critical 上海连尚网络科技有限公司
Publication of WO2021036877A1 publication Critical patent/WO2021036877A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • G06F9/4484Executing subprograms

Definitions

  • This application relates to the field of computer application technology, and in particular to an information processing method, equipment, and computer storage medium in a small program scenario.
  • Mini Program is an application that can be used without installation, and it runs in the environment provided by the host application.
  • the applet often uses some functions of the host application in the process of providing services. For example, when the applet triggers the payment function, the host application is required to provide a payment channel. However, if the host application where the applet is located does not have this function, the service of the applet will fail.
  • this application provides an information processing method, device, and computer storage medium to facilitate solving the above-mentioned problems.
  • this application provides an information processing method, which is executed by a first host application of a terminal device, and the method includes:
  • the method further includes:
  • the first host application determines the first host application by detecting whether information about the function exists in the installation package of the first host application or whether the package name of the first host application indicates that the function exists Whether it has the function; or,
  • the first host application sends event information that triggers the function of the host application to the server end of the first host application, and the server end of the first host application determines whether the first host application has the function.
  • the method further includes:
  • the first host application enumerates the host application list of the terminal device, and detects whether there is information identifying the function in the installation package of each host application in the list or whether the package name of each host application indicates that the function exists , To determine the host application with the function in the terminal device; or,
  • the first host application sends the enumerated host application list of the terminal device to the server end of the first host application, and the server end of the first host application determines that the host application list contains all The host application with the function, and the information of the host application with the function is returned to the first host application.
  • the method further includes:
  • the information of the multiple host applications with the function is displayed to the user, so that the user can select a host application from them as the second host application .
  • sending the function parameters to the second host application with the function in the terminal device includes:
  • sending the function parameters to the second host application with the function in the terminal device includes:
  • Encrypting the function parameters by using a session key negotiated in advance by the first host application and the second host application, and sending the encrypted function parameters to the second host application;
  • the execution result returned after receiving the second host application to execute the function includes:
  • the function includes a payment function of a designated payment channel
  • the function parameters include order information
  • the execution result information includes: payment result.
  • the obtaining of the event that the applet triggers the function of the host application includes: obtaining a request for the applet in the first host application to create an order, and the request includes order information;
  • the order-related information includes: encrypted order information, encryption key information, and order reconciliation information;
  • the function parameters include: the encrypted order information, the encryption key information, verification information, and a time stamp.
  • the order-related information further includes order reconciliation information;
  • the function parameters and execution result information also respectively include the order reconciliation information;
  • the method also includes:
  • the first host application sends the execution result information to the server of the first host application for storage, so that the server of the first host application uses the order reconciliation information to perform bill reconciliation.
  • the function parameter is sent to the second host application with the function in the terminal device again, or the function The parameters are sent to other host applications that have the function in the terminal device.
  • this application provides an information processing method, which is executed by a second host application of a terminal device, and the method includes:
  • receiving the functional parameter sent by the first host application in the terminal device includes:
  • Returning execution result information to the first host application includes:
  • the execution result information is encrypted by using the session key, and the encrypted execution result information is returned to the first host application.
  • the function includes a payment function of a designated payment channel
  • the function parameters include order information
  • the execution result information includes: payment result.
  • the function parameters include: encrypted order information, encryption key information, order reconciliation information, verification information, and time stamp;
  • the execution result information includes the payment result and the order reconciliation information
  • the method further includes: sending the function parameters to the server of the second host application for storage, so that the server of the second host application uses the order reconciliation information to perform order reconciliation.
  • using the function parameter to execute the function includes:
  • this application provides an information processing method, which is executed by the server of the first host application, and the method includes:
  • the function includes a payment function of a designated payment channel
  • the obtaining of the event that the mini program triggers the function of the host application includes: obtaining a request for the mini program in the first host application to create an order, and the request includes order information;
  • the method further includes: returning order-related information to the first host application, where the order-related information includes: encrypted order information, encryption key information, and order reconciliation information;
  • the order reconciliation information is used for bill reconciliation.
  • the present application provides a device, and the device includes:
  • One or more processors are One or more processors;
  • Storage device used to store one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described above.
  • the present application provides a storage medium containing computer-executable instructions, which are used to perform the above-mentioned method when executed by a computer processor.
  • FIG. 1 is a schematic diagram of the system architecture involved in this application.
  • FIG. 2 is a flowchart of processing executed by the host application 1 provided by an embodiment of the application;
  • FIG. 3 is a flowchart of processing executed by the host application 2 provided by an embodiment of the application;
  • Figure 4 is a flow chart of a method for implementing a payment function provided by an embodiment of the application
  • FIG. 5 is a flowchart of a method for implementing a search function provided by an embodiment of the application
  • Fig. 6 shows a block diagram of an exemplary computer system/server suitable for implementing the embodiments of the present application.
  • the system architecture mainly includes a host application and a server side corresponding to the host application.
  • the applet relies on the host application to run on the terminal device, and the environment in which the applet runs is provided by the host application.
  • the terminal devices may include, but are not limited to, such as: smart mobile terminals, smart home devices, network devices, wearable devices, smart medical devices, PCs (personal computers), etc.
  • smart mobile devices can include mobile phones, tablet computers, notebook computers, PDAs (personal digital assistants), Internet cars, and so on.
  • Smart home devices may include smart home appliances, such as smart TVs, smart speakers, and so on.
  • Network equipment may include, for example, switches, wireless APs, servers, and so on.
  • Wearable devices may include, for example, smart watches, smart glasses, smart bracelets, virtual reality devices, augmented reality devices, mixed reality devices (that is, devices that can support virtual reality and augmented reality), and so on.
  • the same terminal device may contain multiple host applications.
  • the host application 1 and the host application 2 are taken as an example.
  • a host application may also run multiple applets, and different host applications may run different applets or the same applet.
  • the host application 1 runs the applet a1 and the applet b1
  • the host application 2 runs the applet a2 and the applet b2.
  • Each host application has a corresponding server side. As shown in FIG. 1, the host application 1 corresponds to the server side 1, and the host application 2 corresponds to the server side 2. Each host application can interact with its corresponding server. In the embodiment of the present application, data exchange can also be performed between different servers.
  • Each server can be a single server or a server group composed of multiple servers. It should be understood that the numbers of terminal devices, host applications, applets, and servers in FIG. 1 are merely illustrative. According to implementation needs, there can be any number of terminal devices, host applications, applets, and servers.
  • the core idea of this application is that when an applet triggers the function of the host application, if the host application where the applet is located does not have the function, the function parameters are sent to other host applications with the function in the same terminal device to perform the function on their behalf .
  • the host application 1 obtains the event that the applet a1 triggers the function of the host application.
  • the event that triggers the function of the host application is also different.
  • the applet a1 needs to use a certain function of the host application 1, an event that triggers the function is generated.
  • the host application 1 obtains the event, it can know that the function needs to be called.
  • the host application 1 determines whether it has the function, if so, execute 203; otherwise, execute 204.
  • the detection of whether the host application 1 has the function can be performed by the host application 1 itself, or can be performed by the server side 1 corresponding to the host application 1.
  • the host application 1 can determine whether the host application 1 has the function by detecting whether information about the function exists in the installation package of the host application 1 or whether the package name of the host application 1 indicates that the function exists.
  • the host application 1 may send the event information that the applet a1 triggers the function of the host application to the server side 1 of the host application 1, and the server side 1 determines whether the host application 1 has the function.
  • whether the host application has a certain function is related to the development of the service provider, that is, whether the service provider integrates the function into the host application when developing this type of host application, and on the other hand, it is also related to the version of the host application 1.
  • the server 1 can determine whether the host application 1 has the function according to the development configuration information and the version information of the host application 1, and feeds back the information indicating whether the host application 1 has the function to the host application 1.
  • the host application 1 executes the function, and the process ends.
  • the function can be executed in the manner in the prior art.
  • the host application 1 determines the host application 2 that has the function in the terminal device.
  • the installation package of the host application may be agreed in advance to set the information identifying a specific function in the installation package of the host application. If the host application has the specific function, the installation package will have the specific function to identify the specific function. Information.
  • the package name of the host application can indicate that the host application has the specific function.
  • the host application 1 can enumerate the host application list of the terminal device, and then detect whether there is information identifying the function in the installation package of each host application in the host application list, or detect the package of each host application Whether the name indicates that the function exists, so as to determine the host application that has the function in the terminal device.
  • the server side 1 determines the host application that has the function in the terminal device. Specifically, the host application 1 may send the enumerated host application list of the terminal device to the server 1.
  • the service providers can cooperate in advance on some specific functions, and the server 1 is configured with information of a host application with specific functions. After the server 1 receives the host application list sent by the host application 1, it determines the host application in the list that has the function corresponding to the event, and returns the information of the host application with the function corresponding to the event to the host application 1.
  • the host application 1 can directly use the host application as the aforementioned host application 2. If multiple host applications with this function are determined, the host application 1 can select one of them as the host application 2 according to a preset rule. In addition, as a preferred implementation manner, the determined multiple host application information may be displayed to the user, so that the user can select a host application from them as the host application 2 described above.
  • the host application 1 sends the function parameters to the host application 2 with the function in the terminal device.
  • the host application 1 can call the corresponding function interface of the host application 2 and transfer function parameters through the Intent event.
  • host application 1 When host application 1 sends functional parameters to host application 2, in order to ensure the security of information, host application 1 and host application 2 can negotiate the session key, and the information transmitted between host application 1 and host application 2 is required Use the session key for encryption. Then host application 1 encrypts the function parameters using the negotiated session key and sends them to host application 2, and host application 2 uses the session key to decrypt the received function parameters.
  • the host application 1 After the host application 1 receives the execution result information, it can send the execution result information to the server 1 for storage.
  • the host application 2 mainly executes the processing flow shown in Figure 3:
  • the host application 2 receives the function parameters sent by the host application 1.
  • the function parameters involved in this step can be encrypted function parameters.
  • the host application 2 can use the session key negotiated with the host application 1 in advance to decrypt the encrypted function parameters.
  • the host application 2 may send the function parameters to the server side 2, and the server side 2 processes the function parameters according to the function parameters.
  • This step may be an existing function execution process, which is not described in detail here.
  • the execution result information is returned to the host application 1.
  • the host application 2 may send the execution result to the host application 1 after being encrypted with a pre-negotiated session key.
  • the host application function involved in this application can be any function of the host application called during the use of the applet, such as search function, payment function, etc. The following is described in conjunction with the embodiments respectively.
  • Fig. 4 is a flowchart of a method for implementing a payment function provided by an embodiment of the application. As shown in Fig. 4, the method may include the following steps:
  • the host application 1 obtains the order creation request of the applet a1 in the host application 1.
  • the user needs to call the payment function of the host application when creating an order.
  • the order will also contain the information of the payment channel.
  • the payment channel can be a payment channel designated by the service, or a payment channel selected by the user. Therefore, the order information contained in the order creation request contains the information of the payment channel, which triggers the calling of the payment function of the host application 1 using the payment channel.
  • the host application 1 sends a request to create an order to its own server, that is, the server 1.
  • the server 1 returns order-related information to the host application 1, where the order-related information includes encrypted order information, encryption key information, and order reconciliation information.
  • the server side 1 determines that the host application 1 does not have the payment function of the payment channel and cannot directly perform payment processing. Therefore, the server side 1 returns the order-related information to the host application 1. After the host application 1 receives the order-related information, it can determine itself This payment function is not available.
  • the order information contained in the order-related information is encrypted, and the encryption key information used is also included in the order-related information.
  • the encryption key information may be symmetric key information or asymmetric key information, as long as the encryption key information can be used to decrypt the encrypted order information.
  • the order reconciliation information is unique and unforgeable information generated by the server 1, which can uniquely identify the order and is difficult to be cracked by other devices.
  • the order reconciliation information can be obtained by encrypting random information such as random numbers and timestamps with a key known only by the server 1; of course, other methods can also be used, as long as the uniqueness and unforgeability can be guaranteed.
  • the host application 1 determines the host application 2 with the payment function in the terminal device.
  • the host application 1 enumerates all host applications in the terminal device to obtain a host application list, detects whether there is a payment function that identifies the designated payment channel in the installation package of each host application in the list, and obtains a host application with the payment function of the designated payment channel. If multiple host applications are obtained, the multiple host applications can be displayed to the user in a manner such as a pop-up window, and the user selects a host application from them as the host application that performs the payment function. Assume that the user selects the host application 2.
  • the server 1 can also use the host application list of the terminal device uploaded by the host application 1 to determine the host application in the terminal device that has the payment function of the specified payment channel, and return the information of these host applications to the host Application 1.
  • the host application 1 may send the host application list together with the request in step 402, or send it separately after 403, or enumerate and upload the host application list to the server 1 after the host application 1 is started.
  • the host application 1 and the host application 2 negotiate a session key.
  • the session key negotiation between the host application 1 and the host application 2 may be performed in the embodiment of the present application.
  • the negotiation method of the session key may adopt an existing negotiation method in the prior art, which is not described in detail here.
  • the host application 1 uses the session key to encrypt the payment function parameters and sends them to the host application 2.
  • the payment function parameters are obtained from the order-related information.
  • the payment function parameters may also include verification information and time stamps.
  • the verification information is used to verify the integrity of the payment function parameters, for example, it may be information obtained after hashing the encrypted order information, encryption key information, and time stamp.
  • the payment function parameters can be sent to the host application 2 according to a preset data format.
  • the host application 1 calls the payment function interface of the host application 2 through the Intent event and transmits the above payment function parameters.
  • the host application 2 uses the session key to decrypt the payment function parameters.
  • the host application 2 sends the payment function parameters to the server 2.
  • the server 2 After the server 2 receives the payment function parameters, it uses the verification information to perform integrity verification, for example, after hashing the encrypted order information, encryption key information, and timestamp, the value obtained by the hash processing is combined with the verification The information is compared, and if they are consistent, the integrity check is passed, otherwise the integrity check fails.
  • the order information After decrypting the encrypted order information using the encryption key information, the order information is obtained, and the subsequent payment processing is performed using the order information.
  • the server 2 saves the correspondence between the order information and the order reconciliation information for subsequent order reconciliation.
  • the server 2 returns to the host application 2 a payment interface containing the information of the designated payment channel.
  • the order information includes designated payment channel information, payment amount, payee information, etc.
  • the server uses this information to generate a payment interface and return it to the host application 2, and the host application 2 displays the payment interface to the user.
  • the host application 2 sends the payment information input by the user on the payment interface to the server 2.
  • the user can input payment information such as password, verification code, and biometric information on the payment interface, and the host application 2 sends the payment information to the server 2.
  • the password can be a digital key, a gesture password, a voice password, and so on.
  • the verification code can be an image verification code, an SMS verification code, and so on.
  • the biometric information can be fingerprint, voiceprint, iris, face and other feature information.
  • the server 2 can verify the payment information locally, or send the payment information to a third-party payment platform or banking system corresponding to the designated payment channel for verification. If the verification is passed, the payment is successful, otherwise the payment fails.
  • the server 2 saves the payment result and order reconciliation information for subsequent order reconciliation processing.
  • the above 409 to 411 are one of the implementation methods provided by this application, and for the server end 2, other payment processing methods can also be used. For example, if the user has previously set a password-free payment in the host application 2, the server 2 directly returns the payment success information to the host application 2.
  • the host application 2 uses the session key to encrypt the execution result information and sends it to the host application 1.
  • the execution result information includes payment result and order reconciliation information.
  • the execution result information is sent to the server 1 for storage.
  • the server 1 saves the correspondence between the payment result and the order reconciliation information.
  • Fig. 5 is a flowchart of a method for implementing a search function provided by an embodiment of the application. As shown in Fig. 5, the method may include the following steps:
  • the host application 1 obtains a search request for the applet b1 in the host application 1.
  • the search request may include search keywords and may further include: search type information, such as a webpage Search, image search, map search, etc.
  • the host application 1 determines the host application 2 in the terminal device that has the search function.
  • the host application 1 can detect whether there is information identifying the search function in its own installation package, and if not, it can be considered to detect that it does not have the search function.
  • the host application 1 enumerates the host application list in the terminal device, and determines the host application with the search function in the terminal device by detecting whether there is information identifying the search function in the installation package of each host application in the list. If there are multiple host applications with a search function, the information of the multiple host applications can be displayed to the user, and the user selects a host application from them, assuming that the host application 2 is selected.
  • the host application 1 and the host application 2 negotiate a session key.
  • the host application 1 uses the session key to encrypt the search function parameters and sends them to the host application 2.
  • the search function parameters are obtained from the search request.
  • the search function parameters can also include verification information, time stamps and other information.
  • the search information can also be in an encrypted form.
  • the search function parameters also include encryption key information.
  • the host application 1 can call the search function interface of the host application 2 through the Intent event and pass the above search function parameters.
  • the host application 2 uses the session key to decrypt the search function parameters.
  • the host application 2 sends the search function parameters to the server 2.
  • the server 2 After the server 2 receives the search function parameters, it uses the verification information to perform integrity verification. After decrypting the encrypted search information by using the encryption key information, the search information is obtained, and the search information is used for search processing.
  • the server 2 returns the search result information to the host application 2.
  • the address information such as the search result page can be sent to the host application 2.
  • the host application 2 uses the session key to encrypt the search result information and sends it to the host application 1.
  • the host application 1 uses the session key to decrypt the search result information, and then displays the search result.
  • Figure 6 shows a block diagram of an exemplary computer system/server 012 suitable for implementing embodiments of the present application.
  • the computer system/server 012 shown in FIG. 6 is only an example, and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
  • the computer system/server 012 is in the form of a general-purpose computing device.
  • the components of the computer system/server 012 may include, but are not limited to: one or more processors or processing units 016, a system memory 028, and a bus 018 connecting different system components (including the system memory 028 and the processing unit 016).
  • the bus 018 represents one or more of several types of bus structures, including a memory bus or a memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any bus structure among multiple bus structures.
  • these architectures include, but are not limited to, industry standard architecture (ISA) bus, microchannel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and peripheral component interconnection ( PCI) bus.
  • ISA industry standard architecture
  • MAC microchannel architecture
  • VESA Video Electronics Standards Association
  • PCI peripheral component interconnection
  • the computer system/server 012 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer system/server 012, including volatile and nonvolatile media, removable and non-removable media.
  • the system memory 028 may include a computer system readable medium in the form of volatile memory, such as random access memory (RAM) 030 and/or cache memory 032.
  • the computer system/server 012 may further include other removable/non-removable, volatile/nonvolatile computer system storage media.
  • the storage system 034 can be used to read and write non-removable, non-volatile magnetic media (not shown in FIG. 6, and generally referred to as a "hard drive").
  • a disk drive for reading and writing to a removable non-volatile disk such as a "floppy disk”
  • a removable non-volatile optical disk such as CD-ROM, DVD-ROM
  • each drive can be connected to the bus 018 through one or more data media interfaces.
  • the memory 028 may include at least one program product, and the program product has a set (for example, at least one) program modules, and these program modules are configured to perform the functions of the embodiments of the present application.
  • a program/utility tool 040 with a set of (at least one) program module 042 can be stored in, for example, the memory 028.
  • Such program module 042 includes, but is not limited to, an operating system, one or more application programs, and other programs Modules and program data, each of these examples or some combination may include the realization of a network environment.
  • the program module 042 generally executes the functions and/or methods in the embodiments described in this application.
  • the computer system/server 012 can also communicate with one or more external devices 014 (such as a keyboard, pointing device, display 024, etc.).
  • the computer system/server 012 communicates with an external radar device, and can also communicate with one or more external radar devices.
  • I/O input/output
  • the computer system/server 012 can also communicate with one or more networks (for example, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through the network adapter 020.
  • networks for example, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet
  • the network adapter 020 communicates with other modules of the computer system/server 012 through the bus 018.
  • other hardware and/or software modules can be used in conjunction with the computer system/server 012, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems , Tape drives and data backup storage systems.
  • the processing unit 016 executes various functional applications and data processing by running programs stored in the system memory 028, for example, to implement the method flow provided in the embodiments of the present application.
  • the above-mentioned computer program may be set in a computer storage medium, that is, the computer storage medium is encoded with a computer program.
  • the program When the program is executed by one or more computers, one or more computers can execute the operations shown in the above-mentioned embodiments of this application.
  • the method flow and/or device operation For example, the process of the method provided in the embodiment of the present application is executed by the above-mentioned one or more processors.
  • the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium.
  • the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above.
  • computer-readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), Erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • RAM random access memory
  • ROM read-only memory
  • EPROM or flash memory Erasable programmable read-only memory
  • CD-ROM compact disk read-only memory
  • the computer-readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, apparatus, or device.
  • the computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and computer-readable program code is carried therein. This propagated data signal can take many forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium.
  • the computer-readable medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
  • the program code contained on the computer-readable medium can be transmitted by any suitable medium, including, but not limited to, wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
  • the computer program code used to perform the operations of the present application can be written in one or more programming languages or a combination thereof.
  • the programming languages include object-oriented programming languages-such as Java, Smalltalk, C++, and also conventional Procedural programming language-such as "C" language or similar programming language.
  • the program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server.
  • the remote computer can be connected to the user's computer through any kind of network-including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to connect to the user's computer) connection).
  • LAN local area network
  • WAN wide area network

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present application provides an information processing method, a device, and a computer storage medium. The method comprises: after a first host application in a terminal device obtains an event that a mini program triggers a host application function, if the first host application does not have the function, sending function parameters to a second host application having the function in the terminal device; and receiving execution result information returned after the second host application executes the function. According to the present application, when the first host application does not have the host application function triggered by the mini program, the function can still be achieved by means of the second host application having the function in the terminal device, thereby ensuring that the mini program provides service successfully.

Description

一种信息处理方法、设备和计算机存储介质Information processing method, equipment and computer storage medium 【技术领域】【Technical Field】
本申请涉及计算机应用技术领域,特别涉及一种小程序场景下的信息处理方法、设备和计算机存储介质。This application relates to the field of computer application technology, and in particular to an information processing method, equipment, and computer storage medium in a small program scenario.
【背景技术】【Background technique】
本部分旨在为权利要求书中陈述的本申请的实施方式提供背景或上下文。此处的描述不因为包括在本部分中就被认为是现有技术。This section is intended to provide background or context for the implementation of the application stated in the claims. The description here is not considered prior art just because it is included in this section.
小程序(Mini Program)是一种不需要安装即可使用的应用,其运行于宿主应用提供的环境下。小程序在提供服务的过程中往往会使用到宿主应用的一些功能,例如小程序触发支付功能时,需要宿主应用来提供支付通道。但如果小程序所在的宿主应用不具备该功能,则会导致该小程序的服务失败。Mini Program is an application that can be used without installation, and it runs in the environment provided by the host application. The applet often uses some functions of the host application in the process of providing services. For example, when the applet triggers the payment function, the host application is required to provide a payment channel. However, if the host application where the applet is located does not have this function, the service of the applet will fail.
【发明内容】[Summary of the invention]
有鉴于此,本申请提供了一种信息处理方法、设备和计算机存储介质,以便于解决上述问题。In view of this, this application provides an information processing method, device, and computer storage medium to facilitate solving the above-mentioned problems.
具体技术方案如下:The specific technical solutions are as follows:
第一方面,本申请提供了一种信息处理方法,由终端设备的第一宿主应用执行,该方法包括:In the first aspect, this application provides an information processing method, which is executed by a first host application of a terminal device, and the method includes:
获取到小程序触发宿主应用功能的事件后,若所述第一宿主应用不具备所述功能,则将功能参数发送给所述终端设备中具备所述功能的第二宿主应用;After obtaining the event that the applet triggers the function of the host application, if the first host application does not have the function, sending the function parameters to the second host application having the function in the terminal device;
接收所述第二宿主应用执行所述功能后返回的执行结果信息。Receiving execution result information returned after the second host application executes the function.
根据本申请一优选实施方式,该方法还包括:According to a preferred embodiment of the present application, the method further includes:
所述第一宿主应用通过检测所述第一宿主应用的安装包中是否存在所述功能的信息或者所述第一宿主应用的包名是否指示存在所述功能,来确定所述第一宿主应用是否具备所述功能;或者,The first host application determines the first host application by detecting whether information about the function exists in the installation package of the first host application or whether the package name of the first host application indicates that the function exists Whether it has the function; or,
所述第一宿主应用将触发宿主应用功能的事件信息发送至所述第一宿主应用的服务器端,由所述第一宿主应用的服务器端确定所述第一宿主应用是否 具备所述功能。The first host application sends event information that triggers the function of the host application to the server end of the first host application, and the server end of the first host application determines whether the first host application has the function.
根据本申请一优选实施方式,该方法还包括:According to a preferred embodiment of the present application, the method further includes:
所述第一宿主应用通过枚举所述终端设备的宿主应用列表,并检测列表中各宿主应用的安装包中是否存在标识所述功能的信息或者各宿主应用的包名是否指示存在所述功能,来确定所述终端设备中具备所述功能的宿主应用;或者,The first host application enumerates the host application list of the terminal device, and detects whether there is information identifying the function in the installation package of each host application in the list or whether the package name of each host application indicates that the function exists , To determine the host application with the function in the terminal device; or,
所述第一宿主应用将枚举得到的所述终端设备的宿主应用列表发送给所述第一宿主应用的服务器端,由所述第一宿主应用的服务器端确定所述宿主应用列表中具备所述功能的宿主应用,并将具备所述功能的宿主应用的信息返回给所述第一宿主应用。The first host application sends the enumerated host application list of the terminal device to the server end of the first host application, and the server end of the first host application determines that the host application list contains all The host application with the function, and the information of the host application with the function is returned to the first host application.
根据本申请一优选实施方式,该方法还包括:According to a preferred embodiment of the present application, the method further includes:
若所述终端设备中存在多个具备所述功能的宿主应用,则将所述多个具备所述功能的宿主应用信息展示给用户,以供用户从中选择一个宿主应用作为所述第二宿主应用。If there are multiple host applications with the function in the terminal device, the information of the multiple host applications with the function is displayed to the user, so that the user can select a host application from them as the second host application .
根据本申请一优选实施方式,将功能参数发送给所述终端设备中具备所述功能的第二宿主应用包括:According to a preferred embodiment of the present application, sending the function parameters to the second host application with the function in the terminal device includes:
通过意图Intent事件调用所述第二宿主应用的所述功能的接口并传递所述功能参数。Invoke the interface of the function of the second host application through the Intent event and transfer the function parameters.
根据本申请一优选实施方式,将功能参数发送给所述终端设备中具备所述功能的第二宿主应用包括:According to a preferred embodiment of the present application, sending the function parameters to the second host application with the function in the terminal device includes:
利用所述第一宿主应用与所述第二宿主应用预先协商的会话密钥对所述功能参数进行加密,将加密后的功能参数发送给所述第二宿主应用;Encrypting the function parameters by using a session key negotiated in advance by the first host application and the second host application, and sending the encrypted function parameters to the second host application;
接收所述第二宿主应用执行所述功能后返回的执行结果包括:The execution result returned after receiving the second host application to execute the function includes:
接收所述第二宿主应用执行所述功能后返回的加密的执行结果,利用所述会话密钥对所述加密的执行结果进行解密。Receiving the encrypted execution result returned after the second host application executes the function, and decrypts the encrypted execution result by using the session key.
根据本申请一优选实施方式,所述功能包括指定支付通道的支付功能;According to a preferred embodiment of the present application, the function includes a payment function of a designated payment channel;
所述功能参数包括订单信息;The function parameters include order information;
所述执行结果信息包括:支付结果。The execution result information includes: payment result.
根据本申请一优选实施方式,所述获取到小程序触发宿主应用功能的事件 包括:获取到所述第一宿主应用中小程序创建订单的请求,所述请求中包含订单信息;According to a preferred embodiment of the present application, the obtaining of the event that the applet triggers the function of the host application includes: obtaining a request for the applet in the first host application to create an order, and the request includes order information;
接收到第一宿主应用的服务器端返回的订单相关信息后,确定所述第一宿主应用不具备所述功能。After receiving the order-related information returned by the server of the first host application, it is determined that the first host application does not have the function.
根据本申请一优选实施方式,所述订单相关信息包括:加密的订单信息、加密密钥信息和订单对账信息;According to a preferred embodiment of the present application, the order-related information includes: encrypted order information, encryption key information, and order reconciliation information;
所述功能参数包括:所述加密的订单信息、所述加密密钥信息、校验信息和时间戳。The function parameters include: the encrypted order information, the encryption key information, verification information, and a time stamp.
根据本申请一优选实施方式,所述订单相关信息还包括订单对账信息;所述功能参数和执行结果信息中也分别包含所述订单对账信息;According to a preferred embodiment of the present application, the order-related information further includes order reconciliation information; the function parameters and execution result information also respectively include the order reconciliation information;
该方法还包括:The method also includes:
所述第一宿主应用将所述执行结果信息发送至所述第一宿主应用的服务器端保存,以便所述第一宿主应用的服务器端利用所述订单对账信息进行账单对账。The first host application sends the execution result information to the server of the first host application for storage, so that the server of the first host application uses the order reconciliation information to perform bill reconciliation.
根据本申请一优选实施方式,若所述执行结果信息包括执行失败的信息,则重新执行所述将功能参数发送给所述终端设备中具备所述功能的第二宿主应用,或者将所述功能参数发送给所述终端设备中具备所述功能的其他宿主应用。According to a preferred embodiment of the present application, if the execution result information includes execution failure information, the function parameter is sent to the second host application with the function in the terminal device again, or the function The parameters are sent to other host applications that have the function in the terminal device.
第二方面,本申请提供了一种信息处理方法,由终端设备的第二宿主应用执行,该方法包括:In a second aspect, this application provides an information processing method, which is executed by a second host application of a terminal device, and the method includes:
接收所述终端设备中第一宿主应用发送的功能参数,所述功能参数是第一宿主应用获取到小程序触发宿主应用功能的事件且确定自身不具备所述功能后发送的;Receiving a function parameter sent by a first host application in the terminal device, where the function parameter is sent after the first host application obtains an event in which the applet triggers the function of the host application and determines that it does not have the function;
利用所述功能参数执行所述功能;Execute the function using the function parameter;
向所述第一宿主应用返回执行结果信息。Return execution result information to the first host application.
根据本申请一优选实施方式,接收所述终端设备中第一宿主应用发送的功能参数包括:According to a preferred embodiment of the present application, receiving the functional parameter sent by the first host application in the terminal device includes:
接收所述第一宿主应用发送的加密的功能参数,利用所述第一宿主应用与所述第二宿主应用预先协商的会话密钥,对所述加密的功能参数进行解密;Receiving an encrypted function parameter sent by the first host application, and decrypting the encrypted function parameter by using a session key negotiated in advance by the first host application and the second host application;
向所述第一宿主应用返回执行结果信息包括:Returning execution result information to the first host application includes:
利用所述会话密钥对所述执行结果信息进行加密,向所述第一宿主应用返回加密后的执行结果信息。The execution result information is encrypted by using the session key, and the encrypted execution result information is returned to the first host application.
根据本申请一优选实施方式,所述功能包括指定支付通道的支付功能;According to a preferred embodiment of the present application, the function includes a payment function of a designated payment channel;
所述功能参数包括订单信息;The function parameters include order information;
所述执行结果信息包括:支付结果。The execution result information includes: payment result.
根据本申请一优选实施方式,所述功能参数包括:加密的订单信息、加密密钥信息、订单对账信息、校验信息和时间戳;According to a preferred embodiment of the present application, the function parameters include: encrypted order information, encryption key information, order reconciliation information, verification information, and time stamp;
所述执行结果信息包括支付结果和所述订单对账信息;The execution result information includes the payment result and the order reconciliation information;
该方法还包括:将所述功能参数发送给所述第二宿主应用的服务器端保存,以便所述第二宿主应用的服务器端利用所述订单对账信息进行订单对账。The method further includes: sending the function parameters to the server of the second host application for storage, so that the server of the second host application uses the order reconciliation information to perform order reconciliation.
根据本申请一优选实施方式,利用所述功能参数执行所述功能包括:According to a preferred embodiment of the present application, using the function parameter to execute the function includes:
将所述功能参数发送至所述第二宿主应用的服务器端;Sending the function parameter to the server of the second host application;
接收所述第二宿主应用的服务器端返回的包含指定支付通道信息的支付界面;Receiving the payment interface containing the designated payment channel information returned by the server of the second host application;
将用户在所述支付界面上输入的支付信息发送给所述第二宿主应用的服务器端;Sending the payment information entered by the user on the payment interface to the server of the second host application;
接收所述第二宿主应用的服务器端返回的支付结果。Receiving the payment result returned by the server of the second host application.
第三方面,本申请提供了一种信息处理方法,由第一宿主应用的服务器端执行,该方法包括:In the third aspect, this application provides an information processing method, which is executed by the server of the first host application, and the method includes:
接收所述第一宿主应用发送的小程序触发宿主应用功能的事件信息,以及所述第一宿主应用枚举得到的所述第一宿主应用所在终端设备的宿主应用列表;Receiving the event information sent by the first host application of the applet triggering the function of the host application, and the host application list of the terminal device where the first host application is enumerated by the first host application;
确定所述宿主应用列表中具备所述功能的宿主应用,并将具备所述功能的宿主应用的信息返回给所述第一宿主应用,以便所述第一宿主应用将功能参数发送给具备所述功能的第二宿主应用来执行所述功能。Determine the host application with the function in the host application list, and return the information of the host application with the function to the first host application, so that the first host application sends the function parameters to the host application with the function The second host application of the function performs the function.
根据本申请一优选实施方式,所述功能包括指定支付通道的支付功能;According to a preferred embodiment of the present application, the function includes a payment function of a designated payment channel;
所述获取到小程序触发宿主应用功能的事件包括:获取到所述第一宿主应用中小程序创建订单的请求,所述请求中包含订单信息;The obtaining of the event that the mini program triggers the function of the host application includes: obtaining a request for the mini program in the first host application to create an order, and the request includes order information;
该方法还包括:向所述第一宿主应用返回订单相关信息,所述订单相关信息包括:加密的订单信息、加密密钥信息和订单对账信息;The method further includes: returning order-related information to the first host application, where the order-related information includes: encrypted order information, encryption key information, and order reconciliation information;
接收并保存所述第一宿主应用发送的支付结果和订单对账信息;Receiving and saving the payment result and order reconciliation information sent by the first host application;
所述订单对账信息用于进行账单对账。The order reconciliation information is used for bill reconciliation.
第四方面,本申请提供了一种设备,所述设备包括:In a fourth aspect, the present application provides a device, and the device includes:
一个或多个处理器;One or more processors;
存储装置,用于存储一个或多个程序,Storage device, used to store one or more programs,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如上所述的方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described above.
第五方面,本申请提供了一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行如上所述的方法。In a fifth aspect, the present application provides a storage medium containing computer-executable instructions, which are used to perform the above-mentioned method when executed by a computer processor.
由以上技术方案可以看出,通过本申请使得用户在使用第一宿主应用的小程序的过程中,如果第一宿主应用不具备小程序所触发的宿主应用功能,仍能够通过终端设备中具备该功能的第二宿主应用来实现该功能,从而保证小程序成功提供服务。It can be seen from the above technical solutions that, in the process of using the applet of the first host application, if the first host application does not have the host application function triggered by the applet, the user can still have the function of the host application in the terminal device. The second host application of the function implements the function, thereby ensuring that the applet successfully provides the service.
【附图说明】【Explanation of the drawings】
图1为本申请所涉及的系统架构示意图;Figure 1 is a schematic diagram of the system architecture involved in this application;
图2为本申请实施例提供的宿主应用1执行的处理流程图;FIG. 2 is a flowchart of processing executed by the host application 1 provided by an embodiment of the application;
图3为本申请实施例提供的宿主应用2执行的处理流程图;FIG. 3 is a flowchart of processing executed by the host application 2 provided by an embodiment of the application;
图4为本申请实施例提供的一个实现支付功能的方法流程图;Figure 4 is a flow chart of a method for implementing a payment function provided by an embodiment of the application;
图5为本申请实施例提供的一个实现搜索功能的方法流程图;FIG. 5 is a flowchart of a method for implementing a search function provided by an embodiment of the application;
图6示出了适于用来实现本申请实施方式的示例性计算机系统/服务器的框图。Fig. 6 shows a block diagram of an exemplary computer system/server suitable for implementing the embodiments of the present application.
【具体实施方式】【detailed description】
为了使本申请的目的、技术方案和优点更加清楚,下面结合附图和具体实施例对本申请进行详细描述。In order to make the objectives, technical solutions, and advantages of the present application clearer, the following describes the present application in detail with reference to the accompanying drawings and specific embodiments.
为了方便对本申请的理解,首先对本申请所涉及的系统架构以及主要概念进行描述。如图1中所示,该系统架构主要包括宿主应用和宿主应用对应的服务器端。In order to facilitate the understanding of this application, the system architecture and main concepts involved in this application are first described. As shown in Figure 1, the system architecture mainly includes a host application and a server side corresponding to the host application.
小程序依托宿主应用在终端设备上运行,小程序运行所在的环境是宿主应用提供的。其中终端设备可以包括但不限于诸如:智能移动终端、智能家居设备、网络设备、可穿戴式设备、智能医疗设备、PC(个人计算机)等。其中智能移动设备可以包括诸如手机、平板电脑、笔记本电脑、PDA(个人数字助理)、互联网汽车等。智能家居设备可以包括智能家电设备,诸如智能电视、智能音箱等。网络设备可以包括诸如交换机、无线AP、服务器等。可穿戴式设备可以包括诸如智能手表、智能眼镜、智能手环、虚拟现实设备、增强现实设备、混合现实设备(即可以支持虚拟现实和增强现实的设备)等等。The applet relies on the host application to run on the terminal device, and the environment in which the applet runs is provided by the host application. The terminal devices may include, but are not limited to, such as: smart mobile terminals, smart home devices, network devices, wearable devices, smart medical devices, PCs (personal computers), etc. Among them, smart mobile devices can include mobile phones, tablet computers, notebook computers, PDAs (personal digital assistants), Internet cars, and so on. Smart home devices may include smart home appliances, such as smart TVs, smart speakers, and so on. Network equipment may include, for example, switches, wireless APs, servers, and so on. Wearable devices may include, for example, smart watches, smart glasses, smart bracelets, virtual reality devices, augmented reality devices, mixed reality devices (that is, devices that can support virtual reality and augmented reality), and so on.
同一终端设备上可能包含多个宿主应用,图1中以包含宿主应用1和宿主应用2为例。一个宿主应用中也可能运行多个小程序,且不同宿主应用可能运行不同的小程序,也可能运行相同的小程序。如图1中所示,宿主应用1中运行小程序a1和小程序b1,宿主应用2中运行小程序a2和小程序b2。The same terminal device may contain multiple host applications. In FIG. 1, the host application 1 and the host application 2 are taken as an example. A host application may also run multiple applets, and different host applications may run different applets or the same applet. As shown in Figure 1, the host application 1 runs the applet a1 and the applet b1, and the host application 2 runs the applet a2 and the applet b2.
每个宿主应用都存在对应的服务器端,如图1中所示,宿主应用1对应服务器端1,宿主应用2对应服务器端2。每个宿主应用均可以与其对应的服务器端进行交互,在本申请实施例中,不同的服务器端之间也可以进行数据交互。Each host application has a corresponding server side. As shown in FIG. 1, the host application 1 corresponds to the server side 1, and the host application 2 corresponds to the server side 2. Each host application can interact with its corresponding server. In the embodiment of the present application, data exchange can also be performed between different servers.
各服务器端可以是单一服务器,也可以是多个服务器构成的服务器群组。应该理解,图1中的终端设备、宿主应用、小程序、服务器端的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、宿主应用、小程序、服务器端。Each server can be a single server or a server group composed of multiple servers. It should be understood that the numbers of terminal devices, host applications, applets, and servers in FIG. 1 are merely illustrative. According to implementation needs, there can be any number of terminal devices, host applications, applets, and servers.
本申请的核心思想在于,当小程序触发宿主应用功能时,若该小程序所在宿主应用不具备该功能,则将功能参数发送给同一终端设备中具备该功能的其他宿主应用来代为执行该功能。The core idea of this application is that when an applet triggers the function of the host application, if the host application where the applet is located does not have the function, the function parameters are sent to other host applications with the function in the same terminal device to perform the function on their behalf .
本申请后续实施例中假设用户在图1所示系统架构的宿主应用1中使用小程序a1,小程序a1需要调用宿主应用1的功能。那么宿主应用1主要执行如图2中所示处理流程:In the subsequent embodiments of the present application, it is assumed that the user uses the applet a1 in the host application 1 of the system architecture shown in FIG. 1, and the applet a1 needs to call the function of the host application 1. Then the host application 1 mainly executes the processing flow shown in Figure 2:
在201中,宿主应用1获取到小程序a1触发宿主应用功能的事件。In 201, the host application 1 obtains the event that the applet a1 triggers the function of the host application.
根据具体功能的不同,触发宿主应用功能的事件也不同。当小程序a1需要使用宿主应用1的某项功能时,会产生触发该功能的事件,当宿主应用1获取到该事件时,就能够获知该功能需要被调用。Depending on the specific function, the event that triggers the function of the host application is also different. When the applet a1 needs to use a certain function of the host application 1, an event that triggers the function is generated. When the host application 1 obtains the event, it can know that the function needs to be called.
在202中,宿主应用1确定自身是否具备该功能,如果是,执行203;否则,执行204。In 202, the host application 1 determines whether it has the function, if so, execute 203; otherwise, execute 204.
在本申请的实施例中,宿主应用1是否具备该功能的检测可以由宿主应用1自己执行,也可以通过宿主应用1对应的服务器端1来执行。In the embodiment of the present application, the detection of whether the host application 1 has the function can be performed by the host application 1 itself, or can be performed by the server side 1 corresponding to the host application 1.
在本申请实施例中,可以预先约定将标识特定功能的信息设置于宿主应用的安装包中,如果宿主应用具备该特定功能,则其安装包中就具备标识该特定功能的信息。也可以预先针对特定功能指定宿主应用的包名,如果宿主应用具备该特定功能,则通过其包名能够指示宿主应用存在该特定功能。因此,宿主应用1可以通过检测宿主应用1的安装包中是否存在该功能的信息或者宿主应用1的包名是否指示存在该功能,来确定宿主应用1是否具备该功能。In the embodiment of the present application, it may be agreed in advance to set the information identifying the specific function in the installation package of the host application. If the host application has the specific function, the installation package will have the information identifying the specific function. It is also possible to pre-designate the package name of the host application for a specific function. If the host application has the specific function, the package name can indicate that the host application has the specific function. Therefore, the host application 1 can determine whether the host application 1 has the function by detecting whether information about the function exists in the installation package of the host application 1 or whether the package name of the host application 1 indicates that the function exists.
或者,宿主应用1可以将小程序a1触发宿主应用功能的事件信息发送至宿主应用1的服务器端1,由服务器端1确定宿主应用1是否具备该功能。一方面,宿主应用是否具备某种功能是与服务商的开发相关的,即服务商是否在开发该类宿主应用时将该功能集成于该宿主应用中,另一方面也与宿主应用1的版本相关,有可能存在高版本具备该功能,而低版本不具备该功能。总之,服务器端1能够依据开发配置信息以及宿主应用1的版本信息等确定宿主应用1是否具备该功能的,并将指示宿主应用1是否具备该功能的信息反馈给宿主应用1。Alternatively, the host application 1 may send the event information that the applet a1 triggers the function of the host application to the server side 1 of the host application 1, and the server side 1 determines whether the host application 1 has the function. On the one hand, whether the host application has a certain function is related to the development of the service provider, that is, whether the service provider integrates the function into the host application when developing this type of host application, and on the other hand, it is also related to the version of the host application 1. Related, it is possible that the higher version has this function, but the lower version does not have this function. In short, the server 1 can determine whether the host application 1 has the function according to the development configuration information and the version information of the host application 1, and feeds back the information indicating whether the host application 1 has the function to the host application 1.
在203中,由宿主应用1执行该功能,结束流程。In 203, the host application 1 executes the function, and the process ends.
如果宿主应用1自身具备该功能,则按照现有技术中的方式执行该功能即可。If the host application 1 itself has this function, the function can be executed in the manner in the prior art.
在204中,宿主应用1确定终端设备中具备该功能的宿主应用2。In 204, the host application 1 determines the host application 2 that has the function in the terminal device.
上面已经提及了,在本申请实施例中,可以预先约定将标识特定功能的信息设置于宿主应用的安装包中,如果宿主应用具备该特定功能,则其安装包中就具备标识该特定功能的信息。As mentioned above, in the embodiments of the present application, it may be agreed in advance to set the information identifying a specific function in the installation package of the host application. If the host application has the specific function, the installation package will have the specific function to identify the specific function. Information.
也可以预先针对特定功能指定宿主应用的包名,如果宿主应用具备该特定功能,则通过其包名能够指示宿主应用存在该特定功能。It is also possible to pre-designate the package name of the host application for a specific function. If the host application has the specific function, the package name can indicate that the host application has the specific function.
因此,作为其中一种实现方式,宿主应用1可以枚举终端设备的宿主应用列表,然后检测宿主应用列表中各宿主应用的安装包中是否存在标识该功能的 信息,或者检测各宿主应用的包名是否指示存在该功能,从而确定终端设备中具备该功能的宿主应用。Therefore, as one of the implementation methods, the host application 1 can enumerate the host application list of the terminal device, and then detect whether there is information identifying the function in the installation package of each host application in the host application list, or detect the package of each host application Whether the name indicates that the function exists, so as to determine the host application that has the function in the terminal device.
除了上述实现方式之外,还存在另外一种实现方式,即由服务器端1确定终端设备中具备该功能的宿主应用。具体地,宿主应用1可以将枚举得到的终端设备的宿主应用列表发送给服务器端1。服务商之间可以预先就一些特定的功能进行合作,在服务器端1配置有具备特定功能的宿主应用的信息。服务器端1接收到宿主应用1发送的宿主应用列表后,确定该列表中具备上述事件所对应功能的宿主应用,并将具备上述事件所对应功能的宿主应用的信息返回给宿主应用1。In addition to the foregoing implementation manner, there is another implementation manner, that is, the server side 1 determines the host application that has the function in the terminal device. Specifically, the host application 1 may send the enumerated host application list of the terminal device to the server 1. The service providers can cooperate in advance on some specific functions, and the server 1 is configured with information of a host application with specific functions. After the server 1 receives the host application list sent by the host application 1, it determines the host application in the list that has the function corresponding to the event, and returns the information of the host application with the function corresponding to the event to the host application 1.
如果仅确定出一个具备该功能的宿主应用,则宿主应用1可以直接将该宿主应用作为上述宿主应用2。如果确定出多个具备该功能的宿主应用,则宿主应用1可以依据预设的规则从中选择一个作为上述宿主应用2。另外,作为一种优选的实施方式,可以将确定出的多个宿主应用信息展示给用户,以供用户从中选择一个宿主应用作为上述宿主应用2。If only one host application with this function is determined, the host application 1 can directly use the host application as the aforementioned host application 2. If multiple host applications with this function are determined, the host application 1 can select one of them as the host application 2 according to a preset rule. In addition, as a preferred implementation manner, the determined multiple host application information may be displayed to the user, so that the user can select a host application from them as the host application 2 described above.
在205中,宿主应用1将功能参数发送给终端设备中具备该功能的宿主应用2。In 205, the host application 1 sends the function parameters to the host application 2 with the function in the terminal device.
本步骤中,宿主应用1可以通过Intent(意图)事件调用宿主应用2的相应功能接口并传递功能参数。In this step, the host application 1 can call the corresponding function interface of the host application 2 and transfer function parameters through the Intent event.
宿主应用1在发送功能参数给宿主应用2时,为了保证信息的安全性,宿主应用1和宿主应用2可以进行会话密钥的协商,宿主应用1与宿主应用2之间的传递的信息都需要利用会话密钥进行加密。然后宿主应用1利用协商得到的会话密钥对功能参数进行加密后发送给宿主应用2,宿主应用2利用会话密钥对接收到的功能参数进行解密。When host application 1 sends functional parameters to host application 2, in order to ensure the security of information, host application 1 and host application 2 can negotiate the session key, and the information transmitted between host application 1 and host application 2 is required Use the session key for encryption. Then host application 1 encrypts the function parameters using the negotiated session key and sends them to host application 2, and host application 2 uses the session key to decrypt the received function parameters.
在206中,接收宿主应用2执行该功能后返回的执行结果信息。In 206, the execution result information returned after the host application 2 executes the function is received.
宿主应用1接收到执行结果信息后,可以将执行结果信息发送至服务器端1进行保存。After the host application 1 receives the execution result information, it can send the execution result information to the server 1 for storage.
宿主应用2主要执行如图3中所示的处理流程:The host application 2 mainly executes the processing flow shown in Figure 3:
在301中,宿主应用2接收宿主应用1发送的功能参数。In 301, the host application 2 receives the function parameters sent by the host application 1.
同样,本步骤中涉及的功能参数可以加密的功能参数。宿主应用2可以利 用预先与宿主应用1协商的会话密钥对加密的功能参数进行解密。Similarly, the function parameters involved in this step can be encrypted function parameters. The host application 2 can use the session key negotiated with the host application 1 in advance to decrypt the encrypted function parameters.
在302中,利用该功能参数执行相应的功能。In 302, use the function parameter to execute the corresponding function.
本步骤中,宿主应用2可以将功能参数发送给服务器端2,由服务器端2依据功能参数进行处理,该步骤可以是现有的功能执行流程,在此不做详述。In this step, the host application 2 may send the function parameters to the server side 2, and the server side 2 processes the function parameters according to the function parameters. This step may be an existing function execution process, which is not described in detail here.
在303中,向宿主应用1返回执行结果信息。In 303, the execution result information is returned to the host application 1.
本步骤中,宿主应用2可以将执行结果采用预先协商的会话密钥进行加密后发送给宿主应用1。In this step, the host application 2 may send the execution result to the host application 1 after being encrypted with a pre-negotiated session key.
本申请中涉及的宿主应用功能可以是小程序在使用过程中调用的宿主应用的任意功能,例如搜索功能、支付功能等。下面分别结合实施例进行描述。The host application function involved in this application can be any function of the host application called during the use of the applet, such as search function, payment function, etc. The following is described in conjunction with the embodiments respectively.
图4为本申请实施例提供的一个实现支付功能的方法流程图,如图4中所示,该方法可以包括以下步骤:Fig. 4 is a flowchart of a method for implementing a payment function provided by an embodiment of the application. As shown in Fig. 4, the method may include the following steps:
在401中,宿主应用1获取到宿主应用1中小程序a1的创建订单的请求。In 401, the host application 1 obtains the order creation request of the applet a1 in the host application 1.
用户通过宿主应用1使用小程序a1的过程中,在创建订单时需要调用宿主应用的支付功能。通常在创建订单时,除了包含订单编号、订单内容等信息之外,订单中还会包含支付通道的信息。该支付通道可以是服务指定的支付通道,也可以是用户选择的支付通道。因此,该创建订单的请求所包含的订单信息中包含有支付通道的信息,从而触发调用宿主应用1的采用该支付通道的支付功能。In the process of using the applet a1 through the host application 1, the user needs to call the payment function of the host application when creating an order. Usually when an order is created, in addition to the order number, order content and other information, the order will also contain the information of the payment channel. The payment channel can be a payment channel designated by the service, or a payment channel selected by the user. Therefore, the order information contained in the order creation request contains the information of the payment channel, which triggers the calling of the payment function of the host application 1 using the payment channel.
在402中,宿主应用1将创建订单的请求发送给自身的服务器端即服务器端1。In 402, the host application 1 sends a request to create an order to its own server, that is, the server 1.
在403中,服务器端1返回订单相关信息给宿主应用1,其中订单相关信息包括加密的订单信息、加密密钥信息和订单对账信息。In 403, the server 1 returns order-related information to the host application 1, where the order-related information includes encrypted order information, encryption key information, and order reconciliation information.
服务器端1确定宿主应用1不具备该支付通道的支付功能,无法直接进行支付处理,因此服务器端1向宿主应用1返回订单相关信息,宿主应用1接收到该订单相关信息后,就能够确定自身不具备该支付功能。The server side 1 determines that the host application 1 does not have the payment function of the payment channel and cannot directly perform payment processing. Therefore, the server side 1 returns the order-related information to the host application 1. After the host application 1 receives the order-related information, it can determine itself This payment function is not available.
订单相关信息中包含的订单信息是加密的,其采用的加密密钥信息同时包含于订单相关信息中。其中加密密钥信息可以是对称式密钥信息,也可以是非对称式密钥信息,只要能够利用加密密钥的信息实现对加密的订单信息的解密即可。The order information contained in the order-related information is encrypted, and the encryption key information used is also included in the order-related information. The encryption key information may be symmetric key information or asymmetric key information, as long as the encryption key information can be used to decrypt the encrypted order information.
其中订单对账信息是服务器端1生成的具备唯一性和不可伪造性的信息,能够唯一标识订单,且难以被其他设备破解。订单对账信息可以采用只有服务器端1知晓的密钥对诸如随机数、时间戳等随机信息进行加密处理后得到,当然也可以采用其他方式,只要能够保证唯一性和不可伪造性即可。The order reconciliation information is unique and unforgeable information generated by the server 1, which can uniquely identify the order and is difficult to be cracked by other devices. The order reconciliation information can be obtained by encrypting random information such as random numbers and timestamps with a key known only by the server 1; of course, other methods can also be used, as long as the uniqueness and unforgeability can be guaranteed.
在404中,宿主应用1确定终端设备中具备支付功能的宿主应用2。In 404, the host application 1 determines the host application 2 with the payment function in the terminal device.
宿主应用1枚举终端设备中的所有宿主应用得到宿主应用列表,检测列表中各宿主应用的安装包中是否存在标识采用指定支付通道的支付功能,得到具有指定支付通道的支付功能的宿主应用。若得到多个宿主应用,可以将该多个宿主应用通过诸如弹窗的方式显示给用户,由用户从中选择一个宿主应用作为执行支付功能的宿主应用。假设用户选择的是宿主应用2。The host application 1 enumerates all host applications in the terminal device to obtain a host application list, detects whether there is a payment function that identifies the designated payment channel in the installation package of each host application in the list, and obtains a host application with the payment function of the designated payment channel. If multiple host applications are obtained, the multiple host applications can be displayed to the user in a manner such as a pop-up window, and the user selects a host application from them as the host application that performs the payment function. Assume that the user selects the host application 2.
除了该方式之外,也可以由服务器端1利用宿主应用1上传的终端设备的宿主应用列表,从中确定终端设备中具备指定支付通道的支付功能的宿主应用,将这些宿主应用的信息返回给宿主应用1。其中宿主应用1可以将宿主应用列表连同步骤402中的请求一起发送,也可以在403之后单独发送,还可以在宿主应用1启动后就进行宿主应用列表的枚举和上传给服务器端1。In addition to this method, the server 1 can also use the host application list of the terminal device uploaded by the host application 1 to determine the host application in the terminal device that has the payment function of the specified payment channel, and return the information of these host applications to the host Application 1. The host application 1 may send the host application list together with the request in step 402, or send it separately after 403, or enumerate and upload the host application list to the server 1 after the host application 1 is started.
在405中,宿主应用1与宿主应用2之间协商会话密钥。In 405, the host application 1 and the host application 2 negotiate a session key.
为了保证信息安全性,防止信息伪造和信息拦截,本申请实施例中可以进行宿主应用1和宿主应用2之间会话密钥的协商。会话密钥的协商方式可以采用现有技术中已有的协商方式,在此不做详述。In order to ensure information security and prevent information forgery and information interception, the session key negotiation between the host application 1 and the host application 2 may be performed in the embodiment of the present application. The negotiation method of the session key may adopt an existing negotiation method in the prior art, which is not described in detail here.
在406中,宿主应用1利用会话密钥对支付功能参数进行加密后发送给宿主应用2。In 406, the host application 1 uses the session key to encrypt the payment function parameters and sends them to the host application 2.
支付功能参数由订单相关信息得到。其中支付功能参数除了包括加密的订单信息、加密密钥信息和订单对账信息之外,还可以包括校验信息和时间戳。其中,校验信息用于对支付功能参数进行完整性校验,例如可以是对加密的订单信息、加密密钥信息、时间戳进行哈希处理后得到的信息。The payment function parameters are obtained from the order-related information. In addition to the encrypted order information, encryption key information, and order reconciliation information, the payment function parameters may also include verification information and time stamps. Wherein, the verification information is used to verify the integrity of the payment function parameters, for example, it may be information obtained after hashing the encrypted order information, encryption key information, and time stamp.
另外,由于不同宿主应用在执行支付功能的处理时,需求的信息不尽相同,因此需要根据执行支付功能的宿主应用进行支付功能参数的数据适配。例如可以按照预先设置的数据格式,向宿主应用2发送支付功能参数。In addition, since different host applications require different information when performing the processing of the payment function, it is necessary to perform the data adaptation of the payment function parameters according to the host application executing the payment function. For example, the payment function parameters can be sent to the host application 2 according to a preset data format.
本步骤中,宿主应用1通过Intent事件调用宿主应用2的支付功能接口并 传递上述支付功能参数。In this step, the host application 1 calls the payment function interface of the host application 2 through the Intent event and transmits the above payment function parameters.
在407中,宿主应用2利用会话密钥对支付功能参数进行解密。In 407, the host application 2 uses the session key to decrypt the payment function parameters.
在408中,宿主应用2将支付功能参数发送给服务器端2。In 408, the host application 2 sends the payment function parameters to the server 2.
服务器端2接收到支付功能参数后,利用校验信息进行完整性校验,例如对加密的订单信息、加密密钥信息、时间戳进行哈希处理后,将哈希处理得到的值与校验信息进行比对,如果一致,则通过完整性校验,否完整性校验失败。After the server 2 receives the payment function parameters, it uses the verification information to perform integrity verification, for example, after hashing the encrypted order information, encryption key information, and timestamp, the value obtained by the hash processing is combined with the verification The information is compared, and if they are consistent, the integrity check is passed, otherwise the integrity check fails.
利用其中的加密密钥信息对加密的订单信息进行解密后,得到订单信息,利用订单信息执行后续的支付处理。After decrypting the encrypted order information using the encryption key information, the order information is obtained, and the subsequent payment processing is performed using the order information.
服务器端2保存订单信息与订单对账信息之间的对应关系,以便后续进行订单对账。The server 2 saves the correspondence between the order information and the order reconciliation information for subsequent order reconciliation.
在409中,服务器端2向宿主应用2返回包含指定支付通道信息的支付界面。In 409, the server 2 returns to the host application 2 a payment interface containing the information of the designated payment channel.
订单信息中包含有指定的支付通道信息、支付金额、收款方信息等,服务器端利用这些信息生成支付界面返回给宿主应用2,由宿主应用2将支付界面展示给用户。The order information includes designated payment channel information, payment amount, payee information, etc. The server uses this information to generate a payment interface and return it to the host application 2, and the host application 2 displays the payment interface to the user.
在410中,宿主应用2将用户在支付界面输入的支付信息发送给服务器端2。In 410, the host application 2 sends the payment information input by the user on the payment interface to the server 2.
用户可以在支付界面上输入诸如密码、验证码、生物特征信息等支付信息,宿主应用2将支付信息发送给服务器端2。其中,密码可以是数字密钥、手势密码、语音密码等。验证码可以是图片类验证码、短信验证码等等。生物特征信息可以是指纹、声纹、虹膜、人脸等特征信息。The user can input payment information such as password, verification code, and biometric information on the payment interface, and the host application 2 sends the payment information to the server 2. Among them, the password can be a digital key, a gesture password, a voice password, and so on. The verification code can be an image verification code, an SMS verification code, and so on. The biometric information can be fingerprint, voiceprint, iris, face and other feature information.
在411中,服务器端2对支付信息进行处理后,向宿主应用2返回执行结果信息。In 411, after the server 2 processes the payment information, it returns execution result information to the host application 2.
服务器端2可以在本地对支付信息进行验证,也可以将支付信息发送给与指定支付通道对应的第三方支付平台或者银行系统等进行验证。如果验证通过,则支付成功,否则支付失败。The server 2 can verify the payment information locally, or send the payment information to a third-party payment platform or banking system corresponding to the designated payment channel for verification. If the verification is passed, the payment is successful, otherwise the payment fails.
另外,服务器端2会对支付结果和订单对账信息进行保存,以便后续进行订单对账处理。In addition, the server 2 saves the payment result and order reconciliation information for subsequent order reconciliation processing.
需要说明的是,上述409~411是本申请提供的其中一种实现方式,对于服 务器端2而言,还可以采用其他的支付处理方式。例如,若用户预先在宿主应用2设置了免密支付,则服务器端2直接向宿主应用2返回支付成功的信息。It should be noted that the above 409 to 411 are one of the implementation methods provided by this application, and for the server end 2, other payment processing methods can also be used. For example, if the user has previously set a password-free payment in the host application 2, the server 2 directly returns the payment success information to the host application 2.
在412中,宿主应用2利用会话密钥对执行结果信息进行加密后发送给宿主应用1。In 412, the host application 2 uses the session key to encrypt the execution result information and sends it to the host application 1.
执行结果信息包括支付结果和订单对账信息。The execution result information includes payment result and order reconciliation information.
在413中,宿主应用1利用会话密钥对执行结果信息进行解密后,将执行结果信息发送给服务器端1进行保存。In 413, after the host application 1 uses the session key to decrypt the execution result information, the execution result information is sent to the server 1 for storage.
服务器端1保存支付结果与订单对账信息之间的对应关系。The server 1 saves the correspondence between the payment result and the order reconciliation information.
如果后续需要针对本次交易进行对账,则可以在414中,由服务器端1和服务器端2利用各自保存的订单信息、支付结果与订单对账信息之间的对应关系,进行订单对账处理。If you need to reconcile the transaction in the future, you can use the corresponding relationship between the order information stored in the server side 1 and the server side 2 to use the corresponding relationship between the payment result and the order reconciliation information in 414 to perform the order reconciliation process .
图5为本申请实施例提供的一个实现搜索功能的方法流程图,如图5中所示,该方法可以包括以下步骤:Fig. 5 is a flowchart of a method for implementing a search function provided by an embodiment of the application. As shown in Fig. 5, the method may include the following steps:
在501中,宿主应用1获取的宿主应用1中小程序b1的搜索请求。In 501, the host application 1 obtains a search request for the applet b1 in the host application 1.
用户通过宿主应用1在使用小程序b1的过程中,需要调用宿主应用的搜索功能,则会发送搜索请求,该搜索请求中可以包括搜索关键词,还可以进一步包括:搜索类型信息,例如是网页搜索、图片搜索、地图搜索等。In the process of using the applet b1 through the host application 1, the user needs to call the search function of the host application, and then sends a search request. The search request may include search keywords and may further include: search type information, such as a webpage Search, image search, map search, etc.
在502中,宿主应用1检测出自身不具备搜索功能后,确定终端设备中具备搜索功能的宿主应用2。In 502, after the host application 1 detects that it does not have the search function, it determines the host application 2 in the terminal device that has the search function.
宿主应用1可以检测自身安装包中是否存在标识搜索功能的信息,如果否,则可以认为检测出自身不具备搜索功能。The host application 1 can detect whether there is information identifying the search function in its own installation package, and if not, it can be considered to detect that it does not have the search function.
除了这种方式之外,也可以采用图4所示支付实施例中将搜索请求发送给宿主应用1的服务器端1,由服务器端1来确定宿主应用1是否具备搜索功能的方式。In addition to this method, a method in which the search request is sent to the server side 1 of the host application 1 in the payment embodiment shown in FIG. 4, and the server side 1 determines whether the host application 1 has the search function.
宿主应用1枚举终端设备中的宿主应用列表,通过检测列表中各宿主应用的安装包中是否存在标识搜索功能的信息,来确定终端设备中具备搜索功能的宿主应用。如果存在多个具备搜索功能的宿主应用,则可以将该多个宿主应用的信息显示给用户,由用户从中选择一个宿主应用,假设选择的是宿主应用2。The host application 1 enumerates the host application list in the terminal device, and determines the host application with the search function in the terminal device by detecting whether there is information identifying the search function in the installation package of each host application in the list. If there are multiple host applications with a search function, the information of the multiple host applications can be displayed to the user, and the user selects a host application from them, assuming that the host application 2 is selected.
在503中,宿主应用1与宿主应用2之间协商会话密钥。In 503, the host application 1 and the host application 2 negotiate a session key.
在504中,宿主应用1利用会话密钥对搜索功能参数进行加密后发送给宿主应用2。In 504, the host application 1 uses the session key to encrypt the search function parameters and sends them to the host application 2.
搜索功能参数由搜索请求得到。其中搜索功能参数除了包括搜索关键词、搜索类型等搜索信息之外,还可以包括校验信息、时间戳等信息。其中,搜索信息也可以采用加密的形式,这种情况下,搜索功能参数还包括加密密钥信息。The search function parameters are obtained from the search request. In addition to search information such as search keywords and search types, the search function parameters can also include verification information, time stamps and other information. Among them, the search information can also be in an encrypted form. In this case, the search function parameters also include encryption key information.
本步骤中,宿主应用1可以通过Intent事件调用宿主应用2的搜索功能接口并传递上述搜索功能参数。In this step, the host application 1 can call the search function interface of the host application 2 through the Intent event and pass the above search function parameters.
在505中,宿主应用2利用会话密钥对搜索功能参数进行解密。In 505, the host application 2 uses the session key to decrypt the search function parameters.
在506中,宿主应用2将搜索功能参数发送给服务器端2。In 506, the host application 2 sends the search function parameters to the server 2.
服务器端2接收到搜索功能参数后,利用校验信息进行完整性校验。利用其中的加密密钥信息对加密的搜索信息进行解密后,得到搜索信息,利用搜索信息进行搜索处理。After the server 2 receives the search function parameters, it uses the verification information to perform integrity verification. After decrypting the encrypted search information by using the encryption key information, the search information is obtained, and the search information is used for search processing.
在507中,服务器端2返回搜索结果信息给宿主应用2。In 507, the server 2 returns the search result information to the host application 2.
在执行搜索后,可以将诸如搜索结果页面的地址信息发送给宿主应用2。After performing the search, the address information such as the search result page can be sent to the host application 2.
在508中,宿主应用2利用会话密钥对搜索结果信息进行加密后发送给宿主应用1。In 508, the host application 2 uses the session key to encrypt the search result information and sends it to the host application 1.
在509中,宿主应用1利用会话密钥对搜索结果信息进行解密后,对搜索结果进行展现。In 509, the host application 1 uses the session key to decrypt the search result information, and then displays the search result.
图6示出了适于用来实现本申请实施方式的示例性计算机系统/服务器012的框图。图6显示的计算机系统/服务器012仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。Figure 6 shows a block diagram of an exemplary computer system/server 012 suitable for implementing embodiments of the present application. The computer system/server 012 shown in FIG. 6 is only an example, and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
如图6所示,计算机系统/服务器012以通用计算设备的形式表现。计算机系统/服务器012的组件可以包括但不限于:一个或者多个处理器或者处理单元016,系统存储器028,连接不同系统组件(包括系统存储器028和处理单元016)的总线018。As shown in Figure 6, the computer system/server 012 is in the form of a general-purpose computing device. The components of the computer system/server 012 may include, but are not limited to: one or more processors or processing units 016, a system memory 028, and a bus 018 connecting different system components (including the system memory 028 and the processing unit 016).
总线018表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标 准协会(VESA)局域总线以及外围组件互连(PCI)总线。The bus 018 represents one or more of several types of bus structures, including a memory bus or a memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any bus structure among multiple bus structures. For example, these architectures include, but are not limited to, industry standard architecture (ISA) bus, microchannel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and peripheral component interconnection ( PCI) bus.
计算机系统/服务器012典型地包括多种计算机系统可读介质。这些介质可以是任何能够被计算机系统/服务器012访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。The computer system/server 012 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer system/server 012, including volatile and nonvolatile media, removable and non-removable media.
系统存储器028可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)030和/或高速缓存存储器032。计算机系统/服务器012可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统034可以用于读写不可移动的、非易失性磁介质(图6未显示,通常称为“硬盘驱动器”)。尽管图6中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM,DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线018相连。存储器028可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本申请各实施例的功能。The system memory 028 may include a computer system readable medium in the form of volatile memory, such as random access memory (RAM) 030 and/or cache memory 032. The computer system/server 012 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. For example only, the storage system 034 can be used to read and write non-removable, non-volatile magnetic media (not shown in FIG. 6, and generally referred to as a "hard drive"). Although not shown in FIG. 6, a disk drive for reading and writing to a removable non-volatile disk (such as a "floppy disk") and a removable non-volatile optical disk (such as CD-ROM, DVD-ROM) can be provided. Or other optical media) read and write optical disc drives. In these cases, each drive can be connected to the bus 018 through one or more data media interfaces. The memory 028 may include at least one program product, and the program product has a set (for example, at least one) program modules, and these program modules are configured to perform the functions of the embodiments of the present application.
具有一组(至少一个)程序模块042的程序/实用工具040,可以存储在例如存储器028中,这样的程序模块042包括——但不限于——操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块042通常执行本申请所描述的实施例中的功能和/或方法。A program/utility tool 040 with a set of (at least one) program module 042 can be stored in, for example, the memory 028. Such program module 042 includes, but is not limited to, an operating system, one or more application programs, and other programs Modules and program data, each of these examples or some combination may include the realization of a network environment. The program module 042 generally executes the functions and/or methods in the embodiments described in this application.
计算机系统/服务器012也可以与一个或多个外部设备014(例如键盘、指向设备、显示器024等)通信,在本申请中,计算机系统/服务器012与外部雷达设备进行通信,还可与一个或者多个使得用户能与该计算机系统/服务器012交互的设备通信,和/或与使得该计算机系统/服务器012能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口022进行。并且,计算机系统/服务器012还可以通过网络适配器020与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器020通过总线018与计算机系统/服务器012的其它模块通信。应当明白,尽管图6中未示出,可以结合计算机系统/服务器012使用其它硬件和/或软件模块,包括但不限于: 微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The computer system/server 012 can also communicate with one or more external devices 014 (such as a keyboard, pointing device, display 024, etc.). In this application, the computer system/server 012 communicates with an external radar device, and can also communicate with one or more external radar devices. Multiple devices that enable users to interact with the computer system/server 012, and/or communicate with any devices that enable the computer system/server 012 to communicate with one or more other computing devices (such as network cards, modems, etc.) Communication. This communication can be performed through an input/output (I/O) interface 022. In addition, the computer system/server 012 can also communicate with one or more networks (for example, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through the network adapter 020. As shown in the figure, the network adapter 020 communicates with other modules of the computer system/server 012 through the bus 018. It should be understood that although not shown in FIG. 6, other hardware and/or software modules can be used in conjunction with the computer system/server 012, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems , Tape drives and data backup storage systems.
处理单元016通过运行存储在系统存储器028中的程序,从而执行各种功能应用以及数据处理,例如实现本申请实施例所提供的方法流程。The processing unit 016 executes various functional applications and data processing by running programs stored in the system memory 028, for example, to implement the method flow provided in the embodiments of the present application.
上述的计算机程序可以设置于计算机存储介质中,即该计算机存储介质被编码有计算机程序,该程序在被一个或多个计算机执行时,使得一个或多个计算机执行本申请上述实施例中所示的方法流程和/或装置操作。例如,被上述一个或多个处理器执行本申请实施例所提供的方法流程。The above-mentioned computer program may be set in a computer storage medium, that is, the computer storage medium is encoded with a computer program. When the program is executed by one or more computers, one or more computers can execute the operations shown in the above-mentioned embodiments of this application. The method flow and/or device operation. For example, the process of the method provided in the embodiment of the present application is executed by the above-mentioned one or more processors.
随着时间、技术的发展,介质含义越来越广泛,计算机程序的传播途径不再受限于有形介质,还可以直接从网络下载等。可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。With the development of time and technology, the meaning of media has become more and more extensive, and the dissemination of computer programs is no longer limited to tangible media, and it can also be downloaded directly from the Internet. Any combination of one or more computer-readable media may be used. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), Erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In this document, the computer-readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, apparatus, or device.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括——但不限于——电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。The computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and computer-readable program code is carried therein. This propagated data signal can take many forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing. The computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium. The computer-readable medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于——无线、电线、光缆、RF等等,或者上述的任意合适的组合。The program code contained on the computer-readable medium can be transmitted by any suitable medium, including, but not limited to, wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
可以以一种或多种程序设计语言或其组合来编写用于执行本申请操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言-诸如Java、 Smalltalk、C++,还包括常规的过程式程序设计语言-诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。The computer program code used to perform the operations of the present application can be written in one or more programming languages or a combination thereof. The programming languages include object-oriented programming languages-such as Java, Smalltalk, C++, and also conventional Procedural programming language-such as "C" language or similar programming language. The program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any kind of network-including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to connect to the user's computer) connection).
以上所述仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。The above descriptions are only preferred embodiments of this application and are not intended to limit this application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included in this application Within the scope of protection.

Claims (20)

  1. 一种信息处理方法,由终端设备的第一宿主应用执行,其特征在于,该方法包括:An information processing method, executed by a first host application of a terminal device, characterized in that the method includes:
    获取到小程序触发宿主应用功能的事件后,若所述第一宿主应用不具备所述功能,则将功能参数发送给所述终端设备中具备所述功能的第二宿主应用;After obtaining the event that the applet triggers the function of the host application, if the first host application does not have the function, sending the function parameters to the second host application having the function in the terminal device;
    接收所述第二宿主应用执行所述功能后返回的执行结果信息。Receiving execution result information returned after the second host application executes the function.
  2. 根据权利要求1所述的方法,其特征在于,该方法还包括:The method according to claim 1, wherein the method further comprises:
    所述第一宿主应用通过检测所述第一宿主应用的安装包中是否存在所述功能的信息或者所述第一宿主应用的包名是否指示存在所述功能,来确定所述第一宿主应用是否具备所述功能;或者,The first host application determines the first host application by detecting whether information about the function exists in the installation package of the first host application or whether the package name of the first host application indicates that the function exists Whether it has the function; or,
    所述第一宿主应用将触发宿主应用功能的事件信息发送至所述第一宿主应用的服务器端,由所述第一宿主应用的服务器端确定所述第一宿主应用是否具备所述功能。The first host application sends event information that triggers the function of the host application to the server end of the first host application, and the server end of the first host application determines whether the first host application has the function.
  3. 根据权利要求1所述的方法,其特征在于,该方法还包括:The method according to claim 1, wherein the method further comprises:
    所述第一宿主应用通过枚举所述终端设备的宿主应用列表,并检测列表中各宿主应用的安装包中是否存在标识所述功能的信息或者各宿主应用的包名是否指示存在所述功能,来确定所述终端设备中具备所述功能的宿主应用;或者,The first host application enumerates the host application list of the terminal device, and detects whether there is information identifying the function in the installation package of each host application in the list or whether the package name of each host application indicates that the function exists , To determine the host application with the function in the terminal device; or,
    所述第一宿主应用将枚举得到的所述终端设备的宿主应用列表发送给所述第一宿主应用的服务器端,由所述第一宿主应用的服务器端确定所述宿主应用列表中具备所述功能的宿主应用,并将具备所述功能的宿主应用的信息返回给所述第一宿主应用。The first host application sends the enumerated host application list of the terminal device to the server end of the first host application, and the server end of the first host application determines that the host application list contains all The host application with the function, and the information of the host application with the function is returned to the first host application.
  4. 根据权利要求3所述的方法,其特征在于,该方法还包括:The method according to claim 3, wherein the method further comprises:
    若所述终端设备中存在多个具备所述功能的宿主应用,则将所述多个具备所述功能的宿主应用信息展示给用户,以供用户从中选择一个宿主应用作为所述第二宿主应用。If there are multiple host applications with the function in the terminal device, the information of the multiple host applications with the function is displayed to the user, so that the user can select a host application from them as the second host application .
  5. 根据权利要求1所述的方法,其特征在于,将功能参数发送给所述终端设备中具备所述功能的第二宿主应用包括:The method according to claim 1, wherein sending function parameters to a second host application with the function in the terminal device comprises:
    通过意图Intent事件调用所述第二宿主应用的所述功能的接口并传递所述功 能参数。The interface of the function of the second host application is invoked through the Intent event and the function parameter is transferred.
  6. 根据权利要求1所述的方法,其特征在于,将功能参数发送给所述终端设备中具备所述功能的第二宿主应用包括:The method according to claim 1, wherein sending function parameters to a second host application with the function in the terminal device comprises:
    利用所述第一宿主应用与所述第二宿主应用预先协商的会话密钥对所述功能参数进行加密,将加密后的功能参数发送给所述第二宿主应用;Encrypting the function parameters by using a session key negotiated in advance by the first host application and the second host application, and sending the encrypted function parameters to the second host application;
    接收所述第二宿主应用执行所述功能后返回的执行结果包括:The execution result returned after receiving the second host application to execute the function includes:
    接收所述第二宿主应用执行所述功能后返回的加密的执行结果,利用所述会话密钥对所述加密的执行结果进行解密。Receiving the encrypted execution result returned after the second host application executes the function, and decrypts the encrypted execution result by using the session key.
  7. 根据权利要求1所述的方法,其特征在于,所述功能包括指定支付通道的支付功能;The method according to claim 1, wherein the function includes a payment function of a designated payment channel;
    所述功能参数包括订单信息;The function parameters include order information;
    所述执行结果信息包括:支付结果。The execution result information includes: payment result.
  8. 根据权利要求7所述的方法,其特征在于,所述获取到小程序触发宿主应用功能的事件包括:获取到所述第一宿主应用中小程序创建订单的请求,所述请求中包含订单信息;The method according to claim 7, wherein the obtaining of the event that the applet triggers the function of the host application comprises: obtaining a request for the applet to create an order in the first host application, and the request includes order information;
    接收到第一宿主应用的服务器端返回的订单相关信息后,确定所述第一宿主应用不具备所述功能。After receiving the order-related information returned by the server of the first host application, it is determined that the first host application does not have the function.
  9. 根据权利要求8所述的方法,其特征在于,所述订单相关信息包括:加密的订单信息、加密密钥信息和订单对账信息;The method according to claim 8, wherein the order-related information comprises: encrypted order information, encryption key information, and order reconciliation information;
    所述功能参数包括:所述加密的订单信息、所述加密密钥信息、校验信息和时间戳。The function parameters include: the encrypted order information, the encryption key information, verification information, and a time stamp.
  10. 根据权利要求9所述的方法,其特征在于,所述订单相关信息还包括订单对账信息;所述功能参数和执行结果信息中也分别包含所述订单对账信息;The method according to claim 9, wherein the order-related information further includes order reconciliation information; the function parameters and execution result information also respectively include the order reconciliation information;
    该方法还包括:The method also includes:
    所述第一宿主应用将所述执行结果信息发送至所述第一宿主应用的服务器端保存,以便所述第一宿主应用的服务器端利用所述订单对账信息进行账单对账。The first host application sends the execution result information to the server of the first host application for storage, so that the server of the first host application uses the order reconciliation information to perform bill reconciliation.
  11. 根据权利要求1所述的方法,其特征在于,若所述执行结果信息包括执行失败的信息,则重新执行所述将功能参数发送给所述终端设备中具备所述功能的第二宿主应用,或者将所述功能参数发送给所述终端设备中具备所述功能的其他宿主 应用。The method according to claim 1, wherein if the execution result information includes execution failure information, re-execute the sending of the function parameters to the second host application with the function in the terminal device, Or send the function parameter to other host applications that have the function in the terminal device.
  12. 一种信息处理方法,由终端设备的第二宿主应用执行,其特征在于,该方法包括:An information processing method, executed by a second host application of a terminal device, characterized in that the method includes:
    接收所述终端设备中第一宿主应用发送的功能参数,所述功能参数是第一宿主应用获取到小程序触发宿主应用功能的事件且确定自身不具备所述功能后发送的;Receiving a function parameter sent by a first host application in the terminal device, where the function parameter is sent after the first host application obtains an event in which the applet triggers the function of the host application and determines that it does not have the function;
    利用所述功能参数执行所述功能;Execute the function using the function parameter;
    向所述第一宿主应用返回执行结果信息。Return execution result information to the first host application.
  13. 根据权利要求12所述的方法,其特征在于,接收所述终端设备中第一宿主应用发送的功能参数包括:The method according to claim 12, wherein receiving the function parameter sent by the first host application in the terminal device comprises:
    接收所述第一宿主应用发送的加密的功能参数,利用所述第一宿主应用与所述第二宿主应用预先协商的会话密钥,对所述加密的功能参数进行解密;Receiving an encrypted function parameter sent by the first host application, and decrypting the encrypted function parameter by using a session key negotiated in advance by the first host application and the second host application;
    向所述第一宿主应用返回执行结果信息包括:Returning execution result information to the first host application includes:
    利用所述会话密钥对所述执行结果信息进行加密,向所述第一宿主应用返回加密后的执行结果信息。The execution result information is encrypted by using the session key, and the encrypted execution result information is returned to the first host application.
  14. 根据权利要求12所述的方法,其特征在于,所述功能包括指定支付通道的支付功能;The method according to claim 12, wherein the function includes a payment function of a designated payment channel;
    所述功能参数包括订单信息;The function parameters include order information;
    所述执行结果信息包括:支付结果。The execution result information includes: payment result.
  15. 根据权利要求14所述的方法,其特征在于,所述功能参数包括:加密的订单信息、加密密钥信息、订单对账信息、校验信息和时间戳;The method according to claim 14, wherein the function parameters include: encrypted order information, encryption key information, order reconciliation information, verification information, and time stamp;
    所述执行结果信息包括支付结果和所述订单对账信息;The execution result information includes the payment result and the order reconciliation information;
    该方法还包括:将所述功能参数发送给所述第二宿主应用的服务器端保存,以便所述第二宿主应用的服务器端利用所述订单对账信息进行订单对账。The method further includes: sending the function parameters to the server of the second host application for storage, so that the server of the second host application uses the order reconciliation information to perform order reconciliation.
  16. 根据权利要求14所述的方法,其特征在于,利用所述功能参数执行所述功能包括:The method according to claim 14, wherein performing the function using the function parameter comprises:
    将所述功能参数发送至所述第二宿主应用的服务器端;Sending the function parameter to the server of the second host application;
    接收所述第二宿主应用的服务器端返回的包含指定支付通道信息的支付界面;Receiving the payment interface containing the designated payment channel information returned by the server of the second host application;
    将用户在所述支付界面上输入的支付信息发送给所述第二宿主应用的服务器 端;Sending the payment information entered by the user on the payment interface to the server of the second host application;
    接收所述第二宿主应用的服务器端返回的支付结果。Receiving the payment result returned by the server of the second host application.
  17. 一种信息处理方法,由第一宿主应用的服务器端执行,其特征在于,该方法包括:An information processing method, executed by the server of a first host application, characterized in that the method includes:
    接收所述第一宿主应用发送的小程序触发宿主应用功能的事件信息,以及所述第一宿主应用枚举得到的所述第一宿主应用所在终端设备的宿主应用列表;Receiving the event information sent by the first host application of the applet triggering the function of the host application, and the host application list of the terminal device where the first host application is enumerated by the first host application;
    确定所述宿主应用列表中具备所述功能的宿主应用,并将具备所述功能的宿主应用的信息返回给所述第一宿主应用,以便所述第一宿主应用将功能参数发送给具备所述功能的第二宿主应用来执行所述功能。Determine the host application with the function in the host application list, and return the information of the host application with the function to the first host application, so that the first host application sends the function parameters to the host application with the function The second host application of the function performs the function.
  18. 根据权利要求17所述的方法,其特征在于,所述功能包括指定支付通道的支付功能;The method according to claim 17, wherein the function includes a payment function of a designated payment channel;
    所述获取到小程序触发宿主应用功能的事件包括:获取到所述第一宿主应用中小程序创建订单的请求,所述请求中包含订单信息;The obtaining of the event that the mini program triggers the function of the host application includes: obtaining a request for the mini program in the first host application to create an order, and the request includes order information;
    该方法还包括:向所述第一宿主应用返回订单相关信息,所述订单相关信息包括:加密的订单信息、加密密钥信息和订单对账信息;The method further includes: returning order-related information to the first host application, where the order-related information includes: encrypted order information, encryption key information, and order reconciliation information;
    接收并保存所述第一宿主应用发送的支付结果和订单对账信息;Receiving and saving the payment result and order reconciliation information sent by the first host application;
    所述订单对账信息用于进行账单对账。The order reconciliation information is used for bill reconciliation.
  19. 一种设备,其特征在于,所述设备包括:A device, characterized in that the device includes:
    一个或多个处理器;One or more processors;
    存储装置,用于存储一个或多个程序,Storage device, used to store one or more programs,
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-18中任一所述的方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1-18.
  20. 一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行如权利要求1-18中任一所述的方法。A storage medium containing computer-executable instructions, which are used to execute the method according to any one of claims 1-18 when executed by a computer processor.
PCT/CN2020/109954 2019-08-23 2020-08-19 Information processing method, device, and computer storage medium WO2021036877A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910782782.1A CN110515678B (en) 2019-08-23 2019-08-23 Information processing method, equipment and computer storage medium
CN201910782782.1 2019-08-23

Publications (1)

Publication Number Publication Date
WO2021036877A1 true WO2021036877A1 (en) 2021-03-04

Family

ID=68626431

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/109954 WO2021036877A1 (en) 2019-08-23 2020-08-19 Information processing method, device, and computer storage medium

Country Status (2)

Country Link
CN (1) CN110515678B (en)
WO (1) WO2021036877A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110515678B (en) * 2019-08-23 2021-03-19 上海连尚网络科技有限公司 Information processing method, equipment and computer storage medium
CN112835632B (en) * 2019-11-06 2022-05-27 上海连尚网络科技有限公司 Method and equipment for calling end capability and computer storage medium
CN111476637B (en) * 2020-04-07 2023-07-07 百度在线网络技术(北京)有限公司 Commodity information management method, host platform and commodity information management component
CN111475342B (en) * 2020-04-15 2024-04-23 广州三星通信技术研究有限公司 Application switching method and application switching device for electronic terminal
CN111754269A (en) * 2020-06-29 2020-10-09 嘉兴想天信息科技有限公司 Short-speaking APP integrated community system
CN114116037A (en) * 2020-08-31 2022-03-01 支付宝实验室(新加坡)有限公司 Method and system for launching small programs across sites
CN112700238A (en) * 2020-12-31 2021-04-23 车主邦(北京)科技有限公司 Payment information processing method and device
CN114531432A (en) * 2022-02-14 2022-05-24 浙江吉利控股集团有限公司 Cross-platform based service communication method and device
CN114979300A (en) * 2022-07-05 2022-08-30 北京一点数娱科技有限公司 Multi-service communication method and device for client

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030033443A1 (en) * 2001-03-01 2003-02-13 Nikolay Igotti Virtual machine integration application program interface
CN104102537A (en) * 2013-04-07 2014-10-15 华为技术有限公司 Application calling method and user terminal
CN110515678A (en) * 2019-08-23 2019-11-29 上海连尚网络科技有限公司 A kind of information processing method, equipment and computer storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8458656B1 (en) * 2008-08-25 2013-06-04 United Services Automobile Association (Usaa) Systems and methods for providing mobile browser access to mobile device functionalities
CN107957911B (en) * 2016-10-18 2019-07-05 腾讯科技(深圳)有限公司 Method and apparatus, the method and apparatus of module data processing of component call
CN109933442B (en) * 2019-03-04 2022-12-30 上海连尚网络科技有限公司 Method, apparatus and computer storage medium for communication between small program platforms
CN109976922B (en) * 2019-03-04 2021-02-02 上海连尚网络科技有限公司 Discovery method, device and computer storage medium between small program platforms

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030033443A1 (en) * 2001-03-01 2003-02-13 Nikolay Igotti Virtual machine integration application program interface
CN104102537A (en) * 2013-04-07 2014-10-15 华为技术有限公司 Application calling method and user terminal
CN110515678A (en) * 2019-08-23 2019-11-29 上海连尚网络科技有限公司 A kind of information processing method, equipment and computer storage medium

Also Published As

Publication number Publication date
CN110515678B (en) 2021-03-19
CN110515678A (en) 2019-11-29

Similar Documents

Publication Publication Date Title
WO2021036877A1 (en) Information processing method, device, and computer storage medium
US20210150506A1 (en) Peer-to-peer payment systems and methods
US11727128B2 (en) Method and apparatus for multi-channel secure communication and data transfer
US9799029B2 (en) Securely receiving data input at a computing device without storing the data locally
US20180101850A1 (en) User and device authentication for web applications
US8973123B2 (en) Multifactor authentication
CN110826043B (en) Digital identity application system and method, identity authentication system and method
EP3061025B1 (en) Method and system for authenticating service
WO2020057628A1 (en) Virtual item distribution method, virtual item dispensing method, and virtual item receiving method
WO2021088671A1 (en) Method for calling terminal capability, device, and computer storage medium
JP2022525840A (en) Systems and methods for pre-authentication of customer support calls
WO2023241060A1 (en) Data access method and apparatus
CN111698312A (en) Service processing method, device, equipment and storage medium based on open platform
CN110545542B (en) Main control key downloading method and device based on asymmetric encryption algorithm and computer equipment
EP3754934B1 (en) Authentication information transmission method, key management client and computer device
CN111461726B (en) Secret payment-free signing method and device and electronic equipment
CN112711955A (en) NFC information transmission method, NFC information transmission device and NFC terminal
CN112101922A (en) Cloud payment method and device, cloud system, electronic device and storage medium
TWI691859B (en) System for identifying according to instruction to execute service and method thereof
CN109525554B (en) Financial data communication method, device, medium and electronic equipment
WO2021027145A1 (en) Non-application payment method and apparatus, and computing device and storage medium
CN115796865A (en) Transaction authentication method, device, equipment and readable medium
CN114640683A (en) Block chain data processing method and device, electronic equipment and storage medium
JP2024029681A (en) Trust service device, trust service method, program, and system
CN116560876A (en) Application program interface identification method, device, system and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20858820

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20858820

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20858820

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 220523)

122 Ep: pct application non-entry in european phase

Ref document number: 20858820

Country of ref document: EP

Kind code of ref document: A1