CN109657434A - Application access method and device - Google Patents
Application access method and device Download PDFInfo
- Publication number
- CN109657434A CN109657434A CN201811549387.0A CN201811549387A CN109657434A CN 109657434 A CN109657434 A CN 109657434A CN 201811549387 A CN201811549387 A CN 201811549387A CN 109657434 A CN109657434 A CN 109657434A
- Authority
- CN
- China
- Prior art keywords
- subscriber identity
- virtual subscriber
- logging state
- client
- field
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
- Storage Device Security (AREA)
Abstract
The invention discloses a kind of application access method and devices, are related to electronic information field, this method comprises: obtaining when determining application in non-logging state and applying corresponding client-side information;According to client-side information, the virtual subscriber identity for corresponding to non-logging state is generated;Wherein, it is indicated with the real user mark for corresponding to logging state by the same pre-set user field corresponding to the virtual subscriber identity of non-logging state;Access service is provided according to the virtual subscriber identity corresponding to non-logging state for including in the pre-set user field.Which makes not needing to distinguish whether the current state of user is logging state using internal each functional module, there are no the field value for obtaining which service fields need to be dynamically determined according to judging result, personalized service can be realized in the field value that pre-set user field need to only be directly read, cumbersome degree and overhead are reduced, the processing speed of each functional module is improved.
Description
Technical field
The present invention relates to electronic information fields, and in particular to a kind of application access method and device.
Background technique
Currently, many applications can access in the case where logging in without user, as long as working as the access row of user
It needs just user be prompted to log in when the functional entrance of logon rights to be related to part.For example, the public praise of service for life class, big
The applications such as crowd's comment can improve user without logging in using supported basic function is applied with this
It experiences and promotes user's retention.
In the prior art, when being related to the scenes such as user's recommendation, safety check, for login and both are not logged in
Situation, system design end and realize corresponding function using different design schemes respectively.For example, leading in the case where user logs in
It crosses the identification informations such as user UID and realizes user's differentiation and recommendation function;In the case where user is not logged in, pass through the equipment of user
Relevant information realizes user's differentiation and recommendation function.
But inventor is in the implementation of the present invention, at least there are the following problems for discovery aforesaid way: due to user
The identification informations such as UID are stored by different service fields respectively from the device-dependent message of user, therefore, when in application
When each functional module in portion needs to provide personalized service corresponding with different user, on the one hand, must accurate judgement use
Whether the current state at family is logging state;On the other hand, also industry corresponding with current state is obtained according to judging result
Business field, to be provided personalized service according to the field value of the service fields got.
It can be seen that in above process, need each functional module can accurate judgement current state, and being capable of root
It is judged that be as a result dynamically determined the field value for obtaining which service fields, not only cumbersome and easy error is added significantly to
The processing time-consuming and overhead of each functional module.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind
State a kind of application access method and device of problem.
According to an aspect of the invention, there is provided a kind of application access method, comprising:
When determining that the application is in non-logging state, client-side information corresponding with the application is obtained;
According to the client-side information, the virtual subscriber identity for corresponding to non-logging state is generated;Wherein, described to correspond to
The virtual subscriber identity of non-logging state passes through the same pre-set user field with the real user mark for corresponding to logging state
It indicates;
Access clothes are provided according to the virtual subscriber identity corresponding to non-logging state for including in the pre-set user field
Business.
Optionally, described according to the client-side information, the virtual subscriber identity that generation corresponds to non-logging state includes:
Inquire preset virtual subscriber identity list;
If being stored with the virtual subscriber identity to match with the client-side information in the virtual subscriber identity list,
Then the virtual subscriber identity to match with the client-side information stored in the virtual subscriber identity list is determined as
The virtual subscriber identity corresponding to non-logging state;
If not stored in the virtual subscriber identity list have the virtual subscriber identity to match with the client-side information,
The virtual subscriber identity for corresponding to non-logging state is then generated according to the client-side information, and by the client-side information and life
At the virtual subscriber identity associated storage corresponding to non-logging state into the virtual subscriber identity list.
Optionally, the client-side information includes: equipment identification information, Local Area Network information, and/or IP address information,
Then described according to the client-side information, the virtual subscriber identity that generation corresponds to non-logging state includes:
The each identification field for including in the virtual subscriber identity is determined, according to the client-side information and preset
Field create-rule is each identification field assignment, to generate the virtual subscriber identity for corresponding to non-logging state;
Wherein, each identification field for including in the virtual subscriber identity includes at least one of the following: name word
Section, device field (DFLD) and mode field;Wherein, the preset field create-rule specifically includes: mode field is assigned a value of
Virtual state.
It optionally, include multiple business function modules for corresponding respectively to different access types in the application;Then institute
It states and includes: according to the virtual subscriber identity offer access service corresponding to non-logging state for including in the pre-set user field
Determine access type corresponding to user's current operation, and business function mould corresponding with the access type
Block, by the business function module corresponding with the access type according to include in the pre-set user field correspond to it is non-
The virtual subscriber identity of logging state provides access service.
Optionally, access type corresponding to determining user's current operation, and it is corresponding with the access type
After business function module, further comprise:
Determine whether access type corresponding to user's current operation needs to log according to default login list of types;
If it is not, by the business function module corresponding with the access type according to the pre-set user described in then executing
The virtual subscriber identity corresponding to non-logging state for including in field provides the step of access service;
If so, pop-up login prompt frame, and pair that will include in the pre-set user field after user logins successfully
The virtual subscriber identity of Ying Yufei logging state replaces with the real user mark corresponding to logging state, for the described and visit
Ask the corresponding business function module of type according to the true use corresponding to logging state for including in the pre-set user field
Family mark provides access service.
It optionally, include preset tag field in the virtual subscriber identity, the tag field is virtual for distinguishing
User identifier and real user mark.
According to another aspect of the present invention, a kind of application access device is provided, comprising:
Module is obtained, suitable for obtaining visitor corresponding with the application when determining that the application is in non-logging state
Family client information;
Generation module is suitable for generating the virtual subscriber identity for corresponding to non-logging state according to the client-side information;Its
In, the virtual subscriber identity corresponding to non-logging state passes through same with the real user mark for corresponding to logging state
Pre-set user field indicates;
Access modules, suitable for according to the Virtual User mark corresponding to non-logging state for including in the pre-set user field
Know and access service is provided.
Optionally, the generation module is particularly adapted to:
Inquire preset virtual subscriber identity list;
If being stored with the virtual subscriber identity to match with the client-side information in the virtual subscriber identity list,
Then the virtual subscriber identity to match with the client-side information stored in the virtual subscriber identity list is determined as
The virtual subscriber identity corresponding to non-logging state;
If not stored in the virtual subscriber identity list have the virtual subscriber identity to match with the client-side information,
The virtual subscriber identity for corresponding to non-logging state is then generated according to the client-side information, and by the client-side information and life
At the virtual subscriber identity associated storage corresponding to non-logging state into the virtual subscriber identity list.
Optionally, the client-side information includes: equipment identification information, Local Area Network information, and/or IP address information,
Then the generation module is particularly adapted to:
The each identification field for including in the virtual subscriber identity is determined, according to the client-side information and preset
Field create-rule is each identification field assignment, to generate the virtual subscriber identity for corresponding to non-logging state;
Wherein, each identification field for including in the virtual subscriber identity includes at least one of the following: name word
Section, device field (DFLD) and mode field;Wherein, the preset field create-rule specifically includes: mode field is assigned a value of
Virtual state.
It optionally, include multiple business function modules for corresponding respectively to different access types in the application;Then institute
Access modules are stated to be particularly adapted to:
Determine access type corresponding to user's current operation, and business function mould corresponding with the access type
Block, by the business function module corresponding with the access type according to include in the pre-set user field correspond to it is non-
The virtual subscriber identity of logging state provides access service.
Optionally, the access modules are further adapted for:
Determine whether access type corresponding to user's current operation needs to log according to default login list of types;
If it is not, by the business function module corresponding with the access type according to the pre-set user described in then executing
The virtual subscriber identity corresponding to non-logging state for including in field provides the step of access service;
If so, pop-up login prompt frame, and pair that will include in the pre-set user field after user logins successfully
The virtual subscriber identity of Ying Yufei logging state replaces with the real user mark corresponding to logging state, for the described and visit
Ask the corresponding business function module of type according to the true use corresponding to logging state for including in the pre-set user field
Family mark provides access service.
It optionally, include preset tag field in the virtual subscriber identity, the tag field is virtual for distinguishing
User identifier and real user mark.
According to the present invention in another aspect, providing a kind of electronic equipment, comprising: processor, memory, communication interface and
Communication bus, the processor, the memory and the communication interface complete mutual communication by the communication bus;
For the memory for storing an at least executable instruction, it is as above that the executable instruction executes the processor
The corresponding operation of application access method stated.
According to the present invention in another aspect, provide a kind of computer storage medium, be stored in the storage medium to
A few executable instruction, the executable instruction make processor execute such as the above-mentioned corresponding operation of application access method.
In application access method and device provided by the invention, when determining application in non-logging state, according to
The virtual subscriber identity for corresponding to non-logging state is generated using corresponding client-side information;And make to correspond to non-logging state
Virtual subscriber identity with correspond to logging state real user mark by the same pre-set user field expression, so as to root
Access service is provided according to the virtual subscriber identity corresponding to non-logging state for including in the pre-set user field.It can be seen that
In this approach, virtual subscriber identity, also, the virtual subscriber identity and logging state are created for the user of non-logging state
Under real user mark indicated by the same pre-set user field, to make to be not necessarily to area using internal each functional module
Whether the current state for dividing user is logging state, and there are no the word for obtaining which service fields need to be dynamically determined according to judging result
Personalized service can be realized in segment value, the field value that need to only directly read pre-set user field, reduces cumbersome degree and is
System expense, improves the processing speed of each functional module.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of flow chart of application access method of the offer of the embodiment of the present invention one;
Fig. 2 shows a kind of flow charts of application access method provided by Embodiment 2 of the present invention;
Fig. 3 shows a kind of structure chart of application access device of the offer of the embodiment of the present invention three;
Fig. 4 shows the structural schematic diagram of a kind of electronic equipment of the offer of the embodiment of the present invention five.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
Embodiment one
Fig. 1 shows a kind of flow chart of application access method of the offer of the embodiment of the present invention one.As shown in Figure 1, the party
Method includes:
Step S110: it when determining application in non-logging state, obtains and applies corresponding client-side information.
Wherein, the execution opportunity of this step can flexibly be set by those skilled in the art.For example, can be set as: working as inspection
This step is executed after measuring the enabled instruction corresponding to the application;For another example, it can also set are as follows: when detecting that application operation is pre-
If executing this step etc. after duration, the present invention is to the specific triggering mode of this step and executes opportunity without limitation.Specifically,
In the current logged-on status of judgement application, can be judged by reading the modes such as user information, if user information read at
Function, it is determined that current state is logging state;It is on the contrary, it is determined that current state is non-logging state, and the present invention is to specifically sentencing
Disconnected mode is without limitation.
Wherein, with application corresponding client-side information be used for identify operation the application client, it is all can be to visitor
The information that mark action is played at family end can be used as the client-side information in the present embodiment, and the present invention is to the specific of client-side information
Quantity and intension are without limitation.For example, client-side information includes: equipment identification information, Local Area Network information, and/or IP address
Information etc..
Step S120: according to client-side information, the virtual subscriber identity for corresponding to non-logging state is generated;Wherein, corresponding
Pass through the same pre-set user word with the real user mark for corresponding to logging state in the virtual subscriber identity of non-logging state
Segment table shows.
Wherein, the real user mark under the virtual subscriber identity and logging state shares the same pre-set user field,
Which need dynamically to judge service fields letter need to be obtained from according to the difference of logging state to avoid each business function module
The defect of breath.
The effect of the virtual subscriber identity is: providing user's letter to each business function module under non-logging state
Breath, in order to which each business function module is provided personalized service accordingly.When it is implemented, virtual subscriber identity can be by a variety of
Mode generates, if there are certain relevances between the virtual subscriber identity for ensuring to generate and the client-side information that gets i.e.
It can.For example, the format that can be identified according to real user, generates the virtual subscriber identity similar with real user mark format,
And each field for including in virtual subscriber identity is filled using client-side information.
Step S130: visit is provided according to the virtual subscriber identity corresponding to non-logging state for including in pre-set user field
The service of asking.
In mode provided by the invention, no matter whether user is in logging state, the field value of the pre-set user field
It is not sky.For example, the field value of the pre-set user field is real user mark when user is in logging state;At user
When non-logging state, the field value of the pre-set user field is virtual subscriber identity.Correspondingly, each industry inside the application
When business functional module is provided personalized service, the pre-set user field only need to be read, without judging the current state of application,
There are no the service fields that need to be dynamically determined according to judging result for storing user information, so as to directly according to pre-set user
The virtual subscriber identity corresponding to non-logging state for including in field provides access service.
It can be seen that in this approach, creating virtual subscriber identity for the user of non-logging state, also, this is virtual
Real user mark under user identifier and logging state is indicated by the same pre-set user field, to make using inside
Whether the current state that each functional module does not need to distinguish user is logging state, and there are no need to be dynamically determined to obtain according to judging result
The field value of which service fields is taken, personalized service can be realized in the field value that need to only directly read pre-set user field, drops
Low cumbersome degree and overhead, improve the processing speed of each functional module.
Fig. 2 shows a kind of flow charts of application access method provided by Embodiment 2 of the present invention.As shown in Fig. 2, the party
Method includes:
Step S200: whether the current state for judging application is logging state.
Specifically, the triggering mode of this step and execution opportunity can be a variety of.For example, in one implementation, often
After detecting the enabled instruction for being directed to the application, judge whether the current state of application is logging state, and which can
Ensure to detect application state in time after application just starts.For another example, in another implementation, whenever detecting the application
After running preset duration, alternatively, then judging the current of application whenever detecting that the business function module in the application is called
Whether state is logging state, and which can persistently detect logging state in application operational process, prevent because dropping by the wayside
Abnormal state problem caused by logging in.
Wherein, it in the current state of judgement application, can be realized by way of obtaining log-on message, if user is in true
Real logging state can then get true log-on message;When true log-on message can not be got, determine that user is in non-
Logging state needs to generate virtual log-on message by subsequent step at this time.
Step S210: it when determining application in non-logging state, obtains and applies corresponding client-side information.
Wherein, it is used to identify the client for running the application with the corresponding client-side information of application, to generate and to be somebody's turn to do
The corresponding virtual subscriber identity of client.In the present embodiment, client-side information refers mainly to equipment identification information (such as equipment
ID).Certainly, in other embodiments of the invention, client-side information can further include: Local Area Network information is (such as
WIFI information), and/or IP address information etc..
Step S220: according to client-side information, the virtual subscriber identity for corresponding to non-logging state is generated;Wherein, corresponding
Pass through the same pre-set user word with the real user mark for corresponding to logging state in the virtual subscriber identity of non-logging state
Segment table shows.
Specifically, in the present embodiment, it is accomplished by the following way: inquiring preset virtual subscriber identity list;If empty
It is stored with the virtual subscriber identity to match with the client-side information in quasi- user identifier list, then by the virtual subscriber identity
The stored virtual subscriber identity to match with the client-side information is determined as corresponding to the virtual of non-logging state in list
User identifier;If not stored in virtual subscriber identity list have the virtual subscriber identity to match with client-side information, basis
The client-side information generates the virtual subscriber identity for corresponding to non-logging state, and client-side information and corresponding to for generation is non-
The virtual subscriber identity associated storage of logging state is into the virtual subscriber identity list.It can be seen that in this approach, whenever
After generating a virtual subscriber identity corresponding with client-side information, by the virtual subscriber identity and its corresponding client
Information association is stored into virtual subscriber identity list, and for subsequent use, thus, it is possible to be promoted to be subsequently generated Virtual User mark
The efficiency of knowledge, and can ensure the one-to-one correspondence between virtual subscriber identity and client-side information, prevent a client
Information corresponds to the case where different virtual subscriber identities.
Wherein, when generating the virtual subscriber identity for corresponding to non-logging state according to the client-side information, by following
Mode is realized: determine each identification field for including in virtual subscriber identity, it is raw according to client-side information and preset field
It is each identification field assignment at rule, to generate the virtual subscriber identity for corresponding to non-logging state.Wherein, inventor is in reality
It is found during the existing present invention, in the prior art, the facility informations such as the real users such as user UID identification information and device id
The attributes such as the information content, format, length be all different, it is therefore desirable to stored by different service fields.In order to just
Virtual subscriber identity and these two types of entirely different information of real user mark are stored in passing through the same pre-set user field
Content.In the present embodiment, according to real user identify in include each identification field wrapped to be arranged in virtual subscriber identity
The each identification field contained, to ensure each identification field for including in the virtual subscriber identity and include in real user mark
Each identification field correspond, and then attribute informations such as the information content, format, length for ensuring virtual subscriber identity and true
Real user's mark is consistent, consequently facilitating being stored by the same pre-set user field.Specifically, include in virtual subscriber identity
Each identification field includes at least one of the following: name field, device field (DFLD) and mode field.Wherein, Virtual User
The each identification field for including in mark can be further divided into following two categories field: first kind field is being capable of direct basis
The field that client-side information determines.For example, the field value of device field (DFLD) can be determined directly according to client-side information, correspondingly, needle
To such field, assignment is directly carried out according to client-side information.Second class field is can not be directly according to client-side information
Determining field.For example, the field value of name field and mode field can not be determined directly according to client-side information, correspondingly,
For such field, need to carry out assignment further combined with preset field create-rule.For example, both may be used for name field
Think that it is randomly assigned numerical value, default value can also be set to, alternatively, can be combined with visit of the user in other application
Record information (such as cookie information in browser) is asked to determine.It for another example, can be according to preset word for mode field
Mode field is assigned a value of virtual state by section create-rule, quickly to determine that the user identifier is according to the numerical value of mode field
Virtual subscriber identity or real user mark.In addition, in addition to distinguishing virtual subscriber identity and real user according to mode field
It can also include further preset tag field in virtual subscriber identity, will pass through the tag field area except mark
Divide virtual subscriber identity and real user mark.For example, make marks on a certain position of user identifier (such as UID), such as
Last position of UID is taken, if the position is 0 to be expressed as true UID, if the position is 1 to be expressed as virtual UID.In this way
Label, it is true or virtual for can quickly recognizing each UID.
Step S230: access type corresponding to user's current operation, and industry corresponding with the access type are determined
Be engaged in functional module, by business function module corresponding with the access type according to include in pre-set user field correspond to it is non-
The virtual subscriber identity of logging state provides access service.
It wherein, include multiple business function modules for corresponding respectively to different access types in the application.Each business
Functional module is respectively used to realize different access type and business function, for example, the function that queries the balance, contact person inquire function
Energy, chat feature etc., hotspot query function etc..Correspondingly, whenever user realizes a kind of access by a business function module
When function, the execution of this step can be triggered, it may be assumed that step S230 can repeatedly be triggered in application operational process.
For example, it is assumed that user's current operation is the operation for clicking " hotspot query function " entrance, then corresponding to the operation
Access type is hotspot query access type, and business function module corresponding to the access type is hotspot query module, the mould
Block is for inquiring newest focus incident and being pushed to user.Correspondingly, the hotspot query module is according in pre-set user field
The virtual subscriber identity corresponding to non-logging state for including provides the access service of hotspot query class.
It can be seen that no matter whether user is in logging state, the pre-set user field in mode provided by the invention
Field value for sky.Correspondingly, each business function module inside the application need to only read the pre-set user field i.e.
It can provide personalized service, without judging the current state of application, there are no need to be dynamically determined to use for storing according to judging result
The service fields of family information reduce the processing delay of each business function module, improve response speed, simplify business reality
Existing logic.
Further optionally, in order to ensure be related to privacy of user or property problem operation safety, in the present embodiment
In, default login list of types can also be further set, need to use because being related to privacy of user or property problem to store
The action type that family really logs in.The generic operation generally includes: the operation that queries the balance, chatting operation etc..Specifically, this is preset and steps on
Recording list of types can be during operation according to business demand dynamic configuration.
Correspondingly, in above-mentioned steps S230, when determining access type corresponding to user's current operation, and with the visit
After asking the corresponding business function module of type, further perform the step of:
Determine whether access type corresponding to user's current operation needs to log according to default login list of types;If
It is no, then it executes and above-mentioned is corresponded to by business function module corresponding with the access type according to include in pre-set user field
The virtual subscriber identity of non-logging state provides the step of access service;If so, pop-up login prompt frame, and logged in user
The virtual subscriber identity corresponding to non-logging state for including in pre-set user field is replaced with to correspond to after success and logs in shape
The real user of state identifies, so that business function module corresponding with the access type includes according in pre-set user field
Real user mark corresponding to logging state provides access service.
It, can be in the internal setting following four module of application: being not logged in interception in the specific implementation process of the present embodiment
Module, Virtual User creation module, real user verification blocking module and real user login process module.Certainly, ability
Field technique personnel can merge or split to this four modules, so that it merges into a module, or be split as more
Module.
Wherein, blocking module is not logged in for detecting logging state, and is detecting the state of being not logged in (i.e. non-login shape
State) when trigger step S210.By the processing for being not logged in blocking module, it can be ensured that the operations in application execute Shi Douyou
Log-on message.Only the log-on message may be true log-on message, it is also possible to virtual log-on message.But for big
Partial service is handled for logic, it is only necessary to can get corresponding log-on message (or user information), therefore, mostly
It is really to log in, or using the virtual login of device id progress, reduce industry that number business function module, which does not need perception user,
The workload for functional module of being engaged in.
Virtual User creation module is responsible for creating Virtual User mark when being not logged in blocking module and detecting non-logging state
Know.The virtual subscriber identity for application and its inside each business function module for, with real user mark be
's.Therefore most of business function modules in processing business logic, personalized recommendation, be do not need to distinguish virtual subscriber identity and
Real user mark.
Real user verification blocking module is responsible for carrying out the operation for needing user really to log in permission interception inspection.Such as
When the user clicks when " my account balance ", it is necessary to there is the true login of user, it cannot using virtual log in.
Therefore, it verifies blocking module by real user the operation that user must be used really to log in is intercepted and handled, specifically
It is determined according to default login list of types.When user carries out a business operation, if the operation and default login type column
The action type matching stored in table, then need to obtain the field value of pre-set user field, and according to status word wherein included
Section or tag field judge whether the user is true logging state, if so, passing through clearance;Do not pass through if it is not, then checking, returns
It returns unified error code and gives real user login process module.
Real user login process module carries out unified judgement by application end.When the real user login process module is found
A specified error code (with the consistent error code of real user login process module) is returned when carrying out business operation, then
Bounce login prompt frame, it is desirable that user is really logged in.Also, after user logins successfully, the current login of user is updated
The virtual subscriber identity for including in pre-set user field is revised as real user mark by state.
In addition, the sequencing between each step in the present embodiment can be adjusted flexibly by those skilled in the art, and
Above-mentioned each step can be merged into less step or be split as more steps by those skilled in the art, and the present invention is to this
It is not construed as limiting.In summary, through the invention in mode, using internal each business function module without identifying user's
Logging state only need to be unified to be handled according to pre-set user field.By the pre-set user field, user can be realized
The operations such as identification, content push, risk control.In this approach, each functional module is both not necessarily to judge currently to log in shape
State significantly reduces each functional module there are no that need to be dynamically determined the field value for obtaining which service fields according to judging result
Processing is time-consuming and overhead.
Embodiment three
Fig. 3 shows a kind of structural schematic diagram of application access device of the offer of the embodiment of the present invention three, which includes:
Module 31 is obtained, suitable for obtaining corresponding with the application when determining that the application is in non-logging state
Client-side information;
Generation module 32 is suitable for generating the virtual subscriber identity for corresponding to non-logging state according to the client-side information;
Wherein, the virtual subscriber identity corresponding to non-logging state passes through same with the real user mark for corresponding to logging state
A pre-set user field indicates;
Access modules 33, suitable for according to the Virtual User corresponding to non-logging state for including in the pre-set user field
Mark provides access service.
Optionally, the generation module 32 is particularly adapted to:
Inquire preset virtual subscriber identity list;
If being stored with the virtual subscriber identity to match with the client-side information in the virtual subscriber identity list,
Then the virtual subscriber identity to match with the client-side information stored in the virtual subscriber identity list is determined as
The virtual subscriber identity corresponding to non-logging state;
If not stored in the virtual subscriber identity list have the virtual subscriber identity to match with the client-side information,
The virtual subscriber identity for corresponding to non-logging state is then generated according to the client-side information, and by the client-side information and life
At the virtual subscriber identity associated storage corresponding to non-logging state into the virtual subscriber identity list.
Optionally, the client-side information includes: equipment identification information, Local Area Network information, and/or IP address information,
Then the generation module is particularly adapted to:
The each identification field for including in the virtual subscriber identity is determined, according to the client-side information and preset
Field create-rule is each identification field assignment, to generate the virtual subscriber identity for corresponding to non-logging state;
Wherein, each identification field for including in the virtual subscriber identity includes at least one of the following: name word
Section, device field (DFLD) and mode field;Wherein, the preset field create-rule specifically includes: mode field is assigned a value of
Virtual state.
It optionally, include multiple business function modules for corresponding respectively to different access types in the application;Then institute
Access modules 33 are stated to be particularly adapted to:
Determine access type corresponding to user's current operation, and business function mould corresponding with the access type
Block, by the business function module corresponding with the access type according to include in the pre-set user field correspond to it is non-
The virtual subscriber identity of logging state provides access service.
Optionally, the access modules 33 are further adapted for:
Determine whether access type corresponding to user's current operation needs to log according to default login list of types;
If it is not, by the business function module corresponding with the access type according to the pre-set user described in then executing
The virtual subscriber identity corresponding to non-logging state for including in field provides the step of access service;
If so, pop-up login prompt frame, and pair that will include in the pre-set user field after user logins successfully
The virtual subscriber identity of Ying Yufei logging state replaces with the real user mark corresponding to logging state, for the described and visit
Ask the corresponding business function module of type according to the true use corresponding to logging state for including in the pre-set user field
Family mark provides access service.
It optionally, include preset tag field in the virtual subscriber identity, the tag field is virtual for distinguishing
User identifier and real user mark.
It can refer to the description of corresponding portion in embodiment of the method about the specific structure and working principle of above-mentioned modules,
Details are not described herein again.
Example IV
The embodiment of the present application four provides a kind of nonvolatile computer storage media, the computer storage medium storage
There is an at least executable instruction, which can be performed the application access side in above-mentioned any means embodiment
Method.Executable instruction specifically can be used for so that processor executes corresponding each operation in above method embodiment.
Embodiment five
Fig. 4 shows the structural schematic diagram of according to embodiments of the present invention five a kind of electronic equipment, present invention specific implementation
Example does not limit the specific implementation of electronic equipment.
As shown in figure 4, the electronic equipment may include: processor (processor) 402, communication interface
(Communications Interface) 406, memory (memory) 404 and communication bus 408.
Wherein:
Processor 402, communication interface 406 and memory 404 complete mutual communication by communication bus 408.
Communication interface 406, for being communicated with the network element of other equipment such as client or other servers etc..
Processor 402 can specifically execute the correlation in above-mentioned application access embodiment of the method for executing program 410
Step.
Specifically, program 410 may include program code, which includes computer operation instruction.
Processor 402 may be central processor CPU or specific integrated circuit ASIC (Application
Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention
Road.The one or more processors that electronic equipment includes can be same type of processor, such as one or more CPU;It can also
To be different types of processor, such as one or more CPU and one or more ASIC.
Memory 404, for storing program 410.Memory 404 may include high speed RAM memory, it is also possible to further include
Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.
Program 510 specifically can be used for so that processor 502 executes corresponding each operation in above method embodiment.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein.
Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system
Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various
Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect
Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself
All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment
Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any
Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed
All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors
Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice
Microprocessor or digital signal processor (DSP) realize the prize drawing according to an embodiment of the present invention based on voice input information
The some or all functions of some or all components in system.The present invention is also implemented as being retouched here for executing
The some or all device or device programs (for example, computer program and computer program product) for the method stated.
It is such to realize that program of the invention can store on a computer-readable medium, or can have one or more signal
Form.Such signal can be downloaded from an internet website to obtain, be perhaps provided on the carrier signal or with it is any its
He provides form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability
Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch
To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame
Claim.
Claims (10)
1. a kind of application access method, comprising:
When determining that the application is in non-logging state, client-side information corresponding with the application is obtained;
According to the client-side information, the virtual subscriber identity for corresponding to non-logging state is generated;Wherein, described to correspond to non-step on
The virtual subscriber identity of record state is indicated with the real user mark for corresponding to logging state by the same pre-set user field;
Access service is provided according to the virtual subscriber identity corresponding to non-logging state for including in the pre-set user field.
2. according to the method described in claim 1, wherein, described according to the client-side information, generation corresponds to non-login shape
The virtual subscriber identity of state includes:
Inquire preset virtual subscriber identity list;
It, will if being stored with the virtual subscriber identity to match with the client-side information in the virtual subscriber identity list
The virtual subscriber identity that the stored and client-side information matches in the virtual subscriber identity list is determined as described
Virtual subscriber identity corresponding to non-logging state;
If not stored in the virtual subscriber identity list have the virtual subscriber identity to match with the client-side information, root
According to the client-side information generate correspond to non-logging state virtual subscriber identity, and by the client-side information and generate
Virtual subscriber identity associated storage corresponding to non-logging state is into the virtual subscriber identity list.
3. method according to claim 1 or 2, wherein the client-side information includes: equipment identification information, regional network
Network information, and/or IP address information, then it is described according to the client-side information, generate the virtual use for corresponding to non-logging state
Family identifies
The each identification field for including in the virtual subscriber identity is determined, according to the client-side information and preset field
Create-rule is each identification field assignment, to generate the virtual subscriber identity for corresponding to non-logging state;
Wherein, each identification field for including in the virtual subscriber identity includes at least one of the following: name field is set
Standby field and mode field;Wherein, the preset field create-rule specifically includes: mode field is assigned a value of virtually
State.
4. method according to claim 1 to 3, wherein correspond respectively to different visits comprising multiple in the application
Ask the business function module of type;It is then described to correspond to the virtual of non-logging state according to include in the pre-set user field
User identifier provides access service
Determine access type corresponding to user's current operation, and business function module corresponding with the access type, by
The business function module corresponding with the access type corresponds to non-login according to include in the pre-set user field
The virtual subscriber identity of state provides access service.
5. according to the method described in claim 4, wherein, access type corresponding to determining user's current operation, and
After business function module corresponding with the access type, further comprise:
Determine whether access type corresponding to user's current operation needs to log according to default login list of types;
If it is not, by the business function module corresponding with the access type according to the pre-set user field described in then executing
In include corresponding to non-logging state virtual subscriber identity provide access service the step of;
If so, pop-up login prompt frame, and correspond to after user logins successfully by include in the pre-set user field
The virtual subscriber identity of non-logging state replaces with the real user mark corresponding to logging state, for the described and access class
The corresponding business function module of type is according to the real user mark corresponding to logging state for including in the pre-set user field
Know and access service is provided.
6. -5 any method according to claim 1, wherein include preset marker word in the virtual subscriber identity
Section, the tag field is for distinguishing virtual subscriber identity and real user mark.
7. a kind of application access device, comprising:
Module is obtained, suitable for obtaining client corresponding with the application when determining that the application is in non-logging state
Information;
Generation module is suitable for generating the virtual subscriber identity for corresponding to non-logging state according to the client-side information;Wherein,
The virtual subscriber identity corresponding to non-logging state passes through same pre- with the real user mark for corresponding to logging state
If user field indicates;
Access modules, suitable for being mentioned according to the virtual subscriber identity corresponding to non-logging state for including in the pre-set user field
It is serviced for access.
8. device according to claim 7, wherein the generation module is particularly adapted to:
Inquire preset virtual subscriber identity list;
It, will if being stored with the virtual subscriber identity to match with the client-side information in the virtual subscriber identity list
The virtual subscriber identity that the stored and client-side information matches in the virtual subscriber identity list is determined as described
Virtual subscriber identity corresponding to non-logging state;
If not stored in the virtual subscriber identity list have the virtual subscriber identity to match with the client-side information, root
According to the client-side information generate correspond to non-logging state virtual subscriber identity, and by the client-side information and generate
Virtual subscriber identity associated storage corresponding to non-logging state is into the virtual subscriber identity list.
9. a kind of electronic equipment, comprising: processor, memory, communication interface and communication bus, the processor, the storage
Device and the communication interface complete mutual communication by the communication bus;
The memory executes the processor as right is wanted for storing an at least executable instruction, the executable instruction
Ask the corresponding operation of application access method described in any one of 1-6.
10. a kind of computer storage medium, an at least executable instruction, the executable instruction are stored in the storage medium
Processor is set to execute such as the corresponding operation of application access method of any of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811549387.0A CN109657434B (en) | 2018-12-18 | 2018-12-18 | Application access method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811549387.0A CN109657434B (en) | 2018-12-18 | 2018-12-18 | Application access method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109657434A true CN109657434A (en) | 2019-04-19 |
CN109657434B CN109657434B (en) | 2020-12-25 |
Family
ID=66114757
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811549387.0A Active CN109657434B (en) | 2018-12-18 | 2018-12-18 | Application access method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109657434B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111177536A (en) * | 2019-12-12 | 2020-05-19 | 上海淇玥信息技术有限公司 | Method and device for transmitting customized information to unregistered user based on device fingerprint and electronic device |
CN111275410A (en) * | 2020-02-29 | 2020-06-12 | 重庆百事得大牛机器人有限公司 | Remote interaction method for remote counselor of enterprise |
CN111506834A (en) * | 2020-03-27 | 2020-08-07 | 拉扎斯网络科技(上海)有限公司 | Method and device for pushing rights and interests resource information, storage medium and terminal |
CN112487261A (en) * | 2020-10-30 | 2021-03-12 | 贝壳技术有限公司 | Data acquisition method and device, electronic equipment and medium |
CN112699034A (en) * | 2020-12-30 | 2021-04-23 | 百果园技术(新加坡)有限公司 | Virtual login user construction method, device, equipment and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101222348A (en) * | 2007-01-10 | 2008-07-16 | 阿里巴巴公司 | Method and system for calculating number of website real user |
US20090299823A1 (en) * | 2008-06-03 | 2009-12-03 | Sony Corporation | Information processing system and information processing method |
CN103281680A (en) * | 2013-05-07 | 2013-09-04 | 杭州东信北邮信息技术有限公司 | Uniform communication system and method for on-demand accurate sales and protection of user privacy |
CN103929402A (en) * | 2013-01-11 | 2014-07-16 | 深圳市腾讯计算机系统有限公司 | Sensitive operation verification method, terminal device, servers and verification system |
US20150096014A1 (en) * | 2013-09-30 | 2015-04-02 | Brother Kogyo Kabushiki Kaisha | Function Performing Apparatus and Portable Device |
CN105320738A (en) * | 2015-09-15 | 2016-02-10 | 北京金山安全软件有限公司 | Information recommendation method and device |
CN106302748A (en) * | 2016-08-17 | 2017-01-04 | 北京字节跳动科技有限公司 | A kind of across medium personalized recommendation method and system |
CN106470229A (en) * | 2015-08-19 | 2017-03-01 | 阿里巴巴集团控股有限公司 | A kind of service related information processing method and processing device |
CN107066476A (en) * | 2016-12-13 | 2017-08-18 | 江苏途致信息科技有限公司 | A kind of real-time recommendation method based on article similarity |
CN108234505A (en) * | 2018-01-15 | 2018-06-29 | 口碑(上海)信息技术有限公司 | The login method and system of account |
-
2018
- 2018-12-18 CN CN201811549387.0A patent/CN109657434B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101222348A (en) * | 2007-01-10 | 2008-07-16 | 阿里巴巴公司 | Method and system for calculating number of website real user |
US20090299823A1 (en) * | 2008-06-03 | 2009-12-03 | Sony Corporation | Information processing system and information processing method |
CN103929402A (en) * | 2013-01-11 | 2014-07-16 | 深圳市腾讯计算机系统有限公司 | Sensitive operation verification method, terminal device, servers and verification system |
CN103281680A (en) * | 2013-05-07 | 2013-09-04 | 杭州东信北邮信息技术有限公司 | Uniform communication system and method for on-demand accurate sales and protection of user privacy |
US20150096014A1 (en) * | 2013-09-30 | 2015-04-02 | Brother Kogyo Kabushiki Kaisha | Function Performing Apparatus and Portable Device |
CN106470229A (en) * | 2015-08-19 | 2017-03-01 | 阿里巴巴集团控股有限公司 | A kind of service related information processing method and processing device |
CN105320738A (en) * | 2015-09-15 | 2016-02-10 | 北京金山安全软件有限公司 | Information recommendation method and device |
CN106302748A (en) * | 2016-08-17 | 2017-01-04 | 北京字节跳动科技有限公司 | A kind of across medium personalized recommendation method and system |
CN107066476A (en) * | 2016-12-13 | 2017-08-18 | 江苏途致信息科技有限公司 | A kind of real-time recommendation method based on article similarity |
CN108234505A (en) * | 2018-01-15 | 2018-06-29 | 口碑(上海)信息技术有限公司 | The login method and system of account |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111177536A (en) * | 2019-12-12 | 2020-05-19 | 上海淇玥信息技术有限公司 | Method and device for transmitting customized information to unregistered user based on device fingerprint and electronic device |
CN111177536B (en) * | 2019-12-12 | 2023-12-26 | 上海淇玥信息技术有限公司 | Method and device for transmitting customized information to unregistered user based on device fingerprint and electronic device |
CN111275410A (en) * | 2020-02-29 | 2020-06-12 | 重庆百事得大牛机器人有限公司 | Remote interaction method for remote counselor of enterprise |
CN111506834A (en) * | 2020-03-27 | 2020-08-07 | 拉扎斯网络科技(上海)有限公司 | Method and device for pushing rights and interests resource information, storage medium and terminal |
CN112487261A (en) * | 2020-10-30 | 2021-03-12 | 贝壳技术有限公司 | Data acquisition method and device, electronic equipment and medium |
CN112487261B (en) * | 2020-10-30 | 2022-12-30 | 贝壳技术有限公司 | Data acquisition method and device, electronic equipment and medium |
CN112699034A (en) * | 2020-12-30 | 2021-04-23 | 百果园技术(新加坡)有限公司 | Virtual login user construction method, device, equipment and storage medium |
CN112699034B (en) * | 2020-12-30 | 2024-05-28 | 百果园技术(新加坡)有限公司 | Virtual login user construction method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109657434B (en) | 2020-12-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109657434A (en) | Application access method and device | |
CN107948314B (en) | Business processing method and device based on rule file and server | |
CN108228166B (en) | Template-based back-end code generation method and system | |
CN104486461B (en) | Domain name classification method and device, domain name recognition methods and system | |
CN107943949B (en) | Method and server for determining web crawler | |
CN106776989A (en) | A kind of info web methods of exhibiting and device | |
CN108459954B (en) | Application program vulnerability detection method and device | |
CN107918575B (en) | Page state monitoring method and device | |
CN106991112B (en) | Information query method and device | |
CN109033466B (en) | Page sharing method calculates equipment and computer storage medium | |
CN108173839B (en) | Authority management method and system | |
RU2734027C2 (en) | Method and device for preventing an attack on a server | |
CN110020512A (en) | A kind of method, apparatus, equipment and the storage medium of anti-crawler | |
CN110515631B (en) | Method for generating application installation data packet, server and computer storage medium | |
CN104504331B (en) | Virtualize safety detection method and system | |
CN112511535A (en) | Equipment detection method, device, equipment and storage medium | |
CN110889073A (en) | Page request response method, server and computer storage medium | |
CN107203373B (en) | Interface control acquiring method, interface control testing method, interface control acquiring device and interface control testing device | |
CN104504330B (en) | Virtualize safety detection method and system | |
CN110163554A (en) | Operation method, device, server and the storage medium of workflow | |
CN110221945A (en) | Automated testing method, device, terminal and storage medium based on secure authentication | |
CN111443918A (en) | Channel access method and device for business object installation package | |
CN105204870B (en) | The access method of shell script, apparatus and system | |
CN111367519B (en) | Page part using method and device, computing equipment and computer storage medium | |
CN106101082A (en) | authority leak detection method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |