CN109064267A - Order processing method, system, shared bicycle and the storage medium of shared bicycle - Google Patents
Order processing method, system, shared bicycle and the storage medium of shared bicycle Download PDFInfo
- Publication number
- CN109064267A CN109064267A CN201810786930.2A CN201810786930A CN109064267A CN 109064267 A CN109064267 A CN 109064267A CN 201810786930 A CN201810786930 A CN 201810786930A CN 109064267 A CN109064267 A CN 109064267A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- shared bicycle
- order
- bluetooth
- communication mode
- 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.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 30
- 238000004891 communication Methods 0.000 claims abstract description 151
- 238000013459 approach Methods 0.000 claims abstract description 37
- 238000000034 method Methods 0.000 claims abstract description 29
- 230000005540 biological transmission Effects 0.000 claims description 23
- 238000012545 processing Methods 0.000 claims description 15
- 238000011897 real-time detection Methods 0.000 claims description 9
- 239000000284 extract Substances 0.000 claims description 5
- 238000012795 verification Methods 0.000 claims description 4
- 241001062009 Indigofera Species 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 9
- 230000003993 interaction Effects 0.000 description 5
- 230000009471 action Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000013475 authorization Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000000977 initiatory effect Effects 0.000 description 2
- 230000008054 signal transmission Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0645—Rental transactions; Leasing transactions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/40—Business processes related to the transportation industry
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0083—Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/24—Reselection being triggered by specific parameters
- H04W36/30—Reselection being triggered by specific parameters by measured or perceived connection quality data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Accounting & Taxation (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Finance (AREA)
- General Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Development Economics (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- Primary Health Care (AREA)
- Tourism & Hospitality (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of order processing method of shared bicycle, system, shared bicycle and storage mediums, the described method includes: shared bicycle judges the connection status of current wireless data communication mode, when the connection status is unsatisfactory for preset condition, current wireless data communication mode is switched to bluetooth approach;The order request that mobile terminal is sent by bluetooth is obtained, and according to order request feedback lock application information to the mobile terminal, so that the mobile terminal completes instruction according to the order that the locking application information receives server feedback;The order for receiving the server of mobile terminal forwarding completes instruction, generates lock instruction according to order completion instruction and is locked.Connection status, according to the connection status of Current wireless communication mode, can be switched to bluetooth state by shared bicycle by the present invention, realize the connection with mobile terminal by bluetooth, complete the data forwarding between server by mobile terminal.
Description
Technical field
The present invention relates to shared bicycle technical field more particularly to a kind of order processing method of shared bicycle, system, it is total to
Enjoy bicycle and storage medium.
Background technique
Currently, as shared bicycle to people's lives brings the convenience of last one kilometer, but also go out gradually simultaneously
Now some problems in use, for example, generally shared bicycle is realized between server based on cordless communication network
Communication, but be easy to appear periods of network disruption in the case where behaviour in service sometime increases severely in a large number of users and make
The case where taking off pipe at shared bicycle, in this case, server is unable to complete the order processing to shared bicycle, to cause
The shared bicycle of large area is not available.
Summary of the invention
It is a primary object of the present invention to propose a kind of order processing method of shared bicycle, system, shared bicycle and deposit
Storage media, it is intended to solve to share bicycle in the prior art and take off the technical issues of being unable to complete order processing in the case of pipe.
To achieve the above object, the present invention provides a kind of order processing method of shared bicycle, and the shared bicycle is ordered
Form processing method the following steps are included:
Shared bicycle judges the connection status of current wireless data communication mode, is unsatisfactory for default item in the connection status
When part, current wireless data communication mode is switched to bluetooth approach;
The order request that mobile terminal is sent by bluetooth is obtained, and according to order request feedback lock application information to institute
Mobile terminal is stated, so that the mobile terminal completes instruction according to the order that the locking application information receives server feedback;
The order for receiving the server of mobile terminal forwarding completes instruction, generates locking according to order completion instruction and refers to
Order is locked.
Preferably, the shared bicycle judges the connection status of current wireless data communication mode, in the connection status
When being unsatisfactory for preset condition, current wireless data communication mode is switched to bluetooth approach, is specifically included:
The connection status for judging current wireless data communication mode extracts the transmission rate in the connection status, in institute
When stating transmission rate less than preset value, current wireless data communication mode is switched to bluetooth approach.
Preferably, the shared bicycle judges the connection status of current wireless data communication mode, in the connection status
When being unsatisfactory for preset condition, current wireless data communication mode is switched to bluetooth approach, is specifically included:
The connection status for judging current wireless data communication mode, in the communication letter that current wireless data communication is not detected
Number when, current wireless data communication mode is switched to bluetooth approach.
Preferably, the order request for obtaining mobile terminal and being sent by bluetooth, and according to order request feedback lock
Application information is to the mobile terminal, so that the mobile terminal receives ordering for server feedback according to the locking application information
Before single completion instruction, the method also includes:
The Bluetooth connection request that the mobile terminal is sent is obtained, the Bluetooth connection request is verified, is being verified
It as a result is after being proved to be successful, to establish bluetooth connection with the mobile terminal.
Preferably, the Bluetooth connection request for obtaining the mobile terminal and sending, carries out the Bluetooth connection request
Verifying is established bluetooth connection with the mobile terminal, is specifically included after verification result is to be proved to be successful:
Obtain the Bluetooth connection request that the mobile terminal is sent, judge at a distance from the mobile terminal, it is described away from
When from preset range, bluetooth connection is established with the mobile terminal.
Preferably, the order request for obtaining mobile terminal and being sent by bluetooth, and according to order request feedback lock
Application information is to the mobile terminal, so that the mobile terminal receives ordering for server feedback according to the locking application information
Before single completion instruction, the method also includes:
The connection status of real-time detection Current wireless communication mode, when the connection status meets preset condition, by institute
It states bluetooth approach and is switched to radio data communication mode.
Preferably, the connection status of the real-time detection Current wireless communication mode meets default in the connection status
When condition, after the bluetooth approach is switched to radio data communication mode, the method also includes:
It directly acquires the order that the server is sent and completes instruction, instruction is completed according to the order and generates lock instruction
It is locked.
In addition, to achieve the above object, the present invention also proposes a kind of order processing system of shared bicycle, the shared list
The order processing system of vehicle includes:
Switching module judges the connection status of current wireless data communication mode for sharing bicycle, in the connection shape
When state is unsatisfactory for preset condition, current wireless data communication mode is switched to bluetooth approach;
Request module, the order request sent for obtaining mobile terminal by bluetooth, and it is anti-according to order request
Feedback locking application information is to the mobile terminal, so that the mobile terminal is anti-according to locking application information reception server
The order of feedback completes instruction;
Locking module is completed instruction for receiving the order of server of mobile terminal forwarding, is completed according to the order
Instruction generates lock instruction and is locked.
In addition, to achieve the above object, the present invention also proposes a kind of shared bicycle, the shared bicycle include: memory,
Processor and the order processing program for being stored in the shared bicycle that can be run on the memory and on the processor, it is described
The order processing program of shared bicycle is arranged for carrying out the step of order processing method of shared bicycle as described above.
In addition, to achieve the above object, the present invention also proposes a kind of storage medium, it is stored on the storage medium shared
As described above be total to is realized when the order processing program of the order processing program of bicycle, the shared bicycle is executed by processor
The step of enjoying the order processing method of bicycle.
The order processing method of shared bicycle proposed by the present invention, by shared bicycle according to Current wireless communication mode
Connection status can be switched to bluetooth state by connection status, realized the connection with mobile terminal by bluetooth, passed through mobile terminal
Complete the data forwarding between server.
Detailed description of the invention
Fig. 1 is the shared bicycle structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of the order processing method first embodiment of the shared bicycle of the present invention;
Fig. 3 is the flow diagram of the order processing method second embodiment of the shared bicycle of the present invention;
Fig. 4 is the flow diagram of the order processing method 3rd embodiment of the shared bicycle of the present invention;
Fig. 5 is the flow diagram of the order processing method fourth embodiment of the shared bicycle of the present invention;
Fig. 6 is the functional block diagram of the order processing system first embodiment of the shared bicycle of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Referring to Fig.1, Fig. 1 is the shared bicycle structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to.
As shown in Figure 1, the shared bicycle may include: processor 1001, such as CPU, communication bus 1002, user interface
1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is for realizing the connection communication between these components.
User interface 1003 may include display screen (Display), input unit such as key, and optional user interface 1003 can also wrap
Include standard wireline interface and wireless interface.Network interface 1004 optionally may include standard wireline interface and wireless interface
(such as WI-FI interface).Memory 1005 can be high speed RAM memory, be also possible to stable memory (non-volatile
), such as magnetic disk storage memory.Memory 1005 optionally can also be the storage dress independently of aforementioned processor 1001
It sets.
It will be understood by those skilled in the art that sharing bicycle structure shown in Fig. 1 does not constitute the limit to shared bicycle
It is fixed, it may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
As shown in Figure 1, as may include operating system, network communication mould in a kind of memory 1005 of storage medium
The order processing program of block, Subscriber Interface Module SIM and shared bicycle.
In shared bicycle shown in Fig. 1, network interface 1004 is mainly used for connecting server, carries out data with server
Communication;User interface 1003 is mainly used for connecting user terminal, carries out data communication with terminal;The present invention shares bicycle and passes through place
Reason device 1001 calls the order processing program of the shared bicycle stored in memory 1005, and executes following operation:
The connection status for judging current wireless data communication mode will when the connection status is unsatisfactory for preset condition
Current wireless data communication mode is switched to bluetooth approach;
The order request that mobile terminal is sent by bluetooth is obtained, and according to order request feedback lock application information to institute
Mobile terminal is stated, so that the mobile terminal completes instruction according to the order that the locking application information receives server feedback;
The order for receiving the server of mobile terminal forwarding completes instruction, generates locking according to order completion instruction and refers to
Order is locked.
Further, processor 1001 can call the order processing program of the shared bicycle stored in memory 1005,
Also execute following operation:
The connection status for judging current wireless data communication mode extracts the transmission rate in the connection status, in institute
When stating transmission rate less than preset value, current wireless data communication mode is switched to bluetooth approach.
Further, processor 1001 can call the order processing program of the shared bicycle stored in memory 1005,
Also execute following operation:
The connection status for judging current wireless data communication mode, in the communication letter that current wireless data communication is not detected
Number when, current wireless data communication mode is switched to bluetooth approach.
Further, processor 1001 can call the order processing program of the shared bicycle stored in memory 1005,
Also execute following operation:
The Bluetooth connection request that the mobile terminal is sent is obtained, the Bluetooth connection request is verified, is being verified
It as a result is after being proved to be successful, to establish bluetooth connection with the mobile terminal.
Further, processor 1001 can call the order processing program of the shared bicycle stored in memory 1005,
Also execute following operation:
Obtain the Bluetooth connection request that the mobile terminal is sent, judge at a distance from the mobile terminal, it is described away from
When from preset range, bluetooth connection is established with the mobile terminal.
Further, processor 1001 can call the order processing program of the shared bicycle stored in memory 1005,
Also execute following operation:
The connection status of real-time detection Current wireless communication mode, when the connection status meets preset condition, by institute
It states bluetooth approach and is switched to radio data communication mode.
Further, processor 1001 can call the order processing program of the shared bicycle stored in memory 1005,
Also execute following operation:
It directly acquires the order that the server is sent and completes instruction, instruction is completed according to the order and generates lock instruction
It is locked.
The present embodiment through the above scheme, by sharing bicycle according to the connection status of Current wireless communication mode, can incite somebody to action
Connection status is switched to bluetooth state, realizes the connection with mobile terminal by bluetooth, passes through mobile terminal completion and server
Between data forwarding.
Based on above-mentioned hardware configuration, the order processing embodiment of the method for the shared bicycle of the present invention is proposed.
Referring to the flow diagram for the order processing method first embodiment that Fig. 2, Fig. 2 are the shared bicycle of the present invention.
In the first embodiment, the shared bicycle order processing method the following steps are included:
Step S10, shared bicycle judge the connection status of current wireless data communication mode, discontented in the connection status
When sufficient preset condition, current wireless data communication mode is switched to bluetooth approach.
It should be noted that being equipped with signal supervisory instrument and signal switching apparatus in the shared bicycle, pass through letter
Number detection device detects the signal of communication of current wireless data communication mode, when signal of communication is unsatisfactory for preset condition, leads to
It crosses signal switching apparatus and current wireless data communication mode is switched to bluetooth approach.
It is understood that being equipped with bluetooth module and wireless data communication module, such as 2G/ on the shared bicycle
3G communication module, can also be other forms data communication module, the present embodiment to this with no restriction, it is seen then that the shared list
Vehicle can carry out data interaction by both radio data communication mode and the communication mode of bluetooth mode, still, in this implementation
In example, based on radio data communication mode, when radio data communication mode can not work, Blue-tooth communication method can switch to
Data interaction is carried out, to realize the subsidiary communications to shared bicycle, in the case where shared bicycle takes off pipe, improves shared bicycle
Utilization rate.
In the concrete realization, the preset condition can be the dtr signal of radio data communication mode, be unsatisfactory for signal
When basic demand, or when radio data communication mode is not detected, by signal switching apparatus, will preferentially it use without line number
It is switched to Blue-tooth communication method according to communication mode, so as to control in real time shared bicycle.
Step S20 obtains the order request that mobile terminal is sent by bluetooth, and according to order request feedback lock application
Information is to the mobile terminal, so that the mobile terminal is complete according to the order that the locking application information receives server feedback
At instruction.
It should be noted that the mobile terminal includes mobile phone, tablet computer etc., may also include other can realize it is identical or
The equipment of identity function, the present embodiment with no restriction, in the present embodiment, take the mobile phone as an example and are illustrated to this.
In the concrete realization, when user has used shared bicycle to carry out order processing, discovery can not with shared bicycle into
Row connection, i.e., when server acquisition mobile phone transmission end order request instructs and completes order, due to shared bicycle and server
Between communication disruption cause order to be unable to complete so that shared bicycle, which does not receive server, sends order END instruction,
In this case, mobile phone can establish connection by bluetooth and shared bicycle, and complete order by application program operation on mobile phone
Locking application is simultaneously initiated in END instruction, and locking application is sent to server, server receive after locking application to order into
Row handles verifying, feeds back order after a successful authentication and completes instruction to mobile phone, order completion instruction is sent to shared by mobile phone
Bicycle solves de- in shared bicycle to realize through the data forwarding between mobile terminal completion server and shared bicycle
The connection between server is established in the case where pipe.
It is understood that the mobile terminal establishes connection by bluetooth and shared bicycle, by mobile terminal
Application program initiates order and completes request to shared bicycle, and sharing bicycle, locking application is initiated in order completion request based on the received
For information to mobile terminal, received locking application information is forwarded to server by mobile terminal, and receives server according to locking
The order of application information feedback completes request.
Step S30, the order for receiving the server of mobile terminal forwarding complete instruction, complete instruction life according to the order
It is locked at lock instruction.
It should be noted that the shared bicycle can be completed to refer to after receiving order and completing instruction according to the order
It enables and generates lock instruction, complete to lock according to the lock instruction, to control shared bicycle at the end of order, improve shared
The safety of bicycle.
The present embodiment through the above scheme, by sharing bicycle according to the connection status of Current wireless communication mode, can incite somebody to action
Connection status is switched to bluetooth state, realizes the connection with mobile terminal by bluetooth, passes through mobile terminal completion and server
Between data forwarding.
Further, as shown in figure 3, proposing the order processing method second of the shared bicycle of the present invention based on first embodiment
Embodiment, in the present embodiment, the step S10 specifically include:
Step S101 judges the connection status of current wireless data communication mode, extracts the transmission in the connection status
Current wireless data communication mode is switched to bluetooth approach when the transmission rate is less than preset value by rate.
In the present embodiment, can be less than by judging the signal transmission rate of radio data communication mode in transmission rate
When 1kb/s, then show that message transmission rate is lower, in this case, the case where being easy to appear packet loss not can guarantee normal
Data interaction, the preset value can be 1kb/s, can also be other values, the present embodiment with no restriction, only makees this in the present embodiment
Illustrate, when detecting message transmission rate lower than preset value, current wireless data communication mode is switched to bluetooth approach, from
And guarantee the normal transmission of data.
Further, the step S10, specifically includes:
Step S102 judges the connection status of current wireless data communication mode, logical current wireless data is not detected
When the signal of communication of letter, current wireless data communication mode is switched to bluetooth approach.
The present embodiment provides the switching judging modes of another way, in the signal of communication that can't detect wireless data communication
When, current wireless data communication mode is switched to bluetooth approach, the auxiliary of data communication is carried out by bluetooth approach to realize
It helps, the connection of mobile terminal Yu shared bicycle is established by bluetooth, guarantee the normal data communication of shared bicycle and mobile terminal.
Scheme provided in this embodiment, by judging the signal transmission rate of radio data communication mode or being not detected
When the signal of wireless data communication, current radio data communication mode is switched to bluetooth approach, to pass through bluetooth approach
Auxiliary completes the communication between shared bicycle and mobile terminal.
Further, as shown in figure 4, proposing the order of the shared bicycle of the present invention based on the first embodiment or the second embodiment
Processing method 3rd embodiment is illustrated based on first embodiment in the present embodiment, before the step S20, the side
Method further include:
Step S201 obtains the Bluetooth connection request that the mobile terminal is sent, tests the Bluetooth connection request
Card establishes bluetooth connection with the mobile terminal after verification result is to be proved to be successful.
It should be noted that the safety in order to guarantee data transmission, in the present embodiment, the mobile terminal is together
Before enjoying bicycle connection, the mobile terminal need to send Bluetooth connection request, and the shared bicycle is to the Bluetooth connection request
It is verified, after a successful authentication, establishes connection with the mobile terminal.
In the concrete realization, the shared bicycle obtains the account information or other identifier information of the mobile terminal, this
Embodiment with no restriction, in the present embodiment, is illustrated this by taking the account information of mobile terminal as an example, the shared bicycle
The account information for obtaining mobile terminal judges whether the account information is the account information authorized, is in the account information
When the account information of authorization, connection is established with the mobile terminal, opposite, it is not the account letter of authorization in the account information
When breath, the Bluetooth connection request of mobile terminal is not dealt with or feedback error link information, to guarantee shared bicycle number
According to the safety of transmission.
Further, the step S201, specifically includes:
Step S202 obtains the Bluetooth connection request that the mobile terminal is sent, and judges at a distance from the mobile terminal,
When the distance is in preset range, bluetooth connection is established with the mobile terminal.
In the present embodiment, it is asked due to being likely to occur the bluetooth connection that multiple mobile terminals are initiated with the shared bicycle
It asks, in order to more easily find out destination mobile terminal from multiple mobile terminals, can be sentenced by the Bluetooth connection request of initiation
The disconnected mobile terminal for initiating request each out, will be apart from the nearest corresponding movement in BlueTooth request at a distance from the shared bicycle
Terminal establishes bluetooth connection as destination mobile terminal, and with the destination mobile terminal, to guarantee the accuracy of bluetooth connection.
Scheme provided in this embodiment, the shared bicycle test BlueTooth request when obtaining Bluetooth connection request
Card, and when obtaining multiple Bluetooth connection requests, by finding destination mobile terminal at a distance from BlueTooth request, to protect
Demonstrate,prove the accuracy of bluetooth connection.
Further, as shown in figure 5, proposing the order of the shared bicycle of the present invention based on the first embodiment or the second embodiment
Processing method fourth embodiment is illustrated based on first embodiment in the present embodiment, before the step S20, the side
Method further include:
Step S203, the connection status of real-time detection Current wireless communication mode meet default item in the connection status
When part, the bluetooth approach is switched to radio data communication mode.
In the present embodiment, using radio data communication mode as mode of priority, can real-time detection wireless data communication it is logical
Believe signal, when the signal of communication of wireless data communication reaches preset value, or when detecting wireless data communication signal, will work as
Preceding Blue-tooth communication method is switched to radio data communication mode, to guarantee the efficiency of data transmission.
It is understood that since Blue-tooth communication method is limited by distance, and there is no nothings for Blue-tooth communication method
The transmission data of line data communication mode it is high-efficient, therefore, in the present embodiment, based on radio data communication mode,
When detecting wireless data communication signal, Blue-tooth communication method is switched to radio data communication mode, to realize data
High efficiency of transmission.
Further, after the step S203, the method also includes:
Step S204 obtains the order that the server is sent and completes instruction, completes instruction according to the order and generate lock
Fixed instruction is locked.
In the present embodiment, it when bluetooth approach is switched to radio data communication mode, no longer needs to turn by mobile terminal
The data of server are sent out, and control data directly can be sent to the shared bicycle by server, to guarantee data transmission
Efficiency.
Scheme provided in this embodiment, can real-time detection radio data communication mode signal of communication, it is wireless detecting
When the signal of communication of data communication and when the signal of communication of wireless data communication reaches preset value, Blue-tooth communication method is cut
Radio data communication mode is gained, in this case, server can directly send data to the shared bicycle, without
Data forwarding is carried out by mobile terminal, ensure that the efficiency of data transmission.
The present invention further provides a kind of order processing systems of shared bicycle.
Referring to the functional block diagram for the order processing system first embodiment that Fig. 6, Fig. 6 are the shared bicycle of the present invention.
The present invention shares in the order processing system first embodiment of bicycle, the order processing system packet of the shared bicycle
It includes:
Switching module 10, it is discontented in the connection status for judging the connection status of current wireless data communication mode
When sufficient preset condition, current wireless data communication mode is switched to bluetooth approach.
It should be noted that being equipped with signal supervisory instrument and signal switching apparatus in the shared bicycle, pass through letter
Number detection device detects the signal of communication of current wireless data communication mode, when signal of communication is unsatisfactory for preset condition, leads to
It crosses signal switching apparatus and current wireless data communication mode is switched to bluetooth approach.
It is understood that being equipped with bluetooth module and wireless data communication module, such as 2G/ on the shared bicycle
3G communication module, can also be other forms data communication module, the present embodiment to this with no restriction, it is seen then that the shared list
Vehicle can carry out data interaction by both radio data communication mode and the communication mode of bluetooth mode, still, in this implementation
In example, based on radio data communication mode, when radio data communication mode can not work, Blue-tooth communication method can switch to
Data interaction is carried out, to realize the subsidiary communications to shared bicycle, in the case where shared bicycle takes off pipe, improves shared bicycle
Utilization rate.
In the concrete realization, the preset condition can be the dtr signal of radio data communication mode, be unsatisfactory for signal
When basic demand, or when radio data communication mode is not detected, by signal switching apparatus, will preferentially it use without line number
It is switched to Blue-tooth communication method according to communication mode, so as to control in real time shared bicycle.
Request module 20, the order request sent for obtaining mobile terminal by bluetooth, and according to order request
Feedback lock application information is to the mobile terminal, so that the mobile terminal receives server according to the locking application information
The order of feedback completes instruction.
It should be noted that the mobile terminal includes mobile phone, tablet computer etc., may also include other can realize it is identical or
The equipment of identity function, the present embodiment with no restriction, in the present embodiment, take the mobile phone as an example and are illustrated to this.
In the concrete realization, when user has used shared bicycle to carry out order processing, discovery can not with shared bicycle into
Row connection, i.e., when server acquisition mobile phone transmission end order request instructs and completes order, due to shared bicycle and server
Between communication disruption cause order to be unable to complete so that shared bicycle, which does not receive server, sends order END instruction,
In this case, mobile phone can establish connection by bluetooth and shared bicycle, and complete order by application program operation on mobile phone
Locking application is simultaneously initiated in END instruction, and locking application is sent to server, server receive after locking application to order into
Row handles verifying, feeds back order after a successful authentication and completes instruction to mobile phone, order completion instruction is sent to shared by mobile phone
Bicycle solves de- in shared bicycle to realize through the data forwarding between mobile terminal completion server and shared bicycle
The connection between server is established in the case where pipe.
It is understood that the mobile terminal establishes connection by bluetooth and shared bicycle, by mobile terminal
Application program initiates order and completes request to shared bicycle, and sharing bicycle, locking application is initiated in order completion request based on the received
For information to mobile terminal, received locking application information is forwarded to server by mobile terminal, and receives server according to locking
The order of application information feedback completes request.
Locking module 30 completes instruction for receiving the order of server of mobile terminal forwarding, complete according to the order
Lock instruction is generated at instruction to be locked.
It should be noted that the shared bicycle can be completed to refer to after receiving order and completing instruction according to the order
It enables and generates lock instruction, complete to lock according to the lock instruction, to control shared bicycle at the end of order, improve shared
The safety of bicycle.
The present embodiment through the above scheme, by sharing bicycle according to the connection status of Current wireless communication mode, can incite somebody to action
Connection status is switched to bluetooth state, realizes the connection with mobile terminal by bluetooth, passes through mobile terminal completion and server
Between data forwarding.
In addition, to achieve the above object, the present invention also proposes a kind of shared bicycle, the shared bicycle include: memory,
Processor and the order processing program for being stored in the shared bicycle that can be run on the memory and on the processor, it is described
The step of order processing program of shared bicycle is arranged for carrying out the order processing method of shared bicycle as described above.
In addition, the embodiment of the present invention also proposes a kind of storage medium, ordering for shared bicycle is stored on the storage medium
Following operation is realized when the order processing program of single processing routine, the shared bicycle is executed by processor:
The connection status for judging current wireless data communication mode will when the connection status is unsatisfactory for preset condition
Current wireless data communication mode is switched to bluetooth approach;
The order request that mobile terminal is sent by bluetooth is obtained, and according to order request feedback lock application information to institute
Mobile terminal is stated, so that the mobile terminal completes instruction according to the order that the locking application information receives server feedback;
The order for receiving the server of mobile terminal forwarding completes instruction, generates locking according to order completion instruction and refers to
Order is locked.
Further, following operation is also realized when the order processing program of the shared bicycle is executed by processor:
The connection status for judging current wireless data communication mode extracts the transmission rate in the connection status, in institute
When stating transmission rate less than preset value, current wireless data communication mode is switched to bluetooth approach.
Further, following operation is also realized when the order processing program of the shared bicycle is executed by processor:
The connection status for judging current wireless data communication mode, in the communication letter that current wireless data communication is not detected
Number when, current wireless data communication mode is switched to bluetooth approach.
Further, following operation is also realized when the order processing program of the shared bicycle is executed by processor:
The Bluetooth connection request that the mobile terminal is sent is obtained, the Bluetooth connection request is verified, is being verified
It as a result is after being proved to be successful, to establish bluetooth connection with the mobile terminal.
Further, following operation is also realized when the order processing program of the shared bicycle is executed by processor:
Obtain the Bluetooth connection request that the mobile terminal is sent, judge at a distance from the mobile terminal, it is described away from
When from preset range, bluetooth connection is established with the mobile terminal.
Further, following operation is also realized when the order processing program of the shared bicycle is executed by processor:
The connection status of real-time detection Current wireless communication mode, when the connection status meets preset condition, by institute
It states bluetooth approach and is switched to radio data communication mode.
Further, following operation is also realized when the order processing program of the shared bicycle is executed by processor:
It directly acquires the order that the server is sent and completes instruction, instruction is completed according to the order and generates lock instruction
It is locked.
The present embodiment through the above scheme, by sharing bicycle according to the connection status of Current wireless communication mode, can incite somebody to action
Connection status is switched to bluetooth state, realizes the connection with mobile terminal by bluetooth, passes through mobile terminal completion and server
Between data forwarding.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in one as described above
In computer readable storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that an intelligent terminal (can
To be mobile phone, computer, server, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of order processing method of shared bicycle, which is characterized in that the order processing method of the shared bicycle includes:
Shared bicycle shares the connection status that bicycle judges current wireless data communication mode, is unsatisfactory in the connection status pre-
If when condition, current wireless data communication mode is switched to bluetooth approach;
The order request that mobile terminal is sent by bluetooth is obtained, and according to order request feedback lock application information to the shifting
Dynamic terminal, so that the mobile terminal completes instruction according to the order that the locking application information receives server feedback;
Receive mobile terminal forwarding server order complete instruction, according to the order complete instruction generate lock instruction into
Row locking.
2. the order processing method of shared bicycle as described in claim 1, which is characterized in that the shared bicycle judgement is current
The connection status of radio data communication mode communicates current wireless data when the connection status is unsatisfactory for preset condition
Mode is switched to bluetooth approach, specifically includes:
The connection status for judging current wireless data communication mode extracts the transmission rate in the connection status, in the biography
When defeated rate is less than preset value, current wireless data communication mode is switched to bluetooth approach.
3. the order processing method of shared bicycle as described in claim 1, which is characterized in that the shared bicycle judgement is current
The connection status of radio data communication mode communicates current wireless data when the connection status is unsatisfactory for preset condition
Mode is switched to bluetooth approach, specifically includes:
The connection status for judging current wireless data communication mode, in the signal of communication that current wireless data communication is not detected
When, current wireless data communication mode is switched to bluetooth approach.
4. the order processing method of shared bicycle as claimed any one in claims 1 to 3, which is characterized in that the acquisition
The order request that mobile terminal is sent by bluetooth, and according to order request feedback lock application information to the mobile terminal,
So that before the mobile terminal completes instruction according to the order that the locking application information receives server feedback, the method
Further include:
The Bluetooth connection request that the mobile terminal is sent is obtained, the Bluetooth connection request is verified, in verification result
After being proved to be successful, bluetooth connection is established with the mobile terminal.
5. the order processing method of shared bicycle as claimed in claim 4, which is characterized in that described to obtain the mobile terminal
The Bluetooth connection request of transmission verifies the Bluetooth connection request, and described after verification result is to be proved to be successful
Mobile terminal establishes bluetooth connection, specifically includes:
The Bluetooth connection request that the mobile terminal is sent is obtained, judges at a distance from the mobile terminal, is in the distance
When in preset range, bluetooth connection is established with the mobile terminal.
6. the order processing method of shared bicycle as claimed any one in claims 1 to 3, which is characterized in that the acquisition
The order request that mobile terminal is sent by bluetooth, and according to order request feedback lock application information to the mobile terminal,
So that before the mobile terminal completes instruction according to the order that the locking application information receives server feedback, the method
Further include:
The connection status of real-time detection Current wireless communication mode, when the connection status meets preset condition, by the indigo plant
Tooth mode is switched to radio data communication mode.
7. the order processing method of shared bicycle as claimed in claim 6, which is characterized in that the real-time detection is currently wireless
The bluetooth approach is switched to wireless data when the connection status meets preset condition by the connection status of communication mode
After communication mode, the method also includes:
It directly acquires the order that the server is sent and completes instruction, lock instruction is generated according to order completion instruction and is carried out
Locking.
8. a kind of order processing system of shared bicycle, which is characterized in that the order processing system of the shared bicycle includes:
Switching module is unsatisfactory for presetting for judging the connection status of current wireless data communication mode in the connection status
When condition, current wireless data communication mode is switched to bluetooth approach;
Request module, the order request sent for obtaining mobile terminal by bluetooth, and fed back and locked according to order request
Application information is determined to the mobile terminal, so that the mobile terminal receives server feedback according to the locking application information
Order completes instruction;
Locking module completes instruction for receiving the order of server of mobile terminal forwarding, completes to instruct according to the order
Lock instruction is generated to be locked.
9. a kind of shared bicycle, which is characterized in that the shared bicycle includes: memory, processor and is stored in the storage
On device and the order processing program of shared bicycle that can run on the processor, the order processing program of the shared bicycle
The step of being arranged for carrying out the order processing method of the shared bicycle as described in any one of claims 1 to 7.
10. a kind of storage medium, which is characterized in that be stored with the order processing program of shared bicycle, institute on the storage medium
State the shared list realized as described in any one of claims 1 to 7 when the order processing program of shared bicycle is executed by processor
The step of order processing method of vehicle.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810786930.2A CN109064267A (en) | 2018-07-16 | 2018-07-16 | Order processing method, system, shared bicycle and the storage medium of shared bicycle |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810786930.2A CN109064267A (en) | 2018-07-16 | 2018-07-16 | Order processing method, system, shared bicycle and the storage medium of shared bicycle |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109064267A true CN109064267A (en) | 2018-12-21 |
Family
ID=64817023
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810786930.2A Pending CN109064267A (en) | 2018-07-16 | 2018-07-16 | Order processing method, system, shared bicycle and the storage medium of shared bicycle |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109064267A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110027507A (en) * | 2019-03-18 | 2019-07-19 | 山东开创云软件有限公司 | A kind of the various dimensions lock state switching method and system of shared automobile |
CN110517473A (en) * | 2019-07-26 | 2019-11-29 | 安徽浩达电子科技有限公司 | A kind of portable intelligent communication system and its working method |
CN111818478A (en) * | 2020-06-28 | 2020-10-23 | 武汉小安科技有限公司 | Data transmission method, device, storage medium and device for vehicle |
CN111862402A (en) * | 2019-12-31 | 2020-10-30 | 北京骑胜科技有限公司 | Intelligent lock management method and related device |
CN111866826A (en) * | 2019-12-31 | 2020-10-30 | 北京骑胜科技有限公司 | Data uploading method and related device |
CN111866783A (en) * | 2019-12-27 | 2020-10-30 | 北京骑胜科技有限公司 | Order processing method and device, computer equipment and storage medium |
CN113037788A (en) * | 2019-12-09 | 2021-06-25 | 观致汽车有限公司 | Vehicle data reissue system and method |
CN113055853A (en) * | 2019-12-26 | 2021-06-29 | 观致汽车有限公司 | Vehicle data reissue system and method |
CN113140077A (en) * | 2021-04-09 | 2021-07-20 | 武汉小安科技有限公司 | Helmet sharing method and device and storage medium |
CN113342533A (en) * | 2021-06-28 | 2021-09-03 | 宁波小遛共享信息科技有限公司 | Vehicle using method and device |
CN111866783B (en) * | 2019-12-27 | 2024-07-16 | 北京骑胜科技有限公司 | Order processing method, order processing device, computer equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106792551A (en) * | 2017-02-21 | 2017-05-31 | 上海量明科技发展有限公司 | Distinguish the method for charging, order car terminal and system in shared vehicle parking position |
CN107046572A (en) * | 2017-03-29 | 2017-08-15 | 上海云燊智能科技有限公司 | A kind of wireless launcher, wireless sharing parking management system and control method |
CN107464360A (en) * | 2017-06-22 | 2017-12-12 | 杭州金通公共自行车科技股份有限公司 | A kind of temporary parking method for being used to pinpoint public bicycles system of returning the car |
CN107563831A (en) * | 2017-07-21 | 2018-01-09 | 重庆无线绿洲通信技术有限公司 | Return the car processing and control method, car-mounted terminal, user terminal, platform of hiring a car |
CN107700970A (en) * | 2017-11-10 | 2018-02-16 | 北京摩拜科技有限公司 | Parking management method, lock and vehicle |
CN207115586U (en) * | 2017-06-29 | 2018-03-16 | 西安培华学院 | A kind of shared bicycle is returned the car Verification System |
CN108053560A (en) * | 2017-11-20 | 2018-05-18 | 东峡大通(北京)管理咨询有限公司 | Shut statement of account method, vehicle and server |
-
2018
- 2018-07-16 CN CN201810786930.2A patent/CN109064267A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106792551A (en) * | 2017-02-21 | 2017-05-31 | 上海量明科技发展有限公司 | Distinguish the method for charging, order car terminal and system in shared vehicle parking position |
CN107046572A (en) * | 2017-03-29 | 2017-08-15 | 上海云燊智能科技有限公司 | A kind of wireless launcher, wireless sharing parking management system and control method |
CN107464360A (en) * | 2017-06-22 | 2017-12-12 | 杭州金通公共自行车科技股份有限公司 | A kind of temporary parking method for being used to pinpoint public bicycles system of returning the car |
CN207115586U (en) * | 2017-06-29 | 2018-03-16 | 西安培华学院 | A kind of shared bicycle is returned the car Verification System |
CN107563831A (en) * | 2017-07-21 | 2018-01-09 | 重庆无线绿洲通信技术有限公司 | Return the car processing and control method, car-mounted terminal, user terminal, platform of hiring a car |
CN107700970A (en) * | 2017-11-10 | 2018-02-16 | 北京摩拜科技有限公司 | Parking management method, lock and vehicle |
CN108053560A (en) * | 2017-11-20 | 2018-05-18 | 东峡大通(北京)管理咨询有限公司 | Shut statement of account method, vehicle and server |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110027507A (en) * | 2019-03-18 | 2019-07-19 | 山东开创云软件有限公司 | A kind of the various dimensions lock state switching method and system of shared automobile |
CN110517473A (en) * | 2019-07-26 | 2019-11-29 | 安徽浩达电子科技有限公司 | A kind of portable intelligent communication system and its working method |
CN113037788A (en) * | 2019-12-09 | 2021-06-25 | 观致汽车有限公司 | Vehicle data reissue system and method |
CN113055853A (en) * | 2019-12-26 | 2021-06-29 | 观致汽车有限公司 | Vehicle data reissue system and method |
CN111866783B (en) * | 2019-12-27 | 2024-07-16 | 北京骑胜科技有限公司 | Order processing method, order processing device, computer equipment and storage medium |
CN111866783A (en) * | 2019-12-27 | 2020-10-30 | 北京骑胜科技有限公司 | Order processing method and device, computer equipment and storage medium |
CN111862402A (en) * | 2019-12-31 | 2020-10-30 | 北京骑胜科技有限公司 | Intelligent lock management method and related device |
CN111866826A (en) * | 2019-12-31 | 2020-10-30 | 北京骑胜科技有限公司 | Data uploading method and related device |
CN111862402B (en) * | 2019-12-31 | 2022-07-22 | 北京骑胜科技有限公司 | Intelligent lock management method and related device |
CN111818478A (en) * | 2020-06-28 | 2020-10-23 | 武汉小安科技有限公司 | Data transmission method, device, storage medium and device for vehicle |
CN113140077A (en) * | 2021-04-09 | 2021-07-20 | 武汉小安科技有限公司 | Helmet sharing method and device and storage medium |
CN113342533A (en) * | 2021-06-28 | 2021-09-03 | 宁波小遛共享信息科技有限公司 | Vehicle using method and device |
CN113342533B (en) * | 2021-06-28 | 2024-05-28 | 浙江小遛信息科技有限公司 | Vehicle using method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109064267A (en) | Order processing method, system, shared bicycle and the storage medium of shared bicycle | |
CN106850580B (en) | A kind of automobile account system and account automatic verification method | |
US9521238B1 (en) | Establishing multiple short range wireless links between a vehicle and a mobile device | |
US9462626B1 (en) | Maintaining a mirroring session between a vehicle and a mobile device | |
KR100455702B1 (en) | Mobile communication method and mobile communication system | |
US20110177780A1 (en) | Wireless communication apparatus | |
JP5966718B2 (en) | Near field communication system and near field communication terminal | |
MXPA05006171A (en) | System and method for handshaking between wireless devices and servers. | |
CN102780513A (en) | Mobile terminal and method for realizing Bluetooth communication between mobile terminals | |
WO2021169880A1 (en) | Security authentication method and apparatus, and electronic device | |
US20130109351A1 (en) | Authentication system, authentication method and authentication server | |
US9326114B2 (en) | Transferring a voice call | |
CN106850703B (en) | Communication method based on social identity and server | |
US8615272B2 (en) | Method and system for associating subscriber identity module | |
US8565837B2 (en) | Hands free calling system for telematics users using a network-based pre-pay system | |
US7155200B2 (en) | Radio apparatus and link loss recovery method | |
CN107943622B (en) | Standby operation and maintenance method, device and system | |
CN103546873B (en) | Services through one key pushed processing method and processing device | |
JP4935260B2 (en) | Communication terminal switching method and system, information processing apparatus, communication terminal, and program used therefor | |
JP3711394B2 (en) | RADIO COMMUNICATION SYSTEM, CELLULAR TELEPHONE COMPONENT, EXTERNAL DEVICE, AND RADIO COMMUNICATION METHOD | |
CN112702739A (en) | Wireless network sharing method, device, readable storage medium and mobile terminal | |
US10922424B2 (en) | Method and system for securely providing vehicle services data to a vehicle | |
CN111867048A (en) | Registration control method and device of VoWiFi, electronic equipment and server | |
US20170105148A1 (en) | Policy implementation over lmr and ip networks | |
CN106412797A (en) | Service processing method and apparatus based on near field communication (NFC) |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181221 |