CN110689413A - Shared device leasing method, computer device and storage medium - Google Patents

Shared device leasing method, computer device and storage medium Download PDF

Info

Publication number
CN110689413A
CN110689413A CN201910964498.6A CN201910964498A CN110689413A CN 110689413 A CN110689413 A CN 110689413A CN 201910964498 A CN201910964498 A CN 201910964498A CN 110689413 A CN110689413 A CN 110689413A
Authority
CN
China
Prior art keywords
lease
leasing
information
equipment
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.)
Granted
Application number
CN201910964498.6A
Other languages
Chinese (zh)
Other versions
CN110689413B (en
Inventor
李建国
刘伯锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Bangbang Robot Co Ltd
Original Assignee
Shanghai Bangbang Robot Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Bangbang Robot Co Ltd filed Critical Shanghai Bangbang Robot Co Ltd
Priority to CN201910964498.6A priority Critical patent/CN110689413B/en
Publication of CN110689413A publication Critical patent/CN110689413A/en
Application granted granted Critical
Publication of CN110689413B publication Critical patent/CN110689413B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0645Rental transactions; Leasing transactions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0613Third-party assisted
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/0042Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects
    • G07F17/0057Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects for the hiring or rent of vehicles, e.g. cars, bicycles or wheelchairs

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a leasing method of shared equipment, which comprises the following steps that when connection is established with a console of the shared equipment, automatic connection with the shared equipment is carried out; when the connection is successful, detecting whether the user logs in, and if the user logs in, detecting the lease qualification information of the user; determining the leasing intention of the user according to the connection state of the shared equipment, and sending leasing information to a leasing server when the user has leasing qualification so that the leasing server generates leasing data according to the leasing information; and when the shared equipment is disconnected, sending lease update information to the lease server so that the lease server generates order payment information and sends the order payment information to the third-party equipment for order payment. The invention reduces the user participation degree of the whole leasing action, ensures that the user has no perception, and greatly improves the fluency of shared leasing experience.

Description

Shared device leasing method, computer device and storage medium
Technical Field
The present invention relates to the field of sharing technologies, and in particular, to a method for leasing shared devices, a computer device, and a storage medium.
Background
Traditional equipment leasing business, such as sharing a bicycle, needs a user to operate on a screen of a mobile terminal for many times in the process of leasing service, so that the user needs to operate the mobile terminal for many times in the process of using a machine to experience the service, the action of the user on equipment is interrupted very often, the whole service experience process is not smooth, and the user experience is influenced.
Disclosure of Invention
The embodiment of the invention aims to provide a shared equipment leasing method, computer equipment and a storage medium, so that when a user uses shared equipment leasing service, a plurality of operations of the user on the shared equipment or a handheld terminal in a leasing process can be reduced, and the shared equipment can be used smoothly.
The technical scheme provided by the invention is as follows:
in a first aspect, an embodiment of the present invention provides a method for leasing shared devices, where the method includes:
when the third-party equipment establishes connection with the console of the sharing equipment, the third-party equipment automatically connects with the sharing equipment;
when the connection is successful, the third-party equipment detects whether the user logs in, and if the user logs in, the lease qualification information of the user is detected;
the third-party equipment determines the leasing intention of the user according to the connection state of the third-party equipment and the shared equipment, and sends leasing information to a leasing server when the user has leasing qualification so that the leasing server can generate leasing data according to the leasing information;
and when the third-party equipment is disconnected from the shared equipment, sending lease update information to the lease server so that the lease server generates order payment information and sends the order payment information to the third-party equipment for order payment.
In the technical scheme, the third-party equipment and the sharing equipment are mutually independent, and when the third-party equipment and the sharing equipment are not connected, a sharing equipment system cannot normally work; when any third-party device meeting the requirement is in communication connection with the shared device, the third-party device and the shared device form a complete system, and the complete function can be activated and the shared device can normally work.
Preferably, the detecting rental qualification information of the user specifically includes:
and inquiring the rental server whether the user pays a deposit, if not, prompting the user to pay the deposit, and returning confirmation information to the rental server after the deposit is paid.
Preferably, the sending the rental information to the rental server, so that the generating of the rental data by the rental server according to the rental information specifically includes:
the leasing server generates leasing data according to the leasing information, wherein the leasing data comprises leasing starting time and order number of the shared equipment by the user.
Preferably, when the third-party device is disconnected from the shared device, sending rental update information to the rental server, so that the rental server generates order payment information and sends the order payment information to the third-party device for order payment specifically includes:
the lease update information comprises the time of disconnection, so that the lease server produces order payment information according to the lease data and the lease update information and issues the order payment information to the third-party equipment;
and the third-party equipment sends a payment prompt to the user according to the order payment information.
In a second aspect, an embodiment of the present invention provides a method for leasing shared devices, where the method includes:
when lease information of the shared equipment, which is sent by third-party equipment, is received, generating lease data, wherein the lease data comprise lease starting time and order number of the shared equipment by the user, and the lease information is information which is sent to a lease server after the third-party equipment determines the lease intention of the user according to the connection state of the third-party equipment and the shared equipment and when the user has lease qualification;
and when lease update information sent by the third-party equipment is received, generating order payment information according to the lease data and the lease update information, and sending the order payment information to the third-party equipment for order payment, wherein the lease update information is information sent to the lease server when the third-party equipment is disconnected from the shared equipment.
Preferably, the lease information includes a user ID, a shared device ID, and sending time of the lease information, which are obtained when the third-party device is connected to the shared device; the rental update information includes a time of disconnection.
Preferably, the generating order payment information according to the lease information and the lease update information and sending the order payment information to the third-party device for order payment specifically includes:
and calculating the expense of the lease according to the ID of the user, the ID of the shared equipment, the lease starting time, the time of disconnection and the order number, and sending order payment information containing the unpaid state to the third-party equipment.
In a third aspect, an embodiment of the present invention provides a computer device for implementing shared device leasing, where the computer device includes:
one or more processors;
one or more memories;
one or more modules stored in a memory and capable of being executed by at least one of the one or more processors to perform the steps of the shared device rental method of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer device for implementing shared device leasing, where the computer device includes:
one or more processors;
one or more memories;
one or more modules stored in a memory and capable of being executed by at least one of the one or more processors to perform the steps of the shared device rental method of the second aspect.
In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of any of the asynchronous system implementation methods described in the first aspect.
Through the implementation of the above aspects, in the process of renting the shared equipment, the process of the user experiencing the renting service is taken as the main process, the cooperation of the rented equipment is improved, the rented equipment which needs to be operated by the user on the screen is automatically operated by the third-party equipment and the background by means of the original computing capacity of the third-party equipment and the server, the participation degree of the user in the whole renting action is reduced, the user does not sense, the fluency of shared renting experience is greatly improved, and meanwhile, because the third-party equipment and the shared equipment are mutually independent, the shared equipment cannot normally work when the third-party equipment and the shared equipment are not connected; when any third-party device meeting the requirement is in communication connection with the shared device, the third-party device activates the shared device and confirms the leasing qualification of the user at the same time, and the complete leasing function of the shared device can be carried out only after the third-party device meets the leasing qualification, so that the shared device can normally work.
Drawings
The above features, technical features, advantages and implementations of the asynchronous system implementation method, the computer device and the storage medium will be further explained in a clear and understandable manner with reference to the accompanying drawings.
FIG. 1 is a flowchart of a method for leasing a shared device according to an embodiment of the present invention;
FIG. 2 is a flowchart of another method for leasing a shared device according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a computer device for implementing shared device leasing according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer device for implementing shared device leasing according to an embodiment of the present invention.
Detailed Description
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description will be made with reference to the accompanying drawings. It is obvious that the drawings in the following description are only some examples of the invention, and that for a person skilled in the art, other drawings and embodiments can be derived from them without inventive effort.
For the sake of simplicity, the drawings only schematically show the parts relevant to the present invention, and they do not represent the actual structure as a product. In addition, in order to make the drawings concise and understandable, components having the same structure or function in some of the drawings are only schematically illustrated or only labeled. In this document, "one" means not only "only one" but also a case of "more than one".
Because the existing third-party equipment, especially the mobile terminal frequently used by the user at present, has strong computing power, but the existing shared equipment renting business only undertakes the operation of order issuing by the user, the secondary function role of the user order information collecting and uploading server, and the control logic of the rented shared equipment is executed by the computing unit placed on the rented shared equipment, during the renting service generating process, the equipment burden of the rented shared equipment is greatly increased, for example, the design of more sensing equipment, network hardware, navigation equipment, more control logic and the like is increased, the hardware and software cost of the shared equipment and the difficulty in the developing and debugging process are increased, and the shared equipment is easy to generate module or component faults because the shared equipment is often in an unattended state, the shared device cannot be used, and the operation cost of the whole shared system is caused.
Based on the above technical problem, an embodiment of the present invention, as shown in fig. 1, provides a method for leasing shared devices, which is applied to a third-party device, and includes:
s1, when connection with a console of the sharing equipment is established, automatic connection with the sharing equipment is carried out;
in this embodiment, a user places a third-party device, such as a mobile terminal (a mobile phone, an IPAD, or other portable device), in the sharing device, such as a scooter machine, and places the mobile terminal on a console of the scooter machine entity to be in communication connection with a central gateway module of the scooter machine.
The communication connection mode comprises a wireless mode: such as BLUETOOTH, near field communication NFC; the wired mode comprises the following steps: if the USB is connected, the mobile terminal runs and starts an automatic connection program: preferably, the voice prompts the user to retry if the connection fails, sends a connection success signal if the connection succeeds, and sends a connection success signal when the machine entity is connected, wherein the signal contains the unique ID of the connected machine entity; and meanwhile, continuously running and monitoring the connection state of the two devices, and sending a connection disconnection signal when the two devices are disconnected from the car substitute machine entity, wherein the signal contains the unique ID of the disconnected machine entity.
S2, when the connection is successful, detecting whether the user logs in, and if the user logs in, detecting lease qualification information of the user;
preferably, the detecting rental qualification information of the user specifically includes:
and inquiring the rental server whether the user pays a deposit, if not, prompting the user to pay the deposit, and returning confirmation information to the rental server after the deposit is paid.
Preferably, if the user does not log in, the third-party equipment controls the screen of the third-party equipment to enter a login page, prompts the user to log in on the screen or prompts the user to log in by voice at the same time, and inquires whether the deposit is paid or not after the login is successful; when the user logs in, the third-party device checks whether the user pays the deposit to the lease server.
If the deposit is not paid, the third-party equipment controls the screen to enter a deposit payment page, prompts the user to pay the deposit on the screen and prompts the user to pay the deposit through voice, and starts monitoring whether a connection disconnection signal is generated within the following preset time, such as 15s or 30s, after the deposit is successfully paid;
if the payment is made, directly starting to monitor whether a disconnection signal is generated within the following preset time, such as 15s or 30 s;
s3, determining the leasing intention of the user according to the connection state of the user and the shared equipment, and sending leasing information to a leasing server when the user has leasing qualification so that the leasing server generates leasing data according to the leasing information;
when the third-party equipment fails to establish connection with the shared equipment or the connection fails, the central gateway module of the shared equipment or the control device connected with the console is in a locked state and cannot be activated, the whole shared equipment cannot work, and only after the third-party equipment establishes connection with the shared equipment, the subsequent leasing step can be activated.
Therefore, in this embodiment, the third-party device and the sharing device are originally in a mutually independent state, and when the third-party device and the sharing device are not connected, the sharing device system cannot work normally; the shared equipment is activated and added into the rented complete system only after the third-party equipment with the activation function is in entity contact connection or wireless communication connection with the shared equipment, and the subsequent rented complete process can be activated and normally operated only when the user has the renting qualification.
Preferably, the sending the rental information to the rental server, so that the generating of the rental data by the rental server according to the rental information specifically includes:
the leasing server generates leasing data according to the leasing information, wherein the leasing data comprises leasing starting time and order number of the shared equipment by the user.
And if the disconnection signal is not generated within a preset time, such as 30s, confirming that the user has lease intention, and the user has lease qualification, such as payment of deposit, or the last payment is completed when the user information is complete, such as binding of third-party WeChat, Payment treasure or Unionpay, etc., the lease action starts, and the third-party device sends lease information to the lease server through the communication network, wherein the lease information comprises the sending time of the lease information, the unique ID of the machine entity of the connected shared device, the unique ID of the current user, etc., and the sending time of the lease information is used as the time for the start of lease.
And after receiving the leasing information, the leasing server determines that the shared equipment is leased, generates leasing data according to the unique ID of the machine entity of the shared equipment and the unique ID of the current user, and records that the unique ID of the machine entity of the leased shared equipment, the unique ID of the current user, the leasing starting time and the payment state are 'unpaid', and simultaneously generates an order number.
And S4, when the connection with the sharing equipment is disconnected, sending lease update information to the lease server so that the lease server generates order payment information and sends the order payment information to the third-party equipment for order payment.
Preferably, when the third-party device is disconnected from the shared device, sending rental update information to the rental server, so that the rental server generates order payment information and sends the order payment information to the third-party device for order payment specifically includes:
the lease update information comprises the time of disconnection, so that the lease server produces order payment information according to the lease data and the lease update information and issues the order payment information to the third-party equipment;
and the third-party equipment sends a payment prompt to the user according to the order payment information.
When the user normally uses the shared device, such as a scooter machine, the communication connection between a third-party device, such as a mobile terminal, and the scooter machine should be maintained all the time during the use;
once the user finishes using the car substitute, the mobile terminal is taken away from the control console of the car substitute entity; at this time, the communication connection between the mobile terminal and the scooter machine is disconnected.
Preferably, in a certain situation, the third party device, for example, the mobile terminal, continuously monitors whether a connection success signal is generated again within a subsequent preset time period, for example, 10S, 15S or 30S; if the connection success signal is generated, the leasing behavior is still kept, and the leasing is not finished.
If the successful connection signal is not generated within the preset time range, determining that the lease action is finished, sending a connection disconnection signal (lease finishing signal) to the lease server through the network, namely sending lease update information, wherein the lease update information comprises the time of disconnection, and meanwhile, after receiving the lease update information, judging that the lease finishing signal is received by the lease server, and generating order payment information according to the time of disconnection, the unique ID of the machine entity, the unique ID of the current user and the inquiry of the order number of the current time;
and the leasing server sends order payment information to the third-party equipment through a wireless communication network so as to enable the third-party equipment to pay.
The third-party equipment receives the order payment information, controls a screen of the third-party equipment to enter a fee payment page, and prompts or simultaneously prompts a user to pay the lease fee in a voice mode; the user may choose to pay immediately or subsequently.
It can be seen from the above embodiments that, in the embodiments of the present invention, a third-party device, such as a mobile terminal, is used to replace a hardware facility and logic control of a leased shared device, so that a machine system structure of the shared device is greatly simplified, a machine system complexity is reduced, a machine system reliability and maintainability are improved, and a machine cost is reduced; and the performance of the third-party mobile terminal is expanded, and the functions and the performance of the equipment can be greatly enhanced.
In addition, from the perspective of the user, the leasing behavior of the user is acquired by a third-party device, such as a mobile terminal, the third-party device performs automatic connection and leasing behavior monitoring by monitoring the connection state with the shared device, for example, the leasing behavior intention and the leasing start or end time of the user are acquired, once the leasing behavior starts, the leasing action is automatically completed by using information interaction with the leasing server, the participation degree of the user is greatly reduced, and the user experience is improved.
As shown in fig. 2, another method for sharing device rental is provided in an embodiment of the present invention, which is applied to a rental server, and includes:
s100, when leasing information of the shared equipment, which is sent by third-party equipment, is received, leasing data are generated;
and after receiving the leasing information, the leasing server determines that the shared equipment is leased, generates leasing data according to the unique ID of the machine entity of the shared equipment and the unique ID of the current user, and records that the unique ID of the machine entity of the leased shared equipment, the unique ID of the current user, the leasing starting time and the payment state are 'unpaid', and also comprises a generated order number.
Preferably, the lease information includes a user ID, a shared device ID, and sending time of the lease information, which are obtained when the third-party device is connected to the shared device; the rental update information includes a time of disconnection.
In fact, the lease data includes lease start time and order number of the user to the shared device, the lease information is that the third-party device determines the lease intention of the user according to the connection state with the shared device, and when the user has lease qualification (for example, the user has paid a deposit, and the user information and payment account are determined, for example, by using third-party payment such as WeChat, Payment treasure or Unionpay binding), the user ID, the shared device ID, and the shared lease start time are sent to the server.
Through the acquisition of the complete information and the pushing to the server, the management of the leasing behavior of each user to each device can be completely managed from the server perspective, the running state, the order state and the payment state of all the devices can be conveniently known, the system management efficiency is improved, and the good running of the whole leasing system is facilitated.
S200, when lease update information sent by the third-party equipment is received, according to the lease data and the lease update information, order payment information is generated and sent to the third-party equipment for order payment, and the lease update information is information sent to the lease server when the third-party equipment is disconnected from the shared equipment.
Preferably, the generating order payment information according to the lease information and the lease update information and sending the order payment information to the third-party device for order payment specifically includes:
and calculating the expense of the lease according to the ID of the user, the ID of the shared equipment, the lease starting time, the time of disconnection and the order number, and sending order payment information containing the unpaid state to the third-party equipment.
When the third-party equipment confirms that the leasing action is finished, sending a connection disconnection signal (a leasing finishing signal) to the leasing server through the network, namely sending leasing updating information, wherein the leasing updating information comprises connection disconnection time, and meanwhile, after receiving the leasing updating information, the leasing server judges that the leasing finishing signal is received, and then generating order payment information according to the connection disconnection time, the unique ID of the machine entity, the unique ID of the current user and the inquiry of the order number of the current time;
and the leasing server sends order payment information to the third-party equipment through a wireless communication network so as to enable the third-party equipment to pay.
The third-party equipment receives the order payment information, controls a screen of the third-party equipment to enter a fee payment page, and prompts or simultaneously prompts a user to pay the lease fee in a voice mode; the user may choose to pay immediately or subsequently.
Through the technical characteristics, the leasing server judges the end of the leasing action by means of the third-party equipment, obtains the time of the end of the leasing, obtains the leasing order of each user by the obtained order number, the user ID, the ID of the leased sharing equipment, the time of the start of the leasing and the payment state, generates accurate order payment information after obtaining the leasing information, pays for the user and can conveniently maintain the system.
Once the user fails to pay directly, the next lease action cannot occur, or the payment is automatically carried out through a deposit or a third-party payment path, so that the safety and maintainability of the shared device lease are ensured. Meanwhile, in the leasing process, the operation of the user can be minimized, for example, only a complete payment action is carried out, and the rest is completed by the cooperation of the third-party equipment and the server, so that the use experience of the user is fully improved.
Fig. 3 is a schematic physical structure diagram of a computer device according to an embodiment of the present invention, where the computer device is installed in a third-party device, such as a mobile terminal, a portable computer, an IPAD, and the like, and as shown in fig. 3, the server may include: a processor (processor)610, a communication Interface (Communications Interface)620, a memory (memory)630 and a communication bus 640, wherein the processor 610, the communication Interface 620 and the memory 630 communicate with each other via the communication bus 640. The processor 610 may call logic instructions in the memory 630 to perform the following method: when the connection with the console of the sharing equipment is established, the automatic connection with the sharing equipment is carried out; when the connection is successful, detecting whether the user logs in, and if the user logs in, detecting the lease qualification information of the user; determining the leasing intention of the user according to the connection state of the shared equipment, and sending leasing information to a leasing server when the user has leasing qualification so that the leasing server generates leasing data according to the leasing information; and when the shared equipment is disconnected, sending lease update information to the lease server so that the lease server generates order payment information and sends the order payment information to the third-party equipment for order payment.
A communication bus 640 is a circuit that connects the described elements and enables transmission between the elements. For example, the processor 610 receives commands from other elements through the communication bus 640, decrypts the received commands, and performs calculations or data processing according to the decrypted commands. The memory 630 may include program modules such as a kernel (kernel), middleware (middleware), an Application Programming Interface (API), and an Application program. The program modules may be comprised of software, firmware or hardware, or at least two of the same. Communication interface 620 connects the computer device with other network devices, clients, mobile devices, networks. For example, the communication interface 620 may be connected to a network by wire or wirelessly to connect to external other network devices or user devices. The wireless communication may include at least one of: wireless fidelity (WiFi), Bluetooth (BT), Near Field Communication (NFC), Global Positioning Satellite (GPS) and cellular communications, among others. The wired communication may include at least one of: universal Serial Bus (USB), high-definition multimedia interface (HDMI), asynchronous transfer standard interface (RS-232), and the like. The network may be a telecommunications network and a communications network. The communication network may be a computer network, the internet of things, a telephone network. The computer device may connect to the network through communication interface 620, and the protocol by which the computer device communicates with other network devices may be supported by at least one of an application, an Application Programming Interface (API), middleware, a kernel, and communication interface 620.
Fig. 4 is a schematic physical structure diagram of a computer device according to an embodiment of the present invention, where the computer device is installed in a rental server, and as shown in fig. 4, the server may include: a processor (processor)910, a communication Interface (Communications Interface)920, a memory (memory)930, and a communication bus 940, wherein the processor 910, the communication Interface 920, and the memory 930 communicate with each other via the communication bus 940. Processor 910 may invoke logic instructions in memory 930 to perform the following method: when lease information of the shared equipment, which is sent by third-party equipment, is received, generating lease data, wherein the lease data comprise lease starting time and order number of the shared equipment by the user, and the lease information is information which is sent to a lease server after the third-party equipment determines the lease intention of the user according to the connection state of the third-party equipment and the shared equipment and when the user has lease qualification; and when lease update information sent by the third-party equipment is received, generating order payment information according to the lease data and the lease update information, and sending the order payment information to the third-party equipment for order payment, wherein the lease update information is information sent to the lease server when the third-party equipment is disconnected from the shared equipment.
A communication bus 940 is a circuit that connects the described elements and enables transmission between the elements. For example, the processor 910 receives commands from other elements through the communication bus 940, decrypts the received commands, and performs calculations or data processing according to the decrypted commands. The memory 930 may include program modules such as a kernel (kernel), middleware (middleware), an Application Programming Interface (API), and an Application program. The program modules may be comprised of software, firmware or hardware, or at least two of the same. Communication interface 920 connects the computer device with other network devices, clients, mobile devices, networks. For example, the communication interface 920 may be connected to a network by wire or wirelessly to connect to external other network devices or user devices. The wireless communication may include at least one of: wireless fidelity (WiFi), Bluetooth (BT), Near Field Communication (NFC), Global Positioning Satellite (GPS) and cellular communications, among others. The wired communication may include at least one of: universal Serial Bus (USB), high-definition multimedia interface (HDMI), asynchronous transfer standard interface (RS-232), and the like. The network may be a telecommunications network and a communications network. The communication network may be a computer network, the internet of things, a telephone network. The computer device may connect to the network through communication interface 920, and protocols by which the computer device communicates with other network devices may be supported by at least one of an application, an Application Programming Interface (API), middleware, a kernel, and communication interface 920.
Further, embodiments of the present invention disclose a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, which when executed by a computer, the computer is capable of performing the methods provided by the above-mentioned method embodiments, for example, comprising: when lease information of the shared equipment, which is sent by third-party equipment, is received, generating lease data, wherein the lease data comprise lease starting time and order number of the shared equipment by the user, and the lease information is information which is sent to a lease server after the third-party equipment determines the lease intention of the user according to the connection state of the third-party equipment and the shared equipment and when the user has lease qualification; and when lease update information sent by the third-party equipment is received, generating order payment information according to the lease data and the lease update information, and sending the order payment information to the third-party equipment for order payment, wherein the lease update information is information sent to the lease server when the third-party equipment is disconnected from the shared equipment.
Further, an embodiment of the present invention provides a non-transitory computer-readable storage medium storing computer instructions, which cause the computer to perform the method provided by the above method embodiments, for example, including: when lease information of the shared equipment, which is sent by third-party equipment, is received, generating lease data, wherein the lease data comprise lease starting time and order number of the shared equipment by the user, and the lease information is information which is sent to a lease server after the third-party equipment determines the lease intention of the user according to the connection state of the third-party equipment and the shared equipment and when the user has lease qualification; and when lease update information sent by the third-party equipment is received, generating order payment information according to the lease data and the lease update information, and sending the order payment information to the third-party equipment for order payment, wherein the lease update information is information sent to the lease server when the third-party equipment is disconnected from the shared equipment.
Those of ordinary skill in the art will understand that: in addition, the logic instructions in the memory may be implemented in the form of software functional units and may be stored in a computer readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-described embodiments of the apparatus are merely illustrative, and 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 modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solution of the present invention, but not for limiting the same, and the above embodiments can be freely combined as required; 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; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention. Without departing from the principle of the invention, several improvements and modifications can be made, and these improvements and modifications should also be construed as the scope of the invention.

Claims (10)

1. A leasing method of a shared device is applied to a third-party device, and comprises the following steps:
when the connection with the console of the sharing equipment is established, the automatic connection with the sharing equipment is carried out;
when the connection is successful, detecting whether the user logs in, and if the user logs in, detecting the lease qualification information of the user;
determining the leasing intention of the user according to the connection state of the shared equipment, and sending leasing information to a leasing server when the user has leasing qualification so that the leasing server generates leasing data according to the leasing information;
and when the shared equipment is disconnected, sending lease update information to the lease server so that the lease server generates order payment information and sends the order payment information to the third-party equipment for order payment.
2. The method for leasing shared devices according to claim 1, wherein said detecting the leasing qualification information of the user specifically comprises:
and inquiring the rental server whether the user pays a deposit, if not, prompting the user to pay the deposit, and returning confirmation information to the rental server after the deposit is paid.
3. The method for leasing shared devices according to claim 2, wherein the step of sending lease information to a lease server so that the lease server generates lease data according to the lease information specifically comprises:
the leasing server generates leasing data according to the leasing information, wherein the leasing data comprises leasing starting time and order number of the shared equipment by the user.
4. The method for leasing shared devices according to claim 3, wherein the step of sending lease update information to the lease server when the shared devices are disconnected so that the lease server generates order payment information and sends the order payment information to the third-party device for order payment specifically comprises the steps of:
the lease update information comprises the time of disconnection, so that the lease server produces order payment information according to the lease data and the lease update information and issues the order payment information to the third-party equipment;
and sending a payment prompt to the user according to the order payment information.
5. A leasing method of a shared device is applied to a server and comprises the following steps:
when lease information of the shared equipment, which is sent by third-party equipment, is received, generating lease data, wherein the lease data comprise lease starting time and order number of the shared equipment by the user, and the lease information is information which is sent to a lease server after the third-party equipment determines the lease intention of the user according to the connection state of the third-party equipment and the shared equipment and when the user has lease qualification;
and when lease update information sent by the third-party equipment is received, generating order payment information according to the lease data and the lease update information, and sending the order payment information to the third-party equipment for order payment, wherein the lease update information is information sent to the lease server when the third-party equipment is disconnected from the shared equipment.
6. The method for leasing shared equipment according to claim 5, wherein the leasing information comprises a user ID, a shared equipment ID and sending time of the leasing information, which are obtained when the third-party equipment is connected with the shared equipment; the rental update information includes a time of disconnection.
7. The method for leasing shared devices according to claim 6, wherein the step of generating order payment information according to the lease information and lease update information and sending the order payment information to the third-party device for order payment specifically comprises:
and calculating the expense of the lease according to the ID of the user, the ID of the shared equipment, the lease starting time, the time of disconnection and the order number, and sending order payment information containing the unpaid state to the third-party equipment.
8. A computer device for enabling shared device leasing, the computer device comprising:
one or more processors;
one or more memories;
one or more modules stored in a memory and capable of being executed by at least one of the one or more processors to perform the steps of the shared device rental method of any of claims 1-4.
9. A computer device for enabling shared device leasing, the computer device comprising:
one or more processors;
one or more memories;
one or more modules stored in a memory and capable of being executed by at least one of the one or more processors to perform the steps of the shared device rental method of any of claims 5-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the asynchronous system implemented method according to any one of claims 5 to 7.
CN201910964498.6A 2019-10-11 2019-10-11 Shared device leasing method, computer device and storage medium Active CN110689413B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910964498.6A CN110689413B (en) 2019-10-11 2019-10-11 Shared device leasing method, computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910964498.6A CN110689413B (en) 2019-10-11 2019-10-11 Shared device leasing method, computer device and storage medium

Publications (2)

Publication Number Publication Date
CN110689413A true CN110689413A (en) 2020-01-14
CN110689413B CN110689413B (en) 2021-11-05

Family

ID=69112179

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910964498.6A Active CN110689413B (en) 2019-10-11 2019-10-11 Shared device leasing method, computer device and storage medium

Country Status (1)

Country Link
CN (1) CN110689413B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030097742A (en) * 2003-11-27 2003-12-31 정운영 Relay service method for delivery
CN106097590A (en) * 2016-06-17 2016-11-09 浙江右边数字科技有限公司 Electric bicycle rental system and control method
CN108320223A (en) * 2018-04-11 2018-07-24 陈成 Shared device systems, method based on Internet of Things remote control and shared air cleaner equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030097742A (en) * 2003-11-27 2003-12-31 정운영 Relay service method for delivery
CN106097590A (en) * 2016-06-17 2016-11-09 浙江右边数字科技有限公司 Electric bicycle rental system and control method
CN108320223A (en) * 2018-04-11 2018-07-24 陈成 Shared device systems, method based on Internet of Things remote control and shared air cleaner equipment

Also Published As

Publication number Publication date
CN110689413B (en) 2021-11-05

Similar Documents

Publication Publication Date Title
KR101802264B1 (en) Method for sharing virtual sim card by multiple terminals, terminals, server, and system
EP3654618B1 (en) Audio broadcasting method, device, and system, and smart broadcasting apparatus
CN103841134B (en) Based on API transmission, the method for receive information, apparatus and system
CN104636924B (en) Secure payment method, server and system
US20210400150A1 (en) Pair-the-plan system for devices and method of use
WO2011150782A1 (en) Method, device and system for configuring wireless fidelity (wifi) parameter
CN104574080A (en) Safe payment method as well as related equipment and system
CN106792473B (en) Bluetooth connection method and system, mobile terminal and vehicle-mounted equipment
WO2015184924A1 (en) Method for implementing remote assistance between terminals, service assistance server and device
CN105635124A (en) Flow control method and device
CN103841080A (en) Called number completion method, device and system
CN110689413B (en) Shared device leasing method, computer device and storage medium
EP3183702B1 (en) Information exchange method and apparatus
CN111147358A (en) Security authentication method and device based on instant messaging software
US8451993B2 (en) Dial-up connection method and device of mobile data terminal
RU2532875C2 (en) Service presentation method, device and system
CN112637121B (en) Data port updating method and device, electronic equipment and readable storage medium
CN112819479A (en) Order state processing method and device, storage medium and server
CN104519470B (en) Short message processing method and device and prepayment authentication method and device
US9088489B2 (en) Simplified activation and management of wireless wide area network (WWAN) account
CN107623747A (en) A kind of data transmission method, equipment and system
CN117236960A (en) Payment method, system, equipment and storage medium
EP4224808A1 (en) Device upgrade control method and apparatus, and computer device and storage medium
CN111242605B (en) Mobile payment method
US20140372270A1 (en) System and Method for Balance Requests

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant