Local network wake-up control method and device, electronic equipment and vehicle
By self-learning the wake-up process in the vehicle, distinguishing necessary and non-essential network segments, only awakening the necessary network segments and delaying sleep, the problem of high static power consumption when the vehicle wakes up is solved, reducing battery power consumption, and avoiding the overall situation The car loses electricity.
Patent Information
- Application Number
- CN202411739759.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-02-18
AI Technical Summary
When the vehicle wakes up, the existing technology will wake up all electrical equipment, resulting in high static power consumption and consuming battery power, which can easily cause the entire vehicle to lose power.
Through self-learning of the wake-up process, the necessary and non-essential network segments are determined, only the necessary network segments are awakened, and the local area network nodes are monitored in real time, and the necessary network segments are delayed according to the flag bit state.
Reduce the power consumption of the battery, avoid the power loss of the entire vehicle, and avoid frequent wake-up through delayed sleep, ensuring the time for data processing and storage, and ensuring the accuracy of self-learning.
Smart Images

Figure CN119485602A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a wake-up control method, device, electronic device and vehicle for a local network. Background Art
[0002] At present, with the improvement of vehicle intelligence, vehicle electrical configuration is becoming more and more abundant. When the vehicle is awakened, if all electrical devices are awakened, the static power consumption is high at this time. The awakened electrical devices will consume the power of the battery, which may easily cause the whole vehicle to run out of power. Summary of the invention
[0003] In view of this, the purpose of the present application is to propose a wake-up control method, device, electronic device and vehicle for a local network, which limit the wake-up process through self-learning to reduce the power consumption of the battery.
[0004] Based on the above purpose, the present application provides a wake-up control method for a local network, including:
[0005] In response to receiving a wake-up signal, determining a target network segment set corresponding to the wake-up signal;
[0006] Determine a historical wake-up signal corresponding to the wake-up signal, and classify and self-learn at least one target network segment in the target network segment set according to the historical wake-up signal to obtain a necessary network segment and a non-essential network segment;
[0007] The necessary network segment is awakened, and the local area network node corresponding to the necessary network segment is monitored in real time, and the necessary network segment is put into sleep mode for a delayed period of time according to the flag bit status of the local area network node.
[0008] Based on the same inventive concept, the present application also provides a wake-up control device for a local network, including:
[0009] The application layer wake-up detection module is configured to: in response to receiving a wake-up signal, determine a target network segment set corresponding to the wake-up signal;
[0010] The bottom network segment classification module is configured to: determine a historical wake-up signal corresponding to the wake-up signal, and classify and self-learn at least one target network segment in the target network segment set according to the historical wake-up signal to obtain a necessary network segment and a non-essential network segment;
[0011] The bottom network segment control module is configured to: wake up the necessary network segment, monitor the local area network node corresponding to the necessary network segment in real time, and delay the dormancy of the necessary network segment according to the flag bit status of the local area network node.
[0012] Based on the same inventive concept, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the method as described above when executing the computer program.
[0013] Based on the same inventive concept, the present application also provides a vehicle, comprising a wake-up control device or electronic device for a local network as described above.
[0014] From the above, it can be seen that the wake-up control method, device, electronic device and vehicle of the local network provided by the present application can determine the target network segment set corresponding to the wake-up signal after receiving the wake-up signal; determine the historical wake-up signal corresponding to the wake-up signal, and classify and self-learn at least one target network segment in the target network segment set according to the historical wake-up signal to obtain necessary network segments and non-essential network segments; wake up the necessary network segment, and monitor the local area network node corresponding to the necessary network segment in real time, and delay the sleep of the necessary network segment according to the flag status of the local area network node. After receiving the wake-up signal and determining the target network segment set corresponding to the wake-up signal, the self-learning of wake-up is performed by obtaining the corresponding historical wake-up signal, and the necessary network segments and non-essential network segments in the target network segment set are determined by self-learning, and the necessary network segments are awakened to meet user needs, and the power consumption is reduced by not awakening the non-essential network segments to avoid power loss of the whole vehicle. And through delayed sleep to ensure to avoid frequent wake-ups, and reserve enough time for data processing and storage to ensure the accuracy of self-learning. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0016] Figure 1 This is a flow chart of a local network wake-up control method according to an embodiment of the present application;
[0017] Figure 2 This is a flow chart of the embodiment of the present application for classification self-learning based on historical wake-up signals;
[0018] Figure 3 This is a flow chart of the embodiment of the present application for classification self-learning based on historical wake-up records;
[0019] Figure 4 This is a flowchart of the embodiment of the present application for delaying the dormancy of the necessary network segments;
[0020] Figure 5This is a flow chart of the delayed interruption control according to the control of the necessary network segments according to the embodiment of the present application;
[0021] Figure 6 This is a flow chart of delay interruption control according to control of non-essential network segments according to an embodiment of the present application;
[0022] Figure 7 This is a schematic diagram of the structure of the wake-up control of the local network according to an embodiment of the present application;
[0023] Figure 8 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0024] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0025] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be the usual meanings understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0026] It should be understood herein that any number of elements in the drawings is for illustration rather than limitation, and any naming is only for distinction rather than having any limiting meaning.
[0027] Based on the description of the above background technology, the related technology also has the following situations:
[0028] As the level of vehicle intelligence increases, the number of electrical devices installed in vehicles is increasing. When the user performs corresponding control on the vehicle, the hard-wired signal of the corresponding function is triggered, and at least one corresponding electrical device is awakened according to the hard-wired signal. However, the user may only use one or more of the multiple electrical devices, but not all of them, resulting in unused electrical devices among the awakened electrical devices. However, even if the awakened electrical devices are not used, keeping them turned on will consume the power of the battery, which will cause the power of the battery pool to decrease, and will further trigger the charging of the power battery, consuming the power of the power battery. If the unused electrical devices are awakened for a long time for many times, the power of the battery and the power battery will be consumed extra, which may easily cause the whole vehicle to lose power.
[0029] The wake-up control method, device, electronic device and vehicle of the local network provided in the embodiment of the present application can determine the target network segment set corresponding to the wake-up signal after receiving the wake-up signal; determine the historical wake-up signal corresponding to the wake-up signal, and classify and self-learn at least one target network segment in the target network segment set according to the historical wake-up signal to obtain necessary network segments and non-essential network segments; wake up the necessary network segments, and monitor the local area network nodes corresponding to the necessary network segments in real time, and delay the sleep of the necessary network segments according to the flag status of the local area network nodes. After receiving the wake-up signal and determining the target network segment set corresponding to the wake-up signal, the self-learning of wake-up is performed by obtaining the corresponding historical wake-up signal, and the necessary network segments and non-essential network segments in the target network segment set are determined by self-learning, and the necessary network segments are awakened to meet the user's needs, and the power consumption is reduced by not awakening the non-essential network segments to avoid the whole vehicle from running out of power. And through delayed sleep to ensure to avoid frequent wake-ups, and reserve enough time for data processing and storage to ensure the accuracy of self-learning.
[0030] The following describes in detail the local network wake-up control method provided by the embodiments of the present application in conjunction with the accompanying drawings.
[0031] In some embodiments, Figure 1 As shown, a wake-up control method for a local network includes:
[0032] Step 101: In response to receiving a wake-up signal, determine a target network segment set corresponding to the wake-up signal.
[0033] In specific implementation, the application layer obtains the wake-up signal through the wake-up component and sends the wake-up signal to the bottom layer. The wake-up signal refers to a signal that can wake up the bottom layer from a dormant state. The preferred wake-up signal in this embodiment can be a signal that can wake up the bottom layer from a dormant state obtained by the wake-up component that is always in a working state. For example, the controller can be a body domain controller, the application layer can be the ASW in the Automotive OpenSystem Architecture (AUTOSAR) in the body domain controller, the bottom layer can be the BSW in the AUTOSAR in the body domain controller, the wake-up component can be the Sleep Model (SLP) in the ASW, and the wake-up signal can be a signal generated according to the Pin signal of the hard-wired transmission obtained by the wake-up component, or a signal generated according to the Network Management (NM) message transmitted by the communication network.
[0034] It is understandable that when the controller is in a dormant state, in order to obtain the wake-up signal of the controller, a part of the control unit (such as the wake-up component) will always be in working state. Optionally, the wake-up component can be a preset port component located on the vehicle side, or it can be a cloud-based remote component. For the cloud-based remote component, the wake-up network segment of each port can be configured on the vehicle remote service provider (Telematics Service Provider, TSP) platform. After the configuration is completed, the TSP sends the wake-up information through the telematics processor (Telematics BOX, T-BOX). After receiving the corresponding wake-up information, the T-BOX sends the wake-up information to the vehicle gateway. The vehicle gateway sends the corresponding wake-up information to the application layer of the corresponding controller to obtain the wake-up signal.
[0035] After the application layer receives the wake-up signal and sends it to the bottom layer, the bottom layer sends the wake-up signal to the application layer. The bottom layer refers to the software that can provide basic services, and the application layer refers to the software that can provide control algorithms. For example, the application layer can be the ASW in AUTOSAR in the body domain controller, and the BSW can send the Pin signal and NM message to the ASW through the interface module in the BSW. In this way, sending the wake-up signal to the application layer through the bottom layer avoids using the bottom layer to complete the matching of the wake-up signal, and realizes the step-by-step processing of the wake-up signal.
[0036] When performing network segment wake-up, the application layer first uses the pre-stored wake-up rules to match the wake-up signal to obtain a matching result. The wake-up rule refers to the rule that can filter the wake-up signal, and the matching result refers to the result obtained by matching the wake-up signal according to the wake-up rule. For example, when the wake-up signal is a Pin signal for opening the back door, the wake-up rule corresponding to the wake-up signal may be that the back door needs to be opened when there is a car key signal. The Pin signal for opening the back door can be matched with the presence of a car key signal.
[0037] Then, the application layer generates a wake-up instruction for the LAN node according to the matching result, and sends the wake-up instruction to the bottom layer, which uses the wake-up instruction to wake up the network segment in the dormant state.
[0038] Among them, the local area network refers to a unit that can provide communication functions to the bottom layer. For example, the local area network can include a local bus (Local Interconnect Network, LIN) network and a controller area network (Controller Area Network, CAN). The wake-up instruction refers to an instruction that can be used to wake up the network segment at the bottom layer, wherein the wake-up instruction can be generated by the wake-up function in the application layer. Among them, one network segment corresponds to one electrical device, each electrical device corresponds to at least one network segment, and a network segment can have multiple local area network nodes. As long as there is an awakened node among multiple local area network nodes, the corresponding network segment can be awakened; however, only when all local area network nodes are not awakened, the corresponding network segment can be put into sleep mode.
[0039] The wake-up signal is received through the application layer and sent to the bottom layer, avoiding the use of the bottom layer to complete the matching of the wake-up signal and realizing the step-by-step processing of the wake-up process; the application layer is used to match the wake-up signal according to the wake-up rule, and the wake-up instruction for the LAN node is obtained according to the matching result. The wake-up signal is filtered according to the wake-up rule to prevent the generation of wake-up instructions for the wake-up signal that does not meet the wake-up rule, thereby reducing the number of wake-up times of the network segment and thus reducing the power consumption of the whole vehicle.
[0040] However, the wake-up signal may need to wake up multiple network segments at the same time. For example, when the wake-up signal is a Pin signal for opening the back door, it is necessary to wake up the key detection device, the back door control device and the vehicle host. The key detection device is used to identify legal devices to ensure that the action of opening the back door is legal. The back door control device is used to unlock the back door's armed state and unlock the back door to ensure that the user can open the back door. The vehicle host is used to display the back door status and prompt the real-time status of the back door. The back door control network segment corresponding to the back door control device, the key detection network segment corresponding to the key detection device, and the host network segment corresponding to the vehicle host are all target network segments corresponding to the wake-up signal, and the target network segment set is (back door control network segment, key detection network segment, host network segment).
[0041] Step 102: determine a historical wake-up signal corresponding to the wake-up signal, and classify and self-learn at least one target network segment in the target network segment set according to the historical wake-up signal to obtain necessary network segments and non-essential network segments.
[0042] In specific implementation, if all network segments corresponding to the wake-up signal are directly awakened after receiving the wake-up signal, it may cause unnecessary power consumption. For example, when the wake-up signal is a Pin signal about opening the back door, it is necessary to wake up the back door control network segment, the key detection network segment and the host network segment at the same time, wherein the back door control device and the key detection device are devices that must be used when opening the back door of the vehicle to ensure the safety of the vehicle, so if you want to open the back door, you must wake up the back door control network segment and the key detection network segment. However, when the user does not actively operate the vehicle host, the function of the vehicle host is to display the status of the back door, and it is not a device that must be used after the door is opened, so the vehicle host may not be awakened after receiving the wake-up signal. However, if the user has the habit of using the vehicle host to control the back door to open or close automatically, at this time, if the vehicle host is not awakened, the user will not be able to directly control the back door of the vehicle through the vehicle host, and the user needs to manually wake up the vehicle host, which will bring a bad user experience to the user. Therefore, it is necessary to limit and control the wake-up process according to the user's usage habits.
[0043] Among them, it is necessary to use the historical wake-up signal corresponding to the wake-up signal to determine the user's usage habits for the wake-up signal, that is, to use the historical wake-up signal for classification self-learning to determine the user's usage habits. Among them, necessary network segments and non-essential network segments are used to reflect the user's usage habits. The necessary network segment indicates the network segment that the wake-up signal must wake up and the network segment that the user is accustomed to using. The non-essential network segment indicates the network segment that is not required to be woken up and the network segment that the user is not accustomed to using.
[0044] Exemplarily, when the wake-up signal is a Pin signal for opening the back door, the back door control network segment and the key detection network segment must be awakened in order to open the back door, and the back door control device and the key detection device will definitely be used automatically, so the back door control network segment and the key detection network segment are necessary network segments. However, when the user has not actively operated the vehicle host for many times, the host network segment is determined to be a non-essential network segment and does not need to be awakened to meet the user's usage habits. If the user actively operates the vehicle host for many times, it means that the user is accustomed to using the vehicle host to control the back door of the vehicle, and the host network segment is determined to be a necessary network segment and needs to be awakened to meet the user's usage habits. Therefore, it is necessary to classify and self-learn at least one target network segment in the target network segment set according to the historical wake-up signal to obtain necessary network segments and non-essential network segments to determine the user's vehicle usage habits for the wake-up signal to ensure that it will not affect the user's usage experience.
[0045] Step 103: Wake up the necessary network segment, monitor the LAN nodes corresponding to the necessary network segment in real time, and delay the sleep of the necessary network segment according to the flag bit status of the LAN node.
[0046] In specific implementation, after classifying the target network segments corresponding to the wake-up signal, the necessary network segments and non-essential network segments representing the user's usage habits can be obtained. The non-essential network segments indicate that the user is not used to using the power-consuming equipment corresponding to the non-essential network segments after triggering the corresponding wake-up signal, so there is no need to wake up the non-essential network segments. The necessary network segments indicate the network segments that must be used when the wake-up signal function is implemented and that the user is used to using. Therefore, only the necessary network segments need to be awakened to meet the user's usage habits while realizing the usage function. That is, the user's needs can be met by awakening the necessary network segments, and the power consumption can be reduced by not awakening the non-essential network segments to avoid the whole vehicle from running out of power.
[0047] For example, when the user opens the back door, he does not open the car door and does not start the vehicle (the power is not on). Opening the back door usually wakes up the back door control segment CAN1, the key detection segment CAN2, and the host segment CAN3, among which CAN3 is the segment where the vehicle host is located. Waking up CAN3 is to display the status of the back door. After self-learning of historical big data, it is determined that CAN1 and CAN2 are necessary segments and CAN3 is a non-essential segment. When the user opens the back door again, only CAN1 and CAN2 are woken up, and CAN3 is not woken up, effectively reducing energy consumption.
[0048] After waking up the necessary network segment, it is necessary to continue to monitor the information of the dormant necessary network segment to determine when to put the necessary network segment into dormancy. Since a network segment corresponds to at least one LAN node, and any LAN node is awakened, the network segment is awakened. However, the network segment can only be put into dormancy when all LAN nodes corresponding to the network segment are in dormancy.
[0049] Exemplarily, taking the key detection network segment corresponding to the key detection device as an example, when opening the trunk, it is necessary to detect a legal key to determine whether it is a legal opening of the back door. When opening the driver's door, it is necessary to detect a legal key to determine whether it is a legal opening of the driver's door. The key detection network segment includes at least a local area network node 1 corresponding to the back door and a local area network node 2 corresponding to the driver's door.
[0050] When LAN node 1 is awakened, it means that the user needs to open the back door, and a legal key detection is required to prevent the back door from being opened illegally, and the key detection network segment needs to be awakened; when LAN node 2 is awakened, it means that the user needs to open the driver's door, and a legal key detection is required to prevent the driver's door from being opened illegally, and the key detection network segment needs to be awakened. Therefore, as long as any LAN node corresponding to the network segment is awakened, the network segment can be awakened.
[0051] When the key detection segment is dormant, if both LAN node 1 and LAN node 2 are awakened at the beginning, and after a period of time it is determined that LAN node 1 has no network maintenance source, LAN node 1 is dormant. At this time, LAN node 2 still remains in the awake state. If the key detection segment is closed, the legal key detection for opening the driver's door will not be possible, resulting in danger in opening and closing the driver's door. Therefore, the key detection segment needs to be kept in the awake state until it is determined that LAN node 2 has no network maintenance source, and LAN node 2 is dormant. At this time, all LAN nodes corresponding to the key detection segment are dormant, and it can be determined that there is no need to use the key detection segment, and the key detection segment can be dormant.
[0052] Therefore, after waking up the necessary network segment, it is necessary to monitor the LAN nodes corresponding to the necessary network segment in real time, and determine the status of each LAN node according to the flag status of the LAN node, and when all LAN nodes are in sleep mode, turn on the delayed sleep control of the necessary network segment, that is, sleep the necessary network segment after the preset delay time, and ensure that the application layer can process the signal storage work within the delay time, so as to use the wake-up control process data as a new historical wake-up record, and provide output for the subsequent determination of user habits. Through delayed sleep, frequent wake-ups are avoided, and sufficient time is reserved for data processing and storage to ensure the accuracy of classification self-learning.
[0053] In summary, the wake-up control method for the local network provided in the embodiment of the present application can, after receiving the wake-up signal and determining the target network segment set corresponding to the wake-up signal, perform self-learning of the wake-up by acquiring the corresponding historical wake-up signal, and determine the necessary network segments and unnecessary network segments in the target network segment set through self-learning, and meet user needs by waking up the necessary network segments, and reduce power consumption by not waking up the unnecessary network segments to avoid power shortage of the whole vehicle. And by delaying sleep to ensure that frequent wake-ups are avoided, and sufficient time is reserved for data processing and storage to ensure the accuracy of self-learning.
[0054] In some embodiments, Figure 2 As shown, at least one target network segment in the target network segment set is classified and self-learned according to the historical wake-up signal to obtain necessary network segments and non-essential network segments, including:
[0055] Step 201: Determine a historical wake-up record corresponding to a historical wake-up signal.
[0056] In the specific implementation, when performing classification self-learning, historical data is needed to determine the user's usage habits of the wake-up signal. First, the historical wake-up signal corresponding to the wake-up signal is determined. If the wake-up signal this time is a wake-up signal for opening the back door, then the historical wake-up signal is the previous multiple, or even all, historical back door wake-up signals. Each historical back door wake-up signal corresponds to an operation record when the user opens the back door once, then the historical wake-up record corresponding to the historical wake-up signal is the user's operation record when the back door was opened multiple times or even all times before. Based on the wake-up record, the user's usage habits when opening the back door can be determined to avoid invalid wake-ups.
[0057] Step 202: Classify and self-learn the target network segments according to the historical wake-up records to obtain necessary network segments and unnecessary network segments.
[0058] In specific implementation, if there is data directly reflecting the user's usage habits in the historical wake-up records, classification self-learning can be performed directly based on the data, and the target network segment has been classified into necessary network segments and non-essential network segments. Exemplarily, if there is direct data on the user's use of the back door in the historical wake-up records, for example, the probability of the user using the vehicle host is 1%, and the probability of not using the vehicle host is 99%, then the host network segment can be directly determined as a non-essential network segment. The data that directly represents the back door usage habits can be the data calculated during the last delayed exit. When using it this time, the data can be directly called for row classification self-learning. If there is no data that directly represents the user's usage habits, it is necessary to classify the target network segment according to the historical wake-up records. Self-learning has completed the classification of necessary network segments and non-essential network segments.
[0059] In some embodiments, Figure 3As shown in the figure, the target network segment is classified according to the historical wake-up records to obtain necessary network segments and unnecessary network segments, including:
[0060] Step 301: Determine wake-up usage information of each target network segment in a target network segment set according to historical wake-up records.
[0061] In specific implementation, it is necessary to determine how the user uses the vehicle each time the user receives a historical wake-up signal that is the same as the current wake-up signal based on the historical wake-up record, so it is necessary to determine the wake-up usage information of each target network segment in the target network segment set based on the historical wake-up record. Exemplarily, when the wake-up signal is a Pin signal for opening the back door, the target network segment set is (back door control network segment, key detection network segment, host network segment). Statistics are separately made on how the user uses the back door control network segment, key detection network segment, and host network segment each time a Pin signal for opening the back door is received, wherein the back door control network segment and the key detection network segment are network segments automatically used by the vehicle to ensure safety, so the back door control network segment and the key detection network segment wake-up usage information is 100% use of the back door control network segment and the key detection network segment.
[0062] The function of the vehicle host corresponding to the host network segment is to display the status of the back door. If the user opens the back door outside the car and takes out the required items, and then manually closes the back door directly outside the car, it means that the user is not used to using the vehicle host to control the back door after opening the back door, but is used to manually opening or closing the back door. At this time, it can be determined that the usage information of the host network segment is the record information of not using the host network segment once. If the user opens the back door through the vehicle host in the car, and / or returns to the car after taking the items and controls the closing of the back door through the vehicle host, it can be determined that the user is used to using the vehicle host to control the opening and closing of the back door. At this time, it can be determined that the usage information of the host network segment is the record information of using the host network segment once. The wake-up usage information includes the record information of how the user used the target network segment each time before, and the user's usage habits can be determined based on the wake-up usage information.
[0063] Step 302: Classify and self-learn the target network segments according to the wake-up usage information to obtain necessary network segments and non-essential network segments.
[0064] In some embodiments, step 302 includes:
[0065] Step 3021: Determine the total number of wake-up times for each target network segment according to the wake-up usage information.
[0066] In specific implementation, the wake-up usage information records how the user uses each target network segment each time a signal identical to the wake-up signal is received. The total number of record information corresponding to each target network segment is the total number of wake-up times for the target network segment. The total number of wake-up times can also be directly understood as the total number of historical wake-up signals that are identical to the current wake-up signal.
[0067] Step 3022: Determine the wake-up usage count for each target network segment according to the wake-up usage information.
[0068] In specific implementation, the wake-up usage information includes record information of whether the user uses each target network segment after receiving a historical wake-up signal each time, and the wake-up usage count is the number of times the user uses the target network segment in the wake-up usage information.
[0069] Step 3023: Determine the ratio of the wake-up usage times to the total wake-up times as the wake-up usage probability of the target network segment.
[0070] In specific implementation, the wake-up usage probability represents the proportion of the wake-up usage times of the target network segment in the total wake-up times. For example, when the wake-up signal is a Pin signal about opening the back door, if 1000 historical Pin signals of opening the back door are obtained, the total wake-up times are 1000 times. At this time, the target network segment set is (back door control network segment, key detection network segment, host network segment), then the total wake-up times of each target network segment in the target network segment set are 1000 times. Since the back door control network segment and the key detection network segment are automatically used when opening the car door, the wake-up usage times of the back door control network segment and the key detection network segment are both 1000 times. If the user only controls the back door through the vehicle host 10 times in the history of 1000 times, then the wake-up usage times of the host network segment are 10 times. Then the wake-up usage probability of the back door control network segment and the key detection network segment is 100%. The wake-up usage probability of the host network segment is 10 / 1000=1%.
[0071] Step 3024: Determine the target network segment whose wake-up usage probability is greater than or equal to a preset probability threshold as a necessary network segment.
[0072] In specific implementation, the probability threshold is a judgment condition for distinguishing whether it is a commonly used network segment. For example, the probability threshold is 2%. When the probability of waking up is greater than or equal to the preset probability threshold, it means that the user occasionally uses the corresponding target network segment. The target network segment cannot be directly not woken up. The target network segment needs to be determined as a necessary network segment, such as the back door control network segment and the key detection network segment with a usage probability of 100%.
[0073] Step 3025: Determine the target network segment whose wake-up usage probability is less than a preset probability threshold as a non-essential network segment.
[0074] In specific implementation, when the wake-up usage probability is less than the preset probability threshold, it means that the user hardly uses the corresponding target network segment, and not waking up the target network segment will not affect the user's normal use, which is in line with the user's usage habit of not using the target network segment. In this case, the target network segment is determined as a necessary network segment, such as a host network segment with a usage probability of 1%.
[0075] In some embodiments, Figure 4 As shown, the necessary network segments are delayed to sleep according to the flag status of the LAN node, including:
[0076] Step 401: Determine the flag status of each LAN node.
[0077] In specific implementation, after waking up the necessary network segment, it is necessary to continue to monitor the information of the necessary network segment in hibernation to determine when to put the necessary network segment into hibernation, wherein, since a network segment corresponds to at least one LAN node, and any LAN node is awakened, the network segment is awakened. However, the network segment can only be put into hibernation when all LAN nodes corresponding to the network segment are in hibernation. After waking up the necessary network segment, it is necessary to monitor the LAN nodes corresponding to the necessary network segment in real time, and determine the status of each LAN node according to the flag status of the LAN node. Among them, the flag status of the LAN node includes a reset state and a set state. The reset state indicates that the flag bit is cleared to sleep, and the flag bit is set to 0, corresponding to the sleep state of the LAN node. The set state indicates that the flag bit is awakened, and the flag bit is set to 1, corresponding to the wake-up state of the LAN node.
[0078] Step 402: In response to a flag bit in a set state being present in a plurality of flag bit states, determining that a delayed sleep condition is not satisfied.
[0079] In specific implementation, if there is a set flag in multiple flag states, it means that there is a LAN node in the awake state, which means that there is a network maintenance source in the target network segment, and the awake state of the target network segment needs to be maintained, and it is determined that the delayed sleep condition is not met.
[0080] Step 403: In response to the multiple flag bits being in the reset state, it is determined that the delayed sleep condition is met, and after a preset delay time, the necessary network segments are put into sleep.
[0081] In specific implementation, if multiple flag bits are in reset state, it means that all LAN nodes are in sleep state, indicating that there is no network maintenance source in the target network segment, and the target network segment needs to be put into sleep state to reduce energy consumption, and determine whether the delayed sleep condition is met. After determining that the delayed sleep condition is met, it is necessary to put the necessary network segment into sleep state after a preset delay time. The delay time can ensure that the application layer can process the signal storage work within the delay time, so as to use the wake-up control process data of this time as a new historical wake-up record, and provide output for the subsequent determination of user habits. Delayed sleep is used to avoid frequent wake-ups, and sufficient time is reserved for data processing and storage to ensure the accuracy of classification self-learning.
[0082] In some embodiments, Figure 5 As shown, before the necessary network segments are put into sleep mode, the following are also included:
[0083] Step 501: Monitor the first type of control instructions for necessary network segments in real time.
[0084] In specific implementation, the first type of control instruction is a control instruction for using functions related to the necessary network segment. During the waiting stage of delayed dormancy, the first type of control instruction for the necessary network segment can be monitored to determine whether the user needs to continue to use the function corresponding to the necessary network segment.
[0085] Step 502: in response to detecting the first type of control instruction, interrupting the dormancy of the necessary network segment, and delaying the dormancy of the necessary network segment after the first type of control instruction is executed.
[0086] In specific implementation, if the user actively uses the function corresponding to the necessary network segment again, the first type of control instruction will be detected, which means that the user does not have the need to sleep the target network segment temporarily and needs to continue to use the target network segment. In this case, the sleep of the necessary network segment needs to be interrupted, and the necessary network segment needs to be delayed to sleep after the first type of control instruction is executed. For example, the user manually opens the back door, takes out the items and then closes the back door. At this time, the delayed waiting stage of the delayed sleep back door control network segment and the key detection network segment will be entered. At this time, the user finds that there are still items that have not been taken out. The user manually opens the back door again. At this time, the first type of control instruction will be detected, and the sleep of the necessary network segment needs to be interrupted to ensure that the user continues to use the back door, avoiding frequent wake-up and sleep of non-essential network segments and reducing power consumption.
[0087] In some embodiments, Figure 6 As shown, before the necessary network segments are put into sleep mode, the following are also included:
[0088] Step 601: monitor the second type of control instructions for non-essential network segments in real time.
[0089] In specific implementation, the second type of control instruction is a control instruction for using functions related to non-essential network segments. Non-essential network segments indicate that users are not used to using the corresponding functions. However, users may change their usage habits at some point and choose to use the functions of non-essential network segments. At this time, when users use the functions of non-essential network segments, the second type of control instruction will be triggered.
[0090] Step 602: In response to detecting the second type of control instruction, wake up the non-essential network segment and interrupt the sleep of the essential network segment.
[0091] During specific implementation, if the second type of control instructions are detected, it means that the user has temporarily changed his usage habits and needs to use related functions of non-essential network segments. At this time, it is necessary to wake up the non-essential network segments and interrupt the sleep of the necessary network segments, and subsequently delay the sleep of both the necessary and non-essential network segments.
[0092] Step 603: monitor the LAN nodes corresponding to the necessary network segments and the non-essential network segments in real time, and control the necessary network segments and the non-essential network segments to perform delayed sleep according to the flag bit status of the LAN nodes.
[0093] In specific implementation, the non-essential network segment after awakening has temporarily become a necessary network segment, so the sleep control process is consistent with the necessary network segment, and delayed sleep control is performed. At this time, the LAN nodes corresponding to the necessary network segment and the non-essential network segment are monitored simultaneously. Only when all these LAN nodes are cleared and reset, the necessary network segment and the non-essential network segment are controlled to delay sleep. Energy saving is achieved by not awakening the non-essential network segment while ensuring the use of the non-essential network segment function, providing users with a better user experience.
[0094] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.
[0095] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0096] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a wake-up control device for a local network.
[0097] refer to Figure 7 , the wake-up control device of the local network comprises:
[0098] The application layer wake-up detection module 10 is configured to: in response to receiving the wake-up signal, determine a target network segment set corresponding to the wake-up signal;
[0099] The bottom network segment classification module 20 is configured to: determine a historical wake-up signal corresponding to the wake-up signal, and classify and self-learn at least one target network segment in the target network segment set according to the historical wake-up signal to obtain a necessary network segment and a non-essential network segment;
[0100] The bottom network segment control module 30 is configured to wake up the necessary network segment, monitor the LAN nodes corresponding to the necessary network segment in real time, and delay the sleep of the necessary network segment according to the flag status of the LAN node.
[0101] For the convenience of description, the above device is described in terms of functions divided into various modules. Of course, when implementing the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.
[0102] The device of the above embodiment is used to implement the corresponding local network wake-up control method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
[0103] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the wake-up control method for the local network described in any of the above embodiments is implemented.
[0104] Figure 8 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.
[0105] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0106] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.
[0107] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.
[0108] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).
[0109] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).
[0110] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.
[0111] The electronic device of the above embodiment is used to implement the corresponding local network wake-up control method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
[0112] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the local network wake-up control method described in any of the above embodiments.
[0113] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0114] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the wake-up control method of the local network as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0115] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments, the present application also provides a vehicle, including the electronic device or the wake-up control device of the local network of the above-mentioned embodiment, and the wake-up control method of the local network described in any of the above embodiments is executed through the electronic device or the wake-up control device of the local network of the above-mentioned embodiment, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0116] It is understandable that before using the technical solutions of each embodiment of the present application, the type, scope of use, usage scenarios, etc. of the personal information involved will be informed to the user in an appropriate manner, and the user's authorization will be obtained.
[0117] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly remind the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can independently choose whether to provide personal information to the electronic device, application, server, storage medium or other software or hardware that performs the operation of the technical solution of the present application according to the prompt message.
[0118] As an optional but non-limiting implementation, in response to receiving the user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0119] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation method of this application. Other methods that meet relevant laws and regulations may also be applied to the implementation method of this application.
[0120] A person skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.
[0121] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform to be implemented in the embodiments of the present application (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered to be illustrative rather than restrictive.
[0122] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
[0123] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the present application. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.
Claims
1. A wake-up control method for a local network, characterized in that: include: In response to receiving a wake-up signal, determining a target network segment set corresponding to the wake-up signal; Determine a historical wake-up signal corresponding to the wake-up signal, and classify and self-learn at least one target network segment in the target network segment set according to the historical wake-up signal to obtain a necessary network segment and a non-essential network segment; The necessary network segment is awakened, and the local area network node corresponding to the necessary network segment is monitored in real time, and the necessary network segment is put into sleep mode for a delayed period of time according to the flag bit status of the local area network node.
2. The method according to claim 1, characterized in that The classifying and self-learning at least one target network segment in the target network segment set according to the historical wake-up signal to obtain necessary network segments and non-essential network segments includes: Determining a historical wake-up record corresponding to the historical wake-up signal; The target network segment is classified and self-learned according to the historical wake-up record to obtain necessary network segments and unnecessary network segments.
3. The method according to claim 2, characterized in that The classifying the target network segment according to the historical wake-up record to obtain necessary network segments and non-essential network segments includes: Determine wake-up usage information of each target network segment in the target network segment set according to the historical wake-up record; The target network segment is classified and self-learned according to the wake-up usage information to obtain necessary network segments and non-essential network segments.
4. The method according to claim 3, characterized in that The classifying the target network segment according to the wake-up usage information to obtain necessary network segments and non-essential network segments includes: Determine the total wake-up times for each target network segment according to the wake-up usage information; Determine the wake-up usage count for each target network segment according to the wake-up usage information; Determine the ratio of the wake-up usage times to the total wake-up times as the wake-up usage probability of the target network segment; Determine the target network segment whose wake-up usage probability is greater than or equal to a preset probability threshold as the necessary network segment; The target network segment whose wake-up usage probability is less than a preset probability threshold is determined as the non-essential network segment.
5. The method according to claim 1, characterized in that The delaying of dormancy of the necessary network segment according to the flag bit status of the local area network node comprises: Determining the flag bit status of each of the local area network nodes; In response to a flag bit in a set state being present in the plurality of flag bit states, determining that a delayed sleep condition is not satisfied; In response to the states of the plurality of flag bits being all in the reset state, it is determined that the delayed sleep condition is satisfied, and after a preset delay time, the necessary network segment is put into sleep.
6. The method according to claim 5, characterized in that Before dormant the necessary network segments, it also includes: Real-time monitoring of the first type of control instructions for the necessary network segment; In response to monitoring the first type of control instructions, the dormancy of the necessary network segment is interrupted, and after the first type of control instructions are executed, the dormancy of the necessary network segment is delayed.
7. The method according to claim 1, characterized in that Before dormant the necessary network segments, it also includes: Real-time monitoring of the second type of control instructions for the non-essential network segment; In response to detecting the second type of control instruction, waking up the non-essential network segment and interrupting the dormancy of the essential network segment; The local area network nodes corresponding to the necessary network segment and the non-essential network segment are monitored in real time, and the necessary network segment and the non-essential network segment are simultaneously controlled to perform delayed sleep according to the flag bit status of the local area network node.
8. A wake-up control device for a local network, characterized in that: include: The application layer wake-up detection module is configured to: in response to receiving a wake-up signal, determine a target network segment set corresponding to the wake-up signal; The bottom network segment classification module is configured to: determine a historical wake-up signal corresponding to the wake-up signal, and classify and self-learn at least one target network segment in the target network segment set according to the historical wake-up signal to obtain a necessary network segment and a non-essential network segment; The bottom network segment control module is configured to: wake up the necessary network segment, monitor the local area network node corresponding to the necessary network segment in real time, and delay the dormancy of the necessary network segment according to the flag bit status of the local area network node.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 7 is implemented.
10. A vehicle, characterized in that: The invention comprises the wake-up control device for a local network as claimed in claim 8 or the electronic device as claimed in claim 9.