A service processing method, apparatus and electronic device

By obtaining the page address and determining the user status in the "One Account, Multiple Accounts" application, and automatically switching the status to open the target page, the interruption problem caused by business isolation under different user statuses is solved, and business processing efficiency is improved.

CN113934474BActive Publication Date: 2025-11-28ADVANCED NOVA TECH (SINGAPORE) PTE LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010668431.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-13
Publication Date
2025-11-28
Estimated Expiration
2040-07-13

AI Technical Summary

Technical Problem

In applications with multiple accounts under one account, the business isolation of different user statuses can cause page links to fail to open properly, resulting in business interruption. Existing technologies have low processing efficiency.

Method used

By obtaining the address of the page to be opened, the application's logged-in user status is determined. If the user is not in the target status, the page address is saved and the user is redirected to the target status before opening the page. Parameters are passed through intermediate pages and the clipboard to achieve automatic status switching and avoid interception.

Benefits of technology

It enables automatic switching of application states in a single account multi-user application, automatically detects the APP state, and automatically switches the APP state to prevent business interruption caused by interception, thereby improving business processing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113934474B_ABST
    Figure CN113934474B_ABST
Patent Text Reader

Abstract

The application discloses a service processing method, which is applied to an application program and comprises the following steps: obtaining a target page address to be opened; judging whether the state of a login user of the application program is a target state; wherein the login user can open a target page according to the target page address in the target state; if not, saving the target page address and jumping to the target state; after jumping to the target state, reading the saved target page address and opening a target page according to the read target page address.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of computer, and particularly relates to a business processing method and device and electronic equipment. BACKGROUND

[0002] One account and multiple accounts: one account and multiple users, that is, one account can have multiple user states, and the user states can be switched to each other. For example, the APP logged in by the same account includes A user state and B user state, and the A user state can be switched to the B user state through region switching. Similarly, the B user state can also be switched to the A user state.

[0003] For security considerations, the business of the APP logged in by the same account in different user states is isolated, that is, different user states correspond to different schemas (schema: a protocol registered in the system when the mobile APP is installed, and the APP can be invoked through the protocol). In one case, the user clicks a link of a page outside the APP which needs to be opened in the APP. If the APP is opened through the schema of the A user state after the link is clicked, the APP is in the schema of the B user state at this time. Since the schemas of the A user state and the B user state are isolated, the APP will intercept the opening of the page, causing business interruption.

[0004] Therefore, there is a need for a more efficient business processing method in the art. SUMMARY

[0005] Therefore, the embodiments of the present application provide a business processing method, device and electronic equipment to improve the efficiency of business processing.

[0006] The embodiments of the present application adopt the following technical solutions:

[0007] The embodiments of the present application provide a business processing method, and the method is applied to an application program, and the method comprises the following steps.

[0008] Obtaining a target page address to be opened;

[0009] Judging whether a state of a login user of the application program is a target state or not, wherein the login user can open a target page according to the target page address in the target state;

[0010] If not, saving the target page address and jumping to the target state;

[0011] After jumping to the target state, reading the saved target page address and opening a target page according to the read target page address.

[0012] The embodiment of the present specification also provides a business processing device, the device is applied to an application program, the device comprises:

[0013] An acquisition module is configured to acquire a target page address to be opened;

[0014] A judgment module is configured to judge whether a state of a login user of the application program is a target state; wherein the login user can open a target page according to the target page address in the target state;

[0015] A processing module is configured to save the target page address and jump to the target state if the state of the login user is the target state;

[0016] And after jumping to the target state, the saved target page address is read and a target page is opened according to the read target page address.

[0017] The embodiment of the present specification also provides an electronic device, comprising: at least one processor and a memory;

[0018] The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the business processing method.

[0019] The embodiment of the present specification also provides a computer readable storage medium, the computer readable storage medium stores computer executable instructions, and the computer executable instructions are executed by a processor to implement the business processing method.

[0020] The above at least one technical solution adopted by the embodiment of the present specification can achieve the following beneficial effects: in the scheme of the present specification, the App is awakened by the schema outside, the schema protocol contains a preset parameter, if the APP reads the preset parameter, the awakening operation will not be intercepted. After the APP is awakened, an intermediate page is opened, the state of the login user of the APP is judged through the intermediate page, and different guidance is made. For example, if the APP is in the target state, the target page can be directly opened, otherwise, the permission page is opened. Then, the parameters are transmitted through the clipboard, for example, the target page address is written into the clipboard, and then after switching to the target page homepage, the target page address in the clipboard is read to automatically open the target page. In this way, the scheme of the present specification can automatically detect the APP state, automatically switch the APP state, and achieve the purpose of automatically opening the target page, prevent business interruption caused by interception, and improve the business processing efficiency. BRIEF DESCRIPTION OF DRAWINGS

[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present specification or the prior art, the drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the drawings described below are only some embodiments described in the present specification, and for those skilled in the art, other drawings can also be obtained without creative labor on the basis of these drawings.

[0022] Figure 1 The main flowchart of a service processing method provided by the embodiments of the present specification;

[0023] Figure 2 The sequence diagram of the end-outside arousing end-inside page of the service processing method provided by the present specification;

[0024] Figure 3 The structural schematic diagram of a service processing device provided by the embodiments of the present specification. DETAILED DESCRIPTION

[0025] The embodiments of the present specification involve the following terms: offline package: packaging online page resources into a zip package, and the mobile App downloads the zip package to the mobile end for decompression. When accessing the online page, the mobile App directly returns the downloaded resource file. This zip package is called offline package. Since the schema of A user state and B user state are isolated, the offline package of the APP logged in by the same account in A user state can only be opened in A user state, and the offline package in B user state can only be opened in B user state.

[0026] In one case, for example, the APP after login is in A user state, and when promoting the APP in B user state, the entrance connection can be sent to the user's mobile phone in the form of a short message, guiding the user to open the APP in B user state. When the user clicks the link, the APP is opened through the schema in B user state. However, since the schema is isolated, the APP in A user state will intercept the schema in B user state, and at this time, the process of opening B user state will be interrupted.

[0027] In order to enable those skilled in the art to better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification. Obviously, the described embodiments are only some embodiments of the present application, not all embodiments. Based on the embodiments of the present specification, all other embodiments obtained by those skilled in the art without creative labor should be within the scope of protection of the present application.

[0028] Reference Figure 1 , Figure 1A main flowchart of a service processing method provided by an embodiment of the present specification. The service processing method is applied to a program, and the specific steps of the method are described below with the application program as the execution subject. The method comprises:

[0029] S110: Obtain a target page address to be opened.

[0030] In a specific implementation, before performing this step, the application program first receives a wake-up request based on a preset protocol. The preset protocol is a protocol registered by the application program when the application program is installed for waking up the application program, and the wake-up request based on the preset protocol is initiated by the server to the application program after receiving an opening request of the target page.

[0031] For example, in the business promotion process, after the user receives a corresponding business link through a mobile phone message, the user can manually click the link. Based on the click operation of the link, one way is to open an out-of-end page (a page outside the application program) through a browser. The user clicks a button on the out-of-end page, initiates a request to the server to open the target page, and the server wakes up the application program (hereinafter referred to as APP) corresponding to the target page through a preset protocol (the preset protocol takes schema as an example). It should be noted that after opening the out-of-end page through the browser, the button can not be set on the out-of-end page, but a prompt box can be set in the form of a prompt box, for example, the prompt box can prompt the user whether to allow opening the corresponding APP, and then the APP is woken up after the user clicks to allow. In the embodiment of the present specification, the APP is in an account login state, for example, the account can run in the background; if the APP is in an unlogged state, a login page is opened, and the subsequent operation is continued after the APP logs in; if the user mobile terminal does not detect the corresponding APP, the user can be prompted to jump to a download page to download the APP.

[0032] In an example, the schema protocol contains an intermediate page address in the APP and a preset parameter. The preset parameter can be a specific parameter set in advance, which can be set by a person skilled in the art according to the actual situation, and the present specification does not limit the specific parameter. After the APP reads the preset parameter, the APP can be woken up, otherwise the wake-up operation of the APP is intercepted. After the APP is woken up, the intermediate page address carried by the schema is read, and after the intermediate page address is read, the intermediate page in the APP is opened according to the intermediate page address, and the target page address to be opened is further obtained through the intermediate page.

[0033] S120: Determine whether the login user state of the application program is a target state.

[0034] The login user can open a target page according to the target page address in the target state. In other words, in this step, the target state can be understood as: if the login user of the APP can open the target page according to the target page address in the target state; since the services in the APP are isolated in different states, if the login user of the APP is not in the target state, the target page cannot be opened according to the target page address.

[0035] If the login user of the application is in the target state in this step, the APP can directly jump to the target page address through an intermediate page to open the target page; if the login user of the application is not in the target state, an authority page is opened through the intermediate page, the authority page is a page with the authority to switch the user state, and step S130 is executed.

[0036] S130: If not, save the target page address and jump to the target state.

[0037] In this step, the login user of the application is not in the target state, and since the services in the APP are isolated in different states, the target page cannot be directly opened. At this time, the target page address can be saved first, and then the target state is jumped to. One implementation is to obtain the target page address to be opened through the authority page, and call the application interface to write the target page address to the clipboard. As an example, the application interface can be jsapi (an interface provided by a mobile terminal APP, for html5 embedded in the APP to call), the jsapi is called through the authority page to write the page address to be opened to the clipboard, and then the jsapi is called to open the target state homepage.

[0038] Further, after jumping to the target state, the jsapi is called through the target state homepage to obtain the target page address to be jumped from the clipboard. If the target page address to be jumped can be read, the target page is opened by jumping to the target page address; if the target page address is not read, the target state homepage is stayed.

[0039] In the scheme of the specification, for the APP of one account and multiple accounts, the APPs logged in by the same account have multiple different states, and the businesses and schemas are isolated between the states. In order to improve the business processing efficiency, in the steps S110-S130, the outside of the terminal (such as the browser of the mobile terminal, other mobile APPs, etc.) calls the App through the schema, the schema protocol contains preset parameters, if the APP reads the preset parameters, the call operation will not be intercepted. After the APP is called, the intermediate page is opened, and the state of the login user of the APP is judged through the intermediate page, and different guidance is made. For example, if the APP is the target state, the target page can be directly opened, otherwise the permission page is opened. Then, the parameters are passed through the clipboard, such as writing the target page address into the clipboard, and then switching to the target page homepage, and then reading the target page address in the clipboard, and automatically opening the target page. In this way, the scheme of the specification can automatically detect the APP state, automatically switch the APP state, and achieve the purpose of automatically opening the target page, prevent business interruption caused by interception, and improve the business processing efficiency.

[0040] In order to more clearly illustrate the scheme of the specification, the following will be combined with Figure 2 The business processing method provided by the embodiment of the specification will be further described in detail. Figure 2 A business processing method provided by the specification is shown in the sequence diagram of calling the inside page outside the terminal, and the inside refers to the APP inside.

[0041] The business processing method of the embodiment of the specification is according to Figure 2 The steps of the specification are as follows:

[0042] (1) The user clicks the outside link, which can be a link of business promotion received by the user through the short message.

[0043] (2) After the user clicks the outside link, the outside page can be opened through the browser, and a touch mark similar to a button can be set on the outside page. The touch mark can trigger and execute corresponding operations after being clicked.

[0044] (3) The user clicks the touch mark to call the APP.

[0045] (4) The APP is called through the schema.

[0046] (5) The APP reads the inside intermediate page address and preset parameters carried by the schema, if the preset parameters are read, the APP is called, and the inside intermediate page (the intermediate page inside the APP) is opened.

[0047] (5.1) Intra-terminal intermediate page acquires intra-terminal page address to be opened (i.e. target page address), and if it is judged that the current state of the APP is the target state, the intra-terminal page is directly opened.

[0048] (5.2) Intra-terminal intermediate page acquires intra-terminal page address to be opened (i.e. target page address), and if it is judged that the current state of the APP is not the target state, the page with the permission to switch users is opened.

[0049] (5.3) The page with the permission to switch users acquires intra-terminal page address to be opened, and calls jsapi to write the intra-terminal page address to the clipboard.

[0050] (5.4) The page with the permission to switch users calls jsapi to open the target state homepage.

[0051] (5.5) The target state homepage calls jsapi to acquire intra-terminal page address to be jumped from the clipboard.

[0052] (5.5.1) If the intra-terminal page address to be jumped can be read, the intra-terminal page is opened.

[0053] (5.5.2) If the intra-terminal page address to be jumped cannot be read, the target state homepage is stayed.

[0054] The above is a specific embodiment of the present scheme. For the case of one account and multiple accounts App, user isolation, schema isolation, the external calls the App through the schema, the App reads specific parameters without interception, the App opens the intra-terminal intermediate page, the intermediate page judges the state of the one account and multiple accounts, and different guidance is performed, the parameters are transmitted through the clipboard, and the target page is automatically opened, so that the business interruption caused by interception is prevented, and the business processing efficiency is improved.

[0055] Based on the same idea, the present specification also provides a business processing device. Referring to Figure 3 , Figure 3 A structural schematic diagram of a business processing device provided by the present specification. The device comprises:

[0056] An acquisition module 301, which is configured to acquire a target page address to be opened;

[0057] A judgment module 302, which is configured to judge whether the state of a login user of the application program is a target state; wherein the login user can open a target page according to the target page address in the target state;

[0058] The processing module 303 is capable of saving the target page address and jumping to the target state if the state of the login user of the application program is the target state, and reading the saved target page address and opening the target page according to the read target page address after jumping to the target state.

[0059] Further, the device further comprises an arousing module 304, which is configured to receive an arousing request based on a preset protocol; wherein the preset protocol is a protocol registered by the application program during installation for arousing the application program; and the arousing request based on the preset protocol is initiated by the application program after the server receives an opening request of the target page.

[0060] Further, the preset protocol comprises an intermediate page address and preset parameters in the application program; the obtaining module 301 is configured to open the intermediate page according to the intermediate page address after reading the intermediate page address and preset parameters, and obtain the target page address to be opened through the intermediate page.

[0061] Further, if the judging module 302 judges that the state of the login user is the target state, the processing module 303 opens the target page by jumping to the target page address through the intermediate page; if the judging module 302 judges that the state of the login user is not the target state, the processing module 303 opens the permission page through the intermediate page, wherein the permission page is a page with the permission to switch the state of the user.

[0062] Further, the processing module 303 is further configured to obtain the target page address to be opened through the permission page, and call the application program interface to write the target page address into the clipboard.

[0063] Further, after writing the target page address into the clipboard, the processing module 303 is further configured to call the application program interface through the permission page to jump to the target state and open the home page of the target state.

[0064] Further, the processing module 303 is further configured to call the application program interface through the home page of the target state, read the target page from the clipboard, and jump to the target page address to open the target page if the target page address is read; and stay in the home page of the target state if the target page address is not read.

[0065] Further, the application program interface is jsapi.

[0066] The specific implementation of the business processing device is described above in the description of the business processing method, and will not be repeated here.

[0067] Based on the same inventive concept, the embodiments of the present specification also provide an electronic device, comprising: at least one processor and a memory; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the business processing method described above.

[0068] Based on the same inventive concept, the embodiments of the present specification also provide a computer readable storage medium, which stores computer executable instructions, and the computer executable instructions are executed by a processor to implement the business processing method described above.

[0069] The above describes specific embodiments of the present specification, and other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily have to be implemented in the specific order shown or in a continuous sequence to achieve the desired results. In some embodiments, multi-task processing and parallel processing are possible or can be advantageous.

[0070] Each of the embodiments in the present specification is described in a progressive manner, and the same or similar parts between each embodiment can be referred to each other, and each embodiment focuses on the difference from other embodiments. In particular, for the device, equipment, and non-volatile computer readable storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the part of the method embodiment.

[0071] The device, equipment, non-volatile computer readable storage medium and method provided by the embodiments of the present specification are corresponding, therefore, the device, equipment, and non-volatile computer storage medium also have similar beneficial technical effects as the corresponding method, since the beneficial technical effects of the method have been described in detail above, therefore, the beneficial technical effects of the corresponding device, equipment, and non-volatile computer storage medium will not be described here.

[0072] In the 1990s, it was quite obvious to distinguish whether an improvement in a technology was in hardware (e.g., improvement in circuit structures of diodes, transistors, switches, etc.) or in software (improvement in method flow). However, as technology has evolved, many improvements in method flow today can be considered as direct improvements in hardware circuit structures. Designers almost always obtain the corresponding hardware circuit structures by programming the improved method flow into hardware circuits. Therefore, it cannot be said that an improvement in a method flow cannot be implemented by hardware entity modules. For example, a programmable logic device (PLD) (e.g., a field programmable gate array (FPGA)) is an integrated circuit whose logic function is determined by user programming of the device. A digital system is "integrated" on a PLD by the designer programming it, rather than by asking a chip manufacturer to design and fabricate a custom integrated circuit chip. Moreover, instead of manually fabricating integrated circuit chips, this programming is now mostly implemented by "logic compiler" software, which is similar to software compilers used in program development, and the original code to be compiled is written in a specific programming language, which is called a hardware description language (HDL), and there are many such languages, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc., and the most commonly used are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should be aware that, as long as the method flow is logically programmed in the above-mentioned hardware description languages and programmed into an integrated circuit, a hardware circuit implementing the logical method flow can be easily obtained.

[0073] The controller can be implemented in any suitable way, for example, the controller can take the form of a microprocessor or processor and a computer readable medium storing computer readable program code, such as software or firmware, executable by the (micro)processor, logic gates, switches, an application specific integrated circuit (ASIC), a programmable logic controller and an embedded microcontroller, examples of which include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, the memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also know that, in addition to being implemented in pure computer readable program code, the controller can equally well be implemented to perform the same functions using logic gates, switches, an application specific integrated circuit, a programmable logic controller and an embedded microcontroller, etc. by means of a logical programming of the method steps. The controller can thus be considered as a hardware component, and the means comprised therein for performing the various functions can be considered as structures within the hardware component. Alternatively, the means for performing the various functions can even be considered as both a software module implementing the method and a structure within the hardware component.

[0074] The systems, apparatuses, modules or units illustrated by the above embodiments can be specifically implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0075] For the sake of description, the above apparatuses are described in functional division and are described respectively. Of course, the functions of the units can be implemented in the same or multiple software and / or hardware when implementing the present specification.

[0076] Those skilled in the art will understand that the embodiments of the present specification can be provided as a method, a system or a computer program product. Therefore, the embodiments of the present specification can take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware aspects. Moreover, the embodiments of the present specification can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0077] The specification is presented with reference to flow diagrams and / or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the specification. It will be understood that each block of the flow diagrams and / or block diagrams, and combinations of blocks in the flow diagrams and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processing element or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flow diagrams and / or block diagrams block or blocks. Figure 1 The flow diagrams and / or block diagrams in the specification can present a method, apparatus or computer program product according to embodiments of the specification. Flow diagrams and / or block diagrams can also present a method, apparatus or computer program product to achieve functions specified in flow diagrams and / or block diagrams block or blocks. Figure 1 The flow diagrams and / or block diagrams in the specification can present a method, apparatus or computer program product according to embodiments of the specification. Flow diagrams and / or block diagrams can also present a method, apparatus or computer program product to achieve functions specified in flow diagrams and / or block diagrams block or blocks.

[0078] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instructions which implement the flow diagrams and / or block diagrams block or blocks. Figure 1 The flow diagrams and / or block diagrams in the specification can present a method, apparatus or computer program product according to embodiments of the specification. Flow diagrams and / or block diagrams can also present a method, apparatus or computer program product to achieve functions specified in flow diagrams and / or block diagrams block or blocks. Figure 1 The flow diagrams and / or block diagrams in the specification can present a method, apparatus or computer program product according to embodiments of the specification. Flow diagrams and / or block diagrams can also present a method, apparatus or computer program product to achieve functions specified in flow diagrams and / or block diagrams block or blocks.

[0079] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the flow diagrams and / or block diagrams block or blocks. Figure 1 The flow diagrams and / or block diagrams in the specification can present a method, apparatus or computer program product according to embodiments of the specification. Flow diagrams and / or block diagrams can also present a method, apparatus or computer program product to achieve functions specified in flow diagrams and / or block diagrams block or blocks. Figure 1 The flow diagrams and / or block diagrams in the specification can present a method, apparatus or computer program product according to embodiments of the specification. Flow diagrams and / or block diagrams can also present a method, apparatus or computer program product to achieve functions specified in flow diagrams and / or block diagrams block or blocks.

[0080] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.

[0081] The memory can include non-persistent memory and / or storage mechanisms such as, for example, random access memory (RAM), non-volatile memory (NVM), and / or a persistent memory such as, for example, read-only memory (ROM) or flash memory. The memory is an example of computer-readable media.

[0082] Computer-readable media includes permanent and non-permanent, movable and non-movable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information accessible to a computing device. According to the definition herein, computer-readable media does not include transitory media such as modulated data signals and carriers.

[0083] It should also be noted that the terms "comprising", "containing", or any other variant thereof are intended to cover non-exclusive inclusions, so that a process, method, article or apparatus that includes a list of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or apparatus. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of additional identical elements in the process, method, article or apparatus that includes the element.

[0084] The specification can be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, and the like, which perform particular tasks or implement particular abstract data types. The specification can also be practiced in distributed computing environments where tasks are performed by remote processing devices that are connected through a communication network. In a distributed computing environment, program modules can be located in both local and remote computer storage media including storage devices.

[0085] The above only describes the embodiments of the specification and does not limit the application. For those skilled in the art, the application can have various changes and variations. Any modification, equivalent replacement, improvement, etc. within the spirit and principle of the application shall be included in the scope of claims of the application.

Claims

1. A service processing method, applied to an application, comprising: receiving a wake-up request based on a preset protocol; the preset protocol is a protocol for waking up the application; the preset protocol includes an intermediate page address within the application; opening an intermediate page according to the intermediate page address; obtaining a target page address to be opened through the intermediate page; determining whether a state of a login user of the application is a target state; wherein the login user can open a target page according to the target page address in the target state; the target state is a user state in which the application is currently logged in; the preset protocol is isolated between different user states of the application; if not, saving the target page address and jumping to the target state; after jumping to the target state, reading the saved target page address and opening a target page according to the read target page address. 2.The method of claim 1, before obtaining the target page address to be opened, the method further comprises: receiving a wake-up request based on a preset protocol; wherein the preset protocol is a protocol registered by the application during installation for waking up the application; and the wake-up request based on the preset protocol is initiated by a server to the application after receiving an opening request of the target page. 3.The method of claim 2, the preset protocol includes an intermediate page address and preset parameters within the application; obtaining the target page address to be opened, comprising: after reading the intermediate page address and preset parameters, opening the intermediate page according to the intermediate page address; obtaining the target page address to be opened through the intermediate page. 4.The method of claim 3, after the step of determining whether the state of the login user of the application is the target state, the method further comprises: if the state of the login user of the application is the target state, jumping to the target page address through the intermediate page to open the target page. 5.The method of claim 3, after the step of determining whether the state of the login user of the application is the target state, the method further comprises: if the state of the login user of the application is not the target state, opening an authority page through the intermediate page, the authority page being a page with authority to switch user states. 6.The method of claim 5, saving the target page address, specifically comprising: obtaining the target page address to be opened through the authority page, and calling an application programming interface to write the target page address into a clipboard. 7.The method of claim 5, jumping to the target state, specifically comprising: after writing the target page address into the clipboard, calling the application programming interface through the authority page to jump to the target state and open a home page of the target state.

8. The method of claim 7, wherein after jumping to the target state, reading the stored target page address and opening the target page according to the read target page address comprises: calling an application program interface through the target state homepage, and reading the target page address from the clipboard; if the target page address is read, jumping to the target page address to open the target page; if the target page address is not read, staying at the target state homepage.

9. The method of any one of claims 6 to 8, wherein the application program interface is jsapi.

10. A business processing apparatus, the apparatus being applied to an application program, the apparatus comprising: an arousing module configured to receive an arousing request based on a preset protocol; the preset protocol is a protocol for arousing the application program; the preset protocol comprises an intermediate page address within the application program; an obtaining module configured to open an intermediate page according to the intermediate page address; the obtaining module is configured to obtain a target page address to be opened through the intermediate page; a judging module configured to judge whether a state of a login user of the application program is a target state; wherein the login user can open a target page according to the target page address in the target state; the target state is a current login state of the application program; the preset protocol is isolated between different user states of the application program; a processing module, if the state of the login user is the target state, the processing module can save the target page address and jump to the target state; and after jumping to the target state, reading the stored target page address and opening the target page according to the read target page address.

11. The apparatus of claim 10, further comprising: an arousing module configured to receive an arousing request based on a preset protocol; wherein the preset protocol is a protocol registered by the application program when the application program is installed for arousing the application program; and the arousing request based on the preset protocol is initiated by a server to the application program after receiving an opening request of the target page.

12. The apparatus of claim 11, wherein the preset protocol comprises an intermediate page address within the application program and a preset parameter; the obtaining module is configured to open the intermediate page according to the intermediate page address and obtain the target page address to be opened through the intermediate page after reading the intermediate page address and the preset parameter.

13. The apparatus of claim 12, wherein if the judging module judges that the state of the login user is the target state, the processing module jumps to the target page address through the intermediate page to open the target page.

14. The apparatus of claim 12, wherein if the judging module judges that the state of the login user is not the target state, the processing module opens a permission page through the intermediate page, the permission page being a page with permission to switch user states.

15. The apparatus of claim 14, wherein the processing module is specifically configured to acquire the target page address to be opened through the permission page, and to call the application program interface to write the target page address to a clipboard.

16. The apparatus of claim 14, wherein after writing the target page address to the clipboard, the processing module is further configured to call the application program interface to jump to the target state and open a home page of the target state through the permission page.

17. The apparatus of claim 16, wherein the processing module is further configured to: call the application program interface through the home page of the target state, and read the target page from the clipboard; and if the target page address is read, jump to the target page address to open the target page, and if the target page address is not read, stay at the home page of the target state.

18. The apparatus of any one of claims 15 to 17, wherein the application program interface is jsapi. at least one processor; the memory stores instructions executable by the at least one processor, and the at least one processor executes the instructions to enable the at least one processor to perform the business processing method of any one of claims 1 to 9.

19. An electronic device comprising:

20. A computer readable storage medium storing computer executable instructions, and the computer executable instructions, when executed by a processor, implement the business processing method of any one of claims 1 to 9. ​ ​

Citation Information

Patent Citations

  • Method and device for displaying information

    CN110113416A

  • Page access control method and device and electronic equipment

    CN111177672A