Wireless network account information processing method and device, domain controller and vehicle
By integrating wireless network modules and service modules in the domain controller, the automatic acquisition and transmission of wireless network account information is realized, and the problem of insufficient coordination between the on-board wireless network module and the domain controller is solved, and the operation and maintenance efficiency and user experience are improved.
Patent Information
- Application Number
- CN202510877482.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-26
- Publication Date
- 2025-08-22
AI Technical Summary
In the prior art, it is difficult for the vehicle-mounted wireless network module to cooperate deeply with the domain controller, resulting in insufficient account information management and low operation and maintenance efficiency. Initial parameter injection depends on production line tools, after-sales modifications require disassembly and burning, which violates the principle of efficient operation and maintenance.
The wireless network module is integrated in the domain controller and a service module is developed for it. Through the application module and the service module, the automatic acquisition and transmission of wireless network account information is realized, including factory account settings and user account information management.
It improves the operation convenience and operation and maintenance efficiency of wireless network account information, simplifies user operation processes, enhances the flexibility and security of the system, and optimizes resource utilization.
Smart Images

Figure CN120529307A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of intelligent driving technology, and in particular to a method, device, domain controller, and vehicle for processing wireless network account information. Background Art
[0002] As smart car electronic and electrical architectures evolve toward domain-centralization, vehicle systems are becoming increasingly reliant on wireless communications. Wireless networks, such as Wireless Fidelity (WIFI), have become a core channel for near-field operations and maintenance.
[0003] In related technologies, in-vehicle WiFi is usually implemented through an independent hardware module.
[0004] However, in the process of implementing this application, the inventors discovered that there are at least the following problems in the related technology: this independent module is difficult to deeply coordinate with the domain controller, resulting in deficiencies in account information management, and the initial parameters usually rely on production line tools for injection, and after-sales modifications require disassembly and burning, which is contrary to the principle of efficient operation and maintenance, resulting in low operation and maintenance efficiency. Summary of the Invention
[0005] The embodiments of the present application provide a wireless network account information processing method, device, domain controller and vehicle to effectively manage wireless network account information and improve operation and maintenance efficiency.
[0006] In a first aspect, an embodiment of the present application provides a method for processing wireless network account information, including:
[0007] Obtaining a first message from a preset bus through an application module; the first message is sent to the preset bus through a preset tool, and the first message includes original account information;
[0008] Storing the original account information in a first storage space; sending a second message to the preset bus based on the original account information;
[0009] Obtaining the second message from the preset bus through the service module, and parsing the second message to obtain the original account information;
[0010] If the terminal device has not set the user account information, the original account information is sent to the wireless network module.
[0011] In one possible design, the method further includes:
[0012] If the terminal device has been set with user account information, the user account information is sent to the wireless network module.
[0013] In one possible design, sending the user account information to the wireless network module includes:
[0014] In response to receiving the account setting instruction sent by the terminal device, the user account information set by the terminal device is obtained through the service module, and the user account information is sent to the wireless network module.
[0015] In one possible design, after obtaining the user account information set by the terminal device through the service module, the method further includes:
[0016] Sending a third message to a preset bus based on the user account information through the service module;
[0017] Obtaining the third message from the preset bus through the application module, storing the user account information in the third message in the second storage space, and sending a fourth message based on the user account information;
[0018] The fourth message is obtained from the preset bus through the service module, the fourth message is parsed to obtain the user account information, and the user account information is sent to the wireless network module.
[0019] In one possible design, sending the user account information to the wireless network module includes:
[0020] In response to a power-on instruction or a trigger instruction of the terminal device, the user account information is sent to the wireless network module.
[0021] In one possible design, after obtaining the user account information set by the terminal device through the service module, the method further includes:
[0022] Storing the user account information in a local cache;
[0023] In response to receiving the account query instruction sent by the terminal device, reading the user account information from the local cache, and sending the user account information to the terminal device.
[0024] In one possible design, sending the second message to the preset bus based on the original account information includes:
[0025] generating a second message based on the original account information;
[0026] Based on a preset period, the second message is sent to the preset bus a preset number of times.
[0027] In one possible design, the method further includes:
[0028] sending, by the application module, a fifth message to a preset bus in response to receiving a touch operation on a preset control; the fifth message being generated based on the original account information stored in the first storage space;
[0029] The fifth message is obtained from the preset bus through the service module; the fifth message is parsed to obtain the original account information, the original account information is stored in a local cache, and the user account information is deleted; and the original account information is sent to the wireless network module.
[0030] In a second aspect, an embodiment of the present application provides a wireless network account information processing device, including:
[0031] An application module configured to obtain a first message from a preset bus; the first message is sent to the preset bus via a preset tool, the first message including original account information; store the original account information in a first storage space; and send a second message to the preset bus based on the original account information;
[0032] The service module is configured to obtain the second message from the preset bus, parse the second message to obtain the original account information; and send the original account information to the wireless network module if the terminal device has not set the user account information.
[0033] In a third aspect, an embodiment of the present application provides a wireless network account information processing device, including: at least one processor and a memory;
[0034] The memory stores computer-executable instructions;
[0035] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the method described in the first aspect and various possible designs of the first aspect.
[0036] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the method described in the first aspect and various possible designs of the first aspect is implemented.
[0037] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program. When the computer program is executed by a processor, it implements the method described in the first aspect and various possible designs of the first aspect.
[0038] The wireless network account information processing method, device, domain controller and vehicle provided in this embodiment include obtaining a first message from a preset bus through an application module, the first message is sent to the preset bus through a preset tool, the first message includes original account information, the original account information is stored in a first storage space, a second message is sent to the preset bus based on the original account information, a second message is obtained from the preset bus through a service module, the second message is parsed to obtain the original account information, and if the terminal device has not set the user account information, the original account information is sent to the wireless network module. The wireless network account information processing method provided in the embodiment of the present application realizes effective communication between the wireless network module and the application module of the domain controller and the terminal device by setting a service module for the wireless network module, thereby realizing automatic acquisition and transmission of wireless network account information. Specifically, the application module of the domain controller can obtain and store the original account information from the preset bus, and send it to the wireless network module through the service module when necessary. The factory account setting is realized for the wireless network module in the domain controller, the wireless network account information is effectively managed, and the operational convenience and operation and maintenance efficiency are improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0040] Figure 1 Schematic diagram of the application scenario of the wireless network account information processing method provided in the embodiment of the present application Figure 1 ;
[0041] Figure 2 Schematic diagram of the process of processing wireless network account information provided in the embodiment of the present application Figure 1 ;
[0042] Figure 3 Schematic diagram of the process of processing wireless network account information provided in the embodiment of the present application Figure 2 ;
[0043] Figure 4 Schematic diagram of the application scenario of the wireless network account information processing method provided in the embodiment of the present application Figure 2 ;
[0044] Figure 5 A schematic diagram of the structure of a wireless network account information processing device provided in an embodiment of the present application;
[0045] Figure 6 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
[0046] The above drawings illustrate specific embodiments of the present application, which will be described in more detail below. These drawings and the textual description are not intended to limit the scope of the present application in any way, but rather to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments. DETAILED DESCRIPTION
[0047] To make the purpose, technical solutions, and advantages of the embodiments of this application more clear, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0048] It should be noted that the wireless network account information processing method, device, domain controller and vehicle provided in this application can be used in the field of intelligent driving, and can also be used in any field other than the field of intelligent driving. The application field of the wireless network account information processing method, device, domain controller and vehicle provided in this application is not limited.
[0049] As smart car electronic and electrical architectures evolve toward domain-centralization, in-vehicle systems are becoming increasingly reliant on wireless communications. Wireless networks, such as Wi-Fi (Wireless Fidelity), have become core channels for near-field vehicle operation and maintenance, over-the-air (OTA) upgrades, and real-time diagnostics, supporting the full range of intelligent capabilities, from driving control to troubleshooting. Their low latency and high flexibility are key technical foundations for achieving the "software-defined car."
[0050] In related technologies, in-vehicle WIFI is mostly implemented using independent hardware modules. However, independent modules cannot deeply collaborate with domain controllers, resulting in the lack of account information (SSID / password) query, setting, and factory restore functions; they rely on production line tools (such as CANoe) to inject initial parameters, and after-sales modifications require disassembly and burning, which violates the principle of efficient operation and maintenance and has low operation and maintenance efficiency.
[0051] In order to solve the above technical problems, the inventors of the present application have found that WIFI can be integrated into the domain controller, but how to realize the centralized management of account information, conflict resolution (user / factory settings), and screen-free security recovery is still a problem to be solved. In order to further solve the problem of account information management, the inventors of the present application have found that when the domain controller is integrated with a WIFI module, a service module can be developed for the WIFI module, and the service module can be used to communicate with the operation and maintenance application (Application, APP) of the terminal device and the application module of the domain controller, so as to realize functions such as factory account settings and improve operation and maintenance efficiency. Based on this, the embodiment of the present application provides a wireless network account information processing method.
[0052] Figure 1 Schematic diagram of the application scenario of the wireless network account information processing method provided in the embodiment of the present application Figure 1 .like Figure 1 As shown. The domain controller is in communication with the terminal device; the domain controller includes an application module, a service module, and a wireless network module. The terminal device can establish a communication link with the wireless network module and communicate with the service module of the domain controller based on the communication link. The wireless network module can be a WiFi module.
[0053] In the specific implementation process, the domain controller obtains a first message from a preset bus (such as a controller area network (CAN)) through an application module. The first message is sent to the preset bus through a preset tool. The first message includes original account information (such as a WIFI factory name and a WIFI factory password), and the original account information is stored in a first storage space; based on the original account information, a second message is sent to the preset bus, and the second message is obtained from the preset bus through a service module. The second message is parsed to obtain the original account information. If the terminal device does not set the user account information, the original account information is sent to the wireless network module. The wireless network account information processing method provided in the embodiment of the present application realizes effective communication between the wireless network module and the application module of the domain controller and the terminal device by setting a service module for the wireless network module, thereby realizing automatic acquisition and transmission of wireless network account information. Specifically, the application module of the domain controller can obtain and store the original account information from the preset bus, and send it to the wireless network module through the service module when necessary. The factory account setting for the wireless network module in the domain controller is realized, the wireless network account information is effectively managed, and the operation convenience and operation and maintenance efficiency are improved.
[0054] It should be noted that Figure 1The scenario diagram shown is only an example. The wireless network account information processing method and scenario described in the embodiment of the present application are intended to more clearly illustrate the technical solution of the embodiment of the present application, and do not constitute a limitation on the technical solution provided by the embodiment of the present application. Ordinary technicians in this field can know that with the evolution of the system and the emergence of new business scenarios, the technical solution provided by the embodiment of the present application is also applicable to similar technical problems.
[0055] The following specific embodiments are used to describe the technical solution of the present application in detail. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0056] Figure 2 Schematic diagram of the process of processing wireless network account information provided in the embodiment of the present application Figure 1 .like Figure 2 As shown, the method includes:
[0057] 201. Obtain a first message from a preset bus through an application module; the first message is sent to the preset bus through a preset tool, and the first message includes original account information.
[0058] The execution entity of this embodiment can be as follows Figure 1 The domain controller shown in FIG. 1 may be a core domain controller, and the remaining domain controllers (such as a chassis domain controller and an intelligent cockpit domain controller) are all connected to the core domain controller and communicate through the core domain controller.
[0059] In this embodiment, the original account information may include a factory name and a factory password, etc.
[0060] The application module may be a software module in the domain controller.
[0061] The preset bus may be a CAN bus.
[0062] For example, if the default bus is CAN and the wireless network is Wi-Fi, when a vehicle rolls off the assembly line, production line personnel can use tools such as CANOE / CANTest to write factory-set Wi-Fi-CAN messages to the CAN bus. The domain controller's application module retrieves the Wi-Fi factory-set CAN messages via the CAN bus.
[0063] 202. Store the original account information in a first storage space; and send a second message to the preset bus based on the original account information.
[0064] For example, Figure 4As shown in the figure, assuming the default bus is CAN and the wireless network is Wi-Fi, after the application module obtains the Wi-Fi factory-set CAN message, the CAN identifier (CAN ID) stored on the domain controller for the factory Wi-Fi-CAN message is 0x100 and 0x101, where 0x100 represents the factory Wi-Fi name and 0x101 represents the factory Wi-Fi password. The CAN ID is an identifier used on the CAN bus to identify the priority and type of data frames. It is divided into standard frames (11 bits) and extended frames (29 bits).
[0065] In some embodiments, in order to ensure the effectiveness of data transmission, the same message can be sent repeatedly. Specifically, the sending of the second message to the preset bus based on the original account information may include: generating a second message based on the original account information; and sending the second message to the preset bus a preset number of times based on a preset period. The method provided in the embodiment of the present application can generate a second message based on the original account information and then send the message to the preset bus multiple times according to a preset period. The reliability of the message during transmission is ensured, and the probability of successful message transmission can be effectively improved even in the case of poor network conditions or data loss. It not only enhances the stability of data transmission, but also reduces retransmission requests caused by transmission failures, thereby improving the overall communication efficiency and robustness of the system.
[0066] In this embodiment, the preset period may be less than or equal to 120 ms and greater than or equal to 80 ms, for example, 100 ms, and the preset number of times may be less than or equal to 120 times and greater than or equal to 80 times, for example, 100 times.
[0067] For example, taking the preset bus as CAN bus and the wireless network as WIFI as an example, the application module of the domain controller can send 0X100 and 0X101 messages to the CAN bus at a preset period (for example, 100ms).
[0068] 203. Obtain the second message from the preset bus through the service module, and parse the second message to obtain the original account information.
[0069] For example, taking the preset bus as CAN bus and the wireless network as WIFI, the WIFI service (ie, the service module) obtains 0X100 and 0X101 message data through the CAN bus, and parses it to obtain the original account information (WIFI factory name and WIFI factory password).
[0070] 204. If the terminal device has not set the user account information, the original account information is sent to the wireless network module.
[0071] For example, Figure 4 As shown, taking the preset bus as CAN bus and the wireless network as WIFI as an example, if the operation and maintenance APP on the terminal device has not set the user's WIFI account information, the WIFI service (i.e., the service module) can send the original account information to the WIFI module (i.e., the wireless network module) in the Transmission Control Protocol (TCP) mode. The WIFI module receives the account and password data of the original account information and sets the original account information as the current WIFI account and password.
[0072] The wireless network account information processing method provided in the embodiments of the present application implements automatic acquisition and transmission of wireless network account information by setting a service module for the wireless network module, enabling effective communication between the wireless network module and the application module and terminal device of the domain controller. Specifically, the application module of the domain controller can obtain and store the original account information from a preset bus and, when necessary, transmit it to the wireless network module via the service module. This implements factory account settings for the wireless network module in the domain controller, improving operational convenience and operation and maintenance efficiency.
[0073] Figure 3 Schematic diagram of the process of processing wireless network account information provided in the embodiment of the present application Figure 2 .like Figure 3 As shown, this embodiment describes in detail the factory account setting and factory account recovery, as well as the implementation process of the terminal device querying and setting the wireless network account of the domain controller. The method includes:
[0074] 301. Obtain a first message from a preset bus through an application module; the first message is sent to the preset bus through a preset tool, and the first message includes original account information.
[0075] 302. Store the original account information in a first storage space; and send a second message to the preset bus based on the original account information.
[0076] 303. Obtain the second message from the preset bus through the service module, and parse the second message to obtain the original account information.
[0077] 304. Determine whether the terminal device has user account information set. If not, execute step 305. If so, execute step 306.
[0078] 305. Send the original account information to the wireless network module.
[0079] Steps 301 to 305 in this embodiment are similar to steps 201 to 204 in the above embodiment, and are not described again here.
[0080] 306. Send the user account information to the wireless network module.
[0081] For example, taking the preset bus as CAN bus and the wireless network as WIFI as an example, if the operation and maintenance APP on the terminal device has set the user account information, the user account information set by the operation and maintenance APP is used to update the WIFI account information of the WIFI module.
[0082] In some embodiments, sending the user account information to the wireless network module may include: in response to receiving an account setting instruction sent by a terminal device, obtaining the user account information set by the terminal device through the service module, and sending the user account information to the wireless network module. The method provided in the embodiment of the present application is that by responding to the account setting instruction sent by the terminal device, the domain controller can obtain and transmit the user account information to the wireless network module through the service module. The beneficial effect of this mechanism is to improve the user experience and system flexibility. Users can customize account information according to their needs, and the system can respond and configure quickly to meet personalized needs. In addition, this method enhances security because information transmission is carried out after receiving clear instructions, reducing the risk of unauthorized changes. At the same time, resource utilization is optimized, information is transmitted only when necessary, unnecessary processing is avoided, the user operation process is simplified, and the convenience and efficiency of use are improved.
[0083] For example, Figure 4 As shown, taking the preset bus as CAN bus and the wireless network as WIFI as an example, the operation and maintenance APP on the terminal device communicates with the WIFI service (i.e., service module) by connecting to the WIFI hotspot. The operation and maintenance APP sends an account setting instruction to the WIFI service. The WIFI service obtains the WIFI account information set by the operation and maintenance APP, and first sends the account information set by the user on the operation and maintenance APP to the WIFI module (i.e., wireless network module) via TCP. When WIFI receives the command, it updates the account information. At the same time, the WIFI service will send the user account information set by the user to the CAN bus at a preset period (e.g., 100ms), and send it continuously for a preset number of times (e.g., 100 times).
[0084] In some embodiments, after obtaining the user account information set by the terminal device through the service module, the method further includes: sending a third message based on the user account information to a preset bus through the service module; obtaining the third message from the preset bus through the application module, storing the user account information in the third message in a second storage space, and sending a fourth message based on the user account information; obtaining the fourth message from the preset bus through the service module, parsing the fourth message to obtain the user account information, and sending the user account information to the wireless network module. The method provided in the embodiment of the present application ensures the accurate transmission and storage of user account information through a series of steps. The system first obtains the user account information set by the terminal device through the service module and sends the third message to the preset bus. Subsequently, the application module obtains the message from the bus and stores the information in the second storage space, and then sends the fourth message based on the information. After the service module obtains and parses the fourth message from the bus, it sends the user account information to the wireless network module. The beneficial effect of this process is that through multi-step verification and storage, the integrity and accuracy of the data are ensured, thereby enhancing the reliability and security of the system. Multiple information transmission and analysis not only optimizes information management, but also reduces users' manual operations and simplifies the usage process, thereby improving the convenience and satisfaction of user experience.
[0085] For example, Figure 4 As shown, taking the preset bus as CAN bus and the wireless network as WIFI as an example, the operation and maintenance APP on the terminal device is connected to the WIFI service (i.e., service module) by connecting to the WIFI hotspot. The operation and maintenance APP sends an account setting instruction to the WIFI service. The WIFI service obtains the WIFI account information set by the operation and maintenance APP, and first sends the account information set by the user on the operation and maintenance APP to the WIFI via TCP. When WIFI receives the command, it updates the account information. At the same time, the WIFI service will send the WIFI account information set by the user (i.e., the third message) to the CAN bus at a preset period (e.g., 100ms), and send it continuously for a preset number of times (e.g., 100 times).
[0086] After the application module receives the third message sent by the WIFI service, it stores the user account information set by the operation and maintenance APP in the second storage space, for example, on the CANID distribution of 0X200, 0X201, generates a fourth message, and sends data to the CAN bus at a preset period (for example, 100ms). It can be repeated a preset number of times (for example, 100 times). After the WIFI service receives the fourth message with CANID of 0X200 and 0X201, it sends the user account information to the WIFI again. Among them, during the re-sending process, if it is when the WIFI service is started, the WIFI service only sends it to the WIFI once. If it is sent after startup, it will be sent again when the operation and maintenance APP is triggered, and it will be sent once each time it is triggered.
[0087] In some embodiments, sending the user account information to the wireless network module includes: sending the user account information to the wireless network module in response to a power-on instruction or a trigger instruction of the terminal device. The method provided in the embodiment of the present application can ensure the accuracy of the account information and the consistency with the account information stored in the domain controller by resending the user account information at power-on (because the account information stored in the domain controller may be changed by receiving user modifications through other channels other than the terminal device). In addition, by resending the user account information when the terminal device is triggered, it can avoid resource occupation and can promptly respond to user needs to improve system reliability and stability.
[0088] In some embodiments, after obtaining the user account information set by the terminal device through the service module, it also includes: storing the user account information in a local cache; in response to receiving an account query instruction sent by the terminal device, reading the user account information from the local cache, and sending the user account information to the terminal device.
[0089] For example, Figure 4 As shown, taking the preset bus as CAN bus and the wireless network as WIFI as an example, the WIFI service sends the user account password to the WIFI module. After the WIFI module sets the WIFI account password, the WIFI service locally saves the user account information for the convenience of user query. Specifically, the operation and maintenance APP on the terminal device connects to the WIFI service (i.e., the service module) by connecting to the WIFI hotspot. The operation and maintenance APP sends an account query instruction to the WIFI service. When the WIFI service obtains the account query instruction sent by the operation and maintenance APP on the terminal device, the WIFI service sends the user account information stored in the local cache to the operation and maintenance APP service for the operation and maintenance platform to query the WIFI account information.
[0090] 307 . In response to receiving a touch operation on a preset control, the application module sends a fifth message to a preset bus; the fifth message is generated according to the original account information stored in the first storage space.
[0091] 308. Obtain the fifth message from the preset bus through the service module; parse the fifth message to obtain the original account information, store the original account information in a local cache, delete the user account information; and send the original account information to the wireless network module.
[0092] In this embodiment, the preset control can be hardware such as a button, or it can be a software control displayed in the interface of the operation and maintenance APP of the terminal device.
[0093] For example, Figure 4 As shown, taking the preset bus as CAN bus and the wireless network as WIFI as an example, the user long presses the factory setting button, and the long press lasts for a preset time (for example, 1 minute). The application module of the domain controller receives the user button message and determines the long press duration. If it reaches 1 minute, the domain controller sends a 0X300 message (i.e., the fifth message), based on a preset period (for example, 100ms), and continuously sends a preset number of times (for example, 100 times). After the sending is completed, the 0x200 and 0x201 message data are cleared. If the long press does not exceed 1 minute, the application module of the domain controller does not do anything.
[0094] After receiving the 0x300 packet, the Wi-Fi service clears the user account information stored in the local cache and sends the original account information stored locally to the Wi-Fi module via TCP. The Wi-Fi module receives the data sent by TCP and updates the Wi-Fi account information.
[0095] The wireless network account information processing method provided in this embodiment and the method provided in the embodiment of the present application realize the effective management and transmission of user account information and original account information through a series of steps. The system ensures the integrity and consistency of the data through the interaction of the application module and the service module on the preset bus. The flexible account management mechanism allows the system to selectively send the original account information or the user account information to the wireless network module according to the setting status of the terminal device, thereby improving the adaptability and efficiency of the system. In addition, through the use of local cache, the system can quickly access and update information, reduce dependence on network resources, and optimize resource utilization. Users can trigger the update and transmission of account information through simple touch operations, which simplifies the operation process and improves the convenience and satisfaction of the user experience. Overall, this design enhances the performance, reliability and user experience of the system.
[0096] Figure 5Schematic diagram of the structure of the wireless network account information processing device provided in the embodiment of the present application Figure 1 .like Figure 5 As shown, the wireless network account information processing device 50 includes: an application module 501 and a service module 502 .
[0097] Application module 501 is configured to obtain a first message from a preset bus; the first message is sent to the preset bus via a preset tool, the first message including original account information; store the original account information in a first storage space; and send a second message to the preset bus based on the original account information;
[0098] The service module 502 is configured to obtain the second message from the preset bus, parse the second message to obtain the original account information, and send the original account information to the wireless network module if the terminal device has not set the user account information.
[0099] The wireless network account information processing device provided in the embodiments of the present application, by providing a service module for the wireless network module, enables effective communication between the wireless network module and the application module and terminal device of the domain controller, thereby realizing the automatic acquisition and transmission of wireless network account information. Specifically, the application module of the domain controller can obtain and store the original account information from the preset bus and send it to the wireless network module via the service module when necessary. This implements factory account settings for the wireless network module in the domain controller, improving operational convenience and operation and maintenance efficiency.
[0100] In some embodiments, the service module 502 is further configured to send the user account information to the wireless network module if the terminal device has set the user account information.
[0101] In some embodiments, the service module 502 is specifically configured to: in response to receiving an account setting instruction sent by a terminal device, obtain the user account information set by the terminal device, and send the user account information to the wireless network module.
[0102] In some embodiments, the service module 502 is specifically used to: send a third message to the preset bus based on the user account information; the application module 501 is specifically used to: obtain the third message from the preset bus, store the user account information in the third message in the second storage space, and send a fourth message based on the user account information; the service module 502 is specifically used to: obtain the fourth message from the preset bus, parse the fourth message, obtain the user account information, and send the user account information to the wireless network module.
[0103] In some embodiments, the service module 502 is specifically configured to send the user account information to the wireless network module in response to a power-on instruction or a trigger instruction of the terminal device.
[0104] In some embodiments, the service module 502 is specifically used to: store the user account information in a local cache; in response to receiving an account query instruction sent by the terminal device, read the user account information from the local cache, and send the user account information to the terminal device.
[0105] In some embodiments, the application module 501 is specifically configured to: generate a second message based on the original account information; and send the second message to the preset bus a preset number of times based on a preset period.
[0106] In some embodiments, the application module 501 is also used to send a fifth message to the preset bus in response to receiving a touch operation on a preset control; the fifth message is generated based on the original account information stored in the first storage space; the service module 502 is also used to obtain the fifth message from the preset bus; parse the fifth message to obtain the original account information, store the original account information in the local cache, delete the user account information; and send the original account information to the wireless network module.
[0107] The wireless network account information processing device provided in the embodiment of the present application can be used to execute the above-mentioned method embodiment. Its implementation principle and technical effects are similar, and this embodiment will not be repeated here.
[0108] Figure 6 This is a schematic diagram of the structure of the electronic device provided in this application. Figure 6 As shown, the electronic device 60 provided in this embodiment includes: at least one processor 601 and a memory 602. Optionally, the electronic device 60 further includes a communication component 603. The processor 601, the memory 602 and the communication component 603 are connected via a bus.
[0109] During the specific implementation process, at least one processor 601 executes the computer-executable instructions stored in the memory 602, so that the at least one processor 601 performs the above method.
[0110] The specific implementation process of the processor 601 can be found in the above method embodiment. Its implementation principle and technical effects are similar and will not be repeated here in this embodiment.
[0111] In the above embodiments, it should be understood that the processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the present invention may be directly executed by a hardware processor or by a combination of hardware and software modules in the processor.
[0112] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (NVM), such as at least one disk memory.
[0113] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. Buses can be classified as address buses, data buses, and control buses. For ease of illustration, the buses in the drawings of this application are not limited to just one bus or just one type of bus.
[0114] The present application also provides a computer program product, including a computer program, which implements the above method when executed by a processor.
[0115] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the above method is implemented.
[0116] The above-mentioned readable storage medium can be implemented by any type of volatile or non-volatile memory device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer.
[0117] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be an integral part of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the readable storage medium can also exist in a device as discrete components.
[0118] The division of units is merely a logical functional division; actual implementations may employ alternative divisions, such as combining or integrating multiple units or components into another system, or omitting or disabling certain features. Furthermore, any direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between devices or units, either through an interface, electrical, mechanical, or other means.
[0119] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0120] In addition, each functional unit in each embodiment of the present invention 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.
[0121] If the function 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 technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program code.
[0122] Those skilled in the art will appreciate that all or part of the steps in the above-described method embodiments can be implemented using hardware associated with program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0123] Finally, it should be noted that those skilled in the art will readily identify other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses, or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art not disclosed herein. The present invention is not limited to the precise structure described above and illustrated in the accompanying drawings, and various modifications and variations may be made without departing from the scope thereof. The scope of the present invention is limited solely by the appended claims.
Claims
1. A wireless network account information processing method, characterized in that: include: Acquire a first message from a preset bus through an application module; The first message is sent to the preset bus through a preset tool, and the first message includes original account information; Storing the original account information in a first storage space; Sending a second message to the preset bus based on the original account information; Obtaining the second message from the preset bus through the service module, and parsing the second message to obtain the original account information; If the terminal device has not set the user account information, the original account information is sent to the wireless network module.
2. The method according to claim 1, characterized in that The method further comprises: If the terminal device has been set with user account information, the user account information is sent to the wireless network module.
3. The method according to claim 2, characterized in that The sending of the user account information to the wireless network module includes: In response to receiving the account setting instruction sent by the terminal device, the user account information set by the terminal device is obtained through the service module, and the user account information is sent to the wireless network module.
4. The method according to claim 3, characterized in that After obtaining the user account information set by the terminal device through the service module, the method further includes: Sending a third message to a preset bus based on the user account information through the service module; Obtaining the third message from the preset bus through the application module, storing the user account information in the third message in the second storage space, and sending a fourth message based on the user account information; The fourth message is obtained from the preset bus through the service module, the fourth message is parsed to obtain the user account information, and the user account information is sent to the wireless network module.
5. The method according to claim 4, characterized in that The sending of the user account information to the wireless network module includes: In response to a power-on instruction or a trigger instruction of the terminal device, the user account information is sent to the wireless network module.
6. The method according to claim 3, characterized in that After obtaining the user account information set by the terminal device through the service module, the method further includes: Storing the user account information in a local cache; In response to receiving the account query instruction sent by the terminal device, reading the user account information from the local cache, and sending the user account information to the terminal device.
7. The method according to any one of claims 1 to 6, characterized in that The sending of the second message to the preset bus based on the original account information includes: generating a second message based on the original account information; Based on a preset period, the second message is sent to the preset bus a preset number of times.
8. The method according to any one of claims 1 to 6, characterized in that The method further comprises: sending, by the application module, a fifth message to a preset bus in response to receiving a touch operation on a preset control; the fifth message being generated based on the original account information stored in the first storage space; The fifth message is obtained from the preset bus through the service module; the fifth message is parsed to obtain the original account information, the original account information is stored in a local cache, and the user account information is deleted; and the original account information is sent to the wireless network module.
9. A wireless network account information processing device, characterized in that: include: An application module, configured to obtain a first message from a preset bus; The first message is sent to the preset bus through a preset tool, and the first message includes original account information; Storing the original account information in a first storage space; Sending a second message to the preset bus based on the original account information; a service module, configured to obtain the second message from the preset bus, and parse the second message to obtain the original account information; If the terminal device has not set the user account information, the original account information is sent to the wireless network module.
10. An electronic device, characterized in that: include: at least one processor and memory; The memory stores computer-executable instructions; The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the wireless network account information processing method according to any one of claims 1 to 8.
11. A domain controller, characterized in that: Comprising the electronic device as claimed in claim 10.
12. A vehicle, characterized in that: Comprising the domain controller of claim 11.
13. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions. When the processor executes the computer-executable instructions, the wireless network account information processing method according to any one of claims 1 to 8 is implemented.