WO2022199122A1 - Login method and apparatus allowing for customer-friendly force sign-out based on traffic measurement - Google Patents

Login method and apparatus allowing for customer-friendly force sign-out based on traffic measurement Download PDF

Info

Publication number
WO2022199122A1
WO2022199122A1 PCT/CN2021/135681 CN2021135681W WO2022199122A1 WO 2022199122 A1 WO2022199122 A1 WO 2022199122A1 CN 2021135681 W CN2021135681 W CN 2021135681W WO 2022199122 A1 WO2022199122 A1 WO 2022199122A1
Authority
WO
WIPO (PCT)
Prior art keywords
login
log
later
server
request
Prior art date
Application number
PCT/CN2021/135681
Other languages
French (fr)
Chinese (zh)
Inventor
柴银平
李竞
Original Assignee
武汉绿色网络信息服务有限责任公司
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 武汉绿色网络信息服务有限责任公司 filed Critical 武汉绿色网络信息服务有限责任公司
Publication of WO2022199122A1 publication Critical patent/WO2022199122A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities

Definitions

  • the present invention relates to the field of computer technology, in particular to a method and a device for achieving humanized run login based on traffic identification.
  • the technical problem to be solved by the present invention is to provide a method and device for humanized run login based on traffic identification.
  • the method of run login is more user-friendly, which is more beneficial to users. use of the account.
  • the present invention provides a method for humanized run login based on traffic identification, including:
  • the server receives the log-in request of the subsequent log-in device, and judges the use state of the prior log-in device according to the real-time traffic state of the prior log-in device;
  • the server determines whether to approve the login request of the later login device according to the use state of the prior login device.
  • the use state of the previously logged-in device includes an idle state, an operation state, and a download state.
  • the server agrees to the login request of the later login device, runs off the prior login device, and completes the login of the later login device. operate.
  • the server sends the login request of the later login device to the prior login device for confirmation.
  • the server estimates the remaining time required for downloading and displays it on the later login device, and the later login device chooses to wait for the download to end or Continue to request the login, if the login request is continued, the server sends the login request of the later login device to the previous login device for confirmation.
  • the server agrees to the login request of the later login device, runs off the prior login device, and completes the later login request.
  • the login operation of the login device if the earlier login device does not agree or there is no response within the selected time, the server does not agree to the login request of the later login device and sends the later login device to the later login device.
  • the selection time is half a minute or one minute.
  • the basic information of the previously logged-in device includes one or more items of use status, address, model and identification name of the previously logged-in device.
  • the later login device is provided with a permission verification option. If the server permission verification is passed, the server skips the response of the prior login device, runs off the prior login device, and directly completes the After logging in the device's login operation.
  • the present invention also provides a device that achieves humanized run and log in based on flow identification, for realizing the method for achieving humanized run and log in based on flow identification described in the first aspect, the device includes:
  • the memory stores instructions executable by the at least one processor, the instructions are executed by the at least one processor to enable the at least one processor to perform the traffic-based identification of the first aspect to achieve human nature A method to streamline the run registration.
  • the present invention can judge the use state of the previous log-in equipment through traffic identification, and select different run log-in methods according to the different use states of the previous log-in equipment;
  • the present invention sends the login request of the later login device to the previous login device for confirmation, so that the previous login device has the right to choose, and is not the same as the existing campus network connection mode Directly being run and disconnected, avoiding the loss caused by sudden disconnection; and if the user who logs in to the device later is really in a hurry and fails to log in successfully, at least he can know the basic information of the device that was logged in first, so that he can contact its user. It is not impossible to negotiate with them.
  • the present invention directly agrees to the login request of the later login device, and runs off the previous login device, so that the latter login device that needs to use the campus network can directly access the Internet, and is run off. Because the previous login device of the line is in an idle state, there will be no loss of sudden interruption of study or work, which achieves the purpose of humanized run.
  • the use state of the previous login device is the download state
  • the remaining time required for downloading is estimated and displayed on the latter login device, so that the latter login device can choose to wait for the end of the download or continue to request login. It enables the later login device to directly face its own needs and understand the time required for the earlier login, so as to facilitate their choice and achieve a more humanized effect.
  • the present invention is also provided with a permission verification option, which can ensure the absolute authority of the original owner of the account and allow him to log in to the account first.
  • Fig. 1 is a flow chart of a method for achieving user-friendly run login based on traffic identification provided in Embodiment 1 of the present invention
  • Fig. 2 is the server processing flow chart when the use state of the previously logged-in device is the idle state in Embodiment 2 of the present invention
  • Fig. 3 is the server processing flow chart when the use state of the previous login device is the download state in Embodiment 3 of the present invention
  • Fig. 4 is the server processing flow chart when logging in to the device later to perform authority verification in Embodiment 4 of the present invention
  • FIG. 5 is a schematic structural diagram of an apparatus for achieving humanized run login based on traffic identification provided in Embodiment 6 of the present invention.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • Embodiment 1 of the present invention provides a method for achieving user-friendly run login based on traffic identification, and the method includes the following steps:
  • step 101 the server receives the login request of the later login device, and judges the use state of the earlier login device according to the real-time traffic state of the earlier login device.
  • the use state of the previously logged-in device includes an idle state, an operation state, and a download state.
  • the server analyzes the captured traffic data packets and analyzes the traffic changes to determine the usage status of the previously logged-in device.
  • step 102 the server determines whether to approve the log-in request of the later log-in device according to the use state of the prior log-in device.
  • the server when the use state of the first-login device is idle, the server agrees to the login request of the later-login device; when the use state of the first-login device is the operating state or the download state, the server decides according to the selection of the first-login device Whether to agree to the login request to log in to the device later.
  • the use state of the previously logged-in device can be judged through traffic identification, and different run log-in methods can be selected according to the difference of the use state of the previously logged-in device.
  • the preferred embodiment further includes the following steps:
  • step 103 the use state of the previously logged-in device is the operating state.
  • step 104 the server sends the login request of the later login device to the earlier login device for confirmation.
  • steps 105a it is divided into steps 105a according to the selection of the prior login device: the prior login device agrees with the login request of the later login device; 105b: the prior login device does not agree with the login request of the later login device or there is no login request within the selected time. response.
  • step 106a is generated: the server agrees to the login request of the later login device, runs on the earlier login device, and completes the login operation of the later login device.
  • step 106b is generated: the server does not agree with the login request of the later login device and sends the basic information of the earlier login device to the later login device.
  • the above-mentioned selection time can be half a minute or one minute
  • the basic information of the previously logged-in device includes one or more of the usage status, address, device model, device name and mobile phone number of the previously logged-in device item.
  • two classmates A and B share a campus network account.
  • Student B After classmate A first logs in to the account , Student B also tries to log in to the account.
  • Student A's login device is the first login device, and B's login device is the latter login device.
  • the server receives the login request for the later login device.
  • Judging the usage status of the previously logged-in device according to the real-time traffic status of the previously logged-in device is specifically expressed as: Student B is on his own log-in device (the log-in device can be any of the Internet-connected devices such as mobile phones, tablets, and computers, etc.) In this embodiment, try to connect to the campus network on the mobile phone), click the login option after entering the account password, so that the server receives its login request. After receiving the login request from classmate B, the server calls the already connected The real-time traffic status of student A's login device on the campus network, and the specific usage status of student A's login device is judged according to the real-time traffic status.
  • the server can determine that the use state of classmate A's login device is an idle state, an operation state, and a download state;
  • the status indicates that although student A has logged in to the campus network, he has not performed any online operations on the device;
  • the operation status indicates that student A is using the Internet access function on the device (including functions that generate traffic such as browsing web pages, watching videos, and chatting online); download
  • the status indicates that classmate A is performing download operations (such as downloading data, videos, etc.) on the device.
  • the use state of the previous log-in device is the operating state, which means that classmate A is using the previous log-in device to access the Internet.
  • the server will log in to the device later (That is, the login request of classmate B's login device) is sent to the previous login device for confirmation.
  • classmate A is using the previous login device to access the Internet, so it is possible to directly see the login request of classmate B to log in to the device.
  • Student A does not need to use the campus network to handle urgent matters, so he can directly agree to the login request of student B to log in to the device, and when classmate A agrees to the login request of classmate B to log in to the device, the server will also agree to the login request of classmate B to log in to the device. And run off the connection between student A's login device and the campus network, and complete the login operation of student B's login device; and if student A has something to deal with urgently, he can choose not to agree to the login request of student B to log in to the device. At this time, the server does not Agree to the login request of classmate B to log in to the device, and will send the basic information of classmate A to log in to the device.
  • the server will also default that classmate A does not agree with the login request of classmate B to log in to the device. At this time, the server still does not agree with the login request of classmate B to log in to the device, and will send the login request of classmate A to the device. Basic Information.
  • the above selection time is taken as an example of half a minute, that is to say, student A needs to choose within half a minute whether to agree to student B's login to the device. Student B's login to the device will be rejected.
  • the setting of the selection time as half a minute is only an option in this embodiment, rather than a limitation of the selection time. In fact, the selection time may also be one minute or any suitable length of time.
  • the basic information of student A's login device includes the use status, address, and mobile phone number of student A's login device (and may also include various basic information such as its model and identification name).
  • the purpose of sending these basic information to classmate B's login device is to let classmate B know the basic information of classmate A's login device, so as to know the identity of classmate A. In this way, if classmate B Students who have urgent matters that need to log in to the campus network for processing can directly contact classmate A for consultation to decide who should log in to the campus network.
  • the state of the first login device A is the operating state
  • put the device model, device name, mobile phone number and other basic information of students B and C if students B and C are not logging in for the first time, then the device information and mobile phones of students B and C will be If the number is retained in the database, it can be directly checked through the existing mapping relationship. If it is the first time to log in, the device information will be obtained in the log-in request data message) and reported to the student who first logged in to device A.
  • classmate A knows classmate B. and the identity information of classmate C, if classmate A agrees to log in to the Internet, then choose who will log in to the account according to their identity information. For example, if you agree to classmate C but reject classmate B, the server also allows classmate C to log in to the Internet, classmate A's device is disconnected from the campus network, and classmate C successfully logs in to the campus network. At this time, the server sends the basic information of classmate C's device to the recipient. For students B who are rejected, if students B have urgent matters to deal with, they can directly contact classmate C to discuss who can log in to the campus network.
  • the server rejects the login requests of students B and C, and returns the basic information of class A to students B and C. Students B and C will contact class A to discuss who can log in to the campus network.
  • the present invention can judge the use state of the previous login device through traffic identification, and when the use state of the previous login device is the operating state, send the login request of the subsequent login device to the previous login device for confirmation, Make the first login device have the right to choose, and it will not be directly run off the line like the existing campus network connection method, avoiding the loss caused by sudden disconnection; and if the user who logs in later is really urgent If the login is successful, at least the basic information of the previously logged-in device can be obtained, so that the user can be contacted for discussion, so that there is no way out.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • Embodiment 2 of the present invention sets the use state of the previously logged-in device to the idle state, and describes in detail the server processing flow when the use state of the previously logged-in device is the idle state.
  • steps 201-202 of Embodiment 2 of the present invention are the same as steps 101-102 of Embodiment 1, and in addition, this Embodiment 2 further includes the following steps:
  • step 203 the use state of the previously logged-in device is set to the idle state.
  • step 204 the server directly agrees to the log-in request of the later log-in device, runs off the earlier log-in device, and completes the log-in operation of the later log-in device.
  • let’s take student A (login to the device first) and classmate B (login to the device later) log in to the campus network as an example.
  • classmate A does not perform any online operation on the login device, so the server passes the traffic Recognize that classmate A's login device is in an idle state. In this case, the server can determine that classmate A is probably not next to his login device or that classmate A has no urgent need to use the campus network to solve the problem. If classmate A does not need it urgently It is not necessary to occupy the campus network all the time to solve the business using the campus network.
  • classmate A Even if classmate A is not next to his login device, even if the server sends classmate B's login request to classmate A to log in to the device, classmate A will also see it. No, therefore, in the case of this embodiment, the server directly agrees to the login request of the later login device (ie, classmate B's login device), runs out of classmate A's login device, and completes the login operation of classmate B's login device.
  • the later login device ie, classmate B's login device
  • the server selects the most Send the request first, then log in to the device, and run off classmate A to log in to the device. If it is the first login request sent by classmate C, then classmate C successfully logs in to the campus network, and classmate B continues to request to log in to the campus network, then the server sends B's login request to classmate C.
  • the situation and example at this time 1 is the same. Let C students choose according to their own circumstances.
  • the present invention can judge the use state of the previously logged-in device through traffic identification, and the use state of the previously logged-in device is in the idle state (very little traffic of the device is monitored, and there is no obvious browsing within the preset time). , watching videos, playing games, downloading and other Internet operations), directly agree to the login request of the later login device, run the previous login device, so that the later login device that needs to use the campus network can directly access the Internet, but is run off the line Because the previously logged-in device is in an idle state, there will be no loss of sudden interruption of learning or work, so as to achieve the purpose of humanized run.
  • Embodiment 3 is a diagrammatic representation of Embodiment 3
  • Embodiment 3 of the present invention sets the use state of the previously logged-in device to the download state, and describes in detail the server processing flow when the use state of the previously logged-in device is the download state.
  • steps 301-302 of Embodiment 3 of the present invention are the same as steps 101-102 of Embodiment 1, and in addition, this Embodiment 3 also includes the following steps:
  • step 303 the use state of the previously logged-in device is set as the download state.
  • step 304 the server estimates the remaining time required for downloading and displays it on the device after logging in.
  • the corresponding estimation method can be estimated by analyzing the total file size carried in the download data package, the size of the data content that has been downloaded currently, and the current data download speed.
  • the display on the later login device may be that when the later login device initiates a later login request, a server sends the calculated remaining time to the later login device, and the later login device logs in accordingly.
  • the software interface is presented.
  • step 305 after logging in the device selects to wait for the download to end or to continue to request login.
  • steps 306a it is divided into steps 306a according to the difference of the later-login device selection; 306b: the latter-login device is selected to continue to request the login.
  • Step 307a will be generated according to step 306a: the server re-determines the usage status of the previously logged-in device after waiting for the download to end.
  • Step 307b will be generated according to step 306b: the server sends the login request of the later login device to the earlier login device for confirmation.
  • step 308ba it is divided into step 308ba according to the difference in the selection of the prior login device in step 307b: the prior login device agrees with the login request of the later login device; step 308bb: the prior login device does not agree with the login request of the later login device or No response within the selected time.
  • Step 309ba will be generated according to step 308ba: the server agrees to the login request of the later login device, runs on the earlier login device, and completes the login operation of the later login device.
  • Step 309bb will be generated according to step 308bb: the server does not agree with the login request of the later login device and sends the basic information of the earlier login device to the later login device.
  • classmate A performs download operations (such as downloading videos, materials, etc.) on the login device.
  • download operations such as downloading videos, materials, etc.
  • the server will first estimate the remaining time required for the download and display it on the login device of student B (ie, log in to the device later), and let student B choose Wait for the download to end or continue to request a login.
  • classmate B can decide whether to wait for the download to end or continue to request login according to the extent to which he urgently needs to use the campus network and the estimated remaining time for the download.
  • classmate B chooses to continue to request login, it means that classmate B also urgently needs to use the campus network, then the server will send its login request to student A to log in to the device for confirmation by student A; if student B chooses to wait for the download to end, it means that student B does not need to use the campus network urgently, then the server will not prompt A.
  • students log in to the device they will re-judge the usage status of the device A's login after the download items on the A's login device are downloaded.
  • classmate A can also decide whether to agree to classmate B's login request according to the urgency of his own event. If the matter is urgent, he can refuse it. If the matter is not urgent, then you can agree to let student B log in to the campus network to handle urgent matters.
  • the server re-judges the use status of the student A's login device after the download project of the student A's login device is completed.
  • the first is the idle state. Student A did not continue to use the campus network after downloading.
  • the situation at this time is the same as in Example 2.
  • the server will directly agree to the login request of classmate B, run off the login device of classmate A, and complete the login request of classmate B.
  • Login; the second is the operation state, which means that classmate A continues to use the campus network after downloading.
  • the situation at this time is the same as in Example 1.
  • the server will send the login request of classmate B to classmate A to log in to the device, so that classmate A can log in to the device. Choose according to your own situation; the third is the download status, which means that classmate A starts to download other items again. At this time, the server will re-estimate the remaining time required for the download and display the time on the login device of classmate B, so that classmate B can choose Wait for the download to end or continue to request a login. Same as Embodiment 1, when classmate A does not agree with classmate B's login request or there is no response within the selected time, the server will reject classmate B's login request and send the basic information of classmate A's login device to classmate B to log in. equipment, so that students B can know who is using the campus network account, so that they can contact and negotiate.
  • the above selection time is one minute, that is to say, student A needs to choose within one minute whether to agree to student B's login to the device. If he disagrees or has no choice beyond one minute, the server will reject B.
  • the login of the student's login device It should be noted that setting the selection time as one minute is only an option in this embodiment, rather than a limitation of the selection time. In fact, the selection time may also be half a minute or any suitable length of time.
  • the basic information of student A's login device includes the use status, address, and model of student A's login device (may also include various basic information such as its identification name).
  • the purpose of sending these basic information to classmate B's login device is to let classmate B know the basic information of classmate A's login device, so as to know the identity of classmate A. In this way, if classmate B Students who have urgent matters that need to log in to the campus network for processing can directly contact classmate A for consultation to decide who should log in to the campus network.
  • the present invention can judge the use state of the previously logged-in device through traffic identification, and when the use state of the earlier logged-in device is the download state, estimate the remaining time required for downloading and display it on the later-login device , so that the later login device can choose to wait for the download to end or continue to request login.
  • This method enables the later login device to directly face its own needs and understand the time required by the previous login, so that it can make a choice and achieve a more user-friendly Effect.
  • Embodiment 4 is a diagrammatic representation of Embodiment 4:
  • Embodiment 4 of the present invention is additionally provided with a permission verification option on the post-login device.
  • steps 401-402 of this embodiment 4 are the same as steps 101-102 of embodiment 1, and in addition, this embodiment 4 also includes the following steps:
  • step 403 log in to the device to perform authorization verification.
  • step 404a the server authority verification is passed; 404b: the server authority verification is not passed.
  • step 405a is generated: the server skips the response of the previous login device, runs off the previous login device, and directly completes the login operation of the later login device.
  • Step 405b will be generated according to step 404b: the server enters the step of determining the use state of the previously logged-in device.
  • the server will determine whether to allow student B to log in to the device (login later) according to the usage status of student A's login device (login device first).
  • classmate A's login device is in an idle state
  • classmate B's login device can be directly logged in successfully, but when classmate A's login device is not in idle state, classmate B's login device can only log in after classmate A's login device agrees to login.
  • the setting can select the registrant according to the urgency of each event, if both have emergency events, it is obviously disadvantageous to the later registrant.
  • the original owner of the campus network account wanted to log in but was always refused, which is obviously inappropriate.
  • the permission verification option is set.
  • classmate B is the original owner of the campus network account
  • the authority verification option in this embodiment is to perform password authority verification, while in other embodiments, the authority verification option may also be any unique verification method such as fingerprint and face.
  • the authority verification option set by the present invention can ensure the absolute authority of the original owner of the account, so that he can log in to the account first.
  • Embodiment 5 is a diagrammatic representation of Embodiment 5:
  • Embodiment 1-4 considers the situation that the owner of the device that logs in first is different from the owner of the device that logs in later, while Embodiment 5 considers that when the same user logs in on two Situation when logging in with different login devices. For example, if classmate A is logged in on his mobile phone, he wants to log in on the computer to facilitate downloading the data that cannot be downloaded by the mobile phone.
  • the present invention also includes an APP that can log in to the campus network account, and the APP can obtain the real-time location information of the user. In this way, when the server detects that the previous login device is in the same position as the later login device At the same location, directly agree to the login request of the later login device, run off the earlier login device, and complete the login of the later login device.
  • Another situation of this embodiment is that when the account user carries the mobile phone with the above-mentioned APP to log in the account at a computer, the server will determine the mobile phone corresponding to the computer according to the computer position of the corresponding login account, and then when the mobile phone carrier When you come to another location to log in to another computer, the server will determine that it is the same user who is logging in to the account, and thus directly agree to the login request to log in to the device later. Log in. For example, when classmate B logs in to the account on the computer in the dormitory, because classmate B has downloaded the above APP on his mobile phone, the server will obtain the location information of classmate B's mobile phone through the APP.
  • the server determines that classmate B who has the mobile phone is logging in to the account.
  • classmate B brings the mobile phone to the laboratory again, and wants to use the laboratory computer to log in to the account again, the server will use the mobile phone location information and experiment The location information of the computer in the room is consistent, and it is directly confirmed that classmate B wants to log in to the account in a different place, so that the login is completed directly without verification.
  • the server When the above-mentioned dormitory computer login account (that is, the account of user B), the server will correspondingly establish the login account of classmate A and the computer, classmate C and The computer login account, and the mapping relationship between classmate D and the computer login account, and when classmate B logs in to the account in a similar laboratory, the server only needs to verify the stored multiple sets of mapping relationships, as long as there is a mapping relationship between classmate B and the login account.
  • the corresponding location information switch matches the user behavior fingerprint analyzed by big data, the login is completed directly without verification.
  • the corresponding APP will also report the user's mobile phone number, and there is a unique matching relationship between the corresponding mobile phone number and the personal information of the login account.
  • the mapping relationship established above with the login account is unique. Classmate B, other students will skip the mapping relationship establishment because the mobile phone number does not match the personal information in the login account.
  • the user behavior fingerprint refers to the general time interval for the user to move from the above-mentioned similar dormitory position to the laboratory position according to the analysis of big data.
  • the present invention can more conveniently switch the login of the same user of the account on two different login devices, avoid the link of self-confirmation, and achieve the beneficial effect of being more convenient and efficient.
  • login devices in Embodiments 1-5 of the present invention may exist in various forms, and the login devices include but are not limited to:
  • Mobile communication equipment This type of equipment is characterized by having mobile communication functions, and its main goal is to provide voice and data communication.
  • Such terminals include: smart phones (eg iPhone), multimedia phones, feature phones, and low-end phones.
  • Ultra-mobile personal computer equipment This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has the characteristics of mobile Internet access.
  • Such terminals include: PDAs, MIDs, and UMPC devices, such as iPads.
  • Portable entertainment equipment This type of equipment can display and play video content, and generally has the characteristics of mobile Internet access. Such devices include: video players, handheld game consoles, as well as smart toys and portable car navigation devices.
  • Server A device that provides computing services.
  • the composition of the server includes a processor, hard disk, memory, system bus, etc.
  • the server is similar to a general computer architecture, but due to the need to provide highly reliable services, the processing capacity, stability , reliability, security, scalability, manageability and other aspects of high requirements.
  • Embodiment 6 is a diagrammatic representation of Embodiment 6
  • Embodiment 6 of the present invention provides a device for humanized run login based on traffic identification
  • the device can be used as the server in Embodiments 1-5
  • the device includes at least one processor and a memory communicatively connected to the at least one processor ;
  • FIG. 5 it is a schematic diagram of the structure of a device for realizing humanized run login based on traffic identification according to an embodiment of the present invention.
  • the apparatus for humanized run login based on traffic identification in this embodiment includes one or more processors 51 and a memory 52 . Among them, one processor 51 is taken as an example in FIG. 5 .
  • the processor 51 and the memory 52 may be connected by a bus or in other ways, and the connection by a bus is taken as an example in FIG. 5 .
  • the memory 52 can be used to store non-volatile software programs and non-volatile computer-executable programs, such as the user-friendly run login based on traffic identification in Embodiments 1-4.
  • the processor 51 executes the method for humanized run login based on traffic identification by running the non-volatile software programs and instructions stored in the memory 52 .
  • Memory 52 may include high speed random access memory, and may also include nonvolatile memory, such as at least one magnetic disk storage device, flash memory device, or other nonvolatile solid state storage device.
  • memory 52 may optionally include memory located remotely from processor 51 , which may be connected to processor 51 via a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • the program instructions/modules are stored in the memory 52, and when executed by the one or more processors 51, perform the method for achieving humanized run login based on traffic identification in the above-mentioned Embodiments 1-4, for example, The various steps shown in FIGS. 1-4 described above are performed.
  • the present invention can judge the usage status of the prior login equipment through traffic identification, and select different run login methods according to the different usage status of the prior login equipment; In the state, send the login request of the later login device to the earlier login device for confirmation, so that the earlier login device has the right to choose, and it will not be directly run off the line like the existing campus network connection method, avoiding the sudden disconnection.
  • the user who logs in later has an emergency and fails to log in successfully, at least he can know the basic information of the device logged in earlier, so that he can contact the user for discussion, so that there is no way out.
  • the present invention directly agrees to the login request of the later login device, and runs off the previous login device, so that the latter login device that needs to use the campus network can directly access the Internet, and is run off. Because the previous login device of the line is in an idle state, there will be no loss of sudden interruption of study or work, which achieves the purpose of humanized run.
  • the use state of the previous login device is the download state
  • the remaining time required for downloading is estimated and displayed on the latter login device, so that the latter login device can choose to wait for the end of the download or continue to request login. It enables the later login device to directly face its own needs and understand the time required for the earlier login, so as to facilitate their choice and achieve a more humanized effect.
  • the present invention is also provided with a permission verification option, which can ensure the absolute authority of the original owner of the account and allow him to log in to the account first.
  • the invention can more conveniently switch the login of the same user of the account on two different login devices, avoid the link of self-confirmation, and achieve the beneficial effects of being more convenient and efficient.

Abstract

The present invention relates to the technical field of computers, and provides a login method and apparatus allowing for customer-friendly force sign-out based on traffic measurement. The method comprises: a server receives a login request of a later login device and determines the usage state of an earlier login device according to the real-time traffic state of the earlier login device; and the server determines, according to the usage state of the earlier login device, whether to approve the login request of the later login device. In the present invention, the usage state of the earlier login device is determined by means of traffic measurement, so as to use, according to different usage states, different ways of force sign-out when logging in, thereby achieving the invention objective of customer-friendly force sign-out when logging in, and preventing the loss caused by suddenly forcing out the earlier login device by the later login device. On the other hand, in the present invention, a permission verification option is also provided, and the option can ensure the absolute authority of the original owner of an account, such that the owner has the priority to log in to the account first.

Description

一种基于流量识别达到人性化挤兑登录的方法及装置A method and device for humanized run login based on traffic identification 【技术领域】【Technical field】
本发明涉及计算机技术领域,特别是涉及一种基于流量识别达到人性化挤兑登录的方法及装置。The present invention relates to the field of computer technology, in particular to a method and a device for achieving humanized run login based on traffic identification.
【背景技术】【Background technique】
在当今网络环境中,很容易出现一个账号需要在多台设备使用的问题,例如在使用校园网时,经常会有多人使用一个校园网账号的情况发生,通常情况下,这种账号的登录方式是在后登录设备直接踢掉在先登录设备,从而登录成功,但这样的挤兑方式并不合理,若在先登录设备的使用者正在处理重要的事情,这样直接挤兑登录的方式就会造成严重的后果,不利于使用者们的学习或工作。基于此问题,现有的解决方式大都是提供可供多设备同时登录一个账号的方法,但这样的方法其实是加大了网络负担且损害了运营商利益的,而且多设备共用一个校园网账号,容易导致各个设备的网速都不会太好,这样也是不利于使用者们的使用的。In today's network environment, it is easy to have a problem that one account needs to be used on multiple devices. For example, when using the campus network, many people often use one campus network account. Usually, the login of this account The method is to log in to the device later and directly kick off the previous login device, so that the login is successful, but such a run method is unreasonable. If the user who logs in to the device first is dealing with important things, such a direct run and login method will cause Serious consequences are not conducive to users' study or work. Based on this problem, most of the existing solutions are to provide a method for multiple devices to log in to one account at the same time, but this method actually increases the network burden and damages the interests of operators, and multiple devices share a campus network account. , it is easy to cause the network speed of each device to be not very good, which is also not conducive to the use of users.
鉴于此,克服该现有技术所存在的缺陷是本技术领域亟待解决的问题。In view of this, overcoming the defects of the prior art is an urgent problem to be solved in the technical field.
【发明内容】[Content of the invention]
本发明要解决的技术问题是提供一种基于流量识别达到人性化挤兑登录的方法及装置,在多台设备登录一个账号的情况下,使挤兑登录的方式更加人性化,更有利于使用者们对账号的使用。The technical problem to be solved by the present invention is to provide a method and device for humanized run login based on traffic identification. In the case of multiple devices logging into one account, the method of run login is more user-friendly, which is more beneficial to users. use of the account.
第一方面,本发明提供一种基于流量识别达到人性化挤兑登录的方法,包括:In a first aspect, the present invention provides a method for humanized run login based on traffic identification, including:
服务器接收在后登录设备的登录请求,根据在先登录设备的实时流量状态 判断所述在先登录设备的使用状态;The server receives the log-in request of the subsequent log-in device, and judges the use state of the prior log-in device according to the real-time traffic state of the prior log-in device;
所述服务器根据所述在先登录设备的使用状态判定是否同意所述在后登录设备的登录请求。The server determines whether to approve the login request of the later login device according to the use state of the prior login device.
进一步的,所述在先登录设备的使用状态包括空闲状态、操作状态、下载状态。Further, the use state of the previously logged-in device includes an idle state, an operation state, and a download state.
进一步的,当所述在先登录设备的使用状态为空闲状态时,所述服务器同意所述在后登录设备的登录请求,挤兑掉所述在先登录设备,完成所述在后登录设备的登录操作。Further, when the use state of the prior login device is idle, the server agrees to the login request of the later login device, runs off the prior login device, and completes the login of the later login device. operate.
进一步的,当所述在先登录设备的使用状态为操作状态时,所述服务器将所述在后登录设备的登录请求发送给所述在先登录设备进行确认。Further, when the use state of the prior login device is an operating state, the server sends the login request of the later login device to the prior login device for confirmation.
进一步的,当所述在先登录设备的使用状态为下载状态时,所述服务器预估下载所需剩余时间并显示于所述在后登录设备上,所述在后登录设备选择等待下载结束或继续请求登录,若继续请求登录,则所述服务器将所述在后登录设备的登录请求发送给所述在先登录设备进行确认。Further, when the use state of the prior login device is the download state, the server estimates the remaining time required for downloading and displays it on the later login device, and the later login device chooses to wait for the download to end or Continue to request the login, if the login request is continued, the server sends the login request of the later login device to the previous login device for confirmation.
进一步的,若所述在先登录设备同意所述在后登录设备的登录请求,则所述服务器同意所述在后登录设备的登录请求,挤兑掉所述在先登录设备,完成所述在后登录设备的登录操作;若所述在先登录设备不同意或在选择时间内无响应,则所述服务器不同意所述在后登录设备的登录请求并向所述在后登录设备发送所述在先登录设备的基本信息。Further, if the prior login device agrees to the login request of the later login device, the server agrees to the login request of the later login device, runs off the prior login device, and completes the later login request. The login operation of the login device; if the earlier login device does not agree or there is no response within the selected time, the server does not agree to the login request of the later login device and sends the later login device to the later login device. Log in the basic information of the device first.
进一步的,所述选择时间为半分钟或一分钟。Further, the selection time is half a minute or one minute.
进一步的,所述在先登录设备的基本信息包括所述在先登录设备的使用状态、地址、型号和标识名称中的一项或者多项。Further, the basic information of the previously logged-in device includes one or more items of use status, address, model and identification name of the previously logged-in device.
进一步的,所述在后登录设备上设有权限验证选项,若服务器权限验证通过,所述服务器跳过所述在先登录设备的响应,挤兑掉所述在先登录设备,并直接完成所述在后登录设备的登录操作。Further, the later login device is provided with a permission verification option. If the server permission verification is passed, the server skips the response of the prior login device, runs off the prior login device, and directly completes the After logging in the device's login operation.
另一方面,本发明还提供了一种基于流量识别达到人性化挤兑登录的装置,用于实现第一方面所述的基于流量识别达到人性化挤兑登录的方法,所述装置 包括:On the other hand, the present invention also provides a device that achieves humanized run and log in based on flow identification, for realizing the method for achieving humanized run and log in based on flow identification described in the first aspect, the device includes:
至少一个处理器;以及,at least one processor; and,
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行第一方面所述的基于流量识别达到人性化挤兑登录的方法。The memory stores instructions executable by the at least one processor, the instructions are executed by the at least one processor to enable the at least one processor to perform the traffic-based identification of the first aspect to achieve human nature A method to streamline the run registration.
有益效果:Beneficial effects:
本发明可通过流量识别来判断在先登录设备的使用状态,并根据在先登录设备使用状态的不同选择不同的挤兑登录方式;The present invention can judge the use state of the previous log-in equipment through traffic identification, and select different run log-in methods according to the different use states of the previous log-in equipment;
本发明当在先登录设备的使用状态为操作状态时,发送在后登录设备的登录请求给在先登录设备确认,使在先登录设备具有选择权,而不会像现有校园网连接方式一样直接被挤兑掉线,避免了突然掉线而造成的损失;并且若在后登录设备使用者确实有急事而没有登录成功,至少还能得知在先登录设备的基本信息,从而能联系其使用者进行商讨,不至于毫无办法。When the use state of the previous login device is the operating state, the present invention sends the login request of the later login device to the previous login device for confirmation, so that the previous login device has the right to choose, and is not the same as the existing campus network connection mode Directly being run and disconnected, avoiding the loss caused by sudden disconnection; and if the user who logs in to the device later is really in a hurry and fails to log in successfully, at least he can know the basic information of the device that was logged in first, so that he can contact its user. It is not impossible to negotiate with them.
本发明当在先登录设备的使用状态为空闲状态时,直接同意在后登录设备的登录请求,挤兑掉在先登录设备,使需要使用校园网的在后登录设备能直接上网,而被挤兑掉线的在先登录设备因为处于空闲状态也不会出现学习或工作突然中断的损失,达到人性化挤兑的目的。When the use state of the previous login device is idle, the present invention directly agrees to the login request of the later login device, and runs off the previous login device, so that the latter login device that needs to use the campus network can directly access the Internet, and is run off. Because the previous login device of the line is in an idle state, there will be no loss of sudden interruption of study or work, which achieves the purpose of humanized run.
本发明当在先登录设备的使用状态为下载状态时,预估下载所需剩余时间并显示于在后登陆设备上,以供在后登陆设备选择等待下载结束或继续请求登录,这样的方式能使在后登录设备直观面对自身需求以及了解在先登录者所需时间,方便其做出选择,达到更加人性化的效果。In the present invention, when the use state of the previous login device is the download state, the remaining time required for downloading is estimated and displayed on the latter login device, so that the latter login device can choose to wait for the end of the download or continue to request login. It enables the later login device to directly face its own needs and understand the time required for the earlier login, so as to facilitate their choice and achieve a more humanized effect.
本发明还设置有权限验证选项,该选项能保证账号原本拥有者的绝对权力,让其能优先登录账号。The present invention is also provided with a permission verification option, which can ensure the absolute authority of the original owner of the account and allow him to log in to the account first.
【附图说明】【Description of drawings】
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例中所 需要使用的附图作简单地介绍。显而易见地,下面所描述的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings that need to be used in the embodiments of the present invention. Obviously, the drawings described below are only some embodiments of the present invention, and for those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative efforts.
图1是本发明实施例1提供的一种基于流量识别达到人性化挤兑登录的方法的流程图;Fig. 1 is a flow chart of a method for achieving user-friendly run login based on traffic identification provided in Embodiment 1 of the present invention;
图2是本发明实施例2中在先登录设备的使用状态为空闲状态时的服务器处理流程图;Fig. 2 is the server processing flow chart when the use state of the previously logged-in device is the idle state in Embodiment 2 of the present invention;
图3是本发明实施例3中在先登录设备的使用状态为下载状态时的服务器处理流程图;Fig. 3 is the server processing flow chart when the use state of the previous login device is the download state in Embodiment 3 of the present invention;
图4是本发明实施例4中在后登录设备进行权限验证时的服务器处理流程图;Fig. 4 is the server processing flow chart when logging in to the device later to perform authority verification in Embodiment 4 of the present invention;
图5是本发明实施例6提供的一种基于流量识别达到人性化挤兑登录的装置的架构示意图。FIG. 5 is a schematic structural diagram of an apparatus for achieving humanized run login based on traffic identification provided in Embodiment 6 of the present invention.
【具体实施方式】【Detailed ways】
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
在本发明的描述中,术语“内”、“外”、“纵向”、“横向”、“上”、“下”、“顶”、“底”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明而不是要求本发明必须以特定的方位构造和操作,因此不应当理解为对本发明的限制。在本公开实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚的表示其他含义。In the description of the present invention, the orientation or positional relationship indicated by the terms "inner", "outer", "longitudinal", "lateral", "upper", "lower", "top", "bottom", etc. are based on the drawings The orientation or positional relationship shown is only for the convenience of describing the present invention rather than requiring the present invention to be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the present invention. As used in the embodiments of the present disclosure and the appended claims, the singular forms "a," "the," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise.
此外,下面所描述的本发明各个实施方式中所涉及到的技术特征只要彼此之间未构成冲突就可以相互组合。In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
实施例1:Embodiment 1:
如图1所示,本发明实施例1提供了一种基于流量识别达到人性化挤兑登录的方法,该方法包括以下步骤:As shown in FIG. 1 , Embodiment 1 of the present invention provides a method for achieving user-friendly run login based on traffic identification, and the method includes the following steps:
在步骤101中,服务器接收在后登录设备的登录请求,根据在先登录设备的实时流量状态判断在先登录设备的使用状态。In step 101, the server receives the login request of the later login device, and judges the use state of the earlier login device according to the real-time traffic state of the earlier login device.
其中,在先登录设备的使用状态包括空闲状态、操作状态、下载状态。具体的,服务器根据抓取的流量数据包进行解析,分析其流量变化,以判断在先登录设备的使用状态。The use state of the previously logged-in device includes an idle state, an operation state, and a download state. Specifically, the server analyzes the captured traffic data packets and analyzes the traffic changes to determine the usage status of the previously logged-in device.
在步骤102中,服务器根据在先登录设备的使用状态判定是否同意在后登录设备的登录请求。In step 102, the server determines whether to approve the log-in request of the later log-in device according to the use state of the prior log-in device.
具体的,在先登录设备的使用状态为空闲状态时,服务器同意在后登录设备的登录请求;在先登录设备的使用状态为操作状态或下载状态时,服务器根据在先登录设备的选择来决定是否同意在后登录设备的登录请求。Specifically, when the use state of the first-login device is idle, the server agrees to the login request of the later-login device; when the use state of the first-login device is the operating state or the download state, the server decides according to the selection of the first-login device Whether to agree to the login request to log in to the device later.
本发明实施例可通过流量识别来判断在先登录设备的使用状态,并根据在先登录设备使用状态的不同选择不同的挤兑登录方式。In the embodiment of the present invention, the use state of the previously logged-in device can be judged through traffic identification, and different run log-in methods can be selected according to the difference of the use state of the previously logged-in device.
继续如图1所示,本优选实施例还包括以下步骤:Continuing as shown in Figure 1, the preferred embodiment further includes the following steps:
在步骤103中,在先登录设备的使用状态为操作状态。In step 103, the use state of the previously logged-in device is the operating state.
在步骤104中,服务器将在后登陆设备的登录请求发送给在先登录设备进行确认。In step 104, the server sends the login request of the later login device to the earlier login device for confirmation.
接下来,根据在先登录设备选择的不同分为步骤105a:在先登录设备同意在后登陆设备的登录请求;105b:在先登录设备不同意在后登录设备的登录请求或在选择时间内无响应。Next, it is divided into steps 105a according to the selection of the prior login device: the prior login device agrees with the login request of the later login device; 105b: the prior login device does not agree with the login request of the later login device or there is no login request within the selected time. response.
根据步骤105a会产生步骤106a:服务器同意在后登录设备的登录请求,挤兑掉在先登录设备,完成在后登录设备的登录操作。According to step 105a, step 106a is generated: the server agrees to the login request of the later login device, runs on the earlier login device, and completes the login operation of the later login device.
根据步骤105b会产生步骤106b:服务器不同意在后登录设备的登录请求并向在后登录设备发送在先登录设备的基本信息。According to step 105b, step 106b is generated: the server does not agree with the login request of the later login device and sends the basic information of the earlier login device to the later login device.
在本优选实施例中,上述选择时间可以为半分钟或一分钟,在先登录设备的基本信息包括在先登录设备的使用状态、地址、设备型号、设备名称和手机号 中的一项或者多项。In this preferred embodiment, the above-mentioned selection time can be half a minute or one minute, and the basic information of the previously logged-in device includes one or more of the usage status, address, device model, device name and mobile phone number of the previously logged-in device item.
具体的,以校园网的登录为例,在本实施例中,有A、B两个同学(也可以是三个、四个或n个)共用一个校园网账号,在A同学率先登入账号后,B同学也尝试登入账号,此时,A同学的登入设备便是在先登录设备,B同学的登入设备便是在后登录设备,上述步骤中的“服务器接收在后登录设备的登录请求,根据在先登录设备的实时流量状态判断所述在先登录设备的使用状态”具体表现为:B同学在自己的登录设备(登录设备可以是手机、平板、电脑等联网设备中的任何一种,本实施例中为手机)上尝试连入校园网,在输入账号密码后点击登录选项,从而使服务器接收到其登录请求,此时的服务器接收到B同学的登录请求后,调取已经连入校园网的A同学登录设备的实时流量状况,根据其实时流量状况判断A同学登录设备的具体使用状态。Specifically, taking the login of the campus network as an example, in this embodiment, two classmates A and B (or three, four or n) share a campus network account. After classmate A first logs in to the account , Student B also tries to log in to the account. At this time, Student A's login device is the first login device, and B's login device is the latter login device. In the above steps, "The server receives the login request for the later login device. Judging the usage status of the previously logged-in device according to the real-time traffic status of the previously logged-in device” is specifically expressed as: Student B is on his own log-in device (the log-in device can be any of the Internet-connected devices such as mobile phones, tablets, and computers, etc.) In this embodiment, try to connect to the campus network on the mobile phone), click the login option after entering the account password, so that the server receives its login request. After receiving the login request from classmate B, the server calls the already connected The real-time traffic status of student A's login device on the campus network, and the specific usage status of student A's login device is judged according to the real-time traffic status.
进一步的,根据A同学登录设备(即在先登录设备,本实施例中为手机)的实时流量状况,服务器可判定A同学登录设备的使用状态为空闲状态、操作状态、下载状态;其中,空闲状态表明A同学虽然登入了校园网,但并没有在设备上进行任何上网操作;操作状态表明A同学正在设备上使用上网功能(包括浏览网页、观看视频、网络聊天等产生流量的功能);下载状态表明A同学在设备上进行下载操作(如下载资料、视频等操作)。Further, according to the real-time traffic status of the login device of classmate A (that is, the previous login device, which is a mobile phone in this embodiment), the server can determine that the use state of classmate A's login device is an idle state, an operation state, and a download state; The status indicates that although student A has logged in to the campus network, he has not performed any online operations on the device; the operation status indicates that student A is using the Internet access function on the device (including functions that generate traffic such as browsing web pages, watching videos, and chatting online); download The status indicates that classmate A is performing download operations (such as downloading data, videos, etc.) on the device.
在本优选实施例中,在先登录设备(即A同学登录设备)的使用状态为操作状态,这说明A同学正在使用该在先登录设备进行上网功能,此时,服务器将在后登录设备(即B同学登录设备)的登录请求发送给在先登录设备进行确认,此时的A同学正在使用该在先登录设备进行上网功能,所以大概率能直接看到B同学登录设备的登录请求,如果A同学没有需要用校园网紧急处理的事务,便能直接同意B同学登录设备的登录请求,而当A同学同意B同学登录设备的登录请求后,服务器也会同意B同学登录设备的登录请求,并挤兑掉A同学登录设备与校园网的连接,完成B同学登录设备的登录操作;而如果A同学有急需处理的事情,便能选择不同意B同学登录设备的登录请求,此时,服务器不同意B同学登录设备的登录请求,并且会向B同学登录设备发送A同学登 录设备的基本信息;在另一种情况下,A同学可能因为某种原因没有做出选择,导致其登录设备在一定选择时间内无响应,服务器也会默认A同学不同意B同学登录设备的登录请求,此时,服务器依旧不同意B同学登录设备的登录请求,并且会向B同学登录设备发送A同学登录设备的基本信息。In this preferred embodiment, the use state of the previous log-in device (ie, student A's log-in device) is the operating state, which means that classmate A is using the previous log-in device to access the Internet. At this time, the server will log in to the device later ( That is, the login request of classmate B's login device) is sent to the previous login device for confirmation. At this time, classmate A is using the previous login device to access the Internet, so it is possible to directly see the login request of classmate B to log in to the device. If Student A does not need to use the campus network to handle urgent matters, so he can directly agree to the login request of student B to log in to the device, and when classmate A agrees to the login request of classmate B to log in to the device, the server will also agree to the login request of classmate B to log in to the device. And run off the connection between student A's login device and the campus network, and complete the login operation of student B's login device; and if student A has something to deal with urgently, he can choose not to agree to the login request of student B to log in to the device. At this time, the server does not Agree to the login request of classmate B to log in to the device, and will send the basic information of classmate A to log in to the device. If there is no response within the selected time, the server will also default that classmate A does not agree with the login request of classmate B to log in to the device. At this time, the server still does not agree with the login request of classmate B to log in to the device, and will send the login request of classmate A to the device. Basic Information.
在本优选实施例中,上述选择时间以半分钟为例,也即是说,A同学需在半分钟内进行选择是否同意B同学登录设备的登录,不同意或超出半分钟无选择,服务器均会拒绝B同学登录设备的登录。需要说明的是,该选择时间规定为半分钟只是本实施例的一个选项,而不是对该选择时间的限定,实际上,该选择时间还可以是一分钟或任意合适的时间长度。In this preferred embodiment, the above selection time is taken as an example of half a minute, that is to say, student A needs to choose within half a minute whether to agree to student B's login to the device. Student B's login to the device will be rejected. It should be noted that the setting of the selection time as half a minute is only an option in this embodiment, rather than a limitation of the selection time. In fact, the selection time may also be one minute or any suitable length of time.
在本优选实施例中,A同学登录设备(即在先登录设备)的基本信息包括A同学登录设备的使用状态、地址、手机号(还可以包括其型号和标识名称等各项基本信息)。需要说明的是,向B同学登录设备(即在后登录设备)发送这些基本信息是为了让B同学能得知A同学登录设备的基本信息,从而知道A同学的身份,这样一来,如果B同学有紧急事务需要登录校园网进行处理,便能直接联系A同学进行商量,以决定由谁登入校园网。In this preferred embodiment, the basic information of student A's login device (that is, the previous login device) includes the use status, address, and mobile phone number of student A's login device (and may also include various basic information such as its model and identification name). It should be noted that the purpose of sending these basic information to classmate B's login device (that is, to log in to the device later) is to let classmate B know the basic information of classmate A's login device, so as to know the identity of classmate A. In this way, if classmate B Students who have urgent matters that need to log in to the campus network for processing can directly contact classmate A for consultation to decide who should log in to the campus network.
在本实施例中,还存在一种情况:先登录设备A同学状态为操作状态时,存在一种场景多个用户同时登入一个账号的情况,例如B同学C同学同时登陆校园账号,服务器在接收到这两个用户的登录请求后,把B同学和C同学的设备型号,设备名称,手机号等基本信息(若B,C同学非第一次登录,那么B,C同学的设备信息及手机号在数据库有留存,则直接通过已存在的映射关系查,若是第一次登录,则在登入请求数据报文中获取其设备信息)上报给先登录设备A同学,此时A同学知道B同学和C同学的身份信息,若A同学同意后登入者上网,则根据其身份信息选择由谁登入账号。比如同意C同学而拒绝了B同学,此时服务器也同意了C同学登入上网,A同学设备与校园网断开,C同学成功登入校园网,此时服务器将C同学设备的基本信息发送给被拒绝的B同学,B同学如果有紧急事情处理,可直接联系C同学进行商量,由谁登入校园网。若先登录设备A同学由于某种原因在预设时间没有做出选择,则默认为不同意。 服务器拒绝B,C同学的登入请求,并将A同学的基本信息返回给B,C同学,由B,C同学自行联系A同学商量有谁登入校园网。In this embodiment, there is also a situation: when the state of the first login device A is the operating state, there is a scenario where multiple users log in to an account at the same time, for example, class B and class C log in to the campus account at the same time, and the server is receiving After receiving the login requests of these two users, put the device model, device name, mobile phone number and other basic information of students B and C (if students B and C are not logging in for the first time, then the device information and mobile phones of students B and C will be If the number is retained in the database, it can be directly checked through the existing mapping relationship. If it is the first time to log in, the device information will be obtained in the log-in request data message) and reported to the student who first logged in to device A. At this time, classmate A knows classmate B. and the identity information of classmate C, if classmate A agrees to log in to the Internet, then choose who will log in to the account according to their identity information. For example, if you agree to classmate C but reject classmate B, the server also allows classmate C to log in to the Internet, classmate A's device is disconnected from the campus network, and classmate C successfully logs in to the campus network. At this time, the server sends the basic information of classmate C's device to the recipient. For students B who are rejected, if students B have urgent matters to deal with, they can directly contact classmate C to discuss who can log in to the campus network. If the students who log in to Device A first do not make a choice at the preset time for some reason, the default is to disagree. The server rejects the login requests of students B and C, and returns the basic information of class A to students B and C. Students B and C will contact class A to discuss who can log in to the campus network.
通过本实施例,本发明可通过流量识别来判断在先登录设备的使用状态,并在在先登录设备的使用状态为操作状态时,发送在后登录设备的登录请求给在先登录设备确认,使在先登录设备具有选择权,而并不会像现有校园网连接方式一样直接被挤兑掉线,避免了突然掉线而造成的损失;并且若在后登录设备使用者确实有急事而没有登录成功,至少还能得知在先登录设备的基本信息,从而能联系其使用者进行商讨,不至于毫无办法。Through this embodiment, the present invention can judge the use state of the previous login device through traffic identification, and when the use state of the previous login device is the operating state, send the login request of the subsequent login device to the previous login device for confirmation, Make the first login device have the right to choose, and it will not be directly run off the line like the existing campus network connection method, avoiding the loss caused by sudden disconnection; and if the user who logs in later is really urgent If the login is successful, at least the basic information of the previously logged-in device can be obtained, so that the user can be contacted for discussion, so that there is no way out.
实施例2:Embodiment 2:
与实施例1相比,本发明实施例2将在先登录设备的使用状态设定为空闲状态,并详细描述在先登录设备的使用状态为空闲状态时的服务器处理流程。Compared with Embodiment 1, Embodiment 2 of the present invention sets the use state of the previously logged-in device to the idle state, and describes in detail the server processing flow when the use state of the previously logged-in device is the idle state.
如图2所示,本发明实施例2的步骤201-202与实施例1的步骤101-102相同,而除此之外,本实施例2还包括以下步骤:As shown in FIG. 2 , steps 201-202 of Embodiment 2 of the present invention are the same as steps 101-102 of Embodiment 1, and in addition, this Embodiment 2 further includes the following steps:
在步骤203中,在先登录设备的使用状态设定为空闲状态。In step 203, the use state of the previously logged-in device is set to the idle state.
在步骤204中,服务器直接同意在后登录设备的登录请求,挤兑掉在先登录设备,完成在后登录设备的登录操作。In step 204, the server directly agrees to the log-in request of the later log-in device, runs off the earlier log-in device, and completes the log-in operation of the later log-in device.
具体的,还是以A同学(在先登录设备)、B同学(在后登录设备)登录校园网为例,本实施例中的A同学在登录设备上并未进行任何上网操作,从而服务器通过流量识别将A同学登录设备认定为空闲状态,在这种情况下,服务器可以认定A同学很可能并不在其登录设备旁边或者A同学并没有急需使用校园网进行解决的事务,如果A同学并没有急需使用校园网进行解决的事务,那么其也没有必要一直占着校园网,甚至如果A同学还不在其登录设备旁边,那即使服务器将B同学的登录请求发送给A同学登录设备,A同学也看不到,所以,在本实施例这种情况下,服务器直接同意在后登录设备(即B同学登录设备)的登录请求,挤兑掉A同学登录设备,完成B同学登录设备的登录操作。Specifically, let’s take student A (login to the device first) and classmate B (login to the device later) log in to the campus network as an example. In this embodiment, classmate A does not perform any online operation on the login device, so the server passes the traffic Recognize that classmate A's login device is in an idle state. In this case, the server can determine that classmate A is probably not next to his login device or that classmate A has no urgent need to use the campus network to solve the problem. If classmate A does not need it urgently It is not necessary to occupy the campus network all the time to solve the business using the campus network. Even if classmate A is not next to his login device, even if the server sends classmate B's login request to classmate A to log in to the device, classmate A will also see it. No, therefore, in the case of this embodiment, the server directly agrees to the login request of the later login device (ie, classmate B's login device), runs out of classmate A's login device, and completes the login operation of classmate B's login device.
在本实施例中,还存在一种情况:先登录设备A同学为空闲状态时,存在一种场景多个用户B、C等同时请求登入校园网的情况,此时服务器根据解析数 据包选择最先发送请求的后登录设备,并挤兑掉A同学登录设备。如果是C同学最先发送的登入请求,此时C同学成功登入校园网,而B同学还在继续请求登入校园网,则服务器将B的登入请求发送给C同学,此时的情况与实施例1相同。让C同学根据自身情况进行选择。In this embodiment, there is also a situation: when the first login device A is in an idle state, there is a scenario in which multiple users B, C, etc. request to log in to the campus network at the same time. At this time, the server selects the most Send the request first, then log in to the device, and run off classmate A to log in to the device. If it is the first login request sent by classmate C, then classmate C successfully logs in to the campus network, and classmate B continues to request to log in to the campus network, then the server sends B's login request to classmate C. The situation and example at this time 1 is the same. Let C students choose according to their own circumstances.
通过本实施例,本发明可通过流量识别来判断在先登录设备的使用状态,并在在先登录设备的使用状态为空闲状态(监测到该设备流量很小,预设时间内无明显的浏览,看视频,玩游戏,下载等上网操作)时,直接同意在后登录设备的登录请求,挤兑掉在先登录设备,使需要使用校园网的在后登录设备能直接上网,而被挤兑掉线的在先登录设备因为处于空闲状态也不会出现学习或工作突然中断的损失,达到人性化挤兑的目的。Through this embodiment, the present invention can judge the use state of the previously logged-in device through traffic identification, and the use state of the previously logged-in device is in the idle state (very little traffic of the device is monitored, and there is no obvious browsing within the preset time). , watching videos, playing games, downloading and other Internet operations), directly agree to the login request of the later login device, run the previous login device, so that the later login device that needs to use the campus network can directly access the Internet, but is run off the line Because the previously logged-in device is in an idle state, there will be no loss of sudden interruption of learning or work, so as to achieve the purpose of humanized run.
实施例3:Embodiment 3:
与实施例1相比,本发明实施例3将在先登录设备的使用状态设定为下载状态,并详细描述在先登录设备的使用状态为下载状态时的服务器处理流程。Compared with Embodiment 1, Embodiment 3 of the present invention sets the use state of the previously logged-in device to the download state, and describes in detail the server processing flow when the use state of the previously logged-in device is the download state.
如图3所示,本发明实施例3的步骤301-302与实施例1的步骤101-102相同,而除此之外,本实施例3还包括以下步骤:As shown in FIG. 3 , steps 301-302 of Embodiment 3 of the present invention are the same as steps 101-102 of Embodiment 1, and in addition, this Embodiment 3 also includes the following steps:
在步骤303中,在先登录设备的使用状态设定为下载状态。In step 303, the use state of the previously logged-in device is set as the download state.
在步骤304中,服务器预估下载所需剩余时间并显示于在后登陆设备上。In step 304, the server estimates the remaining time required for downloading and displays it on the device after logging in.
相应的预估方式可以是通过解析下载数据包中携带的总文件大小,以及当前已经下载了的数据内容大小,还有当前的数据下载速度进行推算。The corresponding estimation method can be estimated by analyzing the total file size carried in the download data package, the size of the data content that has been downloaded currently, and the current data download speed.
其中,所述显示于在后登陆设备上,可以是在后登录设备发起在后登录请求时,有服务器发送计算出的剩余时间给所述在后登录设备,并由在后登录设备中相应登入软件界面呈现。Wherein, the display on the later login device may be that when the later login device initiates a later login request, a server sends the calculated remaining time to the later login device, and the later login device logs in accordingly. The software interface is presented.
在步骤305中,在后登陆设备选择等待下载结束或继续请求登录。In step 305, after logging in the device selects to wait for the download to end or to continue to request login.
接下来,根据在后登陆设备选择的不同分为步骤306a:在后登陆设备选择等待下载结束;306b:在后登陆设备选择继续请求登录。Next, it is divided into steps 306a according to the difference of the later-login device selection; 306b: the latter-login device is selected to continue to request the login.
根据步骤306a会产生步骤307a:服务器在等待下载结束后重新判断在先登录设备的使用状态。 Step 307a will be generated according to step 306a: the server re-determines the usage status of the previously logged-in device after waiting for the download to end.
根据步骤306b会产生步骤307b:服务器将在后登陆设备的登录请求发送给在先登录设备进行确认。 Step 307b will be generated according to step 306b: the server sends the login request of the later login device to the earlier login device for confirmation.
接下来,根据步骤307b中在先登录设备选择的不同分为步骤308ba:在先登录设备同意在后登陆设备的登录请求;步骤308bb:在先登录设备不同意在后登录设备的登录请求或在选择时间内无响应。Next, it is divided into step 308ba according to the difference in the selection of the prior login device in step 307b: the prior login device agrees with the login request of the later login device; step 308bb: the prior login device does not agree with the login request of the later login device or No response within the selected time.
根据步骤308ba会产生步骤309ba:服务器同意在后登录设备的登录请求,挤兑掉在先登录设备,完成在后登录设备的登录操作。Step 309ba will be generated according to step 308ba: the server agrees to the login request of the later login device, runs on the earlier login device, and completes the login operation of the later login device.
根据步骤308bb会产生步骤309bb:服务器不同意在后登录设备的登录请求并向在后登录设备发送在先登录设备的基本信息。Step 309bb will be generated according to step 308bb: the server does not agree with the login request of the later login device and sends the basic information of the earlier login device to the later login device.
具体的,还是以A同学(在先登录设备)、B同学(在后登录设备)登录校园网为例,本实施例中的A同学在登录设备上进行下载操作(如下载视频、资料等),在本实施例中,因为下载操作大概率是有比较重要的事情,所以服务器会先预估下载所需剩余时间并显示于B同学登录设备(即在后登陆设备)上,让B同学选择等待下载结束或继续请求登录。此时的B同学可根据自己急需使用校园网的程度以及预估下载所需剩余时间的长度来决定是等待下载结束或继续请求登录,如果B同学选择继续请求登录,那说明B同学也急需使用校园网,那么服务器就会将其登录请求发送给A同学登录设备以让A同学进行确认;如果B同学选择等待下载结束,那说明B同学并不急需使用校园网,那么服务器便不会提示A同学登录设备,而是会在A同学登录设备上的下载项目下载完成后重新判断A同学登录设备的使用状态。Specifically, take student A (login device first) and classmate B (login device later) log in to the campus network as an example. In this embodiment, classmate A performs download operations (such as downloading videos, materials, etc.) on the login device. , in this embodiment, because the download operation is likely to be an important matter, the server will first estimate the remaining time required for the download and display it on the login device of student B (ie, log in to the device later), and let student B choose Wait for the download to end or continue to request a login. At this time, classmate B can decide whether to wait for the download to end or continue to request login according to the extent to which he urgently needs to use the campus network and the estimated remaining time for the download. If classmate B chooses to continue to request login, it means that classmate B also urgently needs to use the campus network, then the server will send its login request to student A to log in to the device for confirmation by student A; if student B chooses to wait for the download to end, it means that student B does not need to use the campus network urgently, then the server will not prompt A. When students log in to the device, they will re-judge the usage status of the device A's login after the download items on the A's login device are downloaded.
在上述B同学选择继续请求登录的情况下,A同学在看到B同学请求登录的信息后也能根据自身事件的紧急程度来决定是否同意B同学的登录请求,如果事务紧急,便可以拒绝,如果事务不急,那就可以同意,让B同学先登录校园网处理紧急事务。In the above case where student B chooses to continue to request the login, after seeing the information requested by classmate B to log in, classmate A can also decide whether to agree to classmate B's login request according to the urgency of his own event. If the matter is urgent, he can refuse it. If the matter is not urgent, then you can agree to let student B log in to the campus network to handle urgent matters.
在上述B同学选择等待下载结束的情况下,服务器在A同学登录设备上的下载项目完成后重新判断A同学登录设备的使用状态,此时有三种可能状态出现,第一种是空闲状态,说明A同学在下载结束后并没有继续使用校园网,此 时的情况与实施例2相同,这样的话,服务器便会直接同意B同学的登录请求,挤兑掉A同学登录设备,完成B同学登录设备的登录;第二种是操作状态,说明A同学在下载结束后在继续使用校园网,此时的情况与实施例1相同,服务器会将B同学的登录请求发送到A同学登录设备,让A同学根据自身情况进行选择;第三种是下载状态,说明A同学又开始下载其他项目,此时服务器会再次预估下载所需剩余时间并将该时间显示于B同学登录设备上,让B同学选择等待下载结束或继续请求登录。与实施例1相同的是,当A同学不同意B同学的登录请求或在选择时间内无响应时,服务器便会拒绝B同学的登录请求并将A同学登录设备的基本信息发送给B同学登录设备,以方便B同学知道是谁正在使用校园网账号,从而能联系协商。In the case that the above-mentioned student B chooses to wait for the download to end, the server re-judges the use status of the student A's login device after the download project of the student A's login device is completed. At this time, there are three possible states. The first is the idle state. Student A did not continue to use the campus network after downloading. The situation at this time is the same as in Example 2. In this case, the server will directly agree to the login request of classmate B, run off the login device of classmate A, and complete the login request of classmate B. Login; the second is the operation state, which means that classmate A continues to use the campus network after downloading. The situation at this time is the same as in Example 1. The server will send the login request of classmate B to classmate A to log in to the device, so that classmate A can log in to the device. Choose according to your own situation; the third is the download status, which means that classmate A starts to download other items again. At this time, the server will re-estimate the remaining time required for the download and display the time on the login device of classmate B, so that classmate B can choose Wait for the download to end or continue to request a login. Same as Embodiment 1, when classmate A does not agree with classmate B's login request or there is no response within the selected time, the server will reject classmate B's login request and send the basic information of classmate A's login device to classmate B to log in. equipment, so that students B can know who is using the campus network account, so that they can contact and negotiate.
在本实施例中,上述选择时间为一分钟,也即是说,A同学需在一分钟内进行选择是否同意B同学登录设备的登录,不同意或超出一分钟无选择,服务器均会拒绝B同学登录设备的登录。需要说明的是,该选择时间规定为一分钟只是本实施例的一个选项,而不是对该选择时间的限定,实际上,该选择时间还可以是半分钟或任意合适的时间长度。In this embodiment, the above selection time is one minute, that is to say, student A needs to choose within one minute whether to agree to student B's login to the device. If he disagrees or has no choice beyond one minute, the server will reject B. The login of the student's login device. It should be noted that setting the selection time as one minute is only an option in this embodiment, rather than a limitation of the selection time. In fact, the selection time may also be half a minute or any suitable length of time.
在本实施例中,A同学登录设备(即在先登录设备)的基本信息包括A同学登录设备的使用状态、地址、型号(还可以包括其标识名称等各项基本信息)。需要说明的是,向B同学登录设备(即在后登录设备)发送这些基本信息是为了让B同学能得知A同学登录设备的基本信息,从而知道A同学的身份,这样一来,如果B同学有紧急事务需要登录校园网进行处理,便能直接联系A同学进行商量,以决定由谁登入校园网。In this embodiment, the basic information of student A's login device (ie, the previous login device) includes the use status, address, and model of student A's login device (may also include various basic information such as its identification name). It should be noted that the purpose of sending these basic information to classmate B's login device (that is, to log in to the device later) is to let classmate B know the basic information of classmate A's login device, so as to know the identity of classmate A. In this way, if classmate B Students who have urgent matters that need to log in to the campus network for processing can directly contact classmate A for consultation to decide who should log in to the campus network.
通过本实施例,本发明可通过流量识别来判断在先登录设备的使用状态,并在在先登录设备的使用状态为下载状态时,预估下载所需剩余时间并显示于在后登陆设备上,以供在后登陆设备选择等待下载结束或继续请求登录,这样的方式能使在后登录设备直观面对自身需求以及了解在先登录者所需时间,方便其做出选择,达到更加人性化的效果。Through this embodiment, the present invention can judge the use state of the previously logged-in device through traffic identification, and when the use state of the earlier logged-in device is the download state, estimate the remaining time required for downloading and display it on the later-login device , so that the later login device can choose to wait for the download to end or continue to request login. This method enables the later login device to directly face its own needs and understand the time required by the previous login, so that it can make a choice and achieve a more user-friendly Effect.
实施例4:Embodiment 4:
与实施例1-3相比,本发明实施例4额外在在后登陆设备上设有权限验证选项。如图4所示,本实施例4的步骤401-402与实施例1的步骤101-102相同,而除此之外,本实施例4还包括以下步骤:Compared with Embodiments 1-3, Embodiment 4 of the present invention is additionally provided with a permission verification option on the post-login device. As shown in FIG. 4 , steps 401-402 of this embodiment 4 are the same as steps 101-102 of embodiment 1, and in addition, this embodiment 4 also includes the following steps:
在步骤403中,在后登陆设备进行权限验证。In step 403, log in to the device to perform authorization verification.
接下来,根据验证结果不同分别步骤404a:服务器权限验证通过;404b:服务器权限验证不通过。Next, according to the different verification results, step 404a: the server authority verification is passed; 404b: the server authority verification is not passed.
根据步骤404a会产生步骤405a:服务器跳过在先登录设备的响应,挤兑掉在先登录设备,并直接完成在后登录设备的登录操作。According to step 404a, step 405a is generated: the server skips the response of the previous login device, runs off the previous login device, and directly completes the login operation of the later login device.
根据步骤404b会产生步骤405b:服务器进入判定在先登录设备使用状态的步骤。 Step 405b will be generated according to step 404b: the server enters the step of determining the use state of the previously logged-in device.
具体的,还是以A同学(在先登录设备)、B同学(在后登录设备)登录校园网为例,在A同学在先登录校园网后,B同学在后申请登录,如实施例1-3所描述,此时服务器会根据A同学登录设备(在先登录设备)的使用状态来判定是否让B同学登录设备(在后登录设备)登录成功。在A同学登录设备是空闲状态时,B同学登录设备可直接登录成功,但在A同学登录设备不是空闲状态时,B同学登录设备必须在A同学登录设备同意登录的情况下才能登录,这样的设置虽然能按各人事件的紧急程度来选择登录者,但若两者皆有紧急事件时,明显对在后登录者不利,若在后登录者仅仅只是借用校园网的一方还好,但若是该校园网账号的原本拥有者想要登录却一直被拒绝,明显是不合适的。Specifically, take student A (login to the device first) and classmate B (login to the device later) log in to the campus network as an example. After classmate A logs in to the campus network first, classmate B applies for login later, as in Example 1- As described in 3, at this time, the server will determine whether to allow student B to log in to the device (login later) according to the usage status of student A's login device (login device first). When classmate A's login device is in an idle state, classmate B's login device can be directly logged in successfully, but when classmate A's login device is not in idle state, classmate B's login device can only log in after classmate A's login device agrees to login. Although the setting can select the registrant according to the urgency of each event, if both have emergency events, it is obviously disadvantageous to the later registrant. The original owner of the campus network account wanted to log in but was always refused, which is obviously inappropriate.
所以在本实施例中,设定了权限验证选项,当在后登录者B同学是该校园网账号的原本拥有者时,只需其完成服务器的权限验证,便能直接跳过A同学登录设备的响应,挤兑掉A同学登录设备,完成自身设备的登录操作。需要说明的是,本实施例的权限验证选项是进行密码权限验证,而在其他实施例中,权限验证选项还可以是指纹、面容等任意具有唯一性的验证方式。Therefore, in this embodiment, the permission verification option is set. When the subsequent login, classmate B, is the original owner of the campus network account, he can directly skip classmate A to log in to the device as long as he completes the server's permission verification. In response, he ran off the login device of classmate A and completed the login operation of his own device. It should be noted that the authority verification option in this embodiment is to perform password authority verification, while in other embodiments, the authority verification option may also be any unique verification method such as fingerprint and face.
通过本实施例,本发明设置的权限验证选项,能保证账号原本拥有者的绝对权力,让其能优先登录账号。Through this embodiment, the authority verification option set by the present invention can ensure the absolute authority of the original owner of the account, so that he can log in to the account first.
实施例5:Embodiment 5:
与实施例1-4不同,实施例1-4均考虑的是在先登录设备的拥有者与在后登录设备的拥有者不同的情况,而本实施例5考虑到当同一使用者在两台不同登录设备登录时的情形。如同学A在自己手机上已登录的情况下,想要在电脑上进行登录,以方便下载手机无法下载的资料。在类似这种情况下,本发明还包括一款能登录校园网账号的APP,该APP能获取使用者的实时位置信息,这样一来,当服务器检测到在先登录设备与在后登录设备处于同一位置时,直接同意在后登录设备的登录请求,挤兑掉在先登录设备,完成在后登录设备的登录。Different from Embodiment 1-4, Embodiment 1-4 considers the situation that the owner of the device that logs in first is different from the owner of the device that logs in later, while Embodiment 5 considers that when the same user logs in on two Situation when logging in with different login devices. For example, if classmate A is logged in on his mobile phone, he wants to log in on the computer to facilitate downloading the data that cannot be downloaded by the mobile phone. In a similar situation, the present invention also includes an APP that can log in to the campus network account, and the APP can obtain the real-time location information of the user. In this way, when the server detects that the previous login device is in the same position as the later login device At the same location, directly agree to the login request of the later login device, run off the earlier login device, and complete the login of the later login device.
本实施例另一种情况是,当账号使用者携带具有上述APP的手机在一处电脑登录账号时,服务器会根据相应登录账号的电脑位置确定与其相对应位置的手机,然后当该手机携带者来到另一处位置登录另一台电脑时,服务器会认定这是同一使用者在进行账号登录,从而直接同意在后登录设备的登录请求,挤兑掉在先登录设备,完成在后登录设备的登录。例如,当同学B在宿舍电脑登录账号时,因为同学B手机上下载过上述APP,服务器便会通过APP获取同学B的手机位置信息,当服务器验证到同学B手机与登录账号的电脑位置一致时,服务器判定是携带了该手机的同学B在登录账号,此时,如果同学B再携带手机去了实验室,想要用实验室的电脑再登录账号,服务器便会根据该手机位置信息与实验室电脑位置信息一致而直接确认是同学B换了个地方想登录账号,从而直接完成登录,不需要进行验证。具体实现时,还会遇到类似同寝室同学A、同学C和同学D,在上述宿舍电脑登录账号(即用户B的账号)时,服务器会相应的建立同学A与电脑登录账号、同学C与电脑登录账号,以及同学D与电脑登录账号的映射关系,而当同学B在类似实验室登录账号时,服务器只需要验证存储的多组映射关系中,只要存在同学B与登录账号之间映射关系时,并且,相应的位置信息切换符合大数据分析出来的用户行为指纹时,则直接完成登录,不需要进行验证。在优选的方案中,相应的APP还会上报用户的手机号,而相应的手机号与登录账号的个人信息之间具有唯一匹配关系,此时,上述建立的与登录账号的映射关系就是唯一的同学B了,其他同学会因为手机号与登录账号中的个人信息不匹配而跳过映射关系建立。其中,用户行为指纹是指大数据 分析出的,用户从上述类似寝室位置移动到实验室位置的大体时间区间。Another situation of this embodiment is that when the account user carries the mobile phone with the above-mentioned APP to log in the account at a computer, the server will determine the mobile phone corresponding to the computer according to the computer position of the corresponding login account, and then when the mobile phone carrier When you come to another location to log in to another computer, the server will determine that it is the same user who is logging in to the account, and thus directly agree to the login request to log in to the device later. Log in. For example, when classmate B logs in to the account on the computer in the dormitory, because classmate B has downloaded the above APP on his mobile phone, the server will obtain the location information of classmate B's mobile phone through the APP. When the server verifies that the location of student B's mobile phone and the computer of the login account are consistent , the server determines that classmate B who has the mobile phone is logging in to the account. At this time, if classmate B brings the mobile phone to the laboratory again, and wants to use the laboratory computer to log in to the account again, the server will use the mobile phone location information and experiment The location information of the computer in the room is consistent, and it is directly confirmed that classmate B wants to log in to the account in a different place, so that the login is completed directly without verification. During the specific implementation, there will also be encounters similar to classmate A, classmate C, and classmate D in the same dormitory. When the above-mentioned dormitory computer login account (that is, the account of user B), the server will correspondingly establish the login account of classmate A and the computer, classmate C and The computer login account, and the mapping relationship between classmate D and the computer login account, and when classmate B logs in to the account in a similar laboratory, the server only needs to verify the stored multiple sets of mapping relationships, as long as there is a mapping relationship between classmate B and the login account. When the corresponding location information switch matches the user behavior fingerprint analyzed by big data, the login is completed directly without verification. In a preferred solution, the corresponding APP will also report the user's mobile phone number, and there is a unique matching relationship between the corresponding mobile phone number and the personal information of the login account. In this case, the mapping relationship established above with the login account is unique. Classmate B, other students will skip the mapping relationship establishment because the mobile phone number does not match the personal information in the login account. Among them, the user behavior fingerprint refers to the general time interval for the user to move from the above-mentioned similar dormitory position to the laboratory position according to the analysis of big data.
通过本实施例5的方案,本发明能更方便账号的同一使用者在两台不同登录设备上的切换登录,免去自己给自己确认的环节,达到更方便高效的有益效果。Through the solution of the fifth embodiment, the present invention can more conveniently switch the login of the same user of the account on two different login devices, avoid the link of self-confirmation, and achieve the beneficial effect of being more convenient and efficient.
需要说明的是,本发明实施例1-5中的登录设备可以多种形式存在,该登录设备包括但不限于:It should be noted that the login devices in Embodiments 1-5 of the present invention may exist in various forms, and the login devices include but are not limited to:
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。(1) Mobile communication equipment: This type of equipment is characterized by having mobile communication functions, and its main goal is to provide voice and data communication. Such terminals include: smart phones (eg iPhone), multimedia phones, feature phones, and low-end phones.
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等,例如iPad。(2) Ultra-mobile personal computer equipment: This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has the characteristics of mobile Internet access. Such terminals include: PDAs, MIDs, and UMPC devices, such as iPads.
(3)便携式娱乐设备:这类设备可以显示和播放视频内容,一般也具备移动上网特性。该类设备包括:视频播放器,掌上游戏机,以及智能玩具和便携式车载导航设备。(3) Portable entertainment equipment: This type of equipment can display and play video content, and generally has the characteristics of mobile Internet access. Such devices include: video players, handheld game consoles, as well as smart toys and portable car navigation devices.
(4)服务器:提供计算服务的设备,服务器的构成包括处理器、硬盘、内存、系统总线等,服务器和通用的计算机架构类似,但是由于需要提供高可靠的服务,因此在处理能力、稳定性、可靠性、安全性、可扩展性、可管理性等方面要求较高。(4) Server: A device that provides computing services. The composition of the server includes a processor, hard disk, memory, system bus, etc. The server is similar to a general computer architecture, but due to the need to provide highly reliable services, the processing capacity, stability , reliability, security, scalability, manageability and other aspects of high requirements.
(5)其他具有视频播放功能或连接互联网功能的电子设备。(5) Other electronic devices with video playback function or Internet connection function.
实施例6:Embodiment 6:
本发明实施例6提供了一种基于流量识别达到人性化挤兑登录的装置,该装置可作为实施例1-5中的服务器,该装置包括至少一个处理器以及与至少一个处理器通信连接的存储器;其中,如图5所示,是本发明实施例的基于流量识别达到人性化挤兑登录的装置的架构示意图。本实施例的基于流量识别达到人性化挤兑登录的装置包括一个或多个处理器51以及存储器52。其中,图5中以一个处理器51为例。Embodiment 6 of the present invention provides a device for humanized run login based on traffic identification, the device can be used as the server in Embodiments 1-5, the device includes at least one processor and a memory communicatively connected to the at least one processor ; Among them, as shown in FIG. 5 , it is a schematic diagram of the structure of a device for realizing humanized run login based on traffic identification according to an embodiment of the present invention. The apparatus for humanized run login based on traffic identification in this embodiment includes one or more processors 51 and a memory 52 . Among them, one processor 51 is taken as an example in FIG. 5 .
处理器51和存储器52可以通过总线或者其他方式连接,图5中以通过总线连接为例。The processor 51 and the memory 52 may be connected by a bus or in other ways, and the connection by a bus is taken as an example in FIG. 5 .
存储器52作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序和非易失性计算机可执行程序,如实施例1-4中的基于流量识别达到人性化挤兑登录的方法。处理器51通过运行存储在存储器52中的非易失性软件程序和指令,从而执行基于流量识别达到人性化挤兑登录的方法。As a non-volatile computer-readable storage medium, the memory 52 can be used to store non-volatile software programs and non-volatile computer-executable programs, such as the user-friendly run login based on traffic identification in Embodiments 1-4. Methods. The processor 51 executes the method for humanized run login based on traffic identification by running the non-volatile software programs and instructions stored in the memory 52 .
存储器52可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器52可选包括相对于处理器51远程设置的存储器,这些远程存储器可以通过网络连接至处理器51。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。 Memory 52 may include high speed random access memory, and may also include nonvolatile memory, such as at least one magnetic disk storage device, flash memory device, or other nonvolatile solid state storage device. In some embodiments, memory 52 may optionally include memory located remotely from processor 51 , which may be connected to processor 51 via a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
所述程序指令/模块存储在所述存储器52中,当被所述一个或者多个处理器51执行时,执行上述实施例1-4中的基于流量识别达到人性化挤兑登录的方法,例如,执行以上描述的图1-图4所示的各个步骤。The program instructions/modules are stored in the memory 52, and when executed by the one or more processors 51, perform the method for achieving humanized run login based on traffic identification in the above-mentioned Embodiments 1-4, for example, The various steps shown in FIGS. 1-4 described above are performed.
值得说明的是,上述装置的信息交互、执行过程等内容,由于与本发明的处理方法实施例基于同一构思,具体内容可参见本发明方法实施例中的叙述,此处不再赘述。It is worth noting that the information exchange, execution process and other contents of the above devices are based on the same concept as the processing method embodiments of the present invention. For details, refer to the descriptions in the method embodiments of the present invention, and will not be repeated here.
本领域普通技术人员可以理解实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the embodiments can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include: Read memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or CD, etc.
综上所述,本发明可通过流量识别来判断在先登录设备的使用状态,并根据在先登录设备使用状态的不同选择不同的挤兑登录方式;本发明当在先登录设备的使用状态为操作状态时,发送在后登录设备的登录请求给在先登录设备确认,使在先登录设备具有选择权,而不会像现有校园网连接方式一样直接被挤兑掉线,避免了突然掉线而造成的损失;并且若在后登录设备使用者确实有急事而没有登录成功,至少还能得知在先登录设备的基本信息,从而能联系其 使用者进行商讨,不至于毫无办法。本发明当在先登录设备的使用状态为空闲状态时,直接同意在后登录设备的登录请求,挤兑掉在先登录设备,使需要使用校园网的在后登录设备能直接上网,而被挤兑掉线的在先登录设备因为处于空闲状态也不会出现学习或工作突然中断的损失,达到人性化挤兑的目的。本发明当在先登录设备的使用状态为下载状态时,预估下载所需剩余时间并显示于在后登陆设备上,以供在后登陆设备选择等待下载结束或继续请求登录,这样的方式能使在后登录设备直观面对自身需求以及了解在先登录者所需时间,方便其做出选择,达到更加人性化的效果。本发明还设置有权限验证选项,该选项能保证账号原本拥有者的绝对权力,让其能优先登录账号。本发明能更方便账号的同一使用者在两台不同登录设备上的切换登录,免去自己给自己确认的环节,达到更方便高效的有益效果。To sum up, the present invention can judge the usage status of the prior login equipment through traffic identification, and select different run login methods according to the different usage status of the prior login equipment; In the state, send the login request of the later login device to the earlier login device for confirmation, so that the earlier login device has the right to choose, and it will not be directly run off the line like the existing campus network connection method, avoiding the sudden disconnection. In addition, if the user who logs in later has an emergency and fails to log in successfully, at least he can know the basic information of the device logged in earlier, so that he can contact the user for discussion, so that there is no way out. When the use state of the previous login device is idle, the present invention directly agrees to the login request of the later login device, and runs off the previous login device, so that the latter login device that needs to use the campus network can directly access the Internet, and is run off. Because the previous login device of the line is in an idle state, there will be no loss of sudden interruption of study or work, which achieves the purpose of humanized run. In the present invention, when the use state of the previous login device is the download state, the remaining time required for downloading is estimated and displayed on the latter login device, so that the latter login device can choose to wait for the end of the download or continue to request login. It enables the later login device to directly face its own needs and understand the time required for the earlier login, so as to facilitate their choice and achieve a more humanized effect. The present invention is also provided with a permission verification option, which can ensure the absolute authority of the original owner of the account and allow him to log in to the account first. The invention can more conveniently switch the login of the same user of the account on two different login devices, avoid the link of self-confirmation, and achieve the beneficial effects of being more convenient and efficient.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention shall be included in the protection of the present invention. within the range.

Claims (10)

  1. 一种基于流量识别达到人性化挤兑登录的方法,其特征在于,包括:A method for achieving user-friendly run login based on traffic identification, characterized in that it includes:
    服务器接收在后登录设备的登录请求,根据在先登录设备的实时流量状态判断所述在先登录设备的使用状态;The server receives the log-in request of the later log-in device, and judges the use status of the earlier log-in device according to the real-time traffic status of the earlier log-in device;
    所述服务器根据所述在先登录设备的使用状态判定是否同意所述在后登录设备的登录请求。The server determines whether to approve the login request of the later login device according to the use state of the prior login device.
  2. 根据权利要求1所述的基于流量识别达到人性化挤兑登录的方法,其特征在于,所述在先登录设备的使用状态包括空闲状态、操作状态和下载状态。The method for user-friendly run login based on traffic identification according to claim 1, characterized in that, the usage status of the prior login device includes an idle status, an operation status, and a download status.
  3. 根据权利要求2所述的基于流量识别达到人性化挤兑登录的方法,其特征在于,当所述在先登录设备的使用状态为空闲状态时,所述服务器同意所述在后登录设备的登录请求,挤兑掉所述在先登录设备,完成所述在后登录设备的登录操作。The method for user-friendly run login based on traffic identification according to claim 2, wherein when the use state of the prior login device is in an idle state, the server agrees to the login request of the later login device , run off the prior login device, and complete the login operation of the later login device.
  4. 根据权利要求2所述的基于流量识别达到人性化挤兑登录的方法,其特征在于,当所述在先登录设备的使用状态为操作状态时,所述服务器将所述在后登录设备的登录请求发送给所述在先登录设备进行确认。The method for user-friendly run login based on traffic identification according to claim 2, wherein when the use state of the prior login device is an operating state, the server sends the login request of the later login device Sent to the previously logged in device for confirmation.
  5. 根据权利要求2所述的基于流量识别达到人性化挤兑登录的方法,其特征在于,当所述在先登录设备的使用状态为下载状态时,所述服务器预估下载所需剩余时间并显示于所述在后登录设备上,所述在后登录设备选择等待下载结束或继续请求登录,若继续请求登录,则所述服务器将所述在后登录设备的登录请求发送给所述在先登录设备进行确认。The method for achieving user-friendly run login based on traffic identification according to claim 2, wherein when the use state of the previously logged in device is the download state, the server estimates the remaining time required for the download and displays it in the On the later-login device, the later-login device chooses to wait for the end of the download or continue to request the login, and if the request for login is continued, the server sends the login request of the later-login device to the earlier-login device. Undergo verification.
  6. 根据权利要求4或5所述的基于流量识别达到人性化挤兑登录的方法,其特征在于,若所述在先登录设备同意所述在后登录设备的登录请求,则所述服务器同意所述在后登录设备的登录请求,挤兑掉所述在先登录设备,完成所述在后登录设备的登录操作;若所述在先登录设备不同意或在选择时间内无响应,则所述服务器不同意所述在后登录设备的登录请求并向所述在后登录设备发送所述在先登录设备的基本信息。The method for humanized run login based on traffic identification according to claim 4 or 5, characterized in that, if the prior login device agrees to the login request of the later login device, the server agrees to the login request of the later login device. The login request of the later login device, run off the prior login device, and complete the login operation of the later login device; if the prior login device does not agree or does not respond within the selected time, the server does not agree The log-in request of the later log-in device and the basic information of the earlier log-in device are sent to the later log-in device.
  7. 根据权利要求6所述的基于流量识别达到人性化挤兑登录的方法,其特 征在于,所述选择时间为半分钟或一分钟。The method for achieving user-friendly run log-in based on traffic identification according to claim 6, wherein the selection time is half a minute or one minute.
  8. 根据权利要求6所述的基于流量识别达到人性化挤兑登录的方法,其特征在于,所述在先登录设备的基本信息包括所述在先登录设备的使用状态、地址、设备型号、设备名称和手机号中的一项或者多项。The method for user-friendly run login based on traffic identification according to claim 6, wherein the basic information of the previously logged in device includes the use status, address, device model, device name and One or more of the phone numbers.
  9. 根据权利要求6所述的基于流量识别达到人性化挤兑登录的方法,其特征在于,所述在后登录设备上设有权限验证选项,若服务器权限验证通过,所述服务器跳过所述在先登录设备的响应,挤兑掉所述在先登录设备,并直接完成所述在后登录设备的登录操作。The method for achieving user-friendly run login based on traffic identification according to claim 6, wherein the post-login device is provided with an authority verification option, and if the server authority verification is passed, the server skips the previous log-in device. In response to the log-in device, the prior log-in device is run off, and the log-in operation of the later log-in device is directly completed.
  10. 一种基于流量识别达到人性化挤兑登录的装置,其特征在于,包括:A device for humanized run login based on traffic identification, characterized in that it includes:
    至少一个处理器;以及,at least one processor; and,
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-9任一项所述的方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the at least one processor of any of claims 1-9 method.
PCT/CN2021/135681 2021-03-24 2021-12-06 Login method and apparatus allowing for customer-friendly force sign-out based on traffic measurement WO2022199122A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110314919.8 2021-03-24
CN202110314919.8A CN112702364B (en) 2021-03-24 2021-03-24 Method and device for achieving humanized squeezing login based on flow identification

Publications (1)

Publication Number Publication Date
WO2022199122A1 true WO2022199122A1 (en) 2022-09-29

Family

ID=75515625

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/135681 WO2022199122A1 (en) 2021-03-24 2021-12-06 Login method and apparatus allowing for customer-friendly force sign-out based on traffic measurement

Country Status (2)

Country Link
CN (1) CN112702364B (en)
WO (1) WO2022199122A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112702364B (en) * 2021-03-24 2021-06-29 武汉绿色网络信息服务有限责任公司 Method and device for achieving humanized squeezing login based on flow identification

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2646904A1 (en) * 2010-11-29 2013-10-09 Biocatch Ltd. Method and device for confirming computer end-user identity
CN103428734A (en) * 2013-08-02 2013-12-04 杭州华三通信技术有限公司 Method and device for optimizing network resources
CN106453527A (en) * 2016-09-27 2017-02-22 北京小米移动软件有限公司 Account sharing method and equipment
US20190146725A1 (en) * 2016-07-15 2019-05-16 HP Printing Korea Co. Ltd. Method for sharing account of cloud printing service, and cloud server for performing same
CN112702364A (en) * 2021-03-24 2021-04-23 武汉绿色网络信息服务有限责任公司 Method and device for achieving humanized squeezing login based on flow identification

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557387A (en) * 2008-04-11 2009-10-14 北京亿企通信息技术有限公司 Method for dealing with repeat login
CN101588344A (en) * 2008-05-20 2009-11-25 中兴通讯股份有限公司 System and method for controlling same account login in network system
JP2013061770A (en) * 2011-09-13 2013-04-04 Fuji Xerox Co Ltd Service providing device and program
US9203824B1 (en) * 2013-02-12 2015-12-01 Future Research Corporation System and method for authenticating a computer session on a mobile device using a two dimensional barcode
CN106358262A (en) * 2015-07-15 2017-01-25 中兴通讯股份有限公司 Access method and device for wireless node STAs (special temporary authority) in wireless local area network (WLAN)
CN107493284B (en) * 2017-08-18 2021-03-02 北京小米移动软件有限公司 Account login method and device
CN107864216B (en) * 2017-11-21 2020-12-25 福建中金在线信息科技有限公司 Multi-client processing method and device for same account and electronic equipment
CN111641677B (en) * 2020-04-29 2023-04-28 维沃移动通信有限公司 Message reminding method, message reminding device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2646904A1 (en) * 2010-11-29 2013-10-09 Biocatch Ltd. Method and device for confirming computer end-user identity
CN103428734A (en) * 2013-08-02 2013-12-04 杭州华三通信技术有限公司 Method and device for optimizing network resources
US20190146725A1 (en) * 2016-07-15 2019-05-16 HP Printing Korea Co. Ltd. Method for sharing account of cloud printing service, and cloud server for performing same
CN106453527A (en) * 2016-09-27 2017-02-22 北京小米移动软件有限公司 Account sharing method and equipment
CN112702364A (en) * 2021-03-24 2021-04-23 武汉绿色网络信息服务有限责任公司 Method and device for achieving humanized squeezing login based on flow identification

Also Published As

Publication number Publication date
CN112702364A (en) 2021-04-23
CN112702364B (en) 2021-06-29

Similar Documents

Publication Publication Date Title
US20220224679A1 (en) Authenticated Session Management Across Multiple Electronic Devices Using A Virtual Session Manager
US10797976B2 (en) System and methods for facilitating object assignments
CN112738805B (en) Device control method and apparatus, storage medium, and electronic device
CN107431708B (en) Session transfer between resources
US8032925B2 (en) Method for enabling login and establishing session for wireless communication terminal
US9276882B2 (en) System and method for online fan meeting
JP2019518292A (en) A technique for responding to user requests using natural language machine learning based on speech samples
CN110351269A (en) The method for logging in open platform by third-party server
US20100093443A1 (en) Method, system for controlling service access and server
CN106254560A (en) Information transferring method and device
WO2016184267A1 (en) Method, device, terminal and system for providing specified communication service
WO2017172654A1 (en) Making a dialogue available to an autonomous software agent
WO2012139270A1 (en) Face recognition control and social networking
JP2007310512A (en) Communication system, service providing server, and user authentication server
US10531301B2 (en) Network access method, apparatus, and system
US11736611B2 (en) Visual engagement using automatically dynamically selected visualization mediums
WO2013185655A1 (en) Method and device for distributing mobile attendant call
WO2013127163A1 (en) Call terminal enrollment method and device
WO2022199122A1 (en) Login method and apparatus allowing for customer-friendly force sign-out based on traffic measurement
CN107087293A (en) A kind of cut-in method, terminal and server
US20210329041A1 (en) User of identity services to auto-discover subscribers of social networking sites
CN110213730A (en) Call establishment of connection method and device, storage medium, electronic device
CN109831492A (en) Access the method and device of OTT application, server push message
WO2013013529A1 (en) Upnp access control method, server and client
CN106656976B (en) Media content pushing method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21932730

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21932730

Country of ref document: EP

Kind code of ref document: A1