A service processing method and apparatus, a storage medium, and an electronic device

By obtaining and processing call parameter information in the H5 page and generating hash change events, the problem of third-party toolkits not being able to be used directly is solved, improving business processing efficiency and reducing development and maintenance costs.

CN117009703BActive Publication Date: 2025-10-21PING AN INT FINANCIAL LEASING CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310996813.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-08
Publication Date
2025-10-21
Estimated Expiration
2043-08-08

AI Technical Summary

Technical Problem

Traditional third-party software development kits cannot be used directly on H5 pages, leading to difficulties in calling them during business processes.

Method used

By obtaining the current page information of the target user before applying the target software development kit, the toolkit is invoked based on the call parameter information, and a hash change parameter value is generated after a successful call, triggering a hash change event to realize business processing.

Benefits of technology

This allows for the dynamic embedding of third-party SDKs into H5 pages, improving business processing efficiency and reducing development and maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117009703B_ABST
    Figure CN117009703B_ABST
Patent Text Reader

Abstract

The application discloses a business processing method and device, a storage medium and an electronic device. The method comprises the following steps: obtaining current page information of a target user before a target software development kit is applied, wherein the current page information at least comprises preset calling parameter information; performing software development kit calling based on the calling parameter information, and obtaining a first return result after the target software development kit is executed; in the case that the first return result is successful in executing the software development kit, obtaining a first hash change parameter value corresponding to the first return result; generating first trigger information of triggering a preset hash change event based on the first hash change parameter value and the current page information, triggering the hash change event based on the first trigger information, and obtaining a business processing result. The business processing method disclosed by the application reduces the development and maintenance cost of the business development application program scene, and improves the business processing efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of business processing technology, applicable to financial technology, digital medicine and artificial intelligence technology, and in particular to a business processing method, device, storage medium and electronic device. Background Art

[0002] Currently, the business processes of multiple projects within the enterprise are implemented on H5 pages, and the business processing process involves the use of third-party software development kits. For example, in the credit business application scenario, it involves calling a third-party facial recognition software development kit for detection to ensure information security. Traditionally, calling third-party software development kits is done through mini-programs, and the third-party software development kits obtained by calling cannot be used directly on the H5 page. Summary of the Invention

[0003] In view of this, the present invention provides a business processing method, device, storage medium and electronic device, the main purpose of which is to solve the current problem that third-party software development toolkits called through mini-programs cannot be directly used on H5 pages.

[0004] To solve the above problems, this application provides a business processing method, including:

[0005] Obtaining current page information of the target user before applying the target software development kit, wherein the current page information at least includes preset call parameter information;

[0006] Calling a software development kit based on each of the calling parameter information, and obtaining a first return result after executing the target software development kit;

[0007] When the first return result indicates that the software development kit is successfully executed, obtaining a first hash change parameter value corresponding to the first return result;

[0008] First trigger information for triggering a preset hash change event is generated based on the first hash change parameter value and the current page information, so as to trigger the hash change event based on the first trigger information and obtain a business processing result.

[0009] Optionally, obtaining the current page information of the target user before applying the target software development kit specifically includes:

[0010] Acquire operation data of a target user through an application portal based on a preset web page view, and obtain initial page information corresponding to the target user;

[0011] In response to a target user's processing operation on a service, refreshing the initial page information to obtain intermediate page information;

[0012] When the target user applies the target software development kit, in response to the target user's operation of applying the target software development kit, obtaining each calling parameter information returned through a preset calling interface;

[0013] Based on each of the call parameter information, the current intermediate page information is refreshed to obtain the current page information.

[0014] Optionally, calling a software development kit based on each of the calling parameter information to obtain a first return result after executing the target software development kit specifically includes:

[0015] Perform a software development kit query based on each of the call parameter information to obtain a target software development kit corresponding to each of the call parameter information;

[0016] In response to a preset first jump instruction, switching the current page information to the target software development kit to perform a jump operation;

[0017] receiving a first return parameter value after the target user applies the target software development kit to perform an operation;

[0018] A first return result after executing the target software development kit is determined based on the first return parameter value.

[0019] Optionally, when the first return result indicates that the software development kit is successfully executed, obtaining a first hash change parameter value corresponding to the first return result specifically includes:

[0020] When the first returned result indicates that the software development kit is successfully executed, obtaining a first time identifier when the first returned result is received;

[0021] The first time identifier is determined as a first hash change parameter value corresponding to the first returned result.

[0022] Optionally, generating first trigger information for triggering a preset hash change event based on the first hash change parameter value and the current page information specifically includes:

[0023] In response to a preset second jump instruction, switching the current operation page of the target software development kit to the current page information to perform a jump operation;

[0024] A splicing process is performed based on the first hash change parameter value and the path information corresponding to the current page information to generate first trigger information that triggers a preset hash change event.

[0025] Optionally, the generating first trigger information for triggering a preset hash change event by performing splicing processing based on the first hash change parameter value and the path information corresponding to the current page information specifically includes:

[0026] Determining, based on the path information, an identifier for identifying a starting position of a splicing process;

[0027] After splicing the first hash change parameter value to the identifier, the first trigger information for triggering a preset hash change event is generated.

[0028] Optionally, after generating first trigger information for triggering a preset hash change event based on the first hash change parameter value and the current page information, and triggering the hash change event based on the first trigger information, the method further includes:

[0029] After the target user applies the target software development kit again, receiving a second return parameter value after the target user applies the target software development kit to perform an operation;

[0030] Determine a second return result after executing the target software development kit based on the second return parameter value;

[0031] When the second returned result indicates that the target software development kit is successfully executed, obtaining a second time identifier when the second returned result is received;

[0032] Determine the second time identifier as a second hash change parameter value corresponding to the second returned result;

[0033] Second trigger information for triggering a preset hash change event is generated based on the second hash change parameter value and the current page information, so as to trigger the hash change event based on the second trigger information and obtain a business processing result.

[0034] To solve the above problems, the present application provides a service processing device, including:

[0035] Acquisition module: used to obtain the current page information of the target user before applying the target software development kit, wherein the current page information at least includes preset call parameter information;

[0036] A calling module is configured to call a software development kit based on the calling parameter information and obtain a first return result after executing the target software development kit;

[0037] An obtaining module: configured to obtain a first hash change parameter value corresponding to the first return result when the first return result indicates that the software development kit is successfully executed;

[0038] Generation module: used to generate first trigger information for triggering a preset hash change event based on the first hash change parameter value and the current page information, so as to trigger the hash change event based on the first trigger information and obtain a business processing result.

[0039] To solve the above problems, the present application provides a storage medium, which stores a computer program. When the computer program is executed by a processor, the steps of the above-mentioned business processing method are implemented.

[0040] To solve the above problems, the present application provides an electronic device, which includes at least a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps of the above-mentioned business processing method when executing the computer program in the memory.

[0041] This application uses a third-party SDK in the current H5 business process to embed codes related to interaction with the mini program, thereby dynamically embedding H5 pages in the mini program and interactively scheduling the SDK to complete the business process, thereby improving business processing efficiency.

[0042] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are specifically listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Various other advantages and benefits will become apparent to those skilled in the art upon reading the detailed description of the preferred embodiment below. The accompanying drawings are for illustration purposes only and are not to be considered as limiting the present invention. The same reference symbols are used throughout the drawings to represent the same components. In the drawings:

[0044] Figure 1 A flowchart of a business processing method provided by an embodiment of the present application is shown;

[0045] Figure 2 A flowchart of a business processing method provided by another embodiment of the present application is shown;

[0046] Figure 3 A structural block diagram of a service processing device provided in another embodiment of the present application is shown. DETAILED DESCRIPTION

[0047] Various aspects and features of the present application are described herein with reference to the accompanying drawings.

[0048] It should be understood that various modifications may be made to the embodiments of the present application. Therefore, the above description should not be considered as limiting, but merely as an example of an embodiment. Other modifications within the scope and spirit of the present application will occur to those skilled in the art.

[0049] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present application and, together with the general description of the present application given above and the detailed description of the embodiments given below, serve to explain the principles of the present application.

[0050] These and other characteristics of the present application will become apparent from the following description of a preferred form of embodiment given as a non-limiting example with reference to the accompanying drawings.

[0051] It should also be understood that although the present application has been described with reference to certain specific examples, those skilled in the art will readily be able to implement many other equivalent forms of the present application.

[0052] The above and other aspects, features and advantages of the present application will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings.

[0053] Specific embodiments of the present application will be described hereinafter with reference to the accompanying drawings; however, it should be understood that the embodiments described are merely examples of the present application and may be implemented in a variety of ways. Familiar and / or repetitive functions and structures are not described in detail to avoid obscuring the present application with unnecessary or redundant details. Therefore, the specific structural and functional details described herein are not intended to be limiting, but rather serve merely as a basis and representative basis for the claims to teach those skilled in the art to variously utilize the present application with substantially any suitable detailed structure.

[0054] This specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," which may all refer to one or more of the same or different embodiments according to the present application.

[0055] The present application embodiment provides a business processing method, such as Figure 1 As shown, including:

[0056] Step S101: obtaining current page information of a target user before applying a target software development kit, wherein the current page information at least includes preset call parameter information;

[0057] During the specific implementation of this step, the operation data of the target user obtained through the application entrance is displayed based on the preset web view, and the initial page information corresponding to the target user is obtained; the preset web view can be the core view class WebView in the WebKit framework. The preset web view WebView is embedded in the mini program, and then the initial page information of the H5 page is obtained based on the preset web view WebView; the initial page information can be the initial page information corresponding to the homepage of the H5 page (a web page developed based on HTML5 technology, referred to as H5 page) when the user enters the mini program by scanning the target QR code or logging into the official account, and the initial page information carries the initial path information. In response to the target user's processing operation on the business, the initial page information is refreshed to obtain the intermediate page information; specifically, in a specific business process, the user performs business process processing on the initial page, and each click on the processing item in the page will refresh the page information and change the path information corresponding to the page information. When the target user applies the target software development kit, in response to the target user clicking an operation instruction to apply the target software development kit, various call parameter information returned by a preset call interface is obtained; the various call parameter information is call parameter information returned by the preset call interface when calling the third-party software development kit, which is preset before calling the software development kit. Based on the various call parameter information, the current intermediate page information is refreshed to obtain the current page information.

[0058] Step S102: calling a software development kit based on each of the calling parameter information, and obtaining a first return result after executing the target software development kit;

[0059] During the specific implementation of this step, a software development kit query is performed based on each of the call parameter information to obtain the target software development kit corresponding to each of the call parameter information; in response to the jump operation of the preset first jump instruction, the current page information is switched to the target software development kit; the first jump instruction can use the "wx.miniProgram.navigateTo" provided by the applet to perform the jump operation and switch the current page information to the target software development kit. The first return parameter value after the target user applies the target software development kit to perform the operation is received; when the target user completes the operation on the target software development kit page, the first return parameter value after the target user applies the target software development kit to perform the operation is received. The first return result after executing the target software development kit is determined based on the first return parameter value. Specifically, the first return parameter value is true value or false value; when the first return parameter value is true value, the first return result of a successful call is obtained, and when the first return parameter value is false value, the first return result of a failed call is obtained.

[0060] Step S103: when the first return result indicates that the software development kit is successfully executed, obtaining a first hash change parameter value corresponding to the first return result;

[0061] During the specific implementation of this step, when the first return result is the successful execution of the software development kit, a first time identifier when the first return result is received is obtained; and the first time identifier is determined as the first hash change parameter value corresponding to the first return result.

[0062] Step S104: generating first trigger information for triggering a preset hash change event based on the first hash change parameter value and the current page information, so as to trigger the hash change event based on the first trigger information and obtain a business processing result.

[0063] During the specific implementation of this step, in response to the jump operation of the preset second jump instruction, the operation page of the current target software development kit is switched to the current page information; the preset second jump instruction can use the navigateBack jump instruction to perform the jump operation, switching the operation page of the current target software development kit to the current page information. Based on the first hash change parameter value and the path information corresponding to the current page information, splicing processing is performed to generate the first trigger information that triggers the preset hash change event; specifically, the current page information is obtained by searching in the cache of the preset web page view; based on the path information corresponding to the current page information and the first hash change parameter value, splicing processing is performed to generate the first trigger information that triggers the preset hash change event. The hash change event is triggered based on the first trigger information to obtain the business processing result.

[0064] This application uses a third-party SDK in the current H5 business process to embed code related to interaction with the mini program, thereby dynamically embedding the H5 page in the mini program and interactively scheduling the SDK to complete the business process, thereby improving business processing efficiency. The business processing method in this application is used to reduce the development and maintenance costs of the mini program scenario for business development.

[0065] Another embodiment of the present application provides another business processing method, such as Figure 2 Shown, including:

[0066] Step S201: obtaining the current page information of the target user before applying the target software development kit, wherein the current page information at least includes preset call parameter information;

[0067] During the specific implementation of this step, the target user's operation data obtained through the application portal is displayed based on the preset web page view to obtain the initial page information corresponding to the target user;

[0068] The preset web view can be the WebView core view class in the WebKit framework. The preset WebView is embedded in the mini-program, and then, based on the preset WebView, the initial page information of the H5 page is obtained. This initial page information can be the initial page information corresponding to the H5 homepage when a user enters the mini-program by scanning a target QR code or logging into a public account. This initial page information carries initial path information. In response to a target user's business processing operation, the initial page information is refreshed to obtain intermediate page information. Specifically, in a specific business process, each time a user clicks on an item on the initial page during business processing, the page information is refreshed and the path information corresponding to the page information is changed. When the target user applies the target SDK, the target user obtains call parameter information returned via a preset call interface in response to the target user's click on the target SDK operation instruction. An SDK (Software Development Kit) is a software development toolkit, generally a collection of development tools used by software engineers to build application software for a specific software package, software framework, hardware platform, operating system, etc. Software development tools broadly refer to a collection of relevant documentation, examples, and tools that assist in the development of a specific type of software. For example, in a credit investigation and granting application scenario, a third-party software development kit (SDK) may utilize liveness detection technology for facial recognition, requiring the third-party SDK to be called to implement facial recognition. The call parameter information is pre-set and returned by a pre-set call interface when calling the third-party SDK. Based on the call parameter information, the current intermediate page information is refreshed to obtain the current page information.

[0069] Step S202: calling a software development kit based on each of the calling parameter information, and obtaining a first return result after executing the target software development kit;

[0070] During the specific implementation of this step, a software development kit query is performed based on each of the call parameter information to obtain the target SDK corresponding to each of the call parameter information; in response to the jump operation of the preset first jump instruction, the current page information is switched to the target SDK; the first jump instruction can use the "wx.miniProgram.navigateTo" provided by the applet to perform the jump operation and switch the current page information to the target SDK. The first return parameter value after the target user applies the target software development kit to perform the operation is received; when the target user completes the operation on the target software development kit page, the first return parameter value after the target user applies the target software development kit to perform the operation is received. The first return result after executing the target software development kit is determined based on the first return parameter value. Specifically, the first return parameter value is true value or false value; when the first return parameter value is true value, the first return result of a successful call is obtained, and when the first return parameter value is false value, the first return result of a failed call is obtained.

[0071] Step S203: when the first return result indicates that the software development kit is successfully executed, obtaining a first hash change parameter value corresponding to the first return result;

[0072] During the specific implementation of this step, if the first return result indicates successful execution of the software development kit, a first time identifier of when the first return result was received is obtained; the first time identifier may be a timestamp including time information such as year, month, day, hour, minute, and second, and the timestamp may be used to identify a unique first hash change parameter value. The first time identifier is determined as the first hash change parameter value corresponding to the first return result.

[0073] Step S204: In response to the jump operation of the preset second jump instruction, switching the operation page of the current target software development kit to the current page information;

[0074] During the specific implementation of this step, in response to a jump operation of a preset second jump instruction, the current target software development kit's operating page is switched to the current page information. The preset second jump instruction can be performed using a navigate Back jump instruction to perform a jump operation, switching the current target software development kit's operating page to the current page information. Specifically, the current page information is obtained by searching in a cache of a preset web page view; and a navigate Back jump instruction is used to perform a jump operation, switching the current target software development kit's operating page to the current page information.

[0075] Step S205: performing splicing processing based on the first hash change parameter value and the path information corresponding to the current page information to generate first trigger information that triggers a preset hash change event;

[0076] During the specific implementation of this step, the path information corresponding to the current page information and the first hash change parameter value are spliced ​​together to generate the first trigger information for triggering the preset hash change event. Specifically, the path information corresponding to the current page information includes domain name information, current page path, various parameter information, special character information and other information. The parameter information is followed by a special character "#", and a string of character string information follows after "#". By replacing the string information following "#" in the path information corresponding to the current page information with the first hash change parameter value, the first trigger information for triggering the preset hash change event is generated. This lays the foundation for the subsequent triggering of hash change events in an event-based manner.

[0077] Step S206: triggering the hash change event based on the first trigger information;

[0078] During the specific implementation of this step, the hash change event is triggered based on the first trigger information. By replacing the string information following the "#" in the path information corresponding to the current page information with the first hash change parameter value, changing the string information after the "#" in the path will not delete the original H5 page, but will perform subsequent business process processing on the current page information.

[0079] Step S207: After the target user applies the target software development kit again, a second return parameter value is received after the target user applies the target software development kit to perform an operation;

[0080] During the specific implementation of this step, the second return parameter value is true value or false value.

[0081] Step S208: determining a second return result after executing the target software development kit based on the second return parameter value;

[0082] During the specific implementation of this step, when the second return parameter value is true, a second return result indicating a successful call is obtained; and when the second return parameter value is false, a second return result indicating a failed call is obtained.

[0083] Step S209: when the second returned result indicates that the target software development kit is successfully executed, obtaining a second time identifier when the second returned result is received;

[0084] During the specific implementation of this step, in this application, the second time identifier can be a timestamp, which can contain time information such as year, month, day, hour, minute, and second. A unique time identifier can be established based on the timestamp, laying the foundation for subsequently determining the second time identifier as the second hash change parameter value corresponding to the second return result.

[0085] Step S210: Determine the second time identifier as a second hash change parameter value corresponding to the second returned result;

[0086] During the specific implementation of this step, the second time identifier is determined as the second hash change parameter value corresponding to the second return result, which lays the foundation for subsequently generating the second trigger information for triggering the preset hash change event based on the second hash change parameter value and the current page information, and triggering the hash change event based on the second trigger information to obtain the business processing result.

[0087] Step S211: generating second trigger information for triggering a preset hash change event based on the second hash change parameter value and the current page information, so as to trigger the hash change event based on the second trigger information and obtain a business processing result.

[0088] During the specific implementation of this step, splicing processing is performed based on the path information corresponding to the current page information and the second hash change parameter value to generate the second trigger information that triggers the preset hash change event. Specifically, the path information corresponding to the current page information contains domain name information, current page path, various parameter information, special character information and other information, with a special character "#" after the parameter information, and a string of character string information will follow after the "#". By replacing the string information following the "#" in the path information corresponding to the current page information with the second hash change parameter value, the second trigger information that triggers the preset hash change event is generated. This lays the foundation for the subsequent triggering of hash change events in an event-based manner. The hash change event is triggered based on the second trigger information, and the string information following the "#" in the path information corresponding to the current page information is replaced by the second hash change parameter value. Changing the string information after the "#" in the path will not delete the original H5 page, so that subsequent business processes are processed on the current page information to obtain business processing results.

[0089] This application uses the preset call parameter information of the target SDK in the current page information to call a third-party SDK, and switches the current page information to the third-party target SDK through a preset first jump instruction to use the SDK. Then, based on the second jump instruction, the current H5 page information read from the preset web page view cache, and the first hash change parameter value, the page after using the SDK is switched to the H5 web page for subsequent business process processing. The business processing method in this application reduces the development and maintenance costs of the business development applet scenario.

[0090] Another embodiment of the present application provides a service processing device, such as Figure 3 As shown, including:

[0091] Acquisition module 1: used to obtain the current page information of the target user before applying the target software development kit, wherein the current page information at least includes preset call parameter information;

[0092] Calling module 2: configured to call a software development kit based on the calling parameter information, and obtain a first return result after executing the target software development kit;

[0093] Obtaining module 3: configured to obtain a first hash change parameter value corresponding to the first return result when the first return result indicates that the software development kit is successfully executed;

[0094] Generating module 4: configured to generate first trigger information for triggering a preset hash change event based on the first hash change parameter value and the current page information, so as to trigger the hash change event based on the first trigger information and obtain a business processing result.

[0095] During the specific implementation process, the acquisition module 1 is specifically used to: obtain the operation data of the target user through the application entrance based on the preset web page view, and obtain the initial page information corresponding to the target user; refresh the initial page information in response to the target user's processing operation on the business, and obtain the intermediate page information; when the target user applies the target software development toolkit, in response to the target user's operation of applying the target software development toolkit, obtain the various call parameter information returned through the preset call interface; based on the various call parameter information, refresh the current intermediate page information to obtain the current page information.

[0096] During the specific implementation process, the calling module 2 is specifically used to: obtain the operation data of the target user through the application entrance based on the preset web page view, and obtain the initial page information corresponding to the target user; refresh the initial page information in response to the target user's processing operation on the business, and obtain the intermediate page information; when the target user applies the target software development toolkit, in response to the target user's operation of applying the target software development toolkit, obtain the various calling parameter information returned through the preset calling interface; based on the various calling parameter information, refresh the current intermediate page information to obtain the current page information.

[0097] During the specific implementation process, the acquisition module 3 is specifically used to: when the first return result is the successful execution of the software development toolkit, obtain the first time identifier when the first return result is received; and determine the first time identifier as the first hash change parameter value corresponding to the first return result.

[0098] During the specific implementation process, the generation module 4 is specifically used to: respond to a preset second jump instruction, switch the operation page of the current target software development toolkit to the current page information to perform a jump operation; perform splicing processing based on the first hash change parameter value and the path information corresponding to the current page information to generate a first trigger information that triggers a preset hash change event.

[0099] In the specific implementation process, the generation module 4 is also used to: determine an identifier for identifying the starting position of the splicing processing based on the path information; after splicing the first hash change parameter value to the identifier, generate the first trigger information for triggering a preset hash change event.

[0100] During the specific implementation process, the business processing device also includes: a receiving module, which is used to receive the second return parameter value after the target user applies the target software development toolkit for operation processing after the target user applies the target software development toolkit again; a determination module: the determination module is used to determine the second return result after executing the target software development toolkit based on the second return parameter value; a second time identifier acquisition module, which is used to obtain the second time identifier when the second return result is the successful execution of the target software development toolkit; a second hash change parameter value determination module, which is used to determine the second time identifier as the second hash change parameter value corresponding to the second return result; a second trigger information generation module, which is used to generate a second trigger information for triggering a preset hash change event based on the second hash change parameter value and the current page information, so as to trigger the hash change event based on the second trigger information and obtain the business processing result.

[0101] This application uses a third-party SDK in the current H5 business process to embed codes related to interaction with the mini program, thereby dynamically embedding H5 pages in the mini program and interactively scheduling the SDK to complete the business process, thereby improving business processing efficiency.

[0102] Another embodiment of the present application provides a storage medium storing a computer program. When the computer program is executed by a processor, the following method steps are implemented:

[0103] Step 1: obtaining the current page information of the target user before applying the target software development kit, wherein the current page information at least includes preset call parameter information;

[0104] Step 2: Calling a software development kit based on each of the calling parameter information to obtain a first return result after executing the target software development kit;

[0105] Step 3: If the first return result indicates that the software development kit is successfully executed, obtain a first hash change parameter value corresponding to the first return result;

[0106] Step 4: Generate first trigger information for triggering a preset hash change event based on the first hash change parameter value and the current page information, so as to trigger the hash change event based on the first trigger information and obtain a business processing result.

[0107] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0108] Those skilled in the art will clearly understand that for the sake of convenience and brevity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0109] The specific implementation process of the above method steps can be found in the embodiment of the above business processing method, and this embodiment will not be repeated here.

[0110] This application uses a third-party SDK in the current H5 business process to embed codes related to interaction with the mini program, thereby dynamically embedding H5 pages in the mini program and interactively scheduling the SDK to complete the business process, thereby improving business processing efficiency.

[0111] Another embodiment of the present application provides an electronic device, which may be a server, and the electronic device includes a processor, a memory, a network interface, and a database connected via a system bus. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile and / or volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external client via a network connection. When the electronic device program is executed by the processor, it implements a function or step on the server side of a business processing method.

[0112] In one embodiment, an electronic device is provided, which may be a client. The electronic device includes a processor, a memory, a network interface, a display screen, and an input device connected via a system bus. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external server via a network connection. When the electronic device program is executed by the processor, it implements the functions or steps of the client side of a business processing method.

[0113] Another embodiment of the present application provides an electronic device, comprising at least a memory and a processor, wherein the memory stores a computer program, and the processor implements the following method steps when executing the computer program in the memory:

[0114] Step 1: obtaining the current page information of the target user before applying the target software development kit, wherein the current page information at least includes preset call parameter information;

[0115] Step 2: Calling a software development kit based on each of the calling parameter information to obtain a first return result after executing the target software development kit;

[0116] Step 3: If the first return result indicates that the software development kit is successfully executed, obtain a first hash change parameter value corresponding to the first return result;

[0117] Step 4: Generate first trigger information for triggering a preset hash change event based on the first hash change parameter value and the current page information, so as to trigger the hash change event based on the first trigger information and obtain a business processing result.

[0118] The specific implementation process of the above method steps can be found in the embodiments of any of the above business processing methods, and this embodiment will not be repeated here.

[0119] This application uses a third-party SDK in the current H5 business process to embed codes related to interaction with the mini program, thereby dynamically embedding H5 pages in the mini program and interactively scheduling the SDK to complete the business process, thereby improving business processing efficiency.

[0120] The above embodiments are merely exemplary embodiments of the present application and are not intended to limit the scope of the present application. The scope of protection of the present application is defined by the claims. Those skilled in the art may make various modifications or equivalent substitutions to the present application within the essence and scope of protection of the present application, and such modifications or equivalent substitutions shall also be deemed to fall within the scope of protection of the present application.

Claims

1. A business processing method, characterized in that: include: Obtaining current page information of the target user before applying the target software development kit, wherein the current page information at least includes preset call parameter information; Calling a software development kit based on each of the calling parameter information, and obtaining a first return result after executing the target software development kit; When the first return result indicates that the software development kit is successfully executed, obtaining a first hash change parameter value corresponding to the first return result; First trigger information for triggering a preset hash change event is generated based on the first hash change parameter value and the current page information, so as to trigger the hash change event based on the first trigger information and obtain a business processing result.

2. The method according to claim 1, wherein The obtaining of the current page information of the target user before applying the target software development kit specifically includes: Acquire operation data of a target user through an application portal based on a preset web page view, and obtain initial page information corresponding to the target user; In response to a target user's processing operation on a service, refreshing the initial page information to obtain intermediate page information; When the target user applies the target software development kit, in response to the target user's operation of applying the target software development kit, obtaining each calling parameter information returned through a preset calling interface; Based on each of the call parameter information, the current intermediate page information is refreshed to obtain the current page information.

3. The method according to claim 1, wherein The calling of the software development kit based on each of the calling parameter information to obtain a first return result after executing the target software development kit specifically includes: Perform a software development kit query based on each of the call parameter information to obtain a target software development kit corresponding to each of the call parameter information; In response to a preset first jump instruction, switching the current page information to the target software development kit to perform a jump operation; receiving a first return parameter value after the target user applies the target software development kit to perform an operation; A first return result after executing the target software development kit is determined based on the first return parameter value.

4. The method according to claim 3, wherein When the first return result indicates that the software development kit is successfully executed, obtaining a first hash change parameter value corresponding to the first return result specifically includes: When the first returned result indicates that the software development kit is successfully executed, obtaining a first time identifier when the first returned result is received; The first time identifier is determined as a first hash change parameter value corresponding to the first returned result.

5. The method according to claim 4, wherein The generating first trigger information for triggering a preset hash change event based on the first hash change parameter value and the current page information specifically includes: In response to a preset second jump instruction, switching the current operation page of the target software development kit to the current page information to perform a jump operation; A splicing process is performed based on the first hash change parameter value and the path information corresponding to the current page information to generate first trigger information that triggers a preset hash change event.

6. The method according to claim 5, wherein The generating first trigger information for triggering a preset hash change event by performing splicing processing based on the first hash change parameter value and the path information corresponding to the current page information specifically includes: Determining, based on the path information, an identifier for identifying a starting position of a splicing process; After splicing the first hash change parameter value to the identifier, the first trigger information for triggering a preset hash change event is generated.

7. The method according to claim 1, wherein After generating first trigger information for triggering a preset hash change event based on the first hash change parameter value and the current page information, and triggering the hash change event based on the first trigger information, the method further includes: After the target user applies the target software development kit again, receiving a second return parameter value after the target user applies the target software development kit to perform an operation; Determine a second return result after executing the target software development kit based on the second return parameter value; When the second returned result indicates that the target software development kit is successfully executed, obtaining a second time identifier when the second returned result is received; Determine the second time identifier as a second hash change parameter value corresponding to the second returned result; Second trigger information for triggering a preset hash change event is generated based on the second hash change parameter value and the current page information, so as to trigger the hash change event based on the second trigger information and obtain a business processing result.

8. A business processing device, characterized in that: include: Acquisition module: used to obtain the current page information of the target user before applying the target software development kit, wherein the current page information at least includes preset call parameter information; A calling module is configured to call a software development kit based on the calling parameter information and obtain a first return result after executing the target software development kit; An obtaining module: configured to obtain a first hash change parameter value corresponding to the first return result when the first return result indicates that the software development kit is successfully executed; Generation module: used to generate first trigger information for triggering a preset hash change event based on the first hash change parameter value and the current page information, so as to trigger the hash change event based on the first trigger information and obtain a business processing result.

9. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the business processing method according to any one of claims 1 to 7 are implemented.

10. An electronic device, characterized in that: The system comprises at least a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the business processing method according to any one of claims 1 to 7 when executing the computer program on the memory.

Citation Information

Patent Citations

  • Page processing method and device based on hybrid development, electronic equipment and storage medium

    CN112559928A

  • Secure communication method based on open platform mobile terminal SDK (Software Development Kit) and native application

    CN114338151A