Communication method, apparatus and device, and computer readable storage medium
By forming a second local area network between the vehicle and the mobile terminal, the problem of poor communication between the vehicle and the external equipment is solved, diversified interaction between the external equipment and the vehicle is realized, and the user experience is improved.
Patent Information
- Application Number
- CN202510050524.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-13
- Publication Date
- 2025-04-08
AI Technical Summary
The local area network communication between existing vehicles and external devices is poor, resulting in limited interaction scenarios between external vehicles and vehicles, affecting users' mobile phone, car and computer interconnection experience.
By monitoring network sharing events, the connection between the mobile terminal and the communication module inside the vehicle is controlled, and a second local area network is formed to realize communication between the mobile terminal and various domains inside the vehicle.
It effectively solves the problem of poor local area network communication between vehicles and external devices, expands the interaction scenarios between external devices and vehicles, and improves the user's mobile phone and vehicle interconnection experience.
Smart Images

Figure CN119789059A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a communication method, device, equipment and computer-readable storage medium. Background Art
[0002] With the development and popularization of vehicle-related technologies, more and more types of off-board devices have the need to interact and communicate with vehicles. For example, as the penetration rate of large-screen in-vehicle screens increases year by year, the trend of large-screen and multi-screen makes the car screen control scenarios more diversified, and the demand for mobile phone audio and video content to large-screen terminals is gradually revealed. Users can get a better audio-visual experience through mobile phone screen projection, achieve content sharing, amplification, save membership fees, etc., and vehicle manufacturers can also save ecological adaptation fees for some audio and video applications through the screen projection function. Therefore, it is necessary to establish communication between mobile phones and car machines, realize the mobile phone ecosystem on car machines, and expand the use scenarios of car screens.
[0003] In the process of implementing the existing technology, the inventor found that in order to realize the specific type of data transmission requirements between external devices such as mobile phones and vehicles, it is necessary to form a network between the external devices and specific functional modules inside the vehicle. For example, in order to realize the projection of the mobile phone screen to the vehicle display, it is necessary to establish a local area network between the mobile phone and the DHU (Desktop Head Unit). Furthermore, the inventor found that the functional modules inside the existing vehicles cannot be directly networked with the external devices of the vehicle, which limits the interaction scenarios between the external devices and the vehicle, affecting the user's mobile phone vehicle interconnection experience. Summary of the invention
[0004] In view of this, embodiments of the present application provide a communication method, apparatus, device, and computer-readable storage medium, which can solve the problem of poor communication between existing vehicles and local area networks of devices outside the vehicle.
[0005] In a first aspect, an embodiment of the present application provides a communication method, the communication method comprising: Monitoring a network sharing event of a first object; wherein the first object includes at least one object in a target object set; the objects in the target object set include a mobile terminal and a first communication module in a target vehicle; the first communication module is used for communicating within the target vehicle through a first local area network; If the network sharing event is monitored, the second object is controlled to connect to the network shared by the first object, so that the first object and the second object communicate through a second local area network; wherein the second object includes at least one of the other objects in the target object set except the first object.
[0006] By adopting the above technical solution, the first communication module and the mobile terminal are exposed to each other in a network sharing manner, so that the mobile terminal can establish a second local area network with the first communication module. At the same time, considering that the first communication module is used inside the target vehicle for communication between multiple domains inside the vehicle through the first local area network, a first local area network is established between the mobile terminal and the first communication module, so that the mobile terminal can communicate with each domain in the target vehicle, thereby realizing interactive operations such as projecting the screen to the DHU in the cockpit domain through a mobile phone, thereby improving the user's mobile phone-vehicle interconnection experience.
[0007] In some embodiments, the method further comprises: Detecting whether there is a first data transmission demand between the first object and the second object; If the first data transmission demand is detected and the network sharing event is monitored, the second object is controlled to connect to the network shared by the first object.
[0008] In some embodiments, the method further comprises: Monitoring preset events of a target application on the first object and / or the second object; the target application is used to perform preparatory actions before data transmission; If the preset event is monitored, it is determined that the first data transmission request is detected.
[0009] In some embodiments, the objects in the target object set also include a second communication module in the target vehicle; the second communication module is used for the target vehicle to communicate with the outside of the vehicle through a first wide area network; the method also includes: Controlling the second communication module to start network sharing; Monitoring a first target event; the first target event includes an event in which the mobile terminal is connected to a network shared by the second communication module; If the first target event is monitored, the first communication module is controlled to connect to the network shared by the second communication module, so as to establish the second local area network among the first communication module, the second communication module and the mobile terminal.
[0010] In some embodiments, the target object set further includes a second communication module in the target vehicle; the second communication module is used for the target vehicle to communicate with the outside of the vehicle through a first wide area network; the method further includes: monitoring the network sharing event of the mobile terminal; If the network sharing event is monitored, controlling the second communication module to connect to the network shared by the mobile terminal; Acquiring identification information of a network shared by the mobile terminal through the second communication module; The first communication module is controlled to connect to a network shared by the mobile terminal according to the identification information, so as to form the second local area network among the first communication module, the second communication module and the mobile terminal.
[0011] In some embodiments, the target object set further includes a second communication module in the target vehicle; the second communication module is used for the target vehicle to communicate with the outside of the vehicle through a first wide area network; the method further includes: Monitoring a second target event; the second target event includes an event in which the second local area network is successfully established between the first communication module and the mobile terminal; If the second target event is monitored, controlling the second communication module to start network sharing; Control the first communication module and / or the mobile terminal to connect to a network shared by the second communication module.
[0012] In some embodiments, the target object set further includes a second communication module in the target vehicle; the second communication module is used for the target vehicle to communicate with the outside of the vehicle through a first wide area network; the method further includes: Controlling the first communication module to start network sharing; Monitoring a third target event; the third target event includes the mobile terminal being connected to a network shared by the first communication module; If the third target event is monitored, the second communication module is controlled to connect to the network shared by the first communication module.
[0013] In a second aspect, an embodiment of the present application further provides a communication device, the communication device comprising: A monitoring module, used for monitoring a network sharing event of a first object; wherein the first object includes at least one object in a target object set; the objects in the target object set include a mobile terminal and a first communication module in a target vehicle; the first communication module is used for communicating inside the target vehicle through a first local area network; A control module is used to control the second object to connect to the network shared by the first object if the network sharing event is monitored, so that the first object and the second object can communicate through a second local area network; wherein the second object includes at least one of the other objects in the target object set except the first object.
[0014] In a third aspect, an embodiment of the present application further provides a communication device, comprising a processor and a memory, wherein the memory is used to store instructions, and the processor is used to call the instructions in the memory so that the communication device executes the communication method described in the first aspect.
[0015] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions. When the computer instructions are executed on a processor, the processor executes the communication method as described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 The present invention is a flowchart of a communication method according to an embodiment of the present application.
[0017] Figure 2 A flowchart of sub-steps of a communication method provided according to an embodiment of the present application.
[0018] Figure 3 A flowchart of sub-steps of a communication method provided according to an embodiment of the present application.
[0019] Figure 4 A flowchart of sub-steps of a communication method provided according to an embodiment of the present application.
[0020] Figure 5 A flowchart of sub-steps of a communication method provided according to an embodiment of the present application.
[0021] Figure 6 A flowchart of sub-steps of a communication method provided according to an embodiment of the present application.
[0022] Figure 7 A flowchart of sub-steps of a communication method provided according to an embodiment of the present application.
[0023] Figure 8 The present invention is a flowchart of a communication method according to another embodiment of the present application.
[0024] Fig. 9 The present invention is a flowchart of the steps of a communication method provided according to another embodiment of the present application.
[0025] Fig.10 The present invention is a schematic diagram of the structure of a communication device provided according to an embodiment of the present application.
[0026] Fig.11 The present invention is a schematic diagram of the structure of a communication device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0027] In order to more clearly understand the above-mentioned purposes, features and advantages of the present application, the present application is described in detail below in conjunction with the accompanying drawings and specific implementation methods. It should be noted that the implementation methods of the present application and the features in the implementation methods can be combined with each other without conflict.
[0028] In the following description, many specific details are set forth to facilitate a full understanding of the present application. The described implementations are only part of the implementations of the present application, rather than all the implementations.
[0029] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.
[0030] It should be further noted that, in this article, the terms "comprises", "includes" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0031] In this application, "at least one" means one or more, and "more" means two or more than two. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The terms "first", "second", "third", "fourth", etc. (if any) in the specification, claims and drawings of this application are used to distinguish similar objects, rather than to describe a specific order or sequence.
[0032] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0033] In the related art, there is a demand for interaction between the functional modules inside the vehicle and the external devices, such as projecting the screen to the DHU of the target vehicle through a mobile phone. The inventor found that the network environment inside the vehicle is complex and highly closed. Specifically, the first local area network is established through the first communication module between the multiple systems inside the vehicle for communication. A local area network address of the first local area network corresponds to a candidate functional module under a system of the vehicle, such as DHU (Desktop Head Unit). The multiple systems can be multiple domains of the vehicle, such as the power domain, chassis domain, body domain, cockpit domain and automatic driving domain. Optionally, the multiple systems can also be multiple ECUs (Electronic Control Units) in the vehicle. The first communication module can be a module with communication functions preset in the target vehicle, such as onboard WIFI (Wireless Fidelity). It should be noted that the first communication module in existing vehicles is only used for LAN communication between functional modules inside the vehicle and is hidden from the outside. The specific reasons for hiding may include safety considerations for the internal environment of the vehicle, or the design did not take into account the docking requirements between the internal ecology of the vehicle and the ecology of external equipment, such as not taking into account the speed and trend of the development and expansion of the functions of the cockpit domain.
[0034] Based on this, when the vehicle and external devices such as mobile phones form a second local area network, in order to correctly respond to and process the communication requests of the external devices, it is necessary to form a second local area network between the external devices and the specific functional components to which they request to connect. For example, when a mobile phone sends a screen projection request to a vehicle, it is necessary to network the mobile phone with the domain where the DHU is located to meet the screen projection needs of the mobile phone. However, as mentioned above, since the functional design of the first communication module of existing vehicles is limited to communicating with various systems inside the vehicle on the first local area network, it is not directly visible and available to the outside of the vehicle, which results in the interaction scenarios between existing external devices and vehicles being limited, affecting the user's mobile phone vehicle interconnection experience.
[0035] In view of this, the embodiments of the present application provide a communication method, apparatus, device and computer-readable storage medium, which can realize local area network networking between the vehicle's internal environment and external devices, expand the interaction scenarios between external devices and the vehicle, and enhance the user's mobile phone and vehicle interconnection experience.
[0036] See also Figure 1 , is a flow chart of the steps of a communication method provided in an embodiment of the present application. According to different requirements, the order of the steps in the flow chart can be changed, and some steps can be omitted. The communication method of the embodiment of the present invention is based on an electronic device, and the electronic device is a device with communication functions, data processing and certain storage capabilities. Specifically, the electronic device may include a vehicle and / or a mobile terminal, which is not limited by the embodiment of the present invention.
[0037] See also Figure 1 As shown, the communication method may include the following steps: Step 101: monitor the network sharing event of the first object; wherein the first object includes at least one object in the target object set; the objects in the target object set include a mobile terminal and a first communication module in a target vehicle; the first communication module is used for communicating within the target vehicle through a first local area network.
[0038] The network sharing event of the first object is monitored by the aforementioned electronic device. Specifically, the network sharing event of the target vehicle can be monitored by the mobile terminal, or the network sharing event of the mobile terminal itself can be monitored. Correspondingly, the network sharing event of the target vehicle itself can be monitored by the target vehicle, or the network sharing event of the mobile terminal can be monitored.
[0039] The mobile terminal may include devices other than vehicles, such as mobile phones, laptops, tablet computers, and wearable smart devices. The target object set includes multiple objects, including a mobile terminal and a first communication module. The first communication module refers to a communication device that has a local area network for the vehicle, and may specifically include onboard WIFI. The network sharing event refers to the current device opening the network sharing function so that other devices can access the network through the current device, that is, the current device serves as a network card for other devices, and may specifically include turning on a WIFI hotspot. The first local area network is used for communication between multiple systems inside the target vehicle. Among them, the multiple systems may be multiple domains of the vehicle, such as a power domain, a chassis domain, a body domain, a cockpit domain, and an automatic driving domain. Optionally, the multiple systems may also be multiple ECUs in the vehicle. One system includes one or more functional modules, such as including a DHU in the cockpit domain. It can be understood that in order to realize the projection of the mobile phone to the vehicle, it is necessary to establish a local area network communication between the mobile phone and the DHU. It should be noted that the first communication module in the existing vehicle is only used for local area network communication between functional modules inside the vehicle, and it is hidden from the outside, that is, the existing mobile terminal cannot directly discover the existence of the first communication module when searching for objects that can form a local area network. The reason for hiding the first communication module may be due to security considerations for the internal environment of the vehicle or restrictions on vehicle functions during design. In the embodiment of the present invention, the first communication module and the mobile terminal are exposed to each other through network sharing, so that the internal environment of the vehicle is open to the external mobile terminal, providing a basis for the subsequent establishment of the second local area network.
[0040] It should be noted that in some embodiments, considering that the mobile terminal may generate traffic fees when opening network sharing, or the mobile terminal may not have the network sharing function, or the user has security or performance concerns about opening network sharing on the mobile terminal, the first communication module may be controlled to open network sharing before step 101 to trigger subsequent network sharing events. The network sharing event is triggered by the target vehicle, which can reduce the networking cost of the mobile terminal user and improve the networking efficiency of the vehicle and the mobile terminal outside the vehicle.
[0041] Optionally, a first prompt message may be sent to the mobile terminal through the vehicle, and the first prompt message is used to prompt the user of the mobile terminal to turn on the network sharing function of the mobile terminal. Optionally, the first prompt message may also be displayed through the mobile terminal. Specifically, when the mobile terminal and / or the vehicle detects that an application for projecting the screen to the vehicle is started on the mobile terminal, a first prompt message is sent to the mobile terminal through the vehicle or the first prompt message is displayed through the mobile terminal to prompt the user of the mobile terminal to turn on the network sharing function of the mobile terminal, so as to facilitate the establishment of a second local area network between the vehicle and the mobile terminal.
[0042] Step 102: If the network sharing event is monitored, control the second object to connect to the network shared by the first object, so that the first object and the second object communicate through a second local area network; wherein the second object includes at least one of the other objects in the target object set except the first object.
[0043] The second object is connected to the network shared by the first object by controlling the aforementioned electronic device. Specifically, when the second object is a mobile terminal and the first object is a target vehicle, the mobile terminal can control itself to connect to the network shared by the target vehicle. Correspondingly, when the second object is a target vehicle and the first object is a mobile terminal, the target vehicle can control itself to connect to the network shared by the mobile terminal.
[0044] The second object may be all objects other than the first object in the target object set, or may be a specific object determined from objects other than the first object in the target object set according to the current networking requirement. Specifically, the current networking requirement may be determined based on a networking request sent by any object in the target object set, and the networking request is used to request to establish a second local area network with a specific object in the target object set.
[0045] If a network sharing event is monitored, the identification information of the network shared by the first object and other target information required for connecting to the shared network are obtained, and the second object is controlled to connect to the network shared by the first object according to the target information, thereby making the first object and the second object located in the same local area network. Furthermore, based on the communication function of the first communication module inside the target vehicle, data transmission between the mobile terminal and the functional module inside the target vehicle is achieved through the second local area network. The local area network communication method can effectively improve the network quality and user experience of the interconnection between mobile terminals such as mobile phones and vehicles.
[0046] Considering that network sharing needs to consume certain resources, such as traffic resources, processing resources, and power resources, in some embodiments, Figure 2 As shown, the process of controlling the second object to connect to the network shared by the first object includes: Step 1021: Detect whether there is a first data transmission requirement between the first object and the second object.
[0047] Wherein, this step is performed by the aforementioned electronic device. The first data transmission requirement is used to characterize the need for unidirectional or bidirectional data transmission between at least two objects in the target object set. For example, the first data transmission requirement may be the need for a mobile terminal to project a screen onto an on-board display screen of a target vehicle. Optionally, the first data transmission requirement may also be the need for the autonomous driving domain of the target vehicle to send a driving data report to the mobile terminal.
[0048] In order to improve the networking efficiency of the second local area network and avoid the need to wait for a long time before forming the second local area network after the first data transmission demand appears, in another embodiment of the present invention, Figure 3 As shown, the detection process of the first data transmission demand includes: Step 10211: monitor preset events of a target application on the first object and / or the second object; the target application is used to perform preparatory actions before data transmission.
[0049] Among them, this step is performed by the aforementioned electronic device. Considering that before formal data transmission, it is generally necessary to perform some preparatory actions to prepare for data transmission. On the basis of establishing a communication connection between the first object and the second object, data transmission can be directly carried out through the communication connection, and the completion of the preparatory action requires a certain amount of time. Among them, the target application can be an application that includes a data transmission program, such as an application that projects a mobile phone to a vehicle display screen. Preset events may include events that need to be completed before formal data transmission, such as starting an application for data transmission, initializing a data transmission environment, starting processes related to data transmission, obtaining data to be transmitted, compressing and standardizing data to be transmitted, and other preprocessing. Step 10212: If the preset event is monitored, it is determined that the first data transmission request is detected.
[0050] Among them, this step is performed by the aforementioned electronic device. Considering that it takes a certain amount of time for the preparatory action to be executed from the beginning to the completion, if the network sharing event and the subsequent process of establishing the second local area network are started after the preparatory action is completed, it may cause a long waiting time for networking, affecting the networking efficiency and user experience. Therefore, in the embodiment of the present invention, when the preset event is monitored, it is determined that the first data transmission request is detected, thereby triggering the subsequent networking process of the second local area network, so that while the preparatory action is executed, the networking action of the second local area network is performed, and various preparations required for data transmission are asynchronously performed, which greatly improves the communication efficiency between the target vehicle and the mobile terminal.
[0051] Step 1022: If the first data transmission demand is detected and the network sharing event is monitored, control the second object to connect to the network shared by the first object.
[0052] Among them, this step is performed by the aforementioned electronic device. Considering the networking cost of the second local area network, only when there is a first data transmission demand, that is, there is a networking demand, and the network sharing event is monitored, that is, the networking condition is met, the second object is controlled to connect to the network shared by the first object, thereby avoiding the waste of resources caused by multiple failed attempts to establish the second local area network.
[0053] Optionally, the target vehicle further includes a second communication module, which is used for the target vehicle to communicate with the outside of the vehicle through a wide area network. Based on the target vehicle's own need to access the Internet, the target vehicle is generally equipped with a second communication module. The second communication module can be such as a vehicle WIFI, so that the target vehicle has traffic and can access the public network outside the vehicle such as the Internet. Among them, the vehicle WIFI can be a TCAM (Telematics Connectivity Antenna Module, vehicle-mounted smart antenna) WIFI device. TCAM WIFI device is an emerging product that combines 5G with the Internet of Vehicles, which concentrates on the latest 5G communication technology, vehicle-mounted high-speed Ethernet technology, and integrates the traditional vehicle-mounted WIFI wireless hotspot function. Among them, correspondingly, considering that the first communication module is used for the first local area network communication inside the target vehicle, the first communication module does not have the function of communicating with the external device through a wide area network. Therefore, after the second local area network is established between the first communication module and the mobile terminal, the device in the second local area network cannot directly communicate with the public network outside the vehicle through a wide area network, so the network communication capability of the device in the second local area network is greatly limited. Therefore, in yet another embodiment of the present invention, Figure 4As shown, the method also includes: Step 103: Control the second communication module to start network sharing.
[0054] The step is performed by the aforementioned electronic device. The second communication module starts network sharing so that the second communication module can provide other devices with the ability to access the network. Specifically, the second communication module can be controlled to start a WIFI hotspot for network sharing.
[0055] Optionally, considering that network sharing has certain costs, such as traffic cost, computing cost, etc., which will increase the load on the second communication module, therefore, in some embodiments, the process of controlling the second communication module to start network sharing includes: detecting the second data transmission demand between the first communication module and / or the mobile terminal and the outside of the vehicle.
[0056] The second data transmission requirement is used to indicate that one-way or two-way data transmission is required between the first communication module and / or the mobile terminal and the outside of the vehicle. For example, the second data transmission requirement may be that the mobile terminal needs to use chat software to send and receive messages with a device outside the vehicle. Alternatively, the second data transmission requirement may also be that the target vehicle needs to use navigation software to obtain map information from a navigation server outside the vehicle.
[0057] If the second data transmission requirement is detected, the second communication module is controlled to start network sharing.
[0058] Taking into account the cost of enabling network sharing for the second communication module, in order to further save energy consumption and communication costs of the target vehicle, the second communication module is controlled to enable network sharing only when the second data transmission demand is detected.
[0059] Step 104: monitor a first target event; the first target event includes an event in which the mobile terminal is connected to a network shared by the second communication module.
[0060] Among them, this step can be performed by the aforementioned electronic device. Optionally, in order to prompt the mobile terminal to connect to the network shared by the second communication module, thereby improving the efficiency of establishing the second local area network in the subsequent steps, after monitoring that the second communication module successfully starts network sharing, a prompt message can also be sent to the mobile terminal, and the prompt message is used to share the relevant information of the network shared by the second communication module, so that the mobile terminal can connect to the network shared by the second communication module more quickly.
[0061] Optionally, considering that network sharing has a certain cost, in some embodiments, the first target event also includes: a sending event of a data transmission request of the mobile terminal to the target vehicle.
[0062] That is, the network sharing function of the second communication module is enabled only when it is detected that the mobile terminal needs to transmit data to the target vehicle, so as to facilitate the establishment of a second local area network between the mobile terminal and the second communication module. Specifically, the sending event can be a start event of a screen projection application on the mobile terminal, which is used to project the screen to the vehicle display.
[0063] Step 105: If the first target event is monitored, control the first communication module to connect to the network shared by the second communication module, so as to establish the second local area network among the first communication module, the second communication module and the mobile terminal.
[0064] Among them, this step can be performed by the aforementioned electronic device. Considering that the original design intention of the first communication module is to be used for various systems inside the target vehicle to communicate through the first local area network, it is not used to open to external devices. Therefore, in this embodiment, in order to ensure the security of the first communication module and avoid adding too much communication load to the first communication module, the first communication module is controlled to connect to the network shared by the second communication module only when the first target event is monitored, so that the first communication module and the mobile terminal can communicate through the second local area network, and on the basis of meeting the interaction requirements of the mobile terminal and the functional modules inside the vehicle, the second communication module is added to the second local area network with the wide area network access capability of the second communication module as a springboard, and the mobile terminal in the second local area network and the first communication module are given the ability to access the outside of the vehicle through the wide area network, further expanding the user experience of the vehicle-machine ecology and other ecological interconnection scenarios.
[0065] Optionally, the target vehicle also includes a second communication module, which is used for the target vehicle to communicate with the outside of the vehicle through a wide area network. Based on the target vehicle's own need to access the Internet, the target vehicle is generally equipped with a second communication module. The second communication module can enable the target vehicle to have traffic and access to the public network outside the vehicle, such as the Internet, such as the vehicle WIFI. Among them, the vehicle WIFI can be a TCAM (Telematics Connectivity Antenna Module, vehicle-mounted smart antenna) WIFI device. Correspondingly, considering that the first communication module is used for the first local area network communication inside the target vehicle, the first communication module does not have the function of communicating with the public network outside the vehicle through a wide area network. Therefore, after the second local area network is established between the first communication module and the mobile terminal, the devices in the second local area network cannot directly communicate with the public network outside the vehicle through a wide area network, so the network communication capabilities of the devices in the second local area network are greatly limited.
[0066] Specifically, Figure 5 As shown, in yet another embodiment of the present invention, the method further includes: Step 106: monitor the network sharing event of the mobile terminal.
[0067] This step can be performed by the aforementioned electronic device. Due to various reasons such as the user experience and / or security performance of the mobile terminal, it may be difficult to obtain the network control authority of the mobile terminal. Therefore, in the embodiment of the present invention, instead of directly controlling the mobile terminal to start network sharing, the network sharing event of the mobile terminal is passively monitored.
[0068] Step 107: If the network sharing event is monitored, control the second communication module to connect to the network shared by the mobile terminal.
[0069] This step can be performed by the aforementioned electronic device. Considering that the design and function of the second communication module are more suitable for communication and interaction with external devices of the vehicle compared to the first communication module, if a network sharing event of a mobile terminal is monitored, the second communication module is first controlled to connect to the network shared by the mobile terminal.
[0070] Step 108: Acquire identification information of the network shared by the mobile terminal through the second communication module.
[0071] Among them, this step can be performed by the aforementioned electronic device. Specifically, the identification information is used to specifically characterize the network shared by the mobile terminal, and specifically includes the information required to connect to the shared network. For example, it can be the relevant information of the hotspot opened by the mobile terminal, such as the hotspot name, hotspot password, and other information required to connect to the hotspot.
[0072] Step 109: Control the first communication module to connect to a network shared by the mobile terminal according to the identification information, so as to establish the second local area network among the first communication module, the second communication module and the mobile terminal.
[0073] Among them, this step can be performed by the aforementioned electronic device. According to the identification information, the first communication module is controlled to connect to the network shared by the mobile terminal, and the second communication module is used as a springboard for establishing a second local area network between the first communication module and the mobile terminal. The powerful wide area network access capability of the second communication module can effectively improve the networking efficiency and success rate. It can be understood that the devices in the second local area network can not only access each other through the local area network, but also communicate with the outside of the vehicle through the wide area network access capability of the second communication module, thereby further enriching the user's communication experience.
[0074] In another embodiment of the present invention, the target vehicle further includes a second communication module, and the second communication module is used for the target vehicle to communicate with the outside of the vehicle through a wide area network. Based on the target vehicle's own need to access the Internet, the target vehicle is generally equipped with a second communication module. The second communication module can be such as a vehicle WIFI, which enables the target vehicle to have traffic and access to the Internet and other public networks outside the vehicle. Among them, the vehicle WIFI can be a TCAM (Telematics Connectivity Antenna Module, vehicle-mounted smart antenna) WIFI device. Correspondingly, considering that the first communication module is used for the first local area network communication inside the target vehicle, the first communication module does not have the function of communicating with the public network outside the vehicle through a wide area network. Therefore, after the second local area network is established between the first communication module and the mobile terminal, the devices in the second local area network cannot directly communicate with the public network outside the vehicle through a wide area network. Therefore, the network communication capabilities of the devices in the second local area network are greatly limited. In another embodiment of the present invention, Figure 6 As shown, the method also includes: Step 110: monitor a second target event; the second target event includes an event that the second local area network is successfully established between the first communication module and the mobile terminal.
[0075] Among them, this step can be performed by the aforementioned electronic device. Considering the network sharing cost of the second communication module, the second target event is used as a trigger condition for whether to turn on the network sharing of the second communication module. Furthermore, considering that general mobile terminals have built-in Internet access functions, and the first communication module does not natively have the function of accessing the wide area network outside the vehicle, the second target event is preferably the mobile terminal connected to the network shared by the first communication module, that is, there is a need to use the second communication module to give the first communication module as the network sharing subject the wide area network communication capability.
[0076] Optionally, considering that network sharing has a certain cost, in some embodiments, the second target event also includes: an event of sending a data transmission request from the mobile terminal to the target vehicle.
[0077] That is, only when it is detected that the mobile terminal needs to transmit data to the target vehicle, the network sharing function of the second communication module is considered to be turned on, so as to facilitate the establishment of a second local area network between the mobile terminal and the second communication module. Specifically, the sending event can be an event of starting a screen projection application on the mobile terminal, which is used to project the screen to the vehicle display.
[0078] Furthermore, considering that the first communication module and / or the mobile terminal have the need to access the wide area network only in certain specific scenarios, in the embodiment of the present invention, the second target event includes: monitoring the access demand event of the first communication module and / or the mobile terminal to the outside of the target vehicle. Specifically, the access demand event may be that a chat software is activated on the mobile terminal to send and receive messages to a device outside the vehicle, or that a navigation software is activated on the target vehicle and needs to obtain map information from a navigation server outside the vehicle.
[0079] Step 111: If the second target event is monitored, control the second communication module to start network sharing.
[0080] This step can be performed by the aforementioned electronic device. Considering the network sharing cost of the second communication module, the second communication module is controlled to start network sharing only when the second target event is monitored, which can effectively save the communication resources of the target vehicle.
[0081] Step 112: Control the first communication module and / or the mobile terminal to connect to the network shared by the second communication module.
[0082] Specifically, this step can be performed by the aforementioned electronic device. According to the interaction requirements of the first communication module and the mobile terminal for the outside of the vehicle, the first communication module and / or the mobile terminal is connected to the network shared by the second communication module as needed.
[0083] In an optional embodiment, if Figure 7 As shown, the method also includes: Step 113: Control the first communication module to start network sharing.
[0084] This step can be performed by the aforementioned electronic device. Considering the cost, security and device limitation of opening network sharing in the mobile terminal, the first communication module is used as the main body of network sharing.
[0085] Step 114: monitoring a third target event; the third target event includes the mobile terminal being connected to a network shared by the first communication module.
[0086] Specifically, this step can be performed by the aforementioned electronic device. In order to enable the mobile terminal to connect to the network shared by the first communication module more quickly, thereby improving the efficiency of establishing the second local area network in the subsequent steps, after monitoring that the first communication module successfully starts network sharing, a prompt message can also be sent to the mobile terminal, and the prompt message is used to share the relevant information of the network shared by the first communication module, so that the mobile terminal can connect to the network shared by the first communication module more quickly.
[0087] Optionally, the third target event also includes an event that the mobile terminal and / or the first communication module has an access demand for an external device. Specifically, the access demand event may be that a chat software is activated on the mobile terminal to send and receive messages to a device external to the vehicle, or that a navigation software is activated on the target vehicle and map information needs to be obtained from a navigation server external to the vehicle.
[0088] Step 115: If the third target event is monitored, control the second communication module to connect to the network shared by the first communication module.
[0089] Among them, this step can be performed by the aforementioned electronic device. On the basis of successfully establishing a second local area network between the first communication module and the mobile terminal, by adding a second communication module with the ability to access the external device through the wide area network to the second local area network, the mobile terminal in the second local area network and the first communication module are given the ability to access the outside of the vehicle through the wide area network, further expanding the user experience of the vehicle-machine ecology and other ecological interconnection scenarios.
[0090] See also Figure 8 , is a flow chart of the steps of the communication method provided by another embodiment of the present application. According to different requirements, the order of the steps in the flow chart can be changed, and some steps can be omitted. In the embodiment of the present invention, the mobile terminal is a mobile phone, the first communication module is an onboard WIFI, and the second communication module is a vehicle computer. The method embodiment can be executed by the aforementioned electronic device. Figure 8 As shown, the communication method may include the following steps: Step 201: Monitor the mobile phone hotspot activation event.
[0091] Specifically, the mobile phone hotspot activation event can be monitored by the target vehicle or mobile phone.
[0092] Step 202: Determine whether a mobile phone hotspot activation event is monitored.
[0093] If the mobile phone hotspot activation event is not monitored, go to step 203: do not monitor the event of the mobile phone activating the application for projecting the screen to the vehicle.
[0094] If a mobile phone hotspot activation event is monitored, go to step 204: monitor the event of the mobile phone starting an application for projecting the screen to the vehicle.
[0095] Step 205: Determine whether an event of the mobile phone starting an application for projecting the screen to the vehicle is monitored.
[0096] If an event of the mobile phone starting an application for projecting the screen to the vehicle is monitored, go to step 206: control the vehicle computer to connect to the mobile phone hotspot.
[0097] If no event of the mobile phone starting an application for projecting the screen to the vehicle is monitored, go to step 207: do not control the vehicle computer to connect to the mobile phone hotspot.
[0098] Step 208: Determine whether an event of the vehicle computer connecting to the mobile phone hotspot is monitored.
[0099] If the event that the vehicle computer is successfully connected to the mobile phone hotspot is monitored, go to step 209: control the onboard WIFI to connect to the mobile phone hotspot.
[0100] If the event of the vehicle computer successfully connecting to the mobile phone hotspot is not monitored, go to step 210: do not control the onboard WIFI to connect to the mobile phone hotspot.
[0101] See also Fig. 9 , is a flow chart of the steps of the communication method provided by another embodiment of the present application. According to different requirements, the order of the steps in the flow chart can be changed, and some steps can be omitted. In the embodiment of the present invention, the mobile terminal is a mobile phone, the first communication module is an onboard WIFI, and the second communication module is a vehicle computer. The method embodiment can be executed by the aforementioned electronic device. Fig. 9 As shown, the communication method may include the following steps: Step 211: Turn on the car hotspot.
[0102] Step 212: Monitor the event of the mobile phone connecting to the vehicle hotspot.
[0103] Step 213: Determine whether an event of a mobile phone connecting to the vehicle hotspot is monitored.
[0104] If the event of the mobile phone connecting to the vehicle hotspot is not monitored, go to step 214: do not monitor the event of the mobile phone starting the application for projecting the screen to the vehicle.
[0105] If an event of a mobile phone connecting to the vehicle hotspot is monitored, go to step 215: monitor an event of a mobile phone starting an application for projecting the screen to the vehicle.
[0106] Step 216: Determine whether an event of the mobile phone starting an application for projecting the screen to the vehicle is monitored.
[0107] If no event of the mobile phone starting the application for projecting the screen to the vehicle is monitored, go to step 217: do not control the onboard WIFI to connect to the mobile phone hotspot.
[0108] If an event of the mobile phone starting an application to project the screen to the vehicle is monitored, go to step 218: control the onboard WIFI to connect to the mobile phone hotspot.
[0109] Please refer to Fig.10 , is a schematic diagram of the hardware structure of the communication device 30 provided in the embodiment of the present application. Fig.10 As shown, the communication device 30 may include: A monitoring module 301 is used to monitor a network sharing event of a first object; wherein the first object includes at least one object in a target object set; the objects in the target object set include a mobile terminal and a first communication module in a target vehicle; the first communication module is used for communicating inside the target vehicle through a first local area network; The control module 302 is used to control the second object to connect to the network shared by the first object if the network sharing event is monitored, so that the first object and the second object can communicate through a second local area network; wherein the second object includes at least one of the other objects in the target object set except the first object.
[0110] Please refer to Fig.11 , is a schematic diagram of the hardware structure of the communication device 40 provided in the embodiment of the present application. Fig.11 As shown, the communication device 40 may include a processor 4001 and a memory 4002. The memory 4002 is used to store one or more computer programs 4003. The one or more computer programs 4003 are configured to be executed by the processor 4001. The one or more computer programs 4003 include instructions, and the above instructions can be used to implement the above communication method in the communication device 40.
[0111] It is understandable that the structure shown in this embodiment does not constitute a specific limitation on the communication device 40. In other embodiments, the communication device 40 may include more or fewer components than shown, or combine or separate some components, or arrange the components differently.
[0112] The processor 4001 may include one or more processing units, for example, the processor 4001 may include an application processor (AP), a modem, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0113] The processor 4001 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 4001 is a cache memory. The memory may store instructions or data that the processor 4001 has just used or circulated. If the processor 4001 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 4001, and thus improves the efficiency of the system.
[0114] In some embodiments, the processor 4001 may include one or more interfaces. The interface may include 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 SIM interface, and / or a USB interface, etc.
[0115] In some embodiments, processor 4001 is used to execute acceleration schemes such as single instruction multiple data (SIMD) and very long instruction word (VLIW).
[0116] In some embodiments, memory 4002 may include high-speed random access memory and may also include non-volatile memory, such as a hard disk, an internal memory, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0117] This embodiment also provides a computer-readable storage medium, in which computer instructions are stored. When the instructions are executed on a processor, a communication device executes the above-mentioned related method steps to implement the communication method in the above-mentioned embodiment.
[0118] Among them, the communication device and computer-readable storage medium provided in this embodiment are used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0119] In practical applications, the above functions can be distributed to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0120] In several embodiments provided in the present application, the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are schematic. For example, the division of the modules or units is a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0121] The unit described as a separate component may or may not be physically separated, and the component shown as a unit may be one physical unit or multiple physical units, that is, it may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.
[0122] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0123] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program code.
[0124] The above description is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application.
Claims
1. A communication method, characterized in that: The method comprises: Monitoring a network sharing event of a first object; wherein the first object includes at least one object in a target object set; the objects in the target object set include a mobile terminal and a first communication module in a target vehicle; the first communication module is used for communicating within the target vehicle through a first local area network; If the network sharing event is monitored, the second object is controlled to connect to the network shared by the first object, so that the first object and the second object communicate through a second local area network; wherein the second object includes at least one of the other objects in the target object set except the first object.
2. The method according to claim 1, characterized in that If the network sharing event is monitored, controlling the second object to connect to the network shared by the first object includes: Detecting whether there is a first data transmission demand between the first object and the second object; If the first data transmission demand is detected and the network sharing event is monitored, the second object is controlled to connect to the network shared by the first object.
3. The method according to claim 2, characterized in that The detecting whether there is a first data transmission requirement between the first object and the second object includes: Monitoring preset events of a target application on the first object and / or the second object; the target application is used to perform preparatory actions before data transmission; If the preset event is monitored, it is determined that the first data transmission request is detected.
4. The method according to claim 1, characterized in that The objects in the target object set also include a second communication module in the target vehicle; the second communication module is used for the target vehicle to communicate with the outside of the vehicle through a first wide area network; the method also includes: Controlling the second communication module to start network sharing; Monitoring a first target event; the first target event includes an event in which the mobile terminal is connected to a network shared by the second communication module; If the first target event is monitored, the first communication module is controlled to connect to the network shared by the second communication module, so as to establish the second local area network among the first communication module, the second communication module and the mobile terminal.
5. The method according to claim 1, characterized in that The target object set also includes a second communication module in the target vehicle; the second communication module is used for the target vehicle to communicate with the outside of the vehicle through a first wide area network; the method also includes: monitoring the network sharing event of the mobile terminal; If the network sharing event is monitored, controlling the second communication module to connect to the network shared by the mobile terminal; Acquiring identification information of a network shared by the mobile terminal through the second communication module; The first communication module is controlled to connect to a network shared by the mobile terminal according to the identification information, so as to form the second local area network among the first communication module, the second communication module and the mobile terminal.
6. The method according to claim 1, characterized in that The target object set also includes a second communication module in the target vehicle; the second communication module is used for the target vehicle to communicate with the outside of the vehicle through a first wide area network; the method also includes: Monitoring a second target event; the second target event includes an event in which the second local area network is successfully established between the first communication module and the mobile terminal; If the second target event is monitored, controlling the second communication module to start network sharing; Control the first communication module and / or the mobile terminal to connect to a network shared by the second communication module.
7. The method according to claim 1, characterized in that The target object set also includes a second communication module in the target vehicle; the second communication module is used for the target vehicle to communicate with the outside of the vehicle through a first wide area network; the method also includes: Controlling the first communication module to start network sharing; Monitoring a third target event; the third target event includes the mobile terminal being connected to a network shared by the first communication module; If the third target event is monitored, the second communication module is controlled to connect to the network shared by the first communication module.
8. A communication device, characterized in that: The communication device comprises: A monitoring module, used for monitoring a network sharing event of a first object; wherein the first object includes at least one object in a target object set; the objects in the target object set include a mobile terminal and a first communication module in a target vehicle; the first communication module is used for communicating inside the target vehicle through a first local area network; A control module is used to control the second object to connect to the network shared by the first object if the network sharing event is monitored, so that the first object and the second object can communicate through a second local area network; wherein the second object includes at least one of the other objects in the target object set except the first object.
9. A communication device, comprising a processor and a memory, characterized in that: The memory is used to store instructions, and the processor is used to call the instructions in the memory, so that the communication device executes the communication method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed on a processor, the processor is caused to perform the communication method according to any one of claims 1 to 7.
Citation Information
Patent Citations
On-board wireless local area network equipment
CN104185309A
Internet of vehicles wireless multimode gateway system
CN109413613A
Double-channel WiFi implementation method of vehicle and vehicle-mounted information entertainment system
CN112468528A
Network sharing method, device and computer storage medium
CN112866961A
Network sharing method and device, equipment and storage medium
CN117834679A