CN107635192B - Leasing method of MIFI device and mobile terminal - Google Patents
Leasing method of MIFI device and mobile terminal Download PDFInfo
- Publication number
- CN107635192B CN107635192B CN201710787299.3A CN201710787299A CN107635192B CN 107635192 B CN107635192 B CN 107635192B CN 201710787299 A CN201710787299 A CN 201710787299A CN 107635192 B CN107635192 B CN 107635192B
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- mifi device
- mifi
- lease
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention is suitable for the technical field of communication and provides a leasing method of an MIFI device, a mobile terminal and the MIFI device. The method comprises the following steps: when the MIFI device which meets the user requirement and is in a waiting state is found, sending a lease request to a second mobile terminal which is in a lease relation with the MIFI device, and after receiving a lease confirmation instruction fed back by the second mobile terminal, moving the first mobile terminal and the second mobile terminal to the same target position; when the first mobile terminal and the second mobile terminal reach the same target position and are located at a preset distance, the first mobile terminal scans the two-dimensional code information of the user of the second mobile terminal so that the MIFI device which is closest and in a waiting state and the second mobile terminal terminate the lease relation, and establishes the lease relation with the first mobile terminal to complete the lease of the MIFI device. The invention can save time and has high leasing efficiency, and in addition, the single leasing method caused by the cabinet leasing is avoided, and the leasing mode is flexible.
Description
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a leasing method of an MIFI device and a mobile terminal.
Background
With the coming of the internet era, people are used to shopping online, chat with WeChat, watch network news and the like by using the mobile phone, and the traffic of the mobile phone is tested while the service time of the mobile phone is increased. At present, after a fixed traffic package of a mobile phone is used up, people generally buy a traffic overlay packet or use a traffic package of MIFI. Mifi (mobile wifi) is a portable broadband wireless device, which is equivalent to a credit card, and integrates the functions of a modem, a router and an access point. The built-in modem has access to a wireless signal and the internal router can share this connection between multiple users and wireless devices. MiFi is sometimes also referred to as a personal "hotspot," which may simplify the setup process for small local area networks. The MiFi can support 10 users at the same time, and devices supporting WiFi including digital cameras, notebooks, games and multimedia players can access the internet. The MiFi device may be used to set up a particular network, enabling sharing of network connections anywhere over a cellular connection.
However, the MIFI device is expensive, the rate of the MIFI flow package is expensive, the service cycle of the handled flow package is long, generally half a year, and the use mode is not flexible.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method for leasing an MIFI device, a mobile terminal, and an MIFI device, so as to solve the problems in the prior art that the MIFI device is expensive, the rate of a MIFI flow package is expensive, the service cycle of a handled flow package is long, and the use mode is inflexible.
A first aspect of an embodiment of the present invention provides a method for leasing an MIFI device, including:
when an instruction of renting an MIFI device sent by a user is received, acquiring distribution information of the MIFI device within a preset range with a first mobile terminal as a center, wherein the distribution information comprises position information of the MIFI device;
determining whether an MIFI device in a waiting state exists in the distribution information;
if yes, searching for an MIFI device which meets the user requirement and is in a waiting state according to the position information;
when the MIFI device which meets the user requirement and is in a waiting-to-return state is found, sending a lease request to a second mobile terminal which is in a lease relation with the MIFI device, and after a lease confirmation instruction fed back by the second mobile terminal is received, moving the first mobile terminal and the second mobile terminal to the same target position;
when the first mobile terminal and the second mobile terminal reach the same target position and are located at a preset distance, the first mobile terminal scans two-dimensional code information of a user of the second mobile terminal so that the MIFI device which is closest and in a waiting state and the second mobile terminal terminate a lease relationship, and establishes the lease relationship with the first mobile terminal to complete lease of the MIFI device.
A second aspect of an embodiment of the present invention provides a mobile terminal, including:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring distribution information of the MIFI device within a preset range by taking a first mobile terminal as a center when receiving an instruction of leasing the MIFI device sent by a user, and the distribution information comprises position information of the MIFI device;
a determining unit, configured to determine whether there is an MIFI device in a pending restoration state in the distribution information;
if so, searching for the MIFI device which meets the user requirement and is in a waiting state according to the position information;
the mobile terminal comprises a sending unit, a first mobile terminal and a second mobile terminal, wherein the sending unit is used for sending a lease request to the second mobile terminal in a lease relation with an MIFI device when the MIFI device which meets the user requirement and is in a waiting-to-return state is found out, and the first mobile terminal and the second mobile terminal move to the same target position after receiving a lease confirmation instruction fed back by the second mobile terminal;
and the scanning unit is used for scanning the two-dimensional code information of the user of the second mobile terminal by the first mobile terminal when the first mobile terminal and the second mobile terminal reach the same target position and are at a preset distance, so that the nearest MIFI device in the state of waiting for returning and the second mobile terminal terminate the lease relationship, and establish the lease relationship with the first mobile terminal to complete the lease of the MIFI device.
A third aspect of the embodiments of the present invention provides a mobile terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the following steps:
when an instruction of renting an MIFI device sent by a user is received, acquiring distribution information of the MIFI device within a preset range with a first mobile terminal as a center, wherein the distribution information comprises position information of the MIFI device;
determining whether an MIFI device in a waiting state exists in the distribution information;
if yes, searching for an MIFI device which meets the user requirement and is in a waiting state according to the position information;
when the MIFI device which meets the user requirement and is in a waiting-to-return state is found, sending a lease request to a second mobile terminal which is in a lease relation with the MIFI device, and after a lease confirmation instruction fed back by the second mobile terminal is received, moving the first mobile terminal and the second mobile terminal to the same target position;
when the first mobile terminal and the second mobile terminal reach the same target position and are located at a preset distance, the first mobile terminal scans two-dimensional code information of a user of the second mobile terminal so that the MIFI device which is closest and in a waiting state and the second mobile terminal terminate a lease relationship, and establishes the lease relationship with the first mobile terminal to complete lease of the MIFI device.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of:
when an instruction of renting an MIFI device sent by a user is received, acquiring distribution information of the MIFI device within a preset range with a first mobile terminal as a center, wherein the distribution information comprises position information of the MIFI device;
determining whether an MIFI device in a waiting state exists in the distribution information;
if yes, searching for an MIFI device which meets the user requirement and is in a waiting state according to the position information;
when the MIFI device which meets the user requirement and is in a waiting-to-return state is found, sending a lease request to a second mobile terminal which is in a lease relation with the MIFI device, and after a lease confirmation instruction fed back by the second mobile terminal is received, moving the first mobile terminal and the second mobile terminal to the same target position;
when the first mobile terminal and the second mobile terminal reach the same target position and are located at a preset distance, the first mobile terminal scans two-dimensional code information of a user of the second mobile terminal so that the MIFI device which is closest and in a waiting state and the second mobile terminal terminate a lease relationship, and establishes the lease relationship with the first mobile terminal to complete lease of the MIFI device.
A fifth aspect of the embodiments of the present invention provides a method for leasing an MIFI device, including:
broadcasting the position information of the MIFI device, wherein a GPS module of the MIFI device is in an open state;
monitoring whether the MIFI device is in a waiting state or not in real time, and sharing the monitored information for a user of the first mobile terminal to check;
and when receiving a lease termination instruction, terminating the lease relationship with the second mobile terminal, and establishing the lease relationship with the first mobile terminal to complete the lease of the MIFI device.
A sixth aspect of the present invention provides a shared terminal, including:
the broadcasting unit is used for broadcasting the position information of the MIFI device, and a GPS module of the MIFI device is in an opening state;
the monitoring unit is used for monitoring whether the MIFI device is in a to-be-returned state in real time and sharing the monitored information for a user where the first mobile terminal is located to check;
and the establishing unit is used for terminating the lease relationship with the second mobile terminal when receiving the lease terminating instruction, and establishing the lease relationship with the first mobile terminal to complete the lease of the MIFI device.
A seventh aspect of the embodiments of the present invention provides a shared terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the following steps:
broadcasting the position information of the MIFI device, wherein a GPS module of the MIFI device is in an open state;
monitoring whether the MIFI device is in a waiting state or not in real time, and sharing the monitored information for a user of the first mobile terminal to check;
and when receiving a lease termination instruction, terminating the lease relationship with the second mobile terminal, and establishing the lease relationship with the first mobile terminal to complete the lease of the MIFI device.
An eighth aspect of the embodiments of the present invention provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of:
broadcasting the position information of the MIFI device, wherein a GPS module of the MIFI device is in an open state;
monitoring whether the MIFI device is in a waiting state or not in real time, and sharing the monitored information for a user of the first mobile terminal to check;
and when receiving a lease termination instruction, terminating the lease relationship with the second mobile terminal, and establishing the lease relationship with the first mobile terminal to complete the lease of the MIFI device.
The embodiment of the invention realizes the function of surfing the Internet by one person or more persons by renting the MIFI device between the mobile terminals, and the user can search the MIFI device which has the MIFI device in a rentable state and meets the requirements of the user through the mobile terminals, so that the time can be saved, the renting efficiency is high, and the problems that the MIFI device in the prior art is high in price, the expense of the MIFI flow package is high, the service cycle of the handled flow package is long, and the use mode is not flexible are solved; in addition, the single renting method caused by the fact that the equipment cabinet is rented only is avoided, and the renting mode is flexible.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart illustrating an implementation of a lease method for an MIFI device according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating an implementation of a lease method for an MIFI device according to a second embodiment of the present invention;
fig. 3 is a block diagram of a mobile terminal according to a third embodiment of the present invention;
fig. 4 is a schematic diagram of a mobile terminal according to a fourth embodiment of the present invention;
fig. 5 is a block diagram of an MIFI apparatus according to a fifth embodiment of the present invention;
fig. 6 is a schematic diagram of an MIFI apparatus according to a sixth embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Example one
Fig. 1 is a schematic flow chart illustrating an implementation of a lease method for an MIFI device according to an embodiment of the present invention. As shown in fig. 1, the method for leasing an MIFI device specifically includes the following steps S101 to S105.
Step S101: and when an instruction for renting the MIFI device sent by a user is received, acquiring the distribution information of the MIFI device within a preset range by taking the first mobile terminal as the center, wherein the distribution information comprises the position information of the MIFI device.
Wherein the preset range may be classified into several classes, for example, 100m, 500m, and 1000 m. According to a preset range (for example, 500m) selected by a user, acquiring distribution information of the MIFI devices within the preset range by taking a mobile terminal held by the user as a center, wherein the distribution information comprises position information of the MIFI devices, and the MIFI devices are distributed on the circumference of a concentric circle which takes the mobile terminal as the center and has a radius smaller than or equal to the preset range (for example, 500 m).
Optionally, the distribution information of the MIFI devices may also be predetermined location information submitted by the user at the first mobile terminal, and the predetermined location information may be further adjusted location information of the MIFI devices. For example, the location information of the MIFI device is Shenzhen, Futian region and universe, in order to improve the lease efficiency, the user may submit the specific location of the user at the first mobile terminal, for example, the predetermined location information of the "Shenzhen, Futian region and universe 3-level Pacific coffee shop", and it is understood that when the user is closer to the Pacific coffee shop, the predetermined location information of the "Shenzhen, Futian region and universe 3-level Pacific coffee shop" may also be submitted as the location to be reached in a short time (for example, 2 minutes). It can be understood that, since the location information of the MIFI device and the location information of the first mobile terminal are almost consistent, in a specific implementation process of the embodiment of the present invention, the distribution information of the MIFI device may be replaced with the distribution information of the first mobile terminal, that is, the distribution information includes the location information of the first mobile terminal.
Step S102: and determining whether the MIFI device in a waiting state exists in the distribution information.
Wherein, the MIFI device can indicate the status of being in the hold status by the font mark of "hold". The pending status here also includes that the power of the MIFI device is greater than a preset threshold, for example, the power of the MIFI device when fully charged is 10000mA (milliamp), where the preset threshold may be 3000 mA.
Preferably, in order to enrich the functions of the MIFI device, in the embodiment of the present invention, the MIFI device may further have a function of charging other devices (for example, a mobile terminal), and further, the MIFI device may further have a data line, and an output port of the data line includes a lightning interface, a type-c interface, and a micro interface.
It can be understood that the power of the MIFI device in the pending state must be greater than a preset threshold, and when the power of the MIFI device is less than the threshold, the user may return the MIFI device to the MIFI device shared terminal, i.e., the MIFI device cabinet.
Step S103: if yes, searching for the MIFI device which meets the user requirement and is in a standby state according to the position information.
The user requirement can be met by being closest to the user or being most convenient for the user to feel.
Preferably, in order to enable the user to quickly find an MIFI device meeting the user requirement, where the distribution information further includes a number of the MIFI device, step S103 specifically includes:
and calculating the distance between the MIFI device in the state of waiting for returning and the first mobile terminal according to the position information, sequencing the MIFI devices according to the number according to the distance obtained by calculation, and taking the MIFI device with the minimum number as the MIFI device which meets the user requirement and is in the state of waiting for returning.
Further, in order to enable the user to find the MIFI device by the shortest route after finding the distance from the mobile terminal, after finding the MIFI device which meets the user requirement and is in the state of waiting to be returned, the method further includes:
and planning a route from the first mobile terminal to the MIFI device which meets the requirements of the user and is in a standby state, and displaying the planned route on the first mobile terminal in an electronic map mode for the user to view.
The route may be a navigation route with the position of the mobile terminal as a starting position and the position of the MIFI device as a destination, and the navigation route may be loaded by selecting a corresponding electronic map, such as a Baidu map, a Gade map, a Google map, or other navigation maps already installed on the mobile terminal, and the loaded route is displayed on the mobile terminal in the form of the electronic map for the user to view.
Step S104: when the MIFI device which meets the user requirement and is in a waiting-to-return state is found, a lease request is sent to a second mobile terminal which is in a lease relation with the MIFI device, and after a lease confirmation instruction fed back by the second mobile terminal is received, the first mobile terminal and the second mobile terminal move to the same target position.
When a user finds an MIFI device which meets the requirements of the user and has an MIFI device in a rentable state, clicking 'lease confirmation', namely sending a lease request to a second mobile terminal in a lease relationship with the MIFI device, when the second mobile terminal receives the lease request, generally, if the first mobile terminal is closest to the second mobile terminal, receiving the lease request, namely sending a lease confirmation instruction to the first mobile terminal to indicate that the lease request is granted, and after a user A of the first mobile terminal and a user B of the second mobile terminal agree with a target position, the first mobile terminal and the second mobile terminal move to the same target position. Optionally, the target position here may be obtained by identifying the position information of the first mobile terminal and the position information of the second mobile terminal, and matching an optimal target position to recommend to the user a and the user B, and when both the user a and the user B agree to adopt the recommended target position, the optimal target position is directly adopted; when the user A and the user B do not agree with the recommended target position, the two parties can agree on the target position by themselves. Optionally, the user a and the user B can also know the positions of each other in real time through the position sharing function of the WeChat to facilitate faster meeting.
Step S105: when the first mobile terminal and the second mobile terminal reach the same target position and are located at a preset distance, the first mobile terminal scans two-dimensional code information of a user of the second mobile terminal so that the MIFI device which is closest and in a waiting state and the second mobile terminal terminate a lease relationship, and establishes the lease relationship with the first mobile terminal to complete lease of the MIFI device.
Wherein the preset distance may be 15 cm. The two-dimensional code information of the user of the second mobile terminal may be WeChat two-dimensional code information of the user, or may be two-dimensional code information customized for each member (user), and it should be noted that the two-dimensional code information of the user is unique.
When the first mobile terminal and the second mobile terminal reach the same target position and are located at a preset distance, it is indicated that the user A and the user B are in a face-to-face state, the user A uses the first mobile terminal to scan the two-dimensional code information of the user of the second mobile terminal, so that the MIFI device which is closest and in a waiting state and the second mobile terminal terminate a lease relationship, and establishes a lease relationship with the first mobile terminal, so that the user A leases the MIFI device which is closest and in the waiting state, and the user B returns the MIFI device which does not need to be leased continuously, namely the lease of the MIFI device is completed.
Optionally, the MIFI device in the embodiment of the present invention further includes a display screen, a bluetooth headset, and/or a sound box. The MIFI device in the embodiment of the invention can comprise any combination of a display screen, a Bluetooth headset and a sound box, namely the MIFI device can respectively comprise the display screen, the Bluetooth headset and the sound box, can also comprise any two of the display screen, the Bluetooth headset and the sound box, and can also comprise the display screen, the Bluetooth headset and the sound box. Wherein the display screen can be used for displaying content such as advertisements. The speaker may also be a bluetooth speaker.
In the embodiment of the invention, the function of surfing the Internet by one or more people is realized by renting the MIFI device between the mobile terminals, and the user can search the MIFI device which has the MIFI device in a rentable state and meets the requirements of the user through the mobile terminal, so that the time can be saved, the renting efficiency is high, and the problems that the MIFI device in the prior art is high in price, the expense of the MIFI flow package is high, the service cycle of the handled flow package is long, and the use mode is not flexible are solved; in addition, the single renting method caused by the fact that the equipment cabinet is rented only is avoided, and the renting mode is flexible.
Example two
Fig. 2 is a schematic flow chart illustrating an implementation of a lease method for an MIFI device according to a second embodiment of the present invention. As shown in fig. 2, the method for leasing an MIFI device specifically includes the following steps S201 to S203.
Step S201: broadcasting the position information of the MIFI device, wherein a GPS module of the MIFI device is in an opening state.
Wherein, the GPS module of the MIFI device is in an open state.
The MIFI device broadcasts the position information of the MIFI device, and when the MIFI device leasing terminal is within a preset range centering on the mobile terminal, the server sends the position information to the mobile terminal.
Step S202: and monitoring whether the MIFI device is in a waiting state or not in real time, and sharing the monitored information for a user of the first mobile terminal to check.
The number of the MIFI devices in the rentable state in the MIFI devices is monitored in real time, and the monitored total number of the MIFI devices in the rentable state is sent to the server. And when an MIFI device leasing instruction of the mobile terminal is received, the server sends the total number of the corresponding MIFI devices in the returnable state to the mobile terminal.
Step S203: and when receiving a lease termination instruction, terminating the lease relationship with the second mobile terminal, and establishing the lease relationship with the first mobile terminal to complete the lease of the MIFI device.
It should be noted that, when the MIFI device receives the lease termination instruction, the MIFI device terminates the lease relationship with the second mobile terminal, and at this time, the fee is automatically calculated. And the MIFI device establishes a lease relationship with the first mobile terminal, and the MIFI device is in a leased state at the moment.
In the embodiment of the invention, by broadcasting the position information of the MIFI device, the GPS module of the MIFI device is in an open state and monitors whether the MIFI device is in a standby state in real time, and the monitored information is shared to be used by a user of a first mobile terminal to check the MIFI device, so that the function of surfing the Internet by one person or more persons is realized by leasing the MIFI device at two mobile terminals simultaneously and the leasing mode is flexible; and the user can search the MIFI device which has the rentable state and is closest to the user through the mobile terminal, so that the time can be saved, the renting efficiency is high, and the problems that the MIFI device in the prior art is high in price, the expense of the MIFI flow package is high, the service cycle of the handled flow package is long, and the use mode is inflexible are solved.
EXAMPLE III
Referring to fig. 3, a block diagram of a mobile terminal according to a third embodiment of the present invention is shown. The mobile terminal 30 includes: an acquisition unit 31, a determination unit 32, a search unit 33, a transmission unit 34, and a scanning unit 35. The specific functions of each unit are as follows:
the device comprises an acquisition unit and a processing unit, wherein the acquisition unit is used for acquiring the distribution information of the MIFI device within a preset range by taking a first mobile terminal as a center when receiving an instruction of leasing the MIFI device sent by a user, and the distribution information comprises the position information of the MIFI device.
A determining unit, configured to determine whether there is an MIFI device in a pending restoration state in the distribution information.
And if so, searching for the MIFI device which meets the user requirement and is in the state of waiting for returning according to the position information.
The sending unit is used for sending a lease request to a second mobile terminal in a lease relation with the MIFI device when the MIFI device which meets the user requirement and is in a waiting-to-return state is found, and the first mobile terminal and the second mobile terminal move to the same target position after a lease confirmation instruction fed back by the second mobile terminal is received.
And the scanning unit is used for scanning the two-dimensional code information of the user of the second mobile terminal by the first mobile terminal when the first mobile terminal and the second mobile terminal reach the same target position and are at a preset distance, so that the nearest MIFI device in the state of waiting for returning and the second mobile terminal terminate the lease relationship, and establish the lease relationship with the first mobile terminal to complete the lease of the MIFI device.
Optionally, the mobile terminal 30 further includes:
and the planning display unit is used for planning a route from the first mobile terminal to the MIFI device which meets the requirements of the user and is in a waiting state, and displaying the planned route on the first mobile terminal in an electronic map mode for the user to view.
Optionally, the distribution information further includes a number of the MIFI device; the search unit 33 includes:
and the calculating subunit is used for calculating the distance between the MIFI device in the state of waiting for returning and the first mobile terminal according to the position information, sequencing the MIFI devices according to the number according to the distance obtained by calculation, and taking the MIFI device with the minimum number as the MIFI device which meets the user requirement and is in the state of waiting for returning.
In the embodiment of the invention, the function of surfing the Internet by one or more people is realized by renting the MIFI device between the mobile terminals, and the user can search the MIFI device which has the MIFI device in a rentable state and meets the requirements of the user through the mobile terminal, so that the time can be saved, the renting efficiency is high, and the problems that the MIFI device in the prior art is high in price, the expense of the MIFI flow package is high, the service cycle of the handled flow package is long, and the use mode is not flexible are solved; in addition, the single renting method caused by the fact that the equipment cabinet is rented only is avoided, and the renting mode is flexible.
Example four
Referring to fig. 4, a block diagram of a shared terminal according to a fourth embodiment of the present invention is shown. The MIFI device 40 includes: a broadcast unit 41, a monitoring unit 42 and a setup unit 43. The specific functions of each unit are as follows:
and the broadcasting unit 41 is configured to broadcast the location information of the MIFI device, where a GPS module of the MIFI device is in an on state.
And the monitoring unit 42 is configured to monitor whether the MIFI device is in a pending restoration state in real time, and share the monitored information for a user of the first mobile terminal to check.
And the establishing unit 43 is configured to terminate the lease relationship with the second mobile terminal when receiving the lease termination instruction, and establish the lease relationship with the first mobile terminal to complete the lease of the MIFI device.
In the embodiment of the invention, by broadcasting the position information of the MIFI device, the GPS module of the MIFI device is in an open state and monitors whether the MIFI device is in a standby state in real time, and the monitored information is shared to allow a user of a first mobile terminal to check the MIFI device, so that the function of surfing the Internet by one or more people is realized by renting the MIFI device between the mobile terminals, and the user can search the MIFI device which has the MIFI device in a rentable state and meets the requirements of the user through the mobile terminal, thereby saving time and having high renting efficiency, and solving the problems that the MIFI device in the prior art is expensive in price, the MIFI flow package is expensive in expense, the service cycle of the handled flow package is long, and the use mode is inflexible; in addition, the single renting method caused by the fact that the equipment cabinet is rented only is avoided, and the renting mode is flexible.
EXAMPLE five
Fig. 5 is a schematic diagram of a mobile terminal according to a fourth embodiment of the present invention. As shown in fig. 5, the mobile terminal 5 of this embodiment includes: a processor 50, a memory 51 and a computer program 52, such as a lease method program for an MIFI device, stored in the memory 51 and executable on the processor 50. The processor 50, when executing the computer program 52, implements the steps in the lease method embodiments of the MIFI devices described above, such as the steps S101 to S104 shown in fig. 1. Alternatively, the processor 50, when executing the computer program 52, implements the functions of the units in the above-described device embodiments, such as the functions of the modules 31 to 34 shown in fig. 3.
Illustratively, the computer program 52 may be partitioned into one or more modules/units that are stored in the memory 51 and executed by the processor 50 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 52 in the mobile terminal 5. For example, the computer program 52 may be divided into an acquisition unit, a determination unit, a search unit, a transmission unit and a scanning unit, and the specific functions of each unit are as follows:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring distribution information of the MIFI device within a preset range by taking a first mobile terminal as a center when receiving an instruction of leasing the MIFI device sent by a user, and the distribution information comprises position information of the MIFI device;
a determining unit, configured to determine whether there is an MIFI device in a pending restoration state in the distribution information;
if so, searching for the MIFI device which meets the user requirement and is in a waiting state according to the position information;
the mobile terminal comprises a sending unit, a first mobile terminal and a second mobile terminal, wherein the sending unit is used for sending a lease request to the second mobile terminal in a lease relation with an MIFI device when the MIFI device which meets the user requirement and is in a waiting-to-return state is found out, and the first mobile terminal and the second mobile terminal move to the same target position after receiving a lease confirmation instruction fed back by the second mobile terminal;
and the scanning unit is used for scanning the two-dimensional code information of the user of the second mobile terminal by the first mobile terminal when the first mobile terminal and the second mobile terminal reach the same target position and are at a preset distance, so that the nearest MIFI device in the state of waiting for returning and the second mobile terminal terminate the lease relationship, and establish the lease relationship with the first mobile terminal to complete the lease of the MIFI device.
The mobile terminal 5 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The mobile terminal may include, but is not limited to, a processor 50, a memory 51. Those skilled in the art will appreciate that fig. 5 is only an example of a mobile terminal and is not intended to be limiting and may include more or less components than those shown, or some components in combination, or different components, for example, input output devices, network access devices, buses, etc.
The Processor 50 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 51 may be an internal storage unit of the mobile terminal 5, such as a hard disk or a memory of the mobile terminal 5. The memory 51 may also be an external storage device of the mobile terminal 5, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, provided on the mobile terminal 5. Further, the memory 51 may also include both an internal storage unit and an external storage device of the mobile terminal 5. The memory 51 is used for storing the computer program and other programs and data required by the mobile terminal. The memory 51 may also be used to temporarily store data that has been output or is to be output.
EXAMPLE six
Fig. 6 is a schematic diagram of an MIFI apparatus according to six embodiments of the present invention. As shown in fig. 6, the MIFI apparatus 6 of this embodiment includes: a processor 60, a memory 61 and a computer program 62, such as a lease method program for an MIFI device, stored in said memory 61 and operable on said processor 60. The processor 60, when executing the computer program 62, implements the steps in the lease method embodiments of the respective MIFI devices described above, such as the steps S201 to S203 shown in fig. 2. Alternatively, the processor 60, when executing the computer program 62, implements the functions of the units in the above-described device embodiments, such as the functions of the modules 41 to 43 shown in fig. 4.
Illustratively, the computer program 62 may be partitioned into one or more modules/units that are stored in the memory 61 and executed by the processor 60 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 62 in the MIFI apparatus 6. For example, the computer program 62 may be divided into a broadcast unit, a broadcast unit and a broadcast unit, and the specific functions of each unit are as follows:
and the broadcasting unit is used for broadcasting the position information of the MIFI device, and a GPS module of the MIFI device is in an opening state.
And the monitoring unit is used for monitoring whether the MIFI device is in a to-be-returned state in real time and sharing the monitored information for a user where the first mobile terminal is located to check.
And the establishing unit is used for terminating the lease relationship with the second mobile terminal when receiving the lease terminating instruction, and establishing the lease relationship with the first mobile terminal to complete the lease of the MIFI device.
The MIFI device 6 may be a desktop computer, a notebook, a palm top computer, a cloud server, or other computing device. The MIFI device may include, but is not limited to, a processor 60, a memory 61. Those skilled in the art will appreciate that fig. 6 is merely an example of an MIFI apparatus, and does not constitute a limitation of the MIFI apparatus, and may include more or less components than those shown, or combine certain components, or different components, for example, the MIFI apparatus may also include input output devices, network access devices, buses, etc.
The Processor 60 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 61 may be an internal storage unit of the MIFI device 6, such as a hard disk or a memory of the MIFI device 6. The memory 61 may also be an external storage device of the MIFI device 6, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, provided on the MIFI device 6. Further, the memory 61 may also include both an internal storage unit and an external storage device of the MIFI apparatus 6. The memory 61 is used for storing the computer program and other programs and data required by the MIFI device. The memory 61 may also be used to temporarily store data that has been output or is to be output.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.
Claims (6)
1. A leasing method of an MIFI device is applied to a mobile terminal and comprises the following steps:
when an instruction of renting an MIFI device sent by a user is received, acquiring distribution information of the MIFI device within a preset range with a first mobile terminal as a center, wherein the distribution information comprises position information of the MIFI device, and the preset range is a range selected by the user;
determining whether an MIFI device in a waiting state exists in the distribution information;
if so, calculating the distance between the MIFI device in the state of waiting for returning and the first mobile terminal according to the position information, sequencing the MIFI devices according to the number according to the distance obtained by calculation, and taking the MIFI device with the smallest number as the MIFI device which meets the user requirement and is in the state of waiting for returning;
planning a route from the first mobile terminal to an MIFI device which meets the requirements of a user and is in a waiting state, and displaying the planned route on the first mobile terminal in an electronic map mode for the user to view;
sending a lease request to a second mobile terminal in a lease relationship with the MIFI device, and after receiving a lease confirmation instruction fed back by the second mobile terminal, moving the first mobile terminal and the second mobile terminal to the same target position, wherein the target position is an optimal position matched according to the position information of the first mobile terminal and the position information of the second mobile terminal;
when the first mobile terminal and the second mobile terminal reach the same target position and are located at a preset distance, the first mobile terminal scans two-dimensional code information of a user of the second mobile terminal so that the MIFI device which is closest and in a waiting state and the second mobile terminal terminate a leasing relation, and establishes the leasing relation with the first mobile terminal to complete the leasing of the MIFI device.
2. A lease method for an MIFI device as claimed in claim 1, characterized in that the MIFI device has a function for charging the mobile terminal.
3. A lease method for an MIFI device as claimed in claim 1, characterized in that, the MIFI device further comprises a display screen, a bluetooth headset and/or a sound box.
4. A mobile terminal, comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring distribution information of the MIFI device within a preset range by taking a first mobile terminal as a center when receiving an instruction of leasing the MIFI device sent by a user, the distribution information comprises position information of the MIFI device, and the preset range is a range selected by the user;
a determining unit, configured to determine whether there is an MIFI device in a pending restoration state in the distribution information;
if so, calculating the distance between the MIFI device in the state of waiting for returning and the first mobile terminal according to the position information, sequencing the MIFI devices according to the number according to the distance obtained by calculation, and taking the MIFI device with the smallest number as the MIFI device which meets the user requirement and is in the state of waiting for returning;
the planning display unit is used for planning a route from the first mobile terminal to the MIFI device which meets the requirements of the user and is in a waiting state, and displaying the planned route on the first mobile terminal in an electronic map mode for the user to view;
the mobile terminal comprises a sending unit, a receiving unit and a processing unit, wherein the sending unit is used for sending a lease request to a second mobile terminal which is in lease relation with an MIFI device when the MIFI device which meets the user requirement and is in a waiting state is found, and after a lease confirmation instruction fed back by the second mobile terminal is received, the first mobile terminal and the second mobile terminal move to the same target position, and the target position is an optimal position matched according to the position information of the first mobile terminal and the position information of the second mobile terminal;
and the scanning unit is used for scanning the two-dimensional code information of the user of the second mobile terminal to enable the MIFI device which is closest and in a waiting state to terminate the lease relationship with the second mobile terminal when the first mobile terminal and the second mobile terminal reach the same target position and are in a preset distance, and establishing the lease relationship with the first mobile terminal to finish the lease of the MIFI device.
5. A mobile terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 3 when executing the computer program.
6. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710787299.3A CN107635192B (en) | 2017-09-04 | 2017-09-04 | Leasing method of MIFI device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710787299.3A CN107635192B (en) | 2017-09-04 | 2017-09-04 | Leasing method of MIFI device and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107635192A CN107635192A (en) | 2018-01-26 |
CN107635192B true CN107635192B (en) | 2020-03-13 |
Family
ID=61100403
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710787299.3A Active CN107635192B (en) | 2017-09-04 | 2017-09-04 | Leasing method of MIFI device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107635192B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104603817A (en) * | 2015-02-14 | 2015-05-06 | 深圳来电科技有限公司 | Power bank renting method, system, and renting terminal |
CN105427471A (en) * | 2015-11-06 | 2016-03-23 | 街电科技有限公司 | Portable power source renting method, terminal device and server thereof |
CN107103702A (en) * | 2017-05-10 | 2017-08-29 | 深圳市租电智能科技有限公司 | A kind of cloud rents charger system and its control method |
-
2017
- 2017-09-04 CN CN201710787299.3A patent/CN107635192B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104603817A (en) * | 2015-02-14 | 2015-05-06 | 深圳来电科技有限公司 | Power bank renting method, system, and renting terminal |
CN105427471A (en) * | 2015-11-06 | 2016-03-23 | 街电科技有限公司 | Portable power source renting method, terminal device and server thereof |
CN107103702A (en) * | 2017-05-10 | 2017-08-29 | 深圳市租电智能科技有限公司 | A kind of cloud rents charger system and its control method |
Also Published As
Publication number | Publication date |
---|---|
CN107635192A (en) | 2018-01-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103297551B (en) | Method, server and system for automatically obtaining address | |
EP2466974A1 (en) | Location Information Collection Method and System for Dual SIM Mobile Terminals | |
WO2017181613A1 (en) | Search response method, device and system | |
CN104350805B (en) | Pass through positioning of the protected access point to not protected access point | |
CN106658502B (en) | Intelligent wireless local area network reserved access method based on fingerprint authentication | |
CN105704712B (en) | Network resource sharing method, mobile terminal and server | |
CN109996185A (en) | The localization method and device of terminal, storage medium, electronic device | |
CN109087089B (en) | Payment method, payment device and terminal equipment | |
CN113449986A (en) | Service distribution method, device, server and storage medium | |
CN112990400B (en) | NFC tag-based scene service method, device and system | |
TWI611306B (en) | Transportation services providing method and user device and server using the same | |
CN105245438B (en) | Content sharing method, device and system | |
CN107682816B (en) | Returning method of MIFI device and mobile terminal | |
US10200864B2 (en) | Method and device for managing wireless access point | |
CN107635192B (en) | Leasing method of MIFI device and mobile terminal | |
CN103344247B (en) | The air navigation aid of multi-client and device | |
CN107507094A (en) | A kind of information processing method, device and storage medium | |
CN109886738B (en) | Intelligent exhibition user prediction method and equipment | |
CN107820208A (en) | A kind of MIFI devices give back method, mobile terminal and MIFI device shared terminals | |
CN113395741B (en) | Network distribution system, method and device of equipment, electronic equipment and storage medium | |
CN111678519B (en) | Intelligent navigation method, device and storage medium | |
CN113689084A (en) | Resource attribute determination method and device | |
CN107507064A (en) | Price competing method and device and electronic equipment and computer-readable recording medium based on websocket | |
CN106464735A (en) | Implementation of third party services in a digital service platform | |
CN109711248B (en) | Environment recognition method based on video and terminal equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20180129 Address after: 518000 Building No. 3, No. 8, Yanshan Avenue, Yan Chuan, Songgang street, Baoan District, Guangdong Province, No. 3 Applicant after: Shenzhen Braim plus Technology Development Co. Ltd. Address before: 518000 Guangdong city of Shenzhen province Qianhai Shenzhen Hong Kong cooperation zone before Bay Road No. 1 building 201 room A (located in Shenzhen Qianhai business secretary Co. Ltd.) Applicant before: Shenzhen city 100 Ruixing Technology Co. Ltd. |
|
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |