CN110515678A - A kind of information processing method, equipment and computer storage medium - Google Patents

A kind of information processing method, equipment and computer storage medium Download PDF

Info

Publication number
CN110515678A
CN110515678A CN201910782782.1A CN201910782782A CN110515678A CN 110515678 A CN110515678 A CN 110515678A CN 201910782782 A CN201910782782 A CN 201910782782A CN 110515678 A CN110515678 A CN 110515678A
Authority
CN
China
Prior art keywords
host
application
function
information
order
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910782782.1A
Other languages
Chinese (zh)
Other versions
CN110515678B (en
Inventor
崔英林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Lianshang Network Technology Co Ltd
Original Assignee
Shanghai Lianshang Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Lianshang Network Technology Co Ltd filed Critical Shanghai Lianshang Network Technology Co Ltd
Priority to CN201910782782.1A priority Critical patent/CN110515678B/en
Publication of CN110515678A publication Critical patent/CN110515678A/en
Priority to PCT/CN2020/109954 priority patent/WO2021036877A1/en
Application granted granted Critical
Publication of CN110515678B publication Critical patent/CN110515678B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

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

This application provides a kind of information processing method, equipment and computer storage mediums, wherein method include: in terminal device the first host application get small routine triggering host's application function event after, if the first host application does not have the function, functional parameter is sent to the second host application for having the function in the terminal device;Receive the execution result information returned after function described in the second host application execution.When the application enables to the first host application not have host's application function that small routine is triggered, it still is able to realize the function by the second host application for having the function in terminal device, to guarantee that small routine successfully provides service.

Description

A kind of information processing method, equipment and computer storage medium
[technical field]
This application involves computer application technology, in particular to information processing method under a kind of small routine scene, Equipment and computer storage medium.
[background technique]
This part intends to provides background or context for the presently filed embodiment stated in claims.Herein Description is not regarded as the prior art because being included in this section.
Small routine (Mini Program) is that one kind does not need the i.e. workable application of installation, runs on host's application and mentions For in the environment of.Small routine often uses some functions of host's application, such as small routine providing during service When triggering payment function, need host's application to provide payment channel.But if host's application where small routine does not have this Function then will lead to the serv-fail of the small routine.
[summary of the invention]
In view of this, this application provides a kind of information processing method, equipment and computer storage medium, in order to solve The above problem.
Specific technical solution is as follows:
In a first aspect, this application provides a kind of information processing method, it, should by first host's application execution of terminal device Method includes:
After the event for getting small routine triggering host's application function, if first host application does not have the function Can, then functional parameter is sent to the second host application for having the function in the terminal device;
Receive the execution result information returned after function described in the second host application execution.
According to one preferred embodiment of the application, this method further include:
First host applies by detecting in the installation kit that first host applies with the presence or absence of the function Whether information or the packet name of first host application indicate there are the function, whether to determine the first host application Has the function;Alternatively,
The event information for triggering host's application function is sent to the first host application by the first host application Server end determines whether the first host application has the function by the server end that first host applies.
According to one preferred embodiment of the application, this method further include:
First host applies host's list of application by enumerating the terminal device, and detects each host in list It is described whether the packet name in the installation kit of application with the presence or absence of the information for identifying the function or each host application indicates to exist Function, to determine the host's application for having the function in the terminal device;Alternatively, the first host application will enumerate To host's list of application of the terminal device be sent to the server end of first host application, by first host The server end of application determines the host's application for having the function in host's list of application, and will be provided with the function The information of host's application returns to the first host application.
According to one preferred embodiment of the application, this method further include:
If having the function for the multiple there are multiple host's applications for having the function in the terminal device Host's application message of energy shows user, applies so that user therefrom selects a host to apply as second host.
According to one preferred embodiment of the application, functional parameter is sent in the terminal device and has the function Second host applies
By being intended to the interface for the function that Intent event calls second host to apply and transmitting the function Parameter.
According to one preferred embodiment of the application, functional parameter is sent in the terminal device and has the function Second host applies
The session key negotiated in advance with second host application is applied to join the function using first host Number is encrypted, and encrypted functional parameter is sent to second host and is applied;
Receiving the implementing result returned after function described in the second host application execution includes:
The implementing result of the encryption returned after function described in the second host application execution is received, it is close using the session The implementing result of the encryption is decrypted in key.
According to one preferred embodiment of the application, the function includes the payment function of specified payment channel;
The functional parameter includes order information;
The execution result information includes: payment result.
According to one preferred embodiment of the application, the event for getting small routine triggering host's application function includes: The request that first host applies medium and small program creation order is got, includes order information in the request;
After the order relevant information of server end return for receiving the first host application, the first host application is determined Do not have the function.
According to one preferred embodiment of the application, the order relevant information includes: the order information of encryption, encryption key Information and order reconciliation information;
The functional parameter includes: order information, the encryption key message, check information and the time of the encryption Stamp.
According to one preferred embodiment of the application, the order relevant information further includes order reconciliation information;The function Also the order reconciliation information is separately included in parameter and execution result information;
This method further include:
First host applies the server end that the execution result information is sent to the first host application to protect It deposits, so that the server end of first host application carries out bill reconciliation using the order reconciliation information.
According to one preferred embodiment of the application, if the execution result information includes executing the information of failure, again The second host application that functional parameter is sent to and has the function in the terminal device is executed, or by the function Energy parameter is sent to other hosts application for having the function in the terminal device.
Second aspect, this application provides a kind of information processing methods should by second host's application execution of terminal device Method includes:
The functional parameter that the first host application is sent in the terminal device is received, the functional parameter is that the first host answers Itself do not have with the event for getting small routine triggering host's application function and determining and to send after the function;
The function is executed using the functional parameter;
Execution result information is returned to first host application.
According to one preferred embodiment of the application, the functional parameter that the first host application is sent in the terminal device is received Include:
The functional parameter for receiving the encryption that first host application is sent is applied and described the using first host The session key that two hosts application is negotiated in advance, is decrypted the functional parameter of the encryption;
Returning to execution result information to first host application includes:
The execution result information is encrypted using the session key, the first host of Xiang Suoshu application returns to encryption Execution result information afterwards.
According to one preferred embodiment of the application, the function includes the payment function of specified payment channel;
The functional parameter includes order information;
The execution result information includes: payment result.
According to one preferred embodiment of the application, the functional parameter includes: the order information of encryption, encryption key letter Breath, order reconciliation information, check information and timestamp;
The execution result information includes payment result and the order reconciliation information;
This method further include: the server end that the functional parameter is sent to the second host application is saved, so as to The server end of the second host application carries out order reconciliation using the order reconciliation information.
According to one preferred embodiment of the application, executing the function using the functional parameter includes:
The functional parameter is sent to the server end of the second host application;
Receive the payment interface comprising specified payment channel information that the server end of the second host application returns;
The payment information that user inputs in the payment interface is sent to the server end of the second host application;
Receive the payment result that the server end of the second host application returns.
The third aspect, this application provides a kind of information processing methods, are executed by the server end of the first host application, should Method includes:
Receive the event information and described for small routine triggering host's application function that first host application is sent Host's list of application of terminal device where first host that one host application is enumerated applies;
Determine have host's application of the function in host's list of application, and the host that will be provided with the function answers Information returns to the first host application, has the function so that first host applies for functional parameter to be sent to The second host application of energy is to execute the function.
According to one preferred embodiment of the application, the function includes the payment function of specified payment channel;
The event for getting small routine triggering host's application function includes: to get first host using medium and small The request of program creation order includes order information in the request;
This method further include: the first host of Xiang Suoshu application returns to order relevant information, and the order relevant information includes: Order information, encryption key message and the order reconciliation information of encryption;
Receive and save payment result and order reconciliation information that the first host application is sent;
The order reconciliation information is for carrying out bill reconciliation.
Fourth aspect, this application provides a kind of equipment, the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes method as described above.
5th aspect, this application provides a kind of storage mediums comprising computer executable instructions, and the computer can It executes instruction when being executed by computer processor for executing method as described above.
As can be seen from the above technical solutions, make user in the small routine applied using the first host by the application In the process, it if the first host application does not have host's application function that small routine is triggered, still is able to by terminal device Has the second host application of the function to realize the function, to guarantee that small routine successfully provides service.
[Detailed description of the invention]
Fig. 1 is system architecture schematic diagram involved in the application;
Fig. 2 is that host provided by the embodiments of the present application applies 1 process flow diagram executed;
Fig. 3 is that host provided by the embodiments of the present application applies 2 process flow diagrams executed;
Fig. 4 is the method flow diagram of one provided by the embodiments of the present application realization payment function;
Fig. 5 is the method flow diagram of one provided by the embodiments of the present application realization function of search;
Fig. 6 shows the block diagram for being suitable for the exemplary computer system/server for being used to realize the application embodiment.
[specific embodiment]
It is right in the following with reference to the drawings and specific embodiments in order to keep the purposes, technical schemes and advantages of the application clearer The application is described in detail.
Understanding to the application for convenience, first retouches system architecture involved in the application and main concept It states.As shown in fig. 1, which mainly includes that host applies with host using corresponding server end.
Small routine relies on host's application to run on the terminal device, and the environment where small routine operation is that host's application provides 's.Wherein terminal device can include but is not limited to such as: intelligent mobile terminal, smart home device, the network equipment, wearable Formula equipment, intelligent medical equipment, PC (personal computer) etc..Wherein Intelligent mobile equipment may include such as mobile phone, plate electricity Brain, laptop, PDA (personal digital assistant), internet automobile etc..Smart home device may include that intelligent appliance is set It is standby, smart television, intelligent sound box etc..The network equipment may include interchanger, wireless aps, server etc..It is wearable Formula equipment may include that such as smartwatch, intelligent glasses, Intelligent bracelet, virtual reality device, augmented reality equipment, mixing are existing Real equipment (equipment that can support virtual reality and augmented reality) etc..
It may be applied comprising multiple hosts on same terminal device, to be using 2 using 1 and host comprising host in Fig. 1 Example.Multiple small routines may also be run in one host's application, and different hosts application may run different small routines, it can also Identical small routine can be run.As shown in fig. 1, host applies and runs small routine a1 and small routine b1 in 1, and host applies in 2 Run small routine a2 and small routine b2.
There are corresponding server ends for each host's application, and as shown in fig. 1, host applies 1 corresponding server end 1, Host applies 2 corresponding server ends 2.Each host application can corresponding server end interact, in the application In embodiment, data interaction can also be carried out between different server ends.
Each server end can be single server, be also possible to the server farm that multiple servers are constituted.It should manage It solves, terminal device, host's application in Fig. 1, small routine, the number of server end are only schematical.According to realize needs, It can have any number of terminal device, host's application, small routine, server end.
The core concept of the application is, when small routine triggers host's application function, if host where the small routine answers With not having the function, then functional parameter is sent to have in same terminal device the function other hosts application come on behalf of Execute the function.
Assume that the host of user's system architecture shown in Fig. 1 applies in the application subsequent embodiment and use small routine a1 in 1, The function that small routine a1 needs that host is called to apply 1.So host mainly executes process flow as shown in Figure 2 using 1:
In 201, host gets the event that small routine a1 triggers host's application function using 1.
According to the difference of concrete function, the event for triggering host's application function is also different.When small routine a1 is needed using place When a certain function of main application 1, the event for triggering the function can be generated, when host gets the event using 1, it will be able to obtain It is called to know that the function needs.
In 202, whether host itself has the function using 1 determination, if so, executing 203;Otherwise, 204 are executed.
In embodiments herein, the detection whether host has the function using 1 oneself can be held by host using 1 Row can also be executed by host using 1 corresponding server end 1.
In the embodiment of the present application, it can make an appointment and the information for identifying specific function is set to the installation of host's application Bao Zhong just has the information for identifying the specific function if host's application has the specific function in installation kit.It can also be with The packet name of host's application is specified for specific function in advance, if host's application has the specific function, passes through its Bao Mingneng Enough instruction host is using there are the specific functions.Therefore, host using 1 can by detection host using 1 installation kit in be It is no to apply whether 1 packet name indicates there are the function there are the information of the function or host, to determine whether host has using 1 The standby function.
Alternatively, the small routine a1 event information for triggering host's application function can be sent to host using 1 using 1 by host Server end 1, determine whether host has the function using 1 by server end 1.On the one hand, whether host's application has certain Kind of function is that the exploitation to service provider is relevant, i.e., whether service provider when developing such host application is integrated in this for the function It is on the other hand also related using 1 version to host in host's application, it is possible to have a function there are highest version, and low version This does not have the function.In short, server end 1 can apply 1 version information etc. according to exploitation configuration information and host really Determine host and whether have the function using 1, and instruction host is fed back into host using 1 information for whether having the function and is answered With 1.
In 203, the function is executed using 1 by host, terminates process.
If host itself has the function using 1, the function is executed according to mode in the prior art.
In 204, host determines the host for having the function in terminal device using 2 using 1.
It is mentioned above, in the embodiment of the present application, can make an appointment will identify the information setting of specific function In the installation kit of host's application, if host's application has the specific function, just having mark in installation kit, this is specific The information of function.
The packet name of host's application can also be specified for specific function in advance, if host's application has the specific function, Then host can be indicated using there are the specific functions by its packet name.
Therefore, the host's list of application that terminal device can be enumerated using 1 as one of implementation, host, so The information in host's list of application in the installation kit of each host's application with the presence or absence of the mark function, or each place of detection are detected afterwards Whether the packet name of main application indicates that there are the functions, so that it is determined that having host's application of the function in terminal device.
Other than above-mentioned implementation, there is also another implementations, i.e., determine terminal device by server end 1 In have the function host application.Specifically, host can be by the host's list of application for the terminal device enumerated using 1 It is sent to server end 1.It can cooperate with regard to some specific functions between service provider, be configured in server end 1 in advance The information for having host's application of specific function.After server end 1 receives host's list of application that host sends using 1, really Has host's application of function corresponding to above-mentioned event in the fixed list, and the host that will be provided with function corresponding to above-mentioned event answers Information returns to host using 1.
If only determining the host's application for having the function, host can directly apply the host using 1 2 are applied as above-mentioned host.If it is determined that multiple host's applications for having the function, then host can be according to default using 1 Rule therefrom select one as above-mentioned host apply 2.In addition, as a preferred embodiment, can will determine Multiple host's application messages show user, for user therefrom select a host apply as above-mentioned host apply 2.
In 205, functional parameter is sent to the host for having the function in terminal device using 1 using 2 by host.
In this step, host using 1 can by Intent (intentions) event call host using 2 corresponding function interface And transfer function parameter.
Host is using 1 when sending function parameter applies 2 to host, and in order to guarantee the safety of information, host applies 1 He The negotiation that host can conversate key using 2, host require benefit using the information of the transmitting between 2 using 1 and host It is encrypted with session key.Then host is sent out after being encrypted using the session key for negotiating to obtain to functional parameter using 1 Host is given using 2, host is decrypted the functional parameter received using session key using 2.
In 206, it receives host and executes the execution result information returned after the function using 2.
After host receives execution result information using 1, execution result information can be sent to server end 1 and protected It deposits.
Host mainly executes process flow as shown in Figure 3 using 2:
In 301, host receives host using 2 and applies 1 functional parameter sent.
Equally, the functional parameter that functional parameter involved in this step can encrypt.Host using 2 can use in advance with The functional parameter of encryption is decrypted in the session key that host negotiates using 1.
In 302, corresponding function is executed using the functional parameter.
In this step, functional parameter can be sent to server end 2 using 2 by host, be joined by server end 2 according to function Number is handled, which can be existing function and execute process, and it is not described here in detail.
In 303, execution result information is returned using 1 to host.
In this step, host is sent after being encrypted implementing result using the session key negotiated in advance using 2 1 is applied to host.
Host's application function involved in the application can be appointing for host's application that small routine calls in use Function, such as function of search, payment function of anticipating etc..It is described in conjunction with the embodiments separately below.
Fig. 4 is the method flow diagram of one provided by the embodiments of the present application realization payment function, as shown in Figure 4, the party Method may comprise steps of:
In 401, host gets the request that host applies the creation order of small routine a1 in 1 using 1.
During user uses small routine a1 using 1 by host, need that host is called to apply when creating order Payment function.Usually when creating order, other than comprising information such as O/No., order contents, can also include in order The information of payment channel.The payment channel can be the specified payment channel of service, be also possible to the payment channel of user's selection. Therefore, include the information of payment channel in the order information that the request of the creation order is included, call host to trigger Using 1 payment function using the payment channel.
In 402, the server end i.e. server end 1 that the request for creating order is sent to itself using 1 by host.
In 403, server end 1 returns to order relevant information and applies 1 to host, and wherein order relevant information includes encryption Order information, encryption key message and order reconciliation information.
Server end 1 determines the payment function that host does not have the payment channel using 1, can not directly carry out at payment Reason, therefore server end 1 returns to order relevant information using 1 to host, after host receives the order relevant information using 1, It just can determine that itself does not have the payment function.
The order information for including in order relevant information is encryption, and the encryption key message that uses while being contained in is ordered In simple correlation information.Wherein encryption key message can be symmetric key information, be also possible to asymmetric key information, only It wants that decryption of the information realization of encryption key to the order information of encryption can be utilized.
Wherein order reconciliation information is the information for having uniqueness and unforgeable that server end 1 generates, Neng Gouwei One mark order, and be difficult to be cracked by other equipment.The key pair that order reconciliation information can be known using only server end 1 The random informations such as random number, timestamp obtain after being encrypted, naturally it is also possible to other modes are used, as long as can Guarantee uniqueness and unforgeable.
In 404, host determines the host for having payment function in terminal device using 2 using 1.
All hosts application that host is enumerated using 1 in terminal device obtains host's list of application, detects each place in list With the presence or absence of mark using the payment function of specified payment channel in the installation kit of main application, obtain with specified payment channel The host of payment function applies.If obtaining multiple host's applications, multiple host can be applied by way of such as pop-up It is shown to user, a host is therefrom selected to apply as the host's application for executing payment function by user.Assuming that user selects Be host using 2.
Other than which, the host for the terminal device that can also be uploaded using host using 1 by server end 1 is applied List therefrom determines have host's application of the payment function of specified payment channel in terminal device, these hosts is applied Information returns to host using 1.Wherein host can be by host's list of application together with one starting of request in step 402 using 1 Send, can also individually be sent after 403, can also host using 1 starting after just carry out host's list of application enumerate with It is uploaded to server end 1.
In 405, host applies consult session key between 2 using 1 and host.
For ensuring information security property, information forgery and information intercepting are prevented, host can be carried out in the embodiment of the present application The negotiation of session key between 2 is applied using 1 and host.The negotiation mode of session key can use existing in the prior art Negotiation mode, it is not described here in detail.
In 406, host is sent to host using 2 after encrypting using session key to payment function parameter using 1.
Payment function parameter is obtained by order relevant information.Wherein payment function parameter is in addition to including that the order of encryption is believed It can also include check information and timestamp except breath, encryption key message and order reconciliation information.Wherein, check information is used In carrying out completeness check to payment function parameter, such as the order information to encryption, encryption key message, timestamp can be Carry out the information obtained after Hash processing.
In addition, the information of demand is not quite similar since different hosts are applied when executing the processing of payment function, therefore need The data adaptation of payment function parameter is carried out according to the host's application for executing payment function.Such as it can be according to pre-set Data format sends payment function parameter using 2 to host.
In this step, host using 1 by Intent event call host using 2 payment function interface and transmit above-mentioned Payment function parameter.
In 407, host is decrypted payment function parameter using session key using 2.
In 408, payment function parameter is sent to server end 2 using 2 by host.
After server end 2 receives payment function parameter, completeness check is carried out using check information, such as to encryption After order information, encryption key message, timestamp carry out Hash processing, value and the check information that Hash is handled compare It is right, if unanimously, by completeness check, no completeness check failure.
After being decrypted using order information of the encryption key message therein to encryption, order information is obtained, using ordering Single information executes subsequent payment processing.
Server end 2 saves the corresponding relationship between order information and order reconciliation information, so as to subsequent progress order pair Account.
In 409, server end 2 returns to the payment interface comprising specified payment channel information using 2 to host.
It include specified payment channel information, payment amount, beneficiary information etc. in order information, server end utilizes These information generate payment interface and return to host using 2, and payment interface is showed user using 2 by host.
In 410, user is sent to server end 2 in the payment information that payment interface inputs using 2 by host.
User can input the payment informations such as password, identifying code, biological information, Su Zhuying in payment interface Server end 2 is sent payment information to 2.Wherein, password can be digital cipher, gesture password, speech cipher etc..Verifying Code can be picture category identifying code, short message verification code etc..Biological information can be the spies such as fingerprint, vocal print, iris, face Reference breath.
In 411, after server end 2 handles payment information, execution result information is returned using 2 to host.
Server end 2 can verify payment information in local, can also send payment information to and specified branch The corresponding Third-party payment platform in channel or banking system etc. is paid to be verified.If the verification passes, then success is paid, otherwise Payment failure.
In addition, server end 2 can save payment result and order reconciliation information, so as to subsequent progress order reconciliation Processing.
It should be noted that above-mentioned 409~411 be one of implementation provided by the present application, for server end 2 For, it can also be using other payment processing modes.For example, if user is provided in host using 2 in advance exempts from close payment, Server end 2 directly returns using 2 to host and pays successful information.
In 412, host is sent to host using 1 after encrypting using session key to execution result information using 2.
Execution result information includes payment result and order reconciliation information.
In 413, after host is decrypted execution result information using session key using 1, by execution result information Server end 1 is sent to be saved.
Server end 1 saves the corresponding relationship between payment result and order reconciliation information.
If subsequent need to carry out reconciliation for this transaction, can be in 414, by server end 1 and server end 2 Using the corresponding relationship between the order information, payment result and order reconciliation information respectively saved, order reconciliation processing is carried out.
Fig. 5 is the method flow diagram of one provided by the embodiments of the present application realization function of search, as shown in Figure 5, the party Method may comprise steps of:
In 501, the host that host obtains using 1 applies the searching request of small routine b1 in 1.
User applies 1 during using small routine b1 by host, needs to call the function of search of host's application, then Searching request can be sent, may include search key in the searching request, can further include: search-type information, E.g. Webpage search, picture searching, map search etc..
In 502, host detects after itself not having function of search using 1, determines in terminal device have search function The host of energy applies 2.
Host can detecte the information that whether there is identification search function in itself installation kit using 1, if it is not, then can be with Think to detect that itself does not have function of search.
Other than this mode, it can also be answered using searching request is sent to host in payment embodiment shown in Fig. 4 With 1 server end 1, the mode whether host has function of search using 1 is determined by server end 1.
Host enumerates host's list of application in terminal device using 1, passes through the installation of each host's application in detection list It whether there is the information of identification search function in packet, to determine the host's application for having function of search in terminal device.If deposited The hosts' application for having function of search multiple, then can be shown to user for the information that multiple host applies, by user from One host's application of middle selection, it is assumed that selection is host using 2.
In 503, host applies consult session key between 2 using 1 and host.
In 504, host is sent to host using 2 after encrypting using session key to function of search parameter using 1.
Function of search parameter is obtained by searching request.Wherein function of search parameter is in addition to including search key, searching class Type etc. is searched for except information, can also include the information such as check information, timestamp.Wherein, search information can also be using encryption Form, in this case, function of search parameter further includes encryption key message.
In this step, host using 1 can by Intent event call host using 2 function of search interface and transmit Above-mentioned function of search parameter.
In 505, host is decrypted function of search parameter using session key using 2.
In 506, function of search parameter is sent to server end 2 using 2 by host.
After server end 2 receives function of search parameter, completeness check is carried out using check information.Added using therein After the search information of encryption is decrypted in key information, search information is obtained, scans for handling using search information.
In 507, server end 2 returns to search result information and applies 2 to host.
After a search is executed, the address information of such as result of page searching can be sent to host using 2.
In 508, host is sent to host using 1 after encrypting using session key to search result information using 2.
In 509, after host is decrypted search result information using session key using 1, search result is carried out Show.
Fig. 6 shows the frame for being suitable for the exemplary computer system/server 012 for being used to realize the application embodiment Figure.The computer system/server 012 that Fig. 6 is shown is only an example, should not function and use to the embodiment of the present application Range band carrys out any restrictions.
As shown in fig. 6, computer system/server 012 is showed in the form of universal computing device.Computer system/clothes The component of business device 012 can include but is not limited to: one or more processor or processing unit 016, system storage 028, connect the bus 018 of different system components (including system storage 028 and processing unit 016).
Bus 018 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts For example, these architectures include but is 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.
Computer system/server 012 typically comprises a variety of computer system readable media.These media, which can be, appoints The usable medium what can be accessed by computer system/server 012, including volatile and non-volatile media, movably With immovable medium.
System storage 028 may include the computer system readable media of form of volatile memory, such as deposit at random Access to memory (RAM) 030 and/or cache memory 032.Computer system/server 012 may further include other Removable/nonremovable, volatile/non-volatile computer system storage medium.Only as an example, storage system 034 can For reading and writing immovable, non-volatile magnetic media (Fig. 6 do not show, commonly referred to as " hard disk drive ").Although in Fig. 6 It is not shown, the disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") can be provided, and to can The CD drive of mobile anonvolatile optical disk (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these situations Under, each driver can be connected by one or more data media interfaces with bus 018.Memory 028 may include At least one program product, the program product have one group of (for example, at least one) program module, these program modules are configured To execute the function of each embodiment of the application.
Program/utility 040 with one group of (at least one) program module 042, can store in such as memory In 028, such program module 042 includes --- but being not limited to --- operating system, one or more application program, other It may include the realization of network environment in program module and program data, each of these examples or certain combination.Journey Sequence module 042 usually executes function and/or method in embodiments described herein.
Computer system/server 012 can also with one or more external equipments 014 (such as keyboard, sensing equipment, Display 024 etc.) communication, in this application, computer system/server 012 is communicated with outside radar equipment, can also be with One or more enable a user to the equipment interacted with the computer system/server 012 communication, and/or with make the meter Any equipment (such as network interface card, the modulation that calculation machine systems/servers 012 can be communicated with one or more of the other calculating equipment Demodulator etc.) communication.This communication can be carried out by input/output (I/O) interface 022.Also, computer system/clothes Being engaged in device 012 can also be by network adapter 020 and one or more network (such as local area network (LAN), wide area network (WAN) And/or public network, such as internet) communication.As shown, network adapter 020 by bus 018 and computer system/ Other modules of server 012 communicate.It should be understood that computer system/server 012 can be combined although being not shown in Fig. 6 Using other hardware and/or software module, including but not limited to: microcode, device driver, redundant processing unit, external magnetic Dish driving array, RAID system, tape drive and data backup storage system etc..
Processing unit 016 by the program that is stored in system storage 028 of operation, thereby executing various function application with And data processing, such as realize method flow provided by the embodiment of the present application.
Above-mentioned computer program can be set in computer storage medium, i.e., the computer storage medium is encoded with Computer program, the program by one or more computers when being executed, so that one or more computers execute in the application State method flow shown in embodiment and/or device operation.For example, executing the application reality by said one or multiple processors Apply method flow provided by example.
With time, the development of technology, medium meaning is more and more extensive, and the route of transmission of computer program is no longer limited by Tangible medium, can also be directly from network downloading etc..It can be using any combination of one or more computer-readable media. Computer-readable medium can be computer-readable signal media or computer readable storage medium.Computer-readable storage medium Matter for example may be-but not limited to-system, device or the device of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or Any above combination of person.The more specific example (non exhaustive list) of computer readable storage medium includes: with one Or the electrical connections of multiple conducting wires, portable computer diskette, hard disk, random access memory (RAM), read-only memory (ROM), Erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light Memory device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer readable storage medium can With to be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or Person is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be Any computer-readable medium other than computer readable storage medium, which can send, propagate or Transmission is for by the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In --- wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
Can with one or more programming languages or combinations thereof come write for execute the application operation computer Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.In Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or Wide area network (WAN) is connected to subscriber computer, or, it may be connected to outer computer (such as provided using Internet service Quotient is connected by internet).
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.

Claims (20)

1. a kind of information processing method, by first host's application execution of terminal device, which is characterized in that this method comprises:
After the event for getting small routine triggering host's application function, if first host application does not have the function, Functional parameter is sent to the second host application for having the function in the terminal device;
Receive the execution result information returned after function described in the second host application execution.
2. the method according to claim 1, wherein this method further include:
First host applies the information that whether there is the function in the installation kit that first host applies by detecting Or whether the packet name of the first host application indicates there are the function, to determine whether the first host application has The function;Alternatively,
The event information for triggering host's application function is sent to the service of the first host application by the first host application Device end determines whether the first host application has the function by the server end that first host applies.
3. the method according to claim 1, wherein this method further include:
First host applies host's list of application by enumerating the terminal device, and detects each host's application in list Installation kit in whether indicate with the presence or absence of the packet name of the information for identifying the function or each host application there are the function, To determine the host's application for having the function in the terminal device;Alternatively,
The host's list of application for the terminal device enumerated is sent to first host by the first host application The server end of application determines in host's list of application have the function by the server end that first host applies Host's application, and the information that will be provided with host's application of the function returns to first host application.
4. according to the method described in claim 3, it is characterized in that, this method further include:
If the hosts' application for having the function there are multiple in the terminal device, has the function for the multiple Host's application message shows user, applies so that user therefrom selects a host to apply as second host.
5. having institute the method according to claim 1, wherein functional parameter is sent in the terminal device The second host for stating function, which applies, includes:
By being intended to the interface for the function that Intent event calls second host to apply and transmitting the functional parameter.
6. having institute the method according to claim 1, wherein functional parameter is sent in the terminal device The second host for stating function, which applies, includes:
Using first host apply with second host session key negotiated in advance of application to the functional parameter into Encrypted functional parameter is sent to second host and applied by row encryption;
Receiving the implementing result returned after function described in the second host application execution includes:
The implementing result for receiving the encryption returned after function described in the second host application execution, utilizes the session key pair The implementing result of the encryption is decrypted.
7. the method according to claim 1, wherein the function includes the payment function of specified payment channel;
The functional parameter includes order information;
The execution result information includes: payment result.
8. the method according to the description of claim 7 is characterized in that the thing for getting small routine triggering host's application function Part includes: the request for getting first host and applying medium and small program creation order, includes order information in the request;
After the order relevant information of server end return for receiving the first host application, determine that the first host application does not have The standby function.
9. according to the method described in claim 8, it is characterized in that, the order relevant information include: encryption order information, Encryption key message and order reconciliation information;
The functional parameter includes: order information, the encryption key message, check information and the timestamp of the encryption.
10. according to the method described in claim 9, it is characterized in that, the order relevant information further includes order reconciliation information; Also the order reconciliation information is separately included in the functional parameter and execution result information;
This method further include:
First host applies the server end that the execution result information is sent to the first host application to save, with The server end that toilet states the first host application carries out bill reconciliation using the order reconciliation information.
11. the method according to claim 1, wherein if the execution result information includes the letter for executing failure Breath then re-executes the second host application for being sent to functional parameter and having the function in the terminal device, or The functional parameter is sent to other hosts application for having the function in the terminal device by person.
12. a kind of information processing method, by second host's application execution of terminal device, which is characterized in that this method comprises:
The functional parameter that the first host application is sent in the terminal device is received, the functional parameter is that the first host application obtains It gets the event of small routine triggering host's application function and determining and itself does not have and send after the function;
The function is executed using the functional parameter;
Execution result information is returned to first host application.
13. according to the method for claim 12, which is characterized in that receive the first host application in the terminal device and send Functional parameter include:
The functional parameter for receiving the encryption that the first host application is sent, is applied and second place using first host It is main to apply the session key negotiated in advance, the functional parameter of the encryption is decrypted;
Returning to execution result information to first host application includes:
The execution result information is encrypted using the session key, the first host of Xiang Suoshu application returns encrypted Execution result information.
14. according to the method for claim 12, which is characterized in that the function includes the payment function of specified payment channel Energy;
The functional parameter includes order information;
The execution result information includes: payment result.
15. according to the method for claim 14, which is characterized in that the functional parameter includes: the order information of encryption, adds Key information, order reconciliation information, check information and timestamp;
The execution result information includes payment result and the order reconciliation information;
This method further include: save the server end that the functional parameter is sent to the second host application, so as to described The server end of second host application carries out order reconciliation using the order reconciliation information.
16. according to the method for claim 14, which is characterized in that executing the function using the functional parameter includes:
The functional parameter is sent to the server end of the second host application;
Receive the payment interface comprising specified payment channel information that the server end of the second host application returns;
The payment information that user inputs in the payment interface is sent to the server end of the second host application;
Receive the payment result that the server end of the second host application returns.
17. a kind of information processing method is executed by the server end of the first host application, which is characterized in that this method comprises:
Receive event information and first place of first host using the small routine triggering host's application function sent Host's list of application of terminal device where first host that main application is enumerated applies;
Determine have host's application of the function in host's list of application, and will be provided with host's application of the function Information returns to the first host application, has the function so that first host applies for functional parameter to be sent to Second host application is to execute the function.
18. according to the method for claim 17, which is characterized in that the function includes the payment function of specified payment channel Energy;
The event for getting small routine triggering host's application function includes: to get small routine in the first host application The request of order is created, includes order information in the request;
This method further include: the first host of Xiang Suoshu application returns to order relevant information, and the order relevant information includes: encryption Order information, encryption key message and order reconciliation information;
Receive and save payment result and order reconciliation information that the first host application is sent;
The order reconciliation information is for carrying out bill reconciliation.
19. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real The now method as described in any in claim 1-18.
20. a kind of storage medium comprising computer executable instructions, the computer executable instructions are by computer disposal For executing the method as described in any in claim 1-18 when device executes.
CN201910782782.1A 2019-08-23 2019-08-23 Information processing method, equipment and computer storage medium Active CN110515678B (en)

Priority Applications (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
PCT/CN2020/109954 WO2021036877A1 (en) 2019-08-23 2020-08-19 Information processing method, device, and computer storage medium

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN110515678A true CN110515678A (en) 2019-11-29
CN110515678B CN110515678B (en) 2021-03-19

Family

ID=68626431

Family Applications (1)

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

Country Status (2)

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

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475342A (en) * 2020-04-15 2020-07-31 广州三星通信技术研究有限公司 Application switching method and application switching device for electronic terminal
CN111476637A (en) * 2020-04-07 2020-07-31 百度在线网络技术(北京)有限公司 Commodity information management method, host platform and commodity information management assembly
CN111754269A (en) * 2020-06-29 2020-10-09 嘉兴想天信息科技有限公司 Short-speaking APP integrated community system
WO2021036877A1 (en) * 2019-08-23 2021-03-04 上海连尚网络科技有限公司 Information processing method, device, and computer storage medium
CN112700238A (en) * 2020-12-31 2021-04-23 车主邦(北京)科技有限公司 Payment information processing method and device
WO2021088671A1 (en) * 2019-11-06 2021-05-14 上海连尚网络科技有限公司 Method for calling terminal capability, device, and computer storage medium
CN114116037A (en) * 2020-08-31 2022-03-01 支付宝实验室(新加坡)有限公司 Method and system for launching small programs across sites
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
CN114979300B (en) * 2022-07-05 2024-06-04 北京弥特信息科技有限公司 Multi-service communication method and device for client

Citations (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
CN107957911A (en) * 2016-10-18 2018-04-24 腾讯科技(深圳)有限公司 Method and apparatus, the method and apparatus of module data processing of component call
CN109933442A (en) * 2019-03-04 2019-06-25 上海连尚网络科技有限公司 The means of communication, equipment and computer storage medium between small routine platform
CN109976922A (en) * 2019-03-04 2019-07-05 上海连尚网络科技有限公司 Discovery method, equipment and computer storage medium between small routine platform

Family Cites Families (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
CN104102537B (en) * 2013-04-07 2017-09-29 华为技术有限公司 A kind of application call method and user terminal
CN110515678B (en) * 2019-08-23 2021-03-19 上海连尚网络科技有限公司 Information processing method, equipment and computer storage medium

Patent Citations (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
CN107957911A (en) * 2016-10-18 2018-04-24 腾讯科技(深圳)有限公司 Method and apparatus, the method and apparatus of module data processing of component call
CN109933442A (en) * 2019-03-04 2019-06-25 上海连尚网络科技有限公司 The means of communication, equipment and computer storage medium between small routine platform
CN109976922A (en) * 2019-03-04 2019-07-05 上海连尚网络科技有限公司 Discovery method, equipment and computer storage medium between small routine platform

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021036877A1 (en) * 2019-08-23 2021-03-04 上海连尚网络科技有限公司 Information processing method, device, and computer storage medium
WO2021088671A1 (en) * 2019-11-06 2021-05-14 上海连尚网络科技有限公司 Method for calling terminal capability, device, and computer storage medium
CN111476637A (en) * 2020-04-07 2020-07-31 百度在线网络技术(北京)有限公司 Commodity information management method, host platform and commodity information management assembly
CN111475342A (en) * 2020-04-15 2020-07-31 广州三星通信技术研究有限公司 Application switching method and application switching device for electronic terminal
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
CN114979300B (en) * 2022-07-05 2024-06-04 北京弥特信息科技有限公司 Multi-service communication method and device for client

Also Published As

Publication number Publication date
WO2021036877A1 (en) 2021-03-04
CN110515678B (en) 2021-03-19

Similar Documents

Publication Publication Date Title
CN110515678A (en) A kind of information processing method, equipment and computer storage medium
RU2645593C2 (en) Verification of portable consumer devices
RU2556453C2 (en) System and method for authentication of transactions without car with help of mobile device
CN110826043B (en) Digital identity application system and method, identity authentication system and method
US20210049579A1 (en) Multi-factor identity authentication
US8752158B2 (en) Identity management with high privacy features
JP2002504731A (en) Computer-based method and transaction support system
EP2336962A2 (en) Information processing apparatus, program, storage medium and information processing system
US20070094152A1 (en) Secure electronic transaction authentication enhanced with RFID
CN106899552A (en) Authentication method, certification terminal and system
CN109804376A (en) User and equipment certification for web application
US20140137206A1 (en) Password-free, token-based wireless access
US20090045253A1 (en) System and method for providing virtual discernment information
EP3716184A1 (en) Method and apparatus for paying bus fare, and device
CN109767200A (en) A kind of electric paying method, device, system and storage medium
CN109284714A (en) Method is provided and is got in a kind of distribution of virtual objects
US20230043361A1 (en) Modular data processing and storage system
CN110324314A (en) User registering method and device, storage medium, electronic equipment
CA3122376A1 (en) Systems and methods for securing login access
WO2023241060A1 (en) Data access method and apparatus
US10666793B1 (en) Secure call center communications
CN112687042B (en) Authentication method, authentication device and electronic equipment
KR100946410B1 (en) Method and system for approval of another party mobile payment
CN111784481B (en) Code scanning ordering method, service code creating method, device and electronic equipment
CN108282472A (en) A kind of WIFI authentication methods, device, server and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant