CN113411203A - Terminal configuration method and device, computer equipment and storage medium - Google Patents

Terminal configuration method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN113411203A
CN113411203A CN202110527340.XA CN202110527340A CN113411203A CN 113411203 A CN113411203 A CN 113411203A CN 202110527340 A CN202110527340 A CN 202110527340A CN 113411203 A CN113411203 A CN 113411203A
Authority
CN
China
Prior art keywords
configuration file
configuration
terminal
interface
wide area
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.)
Granted
Application number
CN202110527340.XA
Other languages
Chinese (zh)
Other versions
CN113411203B (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.)
Fibocom Wireless Inc
Original Assignee
Fibocom Wireless Inc
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 Fibocom Wireless Inc filed Critical Fibocom Wireless Inc
Priority to CN202110527340.XA priority Critical patent/CN113411203B/en
Publication of CN113411203A publication Critical patent/CN113411203A/en
Application granted granted Critical
Publication of CN113411203B publication Critical patent/CN113411203B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/18Service support devices; Network management devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application relates to a configuration method and device of a terminal, computer equipment and a storage medium. The method comprises the following steps: acquiring a configuration file of a terminal, wherein the configuration file comprises at least one of a wireless wide area network module configuration file, a system configuration file and a user requirement configuration file; reading fields of the configuration files, and determining the configuration interfaces corresponding to the configuration files based on the corresponding relationship between the fields and the configuration interfaces which are stored in advance; and configuring the terminal according to the configuration interface. By adopting the method of the embodiment of the application, the individualized configuration of the android system and the wireless wide area network module of the terminal can be realized according to different configuration requirements based on the configuration interface, so that the version redundancy is effectively reduced.

Description

Terminal configuration method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a configuration method and apparatus for a terminal, a computer device, and a storage medium.
Background
The terminal comprises a plurality of modules and can realize various functions. Taking the wireless wide area network module as an example, the wireless wide area network module can realize network communication and support various network types, such as a 3G, 4G or 5G network. With the increasing number of functions that can be realized by the terminal, a terminal customization technology appears, and people can customize a system and each module of the terminal based on their own requirements, such as an interactive interface, a service type support, a manufacturer of a specified chipset, and the like.
At present, in operating system is the terminal of tall and erect system, wireless wide area network module is whole unified interface when realizing each item function, when people customize wireless wide area network module's function based on self demand, can lead to different configuration demands to correspond different module versions to lead to the version redundancy.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a configuration method, an apparatus, a computer device and a storage medium for a terminal capable of reducing version redundancy.
A method for configuring a terminal, the method comprising:
acquiring a configuration file of a terminal, wherein the configuration file comprises at least one of a wireless wide area network module configuration file, a system configuration file and a user requirement configuration file;
reading the field of the configuration file, and determining the configuration interface corresponding to the configuration file based on the corresponding relation between the pre-stored field and the configuration interface;
and configuring the terminal according to the configuration interface.
In one embodiment, after obtaining the configuration file of the terminal and before reading the field of the configuration file, the method includes:
acquiring the head information of the configuration file, and judging whether the configuration file is an encrypted configuration file or not based on the head information;
and when the configuration file is judged to be the encrypted configuration file, determining a corresponding decryption mode according to the header information, and decrypting the configuration file based on the decryption mode to obtain the decrypted configuration file.
In one embodiment, the reading the field of the configuration file includes:
reading fields of the configuration file based on the priority of the configuration file; the priority of the wireless wide area network module configuration file is greater than the priority of the system configuration file, and the priority of the system configuration file is greater than the priority of the user requirement configuration file.
In one embodiment, the correspondence between the pre-stored field and the configuration interface includes:
the corresponding relation between the function type of the wireless wide area network module and the interface serial number, the corresponding relation between the system port type and the port serial number, and the corresponding relation between the user requirement type and the requirement serial number.
In one embodiment, the configuring the terminal according to the configuration interface includes:
accessing a configuration interface corresponding to the wireless wide area network module configuration file, and configuring the wireless wide area network module of the terminal through the configuration interface; the function configuration content in the wireless wide area network module configuration file comprises the following steps: setting at least one of a subscriber identity module card type, a network condition, a network data service, a network data call type, a network searching function, a link port activation, a network private or public, a network activation, and a driver binding.
In one embodiment, the configuring the terminal according to the interface to be configured includes:
accessing a configuration interface corresponding to the system configuration file, and configuring the system of the terminal through the configuration interface; the system is an android system, and the system configuration file is a configuration file of a wireless interface layer in the android system; the system configuration content of the system configuration file comprises: setting at least one of a system port, a trace port, an instruction port, an available network port, and an interface attribute.
In one embodiment, the configuring the terminal according to the interface to be configured includes:
accessing a configuration interface corresponding to the user requirement configuration file, and configuring the terminal through the configuration interface; the user configuration content in the user requirement configuration file comprises: setting at least one of a plug-in mode of a subscriber identity module card of the terminal, a platform version of the terminal, a remote management tool type of the terminal, and a communication instruction of the terminal.
An apparatus for configuring a terminal, the apparatus comprising:
the configuration file acquisition module is used for acquiring a configuration file of the terminal, wherein the configuration file comprises at least one of a wireless wide area network module configuration file, a system configuration file and a user requirement configuration file;
the configuration interface determining module is used for reading the field of the configuration file and determining the configuration interface corresponding to the configuration file based on the corresponding relation between the pre-stored field and the configuration interface;
and the configuration module is used for configuring the terminal according to the configuration interface.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the method described above when executing the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method.
According to the configuration method, the configuration device, the computer equipment and the storage medium of the terminal, the configuration file of the terminal is obtained, wherein the configuration file comprises at least one of a wireless wide area network module configuration file, a system configuration file and a user requirement configuration file; reading fields of the configuration files, and determining the configuration interfaces corresponding to the configuration files based on the corresponding relationship between the fields and the configuration interfaces which are stored in advance; and configuring the terminal according to the configuration interface. By adopting the method of the embodiment of the application, the individualized configuration of the android system and the wireless wide area network module of the terminal can be realized according to different configuration requirements based on the configuration interface, so that the version redundancy is effectively reduced.
Drawings
FIG. 1 is a diagram of an application environment of a configuration method of a terminal in one embodiment;
fig. 2 is a flowchart illustrating a configuration method of a terminal according to an embodiment;
fig. 3 is a diagram illustrating a configuration method of a terminal in an embodiment;
FIG. 4 is a block diagram of an apparatus for configuring a terminal in one embodiment;
FIG. 5 is a diagram illustrating an internal structure of a computer device according to an embodiment;
fig. 6 is an internal structural view of a computer device in another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In one embodiment, the configuration method of the terminal provided by the present application can be applied to an application environment as shown in fig. 1. The application environment may involve both the terminal 102 and the server 104, and the terminal 102 may communicate with the server 104 via a network or other communication means. The wireless wide area network module is an internal module of the terminal 102. Specifically, the server 104 obtains a configuration file of the terminal 102, where the configuration file includes at least one of a wireless wide area network module configuration file, a system configuration file, and a user requirement configuration file; reading fields of the configuration files, and determining the configuration interfaces corresponding to the configuration files based on the corresponding relationship between the fields and the configuration interfaces which are stored in advance; the terminal 102 is configured according to the configuration interface.
In one embodiment, the application environment of the configuration method of the terminal provided by the present application may only relate to the terminal 102. The wireless wide area network module is an internal module of the terminal 102. Specifically, the terminal 102 directly obtains a configuration file for the terminal 102, where the configuration file includes at least one of a wireless wide area network module configuration file, a system configuration file, and a user requirement configuration file; reading fields of the configuration files, and determining the configuration interfaces corresponding to the configuration files based on the corresponding relationship between the fields and the configuration interfaces which are stored in advance; the terminal 102 is configured according to the configuration interface.
The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers.
In one embodiment, as shown in fig. 2, a configuration method of a terminal is provided, which is described by taking the method as an example applied to the terminal 102 and/or the server 104 in fig. 1, and includes the following steps:
step S202, a configuration file of the terminal is obtained, wherein the configuration file comprises at least one of a wireless wide area network module configuration file, a system configuration file and a user requirement configuration file.
The Wireless Wide Area Network (WWAN) is a communication method that connects local Area networks with very dispersed physical distances by using a Wireless Network. The wireless wide area network module is an entity module for implementing the wireless network function, and may be an internal module of the terminal.
In one embodiment, the configuration file is a computer file, and can configure parameters and initial settings for a computer program, thereby realizing personalized configuration of different objects in the terminal. In the scenario of the embodiment of the present application, personalized configuration is mainly performed for a wireless wide area network module in a terminal and an operating system of the terminal. The configuration files are mainly text files, and the file extension names mainly comprise cnf, conf, cfg, cg, ini and the like.
In one embodiment, the terminal may implement network communication based on a wireless wide area network module, and a system in the terminal is an Android (Android) system. The Android is a Linux kernel-based free and open source code operating system, and is mainly used for mobile terminals, such as smart phones and tablet computers.
In one embodiment, the configuration file of the terminal mainly comprises a wireless wide area network module configuration file, a system configuration file and a user requirement configuration file. The wireless wide area network module configuration file is mainly used for configuring functions of the wireless wide area network module, the system configuration file is mainly used for configuring a wireless interface layer of an android system, and the user requirement configuration file is mainly used for configuring other functions of the terminal. Wherein, a Radio Interface Layer (RIL) is a control Interface for providing a mobile communication core and wireless communication in the android system. Specifically, at the time of acquiring the configuration file of the terminal, at least one of a wireless wide area network module configuration file, a system configuration file, and a user requirement configuration file may be acquired.
Step S204, reading the field of the configuration file, and determining the configuration interface corresponding to the configuration file based on the corresponding relationship between the pre-stored field and the configuration interface.
In one embodiment, when the terminal is configured, the fields of the configuration file are read based on the priority of the configuration file. The priority of the wireless wide area network module configuration file is greater than that of the system configuration file, and the priority of the system configuration file is greater than that of the user requirement configuration file. Specifically, when a wireless wide area network module configuration file, a system configuration file and a user requirement configuration file are acquired simultaneously, the wireless wide area network module is configured based on the wireless wide area network module configuration file, then a wireless interface layer of an android system of the terminal is configured based on the system configuration file, and finally other functions of the terminal are configured based on the user requirement file.
In one embodiment, the corresponding relationship between the field and the configuration interface is pre-stored in the terminal, and the stored corresponding relationship comprises at least one. The corresponding relationship specifically includes the corresponding relationship between the function type of the wireless wide area network module and the interface serial number, the corresponding relationship between the system port type and the port serial number, and the corresponding relationship between the user demand type and the demand serial number. The correspondence relationship is stored in a predetermined designated path.
In one embodiment, a pre-stored corresponding relationship between the function type of the wireless wide area network module and the interface serial number is represented as I811-eb, a pre-stored corresponding relationship between the system port type and the port serial number is represented as modem profile, and a pre-stored corresponding relationship between the user requirement type and the requirement serial number is named as user profile. The corresponding relations comprise two columns, one column is a type and is expressed in English, and the other column is a corresponding interface serial number and is expressed in number.
Specifically, after the fields of the configuration file are read, the configuration interfaces corresponding to the fields are determined based on the pre-stored correspondence, so that the relevant configuration can be performed according to the configuration interfaces.
And step S206, configuring the terminal according to the configuration interface.
Specifically, the terminal is configured according to a configuration interface corresponding to the configuration file.
In one embodiment, a configuration interface corresponding to the configuration file of the wireless wide area network module is accessed, and the wireless wide area network module of the terminal is configured through the configuration interface. Specifically, the function configuration content in the wireless wide area network module configuration file includes: setting at least one of a Subscriber Identity Module (SIM) type, a network type, a cell info, a network data service (tap), a network data call type, a network search function (cops), a link port activation (zgact), a network private (gtrat) or public (xact), a network (cgact), and a binding driver (gtrndis). In some further embodiments, the functional configuration content further comprises: setting a signal type (signal) and setting a user recognition application development tool (stk).
In one embodiment, a configuration interface corresponding to the system configuration file is accessed, and the system of the terminal is configured through the configuration interface. The system configuration file is a configuration file of a wireless interface layer in the android system. Specifically, the system configuration content of the system configuration file includes: setting AT least one of a system port (modem port), a trace port (trace port), an instruction port (AT port), an available network port (Ethernet port), and an interface attribute (index). In some further embodiments, the system configuration content further comprises: determining a supplier ID and a product identification code (vid pid), setting a type instruction (m type) of a system port, setting a type instruction (t type) of a trace port, setting a type instruction (AT type) of an instruction port, setting a type instruction (e type) of an available portal, and setting a master number (major).
In one embodiment, a configuration interface corresponding to a user requirement configuration file is accessed, and the terminal is configured through the configuration interface. Specifically, the user configuration content in the user requirement configuration file includes: setting AT least one of a plug-in mode (SIM hotplog) of a subscriber identity card of the terminal, setting a platform version (pdp cid) of the terminal, setting a remote management tool type (preferrat) of the terminal, and setting a communication command (cut in AT) of the terminal.
In the configuration method of the terminal, the configuration file of the terminal is obtained, wherein the configuration file comprises at least one of a wireless wide area network module configuration file, a system configuration file and a user requirement configuration file; reading fields of the configuration files, and determining the configuration interfaces corresponding to the configuration files based on the corresponding relationship between the fields and the configuration interfaces which are stored in advance; and configuring the terminal according to the configuration interface. By adopting the method of the embodiment of the application, the individualized configuration of the android system and the wireless wide area network module of the terminal can be realized according to different configuration requirements based on the configuration interface, so that the version redundancy is effectively reduced.
In one embodiment, after step S202 and before step S204, steps S302 to S304 may be further included, wherein:
step S302, acquiring the head information of the configuration file, and judging whether the configuration file is the encrypted configuration file or not based on the head information.
The header information refers to a piece of task data in the configuration file, and is generally located at the beginning of the file. Specifically, header information of the configuration file is acquired, and whether the configuration file is an encrypted configuration file is judged based on the header information.
In one embodiment, different objects in the terminal can be configured individually according to the configuration requirements of the user. The configuration requirements of the user can be converted into fields based on a preset configuration file template, and the fields are filled into the configuration file template to generate a corresponding configuration file. After the configuration file is generated, the third party encrypts the configuration file to ensure that the content of the configuration file is not easily recognized or tampered. Specifically, the configuration file may be encrypted by using at least one encryption method such as a hash algorithm.
And step S304, when the configuration file is judged to be the encrypted configuration file, determining a corresponding decryption mode according to the header information, and decrypting the configuration file based on the decryption mode to obtain the decrypted configuration file.
Specifically, when the configuration file is judged to be the encrypted configuration file, a corresponding decryption mode is determined according to the header information, the configuration file is decrypted based on the decryption mode to obtain the decrypted configuration file, and then the field of the decrypted configuration file is read. When the configuration file is judged to be the unencrypted configuration file, the field of the configuration file can be directly read.
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Fig. 3 is a schematic diagram illustrating a configuration method of a terminal in a specific embodiment, where a system of the terminal is an android system, and the specific steps are as follows:
1. starting up the equipment and starting up a wireless interface layer; acquiring a wireless wide area network module configuration file, a wireless interface layer configuration file and a user requirement configuration file;
2. reading a field of the wireless wide area network module configuration file, and determining a configuration interface corresponding to the wireless wide area network module configuration file based on a pre-stored corresponding relation between the function type of the wireless wide area network module and an interface serial number; and accessing a configuration interface corresponding to the configuration file of the wireless wide area network module, and configuring the wireless wide area network module of the terminal through the configuration interface. Specifically, the wireless wide area network module configuration file is as follows:
signal=1
SIM type=1
network type=2
cell info=1
setup data call=2
deactive data call=2
stk=3
cops=610000
zgact=60000
gtrat=410000
xact=410000
cgact=610000
gtrndis=60000
3. after the configuration of the wireless wide area network module is finished, reading a wireless interface layer configuration file, and determining a configuration interface corresponding to the system configuration file based on the pre-stored corresponding relationship between the system port type and the port serial number; and accessing a configuration interface corresponding to the system configuration file, and configuring the system of the terminal through the configuration interface. Specifically, the radio interface layer profile is as follows:
vid pid=usb:v1519p0443
modem port=0
m type=1
trace port=2
t type=1
AT port=4
AT type=1
ethernet port=1
e type=1
major=2
index=2
4. after the wireless interface layer configuration is finished, reading a user demand configuration file, and determining a configuration interface corresponding to the user demand configuration file based on a pre-stored corresponding relationship between a user demand type and a demand serial number; and accessing a configuration interface corresponding to the user requirement configuration file, and configuring the terminal through the configuration interface. Specifically, the user requirement profile is as follows:
SIM hotplug=1
pdp cid=1
prefer rat=0
cust in AT=ATi8
it should be understood that, although the steps in the flowchart of fig. 2 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 2 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
In one embodiment, as shown in fig. 4, there is provided a configuration apparatus of a terminal, including: a configuration file obtaining module 410, a configuration interface determining module 420 and a configuration module 430, wherein:
a configuration file obtaining module 410, configured to obtain a configuration file of the terminal, where the configuration file includes at least one of a wireless wide area network module configuration file, a system configuration file, and a user requirement configuration file.
A configuration interface determining module 420, configured to read a field of the configuration file, and determine a configuration interface corresponding to the configuration file based on a correspondence between a pre-stored field and the configuration interface.
A configuration module 430, configured to configure the terminal according to the configuration interface.
In one embodiment, the configuration device of the terminal further includes the following units:
and the head information acquisition unit is used for acquiring the head information of the configuration file and judging whether the configuration file is the encrypted configuration file or not based on the head information.
And the decryption unit is used for determining a corresponding decryption mode according to the header information when the configuration file is judged to be the encrypted configuration file, and decrypting the configuration file based on the decryption mode to obtain the decrypted configuration file.
In one embodiment, the configuration interface determining module 420 includes the following elements:
a priority determining unit, configured to read a field of the configuration file based on a priority of the configuration file; the priority of the wireless wide area network module configuration file is greater than the priority of the system configuration file, and the priority of the system configuration file is greater than the priority of the user requirement configuration file.
A corresponding relationship determining unit, configured to determine a corresponding relationship between the pre-stored field and a configuration interface, including: the corresponding relation between the function type of the wireless wide area network module and the interface serial number, the corresponding relation between the system port type and the port serial number, and the corresponding relation between the user requirement type and the requirement serial number.
In one embodiment, the configuration module 430 includes the following elements:
the wireless wide area network module configuration unit is used for accessing a configuration interface corresponding to the wireless wide area network module configuration file and configuring the wireless wide area network module of the terminal through the configuration interface; the function configuration content in the wireless wide area network module configuration file comprises the following steps: setting at least one of a subscriber identity module card type, a network condition, a network data service, a network data call type, a network searching function, a link port activation, a network private or public, a network activation, and a driver binding.
The system configuration unit is used for accessing a configuration interface corresponding to the system configuration file and configuring the system of the terminal through the configuration interface; the system is an android system, and the system configuration file is a configuration file of a wireless interface layer in the android system; the system configuration content of the system configuration file comprises: setting at least one of a system port, a trace port, an instruction port, an available network port, and an interface attribute.
The user requirement configuration unit is used for accessing a configuration interface corresponding to the user requirement configuration file and configuring the terminal through the configuration interface; the user configuration content in the user requirement configuration file comprises: setting at least one of a plug-in mode of a subscriber identity module card of the terminal, a platform version of the terminal, a remote management tool type of the terminal, and a communication instruction of the terminal.
For specific limitations of the configuration device of the terminal, reference may be made to the above limitations on the configuration method of the terminal, which are not described herein again. The respective modules in the configuration device of the terminal described above may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 5. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing configuration data of the terminal. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of configuring a terminal.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a method of configuring a terminal. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the configurations shown in fig. 5-6 are only block diagrams of some configurations relevant to the present disclosure, and do not constitute a limitation on the computing devices to which the present disclosure may be applied, and a particular computing device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
acquiring a configuration file of a terminal, wherein the configuration file comprises at least one of a wireless wide area network module configuration file, a system configuration file and a user requirement configuration file;
reading the field of the configuration file, and determining the configuration interface corresponding to the configuration file based on the corresponding relation between the pre-stored field and the configuration interface;
and configuring the terminal according to the configuration interface.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which when executed by a processor performs the steps of:
acquiring a configuration file of a terminal, wherein the configuration file comprises at least one of a wireless wide area network module configuration file, a system configuration file and a user requirement configuration file;
reading the field of the configuration file, and determining the configuration interface corresponding to the configuration file based on the corresponding relation between the pre-stored field and the configuration interface;
and configuring the terminal according to the configuration interface.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for configuring a terminal, the method comprising:
acquiring a configuration file of a terminal, wherein the configuration file comprises at least one of a wireless wide area network module configuration file, a system configuration file and a user requirement configuration file;
reading the field of the configuration file, and determining the configuration interface corresponding to the configuration file based on the corresponding relation between the pre-stored field and the configuration interface;
and configuring the terminal according to the configuration interface.
2. The method according to claim 1, wherein after the obtaining of the configuration file of the terminal and before the reading of the field of the configuration file, the method comprises:
acquiring the head information of the configuration file, and judging whether the configuration file is an encrypted configuration file or not based on the head information;
and when the configuration file is judged to be the encrypted configuration file, determining a corresponding decryption mode according to the header information, and decrypting the configuration file based on the decryption mode to obtain the decrypted configuration file.
3. The method of claim 1, wherein reading the field of the configuration file comprises:
reading fields of the configuration file based on the priority of the configuration file; the priority of the wireless wide area network module configuration file is greater than the priority of the system configuration file, and the priority of the system configuration file is greater than the priority of the user requirement configuration file.
4. The method according to claim 1, wherein the correspondence between the pre-stored fields and the configuration interface comprises:
the corresponding relation between the function type of the wireless wide area network module and the interface serial number, the corresponding relation between the system port type and the port serial number, and the corresponding relation between the user requirement type and the requirement serial number.
5. The method according to any of claims 1 to 4, wherein the configuring the terminal according to the configuration interface comprises:
accessing a configuration interface corresponding to the wireless wide area network module configuration file, and configuring the wireless wide area network module of the terminal through the configuration interface; the function configuration content in the wireless wide area network module configuration file comprises the following steps: setting at least one of a subscriber identity module card type, a network condition, a network data service, a network data call type, a network searching function, a link port activation, a network private or public, a network activation, and a driver binding.
6. The method according to any one of claims 1 to 4, wherein the configuring the terminal according to the interface to be configured comprises:
accessing a configuration interface corresponding to the system configuration file, and configuring the system of the terminal through the configuration interface; the system is an android system, and the system configuration file is a configuration file of a wireless interface layer in the android system; the system configuration content of the system configuration file comprises: setting at least one of a system port, a trace port, an instruction port, an available network port, and an interface attribute.
7. The method according to any one of claims 1 to 4, wherein the configuring the terminal according to the interface to be configured comprises:
accessing a configuration interface corresponding to the user requirement configuration file, and configuring the terminal through the configuration interface; the user configuration content in the user requirement configuration file comprises: setting at least one of a plug-in mode of a subscriber identity module card of the terminal, a platform version of the terminal, a remote management tool type of the terminal, and a communication instruction of the terminal.
8. An apparatus for configuring a terminal, the apparatus comprising:
the configuration file acquisition module is used for acquiring a configuration file of the terminal, wherein the configuration file comprises at least one of a wireless wide area network module configuration file, a system configuration file and a user requirement configuration file;
the configuration interface determining module is used for reading the field of the configuration file and determining the configuration interface corresponding to the configuration file based on the corresponding relation between the pre-stored field and the configuration interface;
and the configuration module is used for configuring the terminal according to the configuration interface.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202110527340.XA 2021-05-14 2021-05-14 Terminal configuration method and device, computer equipment and storage medium Active CN113411203B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110527340.XA CN113411203B (en) 2021-05-14 2021-05-14 Terminal configuration method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110527340.XA CN113411203B (en) 2021-05-14 2021-05-14 Terminal configuration method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113411203A true CN113411203A (en) 2021-09-17
CN113411203B CN113411203B (en) 2022-12-20

Family

ID=77678708

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110527340.XA Active CN113411203B (en) 2021-05-14 2021-05-14 Terminal configuration method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113411203B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114253890A (en) * 2021-11-16 2022-03-29 深圳市广和通无线通信软件有限公司 Communication module, external interface configuration method and device thereof, and storage medium
CN114896192A (en) * 2022-06-09 2022-08-12 苏州华兴源创科技股份有限公司 Interface matching method and device, computer equipment and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1601434A (en) * 2003-09-24 2005-03-30 联想(北京)有限公司 Automatic parameter setup method of radio net card
CN101188520A (en) * 2007-11-06 2008-05-28 北京航空航天大学 Integration tool for telecommunication area inheritance system based on configuration policy
US20090109871A1 (en) * 2007-10-31 2009-04-30 Alex Ho Configuration techniques for wireless communications devices
CN102123526A (en) * 2010-01-07 2011-07-13 华为技术有限公司 Method, system and device for configuring multi-port mobile node port
CN105515811A (en) * 2014-10-14 2016-04-20 中兴通讯股份有限公司 USB wireless network card configuration method, host, USB wireless network card and communication system
CN106330777A (en) * 2015-06-17 2017-01-11 中兴通讯股份有限公司 Distribution method and device for network resources of gateway side
CN107395423A (en) * 2017-07-28 2017-11-24 郑州云海信息技术有限公司 The method and apparatus for binding the network port and network card interface
CN110032400A (en) * 2018-01-09 2019-07-19 武汉斗鱼网络科技有限公司 A kind of method and electric terminal loading plug-in unit
CN110244977A (en) * 2019-05-21 2019-09-17 深圳壹账通智能科技有限公司 Customized software generation method, system, electronic equipment and storage medium
CN111077823A (en) * 2019-12-25 2020-04-28 中电科航空电子有限公司 Equipment control method and device, electronic equipment and readable storage medium
CN111818175A (en) * 2020-07-24 2020-10-23 南方电网数字电网研究院有限公司 Enterprise service bus configuration file generation method, device, equipment and storage medium
CN112559357A (en) * 2020-12-21 2021-03-26 广联达科技股份有限公司 Access method and device of third-party equipment, electronic equipment and readable storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1601434A (en) * 2003-09-24 2005-03-30 联想(北京)有限公司 Automatic parameter setup method of radio net card
US20090109871A1 (en) * 2007-10-31 2009-04-30 Alex Ho Configuration techniques for wireless communications devices
CN101188520A (en) * 2007-11-06 2008-05-28 北京航空航天大学 Integration tool for telecommunication area inheritance system based on configuration policy
CN102123526A (en) * 2010-01-07 2011-07-13 华为技术有限公司 Method, system and device for configuring multi-port mobile node port
CN105515811A (en) * 2014-10-14 2016-04-20 中兴通讯股份有限公司 USB wireless network card configuration method, host, USB wireless network card and communication system
CN106330777A (en) * 2015-06-17 2017-01-11 中兴通讯股份有限公司 Distribution method and device for network resources of gateway side
CN107395423A (en) * 2017-07-28 2017-11-24 郑州云海信息技术有限公司 The method and apparatus for binding the network port and network card interface
CN110032400A (en) * 2018-01-09 2019-07-19 武汉斗鱼网络科技有限公司 A kind of method and electric terminal loading plug-in unit
CN110244977A (en) * 2019-05-21 2019-09-17 深圳壹账通智能科技有限公司 Customized software generation method, system, electronic equipment and storage medium
CN111077823A (en) * 2019-12-25 2020-04-28 中电科航空电子有限公司 Equipment control method and device, electronic equipment and readable storage medium
CN111818175A (en) * 2020-07-24 2020-10-23 南方电网数字电网研究院有限公司 Enterprise service bus configuration file generation method, device, equipment and storage medium
CN112559357A (en) * 2020-12-21 2021-03-26 广联达科技股份有限公司 Access method and device of third-party equipment, electronic equipment and readable storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114253890A (en) * 2021-11-16 2022-03-29 深圳市广和通无线通信软件有限公司 Communication module, external interface configuration method and device thereof, and storage medium
WO2023087696A1 (en) * 2021-11-16 2023-05-25 深圳市广和通无线通信软件有限公司 Communication module and external interface configuration method and configuration apparatus therefor, and storage medium
CN114896192A (en) * 2022-06-09 2022-08-12 苏州华兴源创科技股份有限公司 Interface matching method and device, computer equipment and storage medium
CN114896192B (en) * 2022-06-09 2024-04-09 苏州华兴源创科技股份有限公司 Interface matching method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN113411203B (en) 2022-12-20

Similar Documents

Publication Publication Date Title
TWI537765B (en) On-board applet migration
CN113411203B (en) Terminal configuration method and device, computer equipment and storage medium
CN104766021A (en) Authority control system and method
CN107871062A (en) A kind of application permission control method, device and terminal
CN111586671B (en) Embedded user identification card configuration method and device, communication equipment and storage medium
CN110022558A (en) The encryption and decryption method and electronic device and storage medium of a kind of upgrade package
US10803373B2 (en) Information processing apparatus and information processing method
EP2727384B1 (en) Method for accessing at least one service and corresponding system
US8328104B2 (en) Storage device management systems and methods
CN110084035B (en) Electronic device and method for suggesting a response guide when a rejection occurs
CN109977039A (en) HD encryption method for storing cipher key, device, equipment and readable storage medium storing program for executing
CN109257426B (en) Service line resource loading method and device, computer equipment and storage medium
CN113508411A (en) Virtual electronic card management method and system, security chip, terminal and storage medium
CN109872148B (en) Trusted data processing method and device based on TUI and mobile terminal
CN112580095B (en) Data display method, device, computer equipment and storage medium
CN113360172B (en) Application deployment method, device, computer equipment and storage medium
CN104978502A (en) System and method for encrypting local file of intelligent terminal
CN115293873A (en) Page processing method and device for credit granting flow, computer equipment and storage medium
CN114448722A (en) Cross-browser login method and device, computer equipment and storage medium
CN111124932B (en) Scheme verification method, system, device, computer equipment and storage medium
CN112579236A (en) Function button display method and device, computer equipment and storage medium
CN112491799A (en) Remote repair method and device for communication module, computer equipment and storage medium
CN113408845B (en) Processing method and device of production flow, computer equipment and storage medium
CN108694340B (en) Method and device for writing data into smart card
CN103747315A (en) Television, and writing and reading methods and devices of property data thereof

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