CN109982237A - A kind of communication means and equipment - Google Patents

A kind of communication means and equipment Download PDF

Info

Publication number
CN109982237A
CN109982237A CN201811574637.6A CN201811574637A CN109982237A CN 109982237 A CN109982237 A CN 109982237A CN 201811574637 A CN201811574637 A CN 201811574637A CN 109982237 A CN109982237 A CN 109982237A
Authority
CN
China
Prior art keywords
server
terminal device
mould group
message
destinations traffic
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
CN201811574637.6A
Other languages
Chinese (zh)
Other versions
CN109982237B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201811574637.6A priority Critical patent/CN109982237B/en
Publication of CN109982237A publication Critical patent/CN109982237A/en
Application granted granted Critical
Publication of CN109982237B publication Critical patent/CN109982237B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/22Payment schemes or models
    • G06Q20/28Pre-payment schemes, e.g. "pay before"
    • 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/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • 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
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B15/00Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points
    • G07B15/02Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points taking into account a variable factor such as distance or time, e.g. for passenger transport, parking systems or car rental systems
    • G07B15/04Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points taking into account a variable factor such as distance or time, e.g. for passenger transport, parking systems or car rental systems comprising devices to free a barrier, turnstile, or the like
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/42Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for mass transport vehicles, e.g. buses, trains or aircraft
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Abstract

The problem of the embodiment of the invention discloses a kind of communication means and equipment, are related to field of communication technology, can not accurately be deducted fees to user account with settlement server.This method comprises: the destinations traffic mould group in multiple communications modules sends first message to server, first message is used to indicate destinations traffic mould group and terminal device establishes connection;Server obtains first location information according to first message, and first location information is used to indicate the location of destinations traffic mould group when destinations traffic mould group sends first message;Destinations traffic mould group sends second message to server, and second message is used to indicate destinations traffic mould group and disconnects with terminal device;Server obtains second location information according to second message, and second location information is used to indicate the location of destinations traffic mould group when destinations traffic mould group sends second message;Server deducts fees to the corresponding user account of terminal device according to first location information and second location information.

Description

A kind of communication means and equipment
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of communication means and equipment.
Background technique
With the quickening of modern society's life rhythm, subway has been increasingly becoming the important friendship used when a kind of people trip Logical tool.
Currently, user can enter the station the two dimensional code alignment that terminal device is shown in gate when user enters subway station Scanning device, so that server after being proved to be successful to subscriber identity information, can control the gate opening for the gate that enters the station, and Start charging;When user leaves subway station, two dimensional code can be directed at the scanning device in outbound gate again, to service Device can control the gate opening of outbound gate after being proved to be successful to subscriber identity information, and stop charging, then again to Family account is deducted fees.
However, in the above method, if user enters from the gate that enters the station of a subway station, and from the same subway station Outbound gate leaves, then server can not judge the user whether have occurred take subway behavior, thus can not accurately to Family account is deducted fees.
Summary of the invention
The embodiment of the present invention provides a kind of communication means and equipment, is passed in and out, is caused with solving user from the same subway station Server can not judge whether user has occurred and take subway behavior, thus the problem of can not accurately deducting fees to user account.
In order to solve the above-mentioned technical problem, the embodiments of the present invention are implemented as follows:
In a first aspect, the embodiment of the invention provides a kind of communication means.This method is applied to server device, server-side Equipment includes server, and the multiple communications modules connecting with server, and multiple communications module settings are on a vehicle.It should Method includes: that the destinations traffic mould group in multiple communications modules sends first message to server, which is used to indicate Destinations traffic mould group and terminal device establish connection;Server obtains first location information according to the first message, and this first Confidence breath is used to indicate the location of destinations traffic mould group when destinations traffic mould group sends first message;Destinations traffic mould group to Server sends second message, which is used to indicate destinations traffic mould group and disconnects with terminal device;Server root According to the second message, second location information is obtained, which, which is used to indicate destinations traffic mould group and sends this, second disappears The location of destinations traffic mould group when breath;Server sets terminal according to the first location information and the second location information Standby corresponding user account is deducted fees.
Second aspect, the embodiment of the invention provides a kind of server devices.The server device includes server, and The multiple communications modules connecting with server, multiple communications module setting is on a vehicle.Wherein, multiple communications module In destinations traffic mould group, be used to indicate the target for sending first message and second message, the first message to server Communications module and terminal device establish connection, which is used to indicate the destinations traffic mould group and terminal device disconnects and connecting It connects.Server, for obtaining first location information according to the first message;And according to the second message, second confidence is obtained Breath;And it according to the first location information and the second location information, deducts fees to the corresponding user account of terminal device;This first Location information is used to indicate the location of destinations traffic mould group when the destinations traffic mould group sends the first message, this second Location information is used to indicate the location of destinations traffic mould group when the destinations traffic mould group sends the second message.
The third aspect, the embodiment of the invention provides a kind of communication means.This method is applied to terminal device.This method packet It includes: in the case where being less than or equal to target pre-determined distance at a distance from terminal device is between destinations traffic mould group, terminal device Connection is established with the destinations traffic mould group, which is logical in the multiple communications modules of setting on a vehicle Believe mould group;In the case where the duration that terminal device and destinations traffic mould group disconnect is greater than or equal to preset duration, receive The verification information that server is sent, the verification information are used to indicate server and deduct fees to the corresponding user account of terminal device, Server is connect with terminal device.
Fourth aspect, the embodiment of the present invention provide a kind of terminal device.The terminal device includes link block and reception mould Block.Wherein, link block, for being less than or equal to target pre-determined distance at a distance from terminal device is between destinations traffic mould group In the case where, connection is established with the destinations traffic mould group, which is the multiple communications of setting on a vehicle Communications module in mould group;Receiving module, the duration for being disconnected in terminal device and the destinations traffic mould group be greater than or In the case where preset duration, the verification information that server is sent is received, which is used to indicate server to end The corresponding user account of end equipment is deducted fees, and server is connect with terminal device.
5th aspect the embodiment of the invention provides a kind of server device, including processor, memory and is stored in this On memory and the computer program that can run on the processor, the computer program realize first when being executed by the processor The step of communication means that aspect provides.
6th aspect the embodiment of the invention provides a kind of terminal device, including processor, memory and is stored in this and deposits On reservoir and the computer program that can run on the processor, the computer program realize third party when being executed by the processor The step of communication means that face provides.
7th aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage mediums Computer program is stored in matter, and the communication that first aspect or the third aspect provide is realized when which is executed by processor The step of method.
In embodiments of the present invention, the destinations traffic mould group in multiple communications modules can send first message to server (first message can serve to indicate that destinations traffic mould group and terminal device establish connection);Server first can disappear according to this Breath, obtaining first location information, (first location information can serve to indicate that target when destinations traffic mould group sends first message The location of communications module);Destinations traffic mould group can send second message to server, and (second message can be used for referring to Show that destinations traffic mould group and terminal device disconnect);Server can obtain second location information according to the second message (second location information can serve to indicate that position locating for destinations traffic mould group when destinations traffic mould group sends the second message It sets);Server can buckle the corresponding user account of terminal device according to the first location information and the second location information Take.With this solution, it is connect since destinations traffic mould group on a vehicle can be established to be connected and disconnected from terminal device, Therefore the location of destinations traffic mould group determines when server can establish connection according to destinations traffic mould group and terminal device The start site of user, the location of destinations traffic mould group determines when being disconnected according to destinations traffic mould group and terminal device The purpose website of user, so as to deduct fees in the case where behavior occurs to ride for user to user account, i.e., the present invention is implemented Example can more precisely deduct fees to user account.
Detailed description of the invention
Fig. 1 is a kind of one of configuration diagram of communication system provided in an embodiment of the present invention;
Fig. 2 is the two of a kind of configuration diagram of communication system provided in an embodiment of the present invention;
Fig. 3 is the three of a kind of configuration diagram of communication system provided in an embodiment of the present invention;
Fig. 4 is a kind of one of schematic diagram of communication means provided in an embodiment of the present invention;
Fig. 5 is the two of a kind of schematic diagram of communication means provided in an embodiment of the present invention;
Fig. 6 is the three of a kind of schematic diagram of communication means provided in an embodiment of the present invention;
Fig. 7 is the four of a kind of schematic diagram of communication means provided in an embodiment of the present invention;
Fig. 8 is the five of a kind of schematic diagram of communication means provided in an embodiment of the present invention;
Fig. 9 is one of the structural schematic diagram of terminal device provided in an embodiment of the present invention;
Figure 10 is the second structural representation of terminal device provided in an embodiment of the present invention;
Figure 11 is the hardware schematic of terminal device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
The terms "and/or" is a kind of incidence relation for describing affiliated partner, indicates may exist three kinds of relationships, For example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.Symbol herein "/" indicates that affiliated partner is relationship such as A/B expression A or B perhaps.
Term " first " and " second " in description and claims of this specification etc. are for distinguishing different pairs As, rather than it is used for the particular order of description object.For example, first message and second message etc. are for distinguishing different disappear Breath, rather than the particular order for describing message.
In embodiments of the present invention, " illustrative " or " such as " etc. words for indicate make example, illustration or explanation.This Be described as in inventive embodiments " illustrative " or " such as " any embodiment or design scheme be not necessarily to be construed as comparing Other embodiments or design scheme more preferably or more advantage.Specifically, use " illustrative " or " such as " etc. words purport Related notion is being presented in specific ways.
In the description of the embodiment of the present invention, unless otherwise indicated, the meaning of " plurality " is refer to two or more, For example, multiple element refers to two or more element etc..
Some term/nouns involved in the embodiment of the present invention are explained below.
Private virtual network (Private Virtual Network, PVN): refer to that can support a 5G local area network class Channel radio may be implemented between each equipment (or each device) in the private virtual network in the private virtual network of type service Letter.
The embodiment of the present invention provides a kind of communication means and equipment, and the destinations traffic mould group in multiple communications modules can be to Server sends first message (first message can serve to indicate that destinations traffic mould group and terminal device establish connection);Service Device can be according to the first message, and obtaining first location information, (first location information can serve to indicate that destinations traffic mould group The location of destinations traffic mould group when sending first message);Destinations traffic mould group can send second message to server (should Second message can serve to indicate that destinations traffic mould group and terminal device disconnect);Server can according to the second message, Obtaining second location information, (second location information can serve to indicate that target is logical when destinations traffic mould group sends the second message Believe the location of mould group);Server can be corresponding to terminal device according to the first location information and the second location information User account deduct fees.With this solution, connect since destinations traffic mould group on a vehicle can be established with terminal device It connects and disconnects, therefore destinations traffic mould group institute when server can establish connection according to destinations traffic mould group and terminal device The position at place determines the start site of user, destinations traffic mould group institute when being disconnected according to destinations traffic mould group and terminal device The position at place determines the purpose website of user, so as to deduct fees in the case where behavior occurs to ride for user to user account, I.e. the embodiment of the present invention can more precisely deduct fees to user account.
Referring to each attached drawing provided in an embodiment of the present invention to communication means provided in an embodiment of the present invention and equipment Illustratively illustrated.
Embodiment one,
As shown in Figure 1, the embodiment of the present invention provides a kind of communication system.The communication system may include server device 10 With terminal device 11.Wherein, which may include server 101, and connect with server 101 multiple logical Believe that mould group 102, multiple communications module 102 can be set on a vehicle.
Wherein, the destinations traffic mould group in above-mentioned multiple communications modules 102 can be used for sending first to server 101 Message and second message.The first message can serve to indicate that the destinations traffic mould group and terminal device 11 establish connection.This Two message can serve to indicate that the destinations traffic mould group is disconnected with terminal device 11.
Above-mentioned server 101 can be used for obtaining first location information according to first message;And according to second message, obtain Take second location information;And according to the first location information and the second location information, to the corresponding user of terminal device 11 Account is deducted fees.The first location information can serve to indicate that destinations traffic mould group when destinations traffic mould group sends the first message Location.The second location information can serve to indicate that destinations traffic mould when destinations traffic mould group sends the second message The location of group.
Optionally, in the embodiment of the present invention, the network type of above-mentioned communication system can be 5G PVN.
It should be noted that above-mentioned Fig. 1 is by taking server 101 and three communications modules 102 as an example in the embodiment of the present invention It illustrates, any restriction is not caused to the embodiment of the present invention.It is appreciated that in actual implementation, communicating mould The quantity of group can be determined according to actual use demand.For example, when the above-mentioned vehicles are bus, it can on each bus A communications module is respectively set;When the above-mentioned vehicles are subway, can be set respectively in each compartment of each subway Set a communications module.
Optionally, in the embodiment of the present invention, the above-mentioned vehicles can be bus, subway or other possible traffic Tool etc..Specifically it can determine that the embodiment of the present invention is without limitation according to actual use demand.
Optionally, in the embodiment of the present invention, above-mentioned destinations traffic mould group can be the multiple communications connecting with server 101 Any communication mould group in mould group 102.For example, destinations traffic mould group can when user takes first compartment of a subway Think the communications module or multiple communications modules being arranged in first compartment.
Optionally, in the embodiment of the present invention, above-mentioned server 101 can pass through third generation partner program (3rd Generation Partnership Project, 3GPP) network obtains first location information and second location information, or passes through Non-3 GPP network obtains first location information and second location information.It can specifically be determined according to actual use demand, the present invention Embodiment is not construed as limiting.
The embodiment of the present invention provides a kind of server device, since destinations traffic mould group on a vehicle can be with end End equipment foundation is connected and disconnected from connection, therefore mesh when server can establish connection with terminal device according to destinations traffic mould group Mark the start site that the location of communications module determines user, mesh when disconnecting according to destinations traffic mould group and terminal device Mark the purpose website that the location of communications module determines user, so as in the case where behavior occurs to ride for user to Family account is deducted fees, i.e., server device provided in an embodiment of the present invention can more precisely deduct fees to user account.
Optionally, in the embodiment of the present invention, destinations traffic mould group in above-mentioned multiple communications modules 102 can specifically be used In the case that the duration being continuously connected in destinations traffic mould group and terminal device 11 is greater than or equal to the first preset duration, to clothes Business device 101 sends first message;And the duration being continuously turned off in destinations traffic mould group and terminal device 11 is greater than or equal to second In the case where preset duration, second message is sent to server 101.
It should be noted that above-mentioned first preset duration and the second preset duration can be equal in the embodiment of the present invention, It can not wait.It can specifically be determined according to actual use demand, the embodiment of the present invention is not construed as limiting.
Illustratively, it is assumed that the first preset duration is 30 seconds.After user's carried terminal equipment takes upper subway, due to The distance between terminal device and destinations traffic mould group are less than or equal to target pre-determined distance, therefore terminal device can be with subway On destinations traffic mould group establish connection.If the destinations traffic mould group detects that destinations traffic mould group continues to connect with terminal device The duration connect is greater than 30 seconds, then the destinations traffic mould group can determine that terminal device sends use on subway, and to server The first message of connection is established in the instruction destinations traffic mould group and terminal device.First disappear in this way, server can receive this Breath, and according to the first message, acquisition is used to indicate destinations traffic mould group institute when destinations traffic mould group sends the first message The first location information of the position at place obtains the start site of user.
Illustratively, it is assumed that the second preset duration is 10 seconds.After user's carried terminal equipment leaves subway, due to end The distance between end equipment and destinations traffic mould group are greater than a pre-determined distance, therefore terminal device can be with the target on subway Communications module disconnects.If the destinations traffic mould group detects that destinations traffic mould group and terminal device are continuously turned off connection Duration is greater than 10 seconds, then the destinations traffic mould group can determine that user's carried terminal equipment is left on subway, and to server It sends and is used to indicate the second message that the destinations traffic mould group is disconnected with terminal device.In this way, server can receive this Second message, and according to the second message, acquisition is used to indicate destinations traffic when destinations traffic mould group sends the second message The second location information of the location of mould group obtains the purpose website of user.
Server device provided in an embodiment of the present invention can be with by setting the first preset duration and the second preset duration It avoids causing terminal device and the of short duration foundation of destinations traffic mould group due to the unstable equal possible causes of the network signal of communication system Connection or it is of short duration disconnect so that destinations traffic mould group be mistakenly considered user's carried terminal equipment take subway and to server send out First message is sent, or is mistakenly considered user's carried terminal equipment and leaves subway and send second message to server, to avoid Service accidentally deducts fees to user account, and then the accuracy that server is deducted fees can be improved.
Optionally, in the embodiment of the present invention, server 101 be can be also used for the corresponding user's account of terminal device 11 After family is deducted fees, verification information is sent to terminal device 11.Wherein, which can serve to indicate that server 101 is right The corresponding user account of terminal device 11 is deducted fees, and server 101 is connect with terminal device 11.
Illustratively, after user's carried terminal equipment leaves subway, server can be to the corresponding use of terminal device Family account is deducted fees, and sends verification information " successful payment: 4.0 yuan to terminal device.Payment method: * * bank, remaining sum. Trading object: the city * * leads to Development Co., Ltd.Riding time: 2018-11-28 08:09:34.Identifying code: 548091 ".Such as This, terminal device can receive the verification information, and the verification information be shown on the screen of terminal device, and when outbound The verification information is sent to first object gate equipment, so that user can be logical from the region where first object gate equipment It crosses.
Server device provided in an embodiment of the present invention, server can be made by sending verification information to terminal device User knows specific consumption content, and allows user using the verification information as outbound voucher.
Optionally, in conjunction with Fig. 1, as shown in Fig. 2, server device provided in an embodiment of the present invention 10 can also include and clothes Multiple first gate equipment 103 that business device 101 connects.Wherein, the first object gate in multiple first gate equipment 103 is set It is standby, in the case where for being less than or equal to the first pre-determined distance at a distance from first object gate equipment is between terminal device, The first request message is sent to server 101, which may include verification information, which can be with For the requests verification verification information.Server 101 can be also used for verifying the verification information according to first request message Whether matched with the first information in server, and in the verification information and the matched situation of the first information, to this One target gate equipment sends the first response message, first response message can serve to indicate that allow terminal device 11 from this Region where one target gate equipment passes through.First object gate equipment can be also used for according to first response message, control Make the gate opening of the first object gate equipment.
It should be noted that the first gate equipment in the embodiment of the present invention can be outbound gate equipment, first object Gate equipment can be an outbound gate equipment in multiple outbound gate equipment.
Illustratively, in the case where terminal device receives the verification information of server transmission, if user carries eventually End equipment is close to first object gate equipment, and terminal device is less than or equal to first in advance at a distance from first object gate equipment If distance, then terminal device can establish connection with first object gate equipment, and tested to the transmission of first object gate equipment It demonstrate,proves information (verification information can serve to indicate that server deducts fees to the corresponding user account of terminal device).In first object After gate equipment receives the verification information, the first request message including the verification information can be sent to server.Clothes Business device can receive first request message, and verify the verification information, and in the case where being proved to be successful to the verification information, The first response message is sent to the first object gate equipment.First object gate equipment can according to first response message, The gate opening of the first object gate equipment is controlled, so that user can be with carried terminal equipment from first object gate equipment institute Region pass through.
Server device provided in an embodiment of the present invention can be sent terminal device due to first object gate equipment Verification information is forwarded to server, therefore server can control first object lock in the case where deducting fees to user account The gate of machine equipment automatically turns on, so that user can pass through from the region where first object gate equipment.
Optionally, in conjunction with Fig. 2, as shown in figure 3, server device provided in an embodiment of the present invention 10 can also include and clothes Multiple second gate equipment 104 that business device 101 connects.Wherein, the second target gate in multiple second gate equipment 104 is set It is standby, it can be used at a distance from the second target gate equipment is between terminal device the case where being less than or equal to the second pre-determined distance Under, the second request message is sent to server 101, it is corresponding which can be used for requests verification terminal device 11 User information.Server 101, can be also used for according to second request message, verify the user information whether in server The second information matches sent out to the second target gate equipment and to the user information and in the case where second information matches The second response message is sent, which can serve to indicate where allowing terminal device from the second target gate equipment Region passes through.Second target gate equipment can be also used for controlling the second target gate equipment according to second response message Gate opening.
It should be noted that the second gate equipment in the embodiment of the present invention can be the gate equipment that enters the station, the second target Gate equipment can be the gate equipment that enters the station in multiple gate equipment that enter the station.
In addition, above-mentioned Fig. 3 is illustrated for combining Fig. 2, the embodiment of the present invention is not caused Any restriction.It is appreciated that in actual implementation, above-mentioned Fig. 3 can be combined with Fig. 1, it specifically can be true according to actual use demand It is fixed.
Illustratively, when user's carried terminal equipment enters subway, if second mesh of the terminal device in website Gate equipment is marked, and terminal device is less than or equal to the second pre-determined distance at a distance from the second target gate equipment, then terminal Equipment can establish connection with the second target gate equipment.Second target gate equipment can send the second request to server and disappear It ceases (second request message can be used for the corresponding user information of requests verification terminal device).Server can receive this second Request message, and the user information is verified according to second request message, and the case where being proved to be successful to the user information Under, sending the second response message to the second target gate equipment, (second response message can serve to indicate that permission terminal device Pass through from the region where the second target gate equipment).Second target gate equipment can receive second response message, and root According to second response message, the gate opening of the second target gate equipment is controlled, so that user can be with carried terminal equipment from the Region where two target gate equipment passes through.
Server device provided in an embodiment of the present invention, since the second target gate equipment can be verified eventually with request server The corresponding user information of end equipment, therefore when user information is verified, the second target gate equipment can control The gate of two target gate equipment automatically turns on, so that user can be logical from the region where the second target gate equipment It crosses.
Optionally, in the embodiment of the present invention, above-mentioned server 101 be can be also used for before obtaining second location information, In the case where detecting user account Sorry, your ticket has not enough value, prompt information is sent to terminal device 11.Wherein, which can With for the corresponding user account of prompt terminal equipment 11, Sorry, your ticket has not enough value.
Illustratively, after user's carried terminal equipment takes upper subway, if the destinations traffic mould group on subway is examined It measures destinations traffic mould group to be greater than 30 seconds with the duration that terminal device is continuously connected with, then the destinations traffic mould group can determine end End equipment sends to server be used to indicate that the destinations traffic mould group establishes connection with terminal device first and disappears on subway Breath.Server can obtain first location information according to the first message, and detect the remaining of the corresponding user account of terminal device Volume.If server detects the user account, Sorry, your ticket has not enough value, and server can send prompt information to terminal device " Sorry, your ticket has not enough value for your user account, normal outbound in order to not influence you, please supplements with money in time ", so that terminal device can receive simultaneously Show the prompt information.Such user can supplement with money before getting off in advance according to the prompt information.
Server device provided in an embodiment of the present invention, since server can be in the corresponding user account of terminal device In the case that Sorry, your ticket has not enough value, user is prompted to supplement with money in time, therefore user can supplement with money in advance before getting off, to avoid after getting off It supplements with money and wastes user time.
Embodiment two,
As shown in figure 4, the embodiment of the present invention provides a kind of communication means.This method can be applied to above-described embodiment one Communication system.This method may include following step 401- step 406.
Step 401, the feelings for being less than or equal to target pre-determined distance at a distance from terminal device is between destinations traffic mould group Under condition, terminal device and destinations traffic mould group establish connection.
Step 402, destinations traffic mould group send first message to server.
Wherein, first message can serve to indicate that destinations traffic mould group and terminal device establish connection.
Step 403, server receive the first message, and according to the first message, obtain first location information.
Wherein, first location information can serve to indicate that destinations traffic mould group when destinations traffic mould group sends first message Location.
Step 404, the feelings for being greater than or equal to preset duration in the duration that terminal device and destinations traffic mould group disconnect Under condition, destinations traffic mould group sends second message to server.
Wherein, second message can serve to indicate that destinations traffic mould group is disconnected with terminal device.
Step 405, server receive the second message, and according to the second message, obtain second location information.
Wherein, second location information can serve to indicate that destinations traffic mould group when destinations traffic mould group sends second message Location.
Step 406, server are according to the first location information and the second location information, user corresponding to terminal device Account is deducted fees.
It should be noted that may refer in above-described embodiment for the specific descriptions of above-mentioned steps 401- step 406 Associated description, details are not described herein again.
The embodiment of the present invention provides a kind of communication means, since destinations traffic mould group on a vehicle can be with terminal Equipment foundation is connected and disconnected from connection, therefore target when server can establish connection with terminal device according to destinations traffic mould group The location of communications module determines the start site of user, target when being disconnected according to destinations traffic mould group and terminal device The location of communications module determine user purpose website, so as to user occur ride behavior in the case where to user Account is deducted fees, i.e., communication means provided in an embodiment of the present invention can more precisely deduct fees to user account.
Optionally, in conjunction with Fig. 4, as shown in figure 5, after above-mentioned steps 406, communication means provided in an embodiment of the present invention It can also include the steps that following 407- steps 408.
Step 407, server send verification information to terminal device.
Wherein, verification information can serve to indicate that server deducts fees to the corresponding user account of terminal device, server It is connect with terminal device.
Step 408, terminal device receive the verification information.
It should be noted that may refer in above-described embodiment for the specific descriptions of above-mentioned steps 407- step 408 Associated description, details are not described herein again.
Communication means provided in an embodiment of the present invention, server can be used by sending verification information to terminal device Specific consumption content is known at family, and allows user using the verification information as outbound voucher.
Optionally, in conjunction with Fig. 5, as shown in fig. 6, after above-mentioned steps 408, communication means provided in an embodiment of the present invention It can also include the steps that following 409- steps 414.
It is step 409, small at a distance from terminal device is between the first object gate equipment in multiple first gate equipment In or be equal to the first pre-determined distance in the case where, terminal device to first object gate equipment send verification information.
Wherein, verification information can serve to indicate that server deducts fees to the corresponding user account of terminal device.
Step 410, first object gate equipment receive the verification information.
Step 411, first object gate equipment send the first request message to server.
Wherein, the first request message may include verification information, and the first request message is used for requests verification verification information.
Step 412, server receive first request message, and according to first request message, authentication information is The no first information with server matches.
Step 413, under the verification information and the matched situation of the first information, server to first object gate equipment send out Send the first response message.
Wherein, the first response message can serve to indicate that the region allowed where terminal device from first object gate equipment Pass through.
Step 414, first object gate equipment receive first response message, and according to first response message, control The gate opening of first object gate equipment.
It should be noted that may refer in above-described embodiment for the specific descriptions of above-mentioned steps 409- step 414 Associated description, details are not described herein again.
Communication means provided in an embodiment of the present invention, since first object gate equipment can be tested what terminal device was sent Card information is forwarded to server, therefore server can control first object gate in the case where deducting fees to user account The gate of equipment automatically turns on, so that user can pass through from the region where first object gate equipment.
Optionally, in conjunction with Fig. 5, as shown in fig. 7, before above-mentioned steps 401, communication means provided in an embodiment of the present invention It can also include the steps that following 415- steps 419.
Step 415 is less than or equal to the second pre-determined distance at a distance from terminal device is between the second target gate equipment In the case where, terminal device and the second target gate equipment establish connection.
Step 416, the second target gate equipment send the second request message to server.
Wherein, the second request message can be used for the corresponding user information of requests verification terminal device.
Step 417, server receive second request message, and according to second request message, verifying user information is No the second information matches with server.
Step 418, in the user information and in the case where the second information matches, server is sent out to the second target gate equipment Send the second response message.
Wherein, the second response message can serve to indicate that the region allowed where terminal device from the second target gate equipment Pass through.
Step 419, the second target gate equipment receive second response message, and according to second response message, control The gate opening of second target gate equipment.
It should be noted that may refer in above-described embodiment for the specific descriptions of above-mentioned steps 415- step 419 Associated description, details are not described herein again.
Communication means provided in an embodiment of the present invention, since the second target gate equipment can verify terminal with request server The corresponding user information of equipment, therefore the second target gate equipment can control second when user information is verified The gate of target gate equipment automatically turns on, so that user can pass through from the region where the second target gate equipment.
Optionally, in conjunction with Fig. 5, as shown in figure 8, after above-mentioned steps 403, communication means provided in an embodiment of the present invention It can also include the steps that following 420- steps 421.
Step 420, in the case where detecting user account Sorry, your ticket has not enough value, server sends prompt letter to terminal device Breath.
Wherein, above-mentioned prompt information can be used for the corresponding user account of prompt terminal equipment Sorry, your ticket has not enough value.
Step 421, terminal device receive the prompt information.
It should be noted that may refer in above-described embodiment for the specific descriptions of above-mentioned steps 420- step 421 Associated description, details are not described herein again.
Communication means provided in an embodiment of the present invention, since server can be more than the corresponding user account of terminal device In the insufficient situation of volume, prompt information can be sent to terminal device, therefore terminal device can be prompted according to the prompt information User supplements with money in time, therefore user can supplement with money in advance before getting off, to avoid supplementing with money after getting off and wasting user time.
Embodiment three,
The embodiment of the present invention provides a kind of communication means.This method can be applied to server device.The server device It may include server, and the multiple communications modules being connect with server, multiple communications module setting is on a vehicle. This method includes the steps that following 501- steps 505.
Destinations traffic mould group in step 501, multiple communications modules sends first message to server.
Wherein, first message can serve to indicate that destinations traffic mould group and terminal device establish connection.
Step 502, server obtain first location information according to the first message.
Wherein, first location information can serve to indicate that destinations traffic mould group institute when destinations traffic mould group sends first message The position at place.
Step 503, destinations traffic mould group send second message to server.
Wherein, second message can serve to indicate that destinations traffic mould group is disconnected with terminal device.
Step 504, server obtain second location information according to the second message.
Wherein, second location information can serve to indicate that destinations traffic mould group institute when destinations traffic mould group sends second message The position at place.
Step 505, server are according to the first location information and the second location information, user corresponding to terminal device Account is deducted fees.
It should be noted that may refer in above-described embodiment for the specific descriptions of above-mentioned steps 501- step 505 Associated description, details are not described herein again.
The embodiment of the present invention provides a kind of communication means, since destinations traffic mould group on a vehicle can be with terminal Equipment foundation is connected and disconnected from connection, therefore target when server can establish connection with terminal device according to destinations traffic mould group The location of communications module determines the start site of user, target when being disconnected according to destinations traffic mould group and terminal device The location of communications module determine user purpose website, so as to user occur ride behavior in the case where to user Account is deducted fees, i.e., communication means provided in an embodiment of the present invention can more precisely deduct fees to user account.
Optionally, in the embodiment of the present invention, after above-mentioned steps 505, communication means provided in an embodiment of the present invention is also It may include following steps 506.
Step 506, after deducting fees to user account, server to terminal device send verification information.
Wherein, verification information can serve to indicate that server deducts fees to user account, and server is connect with terminal device.
It should be noted that the correlation that may refer in above-described embodiment is retouched for the specific descriptions of above-mentioned steps 506 It states, details are not described herein again.
Communication means provided in an embodiment of the present invention, server can be used by sending verification information to terminal device Specific consumption content is known at family, and allows user using the verification information as outbound voucher.
Optionally, in the embodiment of the present invention, server device further includes the multiple first gate equipment connecting with server. After above-mentioned steps 506, communication means provided in an embodiment of the present invention can also include the steps that following 507- steps 509.
It is step 507, small at a distance from the first object gate equipment in multiple first gate equipment is between terminal device In or be equal to the first pre-determined distance in the case where, first object gate equipment to server send the first request message.
Wherein, the first request message includes verification information, and the first request message is used for requests verification verification information.
Step 508, server according to first request message, authentication information whether with the first information in server Matching, and under the verification information and the matched situation of the first information, the first response message is sent to first object gate equipment.
Wherein, it is logical to be used to indicate the region where allowing terminal device from first object gate equipment for the first response message It crosses.
Step 509, first object gate equipment control the gate of first object gate equipment according to first response message It opens.
It should be noted that may refer in above-described embodiment for the specific descriptions of above-mentioned steps 507- step 509 Associated description, details are not described herein again.
Communication means provided in an embodiment of the present invention, since first object gate equipment can be tested what terminal device was sent Card information is forwarded to server, therefore server can control first object gate in the case where deducting fees to user account The gate of equipment automatically turns on, so that user can pass through from the region where first object gate equipment.
Optionally, in the embodiment of the present invention, server device further includes the multiple second gate equipment connecting with server. Before above-mentioned steps 501, communication means provided in an embodiment of the present invention can also include the steps that following 510- steps 512.
Step 510, the second target gate equipment in multiple second gate equipment between terminal device at a distance from it is small In or be equal to the second pre-determined distance in the case where, the second target gate equipment to server send the second request message.
Wherein, the second request message is used for the corresponding user information of requests verification terminal device.
Step 511, server according to second request message, verify user information whether with the second information in server Matching, and in the case where user information and the second information matches, the second response message is sent to the second target gate equipment.
Wherein, it is logical to be used to indicate the region where allowing terminal device from the second target gate equipment for the second response message It crosses.
Step 512, the second target gate equipment control the gate of the second target gate equipment according to second response message It opens.
It should be noted that may refer in above-described embodiment for the specific descriptions of above-mentioned steps 510- step 512 Associated description, details are not described herein again.
Communication means provided in an embodiment of the present invention, since the second target gate equipment can verify terminal with request server The corresponding user information of equipment, therefore the second target gate equipment can control second when user information is verified The gate of target gate equipment automatically turns on, so that user can pass through from the region where the second target gate equipment.
Optionally, communication means provided in an embodiment of the present invention can also include the steps that following 513.
Step 513, server are before obtaining second location information, the case where detecting user account Sorry, your ticket has not enough value Under, prompt information is sent to terminal device.
It should be noted that the correlation that may refer in above-described embodiment is retouched for the specific descriptions of above-mentioned steps 513 It states, details are not described herein again.
Communication means provided in an embodiment of the present invention, since server can be more than the corresponding user account of terminal device In the insufficient situation of volume, prompt information can be sent to terminal device, therefore terminal device can be prompted according to the prompt information User supplements with money in time, therefore user can supplement with money in advance before getting off, to avoid supplementing with money after getting off and wasting user time.
Example IV,
The embodiment of the present invention provides a kind of communication means.This method can be applied to terminal device.This method may include Following step 601- steps 602.
Step 601, the feelings for being less than or equal to target pre-determined distance at a distance from terminal device is between destinations traffic mould group Under condition, terminal device and destinations traffic mould group establish connection.
Wherein, above-mentioned destinations traffic mould group can be the communication mould in the multiple communications modules of setting on a vehicle Group.
It should be noted that may refer to logical to target in above-described embodiment for the specific descriptions of destinations traffic mould group Believe the associated description of mould group, details are not described herein again.
Optionally, the terminal device in the embodiment of the present invention can be mobile terminal device.Illustratively, mobile terminal is set Standby can be mobile phone, tablet computer, laptop, palm PC, vehicle-mounted terminal equipment, wearable device, super movement People's computer (ultra-mobile personal computer, UMPC), net book or personal digital assistant (personal Digital assistant, PDA) etc., the embodiment of the present invention is not especially limited.
In the embodiment of the present invention, target pre-determined distance can be 2 meters, 5 meters or 8 meters etc..It specifically can be according to actual use Demand determines that the embodiment of the present invention is without limitation.
Illustratively, it is assumed that target pre-determined distance is 5 meters.After user's carried terminal equipment takes upper subway, if The distance between destinations traffic mould group on terminal device and subway is less than or equal to 5 meters, then terminal device can receive mesh The address message of communications module broadcast is marked, and request is sent to destinations traffic mould group according to the address message and establishes disappearing for connection Breath, so that terminal device can establish connection with destinations traffic mould group.
Step 602, the feelings for being greater than or equal to preset duration in the duration that terminal device and destinations traffic mould group disconnect Under condition, terminal device receives the verification information that server is sent.
Wherein, above-mentioned verification information can serve to indicate that server deducts fees to the corresponding user account of terminal device, clothes Business device is connect with terminal device.
Optionally, in the embodiment of the present invention, above-mentioned preset duration can be 10 seconds, 20 seconds or 30 seconds etc..It specifically can root Factually border use demand determines that the embodiment of the present invention is without limitation.
Illustratively, it is assumed that preset duration is 10 seconds.After user's carried terminal equipment leaves subway, terminal device can To be disconnected with the destinations traffic mould group on subway.If the destinations traffic mould group detects that destinations traffic mould group is set with terminal The standby duration for being continuously turned off connection is greater than 10 seconds, then the destinations traffic mould group can determine that user's carried terminal equipment leaves ground On iron, and the second message for being used to indicate the destinations traffic mould group and disconnecting with terminal device is sent to server.In this way, clothes Device of being engaged in can obtain second location information according to the second message, and according to the first location information and the second location information, It deducts fees to the corresponding user account of terminal device, and sends verification information to terminal device, so that terminal device can receive The verification information.
The embodiment of the present invention provides a kind of communication means, since terminal device can be with the destinations traffic mould on the vehicles Group, which is established, is connected and disconnected from connection, therefore server can be connected and disconnected from according to terminal device and the foundation of destinations traffic mould group Location information when connecing determines whether user occurs behavior by bus, and in the case where behavior occurs to ride for user to user account It deducts fees, thus the available information deducted fees to the corresponding user account of terminal device of terminal device, therefore the present invention is real Applying example can more precisely deduct fees to user account.
Optionally, in the embodiment of the present invention, after above-mentioned steps 602, communication means provided in an embodiment of the present invention is also It may include following steps 603.
It is step 603, small at a distance from terminal device is between the first object gate equipment in multiple first gate equipment In or be equal to the first pre-determined distance in the case where, terminal device to first object gate equipment send verification information.
Wherein, above-mentioned verification information can serve to indicate that server deducts fees to the corresponding user account of terminal device.
It should be noted that may refer in above-described embodiment the specific descriptions of first object gate equipment to The associated description of one target gate equipment, details are not described herein again.
In addition, above-mentioned first pre-determined distance and the second pre-determined distance can be equal, can not also wait.It specifically can be according to reality Border use demand determines that the embodiment of the present invention is not construed as limiting.
Optionally, in the embodiment of the present invention, the first pre-determined distance can be 2 meters, 5 meters or 8 meters etc..It specifically can be according to reality Border use demand determines that the embodiment of the present invention is without limitation.
Communication means provided in an embodiment of the present invention, terminal device is by sending verifying letter to first object gate equipment Breath, verification information can be forwarded to server by first object gate equipment, and request server tests the verification information Card, such server can be in the case where deducting fees to user account, and the gate for controlling first object gate equipment is opened automatically It opens, so that user can pass through from the region where first object gate equipment.
Optionally, in the embodiment of the present invention, communication means provided in an embodiment of the present invention can also include the steps that following 604。
Step 604, in the case where terminal device and destinations traffic mould group establish connection, terminal device receive server hair The prompt information sent.
Wherein, above-mentioned prompt information can be used for prompting user account that Sorry, your ticket has not enough value.
It should be noted that may refer in above-described embodiment the specific descriptions of prompt information to prompt information Associated description, details are not described herein again.
Communication means provided in an embodiment of the present invention, since server can be more than the corresponding user account of terminal device In the insufficient situation of volume, prompt information can be sent to terminal device, therefore terminal device can be prompted according to the prompt information User supplements with money in time, therefore user can supplement with money in advance before getting off, to avoid supplementing with money after getting off and wasting user time.
Embodiment five,
As shown in figure 9, the embodiment of the present invention provides a kind of terminal device 900.The terminal device includes 901 He of link block Receiving module 902.Wherein, link block 901, can be used at a distance from terminal device is between destinations traffic mould group being less than or In the case where equal to target pre-determined distance, connection is established with the destinations traffic mould group, which is to be arranged in traffic The communications module in multiple communications modules on tool;Receiving module 902 can be used in terminal device and the destinations traffic mould In the case that the duration that group disconnects is greater than or equal to preset duration, the verification information that server is sent, verifying letter are received Breath can serve to indicate that server deducts fees to the corresponding user account of terminal device, and server is connect with terminal device.
Optionally, in conjunction with Fig. 9, as shown in Figure 10, terminal device provided in an embodiment of the present invention can also include sending mould Block 903.Sending module 903 can be used for after the verification information that receiving module 902 receives that server is sent, set in terminal The distance between standby first object gate equipment with multiple first gate equipment is less than or equal to the feelings of the first pre-determined distance Under condition, the verification information is sent to the first object gate equipment, which can serve to indicate that server to terminal The corresponding user account of equipment is deducted fees.
Optionally, in the embodiment of the present invention, receiving module 902 be can be also used in terminal device and destinations traffic mould group In the case where establishing connection, the prompt information that server is sent is received.Wherein, which can be used for prompt terminal equipment Sorry, your ticket has not enough value for corresponding user account.
Terminal device provided in an embodiment of the present invention can be realized terminal device in above method embodiment realize it is each Process, to avoid repeating, which is not described herein again.
The embodiment of the present invention provides a kind of terminal device, since server can be in the corresponding user account of terminal device In the case that Sorry, your ticket has not enough value, prompt information can be sent to terminal device, therefore terminal device can be mentioned according to the prompt information Show that user supplements with money in time, therefore user can supplement with money in advance before getting off, to avoid supplementing with money after getting off and wasting user time.
Embodiment six,
A kind of hardware structural diagram of Figure 11 terminal device of each embodiment to realize the present invention.As shown in figure 11, The terminal device 200 includes but is not limited to: radio frequency unit 201, network module 202, audio output unit 203, input unit 204, sensor 205, display unit 206, user input unit 207, interface unit 208, memory 209, processor 210, with And the equal components of power supply 211.It will be understood by those skilled in the art that the not structure paired terminal of terminal device structure shown in Figure 11 The restriction of equipment, terminal device may include perhaps combining certain components or different than illustrating more or fewer components Component layout.In embodiments of the present invention, terminal device includes but is not limited to mobile phone, tablet computer, laptop, palm electricity Brain, vehicle-mounted terminal equipment, wearable device and pedometer etc..
Wherein, processor 210 can be used for being less than or equal to mesh at a distance from terminal device is between destinations traffic mould group In the case where marking pre-determined distance, connection is established with the destinations traffic mould group, which is to be arranged on a vehicle Multiple communications modules in communications module;Radio frequency unit 201 can be used for disconnecting in terminal device and the destinations traffic mould group In the case that the duration of connection is greater than or equal to preset duration, the verification information that server is sent is received, which can be with It is used to indicate server to deduct fees to the corresponding user account of terminal device, server is connect with terminal device.
The embodiment of the present invention provides a kind of terminal device, since server can be in the corresponding user account of terminal device In the case that Sorry, your ticket has not enough value, prompt information can be sent to terminal device, therefore terminal device can be mentioned according to the prompt information Show that user supplements with money in time, therefore user can supplement with money in advance before getting off, to avoid supplementing with money after getting off and wasting user time.
It should be understood that the embodiment of the present invention in, radio frequency unit 201 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 210 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 201 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 201 can also by wireless communication system and network and other set Standby communication.
Terminal device provides wireless broadband internet by network module 202 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 203 can be received by radio frequency unit 201 or network module 202 or in memory 209 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 203 can also provide and end The relevant audio output of specific function that end equipment 200 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 203 includes loudspeaker, buzzer and receiver etc..
Input unit 204 is for receiving audio or video signal.Input unit 204 may include graphics processor (Graphics Processing Unit, GPU) 2041 and microphone 2042, graphics processor 2041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 206.Through graphics processor 2041, treated that picture frame can be deposited Storage is sent in memory 209 (or other storage mediums) or via radio frequency unit 201 or network module 202.Mike Wind 2042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 201 is converted in the case where telephone calling model.
Terminal device 200 further includes at least one sensor 205, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 2061, and proximity sensor can close when terminal device 200 is moved in one's ear Display panel 2061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify terminal device posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 205 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 206 is for showing information input by user or being supplied to the information of user.Display unit 206 can wrap Display panel 2061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 2061.
User input unit 207 can be used for receiving the number or character information of input, and generate the use with terminal device Family setting and the related key signals input of function control.Specifically, user input unit 207 include touch panel 2071 and Other input equipments 2072.Touch panel 2071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 2071 or in touch panel 2071 Neighbouring operation).Touch panel 2071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 210, receiving area It manages the order that device 210 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 2071.In addition to touch panel 2071, user input unit 207 can also include other input equipments 2072.Specifically, other input equipments 2072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 2071 can be covered on display panel 2061, when touch panel 2071 is detected at it On or near touch operation after, send processor 210 to determine the type of touch event, be followed by subsequent processing device 210 according to touching The type for touching event provides corresponding visual output on display panel 2061.Although in Figure 11, touch panel 2071 and aobvious Show that panel 2061 is the function that outputs and inputs of realizing terminal device as two independent components, but in some embodiments In, can be integrated by touch panel 2071 and display panel 2061 and realize the function that outputs and inputs of terminal device, it is specific this Place is without limitation.
Interface unit 208 is the interface that external device (ED) is connect with terminal device 200.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 208 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in terminal device 200 or can be used in 200 He of terminal device Data are transmitted between external device (ED).
Memory 209 can be used for storing software program and various data.Memory 209 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 209 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 210 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection A part by running or execute the software program and/or module that are stored in memory 209, and calls and is stored in storage Data in device 209 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.Place Managing device 210 may include one or more processing units;Optionally, processor 210 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 210.
Terminal device 200 can also include the power supply 211 (such as battery) powered to all parts, optionally, power supply 211 Can be logically contiguous by power-supply management system and processor 210, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, terminal device 200 includes some unshowned functional modules, details are not described herein.
Optionally, the embodiment of the present invention also provides a kind of server device, including processor, and memory is stored in storage On device and the computer program that can run on a processor, realize that the above method is implemented when which is executed by processor Each process of example, and identical technical effect can be reached, to avoid repeating.
Optionally, the embodiment of the present invention also provides a kind of terminal device, including processor, and memory is stored in memory Computer program that is upper and can running on a processor, the computer program realize above method embodiment when being executed by processor Each process, and identical technical effect can be reached, to avoid repeating.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, realizes each process of above method embodiment when which is executed by processor, and can reach identical Technical effect, to avoid repeating, which is not described herein again.Wherein, computer readable storage medium, such as read-only memory (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc..
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 device 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 device 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 device.
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 a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute the method that each embodiment of the present invention describes.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (19)

1. a kind of communication means is applied to server device, which is characterized in that the server device includes server, and The multiple communications modules connecting with the server, the multiple communications module setting is on a vehicle, which comprises
Destinations traffic mould group in the multiple communications module sends first message to the server, and the first message is used for Indicate that the destinations traffic mould group and terminal device establish connection;
The server obtains first location information according to the first message, and the first location information is used to indicate described Destinations traffic mould group sends the location of described destinations traffic mould group when the first message;
The destinations traffic mould group sends second message to the server, and the second message is used to indicate the destinations traffic Mould group is disconnected with the terminal device;
The server obtains second location information according to the second message, and the second location information is used to indicate described Destinations traffic mould group sends the location of described destinations traffic mould group when the second message;
The server is according to the first location information and the second location information, user corresponding to the terminal device Account is deducted fees.
2. the method according to claim 1, wherein in the server according to the first location information and institute Second location information is stated, after deducting fees to the corresponding user account of the terminal device, the method also includes:
The server sends verification information to the terminal device, and the verification information is used to indicate the server to institute It states user account to deduct fees, the server is connect with the terminal device.
3. according to the method described in claim 2, it is characterized in that, the server device further includes connecting with the server Multiple first gate equipment;The method also includes:
Be less than at a distance from the first object gate equipment in the multiple first gate equipment is between the terminal device or In the case where equal to the first pre-determined distance, the first object gate equipment sends the first request message, institute to the server Stating the first request message includes the verification information, and first request message is for verification information described in requests verification;
The server verifies whether the verification information is believed with first in the server according to first request message Breath matching, and under the verification information and the matched situation of the first information, Xiang Suoshu first object gate equipment is sent First response message, first response message, which is used to indicate, allows the terminal device from first object gate equipment institute Region pass through;
The first object gate equipment according to first response message, open by the gate for controlling the first object gate equipment It opens.
4. according to the method in any one of claims 1 to 3, which is characterized in that the server device further includes and institute State multiple second gate equipment of server connection;Destinations traffic mould group in the multiple communications module is to the server Before sending first message, the method also includes:
The second target gate equipment in the multiple second gate equipment between the terminal device at a distance from be less than or In the case where equal to the second pre-determined distance, the second target gate equipment sends the second request message, institute to the server The second request message is stated for the corresponding user information of terminal device described in requests verification;
The server verifies whether the user information is believed with second in the server according to second request message Breath matching, and in the case where the user information and second information matches, Xiang Suoshu the second target gate equipment is sent Second response message, second response message, which is used to indicate, allows the terminal device from the second target gate equipment institute Region pass through;
The second target gate equipment according to second response message, open by the gate for controlling the second target gate equipment It opens.
5. the method according to claim 1, wherein the method also includes:
The server is before obtaining the second location information, the case where detecting the user account Sorry, your ticket has not enough value Under, Xiang Suoshu terminal device sends prompt information.
6. a kind of server device, which is characterized in that the server device includes server, and is connect with the server Multiple communications modules, the setting of the multiple communications module is on a vehicle;Wherein,
Destinations traffic mould group in the multiple communications module, for sending first message and second message to the server, The first message is used to indicate the destinations traffic mould group and terminal device establishes connection, and the second message is used to indicate institute Destinations traffic mould group is stated to disconnect with the terminal device;
The server, for obtaining first location information according to the first message;And according to the second message, obtain Second location information;It is corresponding to the terminal device and according to the first location information and the second location information User account is deducted fees;The first location information is used to indicate the destinations traffic mould group and sends the mesh when first message The location of communications module is marked, the second location information is used to indicate the destinations traffic mould group and sends the second message The location of Shi Suoshu destinations traffic mould group.
7. server device according to claim 6, which is characterized in that the server is also used to the user After account is deducted fees, Xiang Suoshu terminal device sends verification information, and the verification information is used to indicate the server to institute It states user account to deduct fees, the server is connect with the terminal device.
8. server device according to claim 7, which is characterized in that the server device further includes and the service Multiple first gate equipment of device connection;
First object gate equipment in the multiple first gate equipment, for the first object gate equipment with it is described In the case that the distance between terminal device is less than or equal to the first pre-determined distance, Xiang Suoshu server sends the first request and disappears Breath, first request message includes the verification information, and first request message is for verification information described in requests verification;
The server, is also used to according to first request message, verify the verification information whether in the server First information matching, and in the verification information and the matched situation of the first information, Xiang Suoshu first object gate Equipment sends the first response message, and first response message, which is used to indicate, allows the terminal device from the first object lock Region where machine equipment passes through;
The first object gate equipment is also used to control the first object gate equipment according to first response message Gate opening.
9. the server device according to any one of claim 6 to 8, which is characterized in that the server device is also wrapped Include the multiple second gate equipment connecting with the server;
The second target gate equipment in the multiple second gate equipment, for the second target gate equipment with it is described In the case that the distance between terminal device is less than or equal to the second pre-determined distance, Xiang Suoshu server sends the second request and disappears Breath, second request message is for the corresponding user information of terminal device described in requests verification;
The server, is also used to according to second request message, verify the user information whether in the server The second information matches, and in the user information and in the case where second information matches, Xiang Suoshu the second target gate Equipment sends the second response message, and second response message, which is used to indicate, allows the terminal device from the second target lock Region where machine equipment passes through;
The second target gate equipment is also used to control the second target gate equipment according to second response message Gate opening.
10. server device according to claim 6, which is characterized in that the server is also used to obtaining described the Before two location informations, in the case where detecting the user account Sorry, your ticket has not enough value, Xiang Suoshu terminal device sends prompt Information.
11. a kind of communication means is applied to terminal device, which is characterized in that the described method includes:
It is described in the case where being less than or equal to target pre-determined distance at a distance from the terminal device is between destinations traffic mould group Terminal device and the destinations traffic mould group establish connection, and the destinations traffic mould group be that on a vehicle described more are arranged Communications module in a communications module;
In the case where the duration that the terminal device and the destinations traffic mould group disconnect is greater than or equal to preset duration, The verification information that server is sent is received, it is corresponding to the terminal device that the verification information is used to indicate the server User account is deducted fees, and the server is connect with the terminal device.
12. according to the method for claim 11, which is characterized in that after the verification information for receiving server transmission, The method also includes:
It is less than or equal at a distance from the terminal device is between the first object gate equipment in multiple first gate equipment In the case where first pre-determined distance, Xiang Suoshu first object gate equipment sends the verification information, and the verification information is used for Indicate that the server deducts fees to the user account.
13. method according to claim 11 or 12, which is characterized in that the method also includes:
In the case where the terminal device and the destinations traffic mould group establish connection, the prompt that the server is sent is received Information, Sorry, your ticket has not enough value for prompting the user account for the prompt information.
14. a kind of terminal device, which is characterized in that the terminal device includes link block and receiving module;
The link block, for default less than or equal to target at a distance from the terminal device is between destinations traffic mould group In the case where distance, connection is established with the destinations traffic mould group, the destinations traffic mould group is to be arranged on a vehicle Communications module in the multiple communications module;
The receiving module, the duration for disconnecting in the terminal device with the destinations traffic mould group are greater than or equal to In the case where preset duration, the verification information that server is sent is received, it is right that the verification information is used to indicate the server The corresponding user account of the terminal device is deducted fees, and the server is connect with the terminal device.
15. terminal device according to claim 14, which is characterized in that the terminal device further includes sending module;
The sending module, for after the verification information that the receiving module receives that the server is sent, in institute It is default less than or equal to first to state the distance between first object gate equipment in terminal device and multiple first gate equipment In the case where distance, Xiang Suoshu first object gate equipment sends the verification information, and the verification information is used to indicate described Server deducts fees to the user account.
16. terminal device according to claim 14 or 15, which is characterized in that
The receiving module is also used to receive in the case where the terminal device and the destinations traffic mould group establish connection The prompt information that the server is sent, Sorry, your ticket has not enough value for prompting the user account for the prompt information.
17. a kind of server device, which is characterized in that including processor, memory and be stored on the memory and can be The computer program run on the processor realizes such as claim 1 when the computer program is executed by the processor The step of to communication means described in any one of 5.
18. a kind of terminal device, which is characterized in that including processor, memory and be stored on the memory and can be in institute State the computer program run on processor, when the computer program is executed by the processor realize as claim 11 to The step of communication means described in any one of 13.
19. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium Sequence realizes the step of the communication means as described in any one of claims 1 to 5 when the computer program is executed by processor Suddenly, the step of or realizing the communication means as described in any one of claim 11 to 13.
CN201811574637.6A 2018-12-21 2018-12-21 Communication method and device Active CN109982237B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811574637.6A CN109982237B (en) 2018-12-21 2018-12-21 Communication method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811574637.6A CN109982237B (en) 2018-12-21 2018-12-21 Communication method and device

Publications (2)

Publication Number Publication Date
CN109982237A true CN109982237A (en) 2019-07-05
CN109982237B CN109982237B (en) 2021-03-23

Family

ID=67076297

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811574637.6A Active CN109982237B (en) 2018-12-21 2018-12-21 Communication method and device

Country Status (1)

Country Link
CN (1) CN109982237B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110929238A (en) * 2019-10-29 2020-03-27 维沃移动通信有限公司 Information processing method and device
CN114442502A (en) * 2022-01-27 2022-05-06 北京声智科技有限公司 Information interaction method and system and electronic equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1825358A (en) * 2005-02-22 2006-08-30 三星电子株式会社 System and method for providing public tranport information
CN103198564A (en) * 2013-03-12 2013-07-10 东莞宇龙通信科技有限公司 Public transport system and public transport billing method
US20140256251A1 (en) * 2013-03-11 2014-09-11 Cellco Partnership D/B/A Verizon Wireless Secure nfc data authentication
CN105809747A (en) * 2014-12-31 2016-07-27 成都言鼎胜道科技有限公司 Public transportation wireless charging system and method
CN106203945A (en) * 2016-06-29 2016-12-07 新石器龙码(北京)科技有限公司 Vehicle-mounted mobile attendance checking system and method
CN106887048A (en) * 2017-03-24 2017-06-23 南昌专腾科技有限公司 A kind of subway bales catch charge system and method
CN107195002A (en) * 2017-04-01 2017-09-22 深圳市微付充科技有限公司 Implementation method, server, mobile device and monitoring device that traffic is paid
CN206639266U (en) * 2017-03-24 2017-11-14 南昌专腾科技有限公司 A kind of subway bales catch charge system
CN107609859A (en) * 2017-08-31 2018-01-19 八维通科技有限公司 A kind of method of mobile payment based on Quick Response Code and bluetooth for track traffic
CN108090974A (en) * 2016-11-22 2018-05-29 深圳市微付充科技有限公司 gate control method and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1825358A (en) * 2005-02-22 2006-08-30 三星电子株式会社 System and method for providing public tranport information
US20140256251A1 (en) * 2013-03-11 2014-09-11 Cellco Partnership D/B/A Verizon Wireless Secure nfc data authentication
CN103198564A (en) * 2013-03-12 2013-07-10 东莞宇龙通信科技有限公司 Public transport system and public transport billing method
CN105809747A (en) * 2014-12-31 2016-07-27 成都言鼎胜道科技有限公司 Public transportation wireless charging system and method
CN106203945A (en) * 2016-06-29 2016-12-07 新石器龙码(北京)科技有限公司 Vehicle-mounted mobile attendance checking system and method
CN108090974A (en) * 2016-11-22 2018-05-29 深圳市微付充科技有限公司 gate control method and system
CN106887048A (en) * 2017-03-24 2017-06-23 南昌专腾科技有限公司 A kind of subway bales catch charge system and method
CN206639266U (en) * 2017-03-24 2017-11-14 南昌专腾科技有限公司 A kind of subway bales catch charge system
CN107195002A (en) * 2017-04-01 2017-09-22 深圳市微付充科技有限公司 Implementation method, server, mobile device and monitoring device that traffic is paid
CN107609859A (en) * 2017-08-31 2018-01-19 八维通科技有限公司 A kind of method of mobile payment based on Quick Response Code and bluetooth for track traffic

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110929238A (en) * 2019-10-29 2020-03-27 维沃移动通信有限公司 Information processing method and device
CN110929238B (en) * 2019-10-29 2022-02-01 维沃移动通信有限公司 Information processing method and device
CN114442502A (en) * 2022-01-27 2022-05-06 北京声智科技有限公司 Information interaction method and system and electronic equipment
CN114442502B (en) * 2022-01-27 2024-02-06 北京声智科技有限公司 Information interaction method and system and electronic equipment

Also Published As

Publication number Publication date
CN109982237B (en) 2021-03-23

Similar Documents

Publication Publication Date Title
CN109710132A (en) Method of controlling operation thereof and terminal
CN110457888A (en) A kind of verifying code imput method, device, electronic equipment and storage medium
CN110287741A (en) A kind of screen content display method thereof and terminal
CN107786569A (en) A kind of identifying code sending method, method of reseptance and relevant device
CN108629171A (en) A kind of unread message processing method and terminal
CN109145552A (en) Information ciphering method and terminal device
CN107682359A (en) One kind is using register method, mobile terminal
CN110149628A (en) A kind of information processing method and terminal device
CN109981904A (en) A kind of method for controlling volume and terminal device
CN110175449A (en) Cipher-code input method and mobile terminal
CN108920572A (en) bus information processing method and mobile terminal
CN109982237A (en) A kind of communication means and equipment
CN110287655A (en) A kind of verifying code imput method, device and mobile terminal
CN109979045A (en) A kind of information output method and terminal device
CN109800606A (en) A kind of display control method and mobile terminal
CN110213438A (en) A kind of processing method and terminal device of application program
CN110191426A (en) A kind of method and terminal of information sharing
CN108984231A (en) A kind of login method and mobile terminal of application program account
CN109218984A (en) A kind of method for tracing and mobile terminal
CN108540951A (en) A kind of recharge method and mobile terminal
CN107889112B (en) A kind of recognition methods of pseudo-base station and mobile terminal
CN110225040A (en) A kind of information processing method, terminal device and server
CN109753776A (en) A kind of method, apparatus and mobile terminal of information processing
CN110191106A (en) A kind of data transmission method for uplink, terminal and communication system
CN109801061A (en) Delay in payment method, mobile terminal and 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