Wireless signal connection method and device, electronic equipment and storage medium

By saving the rule base in the vehicle terminal and automatically matching wireless signal identifiers, the problem of inflexible control of wireless signal connections in the existing technology is solved, and safe and flexible wireless signal connections are achieved.

CN119364478APending Publication Date: 2025-01-24CHONGQING CHANGAN AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310916749.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-24
Publication Date
2025-01-24

AI Technical Summary

Technical Problem

In the prior art, manual connection or automatic connection of wireless signals cannot be flexibly controlled, which affects the safety of the equipment, especially when there are wireless signals with safety hazards.

Method used

By saving the rule base in the vehicle terminal, it detects the currently available wireless signals, obtains its connection information, determines the effective time period and operation information based on the matching of the wireless signal identifier with the usage rules in the rule base, and automatically performs the connection or disconnection operation to ensure Secure and flexible connections for wireless signals.

Benefits of technology

It achieves flexible control of wireless signal connections, improves the security and flexibility of devices connecting to wireless signals, and avoids security risks caused by indiscriminate automatic connections.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119364478A_ABST
    Figure CN119364478A_ABST
Patent Text Reader

Abstract

The invention relates to the field of communication, in particular to a wireless signal connection method and device, electronic equipment and a storage medium, and the method comprises the steps: detecting a current available wireless signal, and obtaining the connection information of the current available wireless signal, the connection information comprising a wireless signal identifier; determining a use rule corresponding to the wireless signal according to the wireless signal identifier and a rule base stored by the terminal; the rule base comprises use rules of different wireless signals, and the use rules at least comprise wireless signal identifiers, effective time periods and operation information; and executing corresponding operation on the wireless signal according to the current time and the effective time period and the operation information included in the use rule corresponding to the wireless signal. According to the technical scheme provided by the invention, based on the pre-stored rule base, the use rule corresponding to the wireless signal is determined, the wireless signal needing to be connected is flexibly selected, and the wireless signal connected with the terminal is managed, so that the safety of the terminal equipment is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communications, and in particular to a wireless signal connection method, device and storage medium. Background Art

[0002] With the development of network technology, the popularity of wireless signals is increasing. When the user device connects to a wireless signal, it selects the scanned wireless signal for manual connection. After connecting to the wireless signal once, the name and password of the wireless signal are saved, and the wireless signal can be automatically connected to when the wireless signal is scanned again. However, this connection method cannot meet the diverse needs of wireless signal connection, and when some wireless signals have potential safety hazards, the indiscriminate automatic connection method will also pose a threat to the security of the devices connected to the wireless signal. Therefore, how to control the connection of wireless signals to improve the flexibility and security of wireless signals connected to devices is an urgent problem to be solved. Summary of the invention

[0003] One of the purposes of the present application is to provide a wireless signal connection method to solve the problem in the prior art that manual connection or indiscriminate automatic connection of wireless signals cannot be flexibly controlled and affects the safety of the equipment; the second purpose is to provide a wireless signal connection device; the third purpose is to provide an electronic device; and the fourth purpose is to provide a storage medium.

[0004] In order to achieve the above purpose, the technical solution adopted in this application is as follows:

[0005] A wireless signal connection method is applied to a vehicle-mounted terminal, wherein the terminal stores a rule library; the method comprises:

[0006] Detecting a currently available wireless signal and acquiring connection information of the currently available wireless signal, wherein the connection information includes a wireless signal identifier;

[0007] Determine the usage rules corresponding to the wireless signal according to the wireless signal identifier and the rule base; the rule base includes usage rules of different wireless signals, and the usage rules of different wireless signals include at least a wireless signal identifier, an effective time period, and operation information;

[0008] According to the current time and the effective time period and operation information included in the usage rule corresponding to the wireless signal, a corresponding operation is performed on the wireless signal.

[0009] Optionally, the usage rules corresponding to the wireless signal also include application software information and application software restriction rules; the method further includes:

[0010] Determine the application software restriction rule corresponding to the current application software according to the application software information and the application software restriction rule in the usage rule corresponding to the wireless signal;

[0011] The use of the wireless signal by the current application software is restricted according to the corresponding application software restriction rule.

[0012] Optionally, determining a usage rule corresponding to the wireless signal according to the wireless signal identifier and a rule library stored in the terminal includes:

[0013] matching the wireless signal identifier of the wireless signal with the wireless signal identifiers in the rule base;

[0014] In case of successful matching, it is determined that the usage rule corresponding to the wireless signal is stored in the rule base.

[0015] Optionally, the operation information includes: connecting to the wireless signal, and performing corresponding operations on the wireless signal according to the current time and the effective time period and operation information included in the usage rules corresponding to the wireless signal, including:

[0016] Determine whether the current time is within the effective time period;

[0017] If the current time is within the effective time period, connecting the wireless signal; or

[0018] When the current time is not within the effective time period, the wireless signal is not connected.

[0019] Optionally, the operation information includes: disconnecting the wireless signal, and when the current time is within the effective time period, connecting the wireless signal; the method further includes:

[0020] Determine whether the current time is beyond the effective time period;

[0021] When the current time exceeds the effective time period, the connection with the wireless signal is disconnected.

[0022] Optionally, the above method further includes:

[0023] If the rule base does not store the usage rule corresponding to the wireless signal, add the usage rule corresponding to the wireless signal, so that the wireless signal is connected according to the usage rule corresponding to the wireless signal when the wireless signal is detected next time; or

[0024] The wireless signal is discarded, and a discard record is saved, so that when the wireless signal is detected next time, the wireless signal is ignored based on the discard record.

[0025] Optionally, adding a usage rule corresponding to the wireless signal includes:

[0026] Create a usage rule corresponding to the wireless signal;

[0027] In the usage rules corresponding to the wireless signal, the effective time period, operation information, application software information and application software restriction rules of the wireless signal are set.

[0028] A wireless signal connection device is applied to a vehicle-mounted terminal, wherein the terminal stores a rule library, and the device comprises:

[0029] An acquisition module, configured to detect a wireless signal and acquire connection information of the wireless signal, wherein the connection information includes a wireless signal identifier;

[0030] A determination module, configured to determine a usage rule corresponding to the wireless signal according to the wireless signal identifier and the rule base; the rule base includes usage rules for different wireless signals, and the usage rules for different wireless signals include at least a wireless signal identifier, an effective time period, and operation information;

[0031] The execution module is used to perform corresponding operations on the wireless signal according to the current time and the effective time period and operation information included in the usage rules corresponding to the wireless signal.

[0032] An electronic device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned wireless signal connection method when executing the computer program.

[0033] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the wireless signal connection method is implemented.

[0034] Beneficial effects of this application:

[0035] The present application detects the currently available wireless signal to obtain the connection information of the currently available wireless signal, wherein the connection information includes a wireless signal identifier; determines the usage rules corresponding to the wireless signal according to the wireless signal identifier and a rule base stored in the terminal; the rule base includes usage rules for different wireless signals, wherein the usage rules include at least a wireless signal identifier, an effective time period, and operation information; performs corresponding operations on the wireless signal according to the effective time period and operation information included in the usage rules corresponding to the current time and the wireless signal, determines the usage rules of the wireless signal based on the pre-stored rule base, flexibly selects the wireless signal to be connected, manages the terminal connection to the wireless signal, and ensures the security of the terminal device. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0037] Figure 1 This is a flow chart of a wireless signal connection method described in an embodiment of the present application;

[0038] Figure 2 This is another flow chart of the wireless signal connection method described in one embodiment of the present application;

[0039] Figure 3 Another flow chart of the wireless signal connection method described in one embodiment of the present application;

[0040] Figure 4 Schematic diagram of the framework of the wireless signal connection device in one embodiment of the present application.

[0041] Among them, 400-wireless signal connection device, 401-acquisition module, 402-determination module, 403-execution module. DETAILED DESCRIPTION

[0042] The following will describe the implementation methods of the present application with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific implementation methods, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be understood that the preferred embodiments are only for illustrating the present application, not for limiting the scope of protection of the present application.

[0043] Reference Figure 1 , Figure 1 FIG. 1 is a flow chart of a wireless signal connection method according to an embodiment of the present application. Figure 1 As shown, a wireless signal connection method is applied to a vehicle-mounted terminal, the terminal can detect wireless signals and connect wireless signals, the terminal stores a rule library, and the method may specifically include the following steps:

[0044] Step S1, detecting a currently available wireless signal, and acquiring connection information of the currently available wireless signal, wherein the connection information includes a wireless signal identifier.

[0045] Specifically, taking the vehicle-mounted terminal as an example, after turning on the vehicle computer, the vehicle-mounted terminal automatically enables the wireless signal retrieval function, and based on the strength of the wireless signal, detects the strength and stability of the wireless signal scanned at the current location, and determines whether the password and other information are saved to determine whether the wireless signal is available. The connection information of the currently available wireless signal is obtained, and the connection information includes the identifier of the available wireless signal. Generally speaking, when scanning the wireless signal, the name and SSID (Service Set Identifier) ​​of the wireless signal can be obtained. Since the name of the wireless signal is not unique, the identifier of the wireless signal is recorded as an identity credential.

[0046] Step S2, determining the usage rules corresponding to the wireless signal according to the wireless signal identifier and the rule base saved by the terminal; the rule base includes usage rules for different wireless signals, and the usage rules for different wireless signals include at least a wireless signal identifier, an effective time period, and operation information.

[0047] Specifically, step S2 can be performed as follows:

[0048] The wireless signal identifier of the wireless signal is matched with the wireless signal identifier in the rule base; if the match is successful, it is determined that the use rule corresponding to the wireless signal is stored in the rule base.

[0049] In step S2, the rule base is pre-set with the usage rules of the wireless signal, and a match can be performed based on the identifier of the wireless signal to determine whether the usage rules corresponding to the wireless signal are stored in the rule base. If the wireless signal identifier of the wireless signal is consistent with one of the multiple wireless signal identifiers in the rule base, the match is successful; if the wireless signal identifier of the wireless signal is inconsistent with any wireless signal identifier in any usage rule in the rule base, the match fails, and the usage rules corresponding to the wireless signal cannot be determined from the rule base.

[0050] Step S3: performing corresponding operations on the wireless signal according to the current time and the effective time period and operation information included in the usage rules corresponding to the wireless signal.

[0051] Specifically, the effective time period in the usage rule sets the execution time of the usage rule, and the operation information sets the specific operation to be performed on the wireless signal. By comparing the current time with the effective time period in the usage rule corresponding to the wireless signal, it can be determined whether it is necessary to perform an operation on the wireless signal or which operation to perform.

[0052] In this embodiment, by detecting the currently available wireless signal, the connection information of the currently available wireless signal is obtained, and the connection information includes a wireless signal identifier; based on the wireless signal identifier and a rule base saved by the terminal, the usage rules corresponding to the wireless signal are determined; the rule base includes usage rules for different wireless signals, and the usage rules include at least a wireless signal identifier, an effective time period, and operation information; based on the current time and the effective time period and operation information included in the usage rules corresponding to the wireless signal, corresponding operations are performed on the wireless signal, and based on the pre-saved rule base, the usage rules corresponding to the wireless signal are determined, the wireless signal to be connected is flexibly selected, and the terminal connection to the wireless signal is managed to ensure the security of the terminal device.

[0053] In a feasible implementation, the usage rules corresponding to the wireless signal also include application software information and application software restriction rules, and the above-mentioned wireless signal connection method also includes: determining the application software restriction rules corresponding to the current application software based on the application software information and application software restriction rules in the usage rules corresponding to the wireless signal; and restricting the use of the wireless signal by the current application software based on the corresponding application software restriction rules.

[0054] For example, the usage rules corresponding to the wireless signal set the name of application software A and the restriction rules of application software A: the wireless signal can be used during the period of 12:00-13:00. According to the usage rules corresponding to the wireless signal, the terminal device connects to the wireless signal during the period of 9:00-17:00, so application software A on the terminal can only use the wireless signal during the period of 12:00-13:00. Alternatively, the restriction rules of application software A are: only application software A is allowed to use the wireless signal. After the terminal connects to the wireless signal, other application software on the terminal cannot use the wireless signal.

[0055] Specifically, in one embodiment of the present application, refer to Figure 2 , Figure 2 It is another flow chart of the wireless signal connection method described in an embodiment of the present application. A wireless signal connection method can be performed according to the following steps:

[0056] Step S201: Detect a currently available wireless signal and obtain connection information of the currently available wireless signal, where the connection information includes a wireless signal identifier.

[0057] Specifically, step S201 may refer to the above step S1, which will not be described in detail here.

[0058] Step S202, determining the usage rules corresponding to the wireless signal based on the wireless signal identifier and the rule base saved by the terminal; the rule base includes usage rules for different wireless signals, and the usage rules for different wireless signals include wireless signal identifier, effective time period, operation information, and application software information and application software restriction rules.

[0059] Specifically, in the rule base, the wireless signal usage rules include wireless signal identifiers, effective time periods, operation information, and application software information and application software restriction rules. The usage rules can configure the time period in which the corresponding operation is performed, and configure application software information and application software restriction rules to restrict the use of wireless signals by the application software indicated by the application software information.

[0060] Step S203: Match the wireless signal identifier of the wireless signal with the wireless signal identifier in the rule base.

[0061] Specifically, the wireless signal identifier of the wireless signal can be used as a search keyword to search for usage rules consistent with the wireless signal identifier from the rule library. In the pre-stored rule library, multiple wireless signal identifier directories of usage rules can be set first for fast matching.

[0062] Step S204, when the wireless signal identifier of the wireless signal successfully matches the wireless signal identifier in the rule base, it is determined that the usage rules corresponding to the wireless signal are stored in the rule base; the usage rules including the wireless signal identifier of the wireless signal are the usage rules corresponding to the wireless signal.

[0063] Specifically, after matching a usage rule consistent with the wireless signal identifier of the wireless signal from the rule library, the usage rule corresponding to the wireless signal can be determined.

[0064] Step S205, when the wireless signal identifier of the wireless signal fails to match the wireless signal identifier in the rule base, determining that the usage rules corresponding to the wireless signal are not saved in the rule base; adding the usage rules corresponding to the wireless signal so that the next time the wireless signal is detected, the wireless signal is connected according to the usage rules corresponding to the wireless signal; or discarding the wireless signal and saving the discarding record so that the next time the wireless signal is detected, the wireless signal is ignored based on the discarding record.

[0065] Specifically, if the wireless signal identifier of the wireless signal is inconsistent with any wireless signal identifier in the usage rules stored in the rule base, the match fails, and it is determined that the usage rules of the wireless signal are not stored in the rule base. In this case, two processing methods are provided: adding a corresponding usage rule to the wireless signal, or directly discarding the wireless signal.

[0066] In a feasible implementation manner, adding the usage rule corresponding to the wireless signal may be performed according to the following steps:

[0067] Create a new usage rule corresponding to the wireless signal; in the usage rule corresponding to the wireless signal, set the effective time period, operation information, application software information and application software restriction rules of the wireless signal.

[0068] In this embodiment, the application software information and application software restriction rules are used to restrict or allow one or more application software to use the wireless signal within a certain period of time. In the rule base, a new usage rule corresponding to the wireless signal is created. The new usage rule can be named with the name of the wireless signal or the wireless signal identifier to increase the speed of subsequent matching; secondly, in the usage rule corresponding to the wireless signal, the effective time period and the executed operation of the usage rule, as well as the application software information and application software restriction rules are set. When the terminal device is connected to the wireless signal, the current application software on the terminal device can be further restricted from using the wireless signal.

[0069] For example, the usage rule corresponding to wireless signal N is: from 1pm to 5pm, connect, *bo application software and *music application software, the *bo application software can be used from 1pm to 3pm, and the *music application software can use wireless signal N from 4pm to 5pm. That is, the effective time period and operation information in the usage rule are used to control the connection or disconnection of the wireless signal, and the application software information and application software restriction rules in the usage rule are used to restrict the application software on the terminal from using the wireless signal after the terminal connects to the wireless signal.

[0070] Step S206: Perform corresponding operations on the wireless signal according to the current time and the effective time period and operation information included in the usage rule corresponding to the wireless signal.

[0071] In a feasible implementation manner, the operation information includes: connecting the wireless signal, and step S206 may specifically include the following steps:

[0072] Determine whether the current time is within the effective time period; if the current time is within the effective time period, connect the wireless signal; or, if the current time is not within the effective time period, do not connect the wireless signal.

[0073] In this embodiment, in the usage rule corresponding to the wireless signal, the operation information set is to connect the wireless signal, and the usage rule is to connect the wireless signal within the effective time period. Therefore, when the current time is within the effective time period of the usage rule, the terminal is controlled to connect the wireless signal. If the current time is not within the effective time period of the usage rule corresponding to the wireless signal, the terminal does not connect the wireless signal. For example, if the current time is 8:10, and the effective time period of the usage rule is 9:00-17:00, the wireless signal cannot be connected.

[0074] In a feasible implementation manner, the operation information includes: disconnecting the wireless signal, and when the current time is within the effective time period, connecting the wireless signal; and further including the following steps:

[0075] Determine whether the current time exceeds the range of the effective time period; if the current time exceeds the range of the effective time period, disconnect from the wireless signal.

[0076] That is, first determine whether the wireless signal is currently connected based on the current time, the effective time period and operation information in the usage rules. After the wireless signal is connected, as time changes, if the current time changes from being in the effective time period to exceeding the effective time period, the connected wireless signal will be disconnected when it exceeds the effective time period. In this way, the connection of the wireless signal is automatically controlled, and the wireless signal connection of the terminal is switched based on the rule base and the detected available wireless signal.

[0077] In this embodiment, the terminal connection wireless signal is managed based on the usage rules corresponding to the wireless signal matched in the rule library, and the wireless signal is automatically connected or disconnected. The terminal connection wireless signal can be flexibly controlled, and the use of the wireless signal by the application software in the device can be managed based on the application software information and application software restriction information in the usage rules, which is beneficial to ensuring the security of the application software running on the terminal.

[0078] In one embodiment of the present application, the terminal is provided with a discarding library, and the discarding library is used to store the wireless signal information discarded by the terminal. Figure 3 , Figure 3 is another flow chart of the wireless signal connection device described in one embodiment of the present application. In this embodiment, a wireless signal connection method can be performed according to the following steps:

[0079] Step S301: detect an available wireless signal and obtain connection information of the available wireless signal.

[0080] Step S301 may refer to the above-mentioned step S1 and will not be described in detail here.

[0081] Step S302, determine whether there is a corresponding usage rule for the wireless signal, if yes, execute step S303, if not, execute step S304.

[0082] Specifically, the wireless signal identifier in the connection information of the wireless signal is matched with the wireless signal identifier in the usage rule in the rule base to determine whether there is a usage rule in the rule base that is consistent with the wireless signal identifier of the wireless signal. If the wireless signal identifier in a usage rule is consistent with the wireless signal identifier of the wireless signal, it can be determined that the wireless signal has a corresponding usage rule.

[0083] Step S303, if the wireless signal has a corresponding usage rule, obtain the corresponding usage rule from the rule library; and jump to step S308.

[0084] Step S304, if there is no corresponding usage rule for the wireless signal, determine whether to discard the wireless signal; if it is determined to be discarded, execute step S305, if it is determined not to discard the wireless signal, execute step S306.

[0085] Step S305: If it is determined to discard the wireless signal, the connection information of the wireless signal is saved in a discarding library.

[0086] Step S306: Create and set the usage rules of the wireless signal.

[0087] Step S307: save the usage rules of the wireless signal in a rule base, and the rule base provides corresponding usage rules for the wireless signal.

[0088] Step S308: Process the connection of the wireless signal according to the acquired usage rules.

[0089] In this embodiment, after detecting an available wireless signal, there are three ways to process the wireless signal: obtaining the usage rules corresponding to the wireless signal from the existing usage rules in the rule library and performing corresponding processing; or, adding the usage rules corresponding to the wireless signal to the rule library, and then obtaining the newly added usage rules corresponding to the wireless signal from the rule library with the newly added usage rules corresponding to the wireless signal, and performing corresponding processing; or, discarding the wireless signal, saving the connection information of the wireless signal to the discard library, and obtaining the discard record of the wireless signal from the discard library, and performing corresponding processing. Diversified processing is performed on the detected available signal to flexibly control the terminal connection wireless signal.

[0090] Optionally, taking wireless signal wifi (virtual local area network) as an example, configure usage rules for wifi that has been connected in the past and save them in the rule library. You can first name a rule for the wifi, which can be a usage location, such as "home", "company", or a usage category, such as "work", "entertainment", "leisure", etc. Or you can directly use the name or identifier of the wifi as the rule name to facilitate finding the usage rules corresponding to the wifi.

[0091] Optionally, when there are multiple available wireless signals currently detected and they all meet the usage rules, a priority is set based on one or more of the signal strength, network speed threshold, security level, geographic location and number of historical connections of these wireless signals that meet the usage rules, and the processing rule corresponding to the wireless signal with a higher priority is selected for operation.

[0092] Optionally, the present application also provides a wireless signal connection method, applied to a wireless signal provider, including: setting connection rules for the provided wireless signal, the connection rules including at least one device identifier, a connection period, application software information and application software restriction rules; detecting a device connected to the provided wireless signal at the current time, obtaining a device identifier of the device, matching the identifier of the device with the device identifier in the connection rules, and determining whether the device is currently allowed to connect to the wireless signal.

[0093] When the device identifier matches the device identifier in the connection rule, it is determined that the device is currently allowed to connect to the wireless signal. Further, the use of the wireless signal by the application software running in the device is restricted according to the application software information and the application software restriction rule.

[0094] In the case that the identifier of the device does not match the device identifier in the connection rule, it is determined that the device is not currently allowed to connect to the wireless signal, and the connection with the wireless signal is disconnected.

[0095] In one embodiment of the present application, a wireless signal connection device 400 is also proposed, which is applied to a vehicle-mounted terminal. The terminal stores a rule library, referring to Figure 4 , Figure 4 4 is a schematic diagram of a wireless signal connection device 400 in an embodiment of the present application, wherein the device comprises:

[0096] An acquisition module 401 is used to detect a currently available wireless signal and acquire connection information of the currently available wireless signal, wherein the connection information includes a wireless signal identifier;

[0097] A determination module 402, configured to determine a usage rule corresponding to the wireless signal according to the wireless signal identifier and the rule base; the rule base includes usage rules for different wireless signals, and the usage rules for different wireless signals include at least a wireless signal identifier, an effective time period, and operation information;

[0098] The execution module 403 is used to execute a corresponding operation on the wireless signal according to the current time and the effective time period and operation information included in the usage rule corresponding to the wireless signal.

[0099] In this embodiment, by detecting the currently available wireless signal, the connection information of the currently available wireless signal is obtained, and the connection information includes a wireless signal identifier; according to the wireless signal identifier and the rule base saved by the terminal, the usage rules corresponding to the wireless signal are determined; the rule base includes usage rules for different wireless signals, and the usage rules include at least the wireless signal identifier, the effective time period, and the operation information; according to the effective time period and the operation information included in the usage rules corresponding to the current time and the wireless signal, the corresponding operation is performed on the wireless signal, and based on the pre-saved rule base, the operation on the available wireless signal is determined, so that the terminal connection to the wireless signal can be managed to ensure the security of the terminal device.

[0100] Optionally, the usage rules corresponding to the wireless signal further include application software information and application software restriction rules, and the above-mentioned device 400 further includes:

[0101] A first determination submodule, configured to determine the application software restriction rule corresponding to the current application software according to the application software information and the application software restriction rule in the usage rule corresponding to the wireless signal;

[0102] The execution submodule is used to restrict the use of the wireless signal by the current application software according to the application software restriction rule.

[0103] Optionally, the determination module 402 includes:

[0104] a matching submodule, configured to match the wireless signal identifier of the wireless signal with the wireless signal identifier in the rule base;

[0105] The second determining submodule is used to determine whether the usage rule corresponding to the wireless signal is stored in the rule base when the match is successful.

[0106] Optionally, the operation information includes: connecting the wireless signal, and the above-mentioned execution module 403 is also used to: determine whether the current time is within the effective time period; if the current time is within the effective time period, connect the wireless signal; or if the current time is not within the effective time period, do not connect the wireless signal.

[0107] Optionally, the operation information includes: disconnecting the wireless signal. The above-mentioned execution module 403 is also used to: determine whether the current time exceeds the range of the effective time period; if the current time exceeds the range of the effective time period, disconnect the connection with the wireless signal.

[0108] Optionally, the above device further includes:

[0109] An adding or discarding module is used to add the usage rules corresponding to the wireless signal if the usage rules corresponding to the wireless signal are not saved in the rule base; so that the wireless signal can be connected according to the usage rules corresponding to the wireless signal the next time the wireless signal is detected; or to discard the wireless signal and save the discarding record so that the wireless signal can be ignored based on the discarding record the next time the wireless signal is detected.

[0110] Optionally, the above-mentioned adding or discarding module is also used to: create new usage rules corresponding to the wireless signal; and set the effective time period, operation information, application software information and application software restriction rules of the wireless signal in the usage rules corresponding to the wireless signal.

[0111] In this embodiment, the description of the related device embodiment is relatively short, and specific reference may be made to the above method embodiment.

[0112] In one embodiment of the present application, an electronic device is proposed, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the wireless signal connection method described in the above embodiment is implemented.

[0113] In one embodiment of the present application, a computer-readable storage medium is provided, on which a computer program is installed. When the computer program is executed by a processor, the wireless signal connection method described in the above embodiment is implemented.

[0114] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0115] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the embodiments of the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0116] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0117] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0118] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0119] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0120] The above is a detailed introduction to a wireless signal connection method, device, electronic device and storage medium provided. Specific examples are used in this article to illustrate the principles and embodiments of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific embodiments and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A wireless signal connection method, characterized in that: Applied to a vehicle-mounted terminal, the terminal stores a rule library; the method comprises: Detecting a currently available wireless signal and acquiring connection information of the currently available wireless signal, wherein the connection information includes a wireless signal identifier; Determine the usage rules corresponding to the wireless signal according to the wireless signal identifier and the rule base; the rule base includes usage rules of different wireless signals, and the usage rules of different wireless signals include at least the wireless signal identifier, effective time period, and operation information; According to the current time and the effective time period and operation information included in the usage rule corresponding to the wireless signal, a corresponding operation is performed on the wireless signal.

2. The wireless signal connection method according to claim 1, characterized in that: The usage rules corresponding to the wireless signal also include application software information and application software restriction rules; the method also includes: Determine the application software restriction rule corresponding to the current application software according to the application software information and the application software restriction rule in the usage rule corresponding to the wireless signal; The use of the wireless signal by the current application software is restricted according to the corresponding application software restriction rule.

3. The wireless signal connection method according to claim 1, characterized in that: Determining a usage rule corresponding to the wireless signal according to the wireless signal identifier and a rule library stored in the terminal includes: matching the wireless signal identifier of the wireless signal with the wireless signal identifier in the rule base; In case of successful matching, it is determined that the usage rule corresponding to the wireless signal is stored in the rule base.

4. The wireless signal connection method according to claim 1, characterized in that: The operation information includes: connecting the wireless signal, and performing corresponding operations on the wireless signal according to the current time and the effective time period and operation information included in the usage rules corresponding to the wireless signal, including: Determine whether the current time is within the effective time period; If the current time is within the effective time period, the wireless signal is connected; or if the current time is not within the effective time period, the wireless signal is not connected.

5. The wireless signal connection method according to claim 4, characterized in that: The operation information includes: disconnecting the wireless signal, and when the current time is within the effective time period, after connecting the wireless signal, the method further includes: Determine whether the current time is beyond the effective time period; When the current time exceeds the effective time period, the connection with the wireless signal is disconnected.

6. The wireless signal connection method according to claim 1, characterized in that: The method further comprises: In the case that the rule base does not store the usage rules corresponding to the wireless signal, add the usage rules corresponding to the wireless signal; so that the next time the wireless signal is detected, the wireless signal is connected according to the usage rules corresponding to the wireless signal; or the wireless signal is discarded and the discard record is saved, so that the next time the wireless signal is detected, the wireless signal is ignored based on the discard record.

7. The wireless signal connection method according to claim 6, characterized in that: Add usage rules corresponding to the wireless signal, including: Create a usage rule corresponding to the wireless signal; In the usage rules corresponding to the wireless signal, the effective time period, operation information, application software information and application software restriction rules of the wireless signal are set.

8. A wireless signal connection device, characterized in that: Applied to a vehicle-mounted terminal, the terminal stores a rule library, and the device includes: An acquisition module, configured to detect a wireless signal and acquire connection information of the wireless signal, wherein the connection information includes a wireless signal identifier; A determination module, configured to determine a usage rule corresponding to the wireless signal according to the wireless signal identifier and the rule base; the rule base includes usage rules for different wireless signals, and the usage rules for different wireless signals include at least a wireless signal identifier, an effective time period, and operation information; The execution module is used to perform corresponding operations on the wireless signal according to the current time and the effective time period and operation information included in the usage rules corresponding to the wireless signal.

9. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the wireless signal connection method described in any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the wireless signal connection method according to any one of claims 1 to 7 is implemented.