CN108228145A - Data processing method, system and the mobile equipment of mixed type application program - Google Patents
Data processing method, system and the mobile equipment of mixed type application program Download PDFInfo
- Publication number
- CN108228145A CN108228145A CN201611155854.2A CN201611155854A CN108228145A CN 108228145 A CN108228145 A CN 108228145A CN 201611155854 A CN201611155854 A CN 201611155854A CN 108228145 A CN108228145 A CN 108228145A
- Authority
- CN
- China
- Prior art keywords
- resource locator
- uniform resource
- mobile equipment
- unique mark
- webpage
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
- G06F8/22—Procedural
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/31—Programming languages or programming paradigms
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computing Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of data processing methods of mixed type application program, system and mobile equipment, before embedded browser loads webpage, the unique mark of mobile equipment is added in the uniform resource locator of webpage to be loaded, after embedded browser loads webpage, uniform resource locator is obtained from the webpage after loading and therefrom parses the unique mark of mobile equipment, and the user identifier in the corresponding Cookie files of added contained network page is assigned a value of to the unique mark of mobile equipment, so that embedded browser sends network data using the unique mark for moving equipment as user identifier, APP data in mixed type APP are got through with web data.The browser loading function directly provided due to this method using mobile device system, it does not need to modify to the browser loading function that mobile device system provides, so as to reduce the development cost of mixed type APP, and the mixed type APP codes developed are easy to dispose.
Description
Technical field
The present invention relates to technical field of data processing, at a kind of data of mixed type application program
Reason method, system and mobile equipment.
Background technology
In order to save development cost, developer in application program (Application, the APP) of the mobile equipment of exploitation,
Mostly using the mixed form of loading HTML5 in primary APP, this APP is known as mixed type APP, in this way, it is only necessary to which one embedded clear
Device of looking at loads webpage, you can realizes the function of APP.
Acquisition behavioral data of the user based on APP is the basis for carrying out user behavior analysis, and for mixed type APP, by
It is different from the mode of webpage side gathered data in APP sides, it may result in when acquiring user data, for the behaviour of same user
Make data, it is to be separated from each other to collect the operation data of webpage side and the operation data of APP sides, without incidence relation, because
This needs to get through the operation data of APP sides and the operation data of webpage side.
At present, a kind of more common data mode of getting through is:The browser that developer provides mobile device system adds
It carries function to modify, modified loading function can collect the unique mark of mobile phone before webpage is loaded, then that this is unique
Mark is transmitted to the tracker of deployment in the webpage of embedded browser loading to realize getting through for data.So that mixed type APP's opens
It sends out of high cost, and is unfavorable for code deployment.
Therefore, the mixed type APP as how relatively low development cost realization code is easy to deployment becomes technology urgently to be resolved hurrily
Problem.
Invention content
In view of the above problems, it is proposed that the present invention overcomes the above problem in order to provide one kind or solves at least partly
State the data processing method, system and mobile equipment of the mixed type application program of problem.
To achieve these goals, the present invention provides following technical solutions:
A kind of data processing method of mixed type application program, applied to mobile equipment, the method includes:
Obtain the first uniform resource locator of webpage to be loaded;
The unique mark of the mobile equipment is added in into first uniform resource locator, the second unified resource is obtained and determines
Position symbol;
Webpage is loaded based on second uniform resource locator;
Second uniform resource locator is obtained in webpage after loading and is parsed, obtains the mobile equipment
Unique mark, the user identifier in Cookie files corresponding with the webpage is assigned a value of to unique mark of the mobile equipment
Know.
The above method, it is preferred that the unique mark by the mobile equipment adds in first unified resource and positions
Symbol, obtains the second uniform resource locator and includes:
First uniform resource locator is parsed, determines the parameter that first uniform resource locator carries
Position in first uniform resource locator;
Preset parameter is added in after the last position parameter of the parameter carried in first uniform resource locator, is obtained described
Second uniform resource locator;The value of the preset parameter is the unique mark of the mobile equipment.
The above method, it is preferred that the unique mark by the mobile equipment adds in first unified resource and positions
Symbol, obtains the second uniform resource locator and includes:
First uniform resource locator is parsed, determines the parameter that first uniform resource locator carries
Position in first uniform resource locator;
Preset parameter is added in before the first parameter of the parameter carried in first uniform resource locator, is obtained described
Second uniform resource locator;The value of the preset parameter is the unique mark of the mobile equipment.
The above method, it is preferred that described in the user identifier in Cookie files corresponding with the webpage is assigned a value of
After the unique mark of mobile equipment, further include:
Receive the first web data request that user triggers generation;
The value of user identifier in the Cookie files is added in the first web data request, obtains second
Web data is asked;
The second web data request is sent to network server.
A kind of data processing system of mixed type application program, applied to mobile equipment, the system comprises:
Processing module, for obtaining the first uniform resource locator of webpage to be loaded;By the unique of the mobile equipment
Mark adds in first uniform resource locator, obtains the second uniform resource locator;
Load-on module, for being based on the second uniform resource locator loading webpage;
Parsing module for obtaining second uniform resource locator in the webpage after loading and being parsed, obtains
To the unique mark of the mobile equipment, the user identifier in Cookie files corresponding with the webpage is assigned a value of the shifting
The unique mark of dynamic equipment.
Above system, it is preferred that the unique mark of the mobile equipment is added in first unification by the processing module
Resource Locator obtains the second uniform resource locator and includes:
The processing module parses first uniform resource locator, determines the first unified resource positioning
Accord with position of the parameter carried in first uniform resource locator;In the ginseng that first uniform resource locator carries
Preset parameter is added in after several last position parameters, obtains second uniform resource locator;The value of the preset parameter is institute
State the unique mark of mobile equipment.
Above system, it is preferred that the unique mark of the mobile equipment is added in first unification by the processing module
Resource Locator obtains the second uniform resource locator and includes:
The processing module parses first uniform resource locator, determines the first unified resource positioning
Accord with position of the parameter carried in first uniform resource locator;In the ginseng that first uniform resource locator carries
Preset parameter is added in before several the first parameters, obtains second uniform resource locator;The value of the preset parameter is institute
State the unique mark of mobile equipment.
Above system, it is preferred that the load-on module is additionally operable to, and the first web data for receiving user's triggering generation please
It asks, and the request of the second web data is sent to network server;
Wherein, the parsing module is additionally operable to the value of the user identifier in the Cookie files being added to described first
In web data request, the second web data request is obtained.
A kind of mobile equipment includes the data processing system of the mixed type application program described in as above any one.
By above-mentioned technical proposal, a kind of data processing method of mixed type application program provided by the invention, system and
The unique mark of mobile equipment before embedded browser loads webpage, is added in the unified of webpage to be loaded and provided by mobile equipment
In the finger URL of source, after embedded browser loads webpage, uniform resource locator is obtained from the webpage after loading and is parsed
Go out the unique mark of mobile equipment, and the user identifier in the corresponding Cookie files of added contained network page is assigned a value of mobile equipment
Unique mark so that unique mark of the embedded browser to move equipment will be mixed as user identifier transmission network data
APP data in type APP are got through with web data.Since this method is directly loaded using the browser that mobile device system provides
Function does not need to modify to the browser loading function that mobile device system provides, so as to reduce mixed type APP's
Development cost, and the mixed type APP codes developed are easy to dispose.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, below the special specific embodiment for lifting the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this field
Technical staff will become clear.Attached drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of realization flow of the data processing method of mixed type application program provided in an embodiment of the present invention
Figure;
Fig. 2 shows a kind of structural representations of the data processing system of mixed type application program provided in an embodiment of the present invention
Figure.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
The data processing method and system of mixed type application program provided in an embodiment of the present invention, can be in mobile equipment side
It is configured.The movement equipment can install at least one mixed type application program.
Referring to Fig. 1, Fig. 1 is a kind of reality of the data processing method of mixed type application program provided in an embodiment of the present invention
Existing flow chart, can include:
Step S11:Obtain the first uniform resource locator of webpage to be loaded;
During user operates mixed type APP in mobile equipment side, when needing to load webpage, pass through calling
The embedded embedded browser of browser loading function loading, web data request, net are sent from embedded browser to network server
Network server return uniform resource locator corresponding with the request of above-mentioned web data (Uniform Resource Locator,
URL)。
First uniform resource locator of above-mentioned webpage to be loaded refers to, embeds browser and is sending net to network server
After page data request, by the uniform resource locator of network server return.
Step S12:The unique mark of mobile equipment is added in into the first uniform resource locator, the second unified resource is obtained and determines
Position symbol;
The unique mark of mobile equipment can be International Mobile Equipment Identity code (International Mobile
Equipment Identity, IMEI) or other can with unique identification move equipment device identification, such as can be
The advertisement indications (identifier for advertising, IDFA) of mobile equipment.Wherein, IMEI, which is common in, is based on
The mobile equipment of android system, and IDFA is common in the mobile equipment based on iOS system.It can be provided by mobile equipment
Data-interface read the unique mark of mobile equipment.
Uniform resource locator is usually made of domain name and parameter two parts, and domain name is used to indicate the address of webpage, and joins
It is several, it is associated with the content of webpage.In the embodiment of the present invention, the unique mark of mobile equipment is added in into uniform resource locator
Argument section.After the unique mark of mobile equipment is added in the first uniform resource locator, uniform resource locator is by three
Divide and form:Domain name, first kind parameter and the second class parameter;Wherein, domain name and first kind parameter are the system that network server returns
The data carried in one Resource Locator, for loading webpage, and the second class parameter is exactly the unique mark of mobile equipment, is used for
Get through data.
Step S13:Webpage is loaded based on the second uniform resource locator;
In the embodiment of the present invention, after network server returns to uniform resource locator, embedded browser is not based on network
The uniform resource locator loading webpage that server returns, but the unified resource based on the unique mark for adding in mobile equipment is determined
Position symbol loading webpage.
Step S14:The second uniform resource locator is obtained in webpage after loading, and to the second unified resource of acquisition
Finger URL is parsed, and the unique mark of mobile equipment is obtained, by the user in Cookie files corresponding with added contained network page
Mark is assigned a value of the unique mark of mobile equipment.
User identifier in Cookie files be website in order to distinguish user identity, conversate tracking and and be stored in use
Data on the local terminal of family, the data would generally encrypt storage.Traditional Cookie document methods of establishing are, in browser plus
After contained network page, the tracker on webpage can generate an identification code and is stored on user local terminal as user identifier at random
In Cookie files.
It is different from traditional mode for establishing Cookie files, it, can after browser loads webpage in the embodiment of the present invention
The unique mark of mobile equipment is stored in as user identifier in Cookie files by the tracker on webpage.
Hereafter, then during requested webpage data, by the user identifier (unique mark for moving equipment) in Cookie files
Network server is sent to by web data request, so as to which network server realizes user according to the unique mark of mobile equipment
Identification and session tracking, and the unique mark that the user of the APP sides of mixed type APP acquisition is also based on mobile equipment carries out
Data acquire, therefore realize the user's operation data of webpage side and the user behaviour of APP sides by the unique mark of mobile equipment
Make the association of data, get through the operation data of APP sides and the operation data of webpage side.
The data processing method of mixed type application program based on the embodiment of the present invention, it is only necessary to design a processing
The unique mark of mobile equipment by the processing module is added in the URL of the page to be loaded, is then directly set using movement by module
The browser loading webpage that standby system provides parses unique mark of mobile equipment from the URL in the webpage after loading later
Know write-in Cookie files, you can get through the operation data of APP sides and the operation data of webpage side, without being set to movement
The browser loading function that standby system provides is modified, so as to avoid mistake caused by human factor during modification (for example,
During modifying to browser loading function, it should be noted that the ginseng in the code of modified browser loading function
Number is consistent with the parameter of the code of the other parts of APP, and during modification, due to being manual operation, can inevitably lose
The modification of some parameters is leaked, so as to can not achieve the function of APP) need reexamine, change caused by the development cycle it is long, because
This, the data processing method of mixed type application program provided through the embodiment of the present invention, reduce the exploitation of mixed type APP into
This, and since the design of processing module can not be modified to obtain on the basis of original browser loading function, but solely
The code of browser loading function is stood on, therefore the mixed type APP codes developed are easy to dispose.
In an optional embodiment, the unique mark of mobile equipment is added in into the first uniform resource locator, obtains the
A kind of realization method of two uniform resource locator can be:
First uniform resource locator is parsed, determines that the parameter that the first uniform resource locator carries is united first
Position in one Resource Locator;
Preset parameter is added in after the last position parameter of the parameter carried in the first uniform resource locator, obtains the second unification
Resource Locator;The value of above-mentioned preset parameter is the unique mark of mobile equipment.
Multiple parameters may be included in uniform resource locator, in the embodiment of the present invention, in order to not influence the knot of original parameter
Structure, the last position that the preset parameter for the unique mark for carrying mobile equipment is added in the parameter that the first uniform resource locator carries are joined
After number, that is to say, that after preset parameter is added in the first uniform resource locator, the former ginseng in the second uniform resource locator
Numerical digit is between domain name and preset parameter.
In another optional embodiment, the unique mark of mobile equipment is added in into the first uniform resource locator, is obtained
A kind of realization method to the second uniform resource locator can be:
First uniform resource locator is parsed, determines that the parameter that the first uniform resource locator carries is united first
Position in one Resource Locator;
Preset parameter is added in before the first parameter of the parameter carried in the first uniform resource locator, obtains the second unification
Resource Locator;The value of above-mentioned preset parameter is the unique mark of mobile equipment.
Multiple parameters may be included in uniform resource locator, in the embodiment of the present invention, in order to not influence the knot of original parameter
Structure, the first place that the preset parameter for the unique mark for carrying mobile equipment is added in the parameter that the first uniform resource locator carries are joined
Before number, that is to say, that after preset parameter is added in the first uniform resource locator, preset parameter, which is located at the second unified resource, to be determined
Between domain name and original parameter in the symbol of position.
In the unique mark that the user identifier in Cookie files corresponding with the webpage of loading is assigned a value of to mobile equipment
Later, the data processing method of mixed type application program provided in an embodiment of the present invention can also include:
Receive the first web data request that user triggers generation;
For user in requested webpage data again during being operated to APP, embedded browser can generate net again
Page data is asked.
The value of user identifier in Cookie files is added in the request of the first web data, obtains the second web data
Request;
In general, embedded browser generation web data request is the triggering generation on the basis of the webpage loaded,
Therefore the value of the user identifier in Cookie files (can be moved into unique mark of equipment by having loaded the tracker on webpage
Know) it is added in the request of the first web data.
The request of the second web data is sent to network server.Network server is receiving the request of the second web data
Afterwards, the user identifier in being asked according to the second web data, that is, the unique mark for moving equipment carry out user identity identification, session
The operations such as tracking, data acquisition.
Corresponding with embodiment of the method, the embodiment of the present invention also provides a kind of data processing system of mixed type application program
System, a kind of structure diagram of the data processing system of mixed type application program provided in an embodiment of the present invention is as shown in Fig. 2, can
To include:
Processing module 21, load-on module 22 and parsing module 23;Wherein,
Processing module 21 is used to obtain the first uniform resource locator of webpage to be loaded;By the unique mark of mobile equipment
The first uniform resource locator is added in, obtains the second uniform resource locator;
Processing module 21 is the mutually independent function of browser loading function provided with mobile equipment.
During user operates mixed type APP in mobile equipment side, when needing to load webpage, pass through loading
Module sends web data request to network server, and network server returns to unified money corresponding with the request of above-mentioned web data
Source finger URL.
First uniform resource locator of above-mentioned webpage to be loaded refers to that load-on module is sending webpage to network server
After request of data, by the uniform resource locator of network server return.
The unique mark of mobile equipment can be International Mobile Equipment Identity code (International Mobile
Equipment Identity, IMEI) or other can with unique identification move equipment device identification, such as can be
The advertisement indications (identifier for advertising, IDFA) of mobile equipment.Wherein, IMEI, which is common in, is based on
The mobile equipment of android system, and IDFA is common in the mobile equipment based on iOS system.
Uniform resource locator is usually made of domain name and parameter two parts, and domain name is used to indicate the address of webpage, and joins
It is several, it is associated with the content of webpage.In the embodiment of the present invention, processing module 21 adds in the unique mark of mobile equipment unified
The argument section of Resource Locator.After the unique mark of mobile equipment is added in the first uniform resource locator, unified resource is fixed
Position symbol is made of three parts:Domain name, first kind parameter and the second class parameter;Wherein, domain name and first kind parameter are network service
The data that carry in the uniform resource locator that device returns, for loading webpage, and the second class parameter be exactly mobile equipment only
One mark, for getting through data.
Load-on module 22 is used to load webpage based on the second uniform resource locator;The load-on module 22 can be that movement is set
The embedded browser that standby system provides.
In the embodiment of the present invention, after network server returns to uniform resource locator, load-on module is not based on network clothes
The uniform resource locator that device returns of being engaged in loads webpage, but based on the unified resource after the unique mark for adding in mobile equipment
Finger URL loads webpage.
Parsing module 23, for obtaining the second uniform resource locator in the webpage after loading, and to the second of acquisition
Uniform resource locator is parsed, and the unique mark of mobile equipment is obtained, by the use in Cookie files corresponding with webpage
Family mark is assigned a value of the unique mark of mobile equipment.
User identifier in Cookie files be website in order to distinguish user identity, conversate tracking and and be stored in use
Data on the local terminal of family, the data would generally encrypt storage.Traditional method for establishing Cookie files is, in browser
After loading webpage, an identification code is generated at random and is stored in the Cookie files on user local terminal as user identifier.
It is different from traditional mode for establishing Cookie files, in the embodiment of the present invention, webpage is loaded in load-on module 22
Afterwards, it is to be stored in the unique mark of mobile equipment in Cookie files as user identifier.
Hereafter, then during requested webpage data, by the user identifier (unique mark for moving equipment) in Cookie files
Network server is sent to by web data request, so as to which network server realizes user according to the unique mark of mobile equipment
Identification and session tracking, and the unique mark that the user of the APP sides of mixed type APP acquisition is also based on mobile equipment carries out
Data acquire, therefore realize the user's operation data of webpage side and the user behaviour of APP sides by the unique mark of mobile equipment
Make the association of data, get through the operation data of APP sides and the operation data of webpage side.
In above-described embodiment, optionally, the unique mark of mobile equipment is added in the first unified resource and determined by processing module 21
Position symbol, obtains the second uniform resource locator, can specifically include:
Processing module 21 parses the first uniform resource locator, determines the ginseng that the first uniform resource locator carries
Position of the number in the first uniform resource locator;Add after the last position parameter of the parameter carried in the first uniform resource locator
Enter preset parameter, obtain the second uniform resource locator;The value of above-mentioned preset parameter is the unique mark of mobile equipment.
Multiple parameters may be included in uniform resource locator, in the embodiment of the present invention, in order to not influence the knot of original parameter
Structure, the last position that the preset parameter for the unique mark for carrying mobile equipment is added in the parameter that the first uniform resource locator carries are joined
After number, that is to say, that after preset parameter is added in the first uniform resource locator, the former ginseng in the second uniform resource locator
Numerical digit is between domain name and preset parameter.
In another optional embodiment, the unique mark of mobile equipment is added in the first unified resource by processing module 21
Finger URL obtains the second uniform resource locator, can specifically include:
Processing module 21 parses the first uniform resource locator, determines the ginseng that the first uniform resource locator carries
Position of the number in the first uniform resource locator;Add before the first parameter of the parameter carried in the first uniform resource locator
Enter preset parameter, obtain the second uniform resource locator;The value of above-mentioned preset parameter is the unique mark of mobile equipment.
Multiple parameters may be included in uniform resource locator, in the embodiment of the present invention, in order to not influence the knot of original parameter
Structure, the first place that the preset parameter for the unique mark for carrying mobile equipment is added in the parameter that the first uniform resource locator carries are joined
Before number, that is to say, that after preset parameter is added in the first uniform resource locator, preset parameter, which is located at the second unified resource, to be determined
Between domain name and original parameter in the symbol of position.
In above-described embodiment, optionally, load-on module 22 can be also used for, and receive the first webpage number that user triggers generation
The request of the second web data is sent according to request, and to network server;
Wherein, the request of the second web data is handled to obtain by parsing module 23 to the request of the first web data, specifically
, the value of the user identifier in Cookie files is added in the request of the first web data by parsing module 23, obtains the second net
Page data is asked.
In the embodiment of the present invention, after load-on module 22 receives the first web data request that user triggers generation, mould is parsed
The value of user identifier in Cookie files is added in the request of the first web data by block 23, and obtaining the second web data please
It asks, load-on module 22 sends second web data request to network server.
The data processing system of above-mentioned mixed type application program includes processor and memory, and above-mentioned processing module 21 adds
It carries module 22 and 23 grade of parsing module to store in memory as program unit, storage is performed in memory by processor
Above procedure unit realize corresponding function.
Comprising kernel in processor, gone in memory to transfer corresponding program unit by kernel.Kernel can set one
Or more, achieve the purpose that realize that code is easy to the mixed type APP of deployment with relatively low development cost by adjusting kernel parameter.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM), memory includes at least one deposit
Store up chip.
The data processing system of mixed type application program based on the embodiment of the present invention, it is only necessary to design a processing
The unique mark of mobile equipment by the processing module is added in the URL of the page to be loaded, is then directly set using movement by module
The browser loading webpage that standby system provides, later by parsing unique mark of mobile equipment from the URL in the webpage of loading
Know write-in Cookie, you can get through the operation data of APP sides and the operation data of webpage side, without to mobile equipment system
The browser loading function that system provides is modified, so as to during avoiding modification mistake caused by human factor (for example, right
During browser loading function is modified, it should be noted that parameter in the code of modified browser loading function with
The parameter of the code of the other parts of APP is consistent, and during modification, due to being manual operation, it can inevitably omit one
The modification of a little parameters, so as to can not achieve the function of APP) need to reexamine, change and the development cycle of breakfast it is long, therefore,
The data processing system of mixed type application program provided through the embodiment of the present invention reduces the development cost of mixed type APP,
And since the design of processing module can not be modified to obtain on the basis of original browser loading function, and it is independently of
The code of browser loading function, therefore the mixed type APP codes developed are easy to dispose.
The embodiment of the present invention also provides a kind of mobile equipment, which can install at least one mixed type application journey
Sequence, the application program include the data processing system of the as above mixed type application program that any one system embodiment provides.
The movement equipment can be the mobile equipment based on Andriod systems or the movement based on iOS system is set
It is standby.The movement equipment can be mobile phone or tablet computer or palm PC etc..
Present invention also provides a kind of computer program products, first when being performed on data processing equipment, being adapted for carrying out
The program code of beginningization there are as below methods step:
Obtain the first uniform resource locator of webpage to be loaded;
The unique mark of mobile equipment is added in into the first uniform resource locator, obtains the second uniform resource locator;
Webpage is loaded based on the second uniform resource locator;
The second uniform resource locator is obtained in webpage after loading and is parsed, obtains unique mark of mobile equipment
Know, the user identifier in Cookie files corresponding with added contained network page is assigned a value of to the unique mark of mobile equipment.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program
Product.Therefore, the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in the application
Apply the form of example.Moreover, the computer for wherein including computer usable program code in one or more can be used in the application
The computer program production that usable storage medium is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The application is with reference to the flow according to the method for the embodiment of the present application, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions each in flowchart and/or the block diagram
The combination of flow and/or box in flow and/or box and flowchart and/or the block diagram.These computer journeys can be provided
Sequence instruct to all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices processor with
Generate a machine so that the instruction generation performed by computer or the processor of other programmable data processing devices is used for
Realize the dress of function specified in one flow of flow chart or multiple flows and/or one box of block diagram or multiple boxes
It puts.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps are performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or
The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie
The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, CD-ROM read-only memory (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, the storage of tape magnetic rigid disk or other magnetic storage apparatus
Or any other non-transmission medium, available for storing the information that can be accessed by a computing device.It defines, calculates according to herein
Machine readable medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It these are only embodiments herein, be not limited to the application.To those skilled in the art,
The application can have various modifications and variations.All any modifications made within spirit herein and principle, equivalent replacement,
Improve etc., it should be included within the scope of claims hereof.
Claims (9)
1. a kind of data processing method of mixed type application program, applied to mobile equipment, which is characterized in that the method packet
It includes:
Obtain the first uniform resource locator of webpage to be loaded;
The unique mark of the mobile equipment is added in into first uniform resource locator, obtains the positioning of the second unified resource
Symbol;
Webpage is loaded based on second uniform resource locator;
Second uniform resource locator is obtained in webpage after loading and is parsed, obtains the mobile equipment only
User identifier in Cookie files corresponding with the webpage is assigned a value of the unique mark of the mobile equipment by one mark.
2. according to the method described in claim 1, it is characterized in that, described in the unique mark addition by the mobile equipment
First uniform resource locator obtains the second uniform resource locator and includes:
First uniform resource locator is parsed, determines the parameter of the first uniform resource locator carrying in institute
State the position in the first uniform resource locator;
Preset parameter is added in after the last position parameter of the parameter carried in first uniform resource locator, obtains described second
Uniform resource locator;The value of the preset parameter is the unique mark of the mobile equipment.
3. according to the method described in claim 1, it is characterized in that, described in the unique mark addition by the mobile equipment
First uniform resource locator obtains the second uniform resource locator and includes:
First uniform resource locator is parsed, determines the parameter of the first uniform resource locator carrying in institute
State the position in the first uniform resource locator;
Preset parameter is added in before the first parameter of the parameter carried in first uniform resource locator, obtains described second
Uniform resource locator;The value of the preset parameter is the unique mark of the mobile equipment.
4. according to the method described in claim 1-3 any one, which is characterized in that will Cookie corresponding with the webpage
User identifier in file is assigned a value of after the unique mark of the mobile equipment, is further included:
Receive the first web data request that user triggers generation;
The value of user identifier in the Cookie files is added in the first web data request, obtains the second webpage
Request of data;
The second web data request is sent to network server.
5. a kind of data processing system of mixed type application program, applied to mobile equipment, which is characterized in that the system packet
It includes:
Processing module, for obtaining the first uniform resource locator of webpage to be loaded;By the unique mark of the mobile equipment
First uniform resource locator is added in, obtains the second uniform resource locator;
Load-on module, for being based on the second uniform resource locator loading webpage;
Parsing module for obtaining second uniform resource locator in the webpage after loading and being parsed, obtains institute
The unique mark of mobile equipment is stated, the user identifier in Cookie files corresponding with the webpage is assigned a value of the movement sets
Standby unique mark.
6. system according to claim 5, which is characterized in that the processing module is by the unique mark of the mobile equipment
First uniform resource locator is added in, the second uniform resource locator is obtained and includes:
The processing module parses first uniform resource locator, determines that first uniform resource locator is taken
Position of the parameter of band in first uniform resource locator;In the parameter that first uniform resource locator carries
Preset parameter is added in after last position parameter, obtains second uniform resource locator;The value of the preset parameter is the shifting
The unique mark of dynamic equipment.
7. system according to claim 5, which is characterized in that the processing module is by the unique mark of the mobile equipment
First uniform resource locator is added in, the second uniform resource locator is obtained and includes:
The processing module parses first uniform resource locator, determines that first uniform resource locator is taken
Position of the parameter of band in first uniform resource locator;In the parameter that first uniform resource locator carries
Preset parameter is added in before the first parameter, obtains second uniform resource locator;The value of the preset parameter is the shifting
The unique mark of dynamic equipment.
8. according to the system described in claim 5-7 any one, which is characterized in that the load-on module is additionally operable to, and is received and is used
The first web data request of family triggering generation, and send the request of the second web data to network server;
Wherein, the parsing module is additionally operable to the value of the user identifier in the Cookie files being added to first webpage
In request of data, the second web data request is obtained.
9. a kind of mobile equipment, which is characterized in that including the mixed type application program as described in claim 5-8 any one
Data processing system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611155854.2A CN108228145A (en) | 2016-12-14 | 2016-12-14 | Data processing method, system and the mobile equipment of mixed type application program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611155854.2A CN108228145A (en) | 2016-12-14 | 2016-12-14 | Data processing method, system and the mobile equipment of mixed type application program |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108228145A true CN108228145A (en) | 2018-06-29 |
Family
ID=62650052
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611155854.2A Pending CN108228145A (en) | 2016-12-14 | 2016-12-14 | Data processing method, system and the mobile equipment of mixed type application program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108228145A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109727048A (en) * | 2017-10-31 | 2019-05-07 | 北京国双科技有限公司 | Data processing method and device |
CN112187815A (en) * | 2020-09-30 | 2021-01-05 | 湖南快乐阳光互动娱乐传媒有限公司 | Method and system for obtaining unique identifier of electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104683407A (en) * | 2013-11-29 | 2015-06-03 | 中国移动通信集团公司 | Transmission method and equipment for page data and application data |
CN105577735A (en) * | 2014-11-07 | 2016-05-11 | 阿里巴巴集团控股有限公司 | Browser-based user behavior tracking method and device |
CN105847430A (en) * | 2016-05-20 | 2016-08-10 | 北京小米移动软件有限公司 | Hybrid application page data access method and device |
US20160253171A1 (en) * | 2015-02-26 | 2016-09-01 | Yan Zang | Application development system with native feature engine |
-
2016
- 2016-12-14 CN CN201611155854.2A patent/CN108228145A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104683407A (en) * | 2013-11-29 | 2015-06-03 | 中国移动通信集团公司 | Transmission method and equipment for page data and application data |
CN105577735A (en) * | 2014-11-07 | 2016-05-11 | 阿里巴巴集团控股有限公司 | Browser-based user behavior tracking method and device |
US20160253171A1 (en) * | 2015-02-26 | 2016-09-01 | Yan Zang | Application development system with native feature engine |
CN105847430A (en) * | 2016-05-20 | 2016-08-10 | 北京小米移动软件有限公司 | Hybrid application page data access method and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109727048A (en) * | 2017-10-31 | 2019-05-07 | 北京国双科技有限公司 | Data processing method and device |
CN109727048B (en) * | 2017-10-31 | 2021-04-23 | 北京国双科技有限公司 | Data processing method and device |
CN112187815A (en) * | 2020-09-30 | 2021-01-05 | 湖南快乐阳光互动娱乐传媒有限公司 | Method and system for obtaining unique identifier of electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10372596B2 (en) | Distributed system test device | |
US9760415B2 (en) | Code service for language-independent dispatch | |
CN103942225B (en) | A kind of resource transfer method, client and the system of mixed type applications client | |
CN108156022A (en) | A kind of service calling method, device and electronic equipment | |
CN106648556B (en) | Method and device for front-end and back-end integrated development test | |
CN106897053B (en) | Code publishing method and device | |
CN107885540A (en) | A kind of method, apparatus and terminal of loading application programs static resource | |
US9584372B2 (en) | Discovering resources of a distributed computing environment | |
CN106294113B (en) | creation method and device based on programmable test service | |
CN109062626A (en) | Exchange method, device and the equipment of Web page component and Native component | |
CN108282518A (en) | A kind of customer terminal webpage generation method and device | |
CN107844518B (en) | Method for evaluating download quantity of specified APP, data server, packaging platform and system | |
CN107301137A (en) | RSET interface realizing methods and device and electronic equipment and computer-readable recording medium | |
CN110020339A (en) | Based on without the webpage data acquiring method and device buried a little | |
CN106980501A (en) | A kind of software package management method, device and system | |
CN111897623A (en) | Cluster management method, device, equipment and storage medium | |
CN107133036B (en) | Module management method and device | |
CN108874379B (en) | Page processing method and device | |
US11537367B1 (en) | Source code conversion from application program interface to policy document | |
CN106648567B (en) | Data acquisition method and device | |
CN108228145A (en) | Data processing method, system and the mobile equipment of mixed type application program | |
CN108228193A (en) | Data capture method and device | |
AU2014412020A1 (en) | Techniques to transform network resource requests to zero rated network requests | |
CN111695060A (en) | Page switching method, device, equipment and storage medium | |
CN105786476A (en) | Data processing method and system based on mobile client and server |
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 | ||
CB02 | Change of applicant information |
Address after: 100080 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing Applicant after: Beijing Guoshuang Technology Co.,Ltd. Address before: 100086 Cuigong Hotel, 76 Zhichun Road, Shuangyushu District, Haidian District, Beijing Applicant before: Beijing Guoshuang Technology Co.,Ltd. |
|
CB02 | Change of applicant information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180629 |
|
RJ01 | Rejection of invention patent application after publication |