Summary of the invention
To overcome the problems in correlation technique, present description provides the page jumps in application, bar code payment
Method, device and equipment.
According to this specification embodiment in a first aspect, providing the method for page jump in a kind of application, the method packet
It includes:
Determination is invoked into front stage operation;
If needing displaying target image based on goal condition determination, jump directly to for showing the target image
Display interface;Wherein, the goal condition is set according to history feature of target image when shown.
Optionally, the history feature includes at least one of: object time range, target geographic position, target network
Network state, target range or echo signal with target device;
The goal condition includes following one or more: current time is within the scope of the object time, current position
Target geographic position, current network state described in reason location matches match the target network state at a distance from target device
With the target range or detect echo signal.
Optionally, the display interface is different from the main interface of the application.
Optionally, the application includes instant messaging application;The goal condition further include: disappear currently without chat is not read
Breath.
According to the second aspect of this specification embodiment, the bar code method of payment in a kind of application, the method are provided
Include:
Determination is invoked into front stage operation;
It needs to show payment bar code if determining based on goal condition, jumps directly to for showing the payment bar shaped
The display interface of code;Wherein, the goal condition is set according to the history feature paid when bar code is shown.
Optionally, the history feature includes at least one of: object time range, target geographic position, target network
Network state, target range or echo signal with target device;
The goal condition includes following one or more: current time is within the scope of the object time, current position
Target geographic position described in reason location matches, current network state match the target network state, at a distance from target device
It matches the target range or detects echo signal.
Optionally, the display interface is different from the main interface of the application.
According to the third aspect of this specification embodiment, a kind of page skip device is provided, described device includes:
Determining module is used for: determination is invoked into front stage operation;
Display module is used for: if needing displaying target image based on goal condition determination, being jumped directly to for showing
The display interface of the target image;Wherein, the goal condition according to history feature of target image when shown and
Setting.
Optionally, the history feature includes at least one of: object time range, target geographic position, target network
Network state, target range or echo signal with target device;
The goal condition includes following one or more: current time is within the scope of the object time, current position
Target geographic position, current network state described in reason location matches match the target network state at a distance from target device
With the target range or detect echo signal.
Optionally, the display interface is different from the main interface of the application.
Optionally, described device includes instant communication device;The goal condition further include: disappear currently without chat is not read
Breath.
According to the fourth aspect of this specification embodiment, a kind of bar code payment mechanism is provided, described device includes:
Determining module is used for: determination is invoked into front stage operation;
Display module is used for: being needed to show payment bar code if determining based on goal condition, is jumped directly to for showing
Show the display interface of the payment bar code;Wherein, history of the goal condition according to the payment bar code when shown
Feature and set.
Optionally, the history feature includes at least one of: object time range, target geographic position, target network
Network state, target range or echo signal with target device;
The goal condition includes following one or more: current time is within the scope of the object time, current position
Target geographic position described in reason location matches, current network state match the target network state, at a distance from target device
It matches the target range or detects echo signal.
Optionally, the display interface is different from the main interface of the application.
According to the 5th of this specification embodiment the aspect, a kind of electronic equipment, including memory, processor and storage are provided
On a memory and the computer program that can run on a processor, wherein the processor is realized such as when executing described program
Lower method:
Determine that application is invoked into system foreground;
If needing displaying target image based on goal condition determination, jump directly to for showing the target image
Display interface;Wherein, the goal condition is set according to history feature of target image when shown.
According to the 6th of this specification embodiment the aspect, a kind of electronic equipment, including memory, processor and storage are provided
On a memory and the computer program that can run on a processor, wherein the processor is realized such as when executing described program
Lower method:
Determine that application is invoked into front stage operation;
It needs to show payment bar code if determining based on goal condition, jumps directly to for showing the payment bar shaped
The display interface of code;Wherein, the goal condition is set according to the history feature paid when bar code is shown.
The technical solution that the embodiment of this specification provides can include the following benefits:
In this specification embodiment, after itself being invoked into the foreground of operating system using discovery, target can be based on
After condition determination currently needs displaying target image, the display interface for displaying target image is jumped to automatically, is realized to aobvious
Show fast jumping for interface.Since application can jump directly to the display page to show relevant target image, so as to
To simplify the operation that target image is shown, the step of user opens the display interface is reduced, improves operating efficiency.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
This specification can be limited.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with this specification.On the contrary, they are only and such as institute
The example of the consistent device and method of some aspects be described in detail in attached claims, this specification.
It is only to be not intended to be limiting this explanation merely for for the purpose of describing particular embodiments in the term that this specification uses
Book.The "an" of used singular, " described " and "the" are also intended to packet in this specification and in the appended claims
Most forms are included, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein is
Refer to and includes that one or more associated any or all of project listed may combine.
It will be appreciated that though various information may be described using term first, second, third, etc. in this specification, but
These information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not taking off
In the case where this specification range, the first information can also be referred to as the second information, and similarly, the second information can also be claimed
For the first information.Depending on context, word as used in this " if " can be construed to " ... when " or
" when ... " or " in response to determination ".
Page jump scheme in application provided by this specification embodiment, can be applied to have basic display function
User equipment, specific user equipment form can be the composite equipments such as mobile phone, tablet computer, smartwatch, can also be
Such as electronic business card, electronic tag simple function equipment, the application are not limited thereto.In the application, the display
Interface specifically can be a function interface in an application, such as can be a webpage, be also possible to personal-machine friendship
Mutual interface, such as payment interface, content publication interface etc., correspondingly, the concrete form of target image can be two dimensional code (
Claim two-dimensional bar), one-dimensional bar code, barcode with changeable or variable content information image etc., and application scenarios then can be payment,
Gate inhibition, traffic trip, business card exchange or social scene etc., these do not influence the realization of application scheme.
As shown in Figure 1, being a kind of this specification application (Application, APP) shown according to an exemplary embodiment
In method for page jump flow chart, the executing subject of this method can be the application installed in the equipment such as mobile terminal,
Such as the application of payment class or instant messaging application for being installed in the equipment such as mobile phone etc..This method may comprise steps of:
In a step 102, determination is invoked into front stage operation.
At step 104, it if needing displaying target image based on goal condition determination, jumps directly to for showing
State the display interface of target image;Wherein, the goal condition is set according to history feature of target image when shown
It is fixed.
In the present embodiment, using can have multiple function interfaces, such as main interface, the present embodiment display interface or
Person is other function interface, wherein the display interface is not the main interface applied.Using being installed on the user equipmenies such as smart phone
In, be likely to be at the state of being closed in some cases, under such state, after application is most likely initiated by a user, this field it is usual
Technological means is to show the main interface of application;In some cases, application may show some interface P (such as main interface or certain
A other function interface) after be rejected, using running in the system background, under such state, after application is most likely initiated by a user,
The conventional techniques of this field are shown using interface (i.e. interface P) shown before being rejected.
Wherein, using being installed in the user equipmenies such as smart phone, showing in equipment has application icon to trigger for user,
Such as the common smart phone with touch function, user can be with shown application icon on pointing device screen, such points
Hit operation purpose be in order to trigger be applied to front stage operation, rather than it is a kind of be exclusively used in triggering displaying target image operation.
It after smart phone detects user for the trigger action of application, determines and calling is needed to be applied to front stage operation, application can lead to
The calling message that system interface receives operating system is crossed, itself is called by the operating systems with determination to front stage operation, with Android
For system, which specifically can be RunningProcess etc., can be based on the operation system of distinct device in practical application
It unites and the determining implementation for being invoked into front stage operation of flexible configuration.
After itself being invoked into the front stage operation of operating system using discovery, predict currently whether need to show using needs
Target image, however, it is determined that need, then the automatic trigger display interface, realize fast jumping to the display interface, such as electronics
" payment code " function pages in the application such as wallet, " my business card " function pages in electronic business card application, instant messaging are answered
Content issuing function page etc..In this way, since application can jump directly to the display page to show relevant mesh
Logo image switches to the display interface due to not needing user so as to simplify the user's operation of displaying target image manually,
Therefore the step of user opens the display interface is reduced, operating efficiency is improved.
In the present embodiment, the display interface can be to be set by the user or default in advance, or can also be with
It is that other modes are set.Display interface can be in displaying target image and obtain pre-generated static object image,
Target image can be generated in real time, such as under the quick display scene at the payment bar code interface in payment application, the payment
When bar code interface display, payment this target image of bar code can be static figure, be also possible to generate in real time and
Can dynamic change figure.
The history display statistical data of target image can be obtained in the present embodiment, in advance to be based on history display statistical number
According to history feature of analysis target image when shown, and then determine goal condition.When wherein, analysis information image is shown
History feature is to determine user generally and when can start using with displaying target image.Later, when user opens
Dynamic application, application can be predicted based on goal condition currently needs displaying target image, and therefore, those skilled in the art can root
Factually border usage scenario and flexibly determine goal condition.
It is worth noting that, the present embodiment is to apply to be invoked into front stage operation, and predict user using goal condition
Whether displaying target image is needed;Operating process by taking quick payment as an example mentioned in the Background, it can be understood as
Two stages, first be " unlock mobile phone " stage, second be " operation APP to APP jumps to function sub-interface " rank
Section, the improvement project of first stage such as " directly display APP function sub-interface without unlock ", need mobile phone operating system open
Some permissions, or need the support of device manufacturer, it means that more and complicated development amounts.Such scheme is usually
Equipment is under non-unlocked state, after detecting predetermined fingerprint, press some key or inputting the triggering modes such as prearranged gesture, equipment
It does not unlock but APP function sub-interface can be directly displayed, that is to say, that the triggering modes such as APP function sub-interface and predetermined fingerprint are
Binding relationship is pre-established, these triggering modes clearly indicate that user needs to show APP function sub-interface.But due to realizing this
The binding of a little triggering modes needs more requirement, and the present embodiment method can be executed in second stage, by answering after application operation
With the present embodiment method is executed, predict whether user needs displaying target image, therefore the present embodiment side using goal condition
The realization difficulty of method is lower, and the scope of application is bigger.
Optionally, it is contemplated that under the scenes such as payment or traffic trip, user may be in certain particular time ranges or spy
Positioning, which is set etc., needs displaying target image.In the present embodiment, the history feature includes at least one of: object time model
It encloses, target geographic position, target network state, target range or echo signal with target device.
The present embodiment based on the time, position, network state, at a distance from target device and many factors point such as echo signal
Analyse feature when information image is shown.Features described above can be understood as user in specific time, specific position or specified conditions
When often with displaying target image, the present embodiment can be applied under line the scenes such as payment or traffic trip for starting application
In.
For paying scene under line, user may often have dinner concurrently in breakfast period, lunch period or dinner period
Raw payment behavior, and payment behavior typically occurs in around fixed position, such as its dwelling places, company position, dining room or
Xian Xia retail shop etc..In such cases, by history display statistical data can analyze out user usually which time range,
Payment behavior occurs for which position.In other examples, network state analysis can be combined with, because user sets in payment
It is standby when may also usually be in mobile communications network state, payment often in a certain network state, such as when payment usually
Connect the wireless network etc. of some mark.
By taking traffic trip scene as an example, bus or subway entrance are commonly configured with electronic equipment, and such equipment needs
Code payment of riding is completed in mobile terminal cooperation with user, and such equipment is known as target device by the present embodiment.Wherein, code by bus
It is a kind of bar code for being used for paying riding fee, user needs to start the APP in mobile terminal to show code by bus, due to movement
Terminal needs be moved to near target device, both cooperation complete code payment of riding, therefore history feature may include and mesh
The target range of marking device;In some instances, target device can issue echo signal, to believe for transmitting with mobile terminal
Connection is ceased or establishes, therefore history feature can also include echo signal etc..
In practical application, history feature when target image is shown can be by collecting history display statistical data come really
It is fixed, the source of history display statistical data can there are many, in some instances, can be and target image quilt is detected by application
It records and obtains after when display, and the history display statistical data data based on record analyze either the history of record
It shows statistics and is sent to server side and is analyzed.In other examples, can be collect target image it is shown after
Generated data are as history display statistical data, for example, target image is payment bar code, the shown mesh of target image
Be to complete payment behavior, and payment behavior can generate pay invoice data, therefore, can be by collecting based on payment item
Shape code and the pay invoice data generated are as history display statistical data.
History feature when target image is shown has been determined through the above way, can correspondingly determine target item
Part, optionally, the goal condition in the present embodiment may include following one or more: current time is in object time range
Interior, current geographic position matching target geographic position, current network state match target network state, at a distance from target device
Match the target range or detect echo signal, when application be invoked into front stage operation after, using it is available current when
Between, by modes such as locating modules obtain current geographic position, current network state, obtain shifting by modes such as range sensors
Dynamic terminal at a distance from target device, determine whether to detect one or more modes such as echo signal, and then be based on target item
Part determines whether active user needs displaying target image.
Below for fast showing bar code (including one-dimensional bar code, two-dimensional bar etc.), in payment client terminal,
The display interface of bar code can be fast jumped to by this specification embodiment, next this specification embodiment is carried out detailed
Explanation.
Wherein, using can be include bar code display interface application it is (such as common Alipay wallet APP, micro-
Believe APP or bank class APP etc.), which has the display interface for bar code, and bar code can specifically include payment code
Or code etc. by bus.Wherein, which is not the main interface of the application, also, the application also have it is one or more its
His function interface.Using being installed in the user equipmenies such as smart phone, it is likely to be at the state of being closed in some cases, it is such
Under state, after application is most likely initiated by a user, the conventional techniques of this field are to show the main interface of application;In certain situations
Under, application is rejected after may showing some interface P (such as main interface or some other function interface), using after system
It is run in platform, under such state, after application is most likely initiated by a user, the conventional techniques of this field are before display application is rejected
Shown interface (i.e. interface P).
In the present embodiment, application can predefine goal condition, and the goal condition is special by the history of payment bar code
It levies and determines, optionally, goal condition can be to be obtained using analysis in advance, is also possible to obtain using from service end side.Its
In, for paying scene, the available history pay invoice data based on payment bar code carry out statistical to the data
Analysis to obtain the history display statistical data of payment bar code, and then determines history feature.
In practical application, the bar code payment behavior of user may be regular governed, such as user often in the morning 9
Bar code payment behavior, such as often at noon 12 points to 1 of user are generated in a period of time before point in some geographic area
In point, bar code payment behavior occurs in some geographic area, and usually have a meal in some dining room, therefore usually at this
Between the WIFI in the dining room is connected in section, or be usually in 4G mobile network when payment.
In traffic trip scene, user may often in the morning 8 points or so or at night 8 points or so take bus or ground
Iron, user need application display code by bus.In such scene, geography position locating for mobile terminal can also be obtained by locating module
It sets, judges that user is in bus station, subway station by geographical location;Range sensor etc. is called to get alternatively, can also be
Mobile terminal is at a distance from target device, if the distance of detection is smaller, illustrates that user needs application display code by bus.
As shown in Fig. 2, be a kind of this specification bar code payment processing schematic diagram shown according to an exemplary embodiment,
In Fig. 2 by taking smart phone as an example, using a specifically Alipay APP.Smart phone is held by users, and is shown in Fig. 2
Smart phone desktop in the unlocked state includes multiple application icons on desktop.User can click smart phone desktop
On the Alipay APP icon that is shown called after the operating system of smart phone detects user for the clicking operation of application
It is applied to front stage operation, is determined using the notice by receiving operating system after being invoked into front stage operation, it is available current
Time, current geographic position or current network state it is one or more.Therefore, when discovery user these periods or these
Application is started in geographic area etc., then a possibility that user needs bar code to pay at this time is very big, using can consider
It is current to need to show payment bar code, and then jump directly to the display interface for showing payment bar code.Therefore, to user
For, user only needs to operate in one click, can directly show payment bar code, therefore energy on the screen of smart phone
User's operation is enough substantially reduced, the displaying efficiency of payment bar code is improved.
Above-described embodiment is illustrated for paying scene and traffic trip, the page in the application of this specification embodiment
Face jump method applies also for the application such as instant messaging, for example, using may include having for showing the aobvious of payment bar code
Show interface or content publication interface (such as common circle of friends interface etc.).Wherein, content publication interface is not to apply
Main interface, also, the application also has one or more other functions interface.Using being installed on the user equipmenies such as smart phone
In, be likely to be at the state of being closed in some cases, under such state, after application is most likely initiated by a user, this field it is usual
Technological means is to show the main interface of application;In some cases, application may show some interface P (such as main interface or certain
A other function interface) after be rejected, using running in the system background, under such state, after application is most likely initiated by a user,
The conventional techniques of this field are shown using interface (i.e. interface P) shown before being rejected.
In practical application, user, also usually can be in some cases other than consulting the main interface of instant messaging application
Need to show the content graph for paying bar code (description that previous embodiment can be consulted) or being in access content publication interface
Picture.For example, user may check that content issues interface after equal quitting times arrival after 12 points, it is also possible to usually at night
Such as 9 points of time of having a rest section are checked that content issues interface to 11 point periods, also, user is also usually in when checking and fixes
Geographical location, and in consolidated network state (such as WIFI of Connected Corp. or family).
Therefore, application can predefine goal condition, the history feature which passes through content information image
It determines, optionally, goal condition can be to be obtained using own analysis, is also possible to obtain using from service end side.For looking into
The scene at content publication interface is read, statistical data, the content that can be triggered by application acquisition content publication interface issue interface
Duration statistical data stopped etc. obtains.For paying scene, the available history pay invoice based on payment bar code
Data, it is for statistical analysis to the data, to obtain the history display statistical data of payment bar code, and then determine that history is special
Sign.
In view of the major function of instant messaging class application is chat, have in the case where not reading chat messages, user's starting
Using going a possibility that consulting chat messages or display payment bar code larger, therefore, goal condition can be in the present embodiment
It include: currently without not reading chat messages.
Therefore, using by receive operating system notice determine be invoked into foreground after, available current time, when
Whether preceding geographical location, current network state currently have and do not read the one or more of chat messages, before application is invoked into
Platform and meet these goal conditions, then user needs to consult at this time content publication interface (or display payment bar code etc.)
Possibility is very big, currently needs to show that content issues interface using can consider, and then jumps directly to content publication interface,
To show content information image.
Corresponding with the embodiment of the method for page jump in aforementioned applications, this specification additionally provides page skip device
And its embodiment of applied electronic equipment.
This specification page jump/bar code payment mechanism embodiment can be applied on an electronic device, such as intelligently
Mobile phone etc..Installation practice can also be realized by software realization by way of hardware or software and hardware combining.With soft
It is to be deposited by the processor of file process where it by non-volatile as the device on a logical meaning for part is realized
Corresponding computer program instructions are read into memory what operation was formed in reservoir.For hardware view, as shown in figure 3, being
A kind of hardware structure diagram of this specification embodiment page jump/electronic equipment where bar code payment mechanism, in addition to shown in Fig. 3
Processor 310, memory 330, except network interface 320 and nonvolatile memory 340, in embodiment where device 331
Electronic equipment can also include other hardware, this is repeated no more generally according to the actual functional capability of the electronic equipment.
As shown in figure 4, Fig. 4 is a kind of this specification frame of page skip device shown according to an exemplary embodiment
Figure, comprising:
Determining module 41, is used for: determination is invoked into front stage operation.
Display module 42, is used for: if needing displaying target image based on goal condition determination, jumping directly to for showing
Show the display interface of the target image;Wherein, history feature of the goal condition according to the target image when shown
And it sets.
Optionally, the history feature includes at least one of: object time range, target geographic position, target network
Network state, target range or echo signal with target device;
The goal condition includes following one or more: current time is within the scope of the object time, current position
Target geographic position described in reason location matches, current network state match the target network state, at a distance from target device
It matches the target range or detects echo signal.
Optionally, the display interface is different from the main interface of the application.
Optionally, described device includes instant communication device;The goal condition further include: disappear currently without chat is not read
Breath.
As shown in figure 5, Fig. 5 is a kind of this specification frame of bar code payment mechanism shown according to an exemplary embodiment
Figure, described device include:
Determining module 51, is used for: determination is invoked into front stage operation;
Display module 52, is used for: needing to show payment bar code if determining based on goal condition, jumps directly to be used for
Show the display interface of the payment bar code;Wherein, the going through when goal condition is shown according to the payment bar code
History feature and set.
Optionally, the history feature includes at least one of: object time range, target geographic position, target network
Network state, target range or echo signal with target device;
The goal condition includes following one or more: current time is within the scope of the object time, current position
Target geographic position described in reason location matches, current network state match the target network state, at a distance from target device
It matches the target range or detects echo signal.
Optionally, the display interface is different from the main interface of the application.
Correspondingly, this specification also provides a kind of electronic equipment, including memory, processor and storage are on a memory simultaneously
The computer program that can be run on a processor, wherein the processor realizes following method when executing described program:
Determine that application is invoked into system foreground;
If needing displaying target image based on goal condition determination, jump directly to for showing the target image
Display interface;Wherein, the goal condition is set according to history feature of target image when shown.
Correspondingly, this specification also provides a kind of electronic equipment, including memory, processor and storage are on a memory simultaneously
The computer program that can be run on a processor, wherein the processor realizes following method when executing described program:
Determine that application is invoked into front stage operation;
It needs to show payment bar code if determining based on goal condition, jumps directly to for showing the payment bar shaped
The display interface of code;Wherein, the goal condition is set according to the history feature paid when bar code is shown.
The function of modules and the realization process of effect are specifically detailed in above-mentioned page jump/bar code payment mechanism
The realization process that step is corresponded in page jump/bar code method of payment is stated, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The module of explanation may or may not be physically separated, and the component shown as module can be or can also be with
It is not physical module, it can it is in one place, or may be distributed on multiple network modules.It can be according to actual
The purpose for needing to select some or all of the modules therein to realize this specification scheme.Those of ordinary skill in the art are not
In the case where making the creative labor, it can understand and implement.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims
It is interior.In some cases, the movement recorded in detail in the claims or step can be come according to the sequence being different from embodiment
It executes and desired result still may be implemented.In addition, process depicted in the drawing not necessarily require show it is specific suitable
Sequence or consecutive order are just able to achieve desired result.In some embodiments, multitasking and parallel processing be also can
With or may be advantageous.
Those skilled in the art will readily occur to this specification after considering specification and practicing the invention applied here
Other embodiments.This specification is intended to cover any variations, uses, or adaptations of this specification, these modifications,
Purposes or adaptive change follow the general principle of this specification and do not apply in the art including this specification
Common knowledge or conventional techniques.The description and examples are only to be considered as illustrative, the true scope of this specification and
Spirit is indicated by the following claims.
It should be understood that this specification is not limited to the precise structure that has been described above and shown in the drawings,
And various modifications and changes may be made without departing from the scope thereof.The range of this specification is only limited by the attached claims
System.
The foregoing is merely the preferred embodiments of this specification, all in this explanation not to limit this specification
Within the spirit and principle of book, any modification, equivalent substitution, improvement and etc. done should be included in the model of this specification protection
Within enclosing.