CN107645505A - Information acquisition method and device - Google Patents

Information acquisition method and device Download PDF

Info

Publication number
CN107645505A
CN107645505A CN201710888175.4A CN201710888175A CN107645505A CN 107645505 A CN107645505 A CN 107645505A CN 201710888175 A CN201710888175 A CN 201710888175A CN 107645505 A CN107645505 A CN 107645505A
Authority
CN
China
Prior art keywords
network
terminal
acquisition
request
ssid
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710888175.4A
Other languages
Chinese (zh)
Other versions
CN107645505B (en
Inventor
侯恩星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710888175.4A priority Critical patent/CN107645505B/en
Publication of CN107645505A publication Critical patent/CN107645505A/en
Application granted granted Critical
Publication of CN107645505B publication Critical patent/CN107645505B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The disclosure belongs to field of computer technology on a kind of information acquisition method and device.Methods described includes:The first acquisition request that the reception server is sent, first acquisition request is that server receives the second acquisition request that user triggers under first network, it is determined that generated after the terminal that the user account number in request is bound is obtained with second, first, which obtains request, is used to obtain the predetermined information in terminal;Whether it is credit network according to the second network that the first acquisition request detection terminal is currently accessed, the second network is different from first network;When the second network that terminal is currently accessed is credit network, predetermined information is sent to server and is shown.The disclosure solve terminal not user at one's side when, the problem of user can not obtain the predetermined information in terminal, reached the effect for the success rate for ensureing acquisition of information.

Description

Information acquisition method and device
Technical field
This disclosure relates to field of computer technology, more particularly to a kind of information acquisition method and device.
Background technology
Identifying code plays an important role in daily life.Such as when user takes express delivery, logon web page, Need to verify the identity of user according to identifying code.
In correlation technique, identifying code is generally sent to terminal in the form of short message, and terminal is received comprising the short of identifying code After letter, the short message is shown, user obtains identifying code by checking the short message.
The content of the invention
To solve the problems, such as in correlation technique, present disclose provides a kind of information acquisition method and device.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of information acquisition method, methods described include:
What the reception server was sent first obtains request, and the first acquisition request is that the server receives user and existed Second triggered under first network obtains request, it is determined that raw after the terminal that the user account number in request is bound is obtained with described second Into, described first, which obtains request, is used to obtain the predetermined information in the terminal;
Whether it is credit network according to the second network that terminal described in the described first acquisition request detection is currently accessed, it is described Second network is different from the first network;
When the second network that the terminal is currently accessed is credit network, the predetermined information is sent to the service Device is shown.
Optionally, whether the second network that the terminal according to the described first acquisition request detection is currently accessed is awarded Communication network, including:
SSID (the Service Set for the second network being currently accessed according to terminal described in the described first acquisition acquisition request Identifier, service set);
Whether detect includes the SSID of second network in the SSID of default each credit network;
When the SSID of default each credit network includes the SSID of second network, determine that the terminal is current Second network of access is credit network.
Optionally, methods described also includes:
The SSID of user's input is received, the SSID is defined as to the SSID of credit network;Or
The credit network settings operation of user's triggering is received, the end is obtained according to credit network settings operation The SSID for the network being currently accessed is held, the SSID is defined as to the SSID of credit network.
Optionally, the predetermined information is that not to read include the short message of identifying code.
Optionally, described first the screening conditions for asking also to include the predetermined information are obtained, then methods described, is also wrapped Include:
When the n bar predetermined informations that the screening conditions are the most recently received, the n being most recently received is read from inbox Bar predetermined information;
When the screening conditions are to meet predetermined format, the predetermined letter for meeting the predetermined format is read from inbox Breath.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of information acquisition method, methods described include:
The second acquisition request that user triggers under first network is received, described second, which obtains request, includes user account number;
It is determined that the terminal with user account number binding;
First is sent to the terminal and obtains request, and described first, which obtains request, is used to obtain the predetermined letter in the terminal Breath;
The predetermined information that the terminal is sent is received and shows, the predetermined information is the terminal according to First, which obtains request, determines that the second network for being currently accessed is sent after credit network, second network and first net Network is different.
Optionally, second acquisition asks also to include password, methods described, in addition to:
Read the user account number and password in the second acquisition request;
After to being verified of the user account number and password, acquisition of information control is shown;
After the operation signal for acting on described information acquisition control is received, generation described first obtains request.
Optionally, the predetermined information is that not to read include the short message of identifying code.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of information acquisition device, described device include:
Receiving module, it is configured as the first of the reception server transmission and obtains request, the first acquisition request is described Server receives second that user triggers under first network and obtains request, it is determined that obtaining the user in request with described second Generated after the terminal of account number binding, described first, which obtains request, is used to obtain the predetermined information in the terminal;
Detection module, it is configured as the terminal according to the first acquisition request detection that the receiving module receives Whether the second network being currently accessed is credit network, and second network is different from the first network;
Sending module, the testing result for being configured as the detection module are the second network that the terminal is currently accessed When being credit network, the predetermined information is sent to the server and is shown.
Optionally, the detection module, including:
Acquisition submodule, it is configured as the second network that the terminal according to the described first acquisition acquisition request is currently accessed Service set SSID;
Detection sub-module, whether include the acquisition submodule in the SSID for being configured as detecting default each credit network The SSID for second network that block obtains;
Determination sub-module, the testing result for being configured as the detection sub-module are default each credit network When SSID includes the SSID of second network, determine that the second network that the terminal is currently accessed is credit network.
Optionally, described device also includes:
First determining module, it is configured as receiving the SSID of user's input, the SSID is defined as credit network SSID;Or
Second determining module, it is configured as receiving the credit network settings operation of user's triggering, according to the credit Network settings operation obtains the SSID for the network that the terminal is currently accessed, and the SSID is defined as to the SSID of credit network.
Optionally, the predetermined information is that not to read include the short message of identifying code.
Optionally, described first the screening conditions for asking also to include the predetermined information are obtained, then described device, is also wrapped Include:
First read module, when being configured as the n bar predetermined informations that the screening conditions are the most recently received, from addressee The n bar predetermined informations being most recently received are read in case;
Second read module, it is when meeting predetermined format to be configured as the screening conditions, is read from inbox full The predetermined information of the foot predetermined format.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of information acquisition device, described device include:
Receiving module, it is configured as receiving the second acquisition request that user triggers under first network, described second obtains Request includes user account number;
Determining module, it is configured to determine that the terminal with user account number binding;
Sending module, it is configured as sending the first acquisition request to the terminal, described first, which obtains request, is used to obtain Predetermined information in the terminal;
Display module, is configured as receiving and shows the predetermined information that the terminal is sent, and the predetermined information is The terminal determines that the second network for being currently accessed is sent after credit network obtaining request according to described first, described the Two networks are different from the first network.
Optionally, second acquisition asks also to include password, described device, in addition to:
Read module, it is configured as reading the user account number and password in the second acquisition request;
Display module, it is configured as being verified in the user account number and password obtained to the read module Afterwards, acquisition of information control is shown;
Generation module, it is configured as receiving the behaviour that the described information for acting on the display module displaying obtains control After making signal, generation described first obtains request.
Optionally, the predetermined information is that not to read include the short message of identifying code.
According to the 5th of the embodiment of the present disclosure the aspect, there is provided a kind of information acquisition device, described device include:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
What the reception server was sent first obtains request, and the first acquisition request is that the server receives user and existed Second triggered under first network obtains request, it is determined that raw after the terminal that the user account number in request is bound is obtained with described second Into, described first, which obtains request, is used to obtain the predetermined information in the terminal;
Whether it is credit network according to the second network that terminal described in the described first acquisition request detection is currently accessed, it is described Second network is different from the first network;
When the second network that the terminal is currently accessed is credit network, the predetermined information is sent to the service Device is shown.
According to the 6th of the embodiment of the present disclosure the aspect, there is provided a kind of information acquisition device, described device include:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
The second acquisition request that user triggers under first network is received, described second, which obtains request, includes user account number;
It is determined that the terminal with user account number binding;
First is sent to the terminal and obtains request, and described first, which obtains request, is used to obtain the predetermined letter in the terminal Breath;
The predetermined information that the terminal is sent is received and shows, the predetermined information is the terminal according to First, which obtains request, determines that the second network for being currently accessed is sent after credit network, second network and first net Network is different.
According to the 7th of embodiment of the present disclosure aspect, there is provided a kind of computer-readable recording medium, in the storage medium At least one instruction, at least one section of program, code set or instruction set are stored with, described at least one instructs, be described at least one section Program, the code set or instruction set are loaded by the processor and performed to realize acquisition of information side as described in relation to the first aspect Method.
According to the eighth aspect of the embodiment of the present disclosure, there is provided a kind of computer-readable recording medium, in the storage medium At least one instruction, at least one section of program, code set or instruction set are stored with, described at least one instructs, be described at least one section Program, the code set or instruction set are loaded as the processor and performed to realize the acquisition of information side as described in second aspect Method.
The technical scheme provided by this disclosed embodiment can include the following benefits:
The second network that terminal is currently accessed is different from the first network that user is currently located, and illustrates terminal not user's At one's side, now whether terminal can be credit network to determine terminal whether in credit environment by detecting the second network, Determine that predetermined information is sent into server when the second network is credit network, predetermined information is showed user by server, solution Terminal of having determined not user at one's side when, the problem of user can not obtain the predetermined information in terminal, reached guarantee acquisition of information Success rate effect.
Because predetermined information is that not to read include the short message of identifying code, so, user can get in the short message in time Identifying code, improve the acquisition efficiency of identifying code.
First, which obtains request, also includes the screening conditions of predetermined information, and so, user can be set according to the demand of oneself Screening conditions, the flexibility of acquisition of information can be improved.
It should be appreciated that the general description and following detailed description of the above are only exemplary, this can not be limited It is open.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms a part for present disclosure specification, shows and meets the disclosure Embodiment, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of flow chart of information acquisition method according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of information acquisition method according to another exemplary embodiment.
Fig. 3 is a kind of block diagram of information acquisition device according to an exemplary embodiment.
Fig. 4 is a kind of block diagram of information acquisition device according to an exemplary embodiment.
Fig. 5 is a kind of block diagram of device for acquisition of information according to an exemplary embodiment.
Fig. 6 is a kind of block diagram of device for acquisition of information according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of information acquisition method according to an exemplary embodiment, the information acquisition method Applied in the system including terminal and server, as shown in figure 1, the information acquisition method comprises the following steps.
In a step 101, server receives the second acquisition request that user triggers under first network, and second acquisition please Ask including user account number.
In a step 102, server determines the terminal with user account number binding.
In step 103, server sends first to terminal and obtains request, and first, which obtains request, is used to obtain in terminal Predetermined information.
At step 104, the first acquisition request that terminal the reception server is sent.
In step 105, whether the second network that terminal is currently accessed according to the first acquisition request detection terminal is credit Network, the second network are different from first network.
In step 106, when the second network that terminal is currently accessed is credit network, predetermined information is sent to by terminal Server is shown.
In step 107, the predetermined information that server is received and displaying terminal is sent.
Wherein, step 101-103 and 107 can be implemented separately the embodiment as server side, and step 104-106 can be with The embodiment as end side is implemented separately.
In summary, the information acquisition method that the disclosure provides, the second network that terminal is currently accessed and the current institute of user First network it is different, illustrate terminal not in user at one's side, now whether terminal can be awarded by the second network of detection Communication network determines whether in credit environment, clothes are sent to when it is determined that the second network is credit network by terminal for predetermined information Be engaged in device, predetermined information shows user by server, solve terminal not user at one's side when, user can not be obtained in terminal The problem of predetermined information, the effect for the success rate for ensureing acquisition of information is reached.
Fig. 2 is a kind of flow chart of information acquisition method according to another exemplary embodiment, the acquisition of information side Method is applied to include in terminal and the system of server, as shown in Fig. 2 the information acquisition method comprises the following steps.
In step 201, server receives the second acquisition request that user triggers under first network, and second obtains request Including user account number.
First network is the network that user is presently in environment, and user's telnet server under first network is defeated Access customer account number.Wherein, user account number can be the user account number of an application, such as, the user account number of Michat;Can also be The user account number of the system service of terminal, such as, the user account number of millet, the present embodiment is not construed as limiting.
When actually realizing, user remotely accesses appointed website under first network, and user account number is inputted in the website, Now, server corresponding to the website receives the second acquisition request including user account number.
In step 202, the second acquisition request also includes password, then server reads user's account in the second acquisition request Number and password.
Second password obtained in request is the password set in registered user's account number.
In step 203, after to being verified of user account number and password, server displaying acquisition of information control.
Registered and obtained in the server due to user account number and password, therefore, server can be to the user account number Verified with password, after being verified, server shows acquisition of information control by the website;In checking not by rear, Server continues instruction user input user account number and password is verified.
Wherein, acquisition of information control is used to obtain the predetermined information in terminal.When predetermined information is not read comprising checking During the short message of code, acquisition of information control can be that short message obtains control.
In step 204, after the operation signal for acting on acquisition of information control is received, server generation first obtains Request.
When user's click information obtains control, server receives the operation signal for acting on acquisition of information control, this When, server generation first obtains request, and first obtains the predetermined information that request is used in requesting terminal.
In step 205, server determines the terminal with user account number binding.
User in the server registered user's account number when, also user account number and terminal are bound, now, server can With the terminal for determining to bind with the user account number according to the user account number of user's remote input.
In step 206, server sends first to terminal and obtains request, and the first acquisition request is used to obtain in terminal Predetermined information.
In step 207, the first acquisition request that terminal the reception server is sent.
In a step 208, the SSID for the second network that terminal is currently accessed according to the first acquisition acquisition request terminal.
What terminal was currently accessed is the second network, and the second network is different from first network, therefore, it is determined terminal is not In user at one's side.If the environment residing for terminal is credit environment, the information that terminal to server is sent will not be intercepted maliciously, User can obtain predetermined information by server to terminal;If the environment residing for terminal is not credit environment, terminal is to clothes The information that business device is sent may be intercepted maliciously, cause information leakage, so terminal can not send predetermined information to server.
Whether the environment residing for terminal is that credit environment can be determined by the second network, if the second network is credit net Network, it is determined that the environment residing for terminal is credit environment;If the second network is not credit network, it is determined that the environment residing for terminal It is not credit environment.
Terminal can determine whether the second network is credit network by the SSID of the second network, and now, terminal needs Read the SSID of the second network.
In a kind of application scenarios, user is in, and terminal is forgotten in company, the second network of now terminal access is public The network of department, it is credit network;In another application scenarios, user is forgotten terminal at home, now terminal connects in company The second network entered is the network of family, and credit network.
In step 209, terminal detects the SSID for whether including the second network in the SSID of default each credit network.
The SSID of each credit network is previously stored with terminal, terminal detects in these SSID whether include the second network SSID, if these SSID include the SSID of the second network, it is determined that the second network is credit network, that is, perform step 210; If do not include the SSID of the second network in these SSID, it is determined that the second network is not credit network, and now terminal can be to clothes The business network of device second is not the notification message of credit network, or, terminal is not responding to the first acquisition request, terminates flow.
Wherein, this method also includes:The SSID of user's input is received, SSID is defined as to the SSID of credit network;Or The credit network settings operation of user's triggering is received, is operated according to credit network settings and obtains the network that terminal is currently accessed SSID, SSID is defined as to the SSID of credit network.
The SSID of storage credit network two kinds of implementations are present embodiments provided, separately below to both realization sides Formula is introduced.
In the first implementation, user knows the SSID of each credit network, is directly manually entered and awards in the terminal The SSID of communication network.For example user knows the SSID of the network of family, by SSID storages in the terminal.
In second of implementation, user does not know the SSID of credit network, but the network that terminal is currently accessed is to award Communication network, now user can trigger the operation of credit network settings, terminal reads the SSID of network being currently accessed, by the SSID Storage is in the terminal.For example user does not know the SSID of the network of company, and user's terminal during company goes to work has accessed public affairs The network of department, then user can trigger credit network settings operation, now, terminal read company network SSID, by this SSID is stored in the terminal.
In step 210, when the SSID of default each credit network includes the SSID of the second network, terminal determines The second network that terminal is currently accessed is credit network.
In step 211, when the second network that terminal is currently accessed is credit network, predetermined information is sent to by terminal Server is shown.
Terminal by predetermined information before server is sent to, it is also necessary to filters out predetermined letter according to the first acquisition request Breath.First in the present embodiment, which obtains request, also includes the screening conditions of predetermined information, below by taking screening conditions as an example, to terminal The flow of screening predetermined information is introduced.
In the first implementation, when the n bar predetermined informations that screening conditions are the most recently received, read from inbox Take the n bar predetermined informations being most recently received.
Wherein, the first acquisition request also includes n, then order of the terminal according to reception time from evening to morning, from inbox Read n bar predetermined informations.
It should be noted that n is default value, user can also modify to n.Such as n 3, then terminal acquiescence is from receipts 3 predetermined informations being most recently received are read in part case;N is revised as 5 by user, then terminal reads nearest reception from inbox 5 predetermined informations arrived.
In second of implementation, when screening conditions are to meet predetermined format, are read from inbox and meet to make a reservation for The predetermined information of form.
Wherein, predetermined format can also indicate that predetermined information includes with the typesetting format of the content of indicating predetermined information Keyword, the present embodiment is not construed as limiting.
For example predetermined information is the short message for including identifying code, then predetermined format can be arranged to short comprising identifying code The general format of letter, terminal read the short message for including identifying code according to the general format from inbox.Or it will can make a reservation for Form is arranged to include " identifying code " these three keywords, and terminal reads all comprising keyword " identifying code " from inbox Short message.
Optionally, terminal can also filter out the short message do not read from the short message read out, using the short message do not read as most The predetermined information read eventually.
In the step 212, the predetermined information that server is received and displaying terminal is sent.
Server shows the predetermined information after predetermined information is received, by website, and user can read the predetermined letter Breath.When predetermined information is the short message comprising identifying code do not read, user can read identifying code therein, utilize the identifying code Registration account number, express delivery, log-on webpage etc. are taken, the present embodiment is not construed as limiting to the effect of identifying code.
Wherein, step 201-206 and 212 can be implemented separately the embodiment as server side, and step 207-211 can be with The embodiment as end side is implemented separately.
In summary, the information acquisition method that the disclosure provides, the second network that terminal is currently accessed and the current institute of user First network it is different, illustrate terminal not in user at one's side, now whether terminal can be awarded by the second network of detection Communication network determines whether in credit environment, clothes are sent to when it is determined that the second network is credit network by terminal for predetermined information Be engaged in device, predetermined information shows user by server, solve terminal not user at one's side when, user can not be obtained in terminal The problem of predetermined information, the effect for the success rate for ensureing acquisition of information is reached.
Because predetermined information is that not to read include the short message of identifying code, so, user can get in the short message in time Identifying code, improve the acquisition efficiency of identifying code.
First, which obtains request, also includes the screening conditions of predetermined information, and so, user can be set according to the demand of oneself Screening conditions, the flexibility of acquisition of information can be improved.
Fig. 3 is a kind of block diagram of information acquisition device according to an exemplary embodiment, and the information acquisition device should For in terminal, as shown in figure 3, the information acquisition device includes:Receiving module 310, detection module 320 and sending module 330.
The receiving module 310, it is configured as the first of the reception server transmission and obtains request, the first acquisition request is service Device receives second that user triggers under first network and obtains request, it is determined that the user account number obtained with second in request is bound Terminal after generate, first, which obtains request, is used to obtain the predetermined information in terminal;
The detection module 320, it is current that be configured as being received according to receiving module 310 first obtains request detection terminal Whether the second network of access is credit network, and the second network is different from first network;
The sending module 330, the testing result for being configured as detection module 320 are the second network that terminal is currently accessed When being credit network, predetermined information is sent to server and is shown.
Optionally, detection module 320, including:Acquisition submodule, detection sub-module and determination sub-module;
The acquisition submodule, it is configured as the service of the second network being currently accessed according to the first acquisition acquisition request terminal Set identifier SSID;
The detection sub-module, whether include acquisition submodule in the SSID for being configured as detecting default each credit network The SSID of the second obtained network;
The determination sub-module, the testing result for being configured as detection sub-module is the SSID of default each credit network When including the SSID of the second network, determine that the second network that terminal is currently accessed is credit network.
Optionally, device also includes:First determining module or the second determining module;
First determining module, it is configured as receiving the SSID of user's input, SSID is defined as to the SSID of credit network; Or
Second determining module, it is configured as receiving the credit network settings operation of user's triggering, is set according to credit network The SSID that operation obtains the network that terminal is currently accessed is put, SSID is defined as to the SSID of credit network.
Optionally, predetermined information is that not to read include the short message of identifying code.
Optionally, first the screening conditions for asking also to include predetermined information are obtained, then the device, in addition to:First reads Module and the second read module;
First read module, when being configured as the n bar predetermined informations that screening conditions are the most recently received, from inbox It is middle to read the n bar predetermined informations being most recently received;
Second read module, it is when meeting predetermined format to be configured as screening conditions, reads and meets from inbox The predetermined information of predetermined format.
In summary, the information acquisition device that the disclosure provides, the second network that terminal is currently accessed and the current institute of user First network it is different, illustrate terminal not in user at one's side, now whether terminal can be awarded by the second network of detection Communication network determines whether in credit environment, clothes are sent to when it is determined that the second network is credit network by terminal for predetermined information Be engaged in device, predetermined information shows user by server, solve terminal not user at one's side when, user can not be obtained in terminal The problem of predetermined information, the effect for the success rate for ensureing acquisition of information is reached.
Because predetermined information is that not to read include the short message of identifying code, so, user can get in the short message in time Identifying code, improve the acquisition efficiency of identifying code.
First, which obtains request, also includes the screening conditions of predetermined information, and so, user can be set according to the demand of oneself Screening conditions, the flexibility of acquisition of information can be improved.
Fig. 4 is a kind of block diagram of information acquisition device according to an exemplary embodiment, and the information acquisition device should For in server, as shown in figure 4, the information acquisition device includes:Receiving module 410, determining module 420, sending module 430 With display module 440.
The receiving module 410, it is configured as receiving the second acquisition request that user triggers under first network, second obtains Request includes user account number;
The determining module 420, it is configured to determine that the terminal with user account number binding;
The sending module 430, it is configured as sending the first acquisition request to terminal, first, which obtains request, is used to obtain terminal In predetermined information;
The display module 440, the predetermined information received and displaying terminal is sent is configured as, predetermined information is terminal in root Obtain request according to first and determine that the second network for being currently accessed is sent after credit network, the second network with first network not Together.
Optionally, the second acquisition asks also to include password, the device, in addition to:Read module, display module and generation mould Block;
The read module, it is configured as reading the user account number and password in the second acquisition request;
The display module, it is configured as after being verified of the user account number and password obtained to read module, displaying Acquisition of information control;
The generation module, it is configured as receiving the operation signal for the acquisition of information control for acting on display module displaying Afterwards, generation first obtains request.
Optionally, predetermined information is that not to read include the short message of identifying code.
In summary, the information acquisition device that the disclosure provides, the second network that terminal is currently accessed and the current institute of user First network it is different, illustrate terminal not in user at one's side, now whether terminal can be awarded by the second network of detection Communication network determines whether in credit environment, clothes are sent to when it is determined that the second network is credit network by terminal for predetermined information Be engaged in device, predetermined information shows user by server, solve terminal not user at one's side when, user can not be obtained in terminal The problem of predetermined information, the effect for the success rate for ensureing acquisition of information is reached.
Because predetermined information is that not to read include the short message of identifying code, so, user can get in the short message in time Identifying code, improve the acquisition efficiency of identifying code.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
The exemplary embodiment of the disclosure one provides a kind of information acquisition device, can realize that the information that the disclosure provides obtains Method is taken, the information acquisition device can apply in terminal, including:Processor, for storing processor-executable instruction Memory;
Wherein, processor is configured as:
The first acquisition request that the reception server is sent, the first acquisition request is that server receives user in first network The second of lower triggering obtains request, it is determined that generated after the terminal that the user account number in request is bound is obtained with second, first obtains Request is taken to be used to obtain the predetermined information in terminal;
Whether it is credit network according to first the second network for being currently accessed of acquisition request detection terminal, the second network and the One network is different;
When the second network that terminal is currently accessed is credit network, predetermined information is sent to server and is shown.
The exemplary embodiment of the disclosure one provides a kind of information acquisition device, can realize that the information that the disclosure provides obtains Method is taken, the information acquisition device can apply in server, including:Processor, for storing processor-executable instruction Memory;
Wherein, processor is configured as:
The second acquisition request that user triggers under first network is received, second, which obtains request, includes user account number;
It is determined that the terminal with user account number binding;
First is sent to terminal and obtains request, and first, which obtains request, is used to obtain the predetermined information in terminal;
The predetermined information that simultaneously displaying terminal is sent is received, predetermined information is that terminal determines currently according to the first acquisition request Second network of access is sent after credit network, and the second network is different from first network.
Fig. 5 is a kind of block diagram of device 500 for acquisition of information according to an exemplary embodiment.For example, dress It can be mobile phone to put 500, computer, digital broadcast terminal, messaging devices, game console, tablet device, medical treatment Equipment, body-building equipment, personal digital assistant etc..
Reference picture 5, device 500 can include following one or more assemblies:Processing component 502, memory 504, power supply Component 506, multimedia groupware 508, audio-frequency assembly 510, the interface 512 of input/output (I/O), sensor cluster 514, and Communication component 516.
The integrated operation of the usual control device 500 of processing component 502, such as communicated with display, call, data, phase The operation that machine operates and record operation is associated.Processing component 502 can refer to including one or more processors 518 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing component 502 can include one or more modules, just Interaction between processing component 502 and other assemblies.For example, processing component 502 can include multi-media module, it is more to facilitate Interaction between media component 508 and processing component 502.
Memory 504 is configured as storing various types of data to support the operation in device 500.These data are shown Example includes the instruction of any application program or method for operating on device 500, contact data, telephone book data, disappears Breath, picture, video etc..Memory 504 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 506 provides electric power for the various assemblies of device 500.Power supply module 506 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 500.
Multimedia groupware 508 is included in the screen of one output interface of offer between described device 500 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detect and touched or the related duration and pressure of slide with described.In certain embodiments, more matchmakers Body component 508 includes a front camera and/or rear camera.When device 500 is in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 510 is configured as output and/or input audio signal.For example, audio-frequency assembly 510 includes a Mike Wind (MIC), when device 500 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The audio signal received can be further stored in memory 504 or via communication set Part 516 is sent.In certain embodiments, audio-frequency assembly 510 also includes a loudspeaker, for exports audio signal.
I/O interfaces 512 provide interface between processing component 502 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 514 includes one or more sensors, and the state for providing various aspects for device 500 is commented Estimate.For example, sensor cluster 514 can detect opening/closed mode of device 500, and the relative positioning of component, for example, it is described Component is the display and keypad of device 500, and sensor cluster 514 can be with 500 1 components of detection means 500 or device Position change, the existence or non-existence that user contacts with device 500, the orientation of device 500 or acceleration/deceleration and device 500 Temperature change.Sensor cluster 514 can include proximity transducer, be configured to detect in no any physical contact The presence of neighbouring object.Sensor cluster 514 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 514 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 516 is configured to facilitate the communication of wired or wireless way between device 500 and other equipment.Device 500 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 516 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 516 also includes near-field communication (NFC) module, to promote junction service.Example Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 500 can be believed by one or more application specific integrated circuits (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 504 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 518 of device 500.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
The exemplary embodiment of the disclosure one provides a kind of computer-readable recording medium, is stored with the storage medium At least one instruction, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the institute Code set or instruction set is stated to be loaded by the processor and performed to realize information acquisition method as described above.
Fig. 6 is a kind of block diagram of device 600 for acquisition of information according to an exemplary embodiment.For example, dress Put 600 and may be provided in a server.Reference picture 6, device 600 include processing component 622, and it further comprises one or more Individual processor, and as the memory resource representated by memory 632, can be by the finger of the execution of processing component 622 for storing Order, such as application program.The application program stored in memory 632 can include it is one or more each correspond to The module of one group of instruction.In addition, processing component 622 is configured as execute instruction, to perform above- mentioned information acquisition methods.
Device 600 can also include the power management that a power supply module 626 is configured as performs device 600, and one has Line or radio network interface 650 are configured as device 600 being connected to network, and input and output (I/O) interface 658.Dress Putting 600 can operate based on the operating system for being stored in memory 632, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art will readily occur to other realities of the disclosure after considering specification and putting into practice disclosure herein Apply scheme.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or suitable The change of answering property follows the general principle of the disclosure and including the undocumented common knowledge or used in the art of the disclosure Use technological means.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following right It is required that point out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (20)

1. a kind of information acquisition method, it is characterised in that methods described includes:
The first acquisition request that the reception server is sent, the first acquisition request is that the server receives user first Second triggered under network obtains request, it is determined that being generated after the terminal that the user account number in request is bound is obtained with described second , described first, which obtains request, is used to obtain the predetermined information in the terminal;
Whether it is credit network according to the second network for being currently accessed of terminal described in the described first acquisition request detection, described second Network is different from the first network;
When the second network that the terminal is currently accessed is credit network, the predetermined information is sent to the server and entered Row displaying.
2. according to the method for claim 1, it is characterised in that the terminal according to described first obtains request detection Whether the second network being currently accessed is credit network, including:
The service set SSID for the second network being currently accessed according to terminal described in the described first acquisition acquisition request;
Whether detect includes the SSID of second network in the SSID of default each credit network;
When the SSID of default each credit network includes the SSID of second network, determine that the terminal is currently accessed The second network be credit network.
3. according to the method for claim 2, it is characterised in that methods described also includes:
The SSID of user's input is received, the SSID is defined as to the SSID of credit network;Or
The credit network settings operation of user's triggering is received, obtaining the terminal according to credit network settings operation works as The SSID of the network of preceding access, the SSID is defined as to the SSID of credit network.
4. method according to any one of claims 1 to 3, it is characterised in that the predetermined information is not read comprising checking The short message of code.
5. according to the method for claim 4, it is characterised in that described first, which obtains request, also includes the predetermined information Screening conditions, then methods described, in addition to:
When the n bar predetermined informations that the screening conditions are the most recently received, it is pre- that the n bars being most recently received are read from inbox Determine information;
When the screening conditions are to meet predetermined format, the predetermined information for meeting the predetermined format is read from inbox.
6. a kind of information acquisition method, it is characterised in that methods described includes:
The second acquisition request that user triggers under first network is received, described second, which obtains request, includes user account number;
It is determined that the terminal with user account number binding;
First is sent to the terminal and obtains request, and described first, which obtains request, is used to obtain the predetermined information in the terminal;
The predetermined information that the terminal is sent is received and shows, the predetermined information is the terminal according to described first Obtain request and determine that the second network for being currently accessed is sent after credit network, second network with the first network not Together.
7. according to the method for claim 6, it is characterised in that second acquisition asks also to include password, methods described, Also include:
Read the user account number and password in the second acquisition request;
After to being verified of the user account number and password, acquisition of information control is shown;
After the operation signal for acting on described information acquisition control is received, generation described first obtains request.
8. the method according to claim 6 or 7, it is characterised in that the predetermined information be do not read include identifying code Short message.
9. a kind of information acquisition device, it is characterised in that described device includes:
Receiving module, it is configured as the first of the reception server transmission and obtains request, the first acquisition request is the service Device receives second that user triggers under first network and obtains request, it is determined that obtaining the user account number in request with described second Generated after the terminal of binding, described first, which obtains request, is used to obtain the predetermined information in the terminal;
Detection module, it is current to be configured as the terminal according to the first acquisition request detection that the receiving module receives Whether the second network of access is credit network, and second network is different from the first network;
Sending module, the testing result for being configured as the detection module are that the second network that the terminal is currently accessed is to award During communication network, the predetermined information is sent to the server and is shown.
10. device according to claim 9, it is characterised in that the detection module, including:
Acquisition submodule, it is configured as the clothes for the second network that the terminal according to the described first acquisition acquisition request is currently accessed Be engaged in set identifier SSID;
Detection sub-module, whether obtained including the acquisition submodule in the SSID for being configured as detecting default each credit network The SSID of second network arrived;
Determination sub-module, the testing result of the detection sub-module is configured as in the SSID of default each credit network During SSID including second network, determine that the second network that the terminal is currently accessed is credit network.
11. device according to claim 10, it is characterised in that described device also includes:
First determining module, it is configured as receiving the SSID of user's input, the SSID is defined as credit network SSID;Or
Second determining module, it is configured as receiving the credit network settings operation of user's triggering, according to the credit network Set operation to obtain the SSID for the network that the terminal is currently accessed, the SSID is defined as to the SSID of credit network.
12. according to any described device of claim 9 to 11, it is characterised in that the predetermined information is not read comprising testing Demonstrate,prove the short message of code.
13. device according to claim 12, it is characterised in that described first, which obtains request, also includes the predetermined information Screening conditions, then described device, in addition to:
First read module, when being configured as the n bar predetermined informations that the screening conditions are the most recently received, from inbox Read the n bar predetermined informations being most recently received;
Second read module, it is when meeting predetermined format to be configured as the screening conditions, is read from inbox and meets institute State the predetermined information of predetermined format.
14. a kind of information acquisition device, it is characterised in that described device includes:
Receiving module, it is configured as receiving the second acquisition request that user triggers under first network, described second obtains request Including user account number;
Determining module, it is configured to determine that the terminal with user account number binding;
Sending module, it is configured as obtaining request to terminal transmission first, the first acquisition request is described for obtaining Predetermined information in terminal;
Display module, the predetermined information that the terminal is sent is configured as receiving and shows, the predetermined information is described Terminal is sent after the second network for asking to determine to be currently accessed is obtained according to described first and is credit network, second net Network is different from the first network.
15. device according to claim 14, it is characterised in that described second, which obtains request, also includes password, the dress Put, in addition to:
Read module, it is configured as reading the user account number and password in the second acquisition request;
Display module, it is configured as after being verified of the user account number and password obtained to the read module, exhibition Show acquisition of information control;
Generation module, it is configured as receiving the operation letter that the described information for acting on the display module displaying obtains control After number, generation described first obtains request.
16. the device according to claims 14 or 15, it is characterised in that the predetermined information be do not read include identifying code Short message.
17. a kind of information acquisition device, it is characterised in that described device includes:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
The first acquisition request that the reception server is sent, the first acquisition request is that the server receives user first Second triggered under network obtains request, it is determined that being generated after the terminal that the user account number in request is bound is obtained with described second , described first, which obtains request, is used to obtain the predetermined information in the terminal;
Whether it is credit network according to the second network for being currently accessed of terminal described in the described first acquisition request detection, described second Network is different from the first network;
When the second network that the terminal is currently accessed is credit network, the predetermined information is sent to the server and entered Row displaying.
18. a kind of information acquisition device, it is characterised in that described device includes:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
The second acquisition request that user triggers under first network is received, described second, which obtains request, includes user account number;
It is determined that the terminal with user account number binding;
First is sent to the terminal and obtains request, and described first, which obtains request, is used to obtain the predetermined information in the terminal;
The predetermined information that the terminal is sent is received and shows, the predetermined information is the terminal according to described first Obtain request and determine that the second network for being currently accessed is sent after credit network, second network with the first network not Together.
19. a kind of computer-readable recording medium, it is characterised in that at least one instruction, extremely is stored with the storage medium Few one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set or the instruction Collection is loaded by the processor and performed to realize any described information acquisition method of claim 1 to 5.
20. a kind of computer-readable recording medium, it is characterised in that at least one instruction, extremely is stored with the storage medium Few one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set or the instruction Collection is loaded by the processor and performed to realize any described information acquisition method of claim 6 to 8.
CN201710888175.4A 2017-09-27 2017-09-27 Information acquisition method, device and storage medium Active CN107645505B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710888175.4A CN107645505B (en) 2017-09-27 2017-09-27 Information acquisition method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710888175.4A CN107645505B (en) 2017-09-27 2017-09-27 Information acquisition method, device and storage medium

Publications (2)

Publication Number Publication Date
CN107645505A true CN107645505A (en) 2018-01-30
CN107645505B CN107645505B (en) 2021-05-04

Family

ID=61114221

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710888175.4A Active CN107645505B (en) 2017-09-27 2017-09-27 Information acquisition method, device and storage medium

Country Status (1)

Country Link
CN (1) CN107645505B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196414A (en) * 2010-03-05 2011-09-21 阿尔卡特朗讯 Method and device for acquiring data in user terminal equipment
CN105263126A (en) * 2015-08-31 2016-01-20 小米科技有限责任公司 Method, device and system for short message verification
CN105577648A (en) * 2015-12-11 2016-05-11 北京奇虎科技有限公司 Method for obtaining and sending short message identifying code, calculating device and mobile terminal
CN105592009A (en) * 2014-10-23 2016-05-18 阿里巴巴集团控股有限公司 Method and device for retrieving or modifying login password
CN106411913A (en) * 2016-10-18 2017-02-15 乐视控股(北京)有限公司 Online payment dynamic code processing method and device, and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196414A (en) * 2010-03-05 2011-09-21 阿尔卡特朗讯 Method and device for acquiring data in user terminal equipment
CN105592009A (en) * 2014-10-23 2016-05-18 阿里巴巴集团控股有限公司 Method and device for retrieving or modifying login password
CN105263126A (en) * 2015-08-31 2016-01-20 小米科技有限责任公司 Method, device and system for short message verification
CN105577648A (en) * 2015-12-11 2016-05-11 北京奇虎科技有限公司 Method for obtaining and sending short message identifying code, calculating device and mobile terminal
CN106411913A (en) * 2016-10-18 2017-02-15 乐视控股(北京)有限公司 Online payment dynamic code processing method and device, and electronic equipment

Also Published As

Publication number Publication date
CN107645505B (en) 2021-05-04

Similar Documents

Publication Publication Date Title
CN104780155B (en) Apparatus bound method and device
CN106792640A (en) The communication means of virtual SIM card, mobile terminal and server
CN106376043A (en) Automatic switching method and device for SIM (Subscriber Identification Module) card
CN104898505A (en) Smart scene configuration method and device
CN104125162B (en) The access processing method and device of Internet resources
CN107948926A (en) The method and apparatus that smart machine is shared
CN104539812B (en) Recommendation information acquisition methods, terminal and server
CN106790043A (en) The method and device of message is sent in live application
CN105898032A (en) Adjusting method and apparatus for warning tone
CN104159230A (en) Telephone call identification method and device
CN104602275B (en) Client identification module SIM card switching method and device
CN105392141A (en) Device control method and device
CN107071862A (en) Account binding method and device and smart machine
CN103997574B (en) The method and apparatus for obtaining voice service
CN104050236B (en) Web site contents update reminding method, server and client side
CN107395624A (en) Information processing method and device
CN107404429A (en) Circle of friends answering method, device and computer-readable recording medium
CN104780256A (en) Address book management method and device and intelligent terminal
CN106933111A (en) A kind of method and device of control device
CN106778198A (en) Perform the safety certifying method and device of operation
CN105262905A (en) Method and device for management of contact persons
CN107644083A (en) The recognition methods of message header and information and content conformity and equipment
CN107193446A (en) image processing method, device and storage medium
CN107357643A (en) Application call method, apparatus and computer-readable recording medium
CN107070816A (en) Recognition methods, device and the mobile terminal of application

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