CN107145375A - Kernel loads method, device, system, user terminal and storage medium - Google Patents

Kernel loads method, device, system, user terminal and storage medium Download PDF

Info

Publication number
CN107145375A
CN107145375A CN201710442181.7A CN201710442181A CN107145375A CN 107145375 A CN107145375 A CN 107145375A CN 201710442181 A CN201710442181 A CN 201710442181A CN 107145375 A CN107145375 A CN 107145375A
Authority
CN
China
Prior art keywords
user terminal
kernel
intended application
loading
characteristic information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710442181.7A
Other languages
Chinese (zh)
Other versions
CN107145375B (en
Inventor
方巍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba China Co Ltd
Original Assignee
Guangzhou Alibaba Literature Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Alibaba Literature Information Technology Co Ltd filed Critical Guangzhou Alibaba Literature Information Technology Co Ltd
Priority to CN201710442181.7A priority Critical patent/CN107145375B/en
Publication of CN107145375A publication Critical patent/CN107145375A/en
Application granted granted Critical
Publication of CN107145375B publication Critical patent/CN107145375B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0736Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in functional embedded systems, i.e. in a data processing system designed as a combination of hardware and software dedicated to performing a certain function
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0736Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in functional embedded systems, i.e. in a data processing system designed as a combination of hardware and software dedicated to performing a certain function
    • G06F11/0742Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in functional embedded systems, i.e. in a data processing system designed as a combination of hardware and software dedicated to performing a certain function in a data processing system embedded in a mobile device, e.g. mobile phones, handheld devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Software Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the present invention provides a kind of kernel loads method, device, system, user terminal and storage medium, belong to mobile Internet field, the characteristic information for the first user terminal that the intended application that this method obtains the first user terminal by server is sent when start-up loading webpage first occurs abnormal, then the characteristic information of the first user terminal of acquisition is preserved, so as to when detecting the intended application startup with the characteristic information identical second user terminal of the first user terminal, the command information for carrying the second kernel of loading is sent to the intended application of second user terminal, the intended application of second user terminal is set to load the second kernel according to command information, so that the intended application of second user terminal can be loaded directly into the second kernel on startup, without reloading the first kernel, second user terminal is avoided because loading the problem of abnormal conditions occurs in webpage caused by loading the first kernel, improve Consumer's Experience.

Description

Kernel loads method, device, system, user terminal and storage medium
Technical field
The present invention relates to mobile Internet field, in particular to a kind of kernel loads method, device, system, user Terminal and storage medium.
Background technology
At present, user terminal is fitted with all kinds of applications substantially, in most cases, and these are applied when starting first, Some privately owned special kernels will be loaded, to reach some special rendering effects.And generally in test phase, can be at some Above-mentioned application is installed on the user terminal of type and above-mentioned applies private in loading with what the user terminal of test different types was installed Whether mistake occurs during the special kernel having.But, usual test resource, only can be whole to the users of some classifications than relatively limited End is all tested, it is possible that when can cause the user terminal of other non-category of tests operationally to state privately owned special kernel There is mistake, so as to bring poor experience to user.
The content of the invention
In view of this, the purpose of the embodiment of the present invention is to provide a kind of kernel loads method, device, system, user's end End and storage medium, to improve above mentioned problem.
In a first aspect, the embodiments of the invention provide a kind of kernel loads method, methods described includes:Server obtains the The feature for first user terminal that the intended application of one user terminal is sent when start-up loading webpage first occurs abnormal Information, wherein, the intended application of first user terminal loads the first kernel in the startup first;By acquisition The characteristic information of first user terminal is preserved, to detect the characteristic information phase with first user terminal When the intended application of same second user terminal starts, the command information for carrying the second kernel of loading is sent to described The intended application of second user terminal, makes the intended application of the second user terminal carry loading according to The command information of second kernel loads the second kernel.
Second aspect, the embodiments of the invention provide a kind of kernel loads method, methods described includes:Second user terminal Intended application send communication request to server on startup, wherein, it is whole that the communication request carries the second user The characteristic information at end;The intended application acquisition of the second user terminal is compared in the characteristic information of the second user terminal with waiting To the characteristic information command information for carrying the second kernel of loading that the server is sent when identical, wherein, it is described to be compared Characteristic information for the first user terminal the intended application when start-up loading webpage first occurs abnormal, to the server The characteristic information of first user terminal sent;The intended application of the second user terminal is carried according to The command information for loading the second kernel loads the second kernel.
The third aspect, the embodiments of the invention provide a kind of kernel loads method, methods described includes:First user terminal Intended application when start-up loading webpage first occurs abnormal, the feature for sending first user terminal to server is believed Breath, wherein, the intended application of first user terminal loads the first kernel when starting first;The server obtains described The characteristic information of first user terminal, and the characteristic information of first user terminal is preserved;The server is The command information for carrying the second kernel of loading is sent when the intended application of two user terminals starts to the second user terminal, Wherein, the characteristic information of the second user terminal is identical with the characteristic information of first user terminal;The second user The intended application of terminal obtains the command information for carrying the second kernel of loading that the server is sent, and is carried according to described The command information for having the second kernel of loading loads the second kernel.
Fourth aspect, the embodiments of the invention provide a kind of kernel loads device, runs on server, described device bag Include:Data obtaining module, the intended application for obtaining the first user terminal is sent out when start-up loading webpage first occurs abnormal The characteristic information of first user terminal sent, wherein, the intended application of first user terminal it is described first The first kernel is loaded during startup;Preserving module, for the characteristic information of first user terminal of acquisition to be preserved, with Just when detecting the intended application startup with the characteristic information identical second user terminal of first user terminal, The command information for carrying the second kernel of loading is sent to the intended application of the second user terminal, makes described second The command information that the intended application of user terminal carries the second kernel of loading according to loads the second kernel.
5th aspect, the embodiments of the invention provide a kind of kernel loads device, runs on second user terminal, the dress Put including:Request module is sent, the intended application for the second user terminal sends communication to server on startup please Ask, wherein, the communication request carries the characteristic information of the second user terminal;Instruction acquisition module, for obtaining The characteristic information of the second user terminal when identical with characteristic information to be compared the server send carry loading the The command information of two kernels, wherein, the characteristic information to be compared opens for the intended application of the first user terminal first When dynamic loading webpage occurs abnormal, the characteristic information of first user terminal sent to the server;Kernel loads mould Block, the command information for carrying the second kernel of loading according to loads the second kernel.
6th aspect, the embodiments of the invention provide a kind of kernel loads system, the system includes:First user is whole End, for intended application when start-up loading webpage first occurs abnormal, the spy of first user terminal is sent to server Reference ceases, wherein, the intended application of first user terminal loads the first kernel when starting first;The server, is used In the characteristic information of acquisition first user terminal, and the characteristic information of first user terminal is preserved;It is described Server, is additionally operable to send to the second user terminal in the intended application startup of second user terminal and carries loading the The command information of two kernels, wherein, the characteristic information of the characteristic information of the second user terminal and first user terminal It is identical;The second user terminal, for obtaining the command information for carrying the second kernel of loading that the server is sent, and Second kernel is loaded according to the command information for carrying the second kernel of loading.
7th aspect, the embodiments of the invention provide a kind of user terminal, the user terminal includes processor and deposited Reservoir, the memory is couple to the processor, the memory store instruction, when the instruction is by the computing device Shi Suoshu user terminals perform following operate:The intended application of the user terminal sends communication to server on startup please Ask, wherein, the communication request carries the characteristic information of the user terminal;Obtain the characteristic information in the user terminal What the server was sent carries the command information of the second kernel of loading when identical with characteristic information to be compared, wherein, it is described Characteristic information to be compared for the first user terminal the intended application when start-up loading webpage first occurs abnormal, to described The characteristic information for first user terminal that server is sent;Added according to the command information for carrying the second kernel of loading Carry the second kernel.
Eighth aspect, the embodiments of the invention provide a kind of read/write memory medium, the read/write memory medium storage In in computer, the read/write memory medium includes a plurality of instruction, and a plurality of instruction is configured so that computer is performed Above-mentioned kernel loads method.
The beneficial effect of the embodiment of the present invention is:
The embodiment of the present invention provides a kind of kernel loads method, device, system, user terminal and storage medium, passes through clothes Business device obtains first user that the intended application of the first user terminal is sent when start-up loading webpage first occurs abnormal The characteristic information of terminal, wherein, the intended application of first user terminal is loaded in first in the startup first Core, is then preserved the characteristic information of first user terminal of acquisition, to detect and first user When the intended application of the characteristic information identical second user terminal of terminal starts, the finger of the second kernel of loading will be carried Make information be sent to the intended application of the second user terminal, make the intended application root of the second user terminal The second kernel is loaded according to the command information for carrying the second kernel of loading, so that the intended application of second user terminal The second kernel can be loaded directly on startup, without reloading the first kernel, it is to avoid second user terminal is because of loading first The problem of abnormal conditions occurs in loading webpage caused by kernel, improves Consumer's Experience.
Other features and advantages of the present invention will be illustrated in subsequent specification, also, partly be become from specification It is clear that or by implementing understanding of the embodiment of the present invention.The purpose of the present invention and other advantages can be by saying for being write Specifically noted structure is realized and obtained in bright book, claims and accompanying drawing.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be attached to what is used required in embodiment Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, therefore is not construed as pair The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 is the schematic diagram that user terminal provided in an embodiment of the present invention is interacted with server;
Fig. 2 shows a kind of structured flowchart for the user terminal that can be applied in the embodiment of the present invention;
A kind of flow chart for kernel loads method that Fig. 3 provides for first embodiment of the invention;
A kind of flow chart for kernel loads method that Fig. 4 provides for second embodiment of the invention;
A kind of interaction diagrams for kernel loads method that Fig. 5 provides for third embodiment of the invention;
Fig. 6 is a kind of structured flowchart of kernel loads device provided in an embodiment of the present invention;
A kind of structured flowchart for kernel loads device that Fig. 7 provides for sixth embodiment of the invention;
A kind of structured flowchart for kernel loads system that Fig. 8 provides for seventh embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Ground is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Generally exist The component of the embodiment of the present invention described and illustrated in accompanying drawing can be arranged and designed with a variety of configurations herein.Cause This, the detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit claimed invention below Scope, but it is merely representative of the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not doing The every other embodiment obtained on the premise of going out creative work, belongs to the scope of protection of the invention.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined in individual accompanying drawing, then it further need not be defined and explained in subsequent accompanying drawing.Meanwhile, the present invention's In description, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that indicating or implying relative importance.
Fig. 1 is the schematic diagram that user terminal 10 provided in an embodiment of the present invention is interacted with server 20, the service Device 20 is communicatively coupled by network 30 with one or more user terminals 10, to enter row data communication or interaction.The clothes Business device 20 can be the webserver, database server etc..The user terminal 10 can be PC (personal Computer, PC), tablet personal computer, smart mobile phone, personal digital assistant (personal digital assistant, PDA), The terminals such as wearable device, in the present embodiment, the user terminal 10 can as the first user terminal in the present embodiment or Person's second user terminal, it is preferred that the first user terminal and second user terminal are smart mobile phone.
Fig. 2 shows a kind of structured flowchart for the user terminal 100 that can be applied in the embodiment of the present invention.As shown in Fig. 2 User terminal 100 includes memory 101, storage control 102, one or more (one is only shown in figure) processors 103, outer If interface 104, radio-frequency module 105, audio-frequency module 106, Touch Screen 107 etc..These components are total by one or more communication Line/signal wire 108 is mutually communicated.
The kernel loads method that memory 101 can be used in storage software program and module, such as embodiment of the present invention with And the corresponding programmed instruction/module of device, processor 103 is by running the software program and mould that are stored in memory 101 Block, so that various function application and data processing are performed, such as kernel loads method provided in an embodiment of the present invention.
Memory 101 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic Property storage device, flash memory or other non-volatile solid state memories.Processor 103 and other possible components are to storage The access of device 101 can be carried out under the control of storage control 102.
Various input/output devices are coupled to processor 103 and memory 101 by Peripheral Interface 104.In some implementations In example, Peripheral Interface 104, processor 103 and storage control 102 can be realized in one single chip.In some other reality In example, they can be realized by independent chip respectively.
Radio-frequency module 105 is used to receiving and sending electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, so that with Communication network or other equipment are communicated.
Audio-frequency module 106 provides a user COBBAIF, and it may include one or more microphones, one or more raises Sound device and voicefrequency circuit.
Touch Screen 107 provides an output and inputting interface simultaneously between user terminal 100 and user.Specifically, Touch Screen 107 shows video frequency output to user, and the contents of these video frequency outputs may include word, figure, video and its any Combination.
It is appreciated that the structure shown in Fig. 2 be only signal, user terminal 100 may also include it is more more than shown in Fig. 2 or Less component, or with the configuration different from shown in Fig. 2.Each component shown in Fig. 2 can using hardware, software or its Combination is realized.
In the embodiment of the present invention, client is installed in user terminal 100, the client can be that browser can also It is third-party application software, it is corresponding with server (Server) end, provide the user service, such as e-book reading service, For playing local document or e-book.
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Ground is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Generally exist The component of the embodiment of the present invention described and illustrated in accompanying drawing can be arranged and designed with a variety of configurations herein.Cause This, the detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit claimed invention below Scope, but it is merely representative of the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not doing The every other embodiment obtained on the premise of going out creative work, belongs to the scope of protection of the invention.
First embodiment
It refer to Fig. 3, a kind of flow chart for kernel loads method that Fig. 3 provides for first embodiment of the invention, the side Method runs on server, and methods described specifically includes following steps:
Step S110:Server obtains the intended application of the first user terminal when start-up loading webpage first occurs abnormal The characteristic information of first user terminal sent, wherein, the intended application of first user terminal is in the head The first kernel is loaded during secondary startup.
The intended application of first user terminal when starting first, can by network to server send communication request, For example, to server send http agreement requests, the server according to target from the communication request to first user terminal The command information for carrying the first kernel of loading using sending, so that the intended application of first user terminal refers to according to described Information is made to load the first kernel.
Wherein, the command information for carrying the first kernel of loading is the switchers field for including the first kernel title, and general In the case of, what the intended application of the first user terminal obtained that server sends when starting first includes opening for the first kernel title Field default on is closed, for example, the switchers field is expressed as out when being 1, i.e. the intended application of the first user terminal is opened first The first kernel of acquiescence loading when dynamic.
In the present embodiment, first kernel be UC kernels, UC kernels render performance, flow consumption and stability in terms of all With good performance, Consumer's Experience can be largely lifted, therefore, the intended application acquiescence on the first user terminal exists UC kernels are loaded when starting first, intended application is the application on the first user terminal, for example, book flag novel APP, then Book flag novel APP acquiescence loading UC kernels when starting first.
Wherein, there is abnormal situation including a variety of, for example, it may be white screen occur in the H5 pages that intended application is loaded Or in intended application Js injection unsuccessfully wait extremely.In the present embodiment, loading webpage appearance is abnormal refers to intended application institute The webpage of loading can not carry out information exchange with the first user terminal, and the acquisition of the abnormal conditions can be carried out by the following method Obtain, for example, book flag novel APP main page (such as:Bookstore, search page) carry out burying a detection, that is, webpage is being needed When performing javascript methods, got ready, whether record this method runs succeeded, if the webpage is performed When javascript methods are unsuccessful, show that webpage can not be communicated between the first user terminal, i.e., webpage can not pass through The first user terminal is adjusted back in javascript interactions, then the characteristic information of oneself is sent to server by the first user terminal.
Wherein, the characteristic information of the first user terminal includes model information, system version and the kernel of the first user terminal Information, if for example, the first user terminal is Huawei mate9, its model information is MHA-AL00, and system version is Android7.0, kernel information is 4.1 cores, is occurred in the intended application of the first user terminal in start-up loading webpage first abnormal When, then above- mentioned information is sent to server by the first user terminal.
Step S120:The characteristic information of first user terminal of acquisition is preserved, to detect and institute When the intended application for stating the characteristic information identical second user terminal of the first user terminal starts, loading the will be carried The command information of two kernels is sent to the intended application of the second user terminal, makes the described of the second user terminal The command information that intended application carries the second kernel of loading according to loads the second kernel.
The characteristic information for the first user terminal that server sends above-mentioned first user terminal of acquisition is preserved, so Afterwards, server obtains the communication request sent during the intended application startup of second user terminal by network, and the communication please The http agreement requests sent for second user terminal are sought, and the communication request carries the feature of second user terminal simultaneously Information, server obtains the characteristic information of the second user terminal after the communication request is received, and by the second user The characteristic information of first user terminal of the characteristic information of terminal with pre-saving is contrasted, if the spy of the second user terminal The characteristic information of first user terminal of the reference breath with pre-saving is identical, then according to the communication request to the second user The intended application of terminal sends the command information for carrying the second kernel of loading, so that the mesh of the second user terminal Mark application loads the second kernel according to the command information.
Wherein, the second kernel is that primary kernel, i.e. server carry loading the to what the second user terminal was sent The command information of two kernels, it can be understood as the switch that will include the switchers field of the title of the first kernel is closed, for example, this is opened Close and be expressed as closing when field is 0, then show the command information to load the command information of primary kernel.
Illustrated below by a specific example.
If the intended application installed in user terminal A is book flag novel, book flag novel can pass through when starting first Network sends communication request, i.e. http agreement requests to server, and at this moment server sends to the book flag novel of user terminal A and taken Command information with loading UC kernels, book flag novel carries out loading UC kernels, but may cause due to being loaded with UC kernels Webpage can not can not carry out information exchange by javascript interaction readjustment user terminal As, that is, webpage with user terminal A So that book flag novel carry out webpage loading when occur in that exception, then user terminal A then by the model information of oneself, be System version and kernel information are transmitted to server, if there have the book flag novel installed on multiple user terminals to occur in that to be above-mentioned different During reason condition, then these user terminals transmit the model information of oneself, system version and kernel information to server, service Device can obtain user terminal A and model information, system version and the kernel information of other multiple user terminals, and these are believed Breath is preserved;If the book flag novel at this moment installed on user terminal B starts, it can also first pass through network and send logical to server Letter request, while the communication request carries user terminal B model information, system version and kernel information, then server User terminal B model information, system version and kernel information and the user terminal A pre-saved and other multiple users is whole Model information, system version and the kernel information at end are compared, and one of which situation is, if user terminal B model information, System version and kernel information are identical with the model information of user terminal A, system version and kernel information, then represent user terminal B is same type user terminal with user terminal A, that is to say, that bright user terminal B book flag novel is carried out after loading UC kernels Also the abnormal conditions as user terminal A occur during loading webpage, so in order to prevent user terminal B from also occurring above-mentioned different Reason condition, the then communication request that server is sent according to user terminal B sends to user terminal B book flag novel and carries loading The command information of primary kernel so that user terminal B book flag novel loads primary kernel, and without reloading UC kernels, from And avoid and occur above-mentioned abnormal conditions again, it is ensured that the normal webpage loading of book flag novel.
First embodiment of the invention provides a kind of kernel loads method, and the target of the first user terminal is obtained by server The characteristic information of first user terminal sent when start-up loading webpage first occurs abnormal is applied, wherein, described the The intended application of one user terminal loads the first kernel in the startup first, then by first user of acquisition The characteristic information of terminal is preserved, to detect the characteristic information identical second user with first user terminal When the intended application of terminal starts, the command information for carrying the second kernel of loading is sent to the second user terminal The intended application, make the second user terminal the intended application carried according to loading the second kernel finger Information is made to load the second kernel, so that the intended application of second user terminal can be loaded directly into second on startup Core, without reloading the first kernel, it is to avoid second user terminal loaded caused by loading the first kernel webpage occur it is abnormal The problem of situation, improve Consumer's Experience.
Second embodiment
It refer to Fig. 4, a kind of flow chart for kernel loads method that Fig. 4 provides for second embodiment of the invention, the side Method runs on second user terminal, and methods described specifically includes following steps:
Step S210:The intended application of second user terminal sends communication request to server on startup, wherein, it is described Communication request carries the characteristic information of the second user terminal.
Step S220:The intended application of the second user terminal obtain characteristic information in the second user terminal with The characteristic information to be compared command information for carrying the second kernel of loading that the server is sent when identical, wherein, it is described to treat It is the intended application of the first user terminal when start-up loading webpage first occurs abnormal to compare characteristic information, to the clothes The characteristic information for first user terminal that business device is sent.
Step S230:The intended application of the second user terminal carries the finger of the second kernel of loading according to Information is made to load the second kernel.
The flow of the above-mentioned kernel loads method using second user terminal as executive agent may be referred to foregoing with clothes Business device is the flow of the kernel loads method of executive agent, is no longer excessively repeated herein.
Second embodiment of the invention provides a kind of kernel loads method, and the intended application of second user terminal first is starting When to server send communication request, wherein, the communication request carries the characteristic information of the second user terminal, then The application of second user terminal is obtained described in when the characteristic information of the second user terminal is identical with characteristic information to be compared What server was sent carries the command information of the second kernel of loading, wherein, the characteristic information to be compared is that the first user is whole The intended application at end is when start-up loading webpage first occurs abnormal, and first user sent to the server is whole The characteristic information at end, then, the intended application of the second user terminal carry the second kernel of loading according to Command information loads the second kernel, so that the intended application of second user terminal can be loaded directly into second on startup Core, without reloading the first kernel, it is to avoid second user terminal loaded caused by loading the first kernel webpage occur it is abnormal The problem of situation, improve Consumer's Experience.
3rd embodiment
It refer to Fig. 5, a kind of interaction timing diagram for kernel loads method that Fig. 5 provides for third embodiment of the invention, institute The method of stating specifically includes following steps:
Step 310:The intended application of first user terminal is sent out when start-up loading webpage first occurs abnormal to server The characteristic information of first user terminal is sent, wherein, the intended application of first user terminal is loaded when starting first First kernel.
Step S320:The server obtains the characteristic information of first user terminal, and whole to first user The characteristic information at end is preserved.
Step S330:The server is sent out when the intended application of second user terminal starts to the second user terminal The command information for carrying the second kernel of loading is sent, wherein, the characteristic information of the second user terminal and first user The characteristic information of terminal is identical.
Step S340:What the intended application acquisition server of the second user terminal was sent carries loading second The command information of kernel, and the second kernel is loaded according to the command information for carrying the second kernel of loading.
The interaction flow of above-mentioned kernel loads method may be referred to the foregoing kernel using server as executive agent and add The flow of support method, is no longer excessively repeated herein.
Third embodiment of the invention provides a kind of kernel loads method, and the intended application of the first user terminal is first first When start-up loading webpage occurs abnormal, the characteristic information of first user terminal is sent to server, wherein, described first uses The intended application of family terminal loads the first kernel when starting first, and then the server obtains first user terminal Characteristic information, and the characteristic information of first user terminal is preserved, mesh of the server in second user terminal The command information for carrying the second kernel of loading is sent when mark application starts to the second user terminal, wherein, described second The characteristic information of user terminal is identical with the characteristic information of first user terminal, the intended application of the second user terminal The command information for carrying the second kernel of loading that the server is sent is obtained, and the second kernel of loading is carried according to described Command information load the second kernel so that the intended application of second user terminal can be loaded directly into second on startup Kernel, without reloading the first kernel, it is to avoid second user terminal loaded caused by loading the first kernel webpage occur it is different The problem of reason condition, improve Consumer's Experience.
Fourth embodiment
Fig. 6 is refer to, Fig. 6 is a kind of structured flowchart of kernel loads device 200 provided in an embodiment of the present invention, the dress Put and run on server, described device includes:
Data obtaining module 210, the intended application for obtaining the first user terminal occurs in start-up loading webpage first The characteristic information of first user terminal sent when abnormal, wherein, the intended application of first user terminal exists The first kernel is loaded during the startup first.
Preserving module 220, for the characteristic information of first user terminal of acquisition to be preserved, so as in detection During to the startup of the intended application of the characteristic information identical second user terminal of first user terminal, it will carry The command information for loading the second kernel is sent to the intended application of the second user terminal, makes the second user terminal The intended application carried according to loading the second kernel command information load the second kernel.
Wherein, the characteristic information of first user terminal includes the model information of first user terminal, system version This information and kernel information.
As a kind of embodiment, described device also includes:
First acquisition request module, for obtaining the communication that the intended application of the first user terminal is sent when starting first Request.
First instruction sending module, for being sent according to the communication request to the intended application of first user terminal The command information of the first kernel of loading is carried, so that the intended application of first user terminal adds according to the command information Carry the first kernel.
Second acquisition request module, what is sent for obtaining when the intended application of the second user terminal starts is logical Letter request, wherein, the characteristic information of the second user terminal is identical with the characteristic information of first user terminal.
Second instruction sending module, for being sent according to the communication request to the intended application of the second user terminal The command information of the second kernel of loading is carried, so that the intended application of the second user terminal carries loading according to The command information of second kernel loads the second kernel.
Wherein, first kernel is UC kernels, and second kernel is primary kernel.
5th embodiment
It refer to Fig. 7, a kind of structured flowchart for kernel loads device 300 that Fig. 7 provides for sixth embodiment of the invention, institute Plant running is stated in second user terminal, described device includes:
Request module 310 is sent, the intended application for the second user terminal 310 is sent to server on startup Communication request, wherein, the communication request carries the characteristic information of the second user terminal 310.
Instruction acquisition module 320, the characteristic information for obtaining in the second user terminal 310 is believed with feature to be compared The manner of breathing command information for carrying the second kernel of loading that the server is sent simultaneously, wherein, the characteristic information to be compared For the first user terminal the intended application when start-up loading webpage first occurs abnormal, the institute sent to the server State the characteristic information of the first user terminal.
Kernel loads module 330, the command information for carrying the second kernel of loading according to loads the second kernel.
7th embodiment
It refer to Fig. 8, a kind of structured flowchart for kernel loads system 400 that Fig. 8 provides for seventh embodiment of the invention, institute The system of stating is specifically included:
First user terminal 410, for intended application when start-up loading webpage first occurs abnormal, to server 420 The characteristic information of first user terminal 410 is sent, wherein, the intended application of first user terminal 410 is opened first The first kernel is loaded when dynamic.
The server 420, the characteristic information for obtaining first user terminal 410, and to first user The characteristic information of terminal 410 is preserved.
The server 420, is additionally operable to whole to the second user in the intended application startup of second user terminal 430 End 430 sends the command information for carrying the second kernel of loading, wherein, the characteristic information of the second user terminal 430 and institute The characteristic information for stating the first user terminal 410 is identical.
The second user terminal 430, for obtaining the finger for carrying the second kernel of loading that the server 420 is sent Information is made, and the second kernel is loaded according to the command information for carrying the second kernel of loading.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the device of foregoing description With the specific work process of system, the corresponding process in preceding method is may be referred to, is no longer excessively repeated herein.
In summary, the embodiment of the present invention provides a kind of kernel loads method, device, system, user terminal and storage and is situated between Matter, described in the intended application for obtaining the first user terminal by server is sent when start-up loading webpage first occurs abnormal The characteristic information of first user terminal, wherein, the intended application of first user terminal adds in the startup first Carry the first kernel, then preserved the characteristic information of first user terminal of acquisition, so as to detect with it is described When the intended application of the characteristic information identical second user terminal of first user terminal starts, loading second will be carried The command information of kernel is sent to the intended application of the second user terminal, makes the mesh of the second user terminal The command information that mark application carries the second kernel of loading according to loads the second kernel, so that second user terminal Intended application can be loaded directly into the second kernel on startup, without reloading the first kernel, it is to avoid second user terminal because The problem of abnormal conditions occurs in the caused loading webpage of the first kernel is loaded, Consumer's Experience is improved.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it can also pass through Other modes are realized.Device embodiment described above is only schematical, for example, flow chart and block diagram in accompanying drawing Show according to the device of multiple embodiments of the present invention, the architectural framework in the cards of method and computer program product, Function and operation.At this point, each square frame in flow chart or block diagram can represent the one of a module, program segment or code Part a, part for the module, program segment or code is used to realize holding for defined logic function comprising one or more Row instruction.It should also be noted that in some implementations as replacement, the function of being marked in square frame can also with different from The order marked in accompanying drawing occurs.For example, two continuous square frames can essentially be performed substantially in parallel, they are sometimes It can perform in the opposite order, this is depending on involved function.It is also noted that every in block diagram and/or flow chart The combination of individual square frame and block diagram and/or the square frame in flow chart, can use the special base for performing defined function or action Realize, or can be realized with the combination of specialized hardware and computer instruction in the system of hardware.
In addition, each functional module in each embodiment of the invention can integrate to form an independent portion Point or modules individualism, can also two or more modules be integrated to form an independent part.
If the function is realized using in the form of software function module and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.Need Illustrate, herein, such as first and second or the like relational terms be used merely to by an entity or operation with Another entity or operation make a distinction, and not necessarily require or imply between these entities or operation there is any this reality The relation or order on border.Moreover, term " comprising ", "comprising" or its any other variant are intended to the bag of nonexcludability Contain, so that process, method, article or equipment including a series of key elements are not only including those key elements, but also including Other key elements being not expressly set out, or also include for this process, method, article or the intrinsic key element of equipment. In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including the key element Process, method, article or equipment in also there is other identical element.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.It should be noted that:Similar label and letter exists Similar terms is represented in following accompanying drawing, therefore, once being defined in a certain Xiang Yi accompanying drawing, is then not required in subsequent accompanying drawing It is further defined and explained.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality Body or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or deposited between operating In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to Nonexcludability is included, so that process, method, article or equipment including a series of key elements not only will including those Element, but also other key elements including being not expressly set out, or also include being this process, method, article or equipment Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that Also there is other identical element in process, method, article or equipment including the key element.

Claims (16)

1. a kind of kernel loads method, it is characterised in that methods described includes:
The intended application that server obtains the first user terminal sent when start-up loading webpage first occurs abnormal described the The characteristic information of one user terminal, wherein, the intended application of first user terminal is loaded in the startup first First kernel;
The characteristic information of first user terminal of acquisition is preserved, to detect and first user terminal Characteristic information identical second user terminal the intended application start when, will carry loading the second kernel instruction letter Breath is sent to the intended application of the second user terminal, makes the intended application of the second user terminal according to institute State command information the second kernel of loading for carrying the second kernel of loading.
2. according to the method described in claim 1, it is characterised in that the characteristic information of first user terminal includes described the Model information, system version information and the kernel information of one user terminal.
3. according to the method described in claim 1, it is characterised in that server obtains the intended application of the first user terminal in head Before the step of there is the characteristic information of abnormal first user terminal sent in secondary start-up loading webpage, in addition to:
Server obtains the communication request that the intended application of the first user terminal is sent when starting first;
The server sends to the intended application of first user terminal according to the communication request and carries loading first The command information of kernel, so that the intended application of first user terminal loads the first kernel according to the command information.
4. method according to claim 3, it is characterised in that enter the characteristic information of first user terminal of acquisition After the step of row is preserved, in addition to:
The communication request that the intended application that the server obtains the second user terminal is sent when starting, wherein, institute The characteristic information for stating second user terminal is identical with the characteristic information of first user terminal;
The instruction for carrying the second kernel of loading is sent to the intended application of the second user terminal according to the communication request Information, so that the intended application of the second user terminal carries the command information loading the of the second kernel of loading according to Two kernels.
5. method according to claim 4, it is characterised in that first kernel is UC kernels, second kernel is Primary kernel.
6. a kind of kernel loads method, it is characterised in that methods described includes:
The intended application of second user terminal sends communication request to server on startup, wherein, the communication request is carried There is the characteristic information of the second user terminal;
The intended application of the second user terminal obtains the characteristic information and feature to be compared letter in the second user terminal The manner of breathing command information for carrying the second kernel of loading that the server is sent simultaneously, wherein, the characteristic information to be compared For the first user terminal the intended application when start-up loading webpage first occurs abnormal, the institute sent to the server State the characteristic information of the first user terminal;
The intended application of the second user terminal carries the command information loading the of the second kernel of loading according to Two kernels.
7. a kind of kernel loads method, it is characterised in that methods described includes:
The intended application of first user terminal sends described first when start-up loading webpage first occurs abnormal, to server and used The characteristic information of family terminal, wherein, the intended application of first user terminal loads the first kernel when starting first;
The server obtains the characteristic information of first user terminal, and the characteristic information of first user terminal is entered Row is preserved;
The server sends to the second user terminal when the intended application of second user terminal starts and carries loading The command information of second kernel, wherein, the characteristic of the characteristic information of the second user terminal and first user terminal is believed Manner of breathing is same;
The intended application of the second user terminal obtains the instruction letter for carrying the second kernel of loading that the server is sent Breath, and the second kernel is loaded according to the command information for carrying the second kernel of loading.
8. a kind of kernel loads device, it is characterised in that run on server, described device includes:
Data obtaining module, the intended application for obtaining the first user terminal is sent out when start-up loading webpage first occurs abnormal The characteristic information of first user terminal sent, wherein, the intended application of first user terminal it is described first The first kernel is loaded during startup;
Preserving module, for the characteristic information of first user terminal of acquisition to be preserved, to detect and institute When the intended application for stating the characteristic information identical second user terminal of the first user terminal starts, loading the will be carried The command information of two kernels is sent to the intended application of the second user terminal, makes the described of the second user terminal The command information that intended application carries the second kernel of loading according to loads the second kernel.
9. device according to claim 8, it is characterised in that the characteristic information of first user terminal includes described the Model information, system version information and the kernel information of one user terminal.
10. device according to claim 9, it is characterised in that described device also includes:
First acquisition request module, please for obtaining the communication that the intended application of the first user terminal is sent when starting first Ask;
First instruction sending module, is carried for being sent according to the communication request to the intended application of first user terminal There is the command information of the first kernel of loading, so that the intended application of first user terminal is according to command information loading the One kernel.
11. device according to claim 10, it is characterised in that described device also includes:
Second acquisition request module, please for obtaining the communication sent when the intended application of the second user terminal starts Ask, wherein, the characteristic information of the second user terminal is identical with the characteristic information of first user terminal;
Second instruction sending module, is carried for being sent according to the communication request to the intended application of the second user terminal There is the command information of the second kernel of loading, so that the intended application of the second user terminal carries loading second according to The command information of kernel loads the second kernel.
12. device according to claim 11, it is characterised in that first kernel is UC kernels, second kernel For primary kernel.
13. a kind of kernel loads device, it is characterised in that run on second user terminal, described device includes:
Request module is sent, the intended application for the second user terminal sends communication request to server on startup, Wherein, the communication request carries the characteristic information of the second user terminal;
Instruction acquisition module, for obtaining the characteristic information when institute identical with characteristic information to be compared in the second user terminal The command information for carrying the second kernel of loading of server transmission is stated, wherein, the characteristic information to be compared is the first user The intended application of terminal is when start-up loading webpage first occurs abnormal, first user sent to the server The characteristic information of terminal;
Kernel loads module, the command information for carrying the second kernel of loading according to loads the second kernel.
14. a kind of kernel loads system, it is characterised in that the system includes:
First user terminal, for intended application when start-up loading webpage first occurs abnormal, described the is sent to server The characteristic information of one user terminal, wherein, the intended application of first user terminal loads the first kernel when starting first;
The server, the characteristic information for obtaining first user terminal, and to the characteristic of first user terminal Information is preserved;
The server, is additionally operable to send carrying to the second user terminal in the intended application startup of second user terminal There is the command information of the second kernel of loading, wherein, the characteristic information of the second user terminal and first user terminal Characteristic information is identical;
The second user terminal, for obtaining the command information for carrying the second kernel of loading that the server is sent, and Second kernel is loaded according to the command information for carrying the second kernel of loading.
15. a kind of user terminal, it is characterised in that the user terminal includes processor and memory, the memory coupling Be connected to the processor, the memory store instruction, when executed by the processor the user terminal hold Row is following to be operated:
The intended application of the user terminal sends communication request to server on startup, wherein, the communication request is carried There is the characteristic information of the user terminal;
What acquisition server when the characteristic information of the user terminal is identical with characteristic information to be compared was sent carries The command information of the second kernel is loaded, wherein, the characteristic information to be compared exists for the intended application of the first user terminal When start-up loading webpage occurs abnormal first, the characteristic information of first user terminal sent to the server;
Second kernel is loaded according to the command information for carrying the second kernel of loading.
16. a kind of read/write memory medium, it is characterised in that the read/write memory medium is stored in computer, it is described can Reading storage medium includes a plurality of instruction, and a plurality of instruction is configured so that computer is performed as claim 1-5 is any Item methods described.
CN201710442181.7A 2017-06-12 2017-06-12 Kernel loading method, device, system, user terminal and storage medium Active CN107145375B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710442181.7A CN107145375B (en) 2017-06-12 2017-06-12 Kernel loading method, device, system, user terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710442181.7A CN107145375B (en) 2017-06-12 2017-06-12 Kernel loading method, device, system, user terminal and storage medium

Publications (2)

Publication Number Publication Date
CN107145375A true CN107145375A (en) 2017-09-08
CN107145375B CN107145375B (en) 2021-08-06

Family

ID=59781314

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710442181.7A Active CN107145375B (en) 2017-06-12 2017-06-12 Kernel loading method, device, system, user terminal and storage medium

Country Status (1)

Country Link
CN (1) CN107145375B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108549552A (en) * 2018-03-28 2018-09-18 腾讯科技(深圳)有限公司 A kind of kernel loads method, apparatus and storage medium
CN108776601A (en) * 2018-06-05 2018-11-09 平安壹钱包电子商务有限公司 Loading method, device, equipment and the storage medium of the Android H5 pages

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102467565A (en) * 2010-11-19 2012-05-23 奇智软件(北京)有限公司 Browser kernel switching method
CN104965723A (en) * 2014-10-09 2015-10-07 腾讯科技(深圳)有限公司 Application program operation method and apparatus
CN105302711A (en) * 2014-07-09 2016-02-03 腾讯科技(深圳)有限公司 Application repairing method and apparatus and terminal
US20160283606A1 (en) * 2013-09-17 2016-09-29 Beijing Qihoo Technology Company Limited Method for performing webpage loading, device and browser thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102467565A (en) * 2010-11-19 2012-05-23 奇智软件(北京)有限公司 Browser kernel switching method
US20160283606A1 (en) * 2013-09-17 2016-09-29 Beijing Qihoo Technology Company Limited Method for performing webpage loading, device and browser thereof
CN105302711A (en) * 2014-07-09 2016-02-03 腾讯科技(深圳)有限公司 Application repairing method and apparatus and terminal
CN104965723A (en) * 2014-10-09 2015-10-07 腾讯科技(深圳)有限公司 Application program operation method and apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108549552A (en) * 2018-03-28 2018-09-18 腾讯科技(深圳)有限公司 A kind of kernel loads method, apparatus and storage medium
CN108549552B (en) * 2018-03-28 2022-09-09 腾讯科技(深圳)有限公司 Kernel loading method and device and storage medium
CN108776601A (en) * 2018-06-05 2018-11-09 平安壹钱包电子商务有限公司 Loading method, device, equipment and the storage medium of the Android H5 pages
CN108776601B (en) * 2018-06-05 2024-04-05 平安壹钱包电子商务有限公司 Android H5 page loading method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN107145375B (en) 2021-08-06

Similar Documents

Publication Publication Date Title
US11036820B2 (en) Page loading method and electronic device
CN106250464B (en) Training method and device of ranking model
CN108391009A (en) Display methods, device, storage medium and the electronic equipment of five application page
CN106941567A (en) Show method, device and the user terminal of network picture
CN108280119A (en) Page generation method, device and user terminal
CN106503111B (en) Webpage code-transferring method, device and client terminal
US20160132706A1 (en) Method and apparatus for mobile terminal to process visual graphics code
CN106886544A (en) A kind of data processing method and device
US10235030B2 (en) Electronic device and user interface display method for the same
WO2014154033A1 (en) Method and apparatus for extracting web page content
CN107578659A (en) Generation method, generating means and the terminal of electronics topic
CN107862352A (en) A kind of Quick Response Code sharing method and Quick Response Code share equipment
CN106991179A (en) Data-erasure method, device and mobile terminal
US12008604B2 (en) Ad simulator browser extension
CN110363206B (en) Clustering of data objects, data processing and data identification method
US11074646B1 (en) Dynamically selecting an image for display
US9460163B1 (en) Configurable extractions in social media
CN107145375A (en) Kernel loads method, device, system, user terminal and storage medium
CN111324725B (en) Topic acquisition method, terminal and computer readable storage medium
CN112989210A (en) Insurance recommendation method, system, equipment and medium based on health portrait
CN107436836A (en) The processing method and relevant device of a kind of journal file
US9230022B1 (en) Customizable result sets for application program interfaces
CN108510007A (en) A kind of webpage tamper detection method, device, electronic equipment and storage medium
CN110262856B (en) Application program data acquisition method, device, terminal and storage medium
CN107463379A (en) Interface switching method and device, computer installation 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
TA01 Transfer of patent application right

Effective date of registration: 20200522

Address after: 310051 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 510000 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping square B radio tower 13 layer 03 (the limit of unit self home office function)

Applicant before: GUANGZHOU ALIBABA LITERATURE INFORMATION TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant