CN115170252A - Software leasing method based on WeChat open platform, user side and server - Google Patents

Software leasing method based on WeChat open platform, user side and server Download PDF

Info

Publication number
CN115170252A
CN115170252A CN202211087637.XA CN202211087637A CN115170252A CN 115170252 A CN115170252 A CN 115170252A CN 202211087637 A CN202211087637 A CN 202211087637A CN 115170252 A CN115170252 A CN 115170252A
Authority
CN
China
Prior art keywords
software
leasing
lease
open platform
server
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
CN202211087637.XA
Other languages
Chinese (zh)
Other versions
CN115170252B (en
Inventor
毕建军
邱小斌
谢丹
邸永香
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zhongheng Lihua Petroleum Technology Research Institute
Original Assignee
Beijing Zhongheng Lihua Petroleum Technology Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zhongheng Lihua Petroleum Technology Research Institute filed Critical Beijing Zhongheng Lihua Petroleum Technology Research Institute
Priority to CN202211087637.XA priority Critical patent/CN115170252B/en
Publication of CN115170252A publication Critical patent/CN115170252A/en
Application granted granted Critical
Publication of CN115170252B publication Critical patent/CN115170252B/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
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/12Payment architectures specially adapted for electronic shopping systems
    • G06Q20/123Shopping for digital content
    • 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/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0283Price estimation or determination
    • G06Q30/0284Time or distance, e.g. usage of parking meters or taximeters
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/865Monitoring of software

Abstract

The invention discloses a software leasing method based on a WeChat open platform, a user side and a server. According to the software leasing method and the software leasing system, the software leasing user side, the WeChat open platform and the software leasing server are subjected to information interaction, and the running state information sent to the software leasing server by the software leasing user side between the software starting instruction and the software stopping instruction is collected, so that the leasing cost calculation is realized, and the technical problems that the huge cost is required to be invested for environment establishment in the existing product leasing mode, and the software leasing service with low cost, high efficiency and accurate charging cannot be provided are solved.

Description

Software leasing method based on WeChat open platform, user side and server
Technical Field
The invention relates to the technical field of software leasing, in particular to a software leasing method based on a WeChat open platform, a user side and a server.
Background
Currently, in the related art, the software leasing modes include: an application service provider mode, a product rental mode, a client rental mode, a host hosting mode, and the like.
The application service provider model is a service model in which application systems running on their own servers are leased to companies that need to use the application systems via the Internet or a virtual private network to collect a rental fee. The product leasing mode is that a software developer leases software produced by the software developer to a user for use, the leased software is installed and operated in a user environment, the software developer regularly maintains and upgrades the software, and daily management is finished by the user. The client leasing mode mainly means that the main part of software is at a server side of a leasing merchant, each client must download one client if needing to use the software, login verification needs to be carried out from the client every time the client uses the software, the client is responsible for verifying the authority of the client and recording the use time, and the client can pay a lease fee according to the use time. The host hosting mode is that a user submits a server of the user to a server space of a leaser manager or a user leases a service provider, the service provider develops and installs software on the server according to the requirement of the user, the software is used by the user, and the daily maintenance is taken charge of by the service provider.
The product leasing mode is very friendly to users when desktop application software is leased, can be used as required, and saves cost. However, for software renters, in order to realize reliable software renting, huge cost must be invested to establish a software renting environment.
Disclosure of Invention
The invention mainly aims to provide a software leasing method, a user side and a server based on a WeChat open platform, and aims to solve the technical problems that huge cost needs to be invested in building an environment of a product leasing mode at present, and software leasing service with low cost, high efficiency and accurate charging cannot be provided.
The invention provides a software leasing method based on a WeChat open platform, which is used for a software leasing user side and comprises the following steps:
if the target software starts to run, sending lease information to a software lease server so that the software lease server feeds back a lease starting instruction according to the lease information;
when a lease starting instruction is received, acquiring running state information of target software, and periodically sending the running state information to a software lease server;
and if the target software stops running, sending lease stop information to the software lease server so that the software lease server deducts software lease cost according to the running state information received when the target software starts running.
Optionally, the software leasing user side is in communication connection with the wechat open platform, and the target software is provided with a pulser; if the target software is started to run, sending lease information to a software lease server so that the software lease server feeds back a lease starting instruction according to the lease information, wherein the method specifically comprises the following steps:
if the target software is started to operate, driving a pulsar to send a software starting instruction to the WeChat open platform so that the WeChat open platform feeds back identification information of a software renter according to the software starting instruction;
determining a software leasing provider of the target software according to the identification information;
and driving the pulsar to send lease information to a software lease server of the software lease provider so that the software lease server feeds back a lease starting instruction according to the lease information.
Optionally, the step of obtaining the running state information of the target software when the lease start instruction is received, and periodically sending the running state information to the software lease server includes:
when a lease starting instruction is received, driving the pulser to acquire the running state of target software, and periodically sending the running state information to a software lease server;
the running state information comprises an identification number of target software, an identification number of a user on a WeChat open platform, an identification number of a software leasing user side, a sending period and a first sending password.
Optionally, if the target software stops operating, sending lease stop information to the software lease server, so that the software lease server deducts the software lease fee according to the operating state information received when the target software starts operating, specifically including:
if the target software stops running, driving the pulsar to send lease stop information to a software lease server so that the software lease server deducts software lease cost according to running state information received when the target software starts running;
the lease stop information comprises an identification number of target software, an identification number of a user on the WeChat open platform, an identification number of a software lease user side, a sending period and a second sending password.
In a second aspect of the present invention, a software leasing method based on a WeChat open platform is provided, which is used for a software leasing server, and the method includes the following steps:
when receiving lease information sent by a software lease user side, generating a lease starting instruction according to the lease information, and feeding the lease starting instruction back to the software lease user side;
establishing a timer corresponding to the software leasing user side, and updating the timer when receiving the running state information sent by the software leasing user side;
and when the lease stop information sent by the software lease user side is received, reading the software running time recorded by the timer, and deducting the software lease cost according to the software running time.
Optionally, the software leasing server is connected to the wechat open platform in a communication manner, and the method further includes:
sending an installation package of target software to the WeChat open platform so that a software leasing user side downloads and installs the installation package from the WeChat open platform;
and sending the identification information of the software leasing provider to the WeChat open platform so that the WeChat open platform feeds back the identification information of the software leasing provider to the software leasing user side when receiving the software starting instruction.
Optionally, the running state information includes an identification number of the target software, an identification number of the user on the wechat open platform, an identification number of the software leasing user side, a sending period, and a first sending password; when the running state information sent by the software leasing user side is received, the step of updating the timer specifically comprises the following steps:
when receiving running state information sent by a software leasing user side, determining a timer updating password according to an identification number of target software, an identification number of a user on a WeChat open platform, an identification number of the software leasing user side and a sending period;
and judging whether the timer updating password is the same as the first sending password or not, and if so, updating the timer.
Optionally, the lease stop information includes an identification number of the target software, an identification number of the user on the wechat open platform, an identification number of the software lease user side, a sending period, and a second sending password; the step of reading the software running time recorded by the timer when the lease stop information sent by the software lease user side is received specifically comprises the following steps:
when lease stop information sent by a software lease user side is received, determining a timer stop password according to the identification number of the target software, the identification number of the user on the WeChat open platform, the identification number of the software lease user side and a sending period;
and judging whether the timer stop password is the same as the second sending password or not, and reading the software running time recorded by the timer if the timer stop password is the same as the second sending password.
In a third aspect of the present invention, a software leasing apparatus based on a WeChat open platform is provided, configured at a software leasing user side, and the software leasing apparatus includes:
the sending module is used for sending lease information to the software lease server if the target software is started to run so that the software lease server feeds back a lease starting instruction according to the lease information;
the software leasing system comprises an acquisition module, a software leasing server and a software leasing module, wherein the acquisition module is used for acquiring running state information of target software when a leasing starting instruction is received and sending the running state information to the software leasing server at regular intervals;
and the stopping module is used for sending lease stopping information to the software lease server if the target software stops running so that the software lease server deducts the software lease fee according to the running state information received when the target software starts running.
In a fourth aspect of the present invention, there is provided a software rental apparatus based on a wechat open platform, the software rental apparatus being configured in a software rental server, the software rental apparatus including:
the software leasing system comprises a generating module, a software leasing client and a control module, wherein the generating module is used for generating a leasing starting instruction according to leasing information when the leasing information sent by the software leasing client is received, and feeding the leasing starting instruction back to the software leasing client;
the creating module is used for creating a timer corresponding to the software leasing user side and updating the timer when receiving the running state information sent by the software leasing user side;
and the charging module is used for reading the software running time recorded by the timer when the lease stop information sent by the software lease user side is received, and deducting the software lease fee according to the software running time.
In a fifth aspect of the present invention, a software rental client is provided, comprising: the software leasing method program based on the WeChat open platform realizes the steps of the software leasing method based on the WeChat open platform for the software leasing user side when being executed by the processor.
In a sixth aspect of the present invention, a storage medium is provided, where the storage medium stores a software leasing method program based on a wechat open platform, and when the software leasing method program based on the wechat open platform is executed by a processor, the steps of the software leasing method based on the wechat open platform for a software leasing user side as described above are implemented.
In a seventh aspect of the present invention, there is provided a software rental server, comprising: the software leasing method program based on the WeChat open platform realizes the steps of the software leasing method based on the WeChat open platform for the software leasing server when being executed by the processor.
In an eighth aspect of the present invention, a storage medium is provided, where the storage medium stores a software leasing method program based on a wechat open platform, and when the software leasing method program based on the wechat open platform is executed by a processor, the steps of the software leasing method based on the wechat open platform for the software leasing server as described above are implemented.
The ninth aspect of the invention provides a software leasing system based on a WeChat open platform, which comprises the software leasing user side, the software leasing server and the WeChat open platform; the software leasing user side, the software leasing server and the micro-trusted open platform are in communication connection.
The software leasing method based on the WeChat open platform, the user side and the server provided by the embodiment of the invention comprise the steps that the software leasing user side acquires a software leasing provider of target software on the WeChat open platform, and sends a software starting instruction to a software leasing server corresponding to the software leasing provider, so that the software leasing server drives the target software to acquire running state information, and deducts software leasing cost according to the running state information sent by the target software between the software starting instruction and the software stopping instruction. According to the invention, through information interaction among the software leasing user side, the WeChat open platform and the software leasing server, the running state information sent to the software leasing server by the software leasing user side between the software starting instruction and the software stopping instruction is collected, so that the leasing cost calculation is realized, and the technical problems that the huge cost is required for building the environment in the current product leasing mode, and the software leasing service with low cost, high efficiency and accurate charging cannot be provided are solved.
Drawings
Fig. 1 is a schematic structural diagram of a software leasing system based on a WeChat open platform according to the present invention.
Fig. 2 is a schematic structural diagram of the wechat open platform, the software leasing client and the software leasing server according to the present invention.
FIG. 3 is a first flowchart of a software leasing method according to the present invention.
FIG. 4 is a second flowchart of a software leasing method according to the present invention.
FIG. 5 is a schematic diagram illustrating a software leasing method based on a WeChat open platform according to the present invention.
Fig. 6 is a first structural block diagram of a software leasing apparatus based on a wechat open platform according to the present invention.
Fig. 7 is a second structural block diagram of a software leasing apparatus based on a WeChat open platform according to the present invention.
Description of the reference numerals:
1-desktop software products; 2-a pulsometer; 3-WeChat open platform; 4-software leasing server; 5-a timer.
The implementation, functional features and advantages of the present invention will be further described with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Currently, in the related art, the software leasing modes include: the desktop application software renting method comprises an application service provider mode, a product renting mode, a client renting mode, a host computer hosting mode and the like, wherein the product renting mode is very user-friendly when desktop application software is rented, the desktop application software can be used as required, and cost is saved. However, for software renters, in order to realize reliable software renting, huge cost must be invested to establish a software renting environment.
In order to solve the problem, various embodiments of the software leasing method based on the WeChat open platform are provided. The software leasing method based on the WeChat open platform provided by the invention collects the running state information sent to the software leasing server by the software leasing user side between the software starting instruction and the software stopping instruction through the information interaction among the software leasing user side, the WeChat open platform and the software leasing server, so as to realize the calculation of the leasing cost, and solve the technical problems that the huge cost is required to be invested in the environment establishment of the existing product leasing mode, and the software leasing service with low cost, high efficiency and accurate charging cannot be provided.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a software leasing system based on a WeChat open platform according to an embodiment of the present invention.
In this embodiment, the software leasing system based on the wechat open platform includes a wechat open platform 100, a software leasing user side 200 and a software leasing server 300; the wechat open platform 100, the software leasing user side 200 and the software leasing server 300 are in communication connection, and jointly implement a software leasing process.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a wechat open platform, a software rental client, and a software rental server according to an embodiment of the present invention.
The wechat open platform, the software rental User end, and the software rental server may be Mobile phones, smart phones, laptops, digital broadcast receivers, personal Digital Assistants (PDAs), user Equipment (UE) such as a PAD, handheld devices, vehicle mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, mobile Stations (MSs), and the like. The device may be referred to as a user terminal, portable terminal, desktop terminal, etc.
Generally, the WeChat open platform, the software leasing user side and the software leasing server comprise: at least one processor 301, a memory 302, and a wechat open platform based software rental method program stored on the memory and executable on the processor, the wechat open platform based software rental method program configured to implement the steps of the wechat open platform based software rental method.
The processor 301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 301 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 301 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 301 may be integrated with a GPU (Graphics Processing Unit) that is responsible for rendering and drawing content that the display screen needs to display. The processor 301 may further include an AI (Artificial Intelligence) processor for processing operations related to the wechat-based open platform software rental method, so that the model of the wechat-based open platform software rental method can be trained and learned autonomously, thereby improving efficiency and accuracy.
Memory 302 may include one or more computer-readable storage media, which may be non-transitory. Memory 302 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 302 is used to store at least one instruction for execution by processor 301 to implement the wechat open platform based software rental method provided by method embodiments herein.
In some embodiments, the terminal may further include: a communication interface 303 and at least one peripheral device. The processor 301, the memory 302 and the communication interface 303 may be connected by a bus or signal lines. Various peripheral devices may be connected to communication interface 303 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 304, a display screen 305, and a power source 306.
The communication interface 303 may be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 301 and the memory 302. The communication interface 303 is used for receiving the movement tracks of the plurality of mobile terminals uploaded by the user and other data through the peripheral device. In some embodiments, processor 301, memory 302, and communication interface 303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 301, the memory 302 and the communication interface 303 may be implemented on a single chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 304 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The rf circuit 304 communicates with a communication network and other communication devices through electromagnetic signals, so as to obtain the movement tracks and other data of a plurality of mobile terminals. The rf circuit 304 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 304 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 304 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 304 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 305 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 305 is a touch display screen, the display screen 305 also has the ability to capture touch signals on or over the surface of the display screen 305. The touch signal may be input to the processor 301 as a control signal for processing. At this point, the display screen 305 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 305 may be one, the front panel of the electronic device; in other embodiments, the display screens 305 may be at least two, which are respectively disposed on different surfaces of the electronic device or in a foldable design; in still other embodiments, the display 305 may be a flexible display disposed on a curved surface or a folded surface of the electronic device. Even further, the display screen 305 may be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display screen 305 may be made of LCD (liquid crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The power supply 306 is used to power various components in the electronic device. The power source 306 may be alternating current, direct current, disposable or rechargeable. When the power source 306 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
Those skilled in the art will appreciate that the architecture shown in FIG. 2 does not constitute a limitation of the wechat open platform, software rental client, and software rental server, and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
The embodiment of the invention provides a software leasing method based on a WeChat open platform, and referring to FIG. 3, FIG. 3 is a schematic flow chart of a first embodiment of the software leasing method based on the WeChat open platform.
In this embodiment, the software leasing method based on the WeChat open platform is used for a software leasing user side, and includes the following steps:
and S100, if the target software is started to run, sending lease information to a software lease server so that the software lease server feeds back a lease starting instruction according to the lease information.
Specifically, the software leasing user side is in communication connection with the WeChat opening platform, and the target software is provided with a pulsator. On this basis, if the target software is started to operate, sending lease information to a software lease server so that the software lease server feeds back a lease start instruction according to the lease information, which may specifically include:
if the target software is started to operate, driving a pulsar to send a software starting instruction to the WeChat open platform so that the WeChat open platform feeds back identification information of a software renter according to the software starting instruction; determining a software leasing provider of the target software according to the identification information; and driving the pulsators to send lease information to a software lease server of the software lease providers so that the software lease server feeds back lease starting instructions according to the lease information.
In the embodiment of the application, firstly, the pulsator needs to be started when the running target software is started. Specifically, the method comprises the following steps: the user starts the rented software on a personal computer (namely a software renting user side), a pulsator sensing software host embedded in the software renting user side is started, a WeChat two-dimensional code (namely identification information) of a software renter is immediately acquired from a WeChat open platform and is presented to the user, the user uses a mobile phone to scan the two-dimensional code of the software renter through the scanning code feedback of the WeChat open platform, and the pulsator acquires a WeChat identity number of the user through the scanning code feedback of the WeChat open platform.
After that, if the WeChat ID number of the user is illegal, the pulsometer prompts that the user can not use the software and stops the software running; if the software is legal, the pulsometer prompts the user to start timing the rental software and deducts corresponding cost according to the running time length to inquire whether the user agrees.
If the user chooses not to agree, the rental software stops running; if the user chooses to agree, the pulsar sends the identity information such as the software ID, the user WeChat ID, the IP of the software host computer and the like to the lease server, the lease server generates a password according to the identity information and returns the password to the pulsar, and the pulsar is started successfully.
And step S200, when a lease start instruction is received, acquiring the running state information of the target software, and periodically sending the running state information to a software lease server.
Specifically, if the target software stops running, sending lease stop information to the software lease server, so that the software lease server deducts the software lease fee according to the running state information received when the target software starts running, which may specifically include:
and if the target software stops running, driving the pulser to send lease stop information to the software lease server so that the software lease server deducts software lease cost according to running state information received when the target software starts running.
It should be noted that the lease stop information includes an identification number of the target software, an identification number of the user on the WeChat open platform, an identification number of the software lease user side, a transmission cycle and a second transmission password.
In an embodiment of the application, after the pulsator is started, the pulsator periodically reports the running state of the software product to the rental server. Specifically, the method comprises the following steps: the reporting period of the pulser is adjustable, the unit of the period is one minute, and the period is an integer which is greater than or equal to 1 and less than or equal to 60. The smaller the period, the more accurate the time keeping, but the greater the server burden; the larger the period, the less accurate the time keeping, but the less the server is burdened.
In practical application, the software leasing company can set the size of the period according to practical situations. The content of the software product running state comprises information such as a software ID, a user WeChat ID, the IP of a software host computer, a period size, a password and the like.
Step S300, if the target software stops running, lease stop information is sent to the software lease server, so that the software lease server deducts software lease fees according to the running state information received when the target software starts running.
Specifically, if the target software stops running, sending lease stop information to the software lease server so that the software lease server deducts the software lease cost according to the running state information received when the target software starts running, may specifically include:
and if the target software stops running, driving the pulser to send lease stop information to the software lease server so that the software lease server deducts software lease cost according to running state information received when the target software starts running.
It should be noted that the lease stop information includes an identification number of the target software, an identification number of the user on the WeChat open platform, an identification number of the software lease user side, a sending period, and a second sending password.
In the embodiment of the application, if the lease stop message is received, the operation of the lease software is stopped, and the timer stops timing. Specifically, the method comprises the following steps: when the user decides to stop operating the rental software, the pulsometer sends a timing termination request to the rental server through the WeChat open platform, and the timing termination request information comprises information such as software ID, user WeChat ID, IP of a software host computer, cycle size, password and the like.
After the lease server verifies the password, if the password does not pass, the time is continuously counted, and if the password passes, the time counting can be stopped. When the timing is stopped, the previously created timer for timing the target software is cleared from the dictionary at the same time.
The embodiment of the invention also provides a software leasing method based on the WeChat open platform, and fig. 4 is a flowchart of a second embodiment of the software leasing method based on the WeChat open platform, which is disclosed by the invention.
In this embodiment, the software leasing method based on the WeChat open platform is used for a software leasing server, and includes the following steps:
and step S400, when the lease information sent by the software lease user side is received, generating a lease starting instruction according to the lease information, and feeding the lease starting instruction back to the software lease user side.
Specifically, the software leasing server is in communication connection with the wechat open platform, and on this basis, the software leasing method based on the wechat open platform further includes:
sending an installation package of target software to the WeChat open platform so that a software leasing user side downloads and installs the installation package from the WeChat open platform; and sending the identification information of the software leasing provider to the WeChat open platform so that the WeChat open platform feeds back the identification information of the software leasing provider to the software leasing user side when receiving the software starting instruction.
And step S500, establishing a timer corresponding to the software leasing user side, and updating the timer when receiving the running state information sent by the software leasing user side.
Specifically, the running state information comprises an identification number of the target software, an identification number of a user on a WeChat open platform, an identification number of a software lease user side, a sending period and a first sending password. On this basis, when receiving the running state information sent by the software rental user side, the step of updating the timer may specifically include:
when receiving running state information sent by a software leasing user side, determining a timer updating password according to an identification number of target software, an identification number of a user on a WeChat open platform, an identification number of the software leasing user side and a sending period; and judging whether the timer updating password is the same as the first sending password or not, and if so, updating the timer.
In the embodiment of the application, when the running state information sent by the software leasing user side is received, the password in the running state information is verified. Specifically, the method comprises the following steps: the content of the password and the running state of the software product comprises a software ID, a user WeChat ID, an IP of a software host computer, a cycle size and a WeChat ID of a leasing service provider, namely, the password is a function of the software ID, the user WeChat ID, the IP of the software host computer, the cycle size and the WeChat ID of the leasing service provider.
It is easy to understand that the password uploaded by the pulsar from the client is compared with the check password generated by the renting service terminal function, if the two passwords are inconsistent, the renting service is stopped, password check abnormal information is returned to the pulsar at the client, and the pulsar informs the renting software to stop running. If the two passwords are consistent, the next step is entered to prepare for timing.
In a preferred embodiment, the rental server also clocks rental software. The lease server creates a special timer for each lease software running instance on the client. If the corresponding timer does not exist, a timer is created and stored in the timer dictionary, and if the corresponding timer does exist, the corresponding timer is searched from the timer dictionary.
It should be noted that, the timer stores the cumulative operation time length of the working instance created by the corresponding lease software on the client, the time length stored in the timer is read as the existing cumulative operation time length, and the formula of the cumulative operation time length is as follows: and the current accumulated operation time length = the existing accumulated operation time length + the period size, the current accumulated operation time length is stored in the timer, and the existing accumulated operation time length in the timer is updated. And after the time length of the timer is updated, the leasing server waits for the next time of timing request of the pulser, and if the next time of timing request comes, the password is re-verified and the timer is updated.
And step S600, reading the software running time recorded by the timer when the lease stop information sent by the software lease user side is received, and deducting the software lease cost according to the software running time.
Specifically, the lease stop information comprises an identification number of the target software, an identification number of a user on a WeChat open platform, an identification number of a software lease user side, a sending period and a second sending password. On this basis, when the lease stop message sent by the software lease user side is received, the step of reading the software running time recorded by the timer may specifically include:
when lease stop information sent by a software lease user side is received, determining a timer stop password according to the identification number of the target software, the identification number of the user on the WeChat open platform, the identification number of the software lease user side and a sending period; and judging whether the timer stop password is the same as the second sending password or not, and reading the software running time recorded by the timer if the timer stop password is the same as the second sending password.
The embodiment provides a software leasing method based on a WeChat open platform, which is characterized in that after preparation work for accessing the WeChat open platform is carried out, a pulsomer is embedded in a software product to be leased and is used for regularly reporting the running state of the software product to a lease server; and embedding a counter on the software leasing server, and monitoring the running state of the software product and recording the running time length. The method is applied to assisting software product renters to establish a credible, safe, user-accepted, convenient-to-use and low-cost software product renting environment based on the WeChat open platform, and can record the operating time length of renting software according to controllable precision, thereby really realizing on-time charging in software renting.
In order to explain the application more clearly, a specific example of the software leasing method based on the WeChat open platform is provided.
See fig. 5. In the embodiment, an application software product leasing system based on a wechat open platform is provided, which comprises at least one desktop software product 1, a pulser 2 arranged in the desktop software product, a wechat open platform 3, a software leasing server 4 and a timer 5.
The wechat open platform 3 is used for registering a software leasing server, a micro signal and a wechat applet for the software product leasing system and configuring two-dimensional codes of the micro signal and the wechat applet. And after the two-dimensional code of the micro-signal small program is scanned from the software product end, the software leasing service platform can be concerned, and after the two-dimensional code of the micro-signal is scanned from the software leasing product end, the software leasing server can be logged in, software leasing service is started, and leasing software is operated. The process of scanning the WeChat two-dimensional code from the software product end is realized as follows: registering an account number in the WeChat opening platform 3 and obtaining the qualification of a developer; the WeChat opening platform applies for registering the application of the software leasing server website, and after the verification is passed, corresponding AppID and AppSecret are obtained; javaScript is used in the rental software product to access a web service website of the rental server, and user information returned by WeChat is used as a user identifier; and acquiring the authority information of the wechat user from the website application, giving a corresponding prompt if the authority information is invalid, allowing the wechat user to log in the system if the authority information is valid, starting background pulse, periodically communicating with the server side, and comparing and converting the information.
It should be noted that, the process of using JavaScript to access the rental server web service, which is embedded in the web page in the rental software product, specifically includes:
1. inputting an https address for acquiring a WeChat two-dimensional code;
2. after a user scans the WeChat binary code, obtaining a code, and obtaining access _ token through the code;
3. acquiring personal information of the microcalcity user through access _ token;
4. and logging in the application service deployed by the company based on the information of the micro credit user.
The pulsar 2 is a software module that implements the client side part of the chronograph task, the developers of rented software products are embedded in the software products, the rental operators assign software IDs to each rental software product, and the software developers embed the IDs of the software products together with the pulsar in the software products.
It should be noted that, when the rental software runs, the pulser 2 is started, the pulser 2 immediately acquires the WeChat two-dimensional code of the software renter from the WeChat open platform and presents the WeChat two-dimensional code to the user, the user uses the mobile phone WeChat to scan the two-dimensional code of the software renter, and the pulser 2 acquires the WeChat identity number of the user through the code scanning feedback of the WeChat open platform.
If the WeChat identity number of the user is illegal, the pulsometer prompts the user that the software cannot be used and stops the software running; if the software is legal, the pulsar prompts the user to start timing the rental software, deducts corresponding cost according to the running time of the software, inquires whether the user agrees, the user chooses not to agree, the rental software stops running, the user chooses to agree, the pulsar sends identity information such as software ID, user WeChat ID, IP of a software host computer and the like to the rental server, the rental server generates a password according to the identity information and returns the password to the pulsar, and the pulsar is started successfully.
The pulsar 2 runs a worker thread which reports the running state of the software product to the rental server periodically, the cycle parameter is adjustable, the unit of the cycle is one minute, and the value of the cycle is an integer which is greater than or equal to 1 and less than or equal to 60. The smaller the period is, the more accurate the time recording is, but the greater the burden of the server is; the larger the period, the less accurate the time keeping, but the less the server is burdened. The software leasing company can set the size of the period according to the actual situation. The content of the software product running state comprises information such as software ID, user WeChat ID, IP of a software host computer, cycle size, password and the like.
In the preferred embodiment, software rental server 4 requires an authentication password. The content of the password and the running state of the software product comprises a software ID, a user WeChat ID, an IP of a software host computer, a cycle size and a WeChat ID of a leasing service provider, namely, the password is a function of the software ID, the user WeChat ID, the IP of the software host computer, the cycle size and the WeChat ID of the leasing service provider. And comparing the password uploaded by the pulsar from the client with the check password generated by the renting service terminal function, stopping the renting service if the two passwords are inconsistent, returning password check abnormal information to the pulsar at the client, and informing the renting software of stopping running by the pulsar. If the two passwords are consistent, the next step is carried out to be ready for timing.
In the preferred embodiment, the software rental server 4 needs to keep notes on the rental software. Software rental server 4 creates a special timer 5 for each rental software running instance at the client. If the corresponding timer does not exist, a timer is created and stored in the timer dictionary, and if the timer exists, the corresponding timer is searched from the timer dictionary.
The timer 5 stores the accumulated running time length of the working example created by the corresponding lease software at the client, the time length stored in the read timer is the existing accumulated running time length, and the formula of the accumulated running time length is as follows: and the current accumulated operation time length = the existing accumulated operation time length + the period size, the current accumulated operation time length is stored in the timer, and the existing accumulated operation time length in the timer is updated. And after updating the time length of the timer, the leasing server waits for the next time of timing request of the pulser, and if the next time of timing request comes, the third step and the fourth step are repeated.
The rental software stops running, and the timer stops counting time. When the user decides to stop operating the rental software, the pulsometer sends a timing termination request to the rental server through the WeChat open platform, and the timing termination request information comprises information such as software ID, user WeChat ID, IP of a software host computer, cycle size, password and the like. The leasing server verifies the password by using the same method of the third step, and the time can be stopped only by continuing the time counting. When the timing is stopped, the corresponding timer is cleared from the dictionary at the same time.
Referring to fig. 6, fig. 6 is a block diagram of a first embodiment of the software leasing apparatus according to the present invention.
As shown in fig. 6, the software leasing apparatus according to the embodiment of the present invention is configured at a software leasing user side, and includes:
the sending module 10 is configured to send lease information to a software lease server if the target software is started to operate, so that the software lease server feeds back a lease start instruction according to the lease information;
the software leasing system comprises an acquisition module 20, a software leasing server and a software leasing module, wherein the acquisition module is used for acquiring running state information of target software when a leasing starting instruction is received and sending the running state information to the software leasing server at regular intervals;
and the stopping module 30 is used for sending lease stopping information to the software lease server if the target software stops running so that the software lease server deducts the software lease fee according to the running state information received when the target software starts running.
Referring to fig. 7, fig. 7 is a block diagram of a second embodiment of the software leasing apparatus according to the present invention.
As shown in fig. 7, the software rental apparatus according to the embodiment of the present invention is configured in a software rental server, and includes:
the generation module 40 is used for generating a leasing starting instruction according to the leasing information when the leasing information sent by the software leasing user side is received, and feeding the leasing starting instruction back to the software leasing user side;
a creating module 50, configured to create a timer corresponding to the software rental client, and update the timer when receiving the running state information sent by the software rental client;
and the charging module 60 is used for reading the software running time recorded by the timer when the lease stop information sent by the software lease user side is received, and deducting the software lease fee according to the software running time.
Other embodiments or specific implementation manners of the software leasing device of the present invention may refer to the above method embodiments, and are not described herein again.
In addition, an embodiment of the present invention further provides a storage medium, where the storage medium stores a software leasing method program based on the wechat open platform, and when the software leasing method program based on the wechat open platform is executed by a processor, the steps of the software leasing method based on the wechat open platform as described above are implemented. Therefore, a detailed description thereof will be omitted. In addition, the beneficial effects of the same method are not described in detail. For technical details not disclosed in the embodiments of the computer-readable storage medium referred to in the present application, reference is made to the description of the embodiments of the method of the present application. It is determined that, by way of example, the program instructions may be deployed to be executed on one computing device or on multiple computing devices at one site or distributed across multiple sites and interconnected by a communication network.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by a computer program, which may be stored in a computer readable storage medium and includes the processes of the embodiments of the methods described above when the program is executed. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
It should be noted that the above-described embodiments of the apparatus are merely schematic, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. 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 the present invention may be implemented by software plus necessary general hardware, and may also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components and the like. Generally, functions performed by computer programs can be easily implemented by corresponding hardware, and specific hardware structures for implementing the same functions may be various, such as analog circuits, digital circuits, or dedicated circuits. However, the implementation of a software program is a more preferable embodiment for the present invention. Based on such understanding, the technical solutions of the present invention or portions thereof contributing to the prior art may be embodied in the form of a software product, where the computer software product is stored in a readable storage medium, such as a floppy disk, a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.

Claims (10)

1. A software leasing method based on a WeChat open platform is used for a software leasing user side, and comprises the following steps:
if the target software starts to run, sending lease information to a software lease server so that the software lease server feeds back a lease starting instruction according to the lease information;
when a lease starting instruction is received, acquiring running state information of target software, and periodically sending the running state information to a software lease server;
and if the target software stops running, sending lease stop information to the software lease server so that the software lease server deducts software lease cost according to the running state information received when the target software starts running.
2. The software leasing method based on the WeChat open platform as claimed in claim 1, wherein the software leasing client is connected with the WeChat open platform in a communication way, and the target software is provided with a pulser; if the target software is started to run, sending lease information to a software lease server so that the software lease server feeds back a lease starting instruction according to the lease information, wherein the method specifically comprises the following steps:
if the target software is started to run, driving the pulsar to send a software starting instruction to the WeChat open platform so that the WeChat open platform feeds back identification information of a software leasing provider according to the software starting instruction;
determining a software leasing provider of the target software according to the identification information;
and driving the pulsators to send lease information to a software lease server of the software lease providers so that the software lease server feeds back lease starting instructions according to the lease information.
3. The method for leasing software based on the WeChat open platform according to claim 2, wherein the step of obtaining the running state information of the target software and sending the running state information to the software leasing server periodically when receiving a lease start instruction includes:
when a lease starting instruction is received, driving the pulsar to acquire the running state of target software, and periodically sending the running state information to a software lease server;
the running state information comprises an identification number of target software, an identification number of a user on a WeChat open platform, an identification number of a software lease user side, a sending period and a first sending password.
4. The method for renting software based on the WeChat open platform as claimed in claim 2, wherein if the target software stops operating, sending the rental stop message to the software rental server, so that the software rental server deducts the rental fee of the software according to the operating status information received when the target software starts operating, specifically comprises:
if the target software stops running, driving the pulsar to send lease stop information to a software lease server so that the software lease server deducts software lease expenses according to running state information received when the target software starts running;
the lease stop information comprises an identification number of target software, an identification number of a user on the WeChat open platform, an identification number of a software lease user side, a sending period and a second sending password.
5. A software leasing method based on a WeChat open platform is used for a software leasing server, and comprises the following steps:
when leasing information sent by a software leasing user side is received, generating a leasing starting instruction according to the leasing information, and feeding the leasing starting instruction back to the software leasing user side;
creating a timer corresponding to the software leasing user side, and updating the timer when receiving the running state information sent by the software leasing user side;
and when lease stop information sent by the software lease user side is received, reading the software running time recorded by the timer, and deducting the software lease cost according to the software running time.
6. The method for leasing software based on a WeChat open platform according to claim 5, wherein the software leasing server is connected with the WeChat open platform in a communication way, and the method further comprises:
sending an installation package of target software to the WeChat opening platform so that a software leasing user side downloads and installs the installation package from the WeChat opening platform;
and sending the identification information of the software leasing provider to the WeChat open platform so that the WeChat open platform feeds back the identification information of the software leasing provider to the software leasing user side when receiving the software starting instruction.
7. The software leasing method based on the WeChat open platform, according to claim 5, wherein the running state information comprises an identification number of the target software, an identification number of the user on the WeChat open platform, an identification number of the user side of the software leasing, a sending period and a first sending password; when the running state information sent by the software leasing user side is received, the step of updating the timer specifically comprises the following steps:
when receiving running state information sent by a software leasing user side, determining a timer updating password according to an identification number of target software, an identification number of a user on a WeChat open platform, an identification number of the software leasing user side and a sending period;
and judging whether the timer updating password is the same as the first sending password or not, and if so, updating the timer.
8. The software leasing method based on the WeChat open platform, as claimed in claim 5, wherein the leasing stop information includes the identification number of the target software, the identification number of the user on the WeChat open platform, the identification number of the software leasing user side, the sending period and the second sending password; the step of reading the software running time recorded by the timer when the lease stop information sent by the software lease user side is received specifically comprises the following steps:
when lease stop information sent by a software lease user side is received, determining a timer stop password according to an identification number of target software, an identification number of a user on a WeChat open platform, an identification number of the software lease user side and a sending period;
and judging whether the timer stop password is the same as the second sending password or not, and reading the software running time recorded by the timer if the timer stop password is the same as the second sending password.
9. A software leasing user side, comprising: a memory, a processor and a wechat open platform based software leasing method program stored on the memory and executable on the processor, the wechat open platform based software leasing method program when executed by the processor implementing the steps of the wechat open platform based software leasing method of any one of claims 1 to 4.
10. A software rental server, comprising: a memory, a processor and a wechat open platform based software leasing method program stored on the memory and executable on the processor, the wechat open platform based software leasing method program when executed by the processor implementing the steps of the wechat open platform based software leasing method according to any one of claims 5 to 7.
CN202211087637.XA 2022-09-07 2022-09-07 Software leasing method based on WeChat open platform, user side and server Active CN115170252B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211087637.XA CN115170252B (en) 2022-09-07 2022-09-07 Software leasing method based on WeChat open platform, user side and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211087637.XA CN115170252B (en) 2022-09-07 2022-09-07 Software leasing method based on WeChat open platform, user side and server

Publications (2)

Publication Number Publication Date
CN115170252A true CN115170252A (en) 2022-10-11
CN115170252B CN115170252B (en) 2022-11-18

Family

ID=83480384

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211087637.XA Active CN115170252B (en) 2022-09-07 2022-09-07 Software leasing method based on WeChat open platform, user side and server

Country Status (1)

Country Link
CN (1) CN115170252B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1117622A (en) * 1994-03-07 1996-02-28 世嘉企业股份有限公司 Software rental method and apparatus, and circulating medium therefor
CN1136185A (en) * 1995-05-18 1996-11-20 联华电子股份有限公司 Controlling method for software timing
US20020022971A1 (en) * 2000-08-21 2002-02-21 Masanori Tanaka Software rental system, software rental method, and computer program for being executed on the software rental system
WO2002033543A1 (en) * 2000-10-16 2002-04-25 Shima, Masahiko Software rental system
US20060129494A1 (en) * 2004-12-13 2006-06-15 Ju-Wan Kim System and method for providing rental software, and rental software providing server and wireless terminal thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1117622A (en) * 1994-03-07 1996-02-28 世嘉企业股份有限公司 Software rental method and apparatus, and circulating medium therefor
CN1136185A (en) * 1995-05-18 1996-11-20 联华电子股份有限公司 Controlling method for software timing
US20020022971A1 (en) * 2000-08-21 2002-02-21 Masanori Tanaka Software rental system, software rental method, and computer program for being executed on the software rental system
WO2002033543A1 (en) * 2000-10-16 2002-04-25 Shima, Masahiko Software rental system
US20060129494A1 (en) * 2004-12-13 2006-06-15 Ju-Wan Kim System and method for providing rental software, and rental software providing server and wireless terminal thereof

Also Published As

Publication number Publication date
CN115170252B (en) 2022-11-18

Similar Documents

Publication Publication Date Title
WO2019042274A1 (en) Resource transfer method and apparatus, and storage medium
CN105812479B (en) Request method and device and acquisition method and device for use permission
CN107222485A (en) A kind of authorization method and relevant device
CN108920366B (en) Sub-application debugging method, device and system
CN105488887A (en) Entrance guard access control method
US20200097946A1 (en) Smart broadcast device
JP2018524719A (en) Control method, terminal and system of self-service washing machine
KR20210061469A (en) Information interaction method, device and system
CN108418787B (en) Method for acquiring enterprise resource planning data, terminal device and medium
CN104054031A (en) Systems And Methods For Enabling And Disabling Operation Of Manufacturing Machines
CN103729765A (en) Verification control method and system, terminal, server, terminal equipment
CN109474595B (en) Electronic equipment binding method, electronic equipment, mobile terminal and server
WO2012164038A1 (en) Sensor allocation
CN104574101B (en) Method, equipment and system for verifying electronic ticket
CN104426960B (en) A kind of trial method and device of payment applications
CN103634419A (en) Remote control method of terminal and terminal
CN113014452A (en) Network flow testing method, device, testing end and storage medium
CN115170252B (en) Software leasing method based on WeChat open platform, user side and server
US9477917B1 (en) System and method of context specific identity in a radio frequency identity (RFID) chip
CN112866287A (en) Cross-network access method, device and system based on office environment and storage medium
CN114116036A (en) Calling method, device and medium of application plug-in and electronic equipment
CN107819938A (en) Footmark collocation method, device, mobile terminal and server
CN112466053A (en) Control system of household appliance and execution method and device of target operation
WO2019153975A1 (en) Resource transfer method based on near field communication
CN108156071B (en) Method for adding members to community, terminal device and computer readable storage medium

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