CN110830481A - Vehicle-mounted equipment internet surfing method and device, server and storage medium - Google Patents
Vehicle-mounted equipment internet surfing method and device, server and storage medium Download PDFInfo
- Publication number
- CN110830481A CN110830481A CN201911106206.1A CN201911106206A CN110830481A CN 110830481 A CN110830481 A CN 110830481A CN 201911106206 A CN201911106206 A CN 201911106206A CN 110830481 A CN110830481 A CN 110830481A
- Authority
- CN
- China
- Prior art keywords
- internet
- request
- apn
- vehicle
- internet surfing
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0876—Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Power Engineering (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a vehicle-mounted device internet surfing method, a device, a server and a storage medium. The method comprises the following steps: receiving a first internet surfing request sent by a terminal; confirming a first access type according to the first internet surfing request; allocating a first APN to the first internet surfing request according to the first access type; and confirming one of a plurality of network card addresses to send the first internet access request according to the first APN, wherein the plurality of network card addresses are respectively bound with internet access accounts of different types of traffic cards. The technical scheme of the invention realizes the effects of reducing vehicle-mounted flow cost and partially avoiding flow.
Description
Technical Field
The embodiment of the invention relates to a vehicle-mounted communication technology, in particular to a vehicle-mounted device internet surfing method, device, server and storage medium.
Background
The data transmission of the existing vehicle-mounted video monitoring system is based on a 3G or 4G network card, one physical network card corresponds to one APN dialing, and the network is not shared. At the present stage, the cost of the mobile phone card is lower and faster, a plurality of customized flow cards are available on the market, flow-free services can be provided for partial video websites, for Tencent videos and Youke video websites, flow is avoided, and the existing schemes for conveniently applying the existing services to the traditional industry are lacked.
Disclosure of Invention
The invention provides a vehicle-mounted device internet access method, a device, a server and a storage medium, which are used for achieving the effects of reducing vehicle-mounted flow cost and partially avoiding flow.
In a first aspect, an embodiment of the present invention provides a method for a vehicle-mounted device to surf a network, where the method includes:
receiving a first internet surfing request sent by a terminal;
confirming a first access type according to the first internet surfing request;
allocating a first APN to the first internet surfing request according to the first access type;
and confirming one of a plurality of network card addresses to send the first internet access request according to the first APN, wherein the plurality of network card addresses are respectively bound with internet access accounts of different types of traffic cards.
In a second aspect, an embodiment of the present invention further provides an internet access device for a vehicle-mounted device, where the internet access device includes:
the first internet access request receiving module is used for receiving a first internet access request sent by the terminal;
the first access type confirmation module is used for confirming a first access type according to the first internet surfing request;
a first APN allocation module, configured to allocate a first APN for the first internet access request according to the first access type;
and the internet access request sending module is used for confirming one of a plurality of network card addresses according to the first APN to send the first internet access request, and the plurality of network card addresses are respectively bound with internet access accounts of different types of traffic cards.
In a third aspect, an embodiment of the present invention further provides a server, including:
one or more processors;
a storage device 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 realize the vehicle-mounted device internet access method.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the method for surfing the internet by using the vehicle-mounted device is implemented.
According to the technical scheme of the embodiment of the invention, a first internet surfing request sent by a receiving terminal is received; confirming a first access type according to the first internet surfing request; allocating a first APN to the first internet surfing request according to the first access type; and confirming one of a plurality of network card addresses to send the first internet access request according to the first APN, wherein the plurality of network card addresses are respectively bound with internet access accounts of different types of traffic cards. The technical scheme of the embodiment of the invention solves the problem of high traffic cost of the existing vehicle-mounted network, and achieves the effects of reducing vehicle-mounted traffic cost and partially avoiding traffic.
Drawings
Fig. 1 is a flowchart of a method for accessing a network by a vehicle-mounted device in an embodiment of the present invention.
Fig. 2 is a flowchart of a method for accessing to the internet by the vehicle-mounted device in the second embodiment of the present invention.
Fig. 3 is a flowchart of a vehicle-mounted hotspot in the third embodiment of the invention.
Fig. 4 is a schematic structural diagram of an on-board device in a fourth embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a server in the fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
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 steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. A process may be terminated when its operations are completed, but may have additional steps not included in the figure. A process may correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.
Furthermore, the terms "first," "second," and the like may be used herein to describe various orientations, actions, steps, elements, or the like, but the orientations, actions, steps, or elements are not limited by these terms. These terms are only used to distinguish one direction, action, step or element from another direction, action, step or element. For example, the first internet access request may be referred to as a second internet access request, and similarly, the second internet access request may be referred to as the first internet access request, without departing from the scope of the present application. The first internet access request and the second internet access request are both internet access requests, but are not the same internet access request. The terms "first", "second", etc. are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Example one
Fig. 1 is a flowchart of a method for accessing to the internet by a vehicle-mounted device according to an embodiment of the present invention, where the embodiment is applicable to an internet access situation of the vehicle-mounted device, and specifically includes the following steps:
s110, receiving a first internet surfing request sent by a terminal;
in this embodiment, the terminal may be a vehicle-mounted computer, a vehicle-mounted monitor, a vehicle event data recorder, or the like, which is not limited herein. The first internet access request can be an internet access application sent by a vehicle-mounted computer or vehicle-mounted monitoring, the internet access application can be dial-up internet access, the information dynamics of the traffic card is obtained through dial-up internet access, and then the corresponding operator 4G network is dynamically connected according to the information of the traffic card. Preferably, the networked vehicle-mounted terminal is connected with a data network through a traffic card, and the data network can realize data interactive communication between the networked vehicle-mounted terminal and a communication network. Preferably, the data network may be an LTE network, a CDMA or GPRS communication network of different mode types.
S120, confirming a first access type according to the first internet surfing request;
in this embodiment, the first access type may be defined by a data flow direction of a terminal network, where the data flow direction may be associated with a use purpose of the terminal network, such as video uploading of vehicle-mounted monitoring, and an APP use on a vehicle-mounted computer, such as a vacation video, a youku video, a browser, and a music player, and is not limited herein. Illustratively, when a user uses application software on a vehicle-mounted computer, the vehicle-mounted computer detects whether the application software needs to use a network, sends a network access request to a server when the application software needs to use the network, and attaches the access type of the vehicle-mounted computer, namely what application software is used on the vehicle-mounted computer.
S130, distributing a first APN for the first internet surfing request according to the first access type;
in this embodiment, the APN is used in a GPRS backbone network to identify an external PDN (Packet data network, often referred to as Internet) to be used, and represents a generic term of an external data network in the GPRS network. The APN consists of two parts: APN network identification: the identifier is an identifier that a user can connect to an external network through a GGSN/PGW (Gateway GPRS Support Node, GPRS Gateway Support Node/PDN Gateway, packet data network Gateway), and the identifier is allocated to an ISP (Internet Service Provider) or a company by a network operator, is consistent with a fixed Internet domain name thereof, and is a necessary component of an APN. For example, defining an enterprise network of a company through which a mobile user accesses, the network identification of the APN may be designated "www.ABC123.com". APN operator identity: used for identifying the network to which the GGSN/PGW belongs, is an optional component of the APN. In the form "mncxxxx. mccyyyy.gprs" (in 3G networks), or "mncxxxx. mccyyy.3gppnenetwork.org (in 4G networks). The APN is actually an identification of an external PDN, including private networks such as corporate intranets, the Internet, WAP sites, and industry intranets. The network side acquires the network to be accessed after the mobile phone is activated (because the IP assigned by each network may be different, some are private networks, and some are public network IPs), the network needs to be distinguished by the APN, and of course, the names of the operators may be different. For example, when the application software on the vehicle-mounted computer needs to send a network access request to the server by using the network, one APN is allocated to the network connection of the application software so as to be used by the network of the application software.
S140, confirming one of a plurality of network card addresses to send the first internet surfing request according to the first APN, wherein the plurality of network card addresses are respectively bound with internet surfing accounts of different types of traffic cards.
In this embodiment, the server matches, according to the access type of the vehicle-mounted terminal, the corresponding APN channel information, where the APN channel information includes APN setting parameters, such as an access point name, a country number MCC, an operator number MNC, an operator unique identifier number globally, a user name, a password, a port, and the like. Exemplarily, a network request initiated by APP1 on the terminal is distributed to an APN1 virtual network card, a network request initiated by APP2 on the terminal is distributed to an APN2 virtual network card, and then the terminal is networked externally through the virtual network card, that is, the APP1 on the terminal is networked externally through the virtual network card corresponding to APN1, and the APP2 on the terminal is networked externally through the virtual network card corresponding to APN2, so that multiple APNs can work simultaneously, for example, the terminal is connected with a public network through the APN1 virtual network card, a vehicle owner can use WeChat or QQ, the vehicle owner is connected with a private network of "navigation service" through the APN2 virtual network card, and the vehicle owner can use the navigation service; or the APN1 virtual network card is connected with the private network of the 'infotainment service' and the APN2 virtual network card is connected with the private network of the 'navigation service', so that the car owner can use the infotainment service and the navigation service at the same time. In this embodiment, the network card addresses bind to the internet access accounts of different types of traffic cards, at the present stage, the cost of the mobile phone card is lower and higher, the traffic cards of different types are customized traffic cards on the market, and can provide traffic-free services for some video websites, and the like. Illustratively, the server allocates a corresponding first APN to the application software according to the access type of the internet access request of the application software, so as to use the traffic card on the network card address corresponding to the first APN for networking, thereby achieving the effect of networking without traffic or saving traffic.
And the traffic data can be monitored after the terminal accesses the internet. The traffic data refers to various traffic service related data on the vehicle-mounted terminal, including but not limited to traffic monitoring data, traffic control results, traffic diagnosis results, and the like. The vehicle-mounted terminal can send the flow monitoring data to the cloud server at regular time and can also feed back the flow monitoring data in real time according to a command sent by the cloud server. The management personnel can set a flow alarm rule in the cloud server, and through the cloud computing and other modes, when the flow monitoring data meets the rule conditions, the flow service alarm is triggered, and notification is carried out to a set channel, such as mail, short message or platform page prompt. For example, when the flow scale of a certain vehicle-mounted application on the day exceeds 1GB, an alarm prompt may be given. The problem that the flow use exceeds the standard due to the fact that the used application does not have a corresponding flow card to provide free services is avoided.
According to the technical scheme of the embodiment of the invention, a first internet surfing request sent by a receiving terminal is received; confirming a first access type according to the first internet surfing request; allocating a first APN to the first internet surfing request according to the first access type; and confirming one of a plurality of network card addresses to send the first internet access request according to the first APN, wherein the plurality of network card addresses are respectively bound with internet access accounts of different types of traffic cards. The technical scheme of the embodiment of the invention solves the problem of high traffic cost of the existing vehicle-mounted network, and achieves the effects of reducing vehicle-mounted traffic cost and partially avoiding traffic.
Example two
Fig. 2 is a flowchart of a vehicle-mounted device internet access method provided in the second embodiment of the present invention, which is further optimized based on the above embodiment, and the method specifically includes:
s210, generating a plurality of virtual network cards according to a virtual network card generating command of a user;
s220, distributing corresponding network card addresses to the virtual network cards according to a preset distribution mode;
in this embodiment, the virtual network card generating command is a command for generating one or more virtual network cards based on the Linux system, and the command is set by a user, and a corresponding physical address is allocated to the one or more virtual network cards according to a preset allocation manner, where the preset allocation manner may be random allocation or may be set by the user. And the server randomly allocates corresponding physical addresses to one or more virtual network cards or automatically calls a command tool to allocate corresponding physical addresses to one or more virtual network cards respectively.
Further, the allocating the corresponding network card addresses to the plurality of virtual network cards according to the preset allocation manner includes:
and randomly or automatically calling a command tool to distribute corresponding network card addresses to the virtual network cards.
S230, correspondingly binding the network card addresses and the first APN according to the APN binding command of the user.
In this embodiment, a network request initiated by APP1 on the terminal is distributed to the APN1 virtual network card, and a network request initiated by APP2 on the terminal is distributed to the APN2 virtual network card, and then the extranet is performed through the virtual network card corresponding to APN1 when the APP1 on the terminal is networked, and the extranet is performed through the virtual network card corresponding to APN2 when the APP2 on the terminal is networked, so that multiple APNs can work simultaneously. In order to realize that the APP on the terminal can be connected with the corresponding flow cards, each APN needs to be bound with a fixed virtual network card, namely each APN needs to be bound with a network card address, and the network card addresses are bound with the internet access accounts of the flow cards of different types, so that no APN is bound with the flow cards of different types.
S240, receiving a first internet surfing request sent by a terminal;
in this embodiment, the first internet access request may be an internet access application sent by a vehicle-mounted computer or vehicle-mounted monitoring, and the internet access application may be dial-up internet access, where the information dynamics of the traffic card is obtained by dial-up internet access, and then the corresponding operator 4G network is dynamically connected according to the information of the traffic card.
S250, confirming a first access type according to the first internet surfing request;
in this embodiment, the first access type may be a data flow direction of a terminal network, where the data flow direction is a use purpose of the terminal network, such as video uploading of vehicle-mounted monitoring, and use of APP on a vehicle-mounted computer, such as Tencent video, Youku video, a browser, and a music player, and is not limited herein.
S260, screening out the corresponding traffic card according to the first access type;
in this embodiment, when the user uses the application software on the in-vehicle computer, the in-vehicle computer detects whether the application software needs to use the network, sends a request for internet access to the server when the application software needs to use the network, and attaches the access type of the in-vehicle computer, that is, what application software is used on the in-vehicle computer. And many customized traffic cards are available in the market, which can provide traffic-free service for some video websites, for Tencent videos and Youke video websites, traffic can be avoided. The user customizes the corresponding flow card according to the self requirement, and the server matches the corresponding customized flow card which can reduce the flow cost and even avoid the flow according to the first access type, namely the application software used by the vehicle-mounted computer.
S270, distributing the corresponding first APN for the internet access request according to the network card address bound by the flow card.
In this embodiment, the traffic card is bound to the network card address, and the APN is bound to the network card address, a database may be established, the traffic card, the network card address, the virtual network card, and the APN are stored correspondingly according to the binding relationship, and a corresponding APN may be matched in the database subsequently according to the matching of the access type to the corresponding traffic card, so as to allocate a corresponding APN for the internet access request.
S280, confirming one of a plurality of network card addresses to send the first internet access request according to the first APN, wherein the plurality of network card addresses are respectively bound with internet access accounts of different types of traffic cards.
In this embodiment, the server allocates the corresponding first APN to the application software according to the access type of the internet access request, so as to use the traffic card in the network card address corresponding to the first APN for networking, thereby achieving the effect of avoiding traffic networking.
According to the technical scheme of the embodiment, a plurality of virtual network cards are generated according to a virtual network card generating command of a user; distributing corresponding network card addresses to the virtual network cards according to a preset distribution mode; correspondingly binding the network card addresses and the first APN according to an APN binding command of a user; receiving a first internet surfing request sent by a terminal; confirming a first access type according to the first internet surfing request; screening out the corresponding traffic card according to the first access type; distributing the corresponding first APN for the Internet surfing request according to the network card address bound by the flow card; and confirming one of a plurality of network card addresses to send the first internet access request according to the first APN, wherein the plurality of network card addresses are respectively bound with internet access accounts of different types of traffic cards. The technical scheme of the embodiment of the invention solves the problem of how to use various flow cards, and achieves the effect of reducing and avoiding the use of vehicle-mounted flow.
EXAMPLE III
Fig. 3 is a flowchart of a vehicle-mounted hotspot provided by a third embodiment of the present invention, which is further optimized based on the foregoing embodiment, and has a specific structure as follows:
s310, receiving a hotspot connection request of the mobile equipment;
in this embodiment, the server further has a WiFi function, and by adding a WiFi hotspot, transmits WiFi data to the 3G or 4G network card, so that the client can surf the internet by connecting the WiFi hotspot, and the user can use the network conveniently. The premise of the wireless network card working normally on Linux is to compile and transplant the driver into the kernel. The platform provides a WiFi hotspot function, the WiFi wireless network card is switched to a master mode, Libnl and OpenSSL are compiled and installed, and the ap function is realized through Hostapd tool configuration. Alternatively, the authentication/encryption of the hotspot may be by way of a wep.
S320, receiving a second internet surfing request sent by the mobile equipment after the hotspot connection request passes;
in this embodiment, the mobile device may be a mobile phone, a tablet computer, or other devices that need to be used in a network, and is not limited herein. The second internet access request may be an internet access application issued by the mobile device. Preferably, the mobile device is in data network connection with the traffic card through the AP function. Preferably, the data network may be an LTE network, a CDMA or GPRS communication network of different mode types.
S330, confirming a second access type according to the second internet surfing request;
in this embodiment, the second access type may be a data flow of a mobile device networking, where the data flow is a use of the mobile device networking, for example, a use of APP on a mobile phone or a tablet computer, such as a Tencent video, a Youku video, a browser, a music player, and the like, and is not limited herein.
And S340, distributing the first APN for the second internet surfing request according to the second access type.
In this embodiment, for example, when the application software on the mobile phone or the tablet computer needs to send an internet access request to the server by using the network, one APN is allocated for the network connection of the application software, so as to be used by the network of the application software.
Further, after the allocating the first APN to the second internet access request according to the second access type, the method further includes: and controlling a display to display a display picture of the mobile equipment according to the screen projection request of the mobile equipment, wherein the display picture comprises image information and audio information.
In this embodiment, the screen projection request is a wireless screen projection request sent by a mobile phone or a tablet computer. For example, the mobile phone or the tablet computer may display a display image on the mobile phone or the tablet computer on the vehicle-mounted display through wireless screen projection, where the display image may be a game image or a video image, and the display image is not limited herein.
Further, after the controlling a display to display the display screen of the mobile device according to the screen projection request of the mobile device, the method further includes: and storing screen projection information of the mobile equipment, wherein the screen projection information comprises the display picture.
In this embodiment, the content of the screen shot by the mobile phone or the tablet computer is retained after the screen shot, so as to facilitate subsequent viewing.
According to the technical scheme of the embodiment of the invention, the hotspot connection request of the mobile equipment is received; after the hotspot connection request passes through, receiving a second internet surfing request sent by the mobile equipment; confirming a second access type according to the second internet surfing request; and allocating a first APN to the second internet surfing request according to the second access type. The technical scheme of the embodiment of the invention solves the problem of how to use the vehicle-mounted network by the mobile equipment, and achieves the effect of reducing the flow cost of the mobile equipment.
Example four
Fig. 4 is a schematic structural diagram of a vehicle-mounted device internet access apparatus 400 according to a fourth embodiment of the present invention, where this embodiment is applicable to a vehicle-mounted internet access situation, and specifically includes:
a first internet request receiving module 410, configured to receive a first internet request sent by a terminal;
a first access type confirmation module 420, configured to confirm a first access type according to the first internet access request;
a first APN assignment module 430, configured to assign a first APN to the first internet access request according to the first access type;
an internet request sending module 440, configured to confirm, according to the first APN, that one of multiple network card addresses sends the first internet request, where the multiple network card addresses are respectively bound to internet accounts of different types of traffic cards.
The system further comprises a virtual network card generating module, a network card address allocating module and an APN binding module, wherein the virtual network card generating module is used for generating a plurality of virtual network cards according to a virtual network card generating command of a user;
the network card address allocation module is used for allocating corresponding network card addresses to the virtual network cards according to a preset allocation mode;
and the APN binding module is used for correspondingly binding the network card addresses and the first APN according to an APN binding command of a user.
Further, the virtual network card generating module includes a random or automatic command calling tool to allocate corresponding network card addresses to the plurality of virtual network cards.
Further, the first APN assignment module 430 includes a traffic card screening unit and a traffic card binding unit,
the flow card screening unit is used for screening out the corresponding flow card according to the first access type;
and the traffic card binding unit is used for distributing the corresponding first APN for the Internet access request according to the network card address bound by the traffic card.
Further, the method also comprises the following steps:
the hotspot connection node receiving module is used for receiving a hotspot connection request of the mobile equipment;
the second internet access request receiving module is used for receiving a second internet access request sent by the mobile equipment after the hotspot connection request passes;
the second access type confirmation module is used for confirming a second access type according to the second internet surfing request;
and the second APN allocation module is used for allocating the first APN for the second internet surfing request according to the second access type.
The mobile device further comprises a screen projection module, which is used for controlling a display to display a display picture of the mobile device according to a screen projection request of the mobile device, wherein the display picture comprises image information and audio information.
Further, the mobile device further comprises a storage module, which is used for storing screen projection information of the mobile device, wherein the screen projection information comprises the display picture.
The vehicle-mounted device internet access device 400 provided by the embodiment of the invention can execute the vehicle-mounted device internet access method provided by the embodiment, and has the corresponding functional modules and beneficial effects of the execution method.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a server according to a fifth embodiment of the present invention. FIG. 5 illustrates a block diagram of an exemplary server 512 suitable for use in implementing embodiments of the present invention. The server 512 shown in fig. 5 is only an example and should not bring any limitations to the function and scope of the use of the embodiments of the present invention.
As shown in FIG. 5, the server 512 is in the form of a general purpose server. Components of server 512 may include, but are not limited to: one or more processors 516, a storage device 528, and a bus 518 that couples the various system components including the storage device 528 and the processors 516.
The server 512 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by server 512 and includes both volatile and nonvolatile media, removable and non-removable media.
A program/utility 540 having a set (at least one) of program modules 542 may be stored, for example, in storage 528, such program modules 542 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may include an implementation of a network environment. The program modules 542 generally perform the functions and/or methods of the described embodiments of the invention.
The server 512 may also communicate with one or more external devices 514 (e.g., keyboard, pointing terminal, display 524, etc.), with one or more terminals that enable a user to interact with the server 512, and/or with any terminals (e.g., network card, modem, etc.) that enable the server 512 to communicate with one or more other computing terminals. Such communication may occur via input/output (I/O) interfaces 522. Further, server 512 may communicate with one or more networks (e.g., a Local Area Network (LAN), Wide Area Network (WAN), and/or a public Network such as the internet) via Network adapter 520. As shown in FIG. 5, the network adapter 520 communicates with the other modules of the server 512 via the bus 518. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the server 512, including but not limited to: microcode, end drives, Redundant processors, external disk drive Arrays, RAID (Redundant Arrays of Independent Disks) systems, tape drives, and data backup storage systems, among others.
The processor 516 executes various functional applications and data processing by running the program stored in the storage device 528, for example, implementing an on-board device internet access method provided by any embodiment of the present invention, where the method may include:
receiving a first internet surfing request sent by a terminal;
confirming a first access type according to the first internet surfing request;
allocating a first APN to the first internet surfing request according to the first access type;
and confirming one of a plurality of network card addresses to send the first internet access request according to the first APN, wherein the plurality of network card addresses are respectively bound with internet access accounts of different types of traffic cards.
EXAMPLE six
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the method for accessing to the internet by using the vehicle-mounted device provided in any embodiment of the present invention is implemented, where the method includes:
receiving a first internet surfing request sent by a terminal;
confirming a first access type according to the first internet surfing request;
allocating a first APN to the first internet surfing request according to the first access type;
and confirming one of a plurality of network card addresses to send the first internet access request according to the first APN, wherein the plurality of network card addresses are respectively bound with internet access accounts of different types of traffic cards.
The computer-readable storage media of embodiments of the invention may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or terminal. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention 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 invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (10)
1. A method for surfing Internet by vehicle-mounted equipment is characterized by comprising the following steps:
receiving a first internet surfing request sent by a terminal;
confirming a first access type according to the first internet surfing request;
allocating a first APN to the first internet surfing request according to the first access type;
and confirming one of a plurality of network card addresses to send the first internet access request according to the first APN, wherein the plurality of network card addresses are respectively bound with internet access accounts of different types of traffic cards.
2. The vehicle-mounted device internet surfing method according to claim 1, wherein before the receiving the first internet surfing request sent by the terminal, the method further comprises:
generating a plurality of virtual network cards according to a virtual network card generating command of a user;
distributing corresponding network card addresses to the virtual network cards according to a preset distribution mode;
and correspondingly binding the network card addresses and the first APN according to an APN binding command of a user.
3. The vehicle-mounted device internet surfing method of claim 2, wherein the step of allocating corresponding network card addresses to the plurality of virtual network cards according to a preset allocation manner comprises the steps of:
and randomly or automatically calling a command tool to distribute corresponding network card addresses to the virtual network cards.
4. The vehicle-mounted device internet surfing method of claim 1, wherein the allocating the first APN for the first internet surfing request according to the access type comprises:
screening out the corresponding traffic card according to the first access type;
and distributing the corresponding first APN for the Internet surfing request according to the network card address bound by the flow card.
5. The vehicle-mounted device internet surfing method according to claim 1, further comprising:
receiving a hotspot connection request of a mobile device;
after the hotspot connection request passes through, receiving a second internet surfing request sent by the mobile equipment;
confirming a second access type according to the second internet surfing request;
and allocating a first APN to the second internet surfing request according to the second access type.
6. The vehicle-mounted device internet surfing method of claim 5, wherein after the allocating the first APN to the second internet surfing request according to the second access type, the method further comprises:
and controlling a display to display a display picture of the mobile equipment according to the screen projection request of the mobile equipment, wherein the display picture comprises image information and audio information.
7. The internet surfing method for the vehicle-mounted device according to claim 6, wherein after controlling a display to display a display screen of the mobile device according to the screen projection request of the mobile device, the method further comprises:
and storing screen projection information of the mobile equipment, wherein the screen projection information comprises the display picture.
8. The utility model provides a network access device of mobile unit which characterized in that includes:
the first internet access request receiving module is used for receiving a first internet access request sent by the terminal;
the first access type confirmation module is used for confirming a first access type according to the first internet surfing request;
a first APN allocation module, configured to allocate a first APN for the first internet access request according to the first access type;
and the internet access request sending module is used for confirming one of a plurality of network card addresses according to the first APN to send the first internet access request, and the plurality of network card addresses are respectively bound with internet access accounts of different types of traffic cards.
9. A server, comprising:
one or more processors;
a storage device 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 enabled to implement the vehicle-mounted device internet access method according to any one of claims 1-7.
10. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing the on-board device internet surfing method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911106206.1A CN110830481A (en) | 2019-11-13 | 2019-11-13 | Vehicle-mounted equipment internet surfing method and device, server and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911106206.1A CN110830481A (en) | 2019-11-13 | 2019-11-13 | Vehicle-mounted equipment internet surfing method and device, server and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110830481A true CN110830481A (en) | 2020-02-21 |
Family
ID=69554900
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911106206.1A Pending CN110830481A (en) | 2019-11-13 | 2019-11-13 | Vehicle-mounted equipment internet surfing method and device, server and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110830481A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111836320A (en) * | 2020-07-23 | 2020-10-27 | 闻泰通讯股份有限公司 | Control method and device for switching Sim cards, mobile terminal and storage medium |
CN112087727A (en) * | 2020-08-11 | 2020-12-15 | 南京酷沃智行科技有限公司 | System and method for controlling traffic of Internet of vehicles by virtual operator, MNO application terminal and automobile |
CN112291744A (en) * | 2020-10-23 | 2021-01-29 | 广州小鹏汽车科技有限公司 | Vehicle-mounted program network connection method and device |
CN112653735A (en) * | 2020-12-11 | 2021-04-13 | 广州橙行智动汽车科技有限公司 | Vehicle-mounted application data transmission method and device and vehicle |
CN114257568A (en) * | 2021-12-09 | 2022-03-29 | 深圳市广和通无线股份有限公司 | Data transmission method and related equipment |
CN116069284A (en) * | 2023-02-27 | 2023-05-05 | 南京芯驰半导体科技有限公司 | Screen projection method, hardware system and storage medium |
WO2023185130A1 (en) * | 2022-03-29 | 2023-10-05 | 西安广和通无线软件有限公司 | Data forwarding apparatus and method, electronic device, and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104901853A (en) * | 2015-06-30 | 2015-09-09 | 北京奇虎科技有限公司 | Network monitoring method, proxy server and network access system |
CN105050069A (en) * | 2015-06-30 | 2015-11-11 | 北京奇虎科技有限公司 | Network monitoring method for smart vehicles and smart vehicle |
CN106454497A (en) * | 2016-10-31 | 2017-02-22 | 乐视控股(北京)有限公司 | Method and device for screen-mirroring playing of video |
CN106534927A (en) * | 2016-09-30 | 2017-03-22 | 乐视控股(北京)有限公司 | Video control method, device and system for vehicular terminals |
CN107222637A (en) * | 2017-06-30 | 2017-09-29 | 百度在线网络技术(北京)有限公司 | A kind of connection method and device, onboard system, terminal, storage medium |
CN108833508A (en) * | 2018-05-31 | 2018-11-16 | 惠州市德赛西威汽车电子股份有限公司 | Applied to multi-channel A PN networking method, storage medium and the system in car networking system |
CN109600422A (en) * | 2018-11-19 | 2019-04-09 | 斑马网络技术有限公司 | Data package processing method, gateway, vehicle-mounted action hot spot and proxy server |
CN110086938A (en) * | 2019-04-29 | 2019-08-02 | 百度在线网络技术(北京)有限公司 | Throw control method, system, electronic equipment and the computer-readable medium of screen display |
-
2019
- 2019-11-13 CN CN201911106206.1A patent/CN110830481A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104901853A (en) * | 2015-06-30 | 2015-09-09 | 北京奇虎科技有限公司 | Network monitoring method, proxy server and network access system |
CN105050069A (en) * | 2015-06-30 | 2015-11-11 | 北京奇虎科技有限公司 | Network monitoring method for smart vehicles and smart vehicle |
CN106534927A (en) * | 2016-09-30 | 2017-03-22 | 乐视控股(北京)有限公司 | Video control method, device and system for vehicular terminals |
CN106454497A (en) * | 2016-10-31 | 2017-02-22 | 乐视控股(北京)有限公司 | Method and device for screen-mirroring playing of video |
CN107222637A (en) * | 2017-06-30 | 2017-09-29 | 百度在线网络技术(北京)有限公司 | A kind of connection method and device, onboard system, terminal, storage medium |
CN108833508A (en) * | 2018-05-31 | 2018-11-16 | 惠州市德赛西威汽车电子股份有限公司 | Applied to multi-channel A PN networking method, storage medium and the system in car networking system |
CN109600422A (en) * | 2018-11-19 | 2019-04-09 | 斑马网络技术有限公司 | Data package processing method, gateway, vehicle-mounted action hot spot and proxy server |
CN110086938A (en) * | 2019-04-29 | 2019-08-02 | 百度在线网络技术(北京)有限公司 | Throw control method, system, electronic equipment and the computer-readable medium of screen display |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111836320A (en) * | 2020-07-23 | 2020-10-27 | 闻泰通讯股份有限公司 | Control method and device for switching Sim cards, mobile terminal and storage medium |
CN111836320B (en) * | 2020-07-23 | 2023-08-18 | 闻泰通讯股份有限公司 | Sim card switching control method and device, mobile terminal and storage medium |
CN112087727A (en) * | 2020-08-11 | 2020-12-15 | 南京酷沃智行科技有限公司 | System and method for controlling traffic of Internet of vehicles by virtual operator, MNO application terminal and automobile |
CN112291744A (en) * | 2020-10-23 | 2021-01-29 | 广州小鹏汽车科技有限公司 | Vehicle-mounted program network connection method and device |
CN112291744B (en) * | 2020-10-23 | 2023-09-15 | 广州小鹏汽车科技有限公司 | Vehicle-mounted program network connection method and device |
CN112653735A (en) * | 2020-12-11 | 2021-04-13 | 广州橙行智动汽车科技有限公司 | Vehicle-mounted application data transmission method and device and vehicle |
CN114257568A (en) * | 2021-12-09 | 2022-03-29 | 深圳市广和通无线股份有限公司 | Data transmission method and related equipment |
WO2023103367A1 (en) * | 2021-12-09 | 2023-06-15 | 深圳市广和通无线股份有限公司 | Data transmission method and related device |
WO2023185130A1 (en) * | 2022-03-29 | 2023-10-05 | 西安广和通无线软件有限公司 | Data forwarding apparatus and method, electronic device, and storage medium |
CN116069284A (en) * | 2023-02-27 | 2023-05-05 | 南京芯驰半导体科技有限公司 | Screen projection method, hardware system and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110830481A (en) | Vehicle-mounted equipment internet surfing method and device, server and storage medium | |
CN106789153B (en) | Multi-channel self-adaptive log recording and outputting method and system for terminal equipment of Internet of things system | |
EP3742785B1 (en) | Session management method and device | |
CN107636722B (en) | Management method and management server for utilizing multiple SIM cards | |
US9965302B2 (en) | Systems and methods for providing an emulator | |
WO2019010734A1 (en) | Method and system for guiding service application traffic | |
US20180337922A1 (en) | Method and device for controlling smart device, server and storage medium | |
US20180199007A1 (en) | Control method, system, and apparatus for conference terminal rights, and storage medium | |
CN106790734B (en) | Network address allocation method and device | |
CN111597024B (en) | Cross-domain cluster processing method and device, electronic equipment and storage medium | |
CN111343262A (en) | Distributed cluster login method, device, equipment and storage medium | |
CN112235371A (en) | System and method for mounting network disk on cloud desktop based on distributed storage | |
CN101022425B (en) | ISCSI-based storage resource distributing method | |
CN108696864B (en) | Virtual number request and transmission method, device and storage medium | |
CN111475230B (en) | Application function configuration method and device and electronic equipment | |
CN110868762B (en) | Data stream processing method, device and system | |
US7508786B2 (en) | Mobile communication system and method for exchanging data between mobile communication terminals using packet data communication | |
CN111163457B (en) | Processing method, device and storage medium for access terminal | |
CN113986995A (en) | Request distribution method and device, storage medium and electronic equipment | |
JP4427101B2 (en) | System and method for managing resources in a terminal connected to a communication network | |
CN114500395B (en) | Flow control method, device and equipment | |
CN115065719B (en) | Equipment interactive access method and device, electronic equipment and readable storage medium | |
CN116405567A (en) | User resource management method, system, equipment and storage medium | |
CN111405075B (en) | Network address allocation method, device and storage medium | |
CN114640999A (en) | Network access method, device, system, storage medium and electronic equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200221 |