WO2019061878A1 - Shared terminal communication method and device and shared terminal - Google Patents

Shared terminal communication method and device and shared terminal 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
French (fr)
Chinese (zh)
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/en
Publication of WO2019061878A1 publication Critical patent/WO2019061878A1/en

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

Disclosed in the present disclosure are a shared terminal communication method and device, and a shared terminal, the shared terminal communication method comprises: establishing a first communication connection to a shared terminal by means of a first communication module, the first communication connection being a short-range communication connection; after the first communication connection is established, communicating with the shared terminal by means of the first communication connection, and forwarding a communication message between the shared terminal and a service terminal by means of the shared terminal, wherein the shared terminal communicates with the service terminal by means of a second communication connection, and the second communication connection is a remote communication connection.

Description

共享终端的通信方法、装置及共享终端Communication method, device and sharing terminal of shared terminal 技术领域Technical field
本公开涉及共享终端技术领域,例如涉及一种共享终端的通信方法、装置及共享终端。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.
背景技术Background technique
为了方便人们的日常生活,很多公共场所都设置了共享终端,比如无桩单车。无桩单车使用便捷,能有效解决短距离的出行问题,不仅能够在一定程度上缓解交通压力,而且其绿色节能,能有效减少碳排量同时还可以促使用户锻炼身体。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. However, 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.
发明内容Summary of the invention
本发明实施例提供了一种共享终端的通信方法、装置及共享终端,能够缩短共享终端信息传输的距离,降低共享终端的功耗。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:
通过第一通信模块与公共终端建立第一通信连接,所述第一通信连接为近距离通信连接;Establishing a first communication connection with the public terminal by using the first communication module, where the first communication connection is a short-range communication connection;
当所述第一通信连接建立完成后,通过所述第一通信连接与所述公共终端通信,并通过所述公共终端转发共享终端和服务终端之间的通信报文,其中,所述公共终端与所述服务终端通过第二通信连接通信,所述第二通信连接为远程通信连接。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:
通过第一通信模块与共享终端建立第一通信连接,所述第一通信连接为近距离通信连接; Establishing a first communication connection with the shared terminal by using the first communication module, where the first communication connection is a short-range communication connection;
通过第二通信模块与服务终端建立第二通信连接,所述第二通信连接为远程通信连接;Establishing a second communication connection with the service terminal by using the second communication module, where the second communication connection is a remote communication connection;
通过所述第一通信连接和所述第二通信连接转发所述共享终端和所述服务终端之间的通信报文。Transmitting, by the first communication connection and the second communication connection, a communication message between the shared terminal and the service terminal.
本发明实施例还提供了一种共享终端的通信装置,该装置包括:第一通信模块,所述第一通信模块包括: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 method of the shared terminal, the communication method, the device, the shared terminal, the public terminal, and the storage medium provided by the embodiment of the present invention, the short-distance communication connection established by the shared terminal with the public terminal, and the remote terminal established by the public terminal and the service terminal The communication connection, the shared terminal can communicate indirectly with the service terminal. In the communication process, 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.
附图概述BRIEF abstract
图1是实施例一中的一种共享终端的通信方法的流程图;1 is a flowchart of a communication method of a shared terminal in Embodiment 1;
图2是实施例二中的一种共享终端的通信方法的流程图;2 is a flowchart of a communication method of a shared terminal in Embodiment 2;
图3是实施例三中的一种共享终端的通信方法的流程图;3 is a flowchart of a communication method of a shared terminal in Embodiment 3;
图4是实施例四中的一种公共终端的通信方法的流程图;4 is a flowchart of a communication method of a public terminal in Embodiment 4;
图5是实施例五中的一种公共终端的通信方法的流程图;5 is a flowchart of a communication method of a public terminal in Embodiment 5;
图6是实施例六中的一种公共终端的通信方法的流程图;6 is a flowchart of a communication method of a public terminal in Embodiment 6;
图7a是实施例七中的一种共享终端的通信方法的流程图;7a is a flowchart of a communication method of a shared terminal in Embodiment 7;
图7b是实施例七中的另一种共享终端的通信方法的流程图;7b is a flowchart of another communication method of a shared terminal in Embodiment 7;
图8是实施例八中的一种共享终端的通信装置的结构示意图;8 is a schematic structural diagram of a communication device of a shared terminal in Embodiment 8;
图9是实施例九中的一种公共终端的通信装置的结构示意图;9 is a schematic structural diagram of a communication apparatus of a public terminal in Embodiment 9;
图10是实施例十中的一种共享终端通信系统的结构示意图;10 is a schematic structural diagram of a shared terminal communication system in Embodiment 10;
图11是实施例十一中的一种共享终端的硬件结构示意图;11 is a schematic structural diagram of hardware of a shared terminal in Embodiment 11;
图12是实施例十二中的一种公共终端的硬件结构示意图。FIG. 12 is a schematic diagram showing the hardware structure of a public terminal in Embodiment 12.
具体实施方式Detailed ways
实施例一Embodiment 1
图1是实施例一提供的一种共享终端的通信方法的流程图,该方法适用于在共享终端与服务终端通信的过程中,共享终端中的电子设备需要降低功耗的情况,该方法可以由共享终端的通信装置来执行,该装置可以由软件或硬件或其结合的方式实现,并可以集成于共享终端中。如图1所示,该方法包括以下步骤。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.
在S110中,通过第一通信模块与公共终端建立第一通信连接,所述第一通 信连接为近距离通信连接。In S110, establishing a first communication connection with the public terminal by using the first communication module, the first communication The letter connection 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. When the power consumption of the communication module is large, the power supply battery needs to continuously perform charging and discharging operations. However, frequent charging and discharging can seriously affect the life of the power supply battery. Once the power supply battery has a problem, 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.
本实施例中,共享终端的通信装置可以是共享终端中的电子设备,该电子设备可以包括能够与公共终端建立近距离通信连接的共享终端的第一通信模块,相应的,公共终端中可以包括能够与电子设备建立近距离通信连接的第三通信模块,该第三通信模块即为公共终端中的第一通信模块。电子设备可以通过共享终端的第一通信模块与公共终端中的第三通信模块建立第一通信连接,该第一通信连接可以为近距离通信连接,通过该第一通信连接,电子设备和公共终端可以进行信息交互。In this embodiment, 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.
本实施例中,共享终端可以是无桩单车,例如无桩自行车或无桩电动车等。共享终端中的电子设备可以是车载电子设备,所述车载电子设备可以与无桩单车的锁集成在一起配置于无桩单车上,也可以与锁分开配置于无桩单车上。公共终端可以是电子车桩、路灯、公交站牌、公园路标或智慧城市中任意一个固定或者可移动的装置,对于无桩自行车或无桩电动车而言,其对应的公共终端可以是电子车桩。In this embodiment, 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. For a pileless bicycle or a pileless electric vehicle, the corresponding public terminal may be an electronic vehicle. pile.
本实施例中的电子车桩可以为一种室外公共设备,如可以为一种基于电子识别的停车区域。在公共场所配备电子车桩是一种对目前无桩单车进行规范管理的一项举措之一。由于电子车桩为固定装置,其可以配备稳定充足的电力, 例如由市电供电,或者太阳能供电等。由于电子车桩为固定装置,电子车桩的功能模块与无桩单车内的功能模块可以类似,例如具备近距离通讯模块、远距离通信模块、全球定位系统(Global Positioning System,GPS)定位模块等。电子车桩的通信功能较无桩单车的通信功能稳定,可以使无桩单车的远距离通信得到保障。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.
在S120中,当所述第一通信连接建立完成后,通过所述第一通信连接与所述公共终端通信,并通过所述公共终端转发共享终端和服务终端之间的通信报文,其中,所述公共终端与所述服务终端通过第二通信连接通信,所述第二通信连接为远程通信连接。In S120, after the first communication connection is established, 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.
本实施例中,共享终端中的电子设备可以通过与公共终端之间的第一通信连接与服务终端建立间接通信。其中,公共终端与服务终端之间的连接可以为第二通信连接,并且第二通信连接可以为远程通信连接。即电子设备与公共终端可以建立近距离通信连接,公共终端与服务终端可以建立远程通信连接。公共终端作为电子设备与服务终端之间的转发设备,可以通过下述至少一种方式转发电子设备与服务终端之间的通信报文:通过第一通信连接转发包括服务终端向电子设备发送的信息的通信报文,以及,通过第二通信连接转发包括电子设备向服务终端发送的信息的通信报文。其中,服务终端向电子设备发送的信息可以是对共享终端进行控制或管理或二者的结合时对应的信息。In this embodiment, 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. As a forwarding device between the electronic device and the service terminal, 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. The service terminal that manages the geographical location information of the terminal, performs data management on the advertisement information of the shared terminal, and performs charging data management for the user's riding; or may be a server that processes the integrated service.
服务终端可以被理解为提供处理、数据库、通讯设施等的业务点。举例而言,服务终端可以指具有相关通信、数据存储和数据库设施等的单个的物理处理器,或者,也可以指联网或集聚的处理器、相关网络和存储设备等的集合体,并且可以对软件、一个或多个数据库系统和支持服务器所提供的服务的应用软件进行操作。服务终端可以在配置或性能上差异很大,但是服务终端可以包括一个或多个中央处理单元和存储器。服务终端还可以包括一个或多个大容量存储设备、一个或多个电源、一个或多个有线或无线网络接口、一个或多个输入/输出接口、或一个或多个操作系统,诸如,视窗服务系统(Windows Server)、 苹果操作系统(Macintosh Operating System X,Mac OS X)、尤尼斯操作系统(Unix)、Linux、开源的伯克利软件套件(Free Berkeley Software Distribution,FreeBSD),等等。服务终端还可以是整体式服务器或是跨多计算机或计算机数据中心的分散式服务器。服务终端可以是各种类型的,例如但不限于,网络服务器,新闻服务器,邮件服务器,消息服务器,广告服务器,文件服务器,应用服务器,交互服务器,数据库服务器或代理服务器等。在一些实施例中,每个服务器可以包括硬件、软件、用于执行服务终端所支持或实现的合适功能的内嵌逻辑组件或两个或多个此类组件的组合。在本发明实施例中,服务终端可以设置为提供支持共享设备终端通信所必需的全部功能。A service terminal can be understood as a service point that provides processing, databases, communication facilities, and the like. For example, 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. Service system (Windows Server), Apple operating system (Macintosh Operating System X, Mac OS X), Eunice operating system (Unix), Linux, open source Berkeley Software Distribution (FreeBSD), and so on. 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. In some embodiments, 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. In an embodiment of the invention, 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 provided in this embodiment communicates with the service terminal indirectly through the short-distance communication connection established between the shared terminal and the public terminal. In the process of communication, 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.
本实施方式中,所述共享终的通信方法可以发生在无桩单车位于电子车桩区域内,且无桩单车闭锁动作之后。在其他实施方式中,该共享终端的通信方法也可以出现在无桩单车未处于电子车桩区域,或者无桩单车处于开锁的状态下。In this embodiment, 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. In other embodiments, 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.
实施例二Embodiment 2
图2是实施例二提供的一种共享终端的通信方法的流程图。在本实施例中,通过所述第一通信连接与所述公共终端通信,并通过所述公共终端转发所述共享终端和服务终端之间的通信报文,可以包括:通过所述第一通信连接向所述公共终端发送上行信息,并通过所述公共终端和所述第二通信连接将所述上行信息发送给所述服务终端。如图2所示,该方法包括以下步骤:2 is a flowchart of a communication method of a shared terminal according to Embodiment 2. In this embodiment, 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. As shown in FIG. 2, the method includes the following steps:
在S210中,通过第一通信模块与公共终端建立第一通信连接,所述第一通信连接为近距离通信连接。In S210, 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.
在S220中,通过所述第一通信连接向所述公共终端发送上行信息,并通过所述公共终端和所述第二通信连接将所述上行信息发送给所述服务终端。In S220, 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.
本实施例中,共享终端中的电子设备在向服务终端发送上行信息的过程中,可以通过与公共终端建立的第一通信连接将上行信息发送给公共终端,公共终端在接收到上行信息后,可以通过与服务终端建立的第二通信连接将上行信息 发送给服务终端。In this embodiment, 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.
本实施例中,所述共享终端可以为无桩单车,所述公共终端为可以电子车桩。共享终端中的电子设备通过第一通信连接向公共终端发送的上行信息可以是闭锁信息,当无桩单车的锁定装置执行闭锁动作时,无桩单车的电子设备可以通过第一通信连接将闭锁信息发送至电子车桩,电子车桩再通过第二通信连接将闭锁信息发送至服务终端,以使服务终端获知无桩单车的当次行程已经结束,以结束本次计费操作。In this embodiment, the shared terminal may be a pileless bicycle, and 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. When the locking device of the pileless bicycle performs the blocking action, 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.
本实施例提供的共享终端的通信方法,通过共享终端与公共终端建立的近距离通信连接,共享终端可以间接向服务终端发送上行信息,以使服务终端执行相应操作。在进行上行信息传递的过程中,共享终端可以不直接与服务终端进行远程通信连接,因此缩短了共享终端信息传输的距离,降低了共享终端的能耗。In the communication method of the shared terminal provided by the embodiment, 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. In the process of performing uplink 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.
可选的,在共享终端通过所述第一通信连接向所述公共终端发送上行信息之后,还可以包括,通过所述第一通信连接接收所述公共终端发送的上行响应信息;或者,通过所述第一通信连接接收所述公共终端通过所述第二通信连接从所述服务终端接收到的上行响应信息。Optionally, after the sharing terminal sends the uplink information to the public terminal by using the first communications connection, 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.
本实施例中,在共享终端通过第一通信连接向公共终端发送上行信息之后,还可以接收公共终端通过第一通信连接发送的与上行信息相对应的上行响应信息,该上行响应信息可以是公共终端在接收到上行信息后直接生成的,也可以是服务终端在接收到公共终端发送的上行信息后生成的。In this embodiment, after the uplink terminal sends the uplink information to the public terminal through the first 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.
本实施方式中,上行信息还可以是报告类信息,例如震动事件报告、故障类信息报告、低电量信息报告、位置上报等,除此之外,上行信息还可为心跳信息。In this embodiment, 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. In addition, the uplink information may also be heartbeat information.
在其他实施例中,共享终端中的电子设备向公共终端发送的上行信息可以 为回复信息,其中,回复信息可以为服务终端对共享终端进行查询信息的回复,查询信息可以为位置信息查询、电量查询、配置类信息查询等等。In other embodiments, 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.
本实施例提供的共享终端的通信方法,通过共享终端与公共终端建立的近距离通信连接,共享终端可以间接向服务终端发送上行信息并接收服务终端发送的上行响应信息。在进行上行信息和上行响应信息传递的过程中,共享终端可以不直接与服务终端进行远程通信连接,因此缩短了共享终端信息传输的距离,降低了共享终端的能耗。In the communication method of the shared terminal provided by the embodiment, 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. 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.
实施例三Embodiment 3
图3是实施例三提供的一种共享终端的通信方法的流程图,在本实施例中,通过所述第一通信连接与所述公共终端通信,并通过所述公共终端转发共享终端和服务终端之间的通信报文,可以包括:通过所述第一通信连接接收所述公共终端通过所述第二通信连接从所述服务终端接收到的下行信息。如图3所示,该方法包括以下步骤: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:
在S310中,通过第一通信模块与公共终端建立第一通信连接,所述第一通信连接为近距离通信连接。In S310, 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.
在S320中,通过所述第一通信连接接收所述公共终端通过所述第二通信连接从所述服务终端接收到的下行信息。In S320, downlink information received by the public terminal from the service terminal through the second communication connection is received through the first communication connection.
本实施例中,共享终端中的电子设备通过公共终端接收到的下行信息可以是服务终端通过与公共终端建立的第二通信连接发送的,服务终端可以通过该下行信息实现对共享终端的控制或管理或二者的结合。共享终端中的电子设备可以与公共终端建立第一通信连接,公共终端可以与服务终端建立第二通信连接,电子设备可以通过与公共终端建立的第一通信连接接收服务终端通过与公共终端建立的第二通信连接发送的用于控制和管理电子设备的下行信息中的至少一种信息。In this embodiment, 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.
本实施例中,共享终端中的电子设备通过第一通信连接接收到的服务终端发送的下行信息可以是解锁指令、对共享终端中的硬件(例如GPS模块、音频模块、加速度传感器、电池模块等)进行配置的信息、广告投放信息等,其中,当下行信息为广告投放信息时,所述共享终端中可以设置有显示装置,如液晶显示屏等。In this embodiment, 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.
可选的,上述方法还可以包括:执行下行信息指示的动作。Optionally, the foregoing method may further include: performing an action indicated by the downlink information.
本实施例中,共享终端中的电子设备接收到下行信息后,可以根据该下行信息控制共享终端中的相应设备执行相应的动作。例如,若下行信息为解锁指令,则共享终端中的电子设备可以控制共享终端中的锁定装置执行解锁动作;若下行信息为广告投放信息,则共享终端中的电子设备可以控制共享终端中的显示装置显示广告内容。In this embodiment, after receiving 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. When the user has a need for the vehicle, 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.
本实施例提供的共享终端的通信方法,通过与公共终端建立的近距离通信连接,共享终端可以间接接收服务终端发送的下行信息。在进行下行信息传递的过程中,共享终端可以不直接与服务终端进行远程通信连接,因此缩短了共享终端信息传输的距离,降低了共享终端的能耗。In the communication method of the shared terminal provided by this embodiment, 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. In the process of downlink 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.
可选的,通过第一通信模块与公共终端建立第一通信连接之后,上述方法还可以包括:通过所述第一通信模块在所述第一通信模块的通信范围内检测所述公共终端。Optionally, after the first communication module establishes the first communication connection with the public terminal, the method may further include: detecting, by the first communication module, the public terminal within a communication range of the first communication module.
本实施例中,在共享终端的电子设备通过第一通信模块与公共终端建立第 一通信连接之后,电子设备中的第一通信模块可以在其近距离通信范围内主动搜索能够与该电子设备建立第一通信连接的公共终端,并可以在搜索到的公共终端中选择能够同时与服务终端建立第二通信连接的公共终端,作为建立第一通信连接的公共终端。In this embodiment, the electronic device at the shared terminal establishes the first through the first communication module and the public terminal. After a communication connection, 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.
可选的,在检测结果为以下之一时,共享终端可以通过第二通信模块与所述服务终端建立第三通信连接,所述第三通信连接为远程通信连接:在所述第一通信模块的通信范围内未检测到所述公共终端,所述第一通信连接建立失败,以及,通过所述第一通信连接与所述公共终端转发报文失败。Optionally, when the detection result is one of the following, 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 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.
本实施例中,共享终端中的电子设备除了可以包括能够与公共终端建立近程通信连接的第一通信模块外,还可以包括能够与服务终端建立远程通信连接的第二通信模块。当电子设备通过第一通信模块无法检测到能够与其建立第一通信连接的公共终端或无法检测到能够与服务终端建立第二通信连接的公共终端,或者在第一通信模块与公共终端建立第一通信连接的过程中,由于某种原因导致第一通信连接建立失败,或者在通过第一通信连接与服务终端建立第二通信连接的过程中,由于某种原因导致第二通信连接建立失败,则电子设备可以通过第二通信模块与服务终端建立第三通信连接,如远程通信连接,并可以通过该远程通信连接与服务终端进行通信。In this embodiment, 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. When the electronic device cannot detect the public terminal with which the first communication connection can be established through the first communication module or cannot detect the public terminal capable of establishing the second communication connection with the service terminal, or establish the first connection between the first communication module and the public terminal In the process of the communication connection, the first communication connection fails to be established for some reason, or the second communication connection fails to be established for some reason in the process of establishing the second communication connection with the service terminal through the first communication connection, The electronic device can establish a third communication connection with the service terminal through the second communication module, such as a remote communication connection, and can communicate with the service terminal through the remote communication connection.
本实施例提供的共享终端的通信方法,通过第二通信模块直接与服务终端建立通信连接,可以避免公共终端与共享终端之间的通信连接建立失败时,共享终端无法正常使用的问题。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.
可选的,所述近距离通信连接包括蓝牙连接、无线保真(WIreless FIdelity,WiFi)连接、紫蜂(ZigBee)连接中的任一种;所述远程通信连接包括移动通信连接、网络连接、有线连接中的任一种。Optionally, 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
图4是实施例四提供的一种公共终端的通信方法的流程图,该方法可以由公共终端的通信装置来执行,该装置可以由软件或硬件或其结合的方式实现,并可以集成于公共终端中。如图4所示,该方法包括以下步骤: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:
在S410中,通过第三通信模块与共享终端建立第一通信连接,所述第一通信连接为近距离通信连接。In S410, 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.
本实施例中,共享终端的通信装置可以是公共终端。公共终端中可以包括 能够与共享终端的第一通信模块建立近距离通信连接的第三通信模块(即如前所述的公共终端中的第一通信模块),公共终端可以通过该第三通信模块与共享终端建立第一通信连接,通过该第一通信连接,公共终端可以与共享终端进行近距离信息交互。In this embodiment, the communication device of the shared terminal may be a public terminal. Can be included in the public terminal a third communication module capable of establishing a short-range communication connection with the first communication module of the shared terminal (ie, the first communication module in the public terminal as described above), and the public terminal can establish the first communication module and the shared terminal by using the third communication module A communication connection through which the public terminal can perform close-range information interaction with the shared terminal.
本实施例中,公共终端可以是电子车桩、路灯、公交站牌、公园路标或智慧城市中其他任意一个固定装置,或者智慧城市中任意一个可移动的装置,例如公交车等等,共享终端可以是无桩自行车或无桩电动车等,共享终端中的电子设备可以是车载电子设备。对于电子车桩而言,其对应的共享终端可以是无桩自行车或无桩电动车等。In this embodiment, 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. For an electronic vehicle pile, the corresponding shared terminal may be a pileless bicycle or a pileless electric vehicle.
在S420中,通过第四通信模块与服务终端建立第二通信连接,所述第二通信连接为远程通信连接。In S420, 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.
本实施例中,公共终端中除了可以包括能够与共享终端建立近距离通信连接的第三通信模块(即如前所述的公共终端中的第一通信模块)之外,还可以包括能够与服务终端建立远程通信连接的第四通信模块,该第四通信模块即为公共终端中的第二通信模块,服务终端中可以包括能够与公共终端建立远程通信连接的网络接口。通过第四通信模块和服务终端的网络接口,公共终端可以与服务终端建立第二通信连接,该第二通信连接可以为远程通信连接,通过第二通信连接,公共终端可以与服务终端进行远程信息交互。In this embodiment, in addition to the third communication module capable of establishing a short-range communication connection with the shared terminal (ie, the first communication module in the public terminal as described above), 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.
在S430中,通过所述第一通信连接和所述第二通信连接转发所述共享终端和所述服务终端之间的通信报文。In S430, a communication message between the shared terminal and the service terminal is forwarded through the first communication connection and the second communication connection.
本实施例中,公共终端可以与共享终端建立第一通信连接,与服务终端建立第二通信连接。其中,公共终端可以通过第一通信连接接收共享终端发送的通信报文,并通过第二通信连接将该通信报文发送至服务终端;或者公共终端可以通过第二通信连接接收服务终端发送的通信报文,并通过第一通信连接将该通信报文发送至共享终端,以实现共享终端与服务终端之间的信息交互。In this embodiment, 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 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. In the process of communication, 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 5
图5是实施例五提供的一种公共终端的通信方法的流程图,在本实施例中,通过所述第一通信连接和所述第二通信连接转发所述共享终端和所述服务终端之间的通信报文,可以包括:通过所述第一通信连接接收所述共享终端发送的上行信息;通过所述第二通信连接将所述上行信息发送给所述服务终端。如图5所示,该方法可以包括以下步骤:5 is a flowchart of a communication method of a public terminal according to Embodiment 5, in this embodiment, forwarding the shared terminal and the service terminal by using the first communication connection and the second communication connection 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. As shown in FIG. 5, the method may include the following steps:
在S510中,通过第三通信模块与共享终端建立第一通信连接,所述第一通信连接为近距离通信连接。In S510, 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.
在S520中,通过第四通信模块与服务终端建立第二通信连接,所述第二通信连接为远程通信连接。In S520, 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.
在S530中,通过所述第一通信连接接收所述共享终端发送的上行信息。In S530, the uplink information sent by the sharing terminal is received by using the first communication connection.
在S540中,通过所述第二通信连接将所述上行信息发送给所述服务终端。In S540, the uplink information is sent to the serving terminal by using the second communication connection.
本实施例中,公共终端通过第一通信连接接收到的共享终端发送的上行信息,可以用于使服务终端依据该上行信息执行相应操作。公共终端在接收到共享终端发送的上行信息后,可以通过第二通信连接将该上行信息发送至服务终端,以使服务终端可以根据该上行信息执行相应的操作。其中,上行信息可以是闭锁信息等。In this embodiment, 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. After receiving the uplink information sent by the shared terminal, 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.
以公共终端为电子车桩、共享终端为无桩单车,下行信息为解锁指令为例,对上述步骤进行说明:Taking the public terminal as the electronic vehicle pile and the shared terminal as the pileless bicycle, 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. 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. In the process of performing uplink 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.
可选的,在公共终端通过所述第二通信连接将所述上行信息发送给所述服务终端之后,还可以包括,通过所述第二通信连接接收所述服务终端发送的上行响应信息,或者,根据所述上行信息生成上行响应信息;通过所述第一通信连接将所述上行响应信息发送给所述共享终端。Optionally, after the public terminal sends the uplink information to the serving terminal by using the second communications connection, 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.
本实施例中,在公共终端通过第二通信连接将共享终端发送的上行信息发送给服务终端后,服务终端可以根据该上行信息生成上行响应信息并发送给公共终端,或者,公共终端可以根据该上行信息生成上行响应信息。公共终端还可以通过第一通信连接将服务终端发送的或公共终端生成的上行响应信息发送给共享终端,以使共享终端根据该上行响应信息执行相应动作。其中,上行信息可以为报告类信息,例如震动事件报告、故障类信息报告、低电量信息报告、位置上报等,除此之外,上行信息还可为心跳信息。In this embodiment, after the public terminal sends the uplink information sent by the shared terminal to the service terminal through the second 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.
在其他实施方式中,上行信息还可以是回复信息,其中,回复信息可以为服务终端对共享终端进行查询信息的回复,查询信息可以为位置信息查询、电量查询、配置类信息查询等等。In other embodiments, 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 provided by the embodiment 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.
实施例六Embodiment 6
图6是实施例六提供的一种公共终端的通信方法的流程图。在本实施例中,通过所述第一通信连接和所述第二通信连接转发所述共享终端和所述服务终端之间的通信报文,可以包括:通过所述第二通信连接接收所述服务终端发送的下行信息;通过所述第一通信连接将所述下行信息发送给所述共享终端。如图6 所示,该方法包括如下步骤:FIG. 6 is a flowchart of a communication method of a public terminal according to Embodiment 6. In this embodiment, 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:
在S610中,通过第四通信模块与服务终端建立第二通信连接,所述第二通信连接为远程通信连接。In S610, 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.
在S620中,通过所述第二通信连接接收所述服务终端发送的下行信息。In S620, downlink information sent by the service terminal is received through the second communication connection.
在S630中,通过第三通信模块与共享终端建立第一通信连接,所述第一通信连接为近距离通信连接。In S630, 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.
在S640中,通过所述第一通信连接将所述下行信息发送给所述共享终端。In S640, the downlink information is sent to the shared terminal by using the first communication connection.
本实施例中,公共终端通过第二通信连接接收到的服务终端发送的下行信息,可以用于对共享终端进行控制或管理或二者的结合。公共终端在接收到服务终端发送的下行信息后,可以通过第一通信连接将该下行信息发送至共享终端,以使共享终端可以根据该下行信息执行相应的动作。其中,下行信息可以是解锁指令、对共享终端中的硬件(例如GPS模块、音频模块、加速度传感器、电池模块等)进行配置的信息、广告投放信息等。In this embodiment, 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. After receiving the downlink information sent by the service terminal, 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.
以公共终端为电子车桩、共享终端为无桩单车,下行信息为解锁指令为例,对上述步骤进行说明:Taking the public terminal as the electronic vehicle pile and the shared terminal as the pileless bicycle, 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. 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 provided by the embodiment 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. In the process of downlink 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.
可选的,所述近距离通信连接包括蓝牙连接、无线保真WiFi连接、紫蜂ZigBee连接中的任一种;所述远程通信连接包括移动通信连接、网络连接、有线连接中的任一种。 Optionally, 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. .
实施例七Example 7
图7a、7b分别是实施例七提供的共享终端的通信方法的流程图。该方法可以由共享终端的通信装置来执行,该装置可以采用软件或硬件或其结合的方式实现。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.
图7a是实施例七提供的一种共享终端的通信方法的流程图。如图7a所示,当服务终端需要向共享终端发送下行信息时,该方法包括以下步骤: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:
在S710中,公共终端与服务终端建立第二通信连接。In S710, the public terminal establishes a second communication connection with the service terminal.
在S720中,服务终端通过所述第二通信连接向所述公共终端发送下行信息。In S720, the serving terminal transmits downlink information to the public terminal through the second communication connection.
在S730中,共享终端与所述公共终端建立第一通信连接。In S730, the sharing terminal establishes a first communication connection with the public terminal.
在S740中,公共终端通过所述第一通信连接将所述下行信息发送给所述共享终端。In S740, the public terminal transmits the downlink information to the shared terminal through the first communication connection.
图7b是实施例七提供的一种共享终端的通信方法的流程图。如图7b所示,当共享终端需要向服务终端发送上行信息时,该方法可以包括以下步骤: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:
在S750中,共享终端与公共终端建立第一通信连接。In S750, the shared terminal establishes a first communication connection with the public terminal.
在S760中,共享终端通过所述第一通信连接向所述公共终端发送上行信息。In S760, the sharing terminal sends uplink information to the public terminal through the first communication connection.
在S770中,公共终端与服务终端建立第二通信连接。In S770, the public terminal establishes a second communication connection with the service terminal.
在S780中,公共终端通过所述第二通信连接将所述上行信息发送给所述服务终端。In S780, 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.
上述各方法中,步骤S750和S770是共享终端通过公共终端与服务终端建立通信连接的过程,第一通信连接可以为近距离通信连接,第二通信连接可以为远程通信连接。In the above methods, 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.
本实施例提供的共享终端的通信方法,共享终端通过公共终端间接与服务终端进行信息交互。在通信的过程中,共享终端中的电子设备可以不直接与服务终端进行远程通信连接,因此缩短了共享终端信息传输的距离,降低了共享终端的能耗。In the communication method of the shared terminal provided by this embodiment, the shared terminal performs information interaction with the service terminal indirectly through the public terminal. In the process of communication, 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.
实施例八Example eight
图8是本实施例八提供的一种共享终端的通信装置的结构示意图,本实施 例的共享终端的通信装置配置于共享终端,可以用于与公共终端进行近距离通信的情况。如图8所示,该装置包括: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:
第一通信模块810,所述第一通信模块810包括:The first communication module 810, the first communication module 810 includes:
第一控制模块811,设置为与公共终端建立第一通信连接,所述第一通信连接为近距离通信连接;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;
第一收发模块812,设置为当所述第一通信连接建立完成后通过所述第一通信连接与所述公共终端通信,并通过所述公共终端转发所述共享终端和服务终端之间的通信报文,其中,所述公共终端与所述服务终端通过第二通信连接通信,所述第二通信连接为远程通信连接。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 provided in this embodiment communicates with the service terminal indirectly through the short-distance communication connection established between the shared terminal and the public terminal. In the process of communication, 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.
可选的,所述第一收发模块812可以设置为:通过所述第一通信连接向所述公共终端发送上行信息,以使所述公共终端通过所述第二通信连接将所述上行信息发送给所述服务终端。Optionally, 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.
所述第一收发模块812还可以设置为:通过所述第一通信连接接收所述公共终端通过所述第二通信连接从所述服务器端接收到的下行信息。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.
所述第一收发模块812还可以设置为:通过所述第一通信连接接收所述公共终端发送的上行响应信息;或者,通过所述第一通信连接接收所述公共终端通过所述第二通信连接从所述服务终端接收到的上行响应信息。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.
可选的,所述第一通信模块还可以包括检测模块813,所述检测模块813可以设置为:在所述通过第一通信模块与公共终端建立第一通信连接之后,在所述第一通信模块的通信范围内检测所述公共终端;Optionally, 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;
所述装置还可以包括第二通信模块820,所述第二通信模块820可以设置为:在检测结果为以下之一时,与所述服务终端建立第三通信连接,所述第三通信连接为远程通信连接:在所述第一通信模块的通信范围内未检测到所述公共终端、所述第一通信模块与所述公共终端之间的第一通信连接建立失败、以及通过所述公共终端转发报文失败。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.
可选的,所述近距离通信连接包括蓝牙连接、无线保真WiFi连接、紫蜂ZigBee连接中的任一种;所述远程通信连接包括移动通信连接、网络连接、有 线连接中的任一种。Optionally, 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.
实施例九Example nine
图9是实施例九提供的一种公共终端的通信装置的结构示意图,本实施例的公共终端的通信装置配置于公共终端,可以用于分别与共享终端进行近距离通信和与服务终端进行远程通信的情况。如图9所示,该装置包括: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. As shown in Figure 9, the device includes:
第三通信模块910,设置为与共享终端建立第一通信连接,所述第一通信连接为近距离通信连接。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.
第四通信模块920,设置为与服务终端建立第二通信连接,所述第二通信连接为远程通信连接。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.
第三通信模块910和第四通信模块920,还设置为通过第一通信连接和第二通信连接转发共享终端和服务终端之间的通信报文。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. In the process of communication, 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.
可选的,所述第三通信模块910可以设置为:通过所述第一通信连接接收所述共享终端发送的上行信息;所述第二通信模块920可以设置为:通过所述第二通信连接将所述上行信息发送给所述服务终端Optionally, 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
可选的,所述第四通信模块920还可以设置为:通过所述第二通信连接接收所述服务终端发送的下行信息;以及,所述第三通信模块910还可以设置为:通过所述第一通信连接将所述下行信息发送给所述共享终端。Optionally, 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.
可选的,所述第四通信模块920还可以设置为:通过所述第二通信连接接收所述服务终端发送的上行响应信息,或者,根据所述上行信息生成上行响应信息;以及,所述第三通信模块910还可以设置为:通过所述第一通信连接将所述上行响应信息发送给所述共享终端。Optionally, 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.
举例而言,本实施例中,公共终端中的第三通信模块还可以包括第三收发模块,其中,第三收发模块具体用于: For example, in this embodiment, the third communication module in the public terminal may further include a third transceiver module, where the third transceiver module is specifically configured to:
通过第一通信连接接收共享终端发送的上行信息;或Receiving uplink information sent by the shared terminal through the first communication connection; or
通过第一通信连接向共享终端发送下行信息;或Sending downlink information to the shared terminal through the first communication connection; or
通过第一通信连接向共享终端发送上行响应信息。The uplink response information is sent to the shared terminal through the first communication connection.
进一步的,第四通信模块还可以包括第四收发模块,其中,第四收发模块具体用于:Further, the fourth communication module may further include a fourth transceiver module, where the fourth transceiver module is specifically configured to:
通过第二通信连接向服务终端发送上行信息;或Sending uplink information to the service terminal through the second communication connection; or
通过第二通信连接接收服务终端发送的下行信息;或Receiving downlink information sent by the service terminal through the second communication connection; or
通过第二通信连接接收服务终端发送的上行响应信息。Receiving uplink response information sent by the service terminal through the second communication connection.
可选的,所述近距离通信连接包括蓝牙连接、无线保真WiFi连接、紫蜂ZigBee连接中的任一种;所述远程通信连接包括移动通信连接、网络连接、有线连接中的任一种。Optionally, 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.
实施例十Example ten
图10是实施例十提供的一种共享终端的通信系统的结构示意图,如图10所示,该系统包括: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:
共享终端1010、公共终端1020和服务终端1030,其中,a sharing terminal 1010, a public terminal 1020, and a service terminal 1030, where
共享终端1010可以包括本发明实施例所述的共享终端的通信装置1011。The sharing terminal 1010 may include the communication device 1011 of the sharing terminal according to the embodiment of the present invention.
公共终端1020可以包括本发明实施例所述的公共终端的通信装置1021。The public terminal 1020 may include the communication device 1021 of the public terminal according to the embodiment of the present invention.
服务终端1030可以设置为对共享终端1010进行控制或管理或二者的结合。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.
实施例十一Embodiment 11
图11为实施例十一提供的一种共享终端的硬件结构示意图。本实施例提供的共享终端可以是包括:处理器(processor)1101和存储器(memory)1102,还可以包括近距离通信模块1103、远距离通信模块1104、GPS模块1105和显示模块1106。其中,近距离通信模块1103和远距离通信模块1104可以用于信息传输;处理器1101可以调用存储器1102中的逻辑指令,以执行上述实施例的共享终 端的通信方法。所述近距离通信模块1103可以是蓝牙模块、无线保真WiFi模块和紫蜂ZigBee模块中的至少一种,所述远距离通信模块1204可以是移动通信模块、网络模块和有线模块中的任一种。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. Wherein, 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. Kind.
此外,上述的存储器1102中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,RandomAccess Memory)、磁碟或者光盘等各种可以存储程序代码的介质,也可以是暂态存储介质。In addition, 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. Based on such understanding, 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.
实施例十二Example twelve
图12为实施例十二提供的一种公共终端的硬件结构示意图。本实施例提供的公共终端可以是包括:处理器(processor)1201和存储器(memory)1202,还可以包括近距离通信模块1203、远距离通信模块1204、GPS模块1205和显示模块1206。其中,近距离通信模块1203和远距离通信模块1204可以用于信息传输;处理器1201可以调用存储器1202中的逻辑指令,以执行上述实施例的公共终端的通信方法。所述近距离通信模块1203可以是蓝牙模块、无线保真WiFi模块和紫蜂ZigBee模块中的至少一种,所述远距离通信模块1204可以是移动通信模块、网络模块和有线模块中的任一种。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, and the remote communication module 1204 may be any one of a mobile communication module, a network module, and a wired module. Kind.
此外,上述的存储器1202中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,RandomAccess Memory)、磁碟或者光盘等各种可以存储程序代码的介质,也可以是暂态存储介质。 Moreover, 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. Based on such understanding, 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.
工业实用性Industrial applicability
本实施例提供的共享终端的通信方法,共享终端通过与公共终端建立的近距离通信连接间接与服务终端进行通信,在通信的过程中,共享终端中的电子设备可以不直接与服务终端进行远程通信连接,因此缩短了共享终端信息传输的距离,降低了共享终端的能耗。 In the communication method of the shared terminal provided by this embodiment, the shared terminal communicates with the service terminal indirectly through a short-distance communication connection established with the public terminal. In the process of communication, 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.

Claims (19)

  1. 一种共享终端的通信方法,包括:A communication method for a shared terminal, comprising:
    通过第一通信模块与公共终端建立第一通信连接,所述第一通信连接为近距离通信连接;Establishing a first communication connection with the public terminal by using the first communication module, where the first communication connection is a short-range communication connection;
    当所述第一通信连接建立完成后,通过所述第一通信连接与所述公共终端通信,并通过所述公共终端转发所述共享终端和服务终端之间的通信报文,其中,所述公共终端与所述服务终端通过第二通信连接通信,所述第二通信连接为远程通信连接。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 The public terminal communicates with the service terminal via a second communication connection, and the second communication connection is a remote communication connection.
  2. 根据权利要求1所述的方法,其中,所述通过所述第一通信连接与所述公共终端通信,并通过所述公共终端转发所述共享终端和服务终端之间的通信报文包括:The method of claim 1, wherein the communicating with the public terminal through the first communication connection and forwarding the communication message between the shared terminal and the service terminal by the public terminal comprises:
    通过所述第一通信连接向所述公共终端发送上行信息,并通过所述公共终端和所述第二通信连接将所述上行信息发送给所述服务终端。And transmitting uplink information to the public terminal by using the first communication connection, and sending the uplink information to the service terminal by using the public terminal and the second communication connection.
  3. 根据权利要求1或2所述的方法,其中,所述通过所述第一通信连接与所述公共终端通信,并通过所述公共终端转发共享终端和服务终端之间的通信报文包括:The method of claim 1 or 2, wherein the communicating with the public terminal through the first communication connection and forwarding the communication message between the shared terminal and the service terminal by the public terminal comprises:
    通过所述第一通信连接接收所述公共终端通过所述第二通信连接从所述服务终端接收到的下行信息。Receiving, by the first communication connection, downlink information received by the public terminal from the service terminal by using the second communication connection.
  4. 根据权利要求2所述的方法,其中,所述通过所述第一通信连接向所述公共终端发送上行信息之后,所述方法还包括:The method of claim 2, wherein after the transmitting the uplink information to the public terminal by using the first communication connection, the method further comprises:
    通过所述第一通信连接接收所述公共终端发送的上行响应信息;或者,Receiving uplink response information sent by the public terminal by using the first communication connection; or
    通过所述第一通信连接接收所述公共终端通过所述第二通信连接从所述服务终端接收到的上行响应信息。Receiving, by the first communication connection, uplink response information received by the public terminal from the service terminal through the second communication connection.
  5. 根据权利要求1所述的方法,其中,所述通过第一通信模块与公共终端建立第一通信连接之后,所述方法还包括:The method of claim 1, wherein after the first communication module establishes a first communication connection with the public terminal, the method further comprises:
    通过所述第一通信模块在所述第一通信模块的通信范围内检测所述公共终端;Detecting, by the first communication module, the public terminal within a communication range of the first communication module;
    在检测结果为以下之一时,通过第二通信模块与所述服务终端建立第三通信连接,所述第三通信连接为远程通信连接: When the detection result is one of the following, a third communication connection is established with the service terminal by using the second communication module, where the third communication connection is a remote communication connection:
    在所述第一通信模块的通信范围内未检测到所述公共终端,Not detecting the public terminal within the communication range of the first communication module,
    所述第一通信连接建立失败,以及,The first communication connection establishment fails, and,
    通过所述第一通信连接与所述公共终端转发报文失败。Forwarding the message with the public terminal through the first communication connection fails.
  6. 根据权利要求1~5任一项所述的方法,其中,所述近距离通信连接包括蓝牙连接、无线保真WiFi连接、以及紫蜂ZigBee连接中的任一种。The method of any one of claims 1 to 5, wherein the short-range communication connection comprises any one of a Bluetooth connection, a wireless fidelity WiFi connection, and a ZigBee connection.
  7. 一种公共终端的通信方法,包括:A communication method of a public terminal, comprising:
    通过第一通信模块与共享终端建立第一通信连接,所述第一通信连接为近距离通信连接;Establishing a first communication connection with the shared terminal by using the first communication module, where the first communication connection is a short-range communication connection;
    通过第二通信模块与服务终端建立第二通信连接,所述第二通信连接为远程通信连接;Establishing a second communication connection with the service terminal by using the second communication module, where the second communication connection is a remote communication connection;
    通过所述第一通信连接和所述第二通信连接转发所述共享终端和所述服务终端之间的通信报文。Transmitting, by the first communication connection and the second communication connection, a communication message between the shared terminal and the service terminal.
  8. 根据权利要求7所述的方法,其中,所述通过所述第一通信连接和所述第二通信连接转发所述共享终端和所述服务终端之间的通信报文,包括:The method of claim 7, wherein the forwarding of the communication message between the sharing terminal and the service terminal by the first communication connection and the second communication connection comprises:
    通过所述第一通信连接接收所述共享终端发送的上行信息;Receiving uplink information sent by the sharing terminal by using the first communication connection;
    通过所述第二通信连接将所述上行信息发送给所述服务终端。Transmitting the uplink information to the serving terminal by using the second communication connection.
  9. 根据权利要求7或8所述的方法,其中,所述通过所述第一通信连接和所述第二通信连接转发所述共享终端和所述服务终端之间的通信报文,包括:The method according to claim 7 or 8, wherein the forwarding of the communication message between the sharing terminal and the service terminal by the first communication connection and the second communication connection comprises:
    通过所述第二通信连接接收所述服务终端发送的下行信息;Receiving downlink information sent by the service terminal by using the second communication connection;
    通过所述第一通信连接将所述下行信息发送给所述共享终端。Transmitting the downlink information to the shared terminal by using the first communication connection.
  10. 根据权利要求8所述的方法,其中,所述通过所述第二通信连接将所述上行信息发送给所述服务终端之后,所述方法还包括:The method of claim 8, wherein after the transmitting the uplink information to the service terminal by using the second communication connection, the method further comprises:
    通过所述第二通信连接接收所述服务终端发送的上行响应信息,或者,根据所述上行信息生成上行响应信息;Receiving uplink response information sent by the service terminal by using the second communication connection, or generating uplink response information according to the uplink information;
    通过所述第一通信连接将所述上行响应信息发送给所述共享终端。Transmitting the uplink response information to the shared terminal by using the first communication connection.
  11. 一种共享终端的通信装置,包括:第一通信模块,所述第一通信模块包括: A communication device for sharing a terminal, 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 the communication report between the shared terminal and the service terminal by using the public terminal The public terminal communicates with the service terminal through a second communication connection, and the second communication connection is a remote communication connection.
  12. 根据权利要求11所述的装置,其中,所述第一收发模块是设置为:The apparatus of claim 11, wherein the first transceiver module is configured to:
    通过所述第一通信连接向所述公共终端发送上行信息,以使所述公共终端通过所述第二通信连接将所述上行信息发送给所述服务终端;Transmitting uplink information to the public terminal by using the first communication connection, so that the public terminal sends the uplink information to the service terminal by using the second communication connection;
    通过所述第一通信连接接收所述公共终端通过所述第二通信连接从所述服务器端接收到的下行信息。Receiving, by the first communication connection, downlink information received by the public terminal from the server by using the second communication connection.
  13. 根据权利要求12所述的装置,其中,所述第一收发模块还设置为:The device according to claim 12, wherein the first transceiver module is further configured to:
    在通过所述第一通信连接向所述公共终端发送上行信息之后,通过所述第一通信连接接收所述公共终端发送的上行响应信息;或者,通过所述第一通信连接接收所述公共终端通过所述第二通信连接从所述服务终端接收到的上行响应信息。Receiving the uplink response information sent by the public terminal through the first communication connection after transmitting the uplink information to the public terminal by using the first communication connection; or receiving the public terminal by using the first communication connection Uplink response information received from the service terminal through the second communication connection.
  14. 根据权利要求11所述的装置,其中,所述第一通信模块还包括检测模块,所述检测模块设置为:The apparatus of claim 11, wherein the first communication module further comprises a detection module, the detection module being configured to:
    在所述通过第一通信模块与公共终端建立第一通信连接之后,在所述第一通信模块的通信范围内检测所述公共终端;After the first communication connection is established with the public terminal by the first communication module, detecting the public terminal within the communication range of the first communication module;
    所述装置还包括第二通信模块,所述第二通信模块设置为:在检测结果为以下之一时,与所述服务终端建立第三通信连接,所述第三通信连接为远程通信连接:The device further includes a second communication module, the second communication module is 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 communication connection:
    在所述第一通信模块的通信范围内未检测到所述公共终端、所述第一通信模块与所述公共终端之间的第一通信连接建立失败、以及通过所述公共终端转发报文失败。Not detecting the establishment of the first communication connection between the public terminal, the first communication module and the public terminal, and failing to forward the message through the public terminal within the communication range of the first communication module .
  15. 一种公共终端的通信装置,包括:A communication device for a public terminal, comprising:
    第一通信模块,设置为与共享终端建立第一通信连接,所述第一通信连接 为近距离通信连接;a first communication module, configured to establish a first communication connection with the shared terminal, the first communication connection For short-range communication connections;
    第二通信模块,设置为与服务终端建立第二通信连接,所述第二通信连接为远程通信连接;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.
  16. 根据权利要求15所述的装置,其中,所述第一通信模块是设置为:通过所述第一通信连接接收所述共享终端发送的上行信息;以及,所述第二通信模块是设置为:通过所述第二通信连接将所述上行信息发送给所述服务终端;所述第二通信模块还设置为:通过所述第二通信连接接收所述服务终端发送的下行信息;以及,所述第一通信模块还设置为:通过所述第一通信连接将所述下行信息发送给所述共享终端。The apparatus according to claim 15, wherein the first communication module is configured to: receive uplink information sent by the sharing terminal by using the first communication connection; and, the second communication module is configured to: Transmitting, by the second communication connection, the uplink information to the service terminal; the second communication module is further configured to: receive downlink information sent by the service terminal by using the second communication connection; and The first communication module is further configured to: send the downlink information to the shared terminal by using the first communication connection.
  17. 一种共享终端,所述共享终端包括权利要求11~14任一项所述的共享终端的通信装置。A sharing terminal comprising the communication device of the sharing terminal according to any one of claims 11 to 14.
  18. 一种公共终端,所述公共终端包括权利要求15~16任一项所述的公共终端的通信装置。A public terminal comprising the communication device of the public terminal according to any one of claims 15 to 16.
  19. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行权利要求1~10任一项所述的方法。 A computer readable storage medium storing computer executable instructions arranged to perform the method of any one of claims 1 to 10.
PCT/CN2017/117185 2017-09-30 2017-12-19 Shared terminal communication method and device and shared terminal WO2019061878A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/109076 WO2019063011A1 (en) 2017-09-30 2018-09-30 Networking system and method of sharing device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710940352.9 2017-09-30
CN201710940352.9A CN107682846A (en) 2017-09-30 2017-09-30 A kind of shared terminal management method, device, shared terminal and management system

Publications (1)

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

Family

ID=61140233

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/117185 WO2019061878A1 (en) 2017-09-30 2017-12-19 Shared terminal communication method and device and shared terminal

Country Status (2)

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

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019063011A1 (en) * 2017-09-30 2019-04-04 柠创控股有限公司 Networking system and method of sharing device
CN112291048B (en) * 2020-12-29 2021-04-13 中天众达智慧城市科技有限公司 Management data sending method in urban brain system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015169005A1 (en) * 2014-05-05 2015-11-12 中兴通讯股份有限公司 Method, system and main sharing end for sharing screen and operation control
CN105493527A (en) * 2015-05-04 2016-04-13 北京合智源科技开发有限责任公司 Wireless communication equipment and wireless communication method
CN107046678A (en) * 2017-04-17 2017-08-15 杭州纳戒科技有限公司 Shared bicycle exchange method and system
CN107093158A (en) * 2017-02-28 2017-08-25 成都西谷曙光数字技术有限公司 Share bicycle intelligent management system and method in a kind of city based on IoT technologies

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204850628U (en) * 2015-08-18 2015-12-09 北京电庄科技有限公司 Intelligence parking stall lock with reservation function
CN106781616B (en) * 2017-03-21 2019-03-29 上海智向信息科技有限公司 Shared bicycle region parking positioning system
CN106992566A (en) * 2017-04-26 2017-07-28 安徽理工大学 A kind of charging pile and its interface for being used to share electric bicycle

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015169005A1 (en) * 2014-05-05 2015-11-12 中兴通讯股份有限公司 Method, system and main sharing end for sharing screen and operation control
CN105493527A (en) * 2015-05-04 2016-04-13 北京合智源科技开发有限责任公司 Wireless communication equipment and wireless communication method
CN107093158A (en) * 2017-02-28 2017-08-25 成都西谷曙光数字技术有限公司 Share bicycle intelligent management system and method in a kind of city based on IoT technologies
CN107046678A (en) * 2017-04-17 2017-08-15 杭州纳戒科技有限公司 Shared bicycle exchange method and system

Also Published As

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

Similar Documents

Publication Publication Date Title
CN108156231B (en) Method for communication between fault vehicle and server, vehicle and server
WO2016197943A1 (en) Bicycle management system and control method and apparatus therefor
US10514468B2 (en) Vehicle positioning method and system
EP3393146A1 (en) Shared vehicle positioning method and apparatus and terminal device
US11323850B2 (en) Vehicle-to-everything communication solution
CN104517154A (en) E-bike reservation and renting system based on Internet of Things
CN107117230A (en) A kind of specification shares the wireless knee system of bicycle parking place
WO2019061877A1 (en) Shared device, service terminal, and networking system and method for shared device
CN107666475A (en) A kind of charger baby leasing system and its rent method
CN102113352A (en) Content discovery and transfer between mobile communications nodes
US8631232B2 (en) Wireless personal area network accessing method
CN107578561B (en) Vehicle leasing system and method based on Internet of things
CN106657397A (en) Internet of Vehicles based on MQTT protocol
CN105916100A (en) Heartbeat packet agency method, device and communication system
Zhou et al. Arve: Augmented reality applications in vehicle to edge networks
JP2016025463A (en) Communication method in radio communication system, radio communication system, radio connection provision device, and radio communication device
WO2022000254A1 (en) Charging method, apparatus and system
WO2019061878A1 (en) Shared terminal communication method and device and shared terminal
CN114556861A (en) Anonymization and randomization of device identities
CN113099412B (en) Intelligent RSU device and roadside communication system
CN107026870A (en) It is a kind of to encrypt the outdoor public Internet of Things access stack of dynamic group net safely
CN111277622B (en) Vehicle sharing method and device, vehicle, computer equipment and storage medium
KR20130025867A (en) Method and device for processing communication services based on area
TW202046755A (en) Internet of things architecture for device sharing
KR20210148778A (en) Electronic device and method for performing ranging through uwb

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