WO2019061878A1 - 共享终端的通信方法、装置及共享终端 - Google Patents

共享终端的通信方法、装置及共享终端 Download PDF

Info

Publication number
WO2019061878A1
WO2019061878A1 PCT/CN2017/117185 CN2017117185W WO2019061878A1 WO 2019061878 A1 WO2019061878 A1 WO 2019061878A1 CN 2017117185 W CN2017117185 W CN 2017117185W WO 2019061878 A1 WO2019061878 A1 WO 2019061878A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
communication connection
communication
public
module
Prior art date
Application number
PCT/CN2017/117185
Other languages
English (en)
French (fr)
Inventor
张曦
翟宇新
Original Assignee
柠创控股有限公司
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 柠创控股有限公司 filed Critical 柠创控股有限公司
Priority to PCT/CN2018/109076 priority Critical patent/WO2019063011A1/zh
Publication of WO2019061878A1 publication Critical patent/WO2019061878A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/04Terminal devices adapted for relaying to or from another terminal or user
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present disclosure relates to the field of shared terminal technologies, for example, to a communication method, apparatus, and shared terminal for a shared terminal.
  • pileless bicycles In order to facilitate people's daily life, many public places have set up shared terminals, such as no pile bicycles.
  • the use of pileless bicycles is convenient and can effectively solve short-distance travel problems. It can not only relieve traffic pressure to a certain extent, but also its green energy saving, which can effectively reduce carbon emissions and also encourage users to exercise.
  • the existing shared terminal generally includes a communication module and a power supply battery, wherein the power supply battery supplies power to the communication module during the process in which the shared terminal establishes a connection with the server by using the communication module. Therefore, whether there is enough power in the power supply battery directly affects whether the shared terminal can be used normally.
  • any power supply battery has a certain life, which directly determines the service life of the shared terminal, and the length of the power supply battery depends on the power consumption of the shared terminal. Therefore, how to reduce the power consumption of the shared terminal is an urgent problem to be solved in the industry.
  • the embodiments of the present invention provide a communication method, a device, and a shared terminal for a shared terminal, which can shorten the distance of shared terminal information transmission and reduce the power consumption of the shared terminal.
  • An embodiment of the present invention provides a communication method for a shared terminal, where the method includes:
  • the public terminal After the first communication connection is established, communicating with the public terminal through the first communication connection, and forwarding, by the public terminal, a communication message between the shared terminal and the service terminal, where the public terminal Communicating with the service terminal via a second communication connection, the second communication connection being a remote communication connection.
  • the embodiment of the invention further provides a communication method of a public terminal, the method comprising:
  • the embodiment of the invention further provides a communication device for sharing a terminal, the device comprising: a first communication module, the first communication module comprising:
  • a first control module configured to establish a first communication connection with the public terminal, where the first communication connection is a short-range communication connection;
  • a first transceiver module configured to communicate with the public terminal through the first communication connection after the first communication connection is established, and forward a communication message between the shared terminal and the service terminal by using the public terminal Wherein the public terminal communicates with the service terminal via a second communication connection, the second communication connection being a remote communication connection.
  • the embodiment of the invention further provides a communication device of a public terminal, the device comprising:
  • a first communication module configured to establish a first communication connection with the shared terminal, where the first communication connection is a short-range communication connection;
  • a second communication module configured to establish a second communication connection with the service terminal, where the second communication connection is a remote communication connection;
  • the first communication module and the second communication module are further configured to forward a communication message between the shared terminal and the service terminal by using the first communication connection and the second communication connection.
  • the embodiment of the present invention further provides a shared terminal, where the shared terminal includes the communication device of the shared terminal according to the embodiment of the present invention.
  • the embodiment of the present invention further provides a public terminal, which includes the communication device of the public terminal according to the embodiment of the present invention.
  • the embodiment of the present invention further provides a computer readable storage medium storing computer executable instructions, the computer executable instructions being configured to perform the method of any of the above.
  • the embodiment further provides a shared terminal comprising at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, The instructions are executed by the at least one processor to perform the method of the shared terminal side as described above.
  • the embodiment further provides a public terminal comprising at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory is stored by the at least one An instruction executed by the processor, the instruction being executed by the at least one processor to perform the method of any one of the above-described public terminal sides.
  • the communication connection, the shared terminal can communicate indirectly with the service terminal.
  • the shared terminal may not directly communicate with the service terminal, thereby shortening the distance of the shared terminal information transmission and reducing the energy consumption of the shared terminal.
  • Embodiment 1 is a flowchart of a communication method of a shared terminal in Embodiment 1;
  • Embodiment 2 is a flowchart of a communication method of a shared terminal in Embodiment 2;
  • Embodiment 3 is a flowchart of a communication method of a shared terminal in Embodiment 3;
  • Embodiment 4 is a flowchart of a communication method of a public terminal in Embodiment 4.
  • Embodiment 5 is a flowchart of a communication method of a public terminal in Embodiment 5;
  • Embodiment 6 is a flowchart of a communication method of a public terminal in Embodiment 6;
  • FIG. 7a is a flowchart of a communication method of a shared terminal in Embodiment 7;
  • FIG. 7b is a flowchart of another communication method of a shared terminal in Embodiment 7;
  • Embodiment 8 is a schematic structural diagram of a communication device of a shared terminal in Embodiment 8;
  • Embodiment 9 is a schematic structural diagram of a communication apparatus of a public terminal in Embodiment 9;
  • Embodiment 10 is a schematic structural diagram of a shared terminal communication system in Embodiment 10.
  • FIG. 11 is a schematic structural diagram of hardware of a shared terminal in Embodiment 11;
  • FIG. 12 is a schematic diagram showing the hardware structure of a public terminal in Embodiment 12.
  • FIG. 1 is a flowchart of a communication method of a shared terminal according to Embodiment 1, and the method is applicable to a situation in which an electronic device in a shared terminal needs to reduce power consumption in a process in which a shared terminal communicates with a service terminal, and the method may be Executed by the communication device of the shared terminal, the device may be implemented by software or hardware or a combination thereof, and may be integrated in the shared terminal. As shown in Figure 1, the method includes the following steps.
  • the first communication is a short-range communication connection.
  • the existing shared terminals include electronic devices, which usually include a communication module and a power supply battery.
  • the communication module can establish a remote communication connection with the service terminal, and the further the distance, the greater the transmission and reception power of the communication module. Therefore, in the process of establishing a remote communication connection between the electronic device and the service terminal, the power consumption of the communication module may be large.
  • the normal operation of the communication module requires the power supply battery to provide continuous power.
  • the power supply battery needs to continuously perform charging and discharging operations.
  • frequent charging and discharging can seriously affect the life of the power supply battery.
  • the communication module in the electronic device cannot work normally, which will directly cause the shared terminal to be unable to be used normally, resulting in waste of shared terminal resources.
  • the method provided in this embodiment can reduce the transmit and receive power of the communication module in the shared terminal electronic device.
  • the method provides an intermediate node capable of short-distance communication with an electronic device in the shared terminal, the public terminal, so that the electronic device can establish a short-distance communication connection with the public terminal, and then establish a remote communication connection with the service terminal through the public terminal, thereby
  • the sharing terminal can indirectly communicate with the service terminal, shorten the communication distance of the communication module in the sharing terminal, reduce the transmitting and receiving power of the communication module, and thereby prolong the life of the power supply battery in the sharing terminal.
  • the communication device of the shared terminal may be an electronic device in the shared terminal, and the electronic device may include a first communication module of the shared terminal capable of establishing a short-distance communication connection with the public terminal, and correspondingly, the public terminal may include A third communication module capable of establishing a close communication connection with the electronic device, the third communication module being the first communication module in the public terminal.
  • the electronic device may establish a first communication connection with the third communication module of the public terminal through the first communication module of the shared terminal, and the first communication connection may be a short-range communication connection, through the first communication connection, the electronic device and the public terminal Information can be exchanged.
  • the shared terminal may be a pileless bicycle, such as a pileless bicycle or a pileless electric vehicle.
  • the electronic device in the sharing terminal may be an in-vehicle electronic device, and the in-vehicle electronic device may be integrated with the lock of the pileless bicycle to be disposed on the pileless bicycle, or may be disposed separately from the lock on the pileless bicycle.
  • the public terminal may be any fixed or movable device of an electronic vehicle pile, a street light, a bus stop sign, a park road sign or a smart city.
  • the corresponding public terminal may be an electronic vehicle. pile.
  • the electronic vehicle pile in this embodiment may be an outdoor public device, such as a parking area based on electronic identification. Equipped with electronic vehicle piles in public places is one of the measures to regulate the current management of pile-free bicycles. Since the electronic vehicle pile is a fixed device, it can be equipped with stable and sufficient power. For example, it is powered by the mains, or solar power. Since the electronic vehicle pile is a fixed device, the functional module of the electronic vehicle pile can be similar to the functional module in the non-pile bicycle, for example, a short-range communication module, a long-distance communication module, a Global Positioning System (GPS) positioning module, etc. . The communication function of the electronic vehicle pile is stable compared to the communication function of the pileless bicycle, and the long-distance communication of the pile-free bicycle can be guaranteed.
  • GPS Global Positioning System
  • the first communication connection is used to communicate with the public terminal, and the communication message between the shared terminal and the service terminal is forwarded by the public terminal, where The public terminal communicates with the service terminal through a second communication connection, and the second communication connection is a remote communication connection.
  • the electronic device in the sharing terminal can establish indirect communication with the service terminal through the first communication connection with the public terminal.
  • the connection between the public terminal and the service terminal may be a second communication connection, and the second communication connection may be a remote communication connection. That is, the electronic device and the public terminal can establish a short-range communication connection, and the public terminal and the service terminal can establish a remote communication connection.
  • the public terminal may forward the communication message between the electronic device and the service terminal by using at least one of the following manners: forwarding, by the first communication connection, the information sent by the service terminal to the electronic device The communication message, and the communication message including the information sent by the electronic device to the service terminal is forwarded through the second communication connection.
  • the information sent by the service terminal to the electronic device may be information corresponding to the control or management of the shared terminal or a combination of the two.
  • the service terminal in this embodiment may be a server, which may be a server that processes a single line service, for example, may provide a decision for unlocking of a shared terminal, provide a decision for an event such as an alarm, provide a policy for the deployment of a shared terminal, and share a policy.
  • a service terminal can be understood as a service point that provides processing, databases, communication facilities, and the like.
  • a service terminal may refer to a single physical processor with associated communications, data storage, and database facilities, or may also be referred to as a collection of networked or aggregated processors, associated networks, and storage devices, and may Software, one or more database systems, and applications that support the services provided by the server operate.
  • the service terminal can vary greatly in configuration or performance, but the service terminal can include one or more central processing units and memory.
  • the service terminal may also include one or more mass storage devices, one or more power sources, one or more wired or wireless network interfaces, one or more input/output interfaces, or one or more operating systems, such as a window.
  • the service terminal can also be a monolithic server or a decentralized server that spans multiple computers or computer data centers.
  • the service terminal can be of various types such as, but not limited to, a web server, a news server, a mail server, a message server, an advertisement server, a file server, an application server, an interactive server, a database server, or a proxy server.
  • each server may include hardware, software, embedded logic components for performing the appropriate functions supported or implemented by the service terminal, or a combination of two or more such components.
  • the service terminal may be arranged to provide all the functions necessary to support communication of the shared device terminal.
  • the communication method of the shared terminal communicates with the service terminal indirectly through the short-distance communication connection established between the shared terminal and the public terminal.
  • the electronic device in the shared terminal may not directly communicate with the service terminal, thereby shortening the distance of the shared terminal information transmission and reducing the energy consumption of the shared terminal.
  • the sharing end communication method may occur after the pile-free bicycle is located in the electronic vehicle pile area, and the pile-free bicycle is locked.
  • the communication method of the shared terminal may also occur in a state where the pileless bicycle is not in the electronic pile area, or the pileless bicycle is in an unlocked state.
  • the communication with the public terminal by the first communication connection, and the forwarding of the communication message between the shared terminal and the service terminal by the public terminal may include: using the first communication
  • the connection sends uplink information to the public terminal, and sends the uplink information to the service terminal by using the public terminal and the second communication connection.
  • the method includes the following steps:
  • a first communication connection is established with the public terminal by the first communication module, and the first communication connection is a short-range communication connection.
  • uplink information is sent to the public terminal by using the first communication connection, and the uplink information is sent to the service terminal by using the public terminal and the second communication connection.
  • the electronic device in the shared terminal may send the uplink information to the public terminal through the first communication connection established with the public terminal in the process of transmitting the uplink information to the service terminal, and after receiving the uplink information, the public terminal receives the uplink information.
  • Uplink information can be obtained through a second communication connection established with the service terminal Send to the service terminal.
  • the shared terminal may be a pileless bicycle
  • the public terminal is an electronic vehicle pile.
  • the uplink information sent by the electronic device in the shared terminal to the public terminal through the first communication connection may be blocking information.
  • the electronic device without the pile bicycle may block the information through the first communication connection.
  • Sending to the electronic vehicle pile, the electronic vehicle pile sends the blocking information to the service terminal through the second communication connection, so that the service terminal knows that the current trip of the pileless bicycle has ended, to end the current charging operation.
  • the shared device may include a non-pile bicycle such as a shared bicycle or a shared electric vehicle, and may also be used for other resource sharing devices such as a shared charging treasure;
  • the public terminal may include an electronic vehicle pile, a street light, a bus stop sign, a park road sign or A fixed device or a movable device in a smart city.
  • the electronic vehicle pile in this embodiment may be an outdoor public device, and the specific implementation and structure thereof may be similar to the electronic vehicle pile shown in the first embodiment, and details are not described herein again.
  • the service terminal in this embodiment may be a server, and the specific implementation and structure thereof may be similar to the service terminal shown in the first embodiment, and details are not described herein again.
  • the shared terminal can indirectly send the uplink information to the service terminal by using the short-distance communication connection established by the shared terminal with the public terminal, so that the service terminal performs the corresponding operation.
  • the shared terminal may not directly communicate with the service terminal, thereby shortening the distance of the shared terminal information transmission and reducing the energy consumption of the shared terminal.
  • the method may further include: receiving the uplink response information sent by the public terminal by using the first communications connection; or The first communication connection receives uplink response information received by the public terminal from the service terminal through the second communication connection.
  • the shared terminal may further receive the uplink response information corresponding to the uplink information sent by the public terminal by using the first communication connection, where the uplink response information may be public.
  • the terminal directly generated after receiving the uplink information may also be generated by the service terminal after receiving the uplink information sent by the public terminal.
  • the uplink information may also be report type information, such as a vibration event report, a fault information report, a low battery information report, a location report, and the like.
  • the uplink information may also be heartbeat information.
  • the uplink information sent by the electronic device in the shared terminal to the public terminal may be In order to reply to the information, the reply information may be a reply for the service terminal to query the shared terminal, and the query information may be a location information query, a power query, a configuration class information query, and the like.
  • the shared terminal can indirectly send uplink information to the service terminal and receive uplink response information sent by the service terminal by using the short-distance communication connection established between the shared terminal and the public terminal.
  • the shared terminal may not directly communicate with the service terminal, thereby shortening the distance of the shared terminal information transmission and reducing the energy consumption of the shared terminal.
  • FIG. 3 is a flowchart of a communication method of a shared terminal according to Embodiment 3, in this embodiment, communicating with the public terminal through the first communication connection, and forwarding the shared terminal and the service through the public terminal
  • the communication message between the terminals may include: receiving, by the first communication connection, downlink information received by the public terminal from the service terminal by using the second communication connection. As shown in FIG. 3, the method includes the following steps:
  • a first communication connection is established with the public terminal by the first communication module, and the first communication connection is a short-range communication connection.
  • downlink information received by the public terminal from the service terminal through the second communication connection is received through the first communication connection.
  • the downlink information received by the electronic device in the shared terminal through the public terminal may be sent by the service terminal through a second communication connection established with the public terminal, and the service terminal may implement the control of the shared terminal by using the downlink information. Management or a combination of both.
  • the electronic device in the shared terminal can establish a first communication connection with the public terminal, and the public terminal can establish a second communication connection with the service terminal, and the electronic device can receive the service terminal through the first communication connection established with the public terminal. At least one of downlink information sent by the second communication connection for controlling and managing the electronic device.
  • the shared device may include a non-pile bicycle such as a shared bicycle or a shared electric vehicle, and may also be used for other resource sharing devices such as a shared charging treasure;
  • the public terminal may include an electronic vehicle pile, a street light, a bus stop sign, a park road sign or A fixed device or a movable device in a smart city.
  • the electronic vehicle pile in this embodiment may be an outdoor public device, and the specific implementation and structure thereof may be similar to the electronic vehicle pile shown in the first embodiment, and details are not described herein again.
  • the service terminal in this embodiment may be a server, and the specific implementation and structure thereof may be similar to the service terminal shown in the first embodiment. I will not repeat them here.
  • the downlink information sent by the service terminal received by the electronic device in the shared terminal through the first communication connection may be an unlocking instruction, hardware in the shared terminal (eg, a GPS module, an audio module, an acceleration sensor, a battery module, etc.)
  • the information about the configuration, the advertisement delivery information, and the like, wherein when the downlink information is the advertisement delivery information, the sharing terminal may be provided with a display device, such as a liquid crystal display or the like.
  • the foregoing method may further include: performing an action indicated by the downlink information.
  • the electronic device in the shared terminal may control the corresponding device in the shared terminal to perform a corresponding action according to the downlink information. For example, if the downlink information is an unlocking command, the electronic device in the sharing terminal may control the locking device in the sharing terminal to perform an unlocking action; if the downlink information is the advertisement delivery information, the electronic device in the sharing terminal may control the display in the sharing terminal. The device displays the advertising content.
  • the above steps are described by taking the shared terminal as a pileless bicycle, the public terminal as an electronic vehicle pile, and the downlink information as an unlocking command as an example.
  • a pileless bicycle can be parked near an electronic vehicle pile before it is unlocked.
  • the user can send an unlock request for the target unstacked bicycle to the service terminal through the user terminal, and after receiving the unlock request, the service terminal can generate an unlocking instruction for the target unstacked bicycle, and
  • the second communication connection can be established with the electronic vehicle pile near the target bicycle-free bicycle parking position, such as a remote communication connection, and the service terminal can send the unlocking command to the electronic vehicle pile through the second communication connection, and the electronic vehicle pile receives the unlocking command.
  • the unlocking command may be sent to the target unpileed bicycle through the first communication connection established with the target unstacked electronic device, and after the target unpile bicycle receives the unlocking command, the locking device may be controlled to perform the unlocking action, and the target is not piled.
  • the bicycle is unlocked successfully, at which point the user can use the target without a bicycle.
  • the shared terminal can indirectly receive the downlink information sent by the service terminal through a short-distance communication connection established with the public terminal.
  • the shared terminal may not directly communicate with the service terminal, thereby shortening the distance of the shared terminal information transmission and reducing the energy consumption of the shared terminal.
  • the method may further include: detecting, by the first communication module, the public terminal within a communication range of the first communication module.
  • the electronic device at the shared terminal establishes the first through the first communication module and the public terminal.
  • the first communication module in the electronic device can actively search for a public terminal capable of establishing a first communication connection with the electronic device within its short-range communication range, and can select among the searched public terminals to simultaneously
  • the service terminal establishes a public terminal of the second communication connection as a public terminal that establishes the first communication connection.
  • the sharing terminal may establish a third communication connection with the service terminal by using the second communication module, where the third communication connection is a remote communication connection: in the first communication module
  • the third communication connection is a remote communication connection: in the first communication module
  • the public terminal is not detected in the communication range, the first communication connection establishment fails, and the packet forwarding with the public terminal fails through the first communication connection.
  • the electronic device in the shared terminal may include, in addition to the first communication module capable of establishing a short-range communication connection with the public terminal, a second communication module capable of establishing a remote communication connection with the service terminal.
  • a second communication module capable of establishing a remote communication connection with the service terminal.
  • the communication method of the shared terminal provided in this embodiment directly establishes a communication connection with the service terminal through the second communication module, which can avoid the problem that the shared terminal cannot be used normally when the communication connection between the public terminal and the shared terminal fails to be established.
  • the short-range communication connection includes any one of a Bluetooth connection, a WIreless FIdelity (WiFi) connection, and a ZigBee connection;
  • the remote communication connection includes a mobile communication connection, a network connection, Any of the wired connections.
  • Embodiment 4 is a flowchart of a communication method of a public terminal according to Embodiment 4, which may be performed by a communication device of a public terminal, and may be implemented by software or hardware or a combination thereof, and may be integrated into a public In the terminal. As shown in FIG. 4, the method includes the following steps:
  • a first communication connection is established with the shared terminal by the third communication module, and the first communication connection is a short-range communication connection.
  • the communication device of the shared terminal may be a public terminal.
  • the public terminal may be an electronic vehicle pile, a street light, a bus stop sign, a park signpost, or any other fixed device in a smart city, or any movable device in a smart city, such as a bus, etc., a shared terminal. It may be a pileless bicycle or a pileless electric vehicle, etc., and the electronic device in the sharing terminal may be an in-vehicle electronic device.
  • the corresponding shared terminal may be a pileless bicycle or a pileless electric vehicle.
  • a second communication connection is established with the service terminal through the fourth communication module, and the second communication connection is a remote communication connection.
  • the public terminal may further include a service and a service.
  • the terminal establishes a fourth communication module of the remote communication connection, where the fourth communication module is the second communication module in the public terminal, and the service terminal may include a network interface capable of establishing a remote communication connection with the public terminal.
  • the public terminal can establish a second communication connection with the service terminal through the network interface of the fourth communication module and the service terminal, and the second communication connection can be a remote communication connection, and the public terminal can perform remote information with the service terminal through the second communication connection. Interaction.
  • a communication message between the shared terminal and the service terminal is forwarded through the first communication connection and the second communication connection.
  • the public terminal may establish a first communication connection with the sharing terminal and establish a second communication connection with the service terminal.
  • the public terminal may receive the communication message sent by the sharing terminal through the first communication connection, and send the communication message to the service terminal by using the second communication connection; or the public terminal may receive the communication sent by the service terminal by using the second communication connection. And transmitting the communication message to the sharing terminal by using the first communication connection, so as to implement information interaction between the shared terminal and the service terminal.
  • the shared device may include a non-pile bicycle such as a shared bicycle or a shared electric vehicle, and may also be used for other resource sharing devices such as a shared charging treasure;
  • the public terminal may include an electronic vehicle pile, a street light, a bus stop sign, a park road sign or A fixed device or a movable device in a smart city.
  • the electronic vehicle pile in this embodiment may be an outdoor public device, and the specific implementation and structure thereof may be similar to the electronic vehicle pile shown in the first embodiment, and details are not described herein again.
  • the service terminal in this embodiment may be a server, and the specific implementation and structure thereof may be similar to the service terminal shown in the first embodiment. I will not repeat them here.
  • the communication method of the public terminal enables the shared terminal to communicate with the service terminal indirectly through the short-distance communication connection established by the public terminal and the shared terminal and the remote communication connection established between the public terminal and the service terminal.
  • the shared terminal may not directly communicate with the service terminal, thereby shortening the distance of the shared terminal information transmission and reducing the energy consumption of the shared terminal.
  • the communication message may include: receiving uplink information sent by the sharing terminal by using the first communication connection; and transmitting the uplink information to the service terminal by using the second communication connection.
  • the method may include the following steps:
  • a first communication connection is established with the sharing terminal by the third communication module, and the first communication connection is a short-range communication connection.
  • a second communication connection is established with the service terminal through the fourth communication module, and the second communication connection is a remote communication connection.
  • the uplink information sent by the sharing terminal is received by using the first communication connection.
  • the uplink information is sent to the serving terminal by using the second communication connection.
  • the uplink information sent by the shared terminal received by the public terminal through the first communication connection may be used to enable the service terminal to perform a corresponding operation according to the uplink information.
  • the public terminal may send the uplink information to the service terminal by using the second communication connection, so that the service terminal can perform a corresponding operation according to the uplink information.
  • the uplink information may be blocking information or the like.
  • the downlink information is the unlocking command as an example, and the above steps are explained:
  • the electronic vehicle pile can establish a first communication connection with the electronic equipment of the pileless bicycle through the first communication module disposed in the electronic vehicle pile, and can establish a second communication connection with the service terminal through the second communication module configured in the electronic vehicle pile.
  • the electronic vehicle pile can receive the lock information sent by the pile-free bicycle through the first communication connection established with the pile-free bicycle, and the lock information can be that the electronic device passes the first communication connection when detecting that the lock device of the pile-free bicycle performs the blocking action Sent.
  • the electronic vehicle pile After receiving the blocking information sent by the electronic device, the electronic vehicle pile can send the blocking information to the service terminal through the second communication connection, so as to serve
  • the service terminal knows that the current trip of the pileless bicycle has ended, so as to end the billing operation.
  • the communication method of the public terminal provided by the embodiment, the short-distance communication connection established between the public terminal and the shared terminal and the remote communication connection established between the public terminal and the service terminal, so that the shared terminal indirectly sends the uplink information to the service terminal, so that the service terminal Take the appropriate action.
  • the shared terminal may not directly communicate with the service terminal, thereby shortening the distance of the shared terminal information transmission and reducing the energy consumption of the shared terminal.
  • the method may further include: receiving the uplink response information sent by the serving terminal by using the second communications connection, or And generating uplink response information according to the uplink information, and sending the uplink response information to the shared terminal by using the first communication connection.
  • the service terminal may generate the uplink response information according to the uplink information and send the uplink response information to the public terminal, or the public terminal may The uplink information generates uplink response information.
  • the public terminal may also send the uplink response information sent by the service terminal or generated by the public terminal to the shared terminal by using the first communication connection, so that the shared terminal performs the corresponding action according to the uplink response information.
  • the uplink information may be report type information, such as a vibration event report, a fault information report, a low battery information report, a location report, etc., and the uplink information may also be heartbeat information.
  • the uplink information may also be reply information, where the reply information may be a reply of the service terminal to the shared terminal for query information, and the query information may be location information query, power query, configuration class information query, and the like.
  • the communication method of the public terminal provides a remote communication connection established between the public terminal and the shared terminal and a remote communication connection established between the public terminal and the service terminal, so that the shared terminal indirectly sends the uplink information to the service terminal and receives the service terminal.
  • Upstream response information In the process of performing uplink information and uplink response information transmission, the shared terminal may not directly communicate with the service terminal, thereby shortening the distance of the shared terminal information transmission and reducing the energy consumption of the shared terminal.
  • FIG. 6 is a flowchart of a communication method of a public terminal according to Embodiment 6.
  • forwarding the communication message between the sharing terminal and the service terminal by using the first communication connection and the second communication connection may include: receiving, by using the second communication connection, the Downlink information sent by the service terminal; the downlink information is sent to the shared terminal by using the first communication connection.
  • Figure 6 As shown, the method includes the following steps:
  • a second communication connection is established with the service terminal through the fourth communication module, and the second communication connection is a remote communication connection.
  • a first communication connection is established with the sharing terminal by the third communication module, and the first communication connection is a short-range communication connection.
  • the downlink information is sent to the shared terminal by using the first communication connection.
  • the downlink information sent by the service terminal received by the public terminal through the second communication connection may be used to control or manage the shared terminal or a combination of the two.
  • the public terminal may send the downlink information to the shared terminal by using the first communication connection, so that the shared terminal can perform a corresponding action according to the downlink information.
  • the downlink information may be an unlocking instruction, information for configuring hardware (for example, a GPS module, an audio module, an acceleration sensor, a battery module, and the like) in the shared terminal, advertisement placement information, and the like.
  • the downlink information is the unlocking command as an example, and the above steps are explained:
  • the electronic vehicle pile can establish a first communication connection with the electronic equipment of the pileless bicycle through the third communication module, and can establish a second communication connection with the service terminal through the fourth communication module.
  • the electronic vehicle pile can receive an unlocking command sent by the service terminal through a second communication connection established with the service terminal, where the unlocking instruction can be a target that the user sends to the service terminal through the user terminal when the user needs the vehicle,
  • the unlocking request of the pile bicycle after the service terminal receives the unlocking request, the unlocking instruction for the target unpilled bicycle can be generated.
  • the electronic vehicle pile After receiving the unlocking command sent by the service terminal, the electronic vehicle pile can send the unlocking command to the electronic device of the pileless bicycle through the first communication connection, so that the locking device of the pileless bicycle performs an unlocking action for the user to use.
  • the communication method of the public terminal provides a short-distance communication connection established between the public terminal and the shared terminal and a remote communication connection established between the public terminal and the service terminal, so that the shared terminal indirectly receives the downlink information sent by the service terminal.
  • the shared terminal may not directly communicate with the service terminal, thereby shortening the distance of the shared terminal information transmission and reducing the energy consumption of the shared terminal.
  • the short-range communication connection includes any one of a Bluetooth connection, a wireless fidelity WiFi connection, and a ZigBee connection;
  • the remote communication connection includes any one of a mobile communication connection, a network connection, and a wired connection.
  • FIG. 7a and 7b are respectively a flowchart of a communication method of a shared terminal provided in Embodiment 7.
  • the method can be performed by a communication device of a shared terminal, which can be implemented in software or hardware or a combination thereof.
  • FIG. 7a is a flowchart of a communication method of a shared terminal according to Embodiment 7. As shown in FIG. 7a, when the serving terminal needs to send downlink information to the sharing terminal, the method includes the following steps:
  • the public terminal establishes a second communication connection with the service terminal.
  • the serving terminal transmits downlink information to the public terminal through the second communication connection.
  • the sharing terminal establishes a first communication connection with the public terminal.
  • the public terminal transmits the downlink information to the shared terminal through the first communication connection.
  • FIG. 7b is a flowchart of a communication method of a shared terminal according to Embodiment 7. As shown in FIG. 7b, when the sharing terminal needs to send uplink information to the serving terminal, the method may include the following steps:
  • the shared terminal establishes a first communication connection with the public terminal.
  • the sharing terminal sends uplink information to the public terminal through the first communication connection.
  • the public terminal establishes a second communication connection with the service terminal.
  • the public terminal transmits the uplink information to the serving terminal through the second communication connection.
  • the communication process of the shared terminal may be: first, the shared terminal establishes a communication connection with the service terminal through the public terminal; then, the shared terminal sends the uplink information to the service terminal through the public terminal.
  • steps S750 and S770 are processes in which the shared terminal establishes a communication connection with the service terminal through the public terminal, the first communication connection may be a short-range communication connection, and the second communication connection may be a remote communication connection.
  • the shared terminal performs information interaction with the service terminal indirectly through the public terminal.
  • the electronic device in the shared terminal may not directly communicate with the service terminal, thereby shortening the distance of the shared terminal information transmission and reducing the energy consumption of the shared terminal.
  • FIG. 8 is a schematic structural diagram of a communication device of a shared terminal according to Embodiment 8, this implementation
  • the communication device of the shared terminal of the example is disposed in the shared terminal and can be used for short-distance communication with the public terminal. As shown in Figure 8, the device includes:
  • the first communication module 810, the first communication module 810 includes:
  • the first control module 811 is configured to establish a first communication connection with the public terminal, where the first communication connection is a short-range communication connection;
  • the first transceiver module 812 is configured to communicate with the public terminal through the first communication connection after the first communication connection is established, and forward the communication between the shared terminal and the service terminal by using the public terminal. a message, wherein the public terminal communicates with the service terminal through a second communication connection, and the second communication connection is a remote communication connection.
  • the communication device of the shared terminal communicates with the service terminal indirectly through the short-distance communication connection established between the shared terminal and the public terminal.
  • the shared terminal may not directly communicate with the service terminal, thereby shortening the distance of the shared terminal information transmission and reducing the energy consumption of the shared terminal.
  • the first transceiver module 812 may be configured to send uplink information to the public terminal by using the first communications connection, so that the public terminal sends the uplink information by using the second communications connection. To the service terminal.
  • the first transceiver module 812 may be further configured to: receive, by using the first communication connection, downlink information that is received by the public terminal from the server by using the second communication connection.
  • the first transceiver module 812 may be further configured to: receive uplink response information sent by the public terminal by using the first communication connection; or receive, by using the first communication connection, the public terminal by using the second communication The uplink response information received from the service terminal is connected.
  • the first communication module may further include a detecting module 813, where the detecting module 813 may be configured to: after the first communication module establishes a first communication connection with the public terminal, in the first communication Detecting the public terminal within a communication range of the module;
  • the device may further include a second communication module 820, and the second communication module 820 may be configured to establish a third communication connection with the service terminal when the detection result is one of: the third communication connection is a remote a communication connection: failing to detect that the public terminal, the first communication connection between the first communication module and the public terminal fails to be established, and forwarding by the public terminal, within a communication range of the first communication module The message failed.
  • the third communication connection is a remote a communication connection: failing to detect that the public terminal, the first communication connection between the first communication module and the public terminal fails to be established, and forwarding by the public terminal, within a communication range of the first communication module The message failed.
  • the short-range communication connection includes any one of a Bluetooth connection, a wireless fidelity WiFi connection, and a ZigBee connection;
  • the remote communication connection includes a mobile communication connection, a network connection, and Any of the line connections.
  • the communication device of the shared terminal configured by the shared terminal provided in this embodiment can perform the communication method applied to the shared terminal of the shared terminal provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
  • FIG. 9 is a schematic structural diagram of a communication apparatus of a public terminal according to Embodiment 9.
  • the communication apparatus of the public terminal in this embodiment is configured in a public terminal, and can be used for short-distance communication with the shared terminal and remotely with the service terminal. The situation of communication.
  • the device includes:
  • the third communication module 910 is configured to establish a first communication connection with the shared terminal, where the first communication connection is a short-range communication connection.
  • the fourth communication module 920 is configured to establish a second communication connection with the service terminal, and the second communication connection is a remote communication connection.
  • the third communication module 910 and the fourth communication module 920 are further configured to forward the communication message between the sharing terminal and the service terminal through the first communication connection and the second communication connection.
  • the communication device of the public terminal provided by this embodiment enables the shared terminal to communicate with the service terminal indirectly through the short-distance communication connection established by the public terminal and the shared terminal and the remote communication connection established between the public terminal and the service terminal.
  • the shared terminal may not directly communicate with the service terminal, thereby shortening the distance of the shared terminal information transmission and reducing the energy consumption of the shared terminal.
  • the third communications module 910 may be configured to: receive uplink information sent by the sharing terminal by using the first communications connection; and the second communications module 920 may be configured to: connect by using the second communications Sending the uplink information to the service terminal
  • the fourth communication module 920 is further configured to: receive the downlink information sent by the service terminal by using the second communication connection; and the third communication module 910 may further be configured to: The first communication connection sends the downlink information to the shared terminal.
  • the fourth communication module 920 may be further configured to: receive the uplink response information sent by the service terminal by using the second communication connection, or generate uplink response information according to the uplink information;
  • the third communication module 910 may be further configured to: send the uplink response information to the shared terminal by using the first communication connection.
  • the third communication module in the public terminal may further include a third transceiver module, where the third transceiver module is specifically configured to:
  • the uplink response information is sent to the shared terminal through the first communication connection.
  • the fourth communication module may further include a fourth transceiver module, where the fourth transceiver module is specifically configured to:
  • the short-range communication connection includes any one of a Bluetooth connection, a wireless fidelity WiFi connection, and a ZigBee connection;
  • the remote communication connection includes any one of a mobile communication connection, a network connection, and a wired connection.
  • the communication device of the shared terminal configured in the public terminal provided in this embodiment can perform the communication method applied to the shared terminal of the public terminal provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
  • FIG. 10 is a schematic structural diagram of a communication system of a shared terminal according to Embodiment 10, as shown in FIG. 10, the system includes:
  • a sharing terminal 1010 a public terminal 1020, and a service terminal 1030, where
  • the sharing terminal 1010 may include the communication device 1011 of the sharing terminal according to the embodiment of the present invention.
  • the public terminal 1020 may include the communication device 1021 of the public terminal according to the embodiment of the present invention.
  • the kiosk 1030 can be configured to control or manage the shared terminal 1010 or a combination of both.
  • the embodiment further provides a computer readable storage medium storing computer executable instructions arranged to perform the method of any of the above.
  • FIG. 11 is a schematic structural diagram of hardware of a shared terminal according to Embodiment 11.
  • the shared terminal provided in this embodiment may include a processor 1101 and a memory 1102, and may further include a short-range communication module 1103, a long-distance communication module 1104, a GPS module 1105, and a display module 1106.
  • the short-range communication module 1103 and the long-distance communication module 1104 can be used for information transmission; the processor 1101 can call logic instructions in the memory 1102 to perform the sharing end of the above embodiment. End communication method.
  • the short-range communication module 1103 may be at least one of a Bluetooth module, a wireless fidelity WiFi module, and a ZigBee module, and the remote communication module 1204 may be any one of a mobile communication module, a network module, and a wired module.
  • a Bluetooth module a wireless fidelity WiFi module
  • a ZigBee module a wireless fidelity WiFi module
  • the remote communication module 1204 may be any one of a mobile communication module, a network module, and a wired module.
  • the logic instructions in the memory 1102 described above may be implemented in the form of a software functional unit and sold or used as a stand-alone product, and may be stored in a computer readable storage medium.
  • the technical solution of the present disclosure may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network) The device or the like) performs all or part of the steps of the method described in various embodiments of the present disclosure.
  • the foregoing storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM, Random Access Memory), a magnetic disk, or an optical disk.
  • a medium that can store program code or a transient storage medium including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM, Random Access Memory), a magnetic disk, or an optical disk.
  • FIG. 12 is a schematic diagram showing the hardware structure of a public terminal according to Embodiment 12.
  • the public terminal provided in this embodiment may include a processor 1201 and a memory 1202, and may further include a short-range communication module 1203, a remote communication module 1204, a GPS module 1205, and a display module 1206.
  • the short-range communication module 1203 and the long-distance communication module 1204 can be used for information transmission; the processor 1201 can call the logic instructions in the memory 1202 to execute the communication method of the public terminal of the above embodiment.
  • the short-range communication module 1203 may be at least one of a Bluetooth module, a wireless fidelity WiFi module, and a ZigBee module
  • the remote communication module 1204 may be any one of a mobile communication module, a network module, and a wired module.
  • a Bluetooth module a wireless fidelity WiFi module
  • a ZigBee module a wireless fidelity WiFi module
  • the remote communication module 1204 may be any one of a mobile communication module, a network module, and a wired module.
  • the logic instructions in the memory 1202 described above may be implemented in the form of software functional units and sold or used as separate products, and may be stored in a computer readable storage medium.
  • the technical solution of the present disclosure may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network) The device or the like) performs all or part of the steps of the method described in various embodiments of the present disclosure.
  • the foregoing storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM, Random Access Memory), a magnetic disk, or an optical disk.
  • a medium that can store program code or a transient storage medium including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM, Random Access Memory), a magnetic disk, or an optical disk.
  • the shared terminal communicates with the service terminal indirectly through a short-distance communication connection established with the public terminal.
  • the electronic device in the shared terminal may not directly communicate with the service terminal.
  • the communication connection shortens the distance of the shared terminal information transmission and reduces the energy consumption of the shared terminal.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本公开公开了一种共享终端的通信方法、装置及共享终端。其中,共享终端的通信方法包括:通过第一通信模块与公共终端建立第一通信连接,所述第一通信连接为近距离通信连接;当所述第一通信连接建立完成后,通过所述第一通信连接与所述公共终端通信,并通过所述公共终端转发所述共享终端和服务终端之间的通信报文,其中,所述公共终端与所述服务终端通过第二通信连接通信,所述第二通信连接为远程通信连接。

Description

共享终端的通信方法、装置及共享终端 技术领域
本公开涉及共享终端技术领域,例如涉及一种共享终端的通信方法、装置及共享终端。
背景技术
为了方便人们的日常生活,很多公共场所都设置了共享终端,比如无桩单车。无桩单车使用便捷,能有效解决短距离的出行问题,不仅能够在一定程度上缓解交通压力,而且其绿色节能,能有效减少碳排量同时还可以促使用户锻炼身体。
现有共享终端通常包括通信模块和供电电池,其中,供电电池在共享终端利用通信模块与服务器建立连接的过程中,为通信模块供电。因此,供电电池内是否有足够的电量直接影响着该共享终端是否能正常使用。然而,任何供电电池都有一定的寿命,其直接决定着共享终端的使用寿命,而供电电池寿命的长短则取决于共享终端功耗的高低。因此,如何降低共享终端的功耗,是业界亟待解决的问题。
发明内容
本发明实施例提供了一种共享终端的通信方法、装置及共享终端,能够缩短共享终端信息传输的距离,降低共享终端的功耗。
本发明实施例提供了一种共享终端的通信方法,该方法包括:
通过第一通信模块与公共终端建立第一通信连接,所述第一通信连接为近距离通信连接;
当所述第一通信连接建立完成后,通过所述第一通信连接与所述公共终端通信,并通过所述公共终端转发共享终端和服务终端之间的通信报文,其中,所述公共终端与所述服务终端通过第二通信连接通信,所述第二通信连接为远程通信连接。
本发明实施例还提供了一种公共终端的通信方法,该方法包括:
通过第一通信模块与共享终端建立第一通信连接,所述第一通信连接为近距离通信连接;
通过第二通信模块与服务终端建立第二通信连接,所述第二通信连接为远程通信连接;
通过所述第一通信连接和所述第二通信连接转发所述共享终端和所述服务终端之间的通信报文。
本发明实施例还提供了一种共享终端的通信装置,该装置包括:第一通信模块,所述第一通信模块包括:
第一控制模块,设置为与公共终端建立第一通信连接,所述第一通信连接为近距离通信连接;
第一收发模块,设置为当所述第一通信连接建立完成后,通过所述第一通信连接与所述公共终端通信,并通过所述公共终端转发共享终端和服务终端之间的通信报文,其中,所述公共终端与所述服务终端通过第二通信连接通信,所述第二通信连接为远程通信连接。
本发明实施例还提供了一种公共终端的通信装置,该装置包括:
第一通信模块,设置为与共享终端建立第一通信连接,所述第一通信连接为近距离通信连接;
第二通信模块,设置为与服务终端建立第二通信连接,所述第二通信连接为远程通信连接;
所述第一通信模块和所述第二通信模块,还设置为通过所述第一通信连接和所述第二通信连接转发所述共享终端和所述服务终端之间的通信报文。
本发明实施例还提供了一种共享终端,该共享终端包括本发明实施例所述的共享终端的通信装置。
本发明实施例还提供了一种公共终端,该公共终端包括本发明实施例所述的公共终端的通信装置。
本发明实施例还提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述任一项所述的方法。
本实施例还提供了一种共享终端,包括至少一个处理器;以及与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,执行如上述任一项共享终端侧的所述的方法。
本实施例还提供了一种公共终端,包括至少一个处理器;以及与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处 理器执行的指令,所述指令被所述至少一个处理器执行,执行如上述任一项公共终端侧的所述的方法。
本发明实施例提供的共享终端的通信方法、公共终端的通信方法、装置、共享终端、公共终端及存储介质,通过共享终端与公共终端建立的近距离通信连接以及公共终端与服务终端建立的远程通信连接,共享终端可以与服务终端进行间接通信。在通信过程中,共享终端可以不直接与服务终端进行远程通信连接,因此缩短了共享终端信息传输的距离,降低了共享终端的能耗。
附图概述
图1是实施例一中的一种共享终端的通信方法的流程图;
图2是实施例二中的一种共享终端的通信方法的流程图;
图3是实施例三中的一种共享终端的通信方法的流程图;
图4是实施例四中的一种公共终端的通信方法的流程图;
图5是实施例五中的一种公共终端的通信方法的流程图;
图6是实施例六中的一种公共终端的通信方法的流程图;
图7a是实施例七中的一种共享终端的通信方法的流程图;
图7b是实施例七中的另一种共享终端的通信方法的流程图;
图8是实施例八中的一种共享终端的通信装置的结构示意图;
图9是实施例九中的一种公共终端的通信装置的结构示意图;
图10是实施例十中的一种共享终端通信***的结构示意图;
图11是实施例十一中的一种共享终端的硬件结构示意图;
图12是实施例十二中的一种公共终端的硬件结构示意图。
具体实施方式
实施例一
图1是实施例一提供的一种共享终端的通信方法的流程图,该方法适用于在共享终端与服务终端通信的过程中,共享终端中的电子设备需要降低功耗的情况,该方法可以由共享终端的通信装置来执行,该装置可以由软件或硬件或其结合的方式实现,并可以集成于共享终端中。如图1所示,该方法包括以下步骤。
在S110中,通过第一通信模块与公共终端建立第一通信连接,所述第一通 信连接为近距离通信连接。
现有的共享终端中都包括电子设备,电子设备通常包括通信模块和供电电池。通信模块可以与服务终端建立远程通信连接,距离越远,通信模块的发射和接收功率就越大。因此,在电子设备与服务终端建立远程通信连接的过程中,通信模块的功耗会很大。而通信模块正常工作需要供电电池能够为其提供持续的电量,当通信模块功耗很大时,供电电池就需要不断的执行充放电动作。然而,频繁的进行充放电会严重影响供电电池的寿命,一旦供电电池出现问题,电子设备中的通信模块就无法正常工作,这将直接导致共享终端无法正常使用,造成共享终端资源的浪费。
本实施例提供的方法可以降低共享终端电子设备中通信模块的发射和接收功率。该方法通过设置能够与共享终端中的电子设备进行近距离通信的中间节点——公共终端,使得电子设备可以与公共终端建立近距离通信连接,再通过公共终端与服务终端建立远程通信连接,从而使得共享终端可以间接与服务终端进行通信连接,缩短了共享终端中的通信模块的通信距离,降低了通信模块的发射和接收功率,从而延长了共享终端中的供电电池的寿命。
本实施例中,共享终端的通信装置可以是共享终端中的电子设备,该电子设备可以包括能够与公共终端建立近距离通信连接的共享终端的第一通信模块,相应的,公共终端中可以包括能够与电子设备建立近距离通信连接的第三通信模块,该第三通信模块即为公共终端中的第一通信模块。电子设备可以通过共享终端的第一通信模块与公共终端中的第三通信模块建立第一通信连接,该第一通信连接可以为近距离通信连接,通过该第一通信连接,电子设备和公共终端可以进行信息交互。
本实施例中,共享终端可以是无桩单车,例如无桩自行车或无桩电动车等。共享终端中的电子设备可以是车载电子设备,所述车载电子设备可以与无桩单车的锁集成在一起配置于无桩单车上,也可以与锁分开配置于无桩单车上。公共终端可以是电子车桩、路灯、公交站牌、公园路标或智慧城市中任意一个固定或者可移动的装置,对于无桩自行车或无桩电动车而言,其对应的公共终端可以是电子车桩。
本实施例中的电子车桩可以为一种室外公共设备,如可以为一种基于电子识别的停车区域。在公共场所配备电子车桩是一种对目前无桩单车进行规范管理的一项举措之一。由于电子车桩为固定装置,其可以配备稳定充足的电力, 例如由市电供电,或者太阳能供电等。由于电子车桩为固定装置,电子车桩的功能模块与无桩单车内的功能模块可以类似,例如具备近距离通讯模块、远距离通信模块、全球定位***(Global Positioning System,GPS)定位模块等。电子车桩的通信功能较无桩单车的通信功能稳定,可以使无桩单车的远距离通信得到保障。
在S120中,当所述第一通信连接建立完成后,通过所述第一通信连接与所述公共终端通信,并通过所述公共终端转发共享终端和服务终端之间的通信报文,其中,所述公共终端与所述服务终端通过第二通信连接通信,所述第二通信连接为远程通信连接。
本实施例中,共享终端中的电子设备可以通过与公共终端之间的第一通信连接与服务终端建立间接通信。其中,公共终端与服务终端之间的连接可以为第二通信连接,并且第二通信连接可以为远程通信连接。即电子设备与公共终端可以建立近距离通信连接,公共终端与服务终端可以建立远程通信连接。公共终端作为电子设备与服务终端之间的转发设备,可以通过下述至少一种方式转发电子设备与服务终端之间的通信报文:通过第一通信连接转发包括服务终端向电子设备发送的信息的通信报文,以及,通过第二通信连接转发包括电子设备向服务终端发送的信息的通信报文。其中,服务终端向电子设备发送的信息可以是对共享终端进行控制或管理或二者的结合时对应的信息。
本实施方式中的服务终端可以为一种服务器,其可以为处理单线业务的服务器,例如可以为共享终端的解锁提供决策、为报警等事件触发提供决策、为共享终端的调配提供策略、对共享终端的地理位置信息进行管理、对共享终端的广告信息进行数据管理、对用户的骑行进行计费数据管理等的服务终端;也可以为处理综合业务的服务器。
服务终端可以被理解为提供处理、数据库、通讯设施等的业务点。举例而言,服务终端可以指具有相关通信、数据存储和数据库设施等的单个的物理处理器,或者,也可以指联网或集聚的处理器、相关网络和存储设备等的集合体,并且可以对软件、一个或多个数据库***和支持服务器所提供的服务的应用软件进行操作。服务终端可以在配置或性能上差异很大,但是服务终端可以包括一个或多个中央处理单元和存储器。服务终端还可以包括一个或多个大容量存储设备、一个或多个电源、一个或多个有线或无线网络接口、一个或多个输入/输出接口、或一个或多个操作***,诸如,视窗服务***(Windows Server)、 苹果操作***(Macintosh Operating System X,Mac OS X)、尤尼斯操作***(Unix)、Linux、开源的伯克利软件套件(Free Berkeley Software Distribution,FreeBSD),等等。服务终端还可以是整体式服务器或是跨多计算机或计算机数据中心的分散式服务器。服务终端可以是各种类型的,例如但不限于,网络服务器,新闻服务器,邮件服务器,消息服务器,广告服务器,文件服务器,应用服务器,交互服务器,数据库服务器或代理服务器等。在一些实施例中,每个服务器可以包括硬件、软件、用于执行服务终端所支持或实现的合适功能的内嵌逻辑组件或两个或多个此类组件的组合。在本发明实施例中,服务终端可以设置为提供支持共享设备终端通信所必需的全部功能。
本实施例提供的共享终端的通信方法,通过共享终端与公共终端建立的近距离通信连接,间接与服务终端进行通信。在通信的过程中,共享终端中的电子设备可以不直接与服务终端进行远程通信连接,因此缩短了共享终端信息传输的距离,降低了共享终端的能耗。
本实施方式中,所述共享终的通信方法可以发生在无桩单车位于电子车桩区域内,且无桩单车闭锁动作之后。在其他实施方式中,该共享终端的通信方法也可以出现在无桩单车未处于电子车桩区域,或者无桩单车处于开锁的状态下。
实施例二
图2是实施例二提供的一种共享终端的通信方法的流程图。在本实施例中,通过所述第一通信连接与所述公共终端通信,并通过所述公共终端转发所述共享终端和服务终端之间的通信报文,可以包括:通过所述第一通信连接向所述公共终端发送上行信息,并通过所述公共终端和所述第二通信连接将所述上行信息发送给所述服务终端。如图2所示,该方法包括以下步骤:
在S210中,通过第一通信模块与公共终端建立第一通信连接,所述第一通信连接为近距离通信连接。
在S220中,通过所述第一通信连接向所述公共终端发送上行信息,并通过所述公共终端和所述第二通信连接将所述上行信息发送给所述服务终端。
本实施例中,共享终端中的电子设备在向服务终端发送上行信息的过程中,可以通过与公共终端建立的第一通信连接将上行信息发送给公共终端,公共终端在接收到上行信息后,可以通过与服务终端建立的第二通信连接将上行信息 发送给服务终端。
本实施例中,所述共享终端可以为无桩单车,所述公共终端为可以电子车桩。共享终端中的电子设备通过第一通信连接向公共终端发送的上行信息可以是闭锁信息,当无桩单车的锁定装置执行闭锁动作时,无桩单车的电子设备可以通过第一通信连接将闭锁信息发送至电子车桩,电子车桩再通过第二通信连接将闭锁信息发送至服务终端,以使服务终端获知无桩单车的当次行程已经结束,以结束本次计费操作。
其中,共享设备可以包括共享自行车或共享电动车等无桩单车,还可为其他用来资源共享的设备例如共享充电宝等;公共终端可以包括电子车桩、路灯、公交站牌、公园路标或智慧城市中某个固定装置或者可移动的装置等。本实施方式中的电子车桩可以为一种室外公共设备,其具体实现方式和结构可以与实施例一中所示的电子车桩类似,此处不再赘述。本实施方式中的服务终端可以为一种服务器,其具体实现方式和结构可以与实施例一中所示的服务终端类似,此处不再赘述。
本实施例提供的共享终端的通信方法,通过共享终端与公共终端建立的近距离通信连接,共享终端可以间接向服务终端发送上行信息,以使服务终端执行相应操作。在进行上行信息传递的过程中,共享终端可以不直接与服务终端进行远程通信连接,因此缩短了共享终端信息传输的距离,降低了共享终端的能耗。
可选的,在共享终端通过所述第一通信连接向所述公共终端发送上行信息之后,还可以包括,通过所述第一通信连接接收所述公共终端发送的上行响应信息;或者,通过所述第一通信连接接收所述公共终端通过所述第二通信连接从所述服务终端接收到的上行响应信息。
本实施例中,在共享终端通过第一通信连接向公共终端发送上行信息之后,还可以接收公共终端通过第一通信连接发送的与上行信息相对应的上行响应信息,该上行响应信息可以是公共终端在接收到上行信息后直接生成的,也可以是服务终端在接收到公共终端发送的上行信息后生成的。
本实施方式中,上行信息还可以是报告类信息,例如震动事件报告、故障类信息报告、低电量信息报告、位置上报等,除此之外,上行信息还可为心跳信息。
在其他实施例中,共享终端中的电子设备向公共终端发送的上行信息可以 为回复信息,其中,回复信息可以为服务终端对共享终端进行查询信息的回复,查询信息可以为位置信息查询、电量查询、配置类信息查询等等。
本实施例提供的共享终端的通信方法,通过共享终端与公共终端建立的近距离通信连接,共享终端可以间接向服务终端发送上行信息并接收服务终端发送的上行响应信息。在进行上行信息和上行响应信息传递的过程中,共享终端可以不直接与服务终端进行远程通信连接,因此缩短了共享终端信息传输的距离,降低了共享终端的能耗。
实施例三
图3是实施例三提供的一种共享终端的通信方法的流程图,在本实施例中,通过所述第一通信连接与所述公共终端通信,并通过所述公共终端转发共享终端和服务终端之间的通信报文,可以包括:通过所述第一通信连接接收所述公共终端通过所述第二通信连接从所述服务终端接收到的下行信息。如图3所示,该方法包括以下步骤:
在S310中,通过第一通信模块与公共终端建立第一通信连接,所述第一通信连接为近距离通信连接。
在S320中,通过所述第一通信连接接收所述公共终端通过所述第二通信连接从所述服务终端接收到的下行信息。
本实施例中,共享终端中的电子设备通过公共终端接收到的下行信息可以是服务终端通过与公共终端建立的第二通信连接发送的,服务终端可以通过该下行信息实现对共享终端的控制或管理或二者的结合。共享终端中的电子设备可以与公共终端建立第一通信连接,公共终端可以与服务终端建立第二通信连接,电子设备可以通过与公共终端建立的第一通信连接接收服务终端通过与公共终端建立的第二通信连接发送的用于控制和管理电子设备的下行信息中的至少一种信息。
其中,共享设备可以包括共享自行车或共享电动车等无桩单车,还可为其他用来资源共享的设备例如共享充电宝等;公共终端可以包括电子车桩、路灯、公交站牌、公园路标或智慧城市中某个固定装置或者可移动的装置等。本实施方式中的电子车桩可以为一种室外公共设备,其具体实现方式和结构可以与实施例一中所示的电子车桩类似,此处不再赘述。本实施方式中的服务终端可以为一种服务器,其具体实现方式和结构可以与实施例一中所示的服务终端类似, 此处不再赘述。
本实施例中,共享终端中的电子设备通过第一通信连接接收到的服务终端发送的下行信息可以是解锁指令、对共享终端中的硬件(例如GPS模块、音频模块、加速度传感器、电池模块等)进行配置的信息、广告投放信息等,其中,当下行信息为广告投放信息时,所述共享终端中可以设置有显示装置,如液晶显示屏等。
可选的,上述方法还可以包括:执行下行信息指示的动作。
本实施例中,共享终端中的电子设备接收到下行信息后,可以根据该下行信息控制共享终端中的相应设备执行相应的动作。例如,若下行信息为解锁指令,则共享终端中的电子设备可以控制共享终端中的锁定装置执行解锁动作;若下行信息为广告投放信息,则共享终端中的电子设备可以控制共享终端中的显示装置显示广告内容。
以共享终端为无桩单车、公共终端为电子车桩,下行信息为解锁指令为例,对上述步骤进行说明。
无桩单车在未进行解锁之前,可以停靠于电子车桩附近。当用户有用车需求时,用户可以通过用户终端向服务终端发送对想要使用的目标无桩单车的解锁请求,服务终端接收到解锁请求后,可以生成一个针对目标无桩单车的解锁指令,并可以与目标无桩单车停靠位置附近的电子车桩建立第二通信连接,如远程通信连接,服务终端可以通过该第二通信连接将解锁指令发送给电子车桩,电子车桩接收到解锁指令后,可以通过与目标无桩单车的电子设备建立的第一通信连接,将解锁指令发送给目标无桩单车,目标无桩单车接收到该解锁指令后,可以控制锁定装置执行解锁动作,目标无桩单车解锁成功,此时,用户可以使用该目标无桩单车。
本实施例提供的共享终端的通信方法,通过与公共终端建立的近距离通信连接,共享终端可以间接接收服务终端发送的下行信息。在进行下行信息传递的过程中,共享终端可以不直接与服务终端进行远程通信连接,因此缩短了共享终端信息传输的距离,降低了共享终端的能耗。
可选的,通过第一通信模块与公共终端建立第一通信连接之后,上述方法还可以包括:通过所述第一通信模块在所述第一通信模块的通信范围内检测所述公共终端。
本实施例中,在共享终端的电子设备通过第一通信模块与公共终端建立第 一通信连接之后,电子设备中的第一通信模块可以在其近距离通信范围内主动搜索能够与该电子设备建立第一通信连接的公共终端,并可以在搜索到的公共终端中选择能够同时与服务终端建立第二通信连接的公共终端,作为建立第一通信连接的公共终端。
可选的,在检测结果为以下之一时,共享终端可以通过第二通信模块与所述服务终端建立第三通信连接,所述第三通信连接为远程通信连接:在所述第一通信模块的通信范围内未检测到所述公共终端,所述第一通信连接建立失败,以及,通过所述第一通信连接与所述公共终端转发报文失败。
本实施例中,共享终端中的电子设备除了可以包括能够与公共终端建立近程通信连接的第一通信模块外,还可以包括能够与服务终端建立远程通信连接的第二通信模块。当电子设备通过第一通信模块无法检测到能够与其建立第一通信连接的公共终端或无法检测到能够与服务终端建立第二通信连接的公共终端,或者在第一通信模块与公共终端建立第一通信连接的过程中,由于某种原因导致第一通信连接建立失败,或者在通过第一通信连接与服务终端建立第二通信连接的过程中,由于某种原因导致第二通信连接建立失败,则电子设备可以通过第二通信模块与服务终端建立第三通信连接,如远程通信连接,并可以通过该远程通信连接与服务终端进行通信。
本实施例提供的共享终端的通信方法,通过第二通信模块直接与服务终端建立通信连接,可以避免公共终端与共享终端之间的通信连接建立失败时,共享终端无法正常使用的问题。
可选的,所述近距离通信连接包括蓝牙连接、无线保真(WIreless FIdelity,WiFi)连接、紫蜂(ZigBee)连接中的任一种;所述远程通信连接包括移动通信连接、网络连接、有线连接中的任一种。
实施例四
图4是实施例四提供的一种公共终端的通信方法的流程图,该方法可以由公共终端的通信装置来执行,该装置可以由软件或硬件或其结合的方式实现,并可以集成于公共终端中。如图4所示,该方法包括以下步骤:
在S410中,通过第三通信模块与共享终端建立第一通信连接,所述第一通信连接为近距离通信连接。
本实施例中,共享终端的通信装置可以是公共终端。公共终端中可以包括 能够与共享终端的第一通信模块建立近距离通信连接的第三通信模块(即如前所述的公共终端中的第一通信模块),公共终端可以通过该第三通信模块与共享终端建立第一通信连接,通过该第一通信连接,公共终端可以与共享终端进行近距离信息交互。
本实施例中,公共终端可以是电子车桩、路灯、公交站牌、公园路标或智慧城市中其他任意一个固定装置,或者智慧城市中任意一个可移动的装置,例如公交车等等,共享终端可以是无桩自行车或无桩电动车等,共享终端中的电子设备可以是车载电子设备。对于电子车桩而言,其对应的共享终端可以是无桩自行车或无桩电动车等。
在S420中,通过第四通信模块与服务终端建立第二通信连接,所述第二通信连接为远程通信连接。
本实施例中,公共终端中除了可以包括能够与共享终端建立近距离通信连接的第三通信模块(即如前所述的公共终端中的第一通信模块)之外,还可以包括能够与服务终端建立远程通信连接的第四通信模块,该第四通信模块即为公共终端中的第二通信模块,服务终端中可以包括能够与公共终端建立远程通信连接的网络接口。通过第四通信模块和服务终端的网络接口,公共终端可以与服务终端建立第二通信连接,该第二通信连接可以为远程通信连接,通过第二通信连接,公共终端可以与服务终端进行远程信息交互。
在S430中,通过所述第一通信连接和所述第二通信连接转发所述共享终端和所述服务终端之间的通信报文。
本实施例中,公共终端可以与共享终端建立第一通信连接,与服务终端建立第二通信连接。其中,公共终端可以通过第一通信连接接收共享终端发送的通信报文,并通过第二通信连接将该通信报文发送至服务终端;或者公共终端可以通过第二通信连接接收服务终端发送的通信报文,并通过第一通信连接将该通信报文发送至共享终端,以实现共享终端与服务终端之间的信息交互。
其中,共享设备可以包括共享自行车或共享电动车等无桩单车,还可为其他用来资源共享的设备例如共享充电宝等;公共终端可以包括电子车桩、路灯、公交站牌、公园路标或智慧城市中某个固定装置或者可移动的装置等。本实施方式中的电子车桩可以为一种室外公共设备,其具体实现方式和结构可以与实施例一中所示的电子车桩类似,此处不再赘述。本实施方式中的服务终端可以为一种服务器,其具体实现方式和结构可以与实施例一中所示的服务终端类似, 此处不再赘述。
本实施例提供的公共终端的通信方法,通过公共终端与共享终端建立的近距离通信连接和公共终端与服务终端建立的远程通信连接,使共享终端间接与服务终端进行通信。在通信的过程中,共享终端可以不直接与服务终端进行远程通信连接,因此缩短了共享终端信息传输的距离,降低了共享终端的能耗。
实施例五
图5是实施例五提供的一种公共终端的通信方法的流程图,在本实施例中,通过所述第一通信连接和所述第二通信连接转发所述共享终端和所述服务终端之间的通信报文,可以包括:通过所述第一通信连接接收所述共享终端发送的上行信息;通过所述第二通信连接将所述上行信息发送给所述服务终端。如图5所示,该方法可以包括以下步骤:
在S510中,通过第三通信模块与共享终端建立第一通信连接,所述第一通信连接为近距离通信连接。
在S520中,通过第四通信模块与服务终端建立第二通信连接,所述第二通信连接为远程通信连接。
在S530中,通过所述第一通信连接接收所述共享终端发送的上行信息。
在S540中,通过所述第二通信连接将所述上行信息发送给所述服务终端。
本实施例中,公共终端通过第一通信连接接收到的共享终端发送的上行信息,可以用于使服务终端依据该上行信息执行相应操作。公共终端在接收到共享终端发送的上行信息后,可以通过第二通信连接将该上行信息发送至服务终端,以使服务终端可以根据该上行信息执行相应的操作。其中,上行信息可以是闭锁信息等。
以公共终端为电子车桩、共享终端为无桩单车,下行信息为解锁指令为例,对上述步骤进行说明:
电子车桩可以通过电子车桩内配置的第一通信模块与无桩单车的电子设备建立第一通信连接,并可以通过电子车桩内配置的第二通信模块与服务终端建立第二通信连接。电子车桩可以通过与无桩单车建立的第一通信连接接收无桩单车发送的闭锁信息,该闭锁信息可以是当检测到无桩单车的锁定装置执行闭锁动作时,电子设备通过第一通信连接发送的。电子车桩接收到电子设备发送的闭锁信息后,可以通过第二通信连接将该闭锁信息发送给服务终端,以使服 务终端获知无桩单车的当次行程已经结束,以便结束本次计费操作。
本实施例提供的公共终端的通信方法,通过公共终端与共享终端建立的近距离通信连接和公共终端与服务终端建立的远程通信连接,使共享终端间接向服务终端发送上行信息,以使服务终端执行相应操作。在进行上行信息传递的过程中,共享终端可以不直接与服务终端进行远程通信连接,因此缩短了共享终端信息传输的距离,降低了共享终端的能耗。
可选的,在公共终端通过所述第二通信连接将所述上行信息发送给所述服务终端之后,还可以包括,通过所述第二通信连接接收所述服务终端发送的上行响应信息,或者,根据所述上行信息生成上行响应信息;通过所述第一通信连接将所述上行响应信息发送给所述共享终端。
本实施例中,在公共终端通过第二通信连接将共享终端发送的上行信息发送给服务终端后,服务终端可以根据该上行信息生成上行响应信息并发送给公共终端,或者,公共终端可以根据该上行信息生成上行响应信息。公共终端还可以通过第一通信连接将服务终端发送的或公共终端生成的上行响应信息发送给共享终端,以使共享终端根据该上行响应信息执行相应动作。其中,上行信息可以为报告类信息,例如震动事件报告、故障类信息报告、低电量信息报告、位置上报等,除此之外,上行信息还可为心跳信息。
在其他实施方式中,上行信息还可以是回复信息,其中,回复信息可以为服务终端对共享终端进行查询信息的回复,查询信息可以为位置信息查询、电量查询、配置类信息查询等等。
本实施例提供的公共终端的通信法,通过公共终端与共享终端建立的近距离通信连接和公共终端与服务终端建立的远程通信连接,使共享终端间接向服务终端发送上行信息并接收服务终端发送的上行响应信息。在进行上行信息和上行响应信息传递的过程中,共享终端可以不直接与服务终端进行远程通信连接,因此缩短了共享终端信息传输的距离,降低了共享终端的能耗。
实施例六
图6是实施例六提供的一种公共终端的通信方法的流程图。在本实施例中,通过所述第一通信连接和所述第二通信连接转发所述共享终端和所述服务终端之间的通信报文,可以包括:通过所述第二通信连接接收所述服务终端发送的下行信息;通过所述第一通信连接将所述下行信息发送给所述共享终端。如图6 所示,该方法包括如下步骤:
在S610中,通过第四通信模块与服务终端建立第二通信连接,所述第二通信连接为远程通信连接。
在S620中,通过所述第二通信连接接收所述服务终端发送的下行信息。
在S630中,通过第三通信模块与共享终端建立第一通信连接,所述第一通信连接为近距离通信连接。
在S640中,通过所述第一通信连接将所述下行信息发送给所述共享终端。
本实施例中,公共终端通过第二通信连接接收到的服务终端发送的下行信息,可以用于对共享终端进行控制或管理或二者的结合。公共终端在接收到服务终端发送的下行信息后,可以通过第一通信连接将该下行信息发送至共享终端,以使共享终端可以根据该下行信息执行相应的动作。其中,下行信息可以是解锁指令、对共享终端中的硬件(例如GPS模块、音频模块、加速度传感器、电池模块等)进行配置的信息、广告投放信息等。
以公共终端为电子车桩、共享终端为无桩单车,下行信息为解锁指令为例,对上述步骤进行说明:
电子车桩可以通过第三通信模块与无桩单车的电子设备建立第一通信连接,并可以通过第四通信模块与服务终端建立第二通信连接。电子车桩可以通过与服务终端建立的第二通信连接接收服务终端发送的解锁指令,该解锁指令可以是当用户有用车需求时,用户通过用户终端向服务终端发送的对想要使用的目标无桩单车的解锁请求,服务终端接收到解锁请求后,可以生成的针对目标无桩单车的解锁指令。电子车桩接收到服务终端发送的解锁指令后,可以通过第一通信连接将该解锁指令发送给无桩单车的电子设备,以使无桩单车的锁定装置执行解锁动作,以便用户使用。
本实施例提供的公共终端的通信方法,通过公共终端与共享终端建立的近距离通信连接和公共终端与服务终端建立的远程通信连接,使共享终端间接接收服务终端发送的下行信息。在进行下行信息传递的过程中,共享终端可以不直接与服务终端进行远程通信连接,因此缩短了共享终端信息传输的距离,降低了共享终端的能耗。
可选的,所述近距离通信连接包括蓝牙连接、无线保真WiFi连接、紫蜂ZigBee连接中的任一种;所述远程通信连接包括移动通信连接、网络连接、有线连接中的任一种。
实施例七
图7a、7b分别是实施例七提供的共享终端的通信方法的流程图。该方法可以由共享终端的通信装置来执行,该装置可以采用软件或硬件或其结合的方式实现。
图7a是实施例七提供的一种共享终端的通信方法的流程图。如图7a所示,当服务终端需要向共享终端发送下行信息时,该方法包括以下步骤:
在S710中,公共终端与服务终端建立第二通信连接。
在S720中,服务终端通过所述第二通信连接向所述公共终端发送下行信息。
在S730中,共享终端与所述公共终端建立第一通信连接。
在S740中,公共终端通过所述第一通信连接将所述下行信息发送给所述共享终端。
图7b是实施例七提供的一种共享终端的通信方法的流程图。如图7b所示,当共享终端需要向服务终端发送上行信息时,该方法可以包括以下步骤:
在S750中,共享终端与公共终端建立第一通信连接。
在S760中,共享终端通过所述第一通信连接向所述公共终端发送上行信息。
在S770中,公共终端与服务终端建立第二通信连接。
在S780中,公共终端通过所述第二通信连接将所述上行信息发送给所述服务终端。
上述共享终端的通信过程可以为:首先,共享终端通过公共终端与服务终端建立通信连接;然后,共享终端通过公共终端将上行信息发送至服务终端。
上述各方法中,步骤S750和S770是共享终端通过公共终端与服务终端建立通信连接的过程,第一通信连接可以为近距离通信连接,第二通信连接可以为远程通信连接。
本实施例提供的共享终端的通信方法,共享终端通过公共终端间接与服务终端进行信息交互。在通信的过程中,共享终端中的电子设备可以不直接与服务终端进行远程通信连接,因此缩短了共享终端信息传输的距离,降低了共享终端的能耗。
实施例八
图8是本实施例八提供的一种共享终端的通信装置的结构示意图,本实施 例的共享终端的通信装置配置于共享终端,可以用于与公共终端进行近距离通信的情况。如图8所示,该装置包括:
第一通信模块810,所述第一通信模块810包括:
第一控制模块811,设置为与公共终端建立第一通信连接,所述第一通信连接为近距离通信连接;
第一收发模块812,设置为当所述第一通信连接建立完成后通过所述第一通信连接与所述公共终端通信,并通过所述公共终端转发所述共享终端和服务终端之间的通信报文,其中,所述公共终端与所述服务终端通过第二通信连接通信,所述第二通信连接为远程通信连接。
本实施例提供的共享终端的通信装置,通过共享终端与公共终端建立的近距离通信连接,间接与服务终端进行通信。在通信的过程中,共享终端可以不直接与服务终端进行远程通信连接,因此缩短了共享终端信息传输的距离,降低了共享终端的能耗。
可选的,所述第一收发模块812可以设置为:通过所述第一通信连接向所述公共终端发送上行信息,以使所述公共终端通过所述第二通信连接将所述上行信息发送给所述服务终端。
所述第一收发模块812还可以设置为:通过所述第一通信连接接收所述公共终端通过所述第二通信连接从所述服务器端接收到的下行信息。
所述第一收发模块812还可以设置为:通过所述第一通信连接接收所述公共终端发送的上行响应信息;或者,通过所述第一通信连接接收所述公共终端通过所述第二通信连接从所述服务终端接收到的上行响应信息。
可选的,所述第一通信模块还可以包括检测模块813,所述检测模块813可以设置为:在所述通过第一通信模块与公共终端建立第一通信连接之后,在所述第一通信模块的通信范围内检测所述公共终端;
所述装置还可以包括第二通信模块820,所述第二通信模块820可以设置为:在检测结果为以下之一时,与所述服务终端建立第三通信连接,所述第三通信连接为远程通信连接:在所述第一通信模块的通信范围内未检测到所述公共终端、所述第一通信模块与所述公共终端之间的第一通信连接建立失败、以及通过所述公共终端转发报文失败。
可选的,所述近距离通信连接包括蓝牙连接、无线保真WiFi连接、紫蜂ZigBee连接中的任一种;所述远程通信连接包括移动通信连接、网络连接、有 线连接中的任一种。
本实施例所提供的配置于共享终端的共享终端的通信装置可执行本发明实施任意实施例所提供的应用于共享终端的共享终端的通信方法,具备执行方法相应的功能模块和有益效果。
实施例九
图9是实施例九提供的一种公共终端的通信装置的结构示意图,本实施例的公共终端的通信装置配置于公共终端,可以用于分别与共享终端进行近距离通信和与服务终端进行远程通信的情况。如图9所示,该装置包括:
第三通信模块910,设置为与共享终端建立第一通信连接,所述第一通信连接为近距离通信连接。
第四通信模块920,设置为与服务终端建立第二通信连接,所述第二通信连接为远程通信连接。
第三通信模块910和第四通信模块920,还设置为通过第一通信连接和第二通信连接转发共享终端和服务终端之间的通信报文。
本实施例提供的公共终端的通信装置,通过公共终端与共享终端建立的近距离通信连接和公共终端与服务终端建立的远程通信连接,使共享终端间接与服务终端进行通信。在通信的过程中,共享终端可以不直接与服务终端进行远程通信连接,因此缩短了共享终端信息传输的距离,降低了共享终端的能耗。
可选的,所述第三通信模块910可以设置为:通过所述第一通信连接接收所述共享终端发送的上行信息;所述第二通信模块920可以设置为:通过所述第二通信连接将所述上行信息发送给所述服务终端
可选的,所述第四通信模块920还可以设置为:通过所述第二通信连接接收所述服务终端发送的下行信息;以及,所述第三通信模块910还可以设置为:通过所述第一通信连接将所述下行信息发送给所述共享终端。
可选的,所述第四通信模块920还可以设置为:通过所述第二通信连接接收所述服务终端发送的上行响应信息,或者,根据所述上行信息生成上行响应信息;以及,所述第三通信模块910还可以设置为:通过所述第一通信连接将所述上行响应信息发送给所述共享终端。
举例而言,本实施例中,公共终端中的第三通信模块还可以包括第三收发模块,其中,第三收发模块具体用于:
通过第一通信连接接收共享终端发送的上行信息;或
通过第一通信连接向共享终端发送下行信息;或
通过第一通信连接向共享终端发送上行响应信息。
进一步的,第四通信模块还可以包括第四收发模块,其中,第四收发模块具体用于:
通过第二通信连接向服务终端发送上行信息;或
通过第二通信连接接收服务终端发送的下行信息;或
通过第二通信连接接收服务终端发送的上行响应信息。
可选的,所述近距离通信连接包括蓝牙连接、无线保真WiFi连接、紫蜂ZigBee连接中的任一种;所述远程通信连接包括移动通信连接、网络连接、有线连接中的任一种。
本实施例所提供的配置于公共终端的共享终端的通信装置可执行本发明实施任意实施例所提供的应用于公共终端的共享终端的通信方法,具备执行方法相应的功能模块和有益效果。
实施例十
图10是实施例十提供的一种共享终端的通信***的结构示意图,如图10所示,该***包括:
共享终端1010、公共终端1020和服务终端1030,其中,
共享终端1010可以包括本发明实施例所述的共享终端的通信装置1011。
公共终端1020可以包括本发明实施例所述的公共终端的通信装置1021。
服务终端1030可以设置为对共享终端1010进行控制或管理或二者的结合。
本实施例还提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述任一项所述的方法。
实施例十一
图11为实施例十一提供的一种共享终端的硬件结构示意图。本实施例提供的共享终端可以是包括:处理器(processor)1101和存储器(memory)1102,还可以包括近距离通信模块1103、远距离通信模块1104、GPS模块1105和显示模块1106。其中,近距离通信模块1103和远距离通信模块1104可以用于信息传输;处理器1101可以调用存储器1102中的逻辑指令,以执行上述实施例的共享终 端的通信方法。所述近距离通信模块1103可以是蓝牙模块、无线保真WiFi模块和紫蜂ZigBee模块中的至少一种,所述远距离通信模块1204可以是移动通信模块、网络模块和有线模块中的任一种。
此外,上述的存储器1102中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,RandomAccess Memory)、磁碟或者光盘等各种可以存储程序代码的介质,也可以是暂态存储介质。
实施例十二
图12为实施例十二提供的一种公共终端的硬件结构示意图。本实施例提供的公共终端可以是包括:处理器(processor)1201和存储器(memory)1202,还可以包括近距离通信模块1203、远距离通信模块1204、GPS模块1205和显示模块1206。其中,近距离通信模块1203和远距离通信模块1204可以用于信息传输;处理器1201可以调用存储器1202中的逻辑指令,以执行上述实施例的公共终端的通信方法。所述近距离通信模块1203可以是蓝牙模块、无线保真WiFi模块和紫蜂ZigBee模块中的至少一种,所述远距离通信模块1204可以是移动通信模块、网络模块和有线模块中的任一种。
此外,上述的存储器1202中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,RandomAccess Memory)、磁碟或者光盘等各种可以存储程序代码的介质,也可以是暂态存储介质。
工业实用性
本实施例提供的共享终端的通信方法,共享终端通过与公共终端建立的近距离通信连接间接与服务终端进行通信,在通信的过程中,共享终端中的电子设备可以不直接与服务终端进行远程通信连接,因此缩短了共享终端信息传输的距离,降低了共享终端的能耗。

Claims (19)

  1. 一种共享终端的通信方法,包括:
    通过第一通信模块与公共终端建立第一通信连接,所述第一通信连接为近距离通信连接;
    当所述第一通信连接建立完成后,通过所述第一通信连接与所述公共终端通信,并通过所述公共终端转发所述共享终端和服务终端之间的通信报文,其中,所述公共终端与所述服务终端通过第二通信连接通信,所述第二通信连接为远程通信连接。
  2. 根据权利要求1所述的方法,其中,所述通过所述第一通信连接与所述公共终端通信,并通过所述公共终端转发所述共享终端和服务终端之间的通信报文包括:
    通过所述第一通信连接向所述公共终端发送上行信息,并通过所述公共终端和所述第二通信连接将所述上行信息发送给所述服务终端。
  3. 根据权利要求1或2所述的方法,其中,所述通过所述第一通信连接与所述公共终端通信,并通过所述公共终端转发共享终端和服务终端之间的通信报文包括:
    通过所述第一通信连接接收所述公共终端通过所述第二通信连接从所述服务终端接收到的下行信息。
  4. 根据权利要求2所述的方法,其中,所述通过所述第一通信连接向所述公共终端发送上行信息之后,所述方法还包括:
    通过所述第一通信连接接收所述公共终端发送的上行响应信息;或者,
    通过所述第一通信连接接收所述公共终端通过所述第二通信连接从所述服务终端接收到的上行响应信息。
  5. 根据权利要求1所述的方法,其中,所述通过第一通信模块与公共终端建立第一通信连接之后,所述方法还包括:
    通过所述第一通信模块在所述第一通信模块的通信范围内检测所述公共终端;
    在检测结果为以下之一时,通过第二通信模块与所述服务终端建立第三通信连接,所述第三通信连接为远程通信连接:
    在所述第一通信模块的通信范围内未检测到所述公共终端,
    所述第一通信连接建立失败,以及,
    通过所述第一通信连接与所述公共终端转发报文失败。
  6. 根据权利要求1~5任一项所述的方法,其中,所述近距离通信连接包括蓝牙连接、无线保真WiFi连接、以及紫蜂ZigBee连接中的任一种。
  7. 一种公共终端的通信方法,包括:
    通过第一通信模块与共享终端建立第一通信连接,所述第一通信连接为近距离通信连接;
    通过第二通信模块与服务终端建立第二通信连接,所述第二通信连接为远程通信连接;
    通过所述第一通信连接和所述第二通信连接转发所述共享终端和所述服务终端之间的通信报文。
  8. 根据权利要求7所述的方法,其中,所述通过所述第一通信连接和所述第二通信连接转发所述共享终端和所述服务终端之间的通信报文,包括:
    通过所述第一通信连接接收所述共享终端发送的上行信息;
    通过所述第二通信连接将所述上行信息发送给所述服务终端。
  9. 根据权利要求7或8所述的方法,其中,所述通过所述第一通信连接和所述第二通信连接转发所述共享终端和所述服务终端之间的通信报文,包括:
    通过所述第二通信连接接收所述服务终端发送的下行信息;
    通过所述第一通信连接将所述下行信息发送给所述共享终端。
  10. 根据权利要求8所述的方法,其中,所述通过所述第二通信连接将所述上行信息发送给所述服务终端之后,所述方法还包括:
    通过所述第二通信连接接收所述服务终端发送的上行响应信息,或者,根据所述上行信息生成上行响应信息;
    通过所述第一通信连接将所述上行响应信息发送给所述共享终端。
  11. 一种共享终端的通信装置,包括:第一通信模块,所述第一通信模块包括:
    第一控制模块,设置为与公共终端建立第一通信连接,所述第一通信连接为近距离通信连接;
    第一收发模块,设置为当所述第一通信连接建立完成后通过所述第一通信连接与所述公共终端通信,并通过所述公共终端转发所述共享终端和服务终端之间的通信报文,其中,所述公共终端与所述服务终端通过第二通信连接通信,所述第二通信连接为远程通信连接。
  12. 根据权利要求11所述的装置,其中,所述第一收发模块是设置为:
    通过所述第一通信连接向所述公共终端发送上行信息,以使所述公共终端通过所述第二通信连接将所述上行信息发送给所述服务终端;
    通过所述第一通信连接接收所述公共终端通过所述第二通信连接从所述服务器端接收到的下行信息。
  13. 根据权利要求12所述的装置,其中,所述第一收发模块还设置为:
    在通过所述第一通信连接向所述公共终端发送上行信息之后,通过所述第一通信连接接收所述公共终端发送的上行响应信息;或者,通过所述第一通信连接接收所述公共终端通过所述第二通信连接从所述服务终端接收到的上行响应信息。
  14. 根据权利要求11所述的装置,其中,所述第一通信模块还包括检测模块,所述检测模块设置为:
    在所述通过第一通信模块与公共终端建立第一通信连接之后,在所述第一通信模块的通信范围内检测所述公共终端;
    所述装置还包括第二通信模块,所述第二通信模块设置为:在检测结果为以下之一时,与所述服务终端建立第三通信连接,所述第三通信连接为远程通信连接:
    在所述第一通信模块的通信范围内未检测到所述公共终端、所述第一通信模块与所述公共终端之间的第一通信连接建立失败、以及通过所述公共终端转发报文失败。
  15. 一种公共终端的通信装置,包括:
    第一通信模块,设置为与共享终端建立第一通信连接,所述第一通信连接 为近距离通信连接;
    第二通信模块,设置为与服务终端建立第二通信连接,所述第二通信连接为远程通信连接;
    所述第一通信模块和所述第二通信模块,还设置为通过所述第一通信连接和所述第二通信连接转发所述共享终端和所述服务终端之间的通信报文。
  16. 根据权利要求15所述的装置,其中,所述第一通信模块是设置为:通过所述第一通信连接接收所述共享终端发送的上行信息;以及,所述第二通信模块是设置为:通过所述第二通信连接将所述上行信息发送给所述服务终端;所述第二通信模块还设置为:通过所述第二通信连接接收所述服务终端发送的下行信息;以及,所述第一通信模块还设置为:通过所述第一通信连接将所述下行信息发送给所述共享终端。
  17. 一种共享终端,所述共享终端包括权利要求11~14任一项所述的共享终端的通信装置。
  18. 一种公共终端,所述公共终端包括权利要求15~16任一项所述的公共终端的通信装置。
  19. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行权利要求1~10任一项所述的方法。
PCT/CN2017/117185 2017-09-30 2017-12-19 共享终端的通信方法、装置及共享终端 WO2019061878A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/109076 WO2019063011A1 (zh) 2017-09-30 2018-09-30 共享设备的组网***及方法

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710940352.9 2017-09-30
CN201710940352.9A CN107682846A (zh) 2017-09-30 2017-09-30 一种共享终端管理方法、装置、共享终端及管理***

Publications (1)

Publication Number Publication Date
WO2019061878A1 true WO2019061878A1 (zh) 2019-04-04

Family

ID=61140233

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/117185 WO2019061878A1 (zh) 2017-09-30 2017-12-19 共享终端的通信方法、装置及共享终端

Country Status (2)

Country Link
CN (1) CN107682846A (zh)
WO (1) WO2019061878A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019063011A1 (zh) * 2017-09-30 2019-04-04 柠创控股有限公司 共享设备的组网***及方法
CN112291048B (zh) * 2020-12-29 2021-04-13 中天众达智慧城市科技有限公司 城市大脑***中的管理数据发送方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015169005A1 (zh) * 2014-05-05 2015-11-12 中兴通讯股份有限公司 共享屏幕和操作控制的方法、***和主共享端
CN105493527A (zh) * 2015-05-04 2016-04-13 北京合智源科技开发有限责任公司 无线通信设备和无线通信方法
CN107046678A (zh) * 2017-04-17 2017-08-15 杭州纳戒科技有限公司 共享单车交互方法以及***
CN107093158A (zh) * 2017-02-28 2017-08-25 成都西谷曙光数字技术有限公司 一种基于IoT技术的城市共享单车智能管理***和方法

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204850628U (zh) * 2015-08-18 2015-12-09 北京电庄科技有限公司 一种具有预约功能的智能车位锁
CN106781616B (zh) * 2017-03-21 2019-03-29 上海智向信息科技有限公司 共享自行车区域停车定位***
CN106992566A (zh) * 2017-04-26 2017-07-28 安徽理工大学 一种用于共享电动单车的充电桩及其接口

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015169005A1 (zh) * 2014-05-05 2015-11-12 中兴通讯股份有限公司 共享屏幕和操作控制的方法、***和主共享端
CN105493527A (zh) * 2015-05-04 2016-04-13 北京合智源科技开发有限责任公司 无线通信设备和无线通信方法
CN107093158A (zh) * 2017-02-28 2017-08-25 成都西谷曙光数字技术有限公司 一种基于IoT技术的城市共享单车智能管理***和方法
CN107046678A (zh) * 2017-04-17 2017-08-15 杭州纳戒科技有限公司 共享单车交互方法以及***

Also Published As

Publication number Publication date
CN107682846A (zh) 2018-02-09

Similar Documents

Publication Publication Date Title
CN108156231B (zh) 故障车辆与服务器通信的方法、车辆和服务器
WO2016197943A1 (zh) 自行车管理***及其控制方法和装置
US10514468B2 (en) Vehicle positioning method and system
US11323850B2 (en) Vehicle-to-everything communication solution
EP3393146A1 (en) Shared vehicle positioning method and apparatus and terminal device
WO2018196239A1 (zh) 用于多个车辆的通信方法、车辆及服务器
US9886813B2 (en) Providing multimedia contents to user equipment associated with electric vehicle
CN107117230A (zh) 一种规范共享单车停放地点的无线车桩***
KR20130006949A (ko) 전기자동차 충전 방법
CN104247551B (zh) 用于基本服务集关联的***和方法
WO2019061877A1 (zh) 共享设备、服务终端、共享设备的组网***及方法
CN107666475A (zh) 一种充电宝租赁***及其租赁方法
CN102113352A (zh) 移动通信节点之间的内容发现和传送
WO2014059813A1 (zh) 数据传输方法及终端设备
US8631232B2 (en) Wireless personal area network accessing method
CN103701506B (zh) 一种基于nfc和蓝牙融合的电子书报亭装置及实现方法
CN106657397A (zh) 一种基于mqtt协议的车联网
CN105916100A (zh) 代理心跳包的方法、装置和通信***
Zhou et al. Arve: Augmented reality applications in vehicle to edge networks
JP2016025463A (ja) 無線通信システムにおける通信方法、無線通信システム、無線接続提供装置、および無線通信装置
US20200276958A1 (en) Method of bicycle parking management and a system of bicycle parking management
WO2019061878A1 (zh) 共享终端的通信方法、装置及共享终端
CN107749885A (zh) 智能设备远程密码管理方法及Lora智能设备联网***
CN114556861A (zh) 设备身份的匿名化和随机化
CN107077306B (zh) 打印设备发现

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17926885

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 16/09/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17926885

Country of ref document: EP

Kind code of ref document: A1