Communication method, electronic equipment and system
By acquiring short-range connection information of the target device in advance through electronic devices and automatically scanning and pairing at a preset time, the problem of users being unable to connect to the target device outside the near-field environment is solved, achieving efficient and low-power communication connection.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HONOR DEVICE CO LTD
- Filing Date
- 2024-11-22
- Publication Date
- 2026-05-22
AI Technical Summary
Users can only select the target device for pairing and establishing a short-range communication connection when the target device is in a near-field environment. When the target device is not in a near-field environment, it cannot be selected, which causes inconvenience to users.
Electronic devices obtain short-range connection information of target devices in advance through the network, and automatically scan and pair after enabling the corresponding short-range communication technology to establish a communication connection. The scanning and connection are initiated using a preset effective time to avoid premature power consumption.
It reduces the number of user operations, improves connection efficiency, reduces power consumption, and enhances the user experience.
Smart Images

Figure CN122073756A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of terminals, and more particularly to a communication method, electronic device, and system. Background Technology
[0002] Currently, users can only select a target device when it is in a near-field environment, thus enabling pairing and establishing a short-range communication connection. When the target device is not in a near-field environment, the user cannot select it. In this case, the user must confirm that the target device is in a near-field environment, check again to see if the target device has been scanned, and only after it has been scanned can the user select it to pair and establish a short-range communication connection, causing inconvenience for the user. Summary of the Invention
[0003] This application provides a communication method, electronic device, and system.
[0004] Firstly, this application provides a communication method. The method is applied to a first electronic device. The first electronic device includes, but is not limited to, mobile phones, tablets, laptops, smart wearable devices, and vehicle terminals. The method includes: receiving second connection information of a second electronic device in a first network, the second connection information being connection information required to establish a second short-range communication technology connection; scanning nearby devices using the second short-range communication technology, and after detecting the second electronic device, establishing a second communication connection with the second electronic device using the second connection information of the second electronic device; or, after detecting a scanning operation of the second electronic device based on the second short-range communication technology, establishing a second communication connection with the second electronic device using the second connection information of the first electronic device, the second connection information of the first electronic device being received by the second electronic device in the first network; the second network, composed of the first electronic device, the second electronic device, and the second communication connection, is different from the first network.
[0005] By implementing the method provided in the first aspect, an electronic device can obtain short-range connection information of another electronic device in advance through a network. After discovering the electronic device by enabling the corresponding short-range communication technology, it uses the aforementioned short-range connection information to establish a short-range communication connection with the electronic device, and then conducts direct communication with the aforementioned electronic device through the short-range communication connection.
[0006] In some embodiments, the first network is the Internet, and the second network is a Bluetooth network. Correspondingly, the second connection information is Bluetooth pairing information, the second short-range communication technology is Bluetooth communication technology, and the second communication connection is a Bluetooth communication connection.
[0007] In some embodiments, the method further includes: issuing a first order, the first order being accepted by a second electronic device; or, accepting a first order, the first order being issued by a second electronic device.
[0008] By implementing the above method, in network-based consumption scenarios (such as ride-hailing, food delivery, and errand running), the electronic devices that post and accept orders can obtain short-range connection information of the other device in advance via the network. They then activate the corresponding short-range communication technology to discover the other device and establish a short-range communication connection. In this way, users who post and accept orders can meet and verify each other's identities through their respective electronic devices before proceeding with the subsequent processes to complete the order.
[0009] In some embodiments, the first order is a ride-hailing order. In this scenario, the electronic devices that post and accept the order (i.e., the passenger's and driver's devices) can obtain short-range connection information of the other device in advance via the network. They then use the corresponding short-range communication technology to discover the other device and establish a short-range communication connection. In this way, the passenger and driver can meet and verify each other using their respective electronic devices before proceeding with subsequent processes, such as heading to their destination.
[0010] In some embodiments, after receiving the second connection information from the second electronic device, the first electronic device can enable the second short-range communication technology to discover the second electronic device.
[0011] In some embodiments, the method further includes: enabling a second short-range communication technology after the second connection information becomes effective. This allows the electronic device to shorten the time required to enable the second short-range communication technology, thereby reducing power consumption.
[0012] In network-based consumption scenarios (such as the ride-hailing scenario mentioned above), the first server assigning orders can determine the time required for the two electronic devices to enter the near-field environment based on their current locations. Therefore, in some embodiments, the method further includes: obtaining a first planned time from the first server, where the first planned time is the estimated time required for the first and second electronic devices to meet; and determining the effective time of the second connection information based on the first planned time. Preferably, the effective time of the second connection information is earlier than the first planned time.
[0013] In this way, electronic devices can quickly detect peer electronic devices in near-field environments, while avoiding the power consumption problems caused by prematurely activating the second short-range communication technology.
[0014] In some embodiments, after establishing the second communication connection, the method further includes: after detecting a confirmation operation, sending a confirmation message to a first server, the confirmation message indicating that the first electronic device and the second electronic device have met.
[0015] By implementing the above method, the first electronic device can instruct the first server to proceed with subsequent processes through the aforementioned confirmation message, such as navigating to the destination, thereby enabling the first electronic device and the second electronic device to complete the order.
[0016] After sending an acknowledgment message to the first server, the method further includes: disconnecting the second communication connection.
[0017] In some embodiments, after sending an acknowledgment message to the first server, i.e., after the first electronic device and the second electronic device meet, the first electronic device and the second electronic device can immediately disconnect the second communication connection between the two devices. This disconnection can be triggered by the first electronic device or by the first electronic device instructing the second electronic device to do so. After disconnecting the second communication connection, the first and second electronic devices can disable the short-range communication technology corresponding to the second communication connection, such as Bluetooth, thereby reducing the power consumption of both devices.
[0018] In some embodiments, disconnecting the second communication connection includes: disconnecting the second communication connection after determining that the destination of the first order has been reached. That is, after the first electronic device and the second electronic device meet, the first electronic device and the second electronic device can continue to maintain a second communication connection between the two devices. For example, in a ride-hailing scenario, after the driver picks up the passenger, the driver's end and the passenger's end can continue to maintain a Bluetooth connection between the two devices. In this way, during the process of taking the passenger to the destination, the passenger can control the driver's end to perform some other operations through the above-mentioned Bluetooth connection, such as playing music, etc., to improve the user's ride-hailing experience. After determining that the destination has been reached, the first electronic device and the second electronic device disconnect the second communication connection between the two devices. Optionally, the first electronic device or the second electronic device can actively trigger the disconnection of the second communication connection after detecting that the destination has been reached. Alternatively, the above-mentioned disconnection can also be automatically disconnected by the first electronic device and the second electronic device after they go out of the connection range.
[0019] In some embodiments, the method further includes: determining the location of the second electronic device based on the second communication connection, and displaying the location of the second electronic device. This allows the user to more intuitively and clearly determine the other party's location and complete the meeting.
[0020] In some embodiments, the method further includes: sending communication information to a second electronic device or receiving communication information sent by a second electronic device based on a second communication connection. The communication information includes one or more of the following: voice, text, and images. Thus, in a near-field environment, users can further communicate their current location with the user of the other device through text, images, voice, etc., helping both parties to meet as soon as possible. On the other hand, communication methods such as calls, voice messages, and text messages based on Bluetooth communication connections are free and economical.
[0021] In some embodiments, the second connection information of the second electronic device is sent to the first electronic device by a second server, which is different from the first server. In this way, the manufacturers of the first and second electronic devices can exchange the second connection information themselves without the participation of a consumer platform (such as a ride-hailing platform), which can reduce the device manufacturers' dependence on third-party platforms and improve the autonomy and independence of the device manufacturers.
[0022] In some embodiments, the second connection information of the second electronic device is sent to the first electronic device by the first server. This allows the consumption platform to exchange the second connection information between the ordering electronic devices during order allocation, which is convenient and quick.
[0023] Secondly, this application provides a communication method. The method is applied to a first server. The method includes: receiving second connection information of a first electronic device based on a first network, the second connection information being connection information required to establish a second short-range communication technology connection; sending the second connection information of the first electronic device to a second electronic device for the second electronic device to connect to the first electronic device and establish a second network, the second network being different from the first network; and receiving second connection information of the second electronic device based on the first network, sending the second connection information of the second electronic device to the first electronic device for the first electronic device to connect to the second electronic device and establish the second network.
[0024] Preferably, the second network is a Bluetooth communication network.
[0025] By implementing the method provided in the second aspect, the first server can exchange short-range connection information between two electronic devices, so that after scanning the peer device, the two electronic devices can use the aforementioned short-range connection information to establish a short-range communication connection with the peer device, and then conduct direct communication with the peer device through the short-range communication connection.
[0026] In some embodiments, the method further includes: determining a first electronic device and a second electronic device corresponding to the first order, wherein one electronic device issues the first order and the other electronic device accepts the first order.
[0027] In network-based consumption scenarios (such as ride-hailing, food delivery, and errand running), the first server can be the aforementioned network platform (e.g., a ride-hailing platform). When assigning an order, the first server can exchange short-range connection information between the electronic devices of both parties (e.g., the passenger's and driver's devices). This allows the electronic devices to establish a short-range communication connection with the other device after scanning it, complete identity verification, and then proceed with subsequent processes to complete the order.
[0028] In network-based consumption scenarios (such as the ride-hailing scenario mentioned above), the first server assigning orders can determine the time required for the two electronic devices to enter the near-field environment based on their current locations. Therefore, in some embodiments, the method further includes: determining a first planned time, which is the time required for the first electronic device and the second electronic device to meet. This first planned time is used to determine the effective time of the second connection information. During the effective time of the second connection information, the first electronic device can connect to the second electronic device through the second connection information of the second electronic device, and the second electronic device can connect to the first electronic device through the second connection information of the first electronic device.
[0029] Preferably, the second connection information takes effect earlier than the first planned time.
[0030] In this way, the electronic devices of both parties involved in the order can quickly detect each other's electronic devices in the near-field environment, while avoiding the power consumption problems caused by prematurely activating the second short-range communication technology.
[0031] In some embodiments, the method further includes receiving a confirmation message sent by a first electronic device or a second electronic device, the confirmation message indicating that the first electronic device and the second electronic device have met. Then, the first server can proceed with subsequent processes based on the confirmation message, such as navigating to the destination, to facilitate the completion of the order by the first electronic device and the second electronic device.
[0032] Thirdly, this application provides a communication method. The method is applied to a first server. The method includes: receiving order information and second connection information from a first electronic device based on a first network, the second connection information being connection information required to establish a second short-range communication connection; receiving order information and second connection information from a second electronic device based on the first network, and determining that the first electronic device and the second electronic device are two devices associated with the same order based on the order information of the first electronic device and the order information of the second electronic device; sending the second connection information of the first electronic device to the second electronic device for the second electronic device to connect to the first electronic device and establish a second network, the second network being different from the first network; and sending the second connection information of the second electronic device to the first electronic device for the first electronic device to connect to the second electronic device and establish the second network.
[0033] Preferably, the second network is a Bluetooth communication network.
[0034] By implementing the method provided in the third aspect, the first server (e.g., device cloud) can determine two devices associated with the same order, such as the first electronic device and the second electronic device, based on the received order information and second connection information of the electronic devices. Then, the two electronic devices exchange short-range connection information so that after scanning the peer device, they can use the aforementioned short-range connection information to establish a short-range communication connection with the peer device, and then conduct direct communication with the peer device through the short-range communication connection.
[0035] In this way, manufacturers of the first and second electronic devices can conduct the second connection information exchange independently without the participation of consumer platforms (such as ride-hailing platforms), which can reduce the dependence of equipment manufacturers on third-party platforms and improve the autonomy and independence of equipment manufacturers.
[0036] Fourthly, this application provides an electronic device including one or more processors and one or more memories; wherein the one or more memories are coupled to one or more processors, and the one or more memories are used to store a computer program, which, when the one or more processors execute the computer program, causes the electronic device to perform the method described in the first aspect and any possible implementation thereof, or to perform the method described in the second aspect and any possible implementation thereof, or to perform the method described in the third aspect and any possible implementation thereof.
[0037] Fifthly, this application provides a chip system applied to an electronic device. The chip system includes one or more processors, which are configured to invoke computer instructions to cause the electronic device to perform a method as described in the first aspect and any possible implementation thereof, or to perform a method as described in the second aspect and any possible implementation thereof, or to perform a method as described in the third aspect and any possible implementation thereof.
[0038] In a sixth aspect, this application provides a computer-readable storage medium including a computer program that, when the computer program is run on an electronic device, causes the electronic device to perform the method described in the first aspect and any possible implementation thereof, or to perform the method described in the second aspect and any possible implementation thereof, or to perform the method described in the third aspect and any possible implementation thereof.
[0039] In a seventh aspect, this application provides a computer program product containing instructions that, when the computer program product is run on an electronic device, causes the electronic device to perform the method described in the first aspect and any possible implementation thereof, or to perform the method described in the second aspect and any possible implementation thereof, or to perform the method described in the third aspect and any possible implementation thereof.
[0040] Understandably, the electronic device provided in the fourth aspect, the chip system provided in the fifth aspect, the computer storage medium provided in the sixth aspect, and the computer program product provided in the seventh aspect are all used to execute the method provided in this application. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods, and will not be repeated here. Attached Figure Description
[0041] Figure 1 This is a flowchart of a communication method provided in an embodiment of this application;
[0042] Figures 2A-2D This application provides a set of user interfaces that receive the Bluetooth identifier, Bluetooth pairing information, and Bluetooth pairing information effective time of the target device based on user input operations.
[0043] Figure 3 This is a flowchart illustrating a communication method applied in a ride-hailing scenario, as provided in an embodiment of this application.
[0044] Figures 4A-4C This application provides a set of user interfaces for displaying the driver's location in an embodiment;
[0045] Figures 5A-5C This is a set of user interfaces for making Bluetooth calls provided in the embodiments of this application;
[0046] Figure 6 This is a flowchart of another communication method applied in a ride-hailing scenario provided by an embodiment of this application;
[0047] Figure 7 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0048] The terminology used in the following embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be a limitation of this application.
[0049] Currently, users can only select a target device when it is in a near-field environment, and then pair with that device to establish a short-range communication connection. When the target device is not in a near-field environment, the user cannot select it. In this case, the user must first confirm that the target device is in a near-field environment, then check if the target device has been scanned again. Only after the target device has been scanned and selected can the user pair with it to establish a short-range communication connection.
[0050] Taking Bluetooth communication as an example, a user holds electronic device A (the first electronic device) and wants to establish a Bluetooth communication connection with electronic device B (the second electronic device). Electronic device B is the target device.
[0051] When electronic device B is in the near-field environment of electronic device A, after Bluetooth is enabled, electronic device A can scan for electronic device B, and the user can then choose to connect to electronic device B. Based on the user's operation, electronic device A can send a connection request to electronic device B, pair with electronic device B, and establish a Bluetooth connection. The near-field environment described above is, for example, a spatial environment where the distance between electronic device A and electronic device A is less than 10 meters.
[0052] When electronic device B is not in the near field of electronic device A, electronic device A cannot scan for electronic device B after Bluetooth is enabled. At this time, the user cannot choose to connect to electronic device B. The user must pause the connection process, confirm that electronic device B is in the near field of electronic device A, and then check again whether electronic device A has scanned for electronic device B. This process is repeated until electronic device B is confirmed to be scanned, at which point the user can then choose to connect to electronic device B, thereby controlling electronic device A to pair with electronic device B and establish a Bluetooth connection.
[0053] This requires users to repeatedly enter the Bluetooth connection interface to check whether electronic device A has scanned electronic device B, causing inconvenience to users.
[0054] Therefore, embodiments of this application provide a communication method.
[0055] Taking Bluetooth communication as an example, in this method, electronic device A can receive in advance the Bluetooth identifier, Bluetooth pairing information, and the effective time of the Bluetooth pairing information from electronic device B. After the effective time of the Bluetooth pairing information arrives, electronic device A can automatically perform a Bluetooth scan and determine whether electronic device B has been detected based on the Bluetooth identifier of electronic device B received in advance. After confirming that electronic device B has been detected, electronic device A can automatically pair with electronic device B using the Bluetooth pairing information received in advance, establish a Bluetooth communication connection, and then transmit service data.
[0056] In this way, users do not need to repeatedly enter the Bluetooth connection interface to check whether electronic device A has scanned electronic device B, nor do they need to select electronic device B after scanning it and perform a pairing operation. This greatly saves users' time and effort and provides convenience for connecting near-field devices.
[0057] The above communication methods are not limited to Bluetooth; they can also be applied to short-range communication technologies such as wireless local area networks (e.g., wireless fidelity, Wi-Fi), infrared data transmission (IrDA), ZigBee, UltraWideBand (UWB), and Near Field Communication (NFC). This application does not impose any limitations on these applications.
[0058] Figure 1 This is a flowchart of a communication method provided in an embodiment of this application.
[0059] S101: Receive the Bluetooth identifier, Bluetooth pairing information, and effective time of Bluetooth pairing information from electronic device B.
[0060] In some embodiments, electronic device A can receive the Bluetooth identifier, Bluetooth pairing information, and the effective time of the Bluetooth pairing information from a target device (e.g., electronic device B) based on user input. The Bluetooth identifier may be, for example, a Bluetooth name, and the Bluetooth pairing information may be, for example, a pairing code.
[0061] Specifically, Figures 2A-2D This application provides a user interface that receives the Bluetooth identifier, Bluetooth pairing information, and Bluetooth pairing information activation time of a target device based on user input. (See reference...) Figure 2AAfter entering the Bluetooth connection interface 21, electronic device A can display controls 211, 212, and 213. Control 211 can be used to receive the Bluetooth name of the target device input by the user, control 212 can be used to receive the pairing code of the target device input by the user, and control 213 can be used to receive the effective time of the pairing code input by the user. For example, refer to... Figure 2B Electronic device A can receive the Bluetooth name of electronic device B, "Earpods_W6", pairing code, "239201", and the pairing code's effective time, "10 minutes later," input by the user. After detecting a user action (e.g., a click) on control 221, electronic device A can save the above information. Then, refer to... Figure 2C Electronic device A can display control 231 to indicate that electronic device A has recorded that it will connect to an electronic device (i.e., electronic device B) with the Bluetooth name "Earpods_W6".
[0062] In some embodiments, electronic device A can obtain the Bluetooth identifier, Bluetooth pairing information, and the effective time of the Bluetooth pairing information of electronic device B from other servers via a local area network or the Internet. Subsequent embodiments will describe these in detail according to specific application scenarios, and will not be elaborated upon here.
[0063] S102. After the Bluetooth pairing information is activated, turn on Bluetooth and scan for nearby devices.
[0064] After saving the Bluetooth identifier and pairing information of electronic device B, electronic device A can start a timer to determine whether to enter the effective time of electronic device B's Bluetooth pairing information. Once the effective time of electronic device B's Bluetooth pairing information has been entered, i.e., after the Bluetooth pairing information becomes effective, electronic device A can activate Bluetooth and scan for nearby devices. For example, if it receives a pairing code input by the user with an effective time of "10 minutes later," electronic device A can start a 10-minute timer after saving the Bluetooth identifier and pairing information of electronic device B. After the timer expires, electronic device A can activate Bluetooth and scan for nearby devices.
[0065] During the scanning process, electronic device A may receive Bluetooth broadcast messages from one or more nearby devices. These broadcast messages may contain the device's Bluetooth identifier, such as its Bluetooth name. Then, by querying the received Bluetooth identifiers of the one or more nearby devices, electronic device A can determine whether the target device (e.g., electronic device B) is among these nearby devices.
[0066] Optionally, the Bluetooth pairing information can be left unset for an effective time. In this case, after receiving the Bluetooth identifier and Bluetooth pairing information from electronic device B, electronic device A can activate Bluetooth and scan for nearby devices.
[0067] S103. After scanning electronic device B, a connection request is sent to electronic device B, and a Bluetooth communication connection is established with electronic device B through the received Bluetooth pairing information of electronic device B.
[0068] When the received Bluetooth identifier includes the Bluetooth identifier of electronic device B (e.g., "Earpods_W6"), electronic device A can determine that electronic device B has been scanned. Electronic device A can then send a connection request to electronic device B. This connection request may carry the Bluetooth pairing information of electronic device B recorded during execution S101 (e.g., "239201"). After verifying that the Bluetooth pairing information of electronic device B carried in the connection request is correct, in response to the connection request, electronic device B can send an acknowledgment message to electronic device A to establish a Bluetooth communication connection.
[0069] refer to Figure 2D After establishing a Bluetooth communication connection, electronic device A can update the "Not Connected" flag in control 231 to "Connected", indicating that electronic device A has established a Bluetooth communication connection with the target device specified by the user.
[0070] S104. Send service data to electronic device B.
[0071] Based on the established Bluetooth communication connection, electronic device A can send service data to electronic device B, such as media control commands, audio data, image data, etc.
[0072] Furthermore, the aforementioned communication method can be specifically applied in ride-hailing scenarios. In a ride-hailing scenario, when distributing ride-hailing orders, the ride-hailing platform can obtain the Bluetooth identifiers and Bluetooth pairing information of the passenger's and driver's devices, and exchange these Bluetooth identifiers and pairing information. The passenger's device refers to the electronic device held by the passenger (e.g., electronic device A), and the driver's device refers to the electronic device held by the driver (e.g., electronic device B).
[0073] Figure 3 This is a flowchart of a communication method applied in a ride-hailing scenario, provided by an embodiment of this application.
[0074] S301, Post a ride-hailing order.
[0075] The client can access the internet via Wi-Fi or cellular networks to establish a communication connection with the ride-hailing platform. Passengers can place ride-hailing orders on the platform through their client, such as ride-hailing order T1 from location C to location D. In this embodiment, when placing a ride-hailing order, the passenger's client can send its Bluetooth identifier and Bluetooth pairing information along with the order to the ride-hailing platform.
[0076] S302, accepting taxi orders.
[0077] Similarly, the driver's app can also access the internet via Wi-Fi or cellular networks to establish a communication connection with the ride-hailing platform. The driver's app can then accept ride-hailing orders from the platform, such as ride-hailing order T1 mentioned above. When accepting an order, the driver's app can obtain the corresponding passenger's Bluetooth identifier and Bluetooth pairing information along with the order. The driver's app can then return its own Bluetooth identifier and Bluetooth pairing information to the ride-hailing platform. The ride-hailing platform can then send the driver's Bluetooth identifier and Bluetooth pairing information to the passenger's device.
[0078] S303, Obtain the estimated arrival time at the boarding point.
[0079] In a ride-hailing scenario, the platform can determine the travel time required for the driver to reach the passenger's pick-up point based on the current locations of both the passenger's and driver's devices. This travel time is also known as the estimated arrival time. The passenger can obtain this estimated arrival time from the platform. Furthermore, the passenger can use this estimated arrival time to determine when Bluetooth pairing information will take effect.
[0080] Similarly, the driver can also obtain the estimated arrival time at the pick-up point from the ride-hailing platform, and then determine the effective time of the Bluetooth pairing information based on the estimated arrival time at the pick-up point.
[0081] S304. Determine the effective time of Bluetooth pairing information based on the estimated arrival time at the boarding point.
[0082] Preferably, the effective time of the Bluetooth pairing information determined by the passenger based on the estimated arrival time at the pick-up point is earlier than the estimated arrival time at the pick-up point. For example, the passenger obtains the estimated arrival time at the pick-up point from the ride-hailing platform as 18:00. In this case, the passenger can determine the effective time of the Bluetooth pairing information as 17:59 based on the estimated arrival time of 18:00. This allows the passenger to begin Bluetooth scanning before the driver arrives at the pick-up point. Upon entering the near-field environment where the passenger is located, the passenger can detect the driver immediately and establish a Bluetooth communication connection as quickly as possible. Preferably, the interval between the effective time of the Bluetooth pairing information and the estimated arrival time at the pick-up point is less than 5 minutes. That is, the passenger can begin Bluetooth scanning before the driver arrives at the pick-up point, but not too early, to save power.
[0083] Ride-hailing platforms can update estimated arrival times at pick-up points based on traffic conditions. Correspondingly, both passenger and driver apps can update estimated arrival times at pick-up points in real time, thereby updating the effective time of Bluetooth pairing information.
[0084] Similarly, the driver's device will also execute S304. In this way, the effective time of the Bluetooth pairing information determined by the passenger and driver devices is close, and the passenger and driver devices can turn on Bluetooth one after the other to facilitate subsequent connection.
[0085] S305. After the Bluetooth pairing information is activated, turn on Bluetooth and scan for nearby devices.
[0086] After Bluetooth pairing is active, both the passenger and driver devices can activate Bluetooth to scan for nearby devices. Once the driver arrives at the passenger pick-up point, the passenger device can receive a Bluetooth broadcast message from the driver, thus discovering the driver. Conversely, once the driver arrives at the passenger pick-up point, the driver device can receive a Bluetooth broadcast message from the passenger, thus discovering the passenger. This dual scanning process by both the passenger and driver devices improves Bluetooth discovery speed, allowing them to establish a Bluetooth communication connection as quickly as possible.
[0087] In some embodiments, the passenger or driver may not perform a scanning operation after Bluetooth is activated, but only broadcast its own Bluetooth broadcast message (i.e., scanning is performed unilaterally by the passenger or driver) to reduce power consumption.
[0088] S306. After scanning the driver's terminal, a connection request is sent to the driver's terminal, and a Bluetooth communication connection is established with the driver's terminal through the received Bluetooth pairing information.
[0089] Taking the example where the passenger device first scans the driver device, after scanning the driver device, the passenger device can send a connection request to the driver device. This connection request can carry the Bluetooth pairing information previously received from the driver device. After verifying that the Bluetooth pairing information of the driver device carried in the connection request is correct, in response to the connection request, the driver device can send a confirmation message to the passenger device to establish a Bluetooth communication connection.
[0090] Similarly, when the driver's device first detects another driver's device, it can send a connection request to the passenger's device. This connection request can include the previously received Bluetooth pairing information from the passenger's device. After verifying the correctness of the passenger's Bluetooth pairing information in the connection request, the passenger's device can send a confirmation message to the driver's device in response to the connection request, thus establishing a Bluetooth communication connection.
[0091] S307. The driver's location is determined and displayed via Bluetooth communication.
[0092] Optionally, in some embodiments, after establishing a Bluetooth communication connection between the passenger end and the driver end, the passenger end can determine the orientation of the driver end based on the above Bluetooth communication connection. The orientation includes direction and distance. When the passenger end determines the orientation of the driver end, it means that the passenger end determines the direction and distance of the driver end relative to the passenger end. The passenger end (receiving end) can determine the distance and direction of the driver end (transmitting end) relative to itself through the phase difference of the received Bluetooth signals. The specific methods include, but are not limited to, Angle of Arrival (AOA), Angle of Departure (AOD), and Channel Sounding (CS).
[0093] After determining the orientation of the driver end, the passenger end can display the orientation of the driver end for the passenger to find the target vehicle as soon as possible, get on the vehicle and start the order journey.
[0094] Figures 4A-4C is a set of user interfaces provided by the embodiments of the present application for displaying the orientation of the driver end. Refer to Figure 4A , after determining the orientation of the driver end, the passenger end can display the card 411. The card 411 may include text 412, control 413, and text 414. The text 412 (such as "Yue B xxxxx has arrived") can be used to indicate that the target vehicle has arrived at the boarding point; the control 413 can be used to indicate the direction of the target vehicle relative to the current position of the passenger; the text 414 (such as "20 meters") can be used to indicate the distance of the target vehicle relative to the current position of the passenger. Refer to Figures 4B-4C , during the process of the passenger looking for the vehicle according to the card 411, the passenger end can update the orientation of the driver end in real time so that the passenger can find the target vehicle as soon as possible.
[0095] It can be understood that after establishing a Bluetooth communication connection between the passenger end and the driver end, the driver end can also determine the orientation of the passenger end based on the above Bluetooth communication connection and display the orientation of the passenger end so that the driver can find the passenger as soon as possible and start the order journey. This will not be elaborated here.
[0096] S308: Establish a call channel based on the Bluetooth communication connection and exchange voice data packets between the passenger end and the driver end.
[0097] Optionally, in some embodiments, after establishing a Bluetooth communication connection between the passenger end and the driver end, the passenger end and the driver end can respectively provide Bluetooth dialing services to the passenger and the driver and establish a call channel based on the Bluetooth communication connection.
[0098] Figures 5A-5C is a set of user interfaces provided by the embodiments of the present application for making Bluetooth calls. Refer to Figure 5A , the card 411 may further include a control 415. The control 415 can be used for Bluetooth dialing. Figure 5B Upon detecting a user action on control 415, either the passenger or driver's end can display controls 421 and 422. Control 421 can be used for Bluetooth dialing, and control 422 can be used for cellular dialing. Taking the passenger end as an example, after detecting a user action on control 421, the passenger end can send a dialing request to the driver end through a previously established Bluetooth communication connection. In response to this request, the passenger and driver ends can establish a call channel based on the Bluetooth communication connection. The passenger end sends passenger voice data packets to the driver end through this call channel, and the driver end sends driver voice data packets to the passenger end through the same call channel. (Reference) Figure 5C During a Bluetooth call, the passenger's device can display icon 423, indicating that the two parties are in a call.
[0099] This allows passengers and drivers to further describe their current location via Bluetooth calls, helping passengers find their target vehicle more quickly. Furthermore, calls made via Bluetooth are free, saving both passengers and drivers on phone bills.
[0100] Beyond Bluetooth calling, in some embodiments, the passenger and driver terminals can also provide other Bluetooth-based communication capabilities, such as Bluetooth SMS (including text and image SMS) and Bluetooth voice. In this way, in a near-field environment, passengers and drivers can communicate their current location via text, images, and voice, helping them meet as quickly as possible.
[0101] S309. After detecting the user's action of verifying boarding, a confirmation message is sent and the trip begins.
[0102] refer to Figure 4A The card 411 may also include a control 416. After boarding, the passenger can verify their boarding status using the control 416. Upon detecting a user action on the control 416, the passenger's device can send a confirmation message to the ride-hailing platform. In response to the confirmation message, the ride-hailing platform can confirm the start of the trip. Subsequently, the ride-hailing platform can begin navigation, start trip recording, etc.
[0103] Compared to the traditional method of determining passenger boarding by providing the last few digits of a phone number, the method provided in this application, which uses Bluetooth communication and passenger verification for boarding, not only reduces privacy leaks but also prevents fake ride-hailing. Fake ride-hailing refers to passengers providing false pick-up points but actually boarding at a different location to obtain specific subsidies for themselves or the driver.
[0104] S310, Disconnect Bluetooth communication connection.
[0105] After sending a confirmation message to the ride-hailing platform, the client can disconnect the Bluetooth communication connection with the driver.
[0106] In some embodiments, after sending a confirmation message to the ride-hailing platform, the client can maintain a communication connection with the driver. Upon detecting arrival at the destination, the client can send another confirmation message to the ride-hailing platform. In response to this confirmation message, the ride-hailing platform can confirm that the trip has ended and the passenger has arrived safely. After sending this second confirmation message, the passenger can disconnect the Bluetooth communication connection with the driver.
[0107] Optionally, if the Bluetooth communication connection between the passenger and driver is detected to be broken before arrival at the destination, the passenger and / or driver can send a risk alert to the ride-hailing platform so that the platform can monitor risky trips and improve trip safety.
[0108] Figure 6 This is a flowchart illustrating another communication method applied in a ride-hailing scenario, provided by an embodiment of this application. For example... Figure 6 As shown, the system implementing this method also includes a device cloud. Both the passenger and driver terminals are registered in the device cloud.
[0109] S601, Post a ride-hailing order.
[0110] S602: Accepts ride-hailing orders, returns driver information, and reports current location in real time.
[0111] In this embodiment, when placing a ride-hailing order, the passenger's device does not need to send its Bluetooth identifier and Bluetooth pairing information to the ride-hailing platform along with the order. Therefore, when accepting a ride-hailing order, the driver's device does not obtain the passenger's Bluetooth identifier and Bluetooth pairing information. Similarly, the driver's device does not return its own Bluetooth identifier and Bluetooth pairing information to the ride-hailing platform.
[0112] After accepting a ride-hailing order, the driver's app can return driver information to the ride-hailing platform, including but not limited to driver identification and license plate number. In some embodiments, the ride-hailing platform pre-stores driver information for each driver. Therefore, after accepting a ride-hailing order, the ride-hailing platform can also determine the corresponding driver information based on the driver identification on the driver's app. After accepting a ride-hailing order, the driver's app will also report its current location in real time so that the ride-hailing platform can determine the estimated arrival time at the pick-up point.
[0113] S603. Issue driver information (license plate number) and update the driver's current location and estimated arrival time at the pick-up point in real time.
[0114] The passenger app displays the driver's current location and estimated arrival time at the pick-up point in real time. Passengers can then use this information to navigate to the pick-up point and wait for the driver.
[0115] S604, synchronize ride-hailing orders (license plate number), upload the device's Bluetooth identifier and Bluetooth pairing information.
[0116] After receiving driver information, the passenger's app can send the ride-hailing order, including driver information, to the device cloud, effectively synchronizing the ride-hailing order with the device cloud. Simultaneously, the passenger's app can also upload its Bluetooth identifier and Bluetooth pairing information to the device cloud.
[0117] For example, Table 1 is a data format for passenger-side synchronized ride-hailing orders provided in an embodiment of this application:
[0118] Table 1
[0119]
[0120]
[0121] S605, synchronize ride-hailing orders (license plate number), upload the device's Bluetooth identifier and Bluetooth pairing information.
[0122] After executing S602 (accepting a ride-hailing order), the driver's app will also send the ride-hailing order, including driver information, to the device cloud, effectively synchronizing the ride-hailing order with the device cloud. Simultaneously, the driver's app will also upload its Bluetooth identifier and Bluetooth pairing information to the device cloud.
[0123] For example, Table 2 is a data format for driver-side synchronized ride-hailing orders provided in an embodiment of this application:
[0124] Table 2
[0125]
[0126] S606 matches the passenger and driver terminals of the same ride-hailing order, sends the driver terminal's Bluetooth identifier and Bluetooth pairing information to the passenger terminal, and sends the passenger terminal's Bluetooth identifier and Bluetooth pairing information to the driver terminal.
[0127] For ongoing ride-hailing orders, the ride-hailing platform can match the passenger and driver's devices for the same order based on the order number. Then, the device cloud can determine the Bluetooth information of both the passenger and driver's devices and exchange their Bluetooth information. The device cloud can send the driver's Bluetooth identifier and pairing information to the passenger's device, and vice versa.
[0128] For example, after identifying passenger-side Dev1 and driver-side Dev2 based on order number "2024110700001", the device cloud can determine the Bluetooth identifier "Lili" and Bluetooth pairing information "W2L34I" for passenger-side Dev1, and the Bluetooth identifier "Haha" and Bluetooth pairing information "H2OJD9" for driver-side Dev2. Then, the device cloud can send the Bluetooth identifier "Haha" and Bluetooth pairing information "H2OJD9" for driver-side Dev1, and send the Bluetooth identifier "Lili" and Bluetooth pairing information "W2L34I" for passenger-side Dev2. Thus, passenger-side Dev1 and driver-side Dev2 can know each other's Bluetooth identifiers and Bluetooth pairing information.
[0129] S607. Determine the effective time of Bluetooth pairing information based on the estimated arrival time at the boarding point.
[0130] Based on the real-time updated current location and estimated arrival time at the boarding point obtained by the S603, the passenger terminal can update the effective time of Bluetooth pairing information in real time, so that Bluetooth scanning can start before the driver is about to arrive at the passenger boarding point. After the driver terminal enters the near-field environment where the passenger terminal is located, the passenger terminal can detect the driver terminal as soon as possible and establish a Bluetooth communication connection with the driver terminal as soon as possible. At the same time, it avoids turning on Bluetooth too early and wasting power.
[0131] S608: After the Bluetooth pairing information is activated, start Bluetooth and scan for nearby devices.
[0132] S609. Establish a Bluetooth communication connection based on the received Bluetooth pairing information from the peer.
[0133] Taking the aforementioned passenger terminal Dev1 as an example, after the Bluetooth pairing information is activated, passenger terminal Dev1 can activate Bluetooth, discover nearby Bluetooth devices, and, based on the previously received Bluetooth identifier "Haha" from the driver terminal, search for the nearby device with the Bluetooth identifier "Haha" (i.e., driver terminal Dev2). After finding driver terminal Dev2, passenger terminal Dev1 can perform pairing verification with driver terminal Dev2 based on the previously received Bluetooth pairing information "H2OJD9" from the driver terminal, thereby establishing a Bluetooth communication connection.
[0134] S610 determines and displays the driver's location via Bluetooth communication.
[0135] S611. Establish a call channel based on Bluetooth communication connection and exchange voice data packets between the passenger end and the driver end.
[0136] S612. After detecting the user's action of verifying and boarding the vehicle, send a confirmation message.
[0137] S613, Start Trip: Instructs both the passenger and driver ends to begin the trip and synchronizes the trip progress.
[0138] S614, Disconnect Bluetooth communication connection.
[0139] For details regarding S610 to S614 above, please refer to [link / reference]. Figure 3 The details of S307 to S310 will not be repeated here.
[0140] When the electronic devices for both the passenger and driver sides are from the same equipment manufacturer, implement... Figure 6 The method shown allows passengers and drivers to exchange information via Bluetooth based on the device cloud, without needing to exchange information through the ride-hailing platform. This reduces the device manufacturer's dependence on third-party platforms and increases the device manufacturer's autonomy and independence.
[0141] Similarly, Figure 1 The communication method shown can also be applied to other internet consumption scenarios, such as food delivery and errand-running. This application's embodiments do not impose limitations on this. Figure 1 For specific applications of the communication method shown in other internet consumption scenarios such as food delivery and errand running, please refer to [reference needed]. Figure 3 The embodiments in this application will not be described in detail here.
[0142] Preferably, both the passenger and driver terminals are mobile devices. However, they are not limited to mobile phones; the passenger and / or driver terminals can also be other types of electronic devices, and this application embodiment does not impose such limitations. For example, the passenger terminal can also be a tablet computer, laptop computer, smart wearable device, or other electronic device, and the driver terminal can also be an embedded vehicle terminal or other electronic device.
[0143] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. This electronic device can be used as... Figure 1 Electronic device A in the communication method shown can also serve as the peer electronic device B. For example... Figure 7 As shown, the electronic device includes a chip system 61, a memory 62, an audio module 63, a display 64, a camera 65, and a sensor module 66.
[0144] The chip system 61 includes one or more processors (also called chips), such as an application processor (AP), a baseband processor (BP), a Bluetooth processor, a Wi-Fi processor, and a graphics processing unit (GPU), an image signal processor (ISP), a video codec, and a digital signal processor (DSP). GPUs, ISPs, video codecs, and DSPs are not all shown in the diagram.
[0145] The processor may include one or more interfaces, such as an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface. The processor communicates with other components through these interfaces.
[0146] Electronic devices can provide mobile communication solutions, including 2G / 3G / 4G / 5G, and wireless communication solutions, including Wi-Fi and Bluetooth, through chips and other components such as APs, BPs, Bluetooth processors, and Wi-Fi processors. Chip system 61 may also include a GNSS processor for global navigation satellite systems (GNSS), an NFC processor for near-field communication (NFC) technology, and an IR processor for infrared (IR) technology, and so on. Electronic devices can provide corresponding wireless communication capabilities through these processors.
[0147] The memory 62 includes one or more random access memory (RAM) and one or more non-volatile memory (NVM). RAM includes, for example, static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), and double data rate synchronous dynamic random access memory (DDR SDRAM, e.g., fifth-generation DDR SDRAM, generally referred to as DDR5 SDRAM). NVM includes, for example, disk storage devices and flash memory.
[0148] RAM can be directly read and written by the processor. It can be used to store executable programs (such as machine instructions) of the operating system or other running programs, as well as user and application data. NVM can store executable programs and user data. Executable programs and user data stored in NVM can be loaded into RAM for direct read and write operations by the processor.
[0149] In this embodiment, the executable program code implementing the communication method described herein can be stored in the NVM. After power-on, the electronic device can obtain the executable program code from the NVM, load it into RAM, and run the communication method. In this way, the electronic device can obtain short-range pairing information of the target device in advance, such as Bluetooth pairing information. After the predetermined effective time of the short-range pairing information, the electronic device can automatically scan for nearby devices. After detecting the target device, the electronic device can automatically establish a short-range connection with the target device based on the previously obtained pairing information, and then transmit service data, such as control signaling, audio data, and image data, based on the short-range connection. Through the above communication method, even if the target device is not currently in the near-field environment of the electronic device, the user can instruct the electronic device to connect to the target device in advance, thus eliminating the need for the user to manually search for and discover the target device repeatedly, and providing convenience for the user to connect to the target device.
[0150] Electronic devices may also include an external memory interface for connecting to an external NVM to expand the storage capacity of the electronic device.
[0151] Audio module 63 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. Audio module 63 includes a speaker, a receiver, and a microphone. The speaker, also called a "loudspeaker," is used to convert audio electrical signals into sound signals. The receiver, also called a "earpiece," is used to convert audio electrical signals into sound signals. Electronic devices can play audio through the speaker / receiver for users to listen to. The microphone, also called a "microphone" or "voice transducer," is used to collect sound signals and convert them into electrical signals.
[0152] For example, in the Bluetooth calling service provided in the embodiments of this application, the electronic device can collect the voice signal of the passenger / driver through the microphone, convert it into an electrical signal, and then send it to the target device at the other end through chips such as AP, BP and Bluetooth processor, and play it through the receiver or speaker of the target device.
[0153] Display 64 includes a display panel. The display panel can be a liquid crystal display (LCD). Alternatively, the display panel can be manufactured using organic light-emitting diodes (OLEDs), active-matrix organic light-emitting diodes (AMOLEDs), flexible light-emitting diodes (FLEDs), miniled, microled, micro-OLEDs, quantum dot light-emitting diodes (QLEDs), etc. Optionally, the electronic device may include one or more displays 64. The electronic device can implement display functions through a GPU, display 64, and an application processor (AP), displaying information such as... Figures 2A-2D , Figures 4A-4C , Figures 5A-5C The user interface shown.
[0154] Camera 65 is used to capture images. Electronic devices may include one or more cameras 65. The electronic devices may implement the shooting function through ISP, camera 65, video codec, GPU, display 64, and application processor, etc.
[0155] It is understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device. In other embodiments of this application, the electronic device may include more components, which will not be listed here.
[0156] The term "user interface (UI)" used in the specification, claims, and drawings of this application refers to the medium through which an application or operating system interacts and exchanges information with the user. It converts information from its internal form to a form acceptable to the user. The user interface of an application is source code written in a specific computer language such as Java or Extensible Markup Language (XML). This source code is parsed and rendered on the terminal device, ultimately presenting user-recognizable content such as images, text, and buttons. Controls, also known as widgets, are the basic elements of the user interface. Typical controls include toolbars, menu bars, text boxes, buttons, scroll bars, images, and text. The attributes and content of controls in the interface are defined using tags or nodes, such as XML tags. <textview> 、 <imgview> 、
[0157] <videoview>Nodes define the controls contained in the interface. A node corresponds to a control or property in the interface, and after parsing and rendering, the node is presented as the content visible to the user. In addition, many applications, such as hybrid applications, often contain web pages within their interfaces. A web page, also known as a webpage, can be understood as a special control embedded in the application interface. Web pages are source code written in a specific computer language, such as Hypertext Markup Language (HTML), Cascading Style Sheets (CSS), JavaScript (JS), etc. Web page source code can be loaded and displayed as user-readable content by a browser or a web page display component with browser-like functionality. The specific content contained in a webpage is also defined through tags or nodes in the webpage source code; for example, HTML uses tags or nodes to define the content. 、 、 <video> 、 <canvas>To define the elements and attributes of a webpage.
[0158] The most common form of user interface is the graphical user interface (GUI), which refers to a user interface related to computer operation displayed graphically. It can be an icon, window, control, or other interface element displayed on the screen of an electronic device. Controls can include visual interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets.
[0159] As used in the specification and appended claims of this application, the singular expressions "a," "an," "the," "the," "the," and "this" are intended to include the plural expressions as well, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and includes any or all possible combinations of one or more of the listed items. As used in the above embodiments, depending on the context, the term "when" can be interpreted as meaning "if..." or "after..." or "in response to determining..." or "in response to detecting...". Similarly, depending on the context, the phrase "when determining..." or "if (the stated condition or event) is interpreted as meaning "if determining..." or "in response to determining..." or "when (the stated condition or event) is detected" or "in response to detecting (the stated condition or event)."
[0160] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive), etc.
[0161] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.< / canvas> < / video> < / videoview> < / imgview> < / textview>
Claims
1. A communication method applied to a first electronic device, characterized in that, The method includes: The second connection information of the second electronic device is received in the first network. The second connection information is the connection information required to establish the second short-range communication technology connection. By scanning nearby devices using the second short-range communication technology, and after detecting the second electronic device, a second communication connection is established with the second electronic device using the second connection information of the second electronic device; Alternatively, after detecting a scanning operation of the second electronic device based on the second short-range communication technology, a second communication connection is established with the second electronic device through the second connection information of the first electronic device, wherein the second connection information of the first electronic device is received by the second electronic device in the first network; The second network, consisting of the first electronic device, the second electronic device, and the second communication connection, is different from the first network.
2. The method according to claim 1, characterized in that, The method further includes: The first order is issued, and the first order is received by the second electronic device; Alternatively, accept the first order, which is issued by the second electronic device.
3. The method according to claim 1, characterized in that, The method further includes: After the effective time of the second connection information is entered, the second short-range communication technology is enabled.
4. The method according to claim 3, characterized in that, The method further includes: Obtain a first planned time from a first server, the first planned time being the estimated time required for the first electronic device and the second electronic device to meet; The effective time of the second connection information is determined based on the first planned time.
5. The method according to claim 4, characterized in that, The second connection information takes effect earlier than the first planned time.
6. The method according to claim 4, characterized in that, After establishing the second communication connection, the method further includes: Upon detecting the confirmation operation, a confirmation message is sent to the first server, indicating that the first electronic device and the second electronic device have met.
7. The method according to claim 2, characterized in that, The first order was a ride-hailing order.
8. The method according to claim 6, characterized in that, After sending a confirmation message to the first server, the method further includes: disconnecting the second communication connection after determining that the destination has been reached.
9. The method according to claim 1, characterized in that, The method further includes: The location of the second electronic device is determined based on the second communication connection, and the location of the second electronic device is displayed.
10. The method according to claim 1, characterized in that, The method further includes: Based on the second communication connection, communication information is sent to the second electronic device or received from the second electronic device. The communication information includes one or more of the following: voice, text, and images.
11. The method according to claim 1, characterized in that, The second communication connection is a Bluetooth communication connection.
12. The method according to claim 4, characterized in that, The second connection information of the second electronic device is sent to the first electronic device by the second server, which is different from the first server.
13. The method according to claim 4, characterized in that, The second connection information of the second electronic device is sent to the first electronic device by the first server.
14. A communication method applied to a first server, characterized in that, The method includes: Based on the first network, the second connection information of the first electronic device is received. The second connection information is the connection information required to establish a second short-range communication technology connection. The second connection information of the first electronic device is sent to the second electronic device for the second electronic device to connect to the first electronic device and establish a second network. The second network is different from the first network. The first network receives the second connection information of the second electronic device and sends the second connection information of the second electronic device to the first electronic device, so that the first electronic device can connect to the second electronic device and establish the second network.
15. The method according to claim 14, characterized in that, The method further includes: A first planned time is determined, which is the time required for the first electronic device and the second electronic device to meet. This first planned time is used to determine the effective time of the second connection information. During the effective period of the second connection information, the first electronic device can connect to the second electronic device through the second connection information of the second electronic device, and the second electronic device can connect to the first electronic device through the second connection information of the first electronic device.
16. The method according to claim 14, characterized in that, The method further includes: Identify the first electronic device and the second electronic device corresponding to the first order, wherein one electronic device publishes the first order and the other electronic device accepts the first order.
17. The method according to claim 14, characterized in that, The method further includes: A confirmation message is received from either the first electronic device or the second electronic device, the confirmation message indicating that the first electronic device and the second electronic device have met.
18. The method according to claim 14, characterized in that, The second network is a Bluetooth communication network.
19. A communication method applied to a first server, characterized in that, The method includes: Based on receiving order information and second connection information from the first electronic device via the first network, the second connection information is the connection information required to establish a second short-range communication technology connection; Based on the first network receiving the order information and second connection information of the second electronic device, Based on the order information of the first electronic device and the order information of the second electronic device, it is determined that the first electronic device and the second electronic device are two devices associated with the same order; The second connection information of the first electronic device is sent to the second electronic device, so that the second electronic device can connect to the first electronic device and establish a second network, which is different from the first network. The second electronic device sends the second connection information to the first electronic device, so that the first electronic device can connect to the second electronic device and establish the second network.
20. The method according to claim 19, characterized in that, The second network is a Bluetooth communication network.
21. An electronic device, characterized in that, It includes one or more processors and one or more memories; wherein the one or more memories are coupled to the one or more processors, and the one or more memories are used to store a computer program that, when the one or more processors execute the computer program, causes the method as described in any one of claims 1-13, 14-18 or 19-20 to be performed.
22. A chip system applied to an electronic device, the chip system comprising one or more processors, characterized in that, The processor is used to invoke computer instructions to cause the electronic device to perform the method as described in any one of claims 1-13, 14-18 or 19-20.
23. A computer program product containing instructions, characterized in that, When the computer program product is run on an electronic device, it causes the electronic device to perform the method as described in any one of claims 1-13, 14-18, or 19-20.
24. A computer-readable storage medium comprising a computer program, characterized in that, When the computer program is run on an electronic device, it causes the electronic device to perform the method as described in any one of claims 1-13, 14-18, or 19-20.