Equipment connection method and device, electronic equipment and vehicle
By obtaining the identity identification and historical connection information of the smart device, predicting the connection mode and simplifying the operation process, the problem of complex and inefficient processes when the smart device connects to the motorcycle is solved, and rapid automated connections and optimized user experience is achieved.
Patent Information
- Application Number
- CN202411836862.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-13
- Publication Date
- 2025-03-07
AI Technical Summary
When connecting smart devices to motorcycles and other vehicles, there are problems such as complex processes, low connection efficiency and poor user experience, especially frequent operation during riding, which affects driving safety.
By obtaining the identity identification and historical connection information of the device to be connected, the connection mode of the device to be connected is predicted without repeated confirmation from the user, simplifying the operation process and speeding up the connection efficiency.
It realizes rapid automation of device connections, simplifies user operations, improves connection efficiency and user experience, and ensures driving safety.
Smart Images

Figure CN119584337A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a device connection method, apparatus, electronic equipment and vehicle. Background Art
[0002] Motorcycles are two-wheeled or three-wheeled vehicles that use handlebars to steer the front wheels. They are light, flexible, and fast, and are widely used for people's travel, patrols, passenger and freight transportation, etc., becoming a popular and practical means of transportation.
[0003] With the widespread use of smart devices (such as smartphones, smart watches, smart headphones, smart bracelets, etc.) in the vehicle field, more and more riders will tend to choose motorcycle computers equipped with smart device connection functions. This has greatly promoted motorcycle manufacturers and computer suppliers to increase the research and development and application of smart device connection technology.
[0004] In order to meet the diverse needs of motorcycle riders for access to the vehicle system, a device connection method is urgently needed. When the device is connected, permissions can be quickly set according to user needs to optimize the rider's riding experience. Summary of the invention
[0005] The embodiments of the present application provide a device connection method, apparatus, electronic device and vehicle to solve the problem that it is difficult for smart devices to quickly and automatically connect to vehicles such as motorcycles.
[0006] In a first aspect, an embodiment of the present application provides a device connection method, which may include:
[0007] Obtaining the identity of the device to be connected and pre-stored historical connection information; wherein the historical connection information includes the identity of each historically connected device, the historical connection mode, and the number of historical connections of each historical connection mode;
[0008] Determine a first connection mode of the device to be connected according to the identity of the device to be connected, and the identity, historical connection mode and historical connection times of each historical connection mode of each historical connection device;
[0009] Based on the first connection mode, generating a device connection prompt;
[0010] Establishing a connection with the device to be connected according to feedback information of the user to the device connection prompt.
[0011] This embodiment queries the historical device connection status based on the identity identification of the device to be connected, and can then automatically determine the connection mode of the device to be connected based on the historical device connection status, without the need for the user to provide repeated confirmation feedback, thereby simplifying the user operation process, speeding up the device connection efficiency, and realizing the rapid setting of permissions; and after determining the corresponding connection mode, outputs a device connection prompt to prompt the user to provide feedback on the connection mode, thereby meeting the user's actual needs and optimizing the user's driving experience.
[0012] In a possible implementation, determining the first connection mode of the device to be connected according to the identity of the device to be connected, and the identity, historical connection mode and historical connection times of each historical connection mode of each historical connection mode of each historical connection mode includes:
[0013] Determining whether the device to be connected is a historically connected device according to the identity identifier of the device to be connected and the identity identifier of the historically connected device;
[0014] If the device to be connected is a historically connected device, determining the number of historical connections of each historical connection mode of the device to be connected based on the historical connection information;
[0015] A first connection mode of the device to be connected is determined according to the number of historical connections of each historical connection mode of the device to be connected.
[0016] This embodiment determines whether the device to be connected is a historically connected device based on the identity of the device to be connected. After determining that the device to be connected is a historically connected device, the historical connection status of the device to be connected is determined based on the historical connection information, including the number of historical connections for each historical connection mode, and finally determines the first connection mode of the device to be connected based on the historical connection status. This embodiment comprehensively considers the historical connection status of the device, including the number of historical connections of the historical connection mode, to achieve the pre-judgment of the connection mode of the device to be connected, thereby improving the accuracy and rationality of the connection mode pre-judgment.
[0017] In a possible implementation, the historical connection information further includes a historical connection time of each historical connection mode;
[0018] The determining, according to the number of historical connections of each historical connection mode of the device to be connected, the first connection mode of the device to be connected comprises:
[0019] Determine, from each historical connection mode of the device to be connected, a historical connection mode with the largest number of historical connections, and determine, based on the historical connection time of each historical connection mode, the historical connection time of the historical connection mode with the largest number of historical connections, if the historical connection time of the historical connection mode with the largest number of historical connections is within a preset time range, use the historical connection mode with the largest number of historical connections as the first connection mode of the device to be connected;
[0020] or,
[0021] From each historical connection mode of the device to be connected, determine a historical connection mode whose number of historical connections exceeds a preset number threshold, and based on the historical connection time of each historical connection mode, determine the historical connection time of each historical connection mode whose number of historical connections exceeds the preset number threshold, and use the historical connection mode whose historical connection time is closest to the current time and whose number of historical connections exceeds the preset number threshold as the first connection mode of the device to be connected.
[0022] This embodiment selects the historical connection mode with the largest number of historical connections and the historical connection time within a preset time range as the first connection mode of the device to be connected, or selects the historical connection mode with the historical connection time closest to the current time and the number of historical connections exceeding the preset number threshold as the first connection mode of the device to be connected. This ensures that the first connection mode is a recent high-frequency connection mode of the device to be connected, and improves the accuracy and rationality of connection mode prediction.
[0023] In a possible implementation manner, after determining whether the device to be connected is a historically connected device according to the identity identifier of the device to be connected and the identity identifier of the historically connected device, the method further includes:
[0024] If the device to be connected is not a historically connected device, a first connection mode of the device to be connected is determined according to preset priority information; wherein the priority information is used to indicate a preferred connection mode of the device.
[0025] In this embodiment, when it is confirmed that the device to be connected is not a historically connected device, the pre-set device priority connection mode is determined as the first connection mode of the device to be connected. This realizes the automatic determination of the connection mode when the device to be connected is not a historically connected device, and comprehensively considers the user-defined connection requirements, further improving the efficiency of device connection and the rationality of connection mode pre-determination.
[0026] In a possible implementation, the device connection prompt includes a prompt of whether to connect the to-be-connected device according to the first connection mode;
[0027] The step of establishing a connection with the device to be connected according to the user's feedback information on the device connection prompt includes:
[0028] If the feedback information is yes, establishing a connection with the device to be connected according to the first connection mode;
[0029] If the feedback information is no, a second connection mode of the device to be connected is obtained, and a connection is established with the device to be connected according to the second connection mode; wherein the second connection mode is different from the first connection mode.
[0030] This embodiment outputs a corresponding device connection prompt on the premise of realizing connection mode prediction, and then confirms or changes the connection mode based on user feedback information, which greatly simplifies the connection process of smart devices and optimizes the user experience.
[0031] In a possible implementation, the acquiring the second connection mode of the device to be connected includes:
[0032] In response to an instruction generated by a user operating a preset physical button, determining a second connection mode of the device to be connected; wherein the physical button is set at a preset position of a vehicle handle;
[0033] or,
[0034] Acquire the voice collected by the voice collection device, perform semantic recognition on the voice, and determine the second connection mode of the device to be connected based on the recognition result;
[0035] or,
[0036] In response to an operation instruction of a user on a preset device connection page, a second connection mode of the device to be connected is determined; wherein the device connection page includes a plurality of connection mode selection controls.
[0037] When the user feedbacks that the device to be connected cannot be connected through the first connection mode, this embodiment determines the second connection mode of the device to be connected specified by the user by receiving instructions issued by the user through operating physical buttons, clicking on function pages or issuing voice, etc., comprehensively considering the user's device connection requirements, and at the same time, obtaining user instructions through multiple paths, effectively reducing the complexity of user operations, facilitating user operations, and ensuring driving safety.
[0038] In a possible implementation, the device connection prompt includes a prompt for setting a functional permission of the device to be connected;
[0039] The step of establishing a connection with the device to be connected according to the user's feedback information on the device connection prompt includes:
[0040] If the feedback information includes the functional authority of the device to be connected, a connection is established with the device to be connected according to the first connection mode and the functional authority.
[0041] In the present embodiment, the connection mode of the device can be pre-set with corresponding functional permissions, and the connection prompt also includes a prompt of the functional permissions of the device to be connected, so that the user can synchronize the customized functional permissions of the device to be connected when providing feedback information, and make supplementary changes to the pre-set functional permissions, thereby meeting user needs without increasing the complexity of user operations.
[0042] In a second aspect, the present application provides a device connection apparatus, which may include:
[0043] An acquisition unit, used to acquire the identity of the device to be connected and pre-stored historical connection information; wherein the historical connection information includes the identity of each historically connected device, the historical connection mode and the number of historical connections of each historical connection mode;
[0044] A first processing unit, configured to determine a first connection mode of the device to be connected according to an identity identifier of the device to be connected, and an identity identifier, a historical connection mode, and a historical connection count of each historical connection mode of each historical connection device;
[0045] A generating unit, configured to generate a device connection prompt based on the first connection mode;
[0046] The connecting unit is used to establish a connection with the device to be connected according to the feedback information of the user to the device connection prompt.
[0047] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the computer program, it implements the device connection method described in the first aspect or any possible implementation method of the first aspect.
[0048] In a fourth aspect, an embodiment of the present application provides a vehicle, comprising the electronic device as described in the third aspect.
[0049] It can be understood that the beneficial effects of the second to fourth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here.
[0050] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present specification. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0052] Figure 1 It is a flowchart of a device connection method provided in an embodiment of the present application;
[0053] Figure 2 It is a flowchart of another device connection method provided in an embodiment of the present application;
[0054] Figure 3 is a schematic diagram of the structure of a device connection device provided in an embodiment of the present application;
[0055] Figure 4 It is a schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0056] The present application is described more clearly below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the effects of the present application, but are not intended to limit the present application in any form. It should be noted that, for those of ordinary skill in the art, several variations and improvements may be made without departing from the concept of the present application. These all fall within the scope of protection of the present application.
[0057] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0058] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0059] In the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0060] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0061] In addition, the “plurality” mentioned in the embodiments of the present application should be interpreted as two or more.
[0062] After research, the inventor of this application found that there are problems such as complicated processes when connecting smart devices to motorcycle computers. During the connection process of the smart devices, the driver and passengers need to confirm operations multiple times, the connection efficiency is low, and the user experience is poor. At the same time, due to the particularity of riding, frequent operations by the driver and passengers will affect driving safety.
[0063] In order to solve the above problems, in the implementation mode of the present application, based on the identity identification of the device to be connected, the historical device connection status of the vehicle computer is queried, and then based on the historical device connection status, the connection mode of the device to be connected is predicted, without the need for the user to perform repeated confirmation feedback and other processing, thereby simplifying the user operation process and speeding up the device connection efficiency; and, after determining the corresponding connection mode, the device connection prompt is output to prompt the user to provide feedback on the connection mode, thereby meeting the needs of the user and optimizing the riding experience of the driver and passengers.
[0064] It should be noted that the device connection method provided in the embodiment of the present application is applicable not only to motorcycles, but also to any vehicle.
[0065] In order to illustrate the technical solution of the present application, a specific embodiment is provided below for illustration.
[0066] refer to Figure 1 , Figure 1 It is a flow chart of a device connection method provided in an embodiment of the present application.
[0067] like Figure 1 As shown, the device connection method in the embodiment of the present application may include:
[0068] Step 101, obtaining the identity of the device to be connected and pre-stored historical connection information; wherein the historical connection information includes the identity of each historically connected device, the historical connection mode and the number of historical connections of each historical connection mode.
[0069] The identity of the device to be connected may include information identifying the device, such as the device name and device number of the device to be connected. The device to be connected is a smart device, such as a headset or a mobile phone with a Bluetooth function.
[0070] In one example, the executor of this embodiment can be the vehicle's on-board system. Different connection modes can represent that the device has different functional permissions after being connected to the vehicle's on-board system. For example, the device has sound reception permission, sound output permission, data access permission, etc.
[0071] In a feasible implementation, the pre-stored historical connection information can be stored in the vehicle system, and may include, for example, the identity of the historical connection device that has been connected to the vehicle system within a preset time period based on the current time, the historical connection mode, and the number of historical connections for each historical connection mode.
[0072] Exemplarily, when this embodiment identifies a device to be connected that is in a connectable state, it first obtains the identity of the device to be connected and pre-stored historical connection information; wherein the historical connection information includes the identity of each historically connected device, the historical connection mode, and the number of historical connections of each historical connection mode.
[0073] Step 102: Determine a first connection mode of the device to be connected according to the identity of the device to be connected, and the identity of each device to be connected in history, the historical connection mode and the number of historical connections of each historical connection mode.
[0074] Exemplarily, after obtaining the identity of the device to be connected and the pre-stored historical connection information, this embodiment predicts the first connection mode of the device to be connected based on the identity of each historically connected device, the historical connection mode and the number of historical connections of each historical connection mode in the historical connection information.
[0075] In this embodiment, the device to be connected may be a historically connected device that has been connected to the vehicle system before, or may be a new device that has not been connected to the vehicle system.
[0076] In a feasible implementation manner, this embodiment can determine whether the device to be connected is a historically connected device by comparing the identity identifiers of the historically connected device and the device to be connected.
[0077] In one example, if the device to be connected is a historically connected device that has been connected to the vehicle system before, the most likely connection mode of the device to be connected this time can be predicted based on the historical connection status of the device to be connected.
[0078] In order to improve the accuracy and rationality of connection mode prediction, in some embodiments, this embodiment can determine whether the device to be connected is a historically connected device based on the identity identification of the device to be connected and the identity identification of the historically connected device; if the device to be connected is a historically connected device, then based on the historical connection information, determine the historical connection times of each historical connection mode of the device to be connected; and determine the first connection mode of the device to be connected based on the historical connection times of each historical connection mode of the device to be connected.
[0079] Exemplarily, this embodiment determines whether the device to be connected is a historically connected device by comparing the identity identifier of the device to be connected with the identity identifier of the historically connected device. If the device to be connected is a historically connected device, the first connection mode of the device to be connected is predicted based on the historical connection status of the device to be connected, including historical connection modes and the number of historical connections for each historical connection mode.
[0080] This embodiment comprehensively considers the historical connection status of the device, including the historical connection times of the historical connection mode, to achieve the prediction of the connection mode of the device to be connected, thereby improving the accuracy and rationality of the connection mode prediction.
[0081] To further improve the accuracy and rationality of connection mode prediction, this embodiment further screens historical connection information of the device to be connected, determines recent and high-frequency connection modes of the device to be connected, and determines the first connection mode of the device to be connected based on this.
[0082] In some embodiments, the historical connection information also includes the historical connection time of each historical connection mode. In this embodiment, the historical connection mode with the most historical connections can be determined from each historical connection mode of the device to be connected, and the historical connection time of the historical connection mode with the most historical connections can be determined based on the historical connection time of each historical connection mode. If the historical connection time of the historical connection mode with the most historical connections is within a preset time range, the historical connection mode with the most historical connections is used as the first connection mode of the device to be connected.
[0083] Alternatively, this embodiment determines, from each historical connection mode of the device to be connected, a historical connection mode whose number of historical connections exceeds a preset number threshold, and determines the historical connection time of each historical connection mode whose number of historical connections exceeds the preset number threshold based on the historical connection time of each historical connection mode, and uses the historical connection mode whose number of historical connections exceeds the preset number threshold and whose historical connection time is closest to the current time as the first connection mode of the device to be connected.
[0084] The historical connection time of each historical connection mode represents the time when the device to be connected is connected to the vehicle system in a certain connection mode. The above-mentioned preset time range can be set according to actual needs, for example, according to a period of time close to the current time, such as one month or one week from the current time. Similarly, the above-mentioned preset number threshold can also be set according to actual needs, such as 10 times or 5 times.
[0085] Exemplarily, this embodiment determines the historical connection mode with the largest number of historical connection times among the historical connection modes of the device to be connected. If the historical connection time of the historical connection mode with the largest number of historical connection times is within a preset time range, for example, the time interval between the historical connection mode and the current time meets the preset requirements, then the historical connection mode with the largest number of historical connection times is used as the first connection mode of the device to be connected.
[0086] In a feasible implementation, if the historical connection time of the historical connection mode with the largest number of historical connections is not within the preset time range, then the historical connection mode with the largest number of historical connections is determined among the remaining historical connection modes of the device to be connected, and similarly, if the historical connection time of the historical connection mode with the largest number of historical connections is within the preset time range, then the historical connection mode with the largest number of historical connections is used as the first connection mode of the device to be connected. Until the first connection mode of the device to be connected is determined.
[0087] Exemplarily, this embodiment determines one or more historical connection modes in the historical connection modes of the device to be connected whose historical connection times exceed a preset number threshold, and determines the historical connection time of each historical connection mode whose historical connection times exceed the preset number threshold, and takes the historical connection mode whose historical connection time is closest to the current time and whose historical connection times exceed the preset number threshold as the first connection mode of the device to be connected.
[0088] This embodiment selects the historical connection mode with the largest number of historical connections and the historical connection time within a preset time range as the first connection mode of the device to be connected, or selects the historical connection mode with the historical connection time closest to the current time and the number of historical connections exceeding the preset number threshold as the first connection mode of the device to be connected. This ensures that the first connection mode is a recent high-frequency connection mode of the device to be connected, and improves the accuracy and rationality of connection mode prediction.
[0089] Step 103: Generate a device connection prompt based on the first connection mode.
[0090] Exemplarily, this embodiment generates a corresponding device connection prompt based on the predicted first connection mode.
[0091] In one example, the device connection prompt may be based on a display page and displayed in text and / or images, or may be carried out in the form of voice.
[0092] In a feasible implementation manner, the device connection prompt may include a prompt of whether to connect the device to be connected in accordance with the first connection mode, so as to remind the user whether to establish a connection with the device to be connected in the predicted connection mode.
[0093] In another feasible implementation manner, the device connection prompt also includes function permission information corresponding to the first connection mode for the user to make customized selections and changes.
[0094] Step 104: Establish a connection with the device to be connected according to the user's feedback information on the device connection prompt.
[0095] Exemplarily, this embodiment receives user feedback information regarding a device connection prompt, and establishes a connection with the device to be connected according to the user feedback information regarding the device connection prompt.
[0096] In a feasible implementation manner, the present embodiment may obtain user feedback information by any one or more of the following methods:
[0097] In response to an instruction generated by a user operating a preset physical button, the user's feedback information on the device connection prompt is determined; or, in response to the user's operation instruction on the device connection prompt, the user's feedback information on the device connection prompt is determined; wherein the device connection prompt is displayed based on a function page; or, based on the user's voice instruction on the device connection prompt, the user's feedback information on the device connection prompt is determined.
[0098] In the implementation manner of the present application, based on the identity identification of the device to be connected, the historical device connection status of the vehicle computer is queried, and then based on the historical device connection status, the connection mode of the device to be connected is predicted, without the need for the user to perform repeated confirmation feedback and other processing, thereby simplifying the user operation process and speeding up the device connection efficiency; and, after determining the corresponding connection mode, the device connection prompt is output to prompt the user to provide feedback on the connection mode, thereby meeting the needs of the user and optimizing the riding experience of the driver and passengers.
[0099] The following further describes how to establish a connection with the device to be connected based on the user's feedback information.
[0100] In some embodiments, the device connection prompt includes a prompt of whether to connect the device to be connected according to the first connection mode. In this embodiment, when establishing a connection with the device to be connected according to the user's feedback information on the device connection prompt, if the user's feedback information is yes, then the connection is established with the device to be connected according to the first connection mode; if the feedback information is no, then the second connection mode of the device to be connected is obtained, and the connection is established with the device to be connected according to the second connection mode; wherein the second connection mode is different from the first connection mode.
[0101] Exemplarily, after determining the first connection mode of the device to be connected, this embodiment outputs a corresponding device connection prompt to obtain corresponding feedback information from the user, wherein the device connection prompt may include a prompt of whether to connect the device to be connected according to the first connection mode. Correspondingly, if the user's feedback on the prompt of whether to connect the device to be connected according to the first connection mode is yes, a connection is established with the device to be connected according to the first connection mode; if the feedback information is no, a second connection mode of the device to be connected that is different from the first connection mode is obtained, and a connection is established with the device to be connected according to the second connection mode.
[0102] This embodiment outputs a corresponding device connection prompt on the premise of realizing connection mode prediction, and then confirms or changes the connection mode based on user feedback information, which greatly simplifies the connection process of smart devices and optimizes the user experience.
[0103] In some embodiments, the device connection prompt includes a prompt for setting functional permissions for the device to be connected. In this embodiment, when establishing a connection with the device to be connected based on the user's feedback information on the device connection prompt: if the user's feedback information includes the functional permissions of the device to be connected, then establishing a connection with the device to be connected based on the first connection mode and the functional permissions.
[0104] Exemplarily, the user may also provide feedback on the functional permissions of the device to be connected based on the feedback information. This embodiment establishes a connection with the device to be connected in the first connection mode, and grants the device to be connected functional permissions based on the received functional permissions of the device to be connected.
[0105] In a feasible implementation, different functional permissions corresponding to different connection modes are pre-stored in this embodiment. For example, the device to be connected is a smart headset with Bluetooth function. When it is connected as a main driver's headset, it has sound reception permission, sound output permission, data access permission, etc.
[0106] In which, taking the to-be-connected device as the above-mentioned smart headset and the vehicle as a motorcycle as an example, the smart headset is the sound output device of the motorcycle, and the first connection mode in this embodiment can be the main driving mode, and the smart headset connected based on the main driving mode has more comprehensive sound output permissions, such as telephone, voice assistant, multimedia, navigation, and key prompt sound, etc. The second connection mode can be the co-pilot mode, and the smart headset connected based on the co-pilot mode can have relatively fewer sound output permissions, such as multimedia and navigation.
[0107] In one example, the connection method between the device to be connected and the vehicle in this embodiment can be any one of Bluetooth connection, wireless network connection, near field communication connection, infrared connection, etc. This embodiment does not limit this.
[0108] In the present embodiment, the connection mode of the device can be pre-set with corresponding functional permissions, and the connection prompt also includes a prompt of the functional permissions of the device to be connected, so that the user can synchronize the customized functional permissions of the device to be connected when providing feedback information, and make supplementary changes to the pre-set functional permissions, thereby meeting user needs without increasing the complexity of user operations.
[0109] The following further describes how to obtain the second connection mode of the device to be connected.
[0110] In some embodiments, obtaining a second connection mode of the device to be connected includes:
[0111] In response to an instruction generated by a user operating a preset physical button, determine the second connection mode of the device to be connected; wherein the physical button is set at a preset position of the vehicle handle; or, obtain voice collected by a voice collection device, perform semantic recognition on the voice, and determine the second connection mode of the device to be connected based on the recognition result; or, in response to an operation instruction of the user on a preset device connection page, determine the second connection mode of the device to be connected; wherein the device connection page includes selection controls for multiple connection modes.
[0112] Exemplarily, if the user does not approve of establishing a connection with the device to be connected through the predicted first connection mode, after sending the feedback information or while sending the feedback information, in this embodiment, the user can indicate the second connection mode by operating the physical button at the preset position, or can issue a voice command to indicate the second connection mode. The user can also click the selection control for the connection mode in the preset device connection page to indicate the second connection mode.
[0113] Therefore, this embodiment can determine the second connection mode of the device to be connected in any one or more of the following ways: determining the second connection mode of the device to be connected in response to an instruction generated by a user operating a preset physical button; or, obtaining a voice collected by a voice collection device, and performing semantic recognition on the voice, and determining the second connection mode of the device to be connected based on the recognition result; or, determining the second connection mode of the device to be connected in response to an operation instruction of the user on a preset device connection page; wherein the device connection page includes selection controls for multiple connection modes.
[0114] In a feasible implementation, the preset physical button can be set at a preset position of the vehicle handle, and can also be set at any position of the vehicle that is convenient for the driver and passenger to operate, such as the fuel tank position of a motorcycle.
[0115] In a feasible implementation, the voice collection device can be installed in the vehicle, such as at the handlebar position, or can be installed in a device such as a helmet connected to the vehicle. The voice collection device can be one or more, so as to facilitate the collection of voices of drivers and passengers in different positions.
[0116] In one example, this embodiment can recognize the user's voice collected by the collection device based on a preset semantic recognition model.
[0117] When the user feedbacks that the device to be connected cannot be connected through the first connection mode, this embodiment determines the second connection mode of the device to be connected specified by the user by receiving instructions issued by the user through operating physical buttons, clicking on function pages or issuing voice, etc., comprehensively considering the user's device connection requirements, and at the same time, obtaining user instructions through multiple paths, effectively reducing the complexity of user operations, facilitating user operations, and ensuring driving safety.
[0118] The above embodiment describes how to determine the first connection mode of the device to be connected when the device to be connected is a historically connected device. The following describes how to determine the first connection mode of the device to be connected if the device to be connected is not a historically connected device.
[0119] In some embodiments, after determining whether the device to be connected is a historically connected device according to the identity of the device to be connected and the identity of the historically connected device, the method further includes:
[0120] If the device to be connected is not a historically connected device, a first connection mode of the device to be connected is determined according to preset priority information; wherein the priority information is used to indicate a preferred connection mode of the device.
[0121] Illustratively, in this embodiment, after determining that the device to be connected is not a historically connected device by comparing the identities of the historically connected device and the device to be connected, the first connection mode of the device to be connected is determined according to preset priority information.
[0122] The preset priority information is used to indicate a preferred connection mode when the device to be connected is a new device that has never been connected.
[0123] In a feasible implementation, in this embodiment, for different device types, the vehicle system includes multiple device connection pages corresponding to the device type information. When the device to be connected is not a historically connected device, the corresponding device connection page is queried according to the device type of the device to be connected. If there is no connected device of the same device type in the corresponding device connection page, the first connection mode of the device to be connected, such as the main driving mode, can be determined based on pre-set priority information.
[0124] If there is a connected device in the device connection page corresponding to the device type information, a prompt message can be issued to prompt the user whether to set the connection mode of the device to be connected to another connection mode, such as the co-pilot mode; and then in response to the user's feedback instruction to the prompt message, the connection mode of the device to be connected is determined. If the user confirms that the connection mode of the device to be connected is the co-pilot mode, a connection is established with the device to be connected based on the co-pilot mode. If the user's feedback instruction for the prompt message is to select the connection mode of the device to be connected as the first connection mode, such as the main driving mode, a connection is established with the device to be connected based on the main driving mode. At the same time, the connection mode of the connected device can also be changed to the co-pilot mode.
[0125] In a feasible implementation manner, the device connection page in this embodiment includes devices connected to the vehicle system and the connection mode corresponding to each device, and each device corresponding to the connection mode corresponds to a control button; after the connection is established, the device to be connected and its corresponding connection mode are displayed in the corresponding device connection page. This embodiment can change the connection mode corresponding to the device in response to the user's operation instructions on the control button.
[0126] In this embodiment, when it is confirmed that the device to be connected is not a historically connected device, the pre-set device priority connection mode is determined as the first connection mode of the device to be connected. This realizes the automatic determination of the connection mode when the device to be connected is not a historically connected device, and comprehensively considers the user-defined connection requirements, further improving the efficiency of device connection and the rationality of connection mode pre-determination.
[0127] refer to Figure 2 , Figure 2 It is a flowchart of another device connection method provided in an embodiment of the present application.
[0128] like Figure 2 As shown, the device connection method in the embodiment of the present application may include:
[0129] Step 201, obtaining the identity of the device to be connected and pre-stored historical connection information; wherein the historical connection information includes the identity of each historically connected device, the historical connection mode and the number of historical connections of each historical connection mode.
[0130] Step 202: Determine whether the device to be connected is a historically connected device based on the identity identifier of the device to be connected and the identity identifier of the historically connected device.
[0131] Step 203: If the device to be connected is a historically connected device, the number of historical connections of each historical connection mode of the device to be connected is determined based on the historical connection information.
[0132] Step 204: Determine a first connection mode of the device to be connected according to the number of historical connections of each historical connection mode of the device to be connected.
[0133] In one example, the historical connection information further includes the historical connection time of each historical connection mode; step 204 includes the following two implementations:
[0134] The first implementation method is to determine the historical connection mode with the largest number of historical connection times from each historical connection mode of the device to be connected, and determine the historical connection time of the historical connection mode with the largest number of historical connection times based on the historical connection time of each historical connection mode; if the historical connection time of the historical connection mode with the largest number of historical connection times is within a preset time range, the historical connection mode with the largest number of historical connection times is used as the first connection mode of the device to be connected.
[0135] The second implementation method is to determine, from each historical connection mode of the device to be connected, a historical connection mode whose number of historical connection times exceeds a preset number threshold, and based on the historical connection time of each historical connection mode, determine the historical connection time of each historical connection mode whose number of historical connection times exceeds the preset number threshold, and use the historical connection mode whose historical connection time is closest to the current time and whose number of historical connection times exceeds the preset number threshold as the first connection mode of the device to be connected.
[0136] Step 205, after step 202, if the device to be connected is not a historically connected device, a first connection mode of the device to be connected is determined according to preset priority information; wherein the priority information is used to indicate a preferred connection mode of the device.
[0137] Step 206: Generate a device connection prompt based on the first connection mode.
[0138] In one example, the device connection prompt includes a prompt of whether to connect the device to be connected according to the first connection mode.
[0139] Step 207: If the feedback information is yes, a connection is established with the device to be connected according to the first connection mode.
[0140] In a feasible implementation manner, the device connection prompt includes a prompt for setting functional permissions of the device to be connected; step 207 includes: if the feedback information includes the functional permissions of the device to be connected, establishing a connection with the device to be connected according to the first connection mode and the functional permissions.
[0141] Step 208: If the feedback information is negative, a second connection mode of the device to be connected is obtained, and a connection is established with the device to be connected according to the second connection mode; wherein the second connection mode is different from the first connection mode.
[0142] In one example, step 208 includes the following steps:
[0143] In response to an instruction generated by a user operating a preset physical button, determine the second connection mode of the device to be connected; wherein the physical button is set at a preset position of the vehicle handle; or, obtain voice collected by a voice collection device, perform semantic recognition on the voice, and determine the second connection mode of the device to be connected based on the recognition result; or, in response to an operation instruction of the user on a preset device connection page, determine the second connection mode of the device to be connected; wherein the device connection page includes selection controls for multiple connection modes.
[0144] The detailed implementation process of the above steps 201 to 208 can refer to the relevant descriptions of the above embodiments, which will not be repeated here. The execution order of the above steps 201 to 208 can be set according to actual needs and is not specifically limited here.
[0145] Figure 3 Schematic diagram of the structure of the device connection device provided in the embodiment of the present application. Figure 3 As shown, the device connection apparatus 300 provided in this embodiment may include:
[0146] The acquisition unit 301 is used to acquire the identity of the device to be connected and the pre-stored historical connection information; wherein the historical connection information includes the identity of each historically connected device, the historical connection mode and the number of historical connections of each historical connection mode.
[0147] The first processing unit 302 is used to determine a first connection mode of the device to be connected according to the identity of the device to be connected, and the identity, historical connection mode and historical connection times of each historical connection mode of each historical connection device.
[0148] The generating unit 303 is configured to generate a device connection prompt based on the first connection mode.
[0149] The connection unit 304 is used to establish a connection with the device to be connected according to the feedback information of the user to the device connection prompt.
[0150] In a possible implementation, the first processing unit 302 is specifically configured to:
[0151] According to the identity identifier of the device to be connected and the identity identifier of the historically connected device, it is determined whether the device to be connected is a historically connected device.
[0152] If the device to be connected is a historically connected device, the number of historical connections of each historical connection mode of the device to be connected is determined based on the historical connection information.
[0153] A first connection mode of the device to be connected is determined according to the number of historical connections of each historical connection mode of the device to be connected.
[0154] In a possible implementation, the historical connection information further includes the historical connection time of each historical connection mode; and the first processing unit 302 is specifically configured to:
[0155] From each historical connection mode of the device to be connected, determine the historical connection mode with the largest number of historical connection times, and based on the historical connection time of each historical connection mode, determine the historical connection time of the historical connection mode with the largest number of historical connection times; if the historical connection time of the historical connection mode with the largest number of historical connection times is within a preset time range, then the historical connection mode with the largest number of historical connection times is used as the first connection mode of the device to be connected.
[0156] Alternatively, from each historical connection mode of the device to be connected, determine the historical connection mode whose historical connection times exceed a preset number threshold, and based on the historical connection time of each historical connection mode, determine the historical connection time of each historical connection mode whose historical connection times exceed the preset number threshold, and take the historical connection mode whose historical connection time is closest to the current time and whose historical connection times exceed the preset number threshold as the first connection mode of the device to be connected.
[0157] In a possible implementation, the apparatus 300 further includes:
[0158] The second processing unit is used to determine the first connection mode of the device to be connected according to preset priority information if the device to be connected is not a historically connected device; wherein the priority information is used to indicate a preferred connection mode of the device.
[0159] In a possible implementation, the device connection prompt includes a prompt of whether to connect the device to be connected according to the first connection mode; the connecting unit 304 is specifically configured to:
[0160] If the feedback information is yes, a connection is established with the device to be connected according to the first connection mode; if the feedback information is no, a second connection mode of the device to be connected is obtained, and a connection is established with the device to be connected according to the second connection mode; wherein the second connection mode is different from the first connection mode.
[0161] In a possible implementation, the connecting unit 304 is specifically configured to:
[0162] In response to an instruction generated by a user operating a preset physical button, determine the second connection mode of the device to be connected; wherein the physical button is set at a preset position of the vehicle handle; or, obtain voice collected by a voice collection device, perform semantic recognition on the voice, and determine the second connection mode of the device to be connected based on the recognition result; or, in response to an operation instruction of the user on a preset device connection page, determine the second connection mode of the device to be connected; wherein the device connection page includes selection controls for multiple connection modes.
[0163] In a possible implementation, the device connection prompt includes a prompt for setting functional permissions of the device to be connected; the connection unit 304 is specifically configured to:
[0164] If the feedback information includes the function permission of the device to be connected, a connection is established with the device to be connected according to the first connection mode and the function permission.
[0165] Figure 4 1 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may be a multimedia host or any ECU of a vehicle. Figure 4 As shown, the electronic device 400 of this embodiment includes: a processor 410 and a memory 420, wherein the memory 420 stores a computer program 421 that can be run on the processor 410. When the processor 410 executes the computer program 421, the steps in any of the above method embodiments are implemented, for example Figure 1 Alternatively, when the processor 410 executes the computer program 421, the functions of each module / unit in the above-mentioned device embodiments are implemented, for example Figure 3 The functions of the units 301 to 304 are shown.
[0166] Exemplarily, the computer program 421 may be divided into one or more modules / units, one or more modules / units are stored in the memory 420, and executed by the processor 410 to complete the present application. One or more modules / units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program 421 in the electronic device 400.
[0167] Those skilled in the art will understand that Figure 4 These are merely examples of electronic devices and do not constitute a limitation of the electronic device. The electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components, such as input and output devices, network access devices, buses, etc.
[0168] The processor 410 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0169] The memory 420 may be an internal storage unit of the electronic device, such as a hard disk or memory of the electronic device, or an external storage device of the electronic device, such as a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. The above-mentioned memory 420 may also include both an internal storage unit of the electronic device and an external storage device. The above-mentioned memory 420 is used to store computer programs and other programs and data required by the electronic device. The memory 420 may also be used to temporarily store data that has been output or is to be output.
[0170] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a first processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0171] An embodiment of the present invention further provides a vehicle, comprising the above-mentioned electronic device.
[0172] An embodiment of the present invention further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned device connection method is implemented.
[0173] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0174] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0175] In the embodiments provided by the present invention, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, 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.
[0176] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0177] In addition, each functional unit in each embodiment of the present invention may be integrated into a first 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.
[0178] If the integrated module / 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 computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. Computer-readable media may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium, etc.
[0179] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention.
Claims
1. A device connection method, characterized in that: The method comprises: Obtaining the identity of the device to be connected and pre-stored historical connection information; wherein the historical connection information includes the identity of each historically connected device, the historical connection mode, and the number of historical connections of each historical connection mode; Determine a first connection mode of the device to be connected according to the identity of the device to be connected, and the identity, historical connection mode and historical connection times of each historical connection mode of each historical connection device; Based on the first connection mode, generating a device connection prompt; Establishing a connection with the device to be connected according to feedback information of the user to the device connection prompt.
2. The device connection method according to claim 1, characterized in that: The determining, according to the identity of the device to be connected, and the identity, historical connection mode and historical connection times of each historical connection mode of each historical connection mode of each historical connection mode, of the first connection mode of the device to be connected comprises: Determining whether the device to be connected is a historically connected device according to the identity identifier of the device to be connected and the identity identifier of the historically connected device; If the device to be connected is a historically connected device, determining the number of historical connections of each historical connection mode of the device to be connected based on the historical connection information; A first connection mode of the device to be connected is determined according to the number of historical connections of each historical connection mode of the device to be connected.
3. The device connection method according to claim 2, characterized in that: The historical connection information also includes the historical connection time of each historical connection mode; The determining, according to the number of historical connections of each historical connection mode of the device to be connected, the first connection mode of the device to be connected comprises: Determine, from each historical connection mode of the device to be connected, a historical connection mode with the largest number of historical connections, and determine, based on the historical connection time of each historical connection mode, the historical connection time of the historical connection mode with the largest number of historical connections, if the historical connection time of the historical connection mode with the largest number of historical connections is within a preset time range, use the historical connection mode with the largest number of historical connections as the first connection mode of the device to be connected; or, From each historical connection mode of the device to be connected, determine a historical connection mode whose number of historical connections exceeds a preset number threshold, and based on the historical connection time of each historical connection mode, determine the historical connection time of each historical connection mode whose number of historical connections exceeds the preset number threshold, and use the historical connection mode whose historical connection time is closest to the current time and whose number of historical connections exceeds the preset number threshold as the first connection mode of the device to be connected.
4. The device connection method according to claim 2, characterized in that: After determining whether the device to be connected is a historically connected device according to the identity identifier of the device to be connected and the identity identifier of the historically connected device, the method further includes: If the device to be connected is not a historically connected device, a first connection mode of the device to be connected is determined according to preset priority information; wherein the priority information is used to indicate a preferred connection mode of the device.
5. The device connection method according to any one of claims 1 to 4, characterized in that: The device connection prompt includes a prompt of whether to connect the device to be connected according to the first connection mode; The step of establishing a connection with the device to be connected according to the user's feedback information on the device connection prompt includes: If the feedback information is yes, establishing a connection with the device to be connected according to the first connection mode; If the feedback information is no, a second connection mode of the device to be connected is obtained, and a connection is established with the device to be connected according to the second connection mode; wherein the second connection mode is different from the first connection mode.
6. The device connection method according to claim 5, characterized in that: The obtaining the second connection mode of the device to be connected includes: In response to an instruction generated by a user operating a preset physical button, determining a second connection mode of the device to be connected; wherein the physical button is set at a preset position of a vehicle handle; or, Acquire the voice collected by the voice collection device, perform semantic recognition on the voice, and determine the second connection mode of the device to be connected based on the recognition result; or, In response to an operation instruction of a user on a preset device connection page, a second connection mode of the device to be connected is determined; wherein the device connection page includes a plurality of connection mode selection controls.
7. The device connection method according to any one of claims 1 to 4, characterized in that: The device connection prompt includes a prompt for setting the functional permissions of the device to be connected; The step of establishing a connection with the device to be connected according to the user's feedback information on the device connection prompt includes: If the feedback information includes the functional authority of the device to be connected, a connection is established with the device to be connected according to the first connection mode and the functional authority.
8. A device connection device, characterized in that: The device comprises: An acquisition unit, used to acquire the identity of the device to be connected and pre-stored historical connection information; wherein the historical connection information includes the identity of each historically connected device, the historical connection mode and the number of historical connections of each historical connection mode; A first processing unit, configured to determine a first connection mode of the device to be connected according to an identity identifier of the device to be connected, and an identity identifier, a historical connection mode, and a historical connection count of each historical connection mode of each historical connection device; A generating unit, configured to generate a device connection prompt based on the first connection mode; The connecting unit is used to establish a connection with the device to be connected according to the feedback information of the user to the device connection prompt.
9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the computer program, the device connection method according to any one of claims 1 to 7 is implemented.
10. A vehicle, characterized in that: Comprising the electronic device as claimed in claim 9.