CN109413714A - Processing method, device, storage medium and the terminal of user agent's information - Google Patents
Processing method, device, storage medium and the terminal of user agent's information Download PDFInfo
- Publication number
- CN109413714A CN109413714A CN201811190790.9A CN201811190790A CN109413714A CN 109413714 A CN109413714 A CN 109413714A CN 201811190790 A CN201811190790 A CN 201811190790A CN 109413714 A CN109413714 A CN 109413714A
- Authority
- CN
- China
- Prior art keywords
- information
- user agent
- parameter information
- parameter
- model
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the present application discloses processing method, device, storage medium and the terminal of a kind of user agent's information, this method comprises: obtaining at least one parameter information of user agent's information first, generates user agent's information model according to parameter information.Then, when detecting default enabled instruction, at least one parameter information is filled up in user agent's information model, obtains destination user agent information, user agent's information model includes terminal manufacturer item of information and at least one is used to fill in the default item of parameter information.Finally, destination user agent information is sent to network side, enable the terminal to improve the formation efficiency of user agent's information according to template Auto-writing user agent's information.
Description
Technical field
The invention relates to the processing method of technical field of mobile terminals more particularly to user agent's information, device,
Storage medium and terminal.
Background technique
With the continuous development of mobile terminal, terminal passes through subscriber identification card (Subscriber
Identification Module Card, SIM card) terminal can be made to be linked into carrier network.In access procedure, eventually
End needs to send user agent's information (UserAgent) to carrier network side, so that carrier network lateral root is according to user agent
The access and data statistics of information progress terminal.
User agent's information in terminal is fixed at present, when that variation occurs for the information such as system version, is needed
It is manually modified, time-consuming and laborious, the formation efficiency of user agent's information is low.
Summary of the invention
The purpose of the embodiment of the present application is to provide processing method, device, storage medium and the end of a kind of user agent's information
End, can be improved the formation efficiency of user agent's information.
In a first aspect, the embodiment of the present application provides a kind of processing method of user agent's information, comprising:
At least one parameter information for obtaining user agent's information generates user agent's information mould according to the parameter information
Plate;
When detecting default enabled instruction, at least one described parameter information is filled up to user agent's information model
In, destination user agent information is obtained, user agent's information model includes terminal manufacturer item of information and at least one use
In the default item for filling in parameter information;
The destination user agent information is sent to network side.
Second aspect, the embodiment of the present application provide a kind of processing unit of user agent's information, comprising:
Module is obtained, for obtaining at least one parameter information of user agent's information, is generated according to the parameter information
User agent's information model;
Fill in module, for when detecting default enabled instruction, by the acquisition module obtain described at least one
Parameter information is filled up in user agent's information model, obtains destination user agent information, user agent's information model packet
It includes terminal manufacturer item of information and at least one is used to fill in the default item of parameter information;
Sending module, for the destination user agent information for filling in module writes to be sent to network side.
The third aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey
Sequence realizes the processing method of user agent's information as shown in first aspect when the program is executed by processor.
Fourth aspect, the embodiment of the present application provide a kind of terminal, including memory, and processor and storage are on a memory
And the computer program that can be run in processor, the processor are realized as shown in first aspect when executing the computer program
User agent's information processing method.
The processing scheme of the user agent's information provided in the embodiment of the present application, first acquisition user agent's information are at least
One parameter information generates user agent's information model according to parameter information.It then, will when detecting default enabled instruction
At least one parameter information is filled up in user agent's information model, obtains destination user agent information, user agent's information mould
Plate includes terminal manufacturer item of information and at least one is used to fill in the default item of parameter information.Finally, by destination user agent
Information is sent to network side, enables the terminal to improve user agent's information according to template Auto-writing user agent's information
Formation efficiency.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of the processing method of user agent's information provided by the embodiments of the present application.
Fig. 2 is the flow diagram of the processing method of another user agent's information provided by the embodiments of the present application.
Fig. 3 is the flow diagram of the processing method of another user agent's information provided by the embodiments of the present application.
Fig. 4 is the flow diagram of the processing method of another user agent's information provided by the embodiments of the present application.
Fig. 5 is the flow diagram of the processing method of another user agent's information provided by the embodiments of the present application.
Fig. 6 is the flow diagram of the processing method of another user agent's information provided by the embodiments of the present application.
Fig. 7 is a kind of structural schematic diagram of the processing unit of user agent's information provided by the embodiments of the present application.
Fig. 8 is a kind of structural schematic diagram of mobile terminal provided by the embodiments of the present application.
Specific embodiment
Further illustrate the technical solution of the application below with reference to the accompanying drawings and specific embodiments.It is understood that
It is that specific embodiment described herein is used only for explaining the application, rather than the restriction to the application.It further needs exist for illustrating
, part relevant to the application is illustrated only for ease of description, in attached drawing rather than entire infrastructure.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail
The processing or method described as flow chart.Although each step is described as the processing of sequence by flow chart, many of these
Step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of each step can be rearranged.When its operation
Processing can be terminated when completion, it is also possible to have the additional step being not included in attached drawing.Handle the side of can correspond to
Method, function, regulation, subroutine, subprogram etc..
With the continuous development of mobile terminal, terminal can be such that terminal is linked into carrier network by SIM card.It is connecing
During entering, terminal needs to send user agent's information (UserAgent) to carrier network side, so as to carrier network lateral root
The access and data statistics of terminal are carried out according to user agent's information.User agent's information in terminal is fixed at present, when
When that variation occurs for the information such as system version, the user agent's information stored in terminal be it is fixed, according to the upgrading of system
It is changed.Since call format of the different operators to user agent's information is different, and only retain a kind of operator in terminal
User agent's information, therefore when user replace operator when terminal can not flexibly be adapted to different operators, lead to user not
It obtains and does not modify to user agent's information manually, time-consuming and laborious, the formation efficiency of user agent's information is low.
The embodiment of the present application provides a kind of processing method of user agent's information, obtains user agent's packet by terminal
The parameter information contained, when needing to send user agent's information to network side, the parameter information filling user agent that will acquire believes
It ceases in template, then sends the user agent's information filled in.User agent's information can be updated according to the SOT state of termination, furthermore
Respectively different operators configures corresponding user agent's information model, what realization can be current according to operator and terminal
System version is intelligentized to fill in user agent's information, is not necessarily to user manual amendment user agent's information, improves user agent's letter
The formation efficiency of breath.Concrete scheme is as follows:
Fig. 1 is the flow diagram of the processing method of user agent's information provided by the embodiments of the present application, and this method is used for
The case where terminal sends user agent's information to network side, this method can be executed by mobile terminal, which can be with
For smart phone, tablet computer, wearable device etc., this method specifically comprises the following steps:
Step 110, at least one parameter information for obtaining user agent's information generate user agent's letter according to parameter information
Cease template.
Required parameter information in user agent's information, parameter information can be fixed information, as system version with
And version date etc..Usual operator is identical needed for the parameter information for user agent's information, the difference is that each parameter information
Position in user agent's information.According to the operation demand of operator, needed for parameter information may be adjusted, example
If the parameter information of period A is parameter a, parameter b and parameter c;The parameter information of period B is parameter a and parameter c.
User agent's information model can be updated according to the demand of the operator of SIM card.User agent's information model
In can fill in initial value, can also corresponding position be arranged vacancy.User agent's information model includes wherein each field
Corresponding data can be inserted user agent's information according to this definition when filling in so as to subsequent by the definition of corresponding parameter information
In template.User agent's information model is stored in non-volatile memory medium, and in the case where no update, terminal can be straight
The user agent's information model for reading storage is connect, without being performed both by step 110 before executing step 120 every time.
Step 120, when detecting default enabled instruction, at least one parameter information is filled up to user agent's information mould
In plate, destination user agent information is obtained.
Wherein, user agent's information model includes terminal manufacturer item of information and at least one is used to fill in parameter information
Default item.
Default enabled instruction can be the instruction of starting SIM card.When terminal is switched on or switches to normal mode from offline mode
The operation of the starting SIM card access network such as formula can trigger default enabled instruction.
Illustratively, when detecting booting, at least one parameter information is filled up in user agent's information model, is obtained
To destination user agent information.
After user executes power-on operation, starting SIM card access reads user agent's information model and will at least one at this time
A parameter information is filled up in user agent's information model, obtains destination user agent information.
Destination user agent information is sent to network side by step 130.
By carrier network by destination user agent information
The processing method of user agent's information provided by the embodiments of the present application obtains at least the one of user agent's information first
A parameter information generates user agent's information model according to parameter information.Then, near when detecting default enabled instruction
A few parameter information is filled up in user agent's information model, obtains destination user agent information, user agent's information model
It is used to fill in the default item of parameter information at least one including terminal manufacturer item of information.Finally, destination user agent is believed
Breath is sent to network side, and relative to manual amendment's user agent's information is needed, the embodiment of the present application can obtain user by terminal
The parameter information that proxy information includes, when needing to send user agent's information to network side, the parameter information that will acquire is inserted
In user agent's information model, the user agent's information filled in then is sent.User agent's information can according to the SOT state of termination into
Row updates, and respectively different operators configures corresponding user agent's information model, and realization can be according to operator and end
It holds current system version is intelligentized to fill in user agent's information, is not necessarily to user manual amendment user agent's information, improve and use
The formation efficiency of family proxy information.
Fig. 2 is a kind of flow diagram of the processing method of user agent's information provided by the embodiments of the present application, as right
The further explanation of above-described embodiment, comprising:
Step 210 determines operator's informaiton according to SIM card.
The operator's informaiton of offer SIM card can be got by accessing SIM card.User's generation needed for different operators information
The format of reason information is not quite similar.
Step 220 determines at least one parameter information that user agent's information includes according to operator's informaiton.
Can the corresponding relationship in advance to different operators information and parameter information be updated.It obtains and transports in step 210
After seeking quotient's information, at least one parameter information for needing to obtain is determined according to the corresponding relationship.
Step 230 determines putting in order for each parameter information in user agent's information model according to operator's informaiton.
Step 240, the arrangement of at least one parameter information and each parameter information for including according to user agent's information are suitable
Sequence generates user agent's information model.
Step 250, when detecting default enabled instruction, at least one parameter information is filled up to user agent's information mould
In plate, destination user agent information is obtained.
Wherein, user agent's information model includes terminal manufacturer item of information and at least one is used to fill in parameter information
Default item.
Destination user agent information is sent to network side by step 260.
The processing method of user agent's information provided by the embodiments of the present application can determine operator's informaiton according to SIM card,
Relative users proxy information template is generated further according to operator's informaiton, and then can more accurately be adapted to different operators, is mentioned
High ease for use.
Fig. 3 is a kind of flow diagram of the processing method of user agent's information provided by the embodiments of the present application, as right
The further explanation of above-described embodiment, comprising:
Step 310 determines operator's informaiton according to SIM card.
Step 320 determines at least one parameter information that user agent's information includes according to operator's informaiton.
Step 330 determines putting in order for each parameter information in user agent's information model according to operator's informaiton.
Step 340, the arrangement of at least one parameter information and each parameter information for including according to user agent's information are suitable
Sequence generates user agent's information model.
If in step 350, at least one parameter information including terminal manufacturer information, current terminal production is obtained
Quotient's information.
It may include terminal manufacturer information in parameter information, and terminal manufacturer information self terminal is produced and just will not be sent out
It changes more.Therefore, the available present terminal manufacturer information if including terminal manufacturer information in parameter information.The letter
Breath can be obtained by system function.
Step 360, by current terminal manufacturer information solicitation into user agent's information model, make user's proxy information
Template includes the current terminal manufacturer information filled in.
Step 370, when detecting default enabled instruction, at least one parameter information is filled up to user agent's information mould
In plate, destination user agent information is obtained.
Wherein, user agent's information model includes terminal manufacturer item of information and at least one is used to fill in parameter information
Default item.
Destination user agent information is sent to network side by step 380.
The processing method of user agent's information provided by the embodiments of the present application can fill on the basis of the above embodiments
Terminal manufacturer information in user agent's information model, and then the time for filling in user agent's information model every time is reduced, it mentions
The formation efficiency of high user agent's information.
Fig. 4 is a kind of flow diagram of the processing method of user agent's information provided by the embodiments of the present application, as right
The further explanation of above-described embodiment, comprising:
Step 410, at least one parameter information for obtaining user agent's information generate user agent's letter according to parameter information
Cease template.
Wherein, at least one parameter information may include terminal models, system version information and version updating date.
Step 420, when detecting default enabled instruction, when detecting default enabled instruction, terminal that will be pre-stored
Model, system version information and version updating date are filled up in the default item of user agent's information model.
Wherein, user agent's information model includes terminal manufacturer item of information and at least one is used to fill in parameter information
Default item.
Destination user agent information is sent to network side by step 430.
The processing method of user agent's information provided by the embodiments of the present application can by terminal models, system version information with
And the version updating date is filled up in user agent's information model, improves the formation efficiency of user agent's information.
Fig. 5 is a kind of flow diagram of the processing method of user agent's information provided by the embodiments of the present application, as right
The further explanation of above-described embodiment, comprising:
Step 510, at least one parameter information for obtaining user agent's information generate user agent's letter according to parameter information
Cease template.
Wherein, it is preset characters string that at least one in template, which is used to fill in the default item of parameter information,.Preset characters string can
Thinking can be attached between " * " number each preset characters string by " _ ", form user agent's information model.
Step 520, when detecting default enabled instruction, the preset characters string in default item is replaced with into corresponding parameter
Information obtains destination user agent information.
Wherein, user agent's information model includes terminal manufacturer item of information and at least one is used to fill in parameter information
Default item.
Further, different preset characters strings can also be configured for different parameter informations, and then default by identification
Character string determines the corresponding parameter information of respective field, and then improves the accuracy that user agent's information model is filled in.
Destination user agent information is sent to network side by step 530.
The processing method of user agent's information provided by the embodiments of the present application is able to use preset characters string mark and is pre-configured
Parameter information, and then can more accurately fill in user agent's information.
Fig. 6 is a kind of flow diagram of the processing method of user agent's information provided by the embodiments of the present application, as right
The further explanation of above-described embodiment, comprising:
Step 610, at least one parameter information for obtaining user agent's information generate user agent's letter according to parameter information
Cease template.
Step 620, when detect system version update when, update this storage at least one parameter information.
Step 630, when detecting default enabled instruction, at least one parameter information is filled up to user agent's information mould
In plate, destination user agent information is obtained.
Wherein, user agent's information model includes terminal manufacturer item of information and at least one is used to fill in parameter information
Default item.
Destination user agent information is sent to network side by step 640.
The processing method of user agent's information provided by the embodiments of the present application, can be when detecting that system version updates certainly
The parameter information that dynamic update is locally stored improves the accuracy of Auto-writing user agent information.
In a usage scenario, step 1: assuming that the complete information of the UserAgent of operator (as mobile) " mobile phone
Manufacturer A_ item model _ OTAVersion_ version date ".By " item model ", " OTAVersion ", " version date ",
With " * " replaces, name a character string handset manufacturers A _ * _ * _ *.
Step 2: other operators's (such as connection, telecommunications) also name respective character string as use in the manner described above
Family proxy information template, such as handset manufacturers B_*_*, handset manufacturers C_* etc..
Step 3: after mobile phone power-on, from upper layer (such as AP layers or Android layer) by " item model ", " OTAVersion ", " version
This date " waits parameter informations to be transmitted to communication module Modem.
Step 4: Modem first passes through SIM card type, selects the special string such as handset manufacturers of corresponding operator
A_*_*_*.Then it will be obtained from upper layer variable information " item model ", " OTAVersion ", " version date ", successively it is substituted into
In handset manufacturers A_*_*_*.
Step 5: user agent's information after Modem will fill in is sent to network side and accesses.
Fig. 7 is a kind of structural schematic diagram of the processing unit of user agent's information provided by the embodiments of the present application.Such as Fig. 7 institute
Show, which includes: to obtain module 710, generation module 720, fill in module 730 and sending module 740.
Module 710 is obtained, for obtaining at least one parameter information of user agent's information;
Generation module 720, for generating user agent's information model according to the parameter information;
Fill in module 730, for when detecting default enabled instruction, by the acquisition module 710 obtain described in extremely
A few parameter information is filled up in user agent's information model that the generation module 720 generates, and obtains destination user agent
Information, user agent's information model includes terminal manufacturer item of information and at least one is used to fill in the default of parameter information
?;
Sending module 740, for filling in the destination user agent information that module 730 is filled in by described and being sent to network
Side.
Further, module 710 is obtained to be used for:
Operator's informaiton is determined according to SIM card;
At least one parameter information that user agent's information includes is determined according to the operator's informaiton;
Putting in order for each parameter information in user agent's information model is determined according to the operator's informaiton;
Generation module 720 is used for: at least one parameter information for including according to user agent's information and each parameter
Putting in order for information generates user agent's information model.
Further, it is also used at least one described parameter information believe comprising terminal manufacturer if obtaining module 710
Breath, then obtain current terminal manufacturer information;
The generation module 720 is also used to, and the current terminal manufacturer information solicitation to the user agent is believed
It ceases in template, making user agent's information model includes the current terminal manufacturer information filled in.
Further, it fills in module 730 to be used for, when detecting booting, at least one described parameter information is filled up to
In user agent's information model, destination user agent information is obtained.
Further, it fills in module 730 to be used for, when detecting default enabled instruction, by pre-stored terminal models, is
System version information and version updating date are filled up in the default item of user agent's information model.
Further, at least one described default item for being used to fill in parameter information is preset characters string;Correspondingly, filling in
Module 730 is used for, described when detecting default enabled instruction, and the preset characters string in default item is replaced with corresponding parameter
Information obtains destination user agent information.
Further, obtain module 710 be also used to, obtain user agent's information at least one parameter information, according to
After the parameter information generates user agent's information model, when detecting that system version updates, this storage is updated extremely
A few parameter information.
The processing unit of user agent's information provided by the embodiments of the present application, first acquisition module 710 obtain user agent
At least one parameter information of information, generation module 720 generate user agent's information model according to parameter information.Then, it fills in
At least one parameter information is filled up in user agent's information model, obtains when detecting default enabled instruction by module 730
Destination user agent information, user agent's information model includes terminal manufacturer item of information and at least one believes for filling in parameter
The default item of breath.Finally, destination user agent information is sent to network side by sending module 740, relative to needing manual amendment
User agent's information, the embodiment of the present application can obtain the parameter information that user agent's information includes by terminal, need to net
When network side sends user agent's information, the parameter information that will acquire is inserted in user agent's information model, and then transmission is filled in
User agent's information.User agent's information can be updated according to the SOT state of termination, and respectively different operator's configurations is corresponding
User agent's information model, realization can fill in user's generation according to the current system version of operator and terminal is intelligentized
Information is managed, user manual amendment user agent's information is not necessarily to, improves the formation efficiency of user agent's information.
Method provided by the aforementioned all embodiments of the application can be performed in above-mentioned apparatus, and it is corresponding to have the execution above method
Functional module and beneficial effect.The not technical detail of detailed description in the present embodiment, reference can be made to the aforementioned all implementations of the application
Method provided by example.
Fig. 8 is a kind of structural schematic diagram of terminal device provided by the embodiments of the present application.As shown in figure 8, the terminal can be with
Include: shell (not shown), memory 801, central processing unit (Central Processing Unit, CPU) 802 (again
Claim processor, hereinafter referred to as CPU), the computer program, the circuit that are stored on memory 801 and can be run on processor 802
Plate (not shown) and power circuit (not shown).The circuit board is placed in the space interior that the shell surrounds;
The CPU802 and the memory 801 are arranged on the circuit board;The power circuit, for for each of the terminal
Circuit or device power supply;The memory 801, for storing executable program code;The CPU802 described in reading by depositing
The executable program code stored in reservoir 801 runs program corresponding with the executable program code.
The terminal further include: Peripheral Interface 803, RF (Radio Frequency, radio frequency) circuit 805, voicefrequency circuit
806, loudspeaker 811, power management chip 808, input/output (I/O) subsystem 809, touch screen 812, other input/controls
Equipment 810 and outside port 804, these components are communicated by one or more communication bus or signal wire 807.
It should be understood that graphic terminal 800 is only an example of terminal, and terminal device 800 can be with
With than shown in the drawings more or less component, two or more components can be combined, or can have
Different component configurations.Various parts shown in the drawings can include one or more signal processings and/or dedicated integrated
It is realized in the combination of hardware, software or hardware and software including circuit.
Just provided in this embodiment below to be described in detail for a kind of terminal device, the terminal device is with intelligent hand
For machine.
Memory 801, the memory 801 can be accessed by CPU802, Peripheral Interface 803 etc., and the memory 801 can
It can also include nonvolatile memory to include high-speed random access memory, such as one or more disk memory,
Flush memory device or other volatile solid-state parts.
The peripheral hardware that outputs and inputs of equipment can be connected to CPU802 and deposited by Peripheral Interface 803, the Peripheral Interface 803
Reservoir 801.
I/O subsystem 809, the I/O subsystem 809 can be by the input/output peripherals in equipment, such as touch screen 812
With other input/control devicess 810, it is connected to Peripheral Interface 803.I/O subsystem 809 may include 8091 He of display controller
For controlling one or more input controllers 8092 of other input/control devicess 810.Wherein, one or more input controls
Device 8092 processed receives electric signal from other input/control devicess 810 or sends electric signal to other input/control devicess 810,
Other input/control devicess 810 may include physical button (push button, rocker buttons etc.), dial, slide switch, behaviour
Vertical pole clicks idler wheel.It is worth noting that input controller 8092 can with it is following any one connect: keyboard, infrared port,
The indicating equipment of USB interface and such as mouse.
Wherein, according to the working principle of touch screen and transmission information medium classification, touch screen 812 can for resistance-type,
Capacitor induction type, infrared-type or surface acoustic wave type.Classify according to mounting means, touch screen 812 can be with are as follows: external hanging type, built-in
Formula or monoblock type.Classify according to technical principle, touch screen 812 can be with are as follows: vector pressure sensing technology touch screen, resistive technologies touching
Touch screen, capacitance technology touch screen, infrared technology touch screen or surface acoustic wave technique touch screen.
Touch screen 812, the touch screen 812 are the input interface and output interface between user terminal and user, can
It is shown to user depending on output, visual output may include figure, text, icon, video etc..Optionally, touch screen 812 is by user
The electric signal (electric signal of such as contact surface) triggered on touch screen curtain, is sent to processor 802.
Display controller 8091 in I/O subsystem 809 receives electric signal from touch screen 812 or sends out to touch screen 812
Electric signals.Touch screen 812 detects the contact on touch screen, and the contact that display controller 8091 will test is converted to and is shown
The interaction of user interface object on touch screen 812, i.e. realization human-computer interaction, the user interface being shown on touch screen 812
Object can be the icon of running game, the icon for being networked to corresponding network etc..It is worth noting that equipment can also include light
Mouse, light mouse are the extensions for the touch sensitive surface for not showing the touch sensitive surface visually exported, or formed by touch screen.
RF circuit 805 is mainly used for establishing the communication of intelligent sound box Yu wireless network (i.e. network side), realizes intelligent sound box
Data receiver and transmission with wireless network.Such as transmitting-receiving short message, Email etc..
Voicefrequency circuit 806 is mainly used for receiving audio data from Peripheral Interface 803, which is converted to telecommunications
Number, and the electric signal is sent to loudspeaker 811.
Loudspeaker 811 is reduced to for intelligent sound box to be passed through RF circuit 805 from the received voice signal of wireless network
Sound simultaneously plays the sound to user.
Power management chip 808, the hardware for being connected by CPU802, I/O subsystem and Peripheral Interface are powered
And power management.
In the present embodiment, central processing unit 802 is used for:
At least one parameter information for obtaining user agent's information generates user agent's information mould according to the parameter information
Plate;
When detecting default enabled instruction, at least one described parameter information is filled up to user agent's information model
In, destination user agent information is obtained, user agent's information model includes terminal manufacturer item of information and at least one use
In the default item for filling in parameter information;
The destination user agent information is sent to network side.
Further, described at least one parameter information for obtaining user agent's information, generates according to the parameter information
User agent's information model, comprising:
Operator's informaiton is determined according to SIM card;
At least one parameter information that user agent's information includes is determined according to the operator's informaiton;
Putting in order for each parameter information in user agent's information model is determined according to the operator's informaiton;
According to the life that puts in order of at least one parameter information and each parameter information that user agent's information includes
At user agent's information model.
Further, at least one parameter information and each parameter information for including according to user agent's information
It puts in order after generating user agent's information model, comprising:
If at least one described parameter information including terminal manufacturer information, current terminal manufacturer letter is obtained
Breath;
By the current terminal manufacturer information solicitation into user agent's information model, make the user agent
Information model includes the current terminal manufacturer information filled in.
Further, described when detecting default enabled instruction, at least one described parameter information is filled up to user
In proxy information template, destination user agent information is obtained, comprising:
When detecting booting, at least one described parameter information is filled up in user agent's information model, mesh is obtained
Mark user agent's information.
Further, described when detecting default enabled instruction, at least one described parameter information is filled up to user
In proxy information template, destination user agent information is obtained, comprising:
When detecting default enabled instruction, by pre-stored terminal models, system version information and version updating date
It is filled up in the default item of user agent's information model.
Further, at least one described default item for being used to fill in parameter information is preset characters string;Correspondingly, described
When detecting default enabled instruction, at least one described parameter information is filled up in user agent's information model, mesh is obtained
Mark user agent's information, comprising:
It is described when detecting default enabled instruction, the preset characters string in default item is replaced with into corresponding parameter and is believed
Breath, obtains destination user agent information.
Further, it at least one parameter information for obtaining user agent's information, is generated and is used according to the parameter information
After the proxy information template of family, comprising:
When detecting that system version updates, at least one parameter information of this storage is updated.
The embodiment of the present application also provides a kind of storage medium comprising terminal device executable instruction, and the terminal device can
It executes instruction when being executed by terminal device processor for executing a kind of processing method of user agent's information, this method packet
It includes:
At least one parameter information for obtaining user agent's information generates user agent's information mould according to the parameter information
Plate;
When detecting default enabled instruction, at least one described parameter information is filled up to user agent's information model
In, destination user agent information is obtained, user agent's information model includes terminal manufacturer item of information and at least one use
In the default item for filling in parameter information;
The destination user agent information is sent to network side.
Further, described at least one parameter information for obtaining user agent's information, generates according to the parameter information
User agent's information model, comprising:
Operator's informaiton is determined according to SIM card;
At least one parameter information that user agent's information includes is determined according to the operator's informaiton;
Putting in order for each parameter information in user agent's information model is determined according to the operator's informaiton;
According to the life that puts in order of at least one parameter information and each parameter information that user agent's information includes
At user agent's information model.
Further, at least one parameter information and each parameter information for including according to user agent's information
It puts in order after generating user agent's information model, comprising:
If at least one described parameter information including terminal manufacturer information, current terminal manufacturer letter is obtained
Breath;
By the current terminal manufacturer information solicitation into user agent's information model, make the user agent
Information model includes the current terminal manufacturer information filled in.
Further, described when detecting default enabled instruction, at least one described parameter information is filled up to user
In proxy information template, destination user agent information is obtained, comprising:
When detecting booting, at least one described parameter information is filled up in user agent's information model, mesh is obtained
Mark user agent's information.
Further, described when detecting default enabled instruction, at least one described parameter information is filled up to user
In proxy information template, destination user agent information is obtained, comprising:
When detecting default enabled instruction, by pre-stored terminal models, system version information and version updating date
It is filled up in the default item of user agent's information model.
Further, at least one described default item for being used to fill in parameter information is preset characters string;Correspondingly, described
When detecting default enabled instruction, at least one described parameter information is filled up in user agent's information model, mesh is obtained
Mark user agent's information, comprising:
It is described when detecting default enabled instruction, the preset characters string in default item is replaced with into corresponding parameter and is believed
Breath, obtains destination user agent information.
Further, it at least one parameter information for obtaining user agent's information, is generated and is used according to the parameter information
After the proxy information template of family, comprising:
When detecting that system version updates, at least one parameter information of this storage is updated.
The computer storage medium of the embodiment of the present application, can be using any of one or more computer-readable media
Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable
Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or
Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool
There are electrical connection, the portable computer diskette, hard disk, random access memory (RAM), read-only memory of one or more conducting wires
(ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-
ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage
Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device
Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited
In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
Can with one or more programming languages or combinations thereof come write for execute the application operation computer
Program code, programming language include object oriented program language-such as Java, Smalltalk, C++, are also wrapped
Include conventional procedural programming language-such as " C " language or similar programming language.Program code can be complete
Ground executes on the user computer, partly executes on the user computer, executing as an independent software package, partially existing
Part executes on the remote computer or executes on a remote computer or server completely on subscriber computer.It is being related to
In the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or wide area
Net (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as utilize ISP
To be connected by internet).
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present application
The application any embodiment institute can also be performed in the processing operation for user agent's information that executable instruction is not limited to the described above
Relevant operation in the processing method of user agent's information of offer.
Note that above are only the preferred embodiment and institute's application technology principle of the application.It will be appreciated by those skilled in the art that
The application is not limited to specific embodiment described here, be able to carry out for a person skilled in the art it is various it is apparent variation,
The protection scope readjusted and substituted without departing from the application.Therefore, although being carried out by above embodiments to the application
It is described in further detail, but the application is not limited only to above embodiments, in the case where not departing from the application design, also
It may include more other equivalent embodiments, and scope of the present application is determined by the scope of the appended claims.
Claims (10)
1. a kind of processing method of user agent's information characterized by comprising
At least one parameter information for obtaining user agent's information generates user agent's information model according to the parameter information;
When detecting default enabled instruction, at least one described parameter information is filled up in user agent's information model, is obtained
To destination user agent information, user agent's information model includes terminal manufacturer item of information and at least one is used to fill in
The default item of parameter information;
The destination user agent information is sent to network side.
2. the processing method of user agent's information according to claim 1, which is characterized in that the acquisition user agent letter
At least one parameter information of breath generates user agent's information model according to the parameter information, comprising:
Operator's informaiton is determined according to SIM card;
At least one parameter information that user agent's information includes is determined according to the operator's informaiton;
Putting in order for each parameter information in user agent's information model is determined according to the operator's informaiton;
The generation that puts in order of at least one parameter information and each parameter information for including according to user agent's information is used
Family proxy information template.
3. the processing method of user agent's information according to claim 2, which is characterized in that according to the user agent
After the putting in order of at least one parameter information that information includes and each parameter information generates user agent's information model, packet
It includes:
If including terminal manufacturer information at least one described parameter information, current terminal manufacturer information is obtained;
By the current terminal manufacturer information solicitation into user agent's information model, make user agent's information
Template includes the current terminal manufacturer information filled in.
4. the processing method of user agent's information according to claim 1, which is characterized in that described to detect default open
When dynamic instruction, at least one described parameter information is filled up in user agent's information model, destination user agent information is obtained,
Include:
When detecting booting, at least one described parameter information is filled up in user agent's information model, obtains target use
Family proxy information.
5. the processing method of user agent's information according to claim 1, which is characterized in that described to detect default open
When dynamic instruction, at least one described parameter information is filled up in user agent's information model, destination user agent information is obtained,
Include:
When detecting default enabled instruction, pre-stored terminal models, system version information and version updating date are filled in
Into the default item of user agent's information model.
6. the processing method of user agent's information according to claim 1, which is characterized in that it is described at least one for filling out
The default item of write parameters information is preset characters string;Correspondingly, it is described when detecting default enabled instruction, by described at least one
A parameter information is filled up in user agent's information model, obtains destination user agent information, comprising:
It is described when detecting default enabled instruction, the preset characters string in default item is replaced with into corresponding parameter information, is obtained
To destination user agent information.
7. the processing method of user agent's information according to claim 1 to 6, which is characterized in that used obtaining
At least one parameter information of family proxy information, after parameter information generation user agent's information model, comprising:
When detecting that system version updates, at least one parameter information of this storage is updated.
8. a kind of processing unit of user agent's information characterized by comprising
Module is obtained, for obtaining at least one parameter information of user agent's information, user is generated according to the parameter information
Proxy information template;
Fill in module, for when detecting default enabled instruction, by the acquisition module obtain described at least one parameter
In user agent's information model that information solicitation is generated to the generation module, destination user agent information, the user are obtained
Proxy information template includes terminal manufacturer item of information and at least one is used to fill in the default item of parameter information;
Sending module, for the destination user agent information for filling in module writes to be sent to network side.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor
The processing method of user agent's information as described in any in claim 1-7 is realized when row.
10. a kind of terminal, including memory, processor and storage are on a memory and can be in the computer journey of processor operation
Sequence, which is characterized in that the processor realizes user's generation as claimed in claim 1 when executing the computer program
Manage the processing method of information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811190790.9A CN109413714B (en) | 2018-10-12 | 2018-10-12 | User agent information processing method, device, storage medium and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811190790.9A CN109413714B (en) | 2018-10-12 | 2018-10-12 | User agent information processing method, device, storage medium and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109413714A true CN109413714A (en) | 2019-03-01 |
CN109413714B CN109413714B (en) | 2022-02-22 |
Family
ID=65467056
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811190790.9A Active CN109413714B (en) | 2018-10-12 | 2018-10-12 | User agent information processing method, device, storage medium and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109413714B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110401925A (en) * | 2019-05-07 | 2019-11-01 | 杭州迪普科技股份有限公司 | A kind of generation method and device of communication message |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1852539A (en) * | 2005-11-15 | 2006-10-25 | 华为技术有限公司 | Method for obtaining information in signaling flow |
CN1859393A (en) * | 2006-01-21 | 2006-11-08 | 华为技术有限公司 | System and method of consulting device information |
CN102082817A (en) * | 2009-11-25 | 2011-06-01 | 诺基亚公司 | Method and apparatus for ensuring transport of user agent information |
US20130124618A1 (en) * | 2011-11-15 | 2013-05-16 | Huawei Technologies Co., Ltd. | Method, system and device for supporting application client being always online |
-
2018
- 2018-10-12 CN CN201811190790.9A patent/CN109413714B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1852539A (en) * | 2005-11-15 | 2006-10-25 | 华为技术有限公司 | Method for obtaining information in signaling flow |
CN1859393A (en) * | 2006-01-21 | 2006-11-08 | 华为技术有限公司 | System and method of consulting device information |
CN102082817A (en) * | 2009-11-25 | 2011-06-01 | 诺基亚公司 | Method and apparatus for ensuring transport of user agent information |
US20130124618A1 (en) * | 2011-11-15 | 2013-05-16 | Huawei Technologies Co., Ltd. | Method, system and device for supporting application client being always online |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110401925A (en) * | 2019-05-07 | 2019-11-01 | 杭州迪普科技股份有限公司 | A kind of generation method and device of communication message |
Also Published As
Publication number | Publication date |
---|---|
CN109413714B (en) | 2022-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9619122B2 (en) | Method and apparatus for automatic device program generation | |
CN106776385B (en) | A kind of transmission method, device and the terminal of log log information | |
KR20160015727A (en) | Method and apparatus for visualizing music information | |
CN108958696A (en) | Principal and subordinate's earphone method for handover control and Related product | |
US20150220247A1 (en) | Electronic device and method for providing information thereof | |
CN111192578B (en) | Application control method and device, storage medium and electronic equipment | |
CN109508198A (en) | Application program installation method, device, storage medium and terminal | |
CN109035037A (en) | Insurance products visual configuration method, apparatus, storage medium and terminal | |
JP2016500175A (en) | Method and apparatus for realizing floating object | |
CN105874448A (en) | Method and apparatus for outputting digital content | |
CN106227588A (en) | The creation method of a kind of multi-instance object, device and mobile terminal | |
CN109542380A (en) | Control method, device, storage medium and the terminal of display pattern | |
CN108055453A (en) | A kind of acquisition parameters update method and terminal | |
CN109254793A (en) | Engine partition method, relevant device and computer readable storage medium | |
CN106686519B (en) | The method, apparatus and terminal of the stereo pairing of audio-frequence player device | |
CN106056001A (en) | Private data protection method and apparatus based on mobile terminal and mobile terminal | |
CN109362121A (en) | Sharing method, device, storage medium and the terminal of WLAN | |
CN106528163A (en) | Page switching method and device | |
CN103383622B (en) | The method of mobile terminal of touch screen response operation and mobile terminal of touch screen | |
CN108427549B (en) | Method and device for processing sound of notification message, storage medium and terminal | |
CN111984248A (en) | Page editing method and device, storage medium and electronic device | |
CN109413714A (en) | Processing method, device, storage medium and the terminal of user agent's information | |
CN109684011A (en) | Interface display control method, electronic device and computer readable storage medium | |
CN110245017B (en) | Resource identifier allocation method and equipment | |
CN107526597A (en) | User interface edit methods, device, terminal and computer-readable recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |