CN111988293B - Method, device, equipment and storage medium for filtering domain name of vehicle-mounted router - Google Patents

Method, device, equipment and storage medium for filtering domain name of vehicle-mounted router Download PDF

Info

Publication number
CN111988293B
CN111988293B CN202010795241.5A CN202010795241A CN111988293B CN 111988293 B CN111988293 B CN 111988293B CN 202010795241 A CN202010795241 A CN 202010795241A CN 111988293 B CN111988293 B CN 111988293B
Authority
CN
China
Prior art keywords
domain name
filtering
identification information
equipment
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010795241.5A
Other languages
Chinese (zh)
Other versions
CN111988293A (en
Inventor
邢映彪
高志刚
胡绍林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Tongda Auto Electric Co Ltd
Original Assignee
Guangzhou Tongda Auto Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Tongda Auto Electric Co Ltd filed Critical Guangzhou Tongda Auto Electric Co Ltd
Priority to CN202010795241.5A priority Critical patent/CN111988293B/en
Publication of CN111988293A publication Critical patent/CN111988293A/en
Application granted granted Critical
Publication of CN111988293B publication Critical patent/CN111988293B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0227Filtering policies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/101Access control lists [ACL]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the application discloses a method, a device, equipment and a storage medium for filtering a domain name of a vehicle-mounted router. According to the technical scheme provided by the embodiment of the application, the identification information of the remote equipment and the target domain name needing to be accessed are determined by analyzing the equipment data sent by the remote equipment, the domain name filtering strategy aiming at the remote equipment is determined according to the identification information, the equipment data are filtered based on the corresponding domain name filtering strategy, the equipment data with the target domain name needing to be filtered are filtered, the filtered equipment data without the target domain name needing to be filtered are uploaded to the cloud platform corresponding to the target domain name, the cloud platform is used for analyzing, processing or displaying, confusion of data management caused by the fact that the remote equipment freely uploads the data to the external network is reduced, ordered uploading of the equipment data sent by the remote equipment is guaranteed, and the management effect of the data is improved.

Description

Method, device, equipment and storage medium for filtering domain name of vehicle-mounted router
Technical Field
The embodiment of the application relates to the field of vehicle-mounted routers, in particular to a method, a device, equipment and a storage medium for filtering a domain name of a vehicle-mounted router.
Background
With the development of public transport systems, more and more communication devices are arranged on public transport vehicles, and remote devices such as a dispatching system, a monitoring system, a driver fatigue driving early warning system, an ADAS system, a 360 system, a blind area reminding system, a vehicle CAN bus monitoring system and an electronic guideboard need to be networked, and generated device data are uploaded to a cloud platform.
However, the suppliers of the remote devices are different, and the remote devices are respectively in communication connection with the cloud platform through the wireless communication module and respectively upload device data, and the remote devices can freely upload data to an external network, which is easy to cause disorder of data management.
Disclosure of Invention
The embodiment of the application provides a method, a device and equipment for filtering a domain name of a vehicle-mounted router and a storage medium, so as to improve the effect of data management.
In a first aspect, an embodiment of the present application provides a method for filtering a domain name of a vehicle-mounted router, including:
analyzing equipment data sent by remote equipment, and determining identification information of the remote equipment and a target domain name to be accessed;
determining a domain name filtering strategy corresponding to the identification information based on a strategy association relation between the identification information and the domain name filtering strategy;
and filtering the equipment data according to the domain name filtering strategy, and uploading the filtered equipment data to a cloud platform corresponding to the target domain name.
Further, before analyzing the device data sent by the remote device and determining the identification information of the remote device and the target domain name to be accessed, the method further includes:
determining identification information of accessed remote equipment, and determining a domain name filtering strategy for the remote equipment;
and associating the identification information with the domain name filtering strategy to form a strategy association relation.
Further, the determining the identification information of the accessed remote device and determining the domain name filtering policy for the remote device includes:
the method comprises the steps of determining identification information of accessed remote equipment and a set domain name needing to be filtered, and forming a domain name filtering strategy for the remote equipment based on the set domain name.
Further, the filtering the device data according to the domain name filtering policy and uploading the filtered device data to the cloud platform corresponding to the target domain name includes:
comparing the target domain name with a set domain name corresponding to the domain name filtering strategy to obtain a comparison result;
filtering the equipment data according to the comparison result of the target domain name matched with the set domain name;
and uploading the filtered device data to a cloud platform corresponding to the target domain name.
Further, the set domain name includes a white list domain name and/or a black list domain name.
Further, before analyzing the device data sent by the remote device and determining the identification information of the remote device and the target domain name to be accessed, the method further includes:
and setting a policy association relation between the operation state and the identification information and a domain name filtering policy based on the domain name filtering requirements of the vehicle on the equipment data in different operation states.
Further, the determining the domain name filtering policy corresponding to the identification information based on the policy association relationship between the identification information and the domain name filtering policy includes:
determining the operation state of the vehicle according to the positioning information and the operation time of the vehicle;
and determining the domain name filtering strategy corresponding to the operation state and the identification information based on the strategy association relation.
In a second aspect, an embodiment of the present application provides a vehicle-mounted router domain name filtering apparatus, including a data parsing module, a policy determining module, and a data processing module, where:
the data analysis module is used for analyzing equipment data sent by remote equipment and determining identification information of the remote equipment and a target domain name to be accessed;
the policy determining module is used for determining a domain name filtering policy corresponding to the identification information based on a policy association relation between the identification information and the domain name filtering policy;
and the data processing module is used for filtering the equipment data according to the domain name filtering strategy and uploading the filtered equipment data to the cloud platform corresponding to the target domain name.
Further, the apparatus further includes a policy configuration module configured to:
determining identification information of accessed remote equipment, and determining a domain name filtering strategy for the remote equipment;
and associating the identification information with the domain name filtering strategy to form a strategy association relation.
Further, when determining the identification information of the accessed remote device and determining the domain name filtering policy for the remote device, the policy configuration module specifically includes:
the method comprises the steps of determining identification information of accessed remote equipment and a set domain name needing to be filtered, and forming a domain name filtering strategy for the remote equipment based on the set domain name.
Further, the data processing module is specifically configured to:
comparing the target domain name with a set domain name corresponding to the domain name filtering strategy to obtain a comparison result;
filtering the equipment data according to the comparison result of the target domain name matched with the set domain name;
and uploading the filtered device data to a cloud platform corresponding to the target domain name.
Further, the set domain name includes a white list domain name and/or a black list domain name.
Further, the device further comprises a policy configuration module, which is used for setting a policy association relationship between the operation state and the identification information and a domain name filtering policy based on the domain name filtering requirements for the equipment data in different operation states of the vehicle.
Further, the policy determination module is specifically configured to:
determining the operation state of the vehicle according to the positioning information and the operation time of the vehicle;
and determining the domain name filtering strategy corresponding to the operation state and the identification information based on the strategy association relation.
In a third aspect, an embodiment of the present application provides a computer device, including: a memory and one or more processors;
the memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the in-vehicle router domain name filtering method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a storage medium containing computer-executable instructions for performing the in-vehicle router domain name filtering method according to the first aspect when executed by a computer processor.
According to the method and the device, the identification information of the remote device and the target domain name needing to be accessed are determined by analyzing the device data sent by the remote device, the domain name filtering strategy aiming at the remote device is determined according to the identification information, the device data are filtered based on the corresponding domain name filtering strategy, the device data with the target domain name needing to be filtered are filtered, the filtered device data without the target domain name needing to be filtered are uploaded to the cloud platform corresponding to the target domain name, the cloud platform is used for analyzing and processing or displaying, confusion of data management caused by the fact that the remote devices freely upload data to an external network is reduced, ordered uploading of the device data sent by the remote devices is guaranteed, and the management effect of the data is improved.
Drawings
Fig. 1 is a flowchart of a method for filtering a domain name of a vehicle-mounted router according to an embodiment of the present application;
fig. 2 is a flowchart of another domain name filtering method for a vehicular router according to an embodiment of the present application;
fig. 3 is a flowchart of another domain name filtering method for a vehicular router according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a domain name filtering apparatus of a vehicle-mounted router according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some but not all of the relevant portions of the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Fig. 1 is a flowchart of a domain name filtering method for a vehicle-mounted router according to an embodiment of the present disclosure, where the domain name filtering method for a vehicle-mounted router according to an embodiment of the present disclosure may be implemented by a domain name filtering apparatus for a vehicle-mounted router, and the domain name filtering apparatus for a vehicle-mounted router may be implemented in hardware and/or software and integrated in a computer device (e.g., a vehicle-mounted router).
The following description will be given taking an example in which the domain name filtering apparatus of the in-vehicle router performs the domain name filtering method of the in-vehicle router. Referring to fig. 1, the method for filtering a domain name of a vehicle-mounted router includes:
s101: and analyzing the equipment data sent by the remote equipment, and determining the identification information of the remote equipment and the target domain name to be accessed.
The vehicle-mounted router provided by the embodiment adopts a dual-CPU architecture of a master processing board and a slave processing board, wherein the master processing board is built based on a 5G dual-frequency router main board (for example, MT7621 routing main board), the slave processing board is built based on a single chip microcomputer (for example, STM32 single chip microcomputer), and data interaction is performed between the master processing board and the slave processing board through an SPI interface (the master processing board is connected with the SPI interface of the slave processing board through a USB-to-SPI interface module). The main processing board is used for realizing the related functions of the router, and the auxiliary processing board is used for realizing the functions of peripheral interface expansion and data acquisition. And the vehicle-mounted router is in communication connection with the plurality of remote devices in a wired and/or wireless manner from the processing board, for example, the vehicle-mounted router provides a plurality of bus interfaces of different interface types for accessing different types of remote devices, and the bus interfaces include one or a combination of more of an RS232 interface, an RS485 interface, an IO interface and a CAN interface.
Optionally, the remote device is in communication connection with a bus interface provided by the vehicle-mounted router according to the interface type of the remote device, where the remote device may be a dispatching system, a monitoring system, a driver fatigue driving early warning system, an ADAS system, a 360 system, a blind area warning system, a vehicle CAN bus monitoring system, an electronic guideboard, and the like on the bus, for example, the monitoring system is in communication connection with an RS485 interface provided by the vehicle-mounted router through an RS485 connection line, and sends the monitoring video data as device data to the vehicle-mounted router.
Illustratively, when the remote device generates device data to be uploaded, the remote device determines a target domain name to be accessed according to the cloud platform to be uploaded, and packages the target domain name and the device data together to send the target domain name and the device data to the vehicle-mounted router.
Further, after receiving a data packet sent by the remote device, the data packet is analyzed to obtain a target domain name and device data. Optionally, after the target domain name is determined, the target domain name is resolved into a target IP address, and the cloud platform can be accessed based on the IP address.
The identification information of the remote device may be determined based on the MAC address and/or the IP address of the remote device, for example, the MAC address and/or the IP address is determined according to the bus interface receiving the device data or the specific port of the bus interface, or the remote device sends the device data as a synchronous packet MAC address and/or an IP address, and uses the MAC address and/or the IP address as the identification information, and the remote device sending the device data may be uniquely determined according to the identification information.
S102: and determining a domain name filtering strategy corresponding to the identification information based on a strategy association relation between the identification information and the domain name filtering strategy.
The policy association relationship is used for recording an association relationship between the identification information and a domain name filtering policy, and the domain name filtering policy is used for indicating a filtering policy of a target domain name which needs to be accessed to the remote device. For example, when a target domain name needing to be accessed needs to be filtered out, the corresponding device data is discarded, and the filtering of the specific domain name is realized.
And different identification information corresponds to different filtering strategies, the set domain name which is required to be filtered and allowed to be accessed can be determined according to the domain name filtering requirement of the remote equipment, and a strategy association relation between the identification information and the domain name filtering strategies is formed.
Illustratively, after the identification information of the remote device is determined, a domain name filtering policy corresponding to the identification information is determined based on the policy association relationship. For example, the IP address (source IP address) of the remote device is used as the identification information, the policy association records the correspondence between different source IP addresses and the domain name filtering policy, after the source IP address of the remote device is determined, the matching source IP addresses are compared in the policy association, and after the same source IP address is matched, the corresponding domain name filtering policy is determined to be the domain name filtering policy of the remote device.
S103: and filtering the equipment data according to the domain name filtering strategy, and uploading the filtered equipment data to a cloud platform corresponding to the target domain name.
Illustratively, after determining a domain name filtering policy for the remote device, it is determined whether a target domain name to be accessed by the device data is consistent with a set domain name pointed in the domain name filtering policy, and if the set domain name consistent with the target domain name exists in the domain name filtering policy, the device data is discarded, so as to implement domain name filtering for the device data.
For example, the target IP address obtained by the target domain name resolution is compared with the set IP address corresponding to the set domain name pointed in the domain name filtering policy, and if the set IP address consistent with the target IP address exists in the domain name filtering policy, the device data is discarded.
Further, after filtering the device data is completed, if the device data is discarded, waiting for receiving the next device data and performing the domain name filtering step again, and if a set domain name consistent with the target domain name does not exist in the domain name filtering strategy, accessing the corresponding cloud platform based on the target IP address corresponding to the target domain name and uploading the device data to the cloud platform.
The identification information of the remote device and the target domain name to be accessed are determined by analyzing the device data sent by the remote device, the domain name filtering strategy for the remote device is determined according to the identification information, the device data are filtered based on the corresponding domain name filtering strategy, the device data with the target domain name to be filtered are filtered, the filtered device data without the target domain name to be filtered are uploaded to the cloud platform corresponding to the target domain name, the cloud platform analyzes and processes or displays the device data, confusion of data management caused by the fact that the remote devices freely upload data to the external network is reduced, ordered uploading of the device data sent by the remote devices is guaranteed, and the management effect of the data is improved.
On the basis of the foregoing embodiment, fig. 2 is a flowchart of another method for filtering a domain name of a vehicle-mounted router provided in the embodiment of the present application, where the method for filtering a domain name of a vehicle-mounted router is an embodiment of the method for filtering a domain name of a vehicle-mounted router. Referring to fig. 2, the method for filtering a domain name of a vehicle-mounted router includes:
s201: and determining identification information of the accessed remote equipment and determining a domain name filtering strategy for the remote equipment.
Specifically, identification information of an accessed remote device and a set domain name (or a target IP address) that needs to be filtered are determined, and a domain name filtering policy for the remote device is formed based on the set domain name (or the target IP address).
Optionally, the identification information of the remote device is determined according to a bus interface or a port of each remote device accessing the vehicle-mounted router, and this embodiment describes using a source IP address of the remote device as the identification information. Further, according to the need of filtering the domain name of each remote device, a set domain name (or a set IP address) to be shielded is input in the configuration page of the vehicular router. It can be understood that one identification information may set a plurality of setting domain names correspondingly, that is, a plurality of domain names to be filtered may be set for one remote device. Further, after the set domain names which need to be filtered are determined, a domain name filtering strategy pointing to the set domain names is formed, and under the domain name filtering strategy, device data of the target domain name which is consistent with the set domain name is discarded.
In one possible embodiment, the set domain name includes a white list domain name and/or a black list domain name, that is, the set domain name may be configured as a white list or a black list. For the white list domain name, the domain name filtering mode for the remote device is to keep the device data only when the target domain name is consistent with the white list domain name, otherwise to discard the device data, and for the black list domain name, the domain name filtering mode for the remote device is to discard the device data only when the target domain name is consistent with the white list domain name, otherwise to keep the device data. Generally, one device data corresponds to one destination domain name or destination IP address.
S202: and associating the identification information with the domain name filtering strategy to form a strategy association relation.
Specifically, after a domain name filtering policy for a remote device is formed, identification information corresponding to the same remote device and the domain name filtering policy are associated to form a policy association relationship, and the policy association relationship is stored in a configuration file of the vehicle-mounted router.
S203: and analyzing the equipment data sent by the remote equipment, and determining the identification information of the remote equipment and the target domain name to be accessed.
S204: and determining a domain name filtering strategy corresponding to the identification information based on a strategy association relation between the identification information and the domain name filtering strategy.
S205: and comparing the target domain name with a set domain name corresponding to the domain name filtering strategy to obtain a comparison result.
Specifically, after determining a domain name filtering policy corresponding to the current remote device, a target domain name (or a target IP address) carried by device data is compared with a set domain name (or a target IP address) pointed by the domain name filtering policy, whether the set domain name (or the target IP address) consistent with the target domain name (or the target IP address) exists is judged, and a corresponding comparison result is generated.
S206: and filtering the equipment data according to the comparison result of the target domain name matched with the set domain name.
And judging whether the target domain name is in the range needing to be filtered according to the comparison result, and discarding the equipment data corresponding to the target domain name in the filtering range to finish the domain name filtering of the remote equipment.
Specifically, if the set domain name is set in the form of a blacklist domain name, when the comparison result indicates that the set domain name (or the target IP address) consistent with the target domain name (or the target IP address) does not exist, it is determined that the target domain name to be accessed by the current remote device is not within the filtering range, and corresponding device data is retained. And when the comparison result indicates that the set domain name (or the target IP address) consistent with the target domain name (or the target IP address) exists, considering that the target domain name to be accessed by the current remote equipment is in the filtering range, and discarding the corresponding equipment data.
If the set domain name is set in the form of a white list domain name, when the comparison result indicates that the set domain name (or the target IP address) consistent with the target domain name (or the target IP address) does not exist, the target domain name to be accessed by the current remote equipment is considered to be in the filtering range, and corresponding equipment data are discarded. And when the comparison result indicates that the set domain name (or the target IP address) consistent with the target domain name (or the target IP address) exists, the target domain name to be accessed by the current remote equipment is considered not to be in the filtering range, and corresponding equipment data is reserved.
Optionally, when the target domain name to be accessed by the current remote device is considered to be in the filtering range and the corresponding device data is discarded, returning to step S203 to continue to wait for the arrival of the next data packet and continue to perform the domain name filtering step, if the device data is retained, jumping to step S207 to forward the device data to the cloud platform, after the device data is forwarded, returning to step S203 to continue to wait for the arrival of the next data packet and continue to perform the domain name filtering step.
S207: and uploading the filtered device data to a cloud platform corresponding to the target domain name.
Specifically, when the device data is filtered and retained, the cloud platform which needs to upload data is accessed based on the target IP address corresponding to the target domain name, and the device data is uploaded to the cloud platform, so that the cloud platform analyzes or displays the device data, and unattended operation of the remote device is realized.
The identification information of the remote device and the target domain name to be accessed are determined by analyzing the device data sent by the remote device, the domain name filtering strategy for the remote device is determined according to the identification information, the device data are filtered based on the corresponding domain name filtering strategy, the device data with the target domain name to be filtered are filtered, the filtered device data without the target domain name to be filtered are uploaded to the cloud platform corresponding to the target domain name, the cloud platform analyzes and processes or displays the device data, confusion of data management caused by the fact that the remote devices freely upload data to the external network is reduced, ordered uploading of the device data sent by the remote devices is guaranteed, and the management effect of the data is improved. The set domain name which needs to be filtered is set in the vehicle-mounted router, and the domain name filtering strategy is flexibly set in a mode of setting a black and white list, so that the flexibility of the vehicle-mounted router is improved.
On the basis of the foregoing embodiment, fig. 3 is a flowchart of another domain name filtering method for a vehicle-mounted router provided in the embodiment of the present application, where the domain name filtering method for a vehicle-mounted router is an embodiment of the domain name filtering method for a vehicle-mounted router. Referring to fig. 3, the method for filtering a domain name of a vehicle-mounted router includes:
s301: and setting a policy association relation between the operation state and the identification information and a domain name filtering policy based on the domain name filtering requirements of the vehicle on the equipment data in different operation states.
The operation state of the vehicle comprises operation and suspension operation, and the operation state indicates that the vehicle is in the preset operation time and runs in the preset route range and the vehicle is not in the preset operation time or runs out of the preset route range respectively.
Specifically, according to the domain name filtering requirements of the vehicle on each remote device in different operation states, the domain name filtering strategies for each remote device in different operation states are determined. Further, a policy association relationship between the operation state and the identification information and the domain name filtering policy is set in a configuration file of the vehicle-mounted router. The current domain name filtering strategy for the remote equipment can be determined according to the operation state and the identification information of the vehicle, and different operation states and identification information correspond to different domain name filtering strategies.
S302: and analyzing the equipment data sent by the remote equipment, and determining the identification information of the remote equipment and the target domain name to be accessed.
S303: and determining the operation state of the vehicle according to the positioning information and the operation time of the vehicle.
Specifically, the vehicle-mounted router retrieves positioning data of a positioning module (such as a GPS module) on the vehicle, determines positioning information of the vehicle, acquires an operation schedule of the current vehicle, and determines an operation time of the vehicle. Further, the operating route information of the current vehicle is obtained, and the route range of the vehicle in operation is determined. The operation schedule and the operation line information can be configured in a configuration file of the vehicle-mounted router, can also be recorded in the cloud platform, and can be acquired from the cloud platform after the vehicle-mounted router is powered on.
Further, whether the positioning corresponding to the positioning information is in the route range corresponding to the operating line information or not is judged, and whether the current time is in the operating time or not is judged. And if the positioning information is in the route range and within the operation time, determining that the operation state of the current vehicle is in operation, and otherwise, determining that the operation state of the current vehicle is suspended operation.
S304: and determining the domain name filtering strategy corresponding to the operation state and the identification information based on the strategy association relation.
Specifically, after the current operation state of the vehicle and the identification information of the device data are determined, the current operation state and the domain name filtering strategy corresponding to the identification information are determined according to the strategy association relation recorded in the configuration file. For example, part of the device data needs to be uploaded to the cloud platform in the operating state, the device data of the domain name pointing to the cloud platform is reserved only when the vehicle is operating, and otherwise the device data is discarded.
S305: and filtering the equipment data according to the domain name filtering strategy, and uploading the filtered equipment data to a cloud platform corresponding to the target domain name.
The identification information of the remote device and the target domain name to be accessed are determined by analyzing the device data sent by the remote device, the domain name filtering strategy for the remote device is determined according to the identification information, the device data are filtered based on the corresponding domain name filtering strategy, the device data with the target domain name to be filtered are filtered, the filtered device data without the target domain name to be filtered are uploaded to the cloud platform corresponding to the target domain name, the cloud platform analyzes and processes or displays the device data, confusion of data management caused by the fact that the remote devices freely upload data to the external network is reduced, ordered uploading of the device data sent by the remote devices is guaranteed, and the management effect of the data is improved. Meanwhile, a domain name filtering strategy of the remote equipment is determined by combining the operation state of the vehicle, the condition that secondary data occupies transmission resources is reduced, the consumption of flow is reduced, the normal sending of important data in the operation state of the vehicle is ensured, and the real-time monitoring effect of the vehicle is improved.
Fig. 4 is a schematic structural diagram of a domain name filtering apparatus of a vehicle-mounted router according to an embodiment of the present application. Referring to fig. 4, the on-board router domain name filtering apparatus includes a data parsing module 41, a policy determination module 42, and a data processing module 43.
The data analysis module 41 is configured to analyze device data sent by a remote device, and determine identification information of the remote device and a target domain name to be accessed; a policy determining module 42, configured to determine, based on a policy association relationship between the identification information and a domain name filtering policy, a domain name filtering policy corresponding to the identification information; and the data processing module 43 is configured to filter the device data according to the domain name filtering policy, and upload the filtered device data to the cloud platform corresponding to the target domain name.
The identification information of the remote device and the target domain name to be accessed are determined by analyzing the device data sent by the remote device, the domain name filtering strategy for the remote device is determined according to the identification information, the device data are filtered based on the corresponding domain name filtering strategy, the device data with the target domain name to be filtered are filtered, the filtered device data without the target domain name to be filtered are uploaded to the cloud platform corresponding to the target domain name, the cloud platform analyzes and processes or displays the device data, confusion of data management caused by the fact that the remote devices freely upload data to the external network is reduced, ordered uploading of the device data sent by the remote devices is guaranteed, and the management effect of the data is improved.
In one possible embodiment, the apparatus further comprises a policy configuration module configured to:
determining identification information of accessed remote equipment, and determining a domain name filtering strategy for the remote equipment;
and associating the identification information with the domain name filtering strategy to form a strategy association relation.
In a possible embodiment, when determining the identification information of the accessed remote device and determining the domain name filtering policy for the remote device, the policy configuration module specifically includes:
the method comprises the steps of determining identification information of accessed remote equipment and a set domain name needing to be filtered, and forming a domain name filtering strategy for the remote equipment based on the set domain name.
In a possible embodiment, the data processing module 43 is specifically configured to:
comparing the target domain name with a set domain name corresponding to the domain name filtering strategy to obtain a comparison result;
filtering the equipment data according to the comparison result of the target domain name matched with the set domain name;
and uploading the filtered device data to a cloud platform corresponding to the target domain name.
In one possible embodiment, the set domain name includes a whitelist domain name and/or a blacklist domain name.
In one possible embodiment, the apparatus further includes a policy configuration module, configured to set a policy association relationship between the operation state and the identification information and a domain name filtering policy based on domain name filtering requirements for device data in different operation states of the vehicle.
In a possible embodiment, the policy determination module 42 is specifically configured to:
determining the operation state of the vehicle according to the positioning information and the operation time of the vehicle;
and determining the domain name filtering strategy corresponding to the operation state and the identification information based on the strategy association relation.
The embodiment of the application also provides computer equipment which can integrate the domain name filtering device of the vehicle-mounted router provided by the embodiment of the application. Fig. 5 is a schematic structural diagram of a computer device according to an embodiment of the present application. Referring to fig. 5, the computer apparatus includes: an input device 53, an output device 54, a memory 52, and one or more processors 51; the memory 52 for storing one or more programs; when the one or more programs are executed by the one or more processors 51, the one or more processors 51 are enabled to implement the domain name filtering method of the in-vehicle router provided in the above embodiment. Wherein the input device 53, the output device 54, the memory 52 and the processor 51 may be connected by a bus or other means, as exemplified by the bus connection in fig. 5.
The memory 52 is a storage medium readable by a computing device and can be used for storing software programs, computer executable programs, and modules, such as program instructions/modules corresponding to the domain name filtering method of the in-vehicle router (for example, the data parsing module 41, the policy determining module 42, and the data processing module 43 in the domain name filtering apparatus of the in-vehicle router) according to any embodiment of the present application. The memory 52 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory 52 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 52 may further include memory located remotely from the processor 51, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 53 may be used to receive input numeric or character information and generate key signal inputs relating to user settings and function control of the apparatus. The output device 54 may include a display device such as a display screen.
The processor 51 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory 52, that is, implements the above-described domain name filtering method for the in-vehicle router.
The device, the equipment and the computer for filtering the domain name of the vehicle-mounted router can be used for executing the method for filtering the domain name of the vehicle-mounted router provided by any embodiment, and have corresponding functions and beneficial effects.
The embodiment of the present application further provides a storage medium containing computer executable instructions, which when executed by a computer processor, are configured to perform the method for filtering a domain name of an on-board router provided in the above embodiment, where the method for filtering a domain name of an on-board router includes: analyzing equipment data sent by remote equipment, and determining identification information of the remote equipment and a target domain name to be accessed; determining a domain name filtering strategy corresponding to the identification information based on a strategy association relation between the identification information and the domain name filtering strategy; and filtering the equipment data according to the domain name filtering strategy, and uploading the filtered equipment data to a cloud platform corresponding to the target domain name.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDRRAM, SRAM, EDORAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium provided in the embodiments of the present application contains computer-executable instructions, and the computer-executable instructions are not limited to the above-mentioned domain name filtering method for the in-vehicle router, and may also perform related operations in the domain name filtering method for the in-vehicle router provided in any embodiments of the present application.
The device, the apparatus, and the storage medium for filtering a domain name of a vehicle router provided in the foregoing embodiments may perform the method for filtering a domain name of a vehicle router provided in any embodiments of the present application, and refer to the method for filtering a domain name of a vehicle router provided in any embodiments of the present application without detailed technical details described in the foregoing embodiments.
The foregoing is considered as illustrative of the preferred embodiments of the invention and the technical principles employed. The present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.

Claims (6)

1. A method for filtering a domain name of a vehicle-mounted router is characterized by comprising the following steps:
analyzing equipment data sent by remote equipment, and determining identification information of the remote equipment and a target domain name to be accessed;
determining a domain name filtering strategy corresponding to the identification information based on a strategy association relation between the identification information and the domain name filtering strategy;
filtering the equipment data according to the domain name filtering strategy, and uploading the filtered equipment data to a cloud platform corresponding to the target domain name;
before analyzing the device data sent by the remote device and determining the identification information of the remote device and the target domain name to be accessed, the method further includes:
determining identification information of accessed remote equipment, and determining a domain name filtering strategy for the remote equipment;
associating the identification information with the domain name filtering strategy to form a strategy association relation;
the determining the identification information of the accessed remote device and determining the domain name filtering policy for the remote device includes:
determining identification information of accessed remote equipment and a set domain name required to be filtered, and forming a domain name filtering strategy for the remote equipment based on the set domain name;
the filtering the device data according to the domain name filtering policy and uploading the filtered device data to the cloud platform corresponding to the target domain name includes:
comparing the target domain name with a set domain name corresponding to the domain name filtering strategy to obtain a comparison result;
filtering the equipment data according to the comparison result of the target domain name matched with the set domain name;
uploading the filtered device data to a cloud platform corresponding to the target domain name;
wherein the set domain name comprises a white list domain name and/or a black list domain name.
2. The method for filtering a domain name of a vehicle-mounted router according to claim 1, wherein before analyzing device data sent by a remote device and determining identification information of the remote device and a target domain name to be accessed, the method further comprises:
and setting a policy association relation between the operation state and the identification information and a domain name filtering policy based on the domain name filtering requirements of the vehicle on the equipment data in different operation states.
3. The method for filtering the domain name of the vehicle-mounted router according to claim 2, wherein the determining the domain name filtering policy corresponding to the identification information based on the policy association relationship between the identification information and the domain name filtering policy includes:
determining the operation state of the vehicle according to the positioning information and the operation time of the vehicle;
and determining the domain name filtering strategy corresponding to the operation state and the identification information based on the strategy association relation.
4. The utility model provides a vehicle-mounted router domain name filter equipment which characterized in that, includes data analysis module, tactics determination module and data processing module, wherein:
the data analysis module is used for analyzing equipment data sent by remote equipment and determining identification information of the remote equipment and a target domain name to be accessed;
the policy determining module is used for determining a domain name filtering policy corresponding to the identification information based on a policy association relation between the identification information and the domain name filtering policy;
the data processing module is used for filtering the equipment data according to the domain name filtering strategy and uploading the filtered equipment data to a cloud platform corresponding to the target domain name;
wherein the apparatus further comprises a policy configuration module configured to:
determining identification information of accessed remote equipment, and determining a domain name filtering strategy for the remote equipment;
associating the identification information with the domain name filtering strategy to form a strategy association relation;
when determining the identification information of the accessed remote device and determining the domain name filtering policy for the remote device, the policy configuration module specifically includes:
determining identification information of accessed remote equipment and a set domain name required to be filtered, and forming a domain name filtering strategy for the remote equipment based on the set domain name;
wherein the data processing module is specifically configured to:
comparing the target domain name with a set domain name corresponding to the domain name filtering strategy to obtain a comparison result;
filtering the equipment data according to the comparison result of the target domain name matched with the set domain name;
uploading the filtered device data to a cloud platform corresponding to the target domain name;
wherein the set domain name comprises a white list domain name and/or a black list domain name.
5. A computer device, comprising: a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the in-vehicle router domain name filtering method of any of claims 1-3.
6. A storage medium containing computer-executable instructions for performing the in-vehicle router domain name filtering method of any one of claims 1-3 when executed by a computer processor.
CN202010795241.5A 2020-08-10 2020-08-10 Method, device, equipment and storage medium for filtering domain name of vehicle-mounted router Active CN111988293B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010795241.5A CN111988293B (en) 2020-08-10 2020-08-10 Method, device, equipment and storage medium for filtering domain name of vehicle-mounted router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010795241.5A CN111988293B (en) 2020-08-10 2020-08-10 Method, device, equipment and storage medium for filtering domain name of vehicle-mounted router

Publications (2)

Publication Number Publication Date
CN111988293A CN111988293A (en) 2020-11-24
CN111988293B true CN111988293B (en) 2021-10-15

Family

ID=73446153

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010795241.5A Active CN111988293B (en) 2020-08-10 2020-08-10 Method, device, equipment and storage medium for filtering domain name of vehicle-mounted router

Country Status (1)

Country Link
CN (1) CN111988293B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114401140B (en) * 2022-01-13 2022-11-11 腾讯科技(深圳)有限公司 Access processing method, related device and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110336770A (en) * 2019-04-04 2019-10-15 平安科技(深圳)有限公司 Method, apparatus, equipment and the storage medium of long-range monitoring loophole

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102916826A (en) * 2011-08-01 2013-02-06 中兴通讯股份有限公司 Method and device for controlling network access
CN107531163B (en) * 2015-05-13 2020-03-03 三菱电机株式会社 In-train transmission control system and relay device
CN105959284A (en) * 2016-04-29 2016-09-21 上海斐讯数据通信技术有限公司 Message filtering system and method
CN106982252A (en) * 2017-03-22 2017-07-25 深圳市合智思创信息技术有限公司 Data processing method and device
CN109347783A (en) * 2018-08-01 2019-02-15 株洲凯创技术有限公司 Data filtering method, device, system and train-installed firewall box
CN111147422B (en) * 2018-11-02 2021-08-13 华为技术有限公司 Method and device for controlling connection between terminal and network

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110336770A (en) * 2019-04-04 2019-10-15 平安科技(深圳)有限公司 Method, apparatus, equipment and the storage medium of long-range monitoring loophole

Also Published As

Publication number Publication date
CN111988293A (en) 2020-11-24

Similar Documents

Publication Publication Date Title
EP2985200B1 (en) Traffic lights information processing apparatus, information processing method, and computer program for controlling the electrical power consumption in the vehicle
CN107222637B (en) Connection method and device, vehicle-mounted system, terminal and storage medium
JP5712845B2 (en) Fault diagnosis device for vehicles
KR101934348B1 (en) Method and device for processing real-time vehicle traveling data
CN110036603A (en) Switch, communication control method and communication control program
CN113272794A (en) In-vehicle information processing device, user terminal, information processing method, and program
US10999719B1 (en) Peer-to-peer autonomous vehicle communication
WO2023083333A1 (en) Vehicle can data processing method, system, and apparatus, and readable storage medium
JP2006256457A (en) On-vehicle data management device, and vehicular information supplying system
KR20190046477A (en) Method for handling message in gateway and gateway therefor
CN111988293B (en) Method, device, equipment and storage medium for filtering domain name of vehicle-mounted router
JP2024510746A (en) Service-oriented data architecture for vehicles
US11373464B2 (en) Vehicle-mounted communications device, log collection method, and log collection program
US20170336802A1 (en) Caching Electronic Control Unit Mapping Solutions for Connected Vehicles
CN113268050A (en) Vehicle diagnosis method and device
CN111988209B (en) Vehicle-mounted router Internet of things data processing method, device, equipment and storage medium
Ai et al. OSGi based integrated service platform for automotive telematics
Čabala et al. Wireless real-time vehicle monitoring based on android mobile device
CN116303456A (en) Industrial data processing method, system, device and computer readable storage medium
CN115495500A (en) Data processing method and device, electronic equipment and storage medium
CN114625111A (en) Vehicle state monitoring method and system
CN111988210B (en) Method, device, equipment and storage medium for uploading vehicle-mounted router physical connection data
US9894629B2 (en) Telematics terminal, control method thereof, data center, control method thereof, and data service system
KR101053503B1 (en) Vehicle database management system and method
CN116418615A (en) Vehicle data processing system and method, electronic device, and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant