CN109889351A - A kind of network communication control method and system for industrial personal computer - Google Patents

A kind of network communication control method and system for industrial personal computer Download PDF

Info

Publication number
CN109889351A
CN109889351A CN201711276482.3A CN201711276482A CN109889351A CN 109889351 A CN109889351 A CN 109889351A CN 201711276482 A CN201711276482 A CN 201711276482A CN 109889351 A CN109889351 A CN 109889351A
Authority
CN
China
Prior art keywords
communication module
information
communication
interface
personal computer
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
Application number
CN201711276482.3A
Other languages
Chinese (zh)
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.)
Shenzhen Prafly Technology Co Ltd
Original Assignee
Shenzhen Prafly Technology 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 Shenzhen Prafly Technology Co Ltd filed Critical Shenzhen Prafly Technology Co Ltd
Priority to CN201711276482.3A priority Critical patent/CN109889351A/en
Publication of CN109889351A publication Critical patent/CN109889351A/en
Pending legal-status Critical Current

Links

Abstract

A kind of network communication control method and system for industrial personal computer, method include: that the id information for the communication module for reading system software bottom in system starting detects communication module;After detecting successfully, list of devices is read in system software hardware abstraction layer, occurrence is obtained in list of devices according to the id information of communication module, according to the AT command interface information in occurrence, AT command interface is set, data communication interface is set according to the data communication interface information in occurrence, while being set Pro according to the communication module title in occurrence;When system prepares addition radio interface layer driving, corresponding radio interface layer is loaded according to communication module title and drives file;When system runs to system in application, reading environmental variance Pro, and system is arranged according to environmental variance Pro need to communication protocol to be used.The present invention solves the problems, such as the different maintenance releases of different operators network, improves the universal performance of industrial personal computer software, reduces maintenance cost.

Description

A kind of network communication control method and system for industrial personal computer
Technical field
The present invention relates to industrial personal computer field more particularly to a kind of network communication control method for industrial personal computer and it is System.
Background technique
In the practice of ARM industrial personal computer, due to the difference in area, the signal strength of different operators network is different, So needing to install the network communication module of different operators on industrial personal computer, software is caused to need to accomplish that multiple versions are tieed up Shield, when batch production, it is desirable that factory strictly manages and industrial personal computer software phase lock loop reduces.Such as some place telecommunications 3G letters Number strong, some mobile 3G signals of place connection are very strong, safeguarded so needing to install two versions on industrial personal computer, a telecommunications Version, the other is connection version (compatible mobile version).
Summary of the invention
The technical problem to be solved in the present invention is that needing the industrial personal computer to multiple versions soft for the above-mentioned of the prior art The defect that part is safeguarded provides a kind of network communication control method for industrial personal computer that can be compatible with different operators network And system.
The technical solution adopted by the present invention to solve the technical problems is: constructing a kind of network communication control for industrial personal computer Method processed, comprising:
The id information for being pre-set at the communication module of system software bottom is read in system starting, and according to reading Id information detects communication module;
After detecting successfully, pre-set communication module list of devices is read in system software hardware abstraction layer, according to logical The id information of letter module obtains occurrence in communication module list of devices, obtains out the AT of the existing middle communication module recorded of matching Command interface information, data communication interface information, communication module title;
AT command interface is set according to the AT command interface information got, according to the data communication interface information got Data communication interface is set, while being set Pro according to the communication module title got;
When system prepares addition radio interface layer driving, loaded according to the communication module title got corresponding Radio interface layer drives file;
When system runs to system in application, reading the environmental variance Pro, and it is arranged according to the environmental variance Pro System needs communication protocol to be used.
In the network communication control method of the present invention for industrial personal computer, method further include: start it in system Before, in the id information of system software bottom addition communication module, and in system software hardware abstraction layer, addition communication mould The facility information of block is with the determination communication module list of devices.
In the network communication control method of the present invention for industrial personal computer, the id information includes vendor id and production Product ID, the facility information include that the communication module title for adding model name with production company, AT command interface, data are logical Believe interface, vendor id and product IDs.
In the network communication control method of the present invention for industrial personal computer, the communication module is pcie 3G mould Block.
The present invention is also claimed a kind of network traffic control system for industrial personal computer, including processor and is stored with The memory of instruction:
In system starting, described instruction can be loaded and be executed by processor: reading is pre-set at system software bottom Communication module id information, and communication module is detected according to the id information of reading;After detecting successfully, in system software Hardware abstraction layer reads pre-set communication module list of devices, is arranged according to the id information of communication module in communication module equipment Occurrence is obtained in table, obtain out matching it is existing in record the AT command interface information of communication module, data communication interface information, Communication module title;AT command interface is set according to the AT command interface information got, is connect according to the data communication got Message breath setting data communication interface, while being set Pro according to the communication module title got;
When system prepares addition radio interface layer driving, described instruction can be loaded and be executed by processor: according to acquisition The communication module title arrived loads corresponding radio interface layer driving file;
When system runs to system in application, described instruction can be loaded and be executed by processor: reading the environmental variance Pro, and system is arranged according to the environmental variance Pro need to communication protocol to be used.
In the network traffic control system of the present invention for industrial personal computer, the system software bottom is opened in system The id information of communication module is added with before dynamic, system software hardware abstraction layer is before system starting added with communication mould The facility information of block is with the determination communication module list of devices.
In the network traffic control system of the present invention for industrial personal computer, the id information includes vendor id and production Product ID, the facility information include that the communication module title for adding model name with production company, AT command interface, data are logical Believe interface, vendor id and product IDs.
In the network traffic control system of the present invention for industrial personal computer, the communication module is pcie 3G mould Block.
Implement the network communication control method and system for industrial personal computer of the invention, has the advantages that this Invention solves the problems, such as the different maintenance releases of different operators network, judges automatically operation according to communication module in operation Quotient's network type simultaneously loads corresponding driving, largely improves the universal performance of industrial personal computer software in this way, reduce maintenance at This.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings:
Fig. 1 is the flow chart of preferred embodiment provided by the invention.
Specific embodiment
To facilitate the understanding of the present invention, a more comprehensive description of the invention is given in the following sections with reference to the relevant attached drawings.In attached drawing Give exemplary embodiments of the invention.But the invention can be realized in many different forms, however it is not limited to this paper institute The embodiment of description.On the contrary, purpose of providing these embodiments is make it is more thorough and comprehensive to the disclosure.
Unless otherwise defined, all technical and scientific terms used herein and belong to technical field of the invention The normally understood meaning of technical staff is identical.Term as used herein in the specification of the present invention is intended merely to description tool The purpose of the embodiment of body, it is not intended that in the limitation present invention.
The total thinking of the present invention is: constructing a kind of network communication control method for industrial personal computer, method includes:
The id information for being pre-set at the communication module of system software bottom is read in system starting, and according to reading Id information detects communication module;
After detecting successfully, pre-set communication module list of devices is read in system software hardware abstraction layer, according to logical The id information of letter module obtains occurrence in module device list, obtains out the AT order of the existing middle communication module recorded of matching Interface message, data communication interface information, communication module title;
AT command interface is set according to the AT command interface information got, according to the data communication interface information got Data communication interface, while the Pro that sets are set;
When system prepares addition radio interface layer driving, loaded according to the communication module title got corresponding Radio interface layer drives file;
When system runs to system in application, reading the environmental variance Pro, and it is arranged according to the environmental variance Pro System needs communication protocol to be used.
In order to better understand the above technical scheme, in conjunction with appended figures and specific embodiments to upper It states technical solution to be described in detail, it should be understood that the specific features in the embodiment of the present invention and embodiment are to the application The detailed description of technical solution, rather than the restriction to technical scheme, in the absence of conflict, the present invention are implemented Technical characteristic in example and embodiment can be combined with each other.
In preferred embodiment, a kind of network communication control method for industrial personal computer is provided, below with pcie3G module For, the present embodiment is described in detail.With reference to Fig. 1, the method for the present embodiment is specifically included that
S100, before system starting, in the id information of system software bottom addition pcie 3G module, and in system Hardware and software level of abstraction adds the facility information of pcie 3G module to determine the list of devices of pcie 3G module;
Wherein, the id information includes vendor id and product IDs;The facility information includes to produce company's adding type number life Name communication module title, AT command interface, data communication interface, vendor id and product IDs.
For example, following code addition facility information can use in a specific embodiment:
In above-mentioned code, each field meaning is as follows: .name indicates communication module title, to produce the combination of company's adding type number Name;.idVendor indicate that communication module company corresponds to ID number, i.e., the described vendor id;.idProduct communication module pair is indicated The product IDs answered;.deviceport the AT command interface information for carrying out AT instruction interaction is represented;.dataport it is logical that data are represented Believe interface message;.type communication module producer identification is represented.
S200, in system starting, system core layer reads the pcie 3G module for being pre-set at system software bottom Vendor id and product IDs, and pcie 3G module is detected according to the vendor id of reading and product IDs.It should be noted that If detection is unsuccessful, directly exit, ending method.
S300, after detecting successfully, pre-set list of devices is read in system software hardware abstraction layer, according to pcie The id information of 3G module obtains occurrence in list of devices, obtains out the AT order of the existing middle pcie 3G module recorded of matching Interface message, data communication interface information, communication module title;
S400, AT command interface is arranged according to the AT command interface information got, is connect according to the data communication got Message breath setting data communication interface, while Pro is set to mark according to the communication module title got Different operators, such as mark use 3GPP or 3GPP2 mobile communication technology specification;
S500, when system prepares addition radio interface layer driving, loaded according to the communication module title that gets Corresponding radio interface layer drives file;
S600, when system runs to system in application, read the environmental variance Pro, and according to the environmental variance Pro Setting system needs communication protocol to be used.
For example, if according to the setting value of the environmental variance Pro if it is determined that currently used is mobile or connection When 3G module, will 3GPP communication protocol be set, when if it is telecommunications 3G module, 3GPP2 communication protocol will be set.
Based on the same inventive concept, the invention also discloses a kind of network traffic control systems for industrial personal computer, including Processor and the memory for being stored with instruction,
In system starting, described instruction can be loaded and be executed by processor: reading is pre-set at system software bottom Communication module id information, and communication module is detected according to the id information of reading;After detecting successfully, in system software Hardware abstraction layer reads pre-set communication module list of devices, according to the id information of communication module in module device list Occurrence is obtained, AT command interface information, the data communication interface information, communication of the existing middle communication module recorded of matching are obtained out Module title;AT command interface is set according to the AT command interface information got, is believed according to the data communication interface got Breath setting data communication interface, while being set Pro according to the communication module title got;
Wherein, the id information includes vendor id and product IDs, and the facility information includes to produce company's adding type number life The communication module title, AT command interface, data communication interface, vendor id and the product IDs of name.
When system prepares addition radio interface layer driving, described instruction can be loaded and be executed by processor: according to acquisition The communication module title arrived loads corresponding radio interface layer driving file;
When system runs to system in application, described instruction can be loaded and be executed by processor: reading the environmental variance Pro, and system is arranged according to the environmental variance Pro need to communication protocol to be used.
It should be noted that system software bottom ID added with communication module before system starting believes Breath, system software hardware abstraction layer are added with the facility information of communication module before system starting with the determination communication module List of devices.
Wherein, the communication module is pcie 3G module.
In conclusion implementing the network communication control method and system for industrial personal computer of the invention, have with following Beneficial effect: the present invention solves the problems, such as the different maintenance releases of different operators network, in operation certainly according to communication module It is dynamic to judge carrier network type and load corresponding driving, the universal performance of industrial personal computer software is largely improved in this way, Reduce maintenance cost.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read Only Memory, ROM) or random access memory (Random ABBessMemory, RAM) etc..
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product can be used and implement in the computer-usable storage medium that one or more includes wherein computer usable program code Computer program product form.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (8)

1. a kind of network communication control method for industrial personal computer characterized by comprising
The id information for being pre-set at the communication module of system software bottom is read in system starting, and is believed according to the ID of reading Breath detects communication module;
After detecting successfully, pre-set communication module list of devices is read in system software hardware abstraction layer, according to communication mould The id information of block obtains occurrence in communication module list of devices, obtains out the AT order of the existing middle communication module recorded of matching Interface message, data communication interface information, communication module title;
AT command interface is set according to the AT command interface information got, is arranged according to the data communication interface information got Data communication interface, while being set Pro according to the communication module title got;
It is corresponding wireless according to the communication module title load got when system prepares addition radio interface layer driving Interface layer drives file;
When system runs to system in application, reading the environmental variance Pro, and system is arranged according to the environmental variance Pro Need communication protocol to be used.
2. the network communication control method according to claim 1 for industrial personal computer, which is characterized in that method further include: Before system starting, in the id information of system software bottom addition communication module, and in system software hardware abstraction Layer, adds the facility information of communication module with the determination communication module list of devices.
3. the network communication control method according to claim 2 for industrial personal computer, which is characterized in that the id information packet Vendor id and product IDs are included, the facility information includes the communication module title for adding model name with production company, AT life Enable interface, data communication interface, vendor id and product IDs.
4. the network communication control method according to claim 1 for industrial personal computer, which is characterized in that the communication module For pcie 3G module.
5. a kind of network traffic control system for industrial personal computer, which is characterized in that including processor and be stored with instruction Memory:
In system starting, described instruction can be loaded and be executed by processor: being read and be pre-set at the logical of system software bottom Believe the id information of module, and communication module is detected according to the id information of reading;After detecting successfully, in system software hardware Level of abstraction reads pre-set communication module list of devices, according to the id information of communication module in communication module list of devices Occurrence is obtained, AT command interface information, the data communication interface information, communication of the existing middle communication module recorded of matching are obtained out Module title;AT command interface is set according to the AT command interface information got, is believed according to the data communication interface got Breath setting data communication interface, while being set Pro according to the communication module title got;
When system prepares addition radio interface layer driving, described instruction can be loaded and be executed by processor: according to what is got The communication module title loads corresponding radio interface layer and drives file;
When system runs to system in application, described instruction can be loaded and be executed by processor: the environmental variance Pro is read, And communication protocol to be used is needed according to environmental variance Pro setting system.
6. the network traffic control system according to claim 5 for industrial personal computer, which is characterized in that the system software Bottom is added with the id information of communication module before system starting, and system software hardware abstraction layer is before system starting Facility information added with communication module is with the determination communication module list of devices.
7. the network traffic control system according to claim 6 for industrial personal computer, which is characterized in that the id information packet Vendor id and product IDs are included, the facility information includes the communication module title for adding model name with production company, AT life Enable interface, data communication interface, vendor id and product IDs.
8. the network traffic control system according to claim 5 for industrial personal computer, which is characterized in that the communication module For pcie 3G module.
CN201711276482.3A 2017-12-06 2017-12-06 A kind of network communication control method and system for industrial personal computer Pending CN109889351A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711276482.3A CN109889351A (en) 2017-12-06 2017-12-06 A kind of network communication control method and system for industrial personal computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711276482.3A CN109889351A (en) 2017-12-06 2017-12-06 A kind of network communication control method and system for industrial personal computer

Publications (1)

Publication Number Publication Date
CN109889351A true CN109889351A (en) 2019-06-14

Family

ID=66923817

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711276482.3A Pending CN109889351A (en) 2017-12-06 2017-12-06 A kind of network communication control method and system for industrial personal computer

Country Status (1)

Country Link
CN (1) CN109889351A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110224906A (en) * 2019-06-28 2019-09-10 深圳市友华软件科技有限公司 The network uplink switching method and apparatus of intelligent gateway device
CN110460473A (en) * 2019-08-16 2019-11-15 珠海格力电器股份有限公司 Communication configuration method, device and the computer readable storage medium of configuration software

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100137035A1 (en) * 2008-12-01 2010-06-03 Lenovo (Beijing) Limited Operation mode switching method for communication system, mobile terminal and display switching method therefor
CN102404870A (en) * 2011-11-14 2012-04-04 青岛海信移动通信技术股份有限公司 Mobile terminal and communication control method of mobile terminal
CN106529332A (en) * 2016-10-25 2017-03-22 广东欧珀移动通信有限公司 Permission control method and apparatus for mobile terminal, and mobile terminal
CN106656632A (en) * 2017-02-03 2017-05-10 上海中信信息发展股份有限公司 Machine room monitoring system fusing Ethernet protocol with Internet of Things protocol, and information processing and control method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100137035A1 (en) * 2008-12-01 2010-06-03 Lenovo (Beijing) Limited Operation mode switching method for communication system, mobile terminal and display switching method therefor
CN102404870A (en) * 2011-11-14 2012-04-04 青岛海信移动通信技术股份有限公司 Mobile terminal and communication control method of mobile terminal
CN106529332A (en) * 2016-10-25 2017-03-22 广东欧珀移动通信有限公司 Permission control method and apparatus for mobile terminal, and mobile terminal
CN106656632A (en) * 2017-02-03 2017-05-10 上海中信信息发展股份有限公司 Machine room monitoring system fusing Ethernet protocol with Internet of Things protocol, and information processing and control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110224906A (en) * 2019-06-28 2019-09-10 深圳市友华软件科技有限公司 The network uplink switching method and apparatus of intelligent gateway device
CN110460473A (en) * 2019-08-16 2019-11-15 珠海格力电器股份有限公司 Communication configuration method, device and the computer readable storage medium of configuration software

Similar Documents

Publication Publication Date Title
EP1944997B1 (en) Method and Apparatus for Connecting Emergency Call in Portable Terminal
CN101657828A (en) Wireless access control system and method
MXPA04007228A (en) System and method for updating dataset versions resident on a wireless device.
CN106296861A (en) Night watching recording method, device and system
CN109889351A (en) A kind of network communication control method and system for industrial personal computer
KR101911755B1 (en) Method and system of communicating personal health data in a near field communication environment
US20080003982A1 (en) Information processing apparatus and method of controlling the same
CN103533670A (en) Method and device for connecting wireless network equipment, and wireless network system
CN107426800A (en) Reduce the method, apparatus and smart card of power consumption of terminal
CN105791560A (en) Data network access control method and user terminal
CN107145383B (en) Dual-system process management method and dual-system terminal
EP1303945A1 (en) Barcode identification of wireless terminals
CN103729205B (en) A kind of upgrade method of electronic tag and electronic tag
CN103905586B (en) A kind of information processing method and electronic equipment
CN103677512A (en) Mobile electronic device, and operation control method
CN104780206A (en) Data sharing method and device
CN103731809A (en) Data transmitting method, data receiving method and equipment
CN105988943B (en) A kind of method and device driving wireless adapter
US7804401B2 (en) Apparatus and method for recognizing surrounding state
CN108803867A (en) A kind of information processing method and device
CN107306397A (en) Terminal device method of network entry and device based on wireless communication technology
CN105392130B (en) Network communicating function abnormal processing method, application processor and user terminal
CN102523277B (en) A kind of method and system of terminal platform edition upgrading
CN109525698A (en) A kind of SIM card identification configuration method, storage medium and mobile phone
EP3057039B1 (en) Information processing device, information processing method, and information processing system

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
AD01 Patent right deemed abandoned

Effective date of abandoning: 20230324

AD01 Patent right deemed abandoned