CN113504854A - Display method and device thereof - Google Patents

Display method and device thereof Download PDF

Info

Publication number
CN113504854A
CN113504854A CN202110772820.2A CN202110772820A CN113504854A CN 113504854 A CN113504854 A CN 113504854A CN 202110772820 A CN202110772820 A CN 202110772820A CN 113504854 A CN113504854 A CN 113504854A
Authority
CN
China
Prior art keywords
kernel
display
input
target
application program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110772820.2A
Other languages
Chinese (zh)
Inventor
王峻辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Hangzhou Co Ltd
Original Assignee
Vivo Mobile Communication Hangzhou 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 Vivo Mobile Communication Hangzhou Co Ltd filed Critical Vivo Mobile Communication Hangzhou Co Ltd
Priority to CN202110772820.2A priority Critical patent/CN113504854A/en
Publication of CN113504854A publication Critical patent/CN113504854A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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/451Execution arrangements for user interfaces

Abstract

The application discloses a display method, a display device, electronic equipment and a storage medium, and belongs to the technical field of electronics. The display method comprises the following steps: receiving a first input of a user, wherein the first input is an operation of requesting a target interface to be displayed by the user; responding to the first input, and displaying a first target picture or calling a second kernel to display a target interface under the condition that the display of the target interface fails due to the abnormality of a first kernel of a first application program in the electronic equipment; the content of the first target picture comprises the target interface, the second kernel is a kernel of a second application program in the electronic equipment, and the second application program is different from the first application program.

Description

Display method and device thereof
Technical Field
The application belongs to the technical field of electronics, and particularly relates to a display method and a display device.
Background
Nowadays, electronic devices are becoming more and more popular, and users can use various applications in the electronic devices to complete daily life, such as browsing news, shopping, etc.
The interface of part of application programs needs to be opened depending on the kernel, and under the condition of kernel failure, the interface of the application program cannot be opened, so that the application program is crashed, a user cannot continue to operate, and the problem in the prior art is not solved in time temporarily.
Disclosure of Invention
The embodiment of the application aims to provide a display method and a display device, which can solve the problem that a user cannot continue to operate after a kernel fails.
In a first aspect, an embodiment of the present application provides a display method, where the method includes:
receiving a first input of a user, wherein the first input is an operation of requesting a target interface to be displayed by the user;
responding to the first input, and displaying a first target picture or calling a second kernel to display a target interface under the condition that the display of the target interface fails due to the abnormality of a first kernel of a first application program in the electronic equipment;
the content of the first target picture comprises the target interface, the second kernel is a kernel of a second application program in the electronic equipment, and the second application program is different from the first application program.
In a second aspect, an embodiment of the present application provides a display device, including:
the first receiving module is used for receiving a first input of a user, wherein the first input is an operation of requesting a target interface to be displayed by the user;
the first display module is used for responding to the first input, and displaying a first target picture or calling a second kernel to display a target interface under the condition that the display of the target interface fails due to the abnormality of a first kernel of a first application program in the electronic equipment;
the content of the first target picture comprises the target interface, the second kernel is a kernel of a second application program in the electronic equipment, and the second application program is different from the first application program.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, when the target interface cannot be opened due to the kernel failure of the first application program, the kernels of other application programs in the electronic device are called, the target interface is opened by relying on the kernels of the other application programs or the target interface is directly displayed through pictures, so that the user can still normally browse the target interface after the kernel failure of the first application program, and the user behavior can still be normally executed.
Drawings
Fig. 1 is a schematic flow chart of a display method provided in an embodiment of the present application;
FIG. 2 is a second schematic flowchart of a display method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a display device provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The display method and the display device provided by the embodiment of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 is a schematic flow chart of a display method provided in an embodiment of the present application, and as shown in fig. 1, the method includes the following steps:
step 100, receiving a first input of a user, wherein the first input is an operation of requesting a target interface to be displayed by the user;
step 110, in response to the first input, displaying a first target picture or calling a second kernel to display a target interface when a first kernel of a first application program in the electronic device is abnormal to cause a failure in displaying the target interface;
the content of the first target picture comprises the target interface, the second kernel is a kernel of a second application program in the electronic equipment, and the second application program is different from the first application program.
Alternatively, users often browse web page contents through some applications, such as browser-type applications, or browse news contents through news-type applications, or preempt coupon shopping through some shopping-type applications; in the process of implementing these functions, the electronic device generally needs to open at least one interface, for example, one or more web pages, and displaying the content of the similar interface is generally implemented by depending on the kernel of the application program corresponding to the interface.
For example, the browser in the Android mobile phone system is a Google chrome kernel depending on the Android mobile phone when displaying the interface, and the browser in the IOS mobile phone system is a Safari kernel depending on the IOS mobile phone when displaying the interface.
Once the kernel of the electronic device has a problem, the interface that the user needs to browse cannot be opened, and even the corresponding application program crashes, so that a solution when the kernel of the application program is abnormal becomes a key point for improving the use experience of the electronic device.
Once an existing kernel in an electronic device, such as a kernel of a mobile phone browser, is abnormal, an application program that relies on the abnormal kernel to perform interface display may not be normally used, and only a system of the electronic device can be waited to release a new version, and the process of waiting for the release and update of the new version may affect normal use of the electronic device by a user, thereby reducing user experience.
Optionally, the embodiment of the application may optimize a scenario in which a kernel of a first application in the electronic device is abnormal and an upper application interface cannot be opened, that is, a target interface cannot be opened, or the first application is crashed.
Optionally, under the condition that it is determined that the user needs to display the target interface by receiving the first input of the user, if the first kernel of the first application program in the electronic device is abnormal and causes the target interface to be unable to be opened or the first application program to crash, the electronic device may detect whether there are kernels of other application programs besides the faulty kernel, and if so, may automatically bridge the first application program to the second kernel of the second application program having the kernels, that is, the system calls the second kernel to ensure that the target interface is normally displayed, where the second application program is different from the first application program;
optionally, bridging the first application to the second kernel may be a system call to the second kernel, so that the second kernel implements a task of loading the target interface on behalf of the first application.
Optionally, the anomalous kernel of the first application may include a first kernel;
optionally, the application programs corresponding to the kernel without exception, which the first application program may bridge, may be collectively referred to as the second application program.
Alternatively, the kernel displaying the success of the target interface after the bridging of the first application program is successful may be referred to as a second kernel.
Optionally, when the first kernel of the first application program in the electronic device is abnormal and causes that the target interface cannot be opened or the first application program crashes, after the electronic device converts the target interface into the first target picture through the server of the first application program, the electronic device sends the first target picture to the picture loading library of the electronic device to render the first target picture, and then displays the rendered first target picture.
According to the embodiment of the application, the target can be normally opened when the first kernel of the first application program in the electronic device is abnormal through the two schemes, so that the use experience of a user is improved.
For example, assuming that the electronic device is a mobile phone, the first application program is a browser of the mobile phone, the corresponding kernel is a kernel of the mobile phone, and in the process of opening a web page in the browser of the mobile phone, the kernel of the browser that the Android mobile phone depends on is abnormal, for example, the browser of the Android mobile phone depends on the kernel of the mobile phone, the other browser depends on the kernel developed by the other browser, and the web page is switched between the two to cause a white screen display of the web page, and even cause a crash of the browser of the mobile phone, and after capturing the abnormality by the mobile phone, the mobile phone detects that the kernel core1 of other applications exists in addition to the kernel core0 of the mobile phone, and can automatically bridge the loading display of the web page to the core1 to ensure that the target interface is normally opened.
If the loading display of the webpage is bridged to the core1, the webpage still fails to display, or the continuous bridging and the display fails for multiple times, or the mobile phone can actively send information to the own browser server directly after capturing the abnormity, and the own browser server can automatically convert the webpage into pictures and send the pictures to the mobile phone for display.
The embodiment of the application provides a method for converting a webpage into a picture by bridging kernels of other applications or sending information to a webpage server and sending the picture to a mobile phone end to render the page through a mobile phone end picture loading library when an inner core of a browser of the mobile phone is abnormal. The method effectively avoids the problem that the application webpage can not be opened or even the application is crashed when the kernel of the browser of the mobile phone is abnormal, and ensures that the user can browse the content desired by the user, thereby improving the use experience of the user.
According to the method and the device, the defects that the target interface fails to be opened or the first application program is broken down due to the fact that the kernel which the first application program depends on is abnormal can be effectively overcome through bridging the second kernel or the target interface, the target interface is effectively displayed for the user, the user behavior is guaranteed to be continuously developed, and user experience is greatly improved. In the embodiment of the application, when the target interface cannot be opened due to the kernel failure of the first application program, the kernels of other application programs in the electronic device are called, the target interface is opened by relying on the kernels of the other application programs or the target interface is directly displayed through pictures, so that the user can still normally browse the target interface after the kernel failure of the first application program, and the user behavior can still be normally executed.
Optionally, the invoking the second kernel to display the target interface includes:
and determining to call a second kernel to display the target interface under the condition that the total kernel number of all application programs in the electronic equipment is greater than 1.
Optionally, when the first kernel of the first application program in the electronic device is abnormal and causes that the target interface cannot be opened or the first application program is crashed, the electronic device may detect whether there are kernels of other application programs besides the failed kernel by determining a total number of kernels of all application programs in the electronic device, and if the total number of kernels of all application programs in the electronic device is greater than 1, it may be determined that the electronic device includes other kernels besides the currently abnormal first kernel, so that it may be determined that the second kernel is accessed, and the target interface is ensured to be normally displayed.
For example, assuming that the electronic device is a mobile phone, the first application program is a browser of the mobile phone, the corresponding kernel is a kernel of the mobile phone, when a webpage in the browser of the mobile phone is opened, the kernel of the browser which the mobile phone depends on is abnormal, and after the abnormality is captured by the mobile phone, the total kernel value sum of all application programs in the current mobile phone can be automatically detected.
If the mobile phone judges that the total kernel numerical value sum is greater than 1, the browser of the mobile phone can be automatically bridged to another kernel, for example, if a user is currently using the browser of the mobile phone to open a webpage, and meanwhile, the mobile phone of the user is provided with another browser App, the kernel which the browser of the mobile phone depends on is bridged to the kernel of the another browser App, and vice versa.
Optionally, the total core value sum inside the electronic device may be detected when the electronic device is powered on, and the total core value sum may be directly obtained during the operation of the subsequent electronic device.
According to the embodiment of the application, the second kernel is determined to be accessed under the condition that the total number of the kernels of all the application programs in the electronic equipment is greater than 1, the target interface can be normally displayed in the first application program, the target interface can normally receive the input of a user and execute corresponding functions, for the user, the operation before abnormity occurs is not different, the inconvenience in operation caused by faults can be avoided, and the user experience is greatly improved.
Optionally, the method further comprises:
under the condition that a third application program with a kernel is newly added to the electronic equipment, increasing the total number of the kernels based on the number of the kernels of the third application program;
in the case that the electronic device uninstalls a fourth application program with a kernel, the total number of kernels is reduced based on the number of kernels of the fourth application program.
Optionally, in order to ensure the accuracy of the total core value sum, when an application program is newly installed or updated or uninstalled, the electronic device may update the total core value sum at the same time, so as to ensure that the total core value sum obtained each time is accurate.
Optionally, when a third application is newly installed in the electronic device and the third application has a kernel, or the third application installed in the electronic device does not originally have a kernel but is updated with N kernels, or the third application installed in the electronic device originally has N kernels but is updated with N kernels, the electronic device may detect the newly added kernel, and increase the total kernel value sum based on the number of the newly added kernels, for example, when an application is newly installed and has a kernel, the total kernel value sum may be increased by one.
Optionally, when the fourth application is uninstalled in the electronic device and the fourth application has a kernel, or the fourth application installed in the electronic device originally has a kernel but no kernel is not provided after the update, or the fourth application installed in the electronic device originally has M kernels but the kernel is reduced after the update, the electronic device may detect the reduced kernel, and may reduce the total kernel value sum based on the reduced number of kernels, for example, uninstalling an application and having a kernel, and the total kernel value sum may be reduced by one.
For example, assuming that the electronic device is a mobile phone, when the mobile phone has a task of installing or uninstalling an application program, the mobile phone may detect whether the corresponding application has its own browser kernel again, and further perform an operation of increasing or decreasing the total kernel sum, so as to ensure that the mobile phone records the correct total kernel sum all the time.
The browser kernel of the mobile phone cannot be uninstalled, so that sum > can be ensured to be 1.
Optionally, the determining to invoke the second kernel to display the target interface further includes:
determining at least one second application program based on a quality value of a kernel of the second application program;
wherein the quality value is used to indicate a success rate of accessing a kernel of the second application.
Optionally, after determining to access the second core, if there are multiple cores that can be bridged, determining that one of the cores that is bridged is the second core based on quality values of the multiple cores that can be bridged.
Optionally, the kernel of the at least one second application may comprise a kernel to which all or part of the first application may bridge.
Optionally, the kernel of each application program may correspond to a quality value, and the quality value may be recorded in the mobile phone to represent a success rate of the kernel when the kernel is used to open the interface, where the higher the success rate of the kernel when the kernel is used to open the interface is, the higher the quality value of the kernel is, and the lower the success rate of the kernel when the kernel is used to open the interface is, the lower the quality value of the kernel is; i.e. the quality value is used to indicate the success rate of accessing the kernel of the second application. According to the method and the device for displaying the target interface, the second kernel is determined based on the quality value of the kernel of at least one second application program, bridging to the kernel with high success rate of the displayed target interface can be guaranteed, and therefore bridging effectiveness is guaranteed.
Optionally, the determining the second kernel based on a quality value of a kernel of at least one second application includes:
and determining the second kernel as the kernel with the highest quality value in the kernels of the at least one second application program.
Optionally, in order to ensure that the target interface is displayed more efficiently, each time the second kernel to be bridged by the first application is determined, the kernel with the highest quality value in the kernels of the at least one second application is determined as the second kernel.
Optionally, when recording the quality values of the kernels of at least one second application, the kernels of the second applications may be sorted based on the order of the quality values from large to small or from small to large.
Alternatively, the sorted cores may be embodied by a reference table of core bridging orders, and a core with a high quality value may be preferentially selected for bridging.
According to the method and the device, the effectiveness of bridging and the stability of target interface display are guaranteed by maintaining the kernel with the highest access quality value.
Optionally, the determining to access the second kernel includes:
and under the condition that the target interface is displayed after the second kernel which is determined currently is called and fails, re-determining the second kernel.
Optionally, after the first application program successfully bridges the currently determined second kernel but fails to display the target interface, determining one kernel as the bridged second kernel again from the kernels of the at least one second application program;
for example, if the currently determined second kernel is the kernel with the highest quality in the reference table of the kernel bridging order, when the second kernel is re-determined, the kernel with the second highest quality in the reference table may be determined as the second kernel to be bridged, and so on until the target interface is successfully displayed or the maximum threshold of the number of bridging times is reached. The embodiment of the application provides that when the second kernel is called to display the target interface and fails, the second kernel is immediately determined again and is bridged, so that the pause and delay of interface display caused by faults can be shortened as much as possible, the successful display of the target interface can be further ensured, and the continuity of user behaviors is ensured.
Optionally, the method further comprises:
reducing the quality value of the currently determined second kernel under the condition that the calling of the currently determined second kernel to display the target interface fails;
and under the condition that the target interface is successfully displayed by calling the currently determined second kernel, increasing the quality value of the currently determined second kernel.
Optionally, in order to ensure the validity of the quality value of the kernel of the second application program, after each time a certain kernel is bridged, the quality value of the kernel may be updated based on the display condition of the target interface;
for example, after accessing the currently determined second kernel, if the target interface is successfully displayed, the value of the quality of the currently determined second kernel may be increased by one;
for example, after accessing the currently determined second kernel, if the target interface is displayed in failure, the quality value of the currently determined second kernel may be decreased by one;
optionally, after updating the quality value of the kernel one or more times, the kernels of the at least one second application may be reordered in the reference table of the kernel bridging order.
Optionally, the displaying the first target picture includes:
and determining to display the first target picture under the condition that the number of kernels of the electronic equipment is equal to 1 or the number of times of failure of calling the second kernel to display the target interface exceeds a first threshold value.
Optionally, when the electronic device has only the first kernel and the first kernel is abnormal, or when the kernel bridging times exceed a first threshold and each time the target interface is failed to be displayed, the electronic device may actively send information to the server of the first application program to instruct the server of the first application program to convert the target interface into the first target picture;
optionally, after receiving the message, the server of the first application may convert the target interface into a first target picture, and then may send the first target picture and the content in the picture to the electronic device; after receiving the first target first picture, the electronic device may display the first target first picture.
According to the method and the device, when the number of the kernels of the electronic equipment is equal to 1, or when the number of times of calling the second kernel to display the failure of the target interface exceeds the first threshold value, or when the first kernel fails, the target interface is directly displayed through the first target picture, so that the content browsing continuity of the target interface by a user can be timely guaranteed, and the continuity of user behaviors is guaranteed.
Optionally, the first target picture includes an input area for receiving an input of a user;
wherein the method further comprises at least one of:
receiving a second input of the user to the input area under the condition that the input area comprises target content corresponding to a click button in the target interface; in response to the second input, displaying a second target picture, the content of the second target picture comprising a jump interface of the first application after the target content is executed;
receiving a third input of the user in the case that the input area comprises an information submission form in the target interface, wherein the third input is an operation of filling out the information submission form in the input area; in response to the third input, submitting the information submission form.
Optionally, in a case that the electronic device displays the first target picture, the first target picture may include an input region, and the input region may correspond to a region in the target interface that can receive user input, and is used for receiving user input, so that user behavior can be performed normally. According to the method and the device, the input area corresponding to the target content of the input area in the target interface can be set in the first target picture for receiving the input of the user, and the continuity of user operation can be guaranteed to a great extent.
Optionally, the method further comprises:
receiving a second input of the user to the input area under the condition that the input area comprises target content corresponding to a click button in the target interface;
and responding to the second input, displaying a second target picture, wherein the content of the second target picture comprises a jump interface of the first application program after the target content is executed.
Optionally, when the input area includes the target content corresponding to the click button in the target interface, the target content corresponding to the click button in the web page may be marked by the anchor point, that is, the content clicked by the user may be marked, for example, highlighted, so that the user may conveniently identify the content that can be clicked in the picture.
Optionally, a second input to the input area by the user may be received, for example, a double-click operation to the target content by the user may be received, and then, in response to the second input, the task corresponding to the target content may be executed, and a jump to a corresponding jump interface may be performed; optionally, in the scenario of the embodiment of the present application, the jump interface may not be successfully displayed, so that the jump interface may be displayed through a second target picture, and a generation manner of the second target picture may be the same as a generation manner of the second target picture.
For example, the button of "next page" in the target interface may be embodied in the same text content in the first target picture, and the three words of "next page" in the first target picture may be highlighted or indicated by a special shape to remind the user that "next page" may be clicked and jump to the next page.
Optionally, a click operation of the user on the "next page" may be received, and then a second target picture is displayed, where the content of the second target picture is the jump interface after the "next page" is clicked under normal conditions.
Optionally, the method further comprises:
receiving a third input of the user in the case that the input area comprises an information submission form in the target interface, wherein the third input is an operation of filling out the information submission form in the input area;
in response to the third input, submitting the information submission form.
Alternatively, the case where the input area includes an information submission form may include a case where the user is required to input any word or character or symbol;
optionally, under the condition that the input area includes an information submission form in the target interface, when the first target picture is automatically generated, a fillable information submission form may be instantiated in the input area corresponding to the position of the information submission form in the target interface, so that the user can write information;
after receiving the information of the information submission form filled by the user, for example, the user may click on an input area corresponding to the content with similar meaning "confirm submission" or "complete filling", and the filled information submission form may be submitted to the server by corresponding the anchor point of the input area corresponding to the content with similar meaning "confirm submission" or "complete filling" and the interface of the anchor point corresponding to the information submission form, so as to ensure normal operation of the user behavior.
Optionally, the method further comprises:
and displaying a third target picture, wherein the content of the third target picture comprises a jump interface of the first application program after the information submission form is submitted.
Optionally, after the information submission form is submitted, a new jump interface may be presented on the target interface, for example, a similar jump interface such as successful submission is displayed, and the jump interface after the information submission form is submitted may be displayed through the third target picture.
Optionally, the third target picture may be generated in the same manner as the second target picture.
Fig. 2 is a second flowchart of the display method according to the embodiment of the present application, and as shown in fig. 2, it is assumed that the electronic device is a mobile phone, the first application is a browser of the mobile phone, the corresponding kernel is a kernel of the mobile phone, and the target interface is a web page that the user wants to browse, where the method includes the following steps:
step 210, starting a self-contained browser;
optionally, in a case that the user needs to open the self-contained browser, opening the self-contained browser for the user to browse the webpage or the news;
220, the kernel of the mobile phone has a fault;
optionally, in the process of opening a webpage that a user wants to browse, due to the fact that an own kernel of the mobile phone, on which the own browser depends, is abnormal, the webpage displays a white screen, even the own browser is broken down, and at the moment, the mobile phone captures the abnormality;
step 230, judging whether the total number of the kernels in the mobile phone is greater than 1;
optionally, after capturing the abnormality, the mobile phone may automatically detect a total value sum of the current browser kernel inside the mobile phone. Certainly, in order to accelerate the process, the total kernel value may be detected when the mobile phone is turned on, and when the user installs or uninstalls an application, the mobile phone detects again whether the corresponding application has its own browser kernel, and then performs an operation of adding or subtracting 1 to the total kernel sum, so as to ensure that the correct total kernel sum is recorded by the mobile phone at any time. Because the browser kernel of the mobile phone cannot be uninstalled, sum > can be ensured to be 1.
Optionally, if the total kernel number is greater than 1, jumping to step 240;
optionally, if the total kernel number is determined to be equal to 1, jumping to step 270;
step 240, bridging the kernel dependent by the self-contained browser to a second kernel;
optionally, if the handset determines sum >1, the kernel dependent on the self-contained browser may be bridged to another kernel, for example, to a kernel of another browser, or vice versa;
step 250, judging whether the target interface is successfully displayed;
optionally, after the second kernel is bridged, the webpage that the user wants to browse continues to be opened.
Optionally, the mobile phone may record whether the web page is normally opened, if the web page is normally opened, the quality value of the currently bridged second kernel is given by +1, and if the web page is failed, the quality value is given by-1.
Optionally, if the web page is not normally opened and is not normally opened after multiple times of bridging, go to step 270; for example, the bridging kernel can be set to fail to open the web page for 2 times at most, and automatically jump to step 270 if the number of times exceeds 2 times;
step 260, successfully displaying a target interface;
optionally, if the second kernel is bridged and the webpage is smoothly opened, user experience can be guaranteed;
step 270, sending information to a web server;
optionally, if the mobile phone only has a kernel with a browser and the kernel is abnormal, or if the kernel fails to bridge multiple web pages and is open, the mobile phone may actively send a message to the web server;
step 280, generating a first target picture;
optionally, after receiving the information sent by the mobile phone, the web server may automatically convert the web page into the first target picture, and highlight the content corresponding to the clickable content in the web page in the first target picture through the anchor point, so that the user can conveniently identify the clickable content in the picture.
Optionally, after the image conversion is completed, the website server may send the first target image and the content corresponding to the webpage to the mobile phone;
step 290, displaying the first target picture.
Optionally, after receiving the first target picture, the mobile phone end may render the first target picture through the picture loading library.
Optionally, if an input that the user clicks the highlight of the first target picture is received, the corresponding task may be executed, and the user jumps to a new jump interface, and then jumps to step 280 to generate a picture including the content of the jump interface.
Optionally, if there is a place in the web page where the user needs to submit the information submission form, the mobile phone may automatically identify the information submission form to instantiate a fillable information submission form for the user to fill in the information, and after it is determined that the user has completed filling in, the information submission form is submitted to the server, so as to ensure that the user behavior proceeds normally.
In the embodiment of the application, when the target interface cannot be opened due to the kernel failure of the first application program, the kernels of other application programs in the electronic device are called, the target interface is opened by relying on the kernels of the other application programs or the target interface is directly displayed through pictures, so that the user can still normally browse the target interface after the kernel failure of the first application program, and the user behavior can still be normally executed.
In the display method provided in the embodiment of the present application, the execution main body may be a display device, or a control module for executing the display method in the display device. In the embodiment of the present application, a display device executing a display method is taken as an example, and the display device provided in the embodiment of the present application is described.
Fig. 3 is a schematic structural diagram of a display device according to an embodiment of the present application, and as shown in fig. 3, the display device includes: a first receiving module 310, and a first display module 320, wherein:
the first receiving module 310 is configured to receive a first input of a user, where the first input is an operation of the user requesting to display a target interface; the first display module 320 is configured to, in response to the first input, display a first target picture or call a second kernel to display a target interface when a first kernel of a first application program in the electronic device fails to display the target interface due to an exception;
the content of the first target picture comprises the target interface, the second kernel is a kernel of a second application program in the electronic equipment, and the second application program is different from the first application program.
Alternatively, the display apparatus may receive a first input of the user through the first receiving module 310, and in a case where the first kernel of the first application program in the electronic device is abnormal, resulting in a failure to display the target interface, display the first target picture through the first display module 320 in response to the first input, or call the second kernel to display the target interface.
In the embodiment of the application, when the target interface cannot be opened due to the kernel failure of the first application program, the kernels of other application programs in the electronic device are called, the target interface is opened by relying on the kernels of the other application programs or the target interface is directly displayed through pictures, so that the user can still normally browse the target interface after the kernel failure of the first application program, and the user behavior can still be normally executed.
Optionally, the first display module is further configured to:
and determining to call a second kernel to display the target interface under the condition that the total kernel number of all application programs in the electronic equipment is greater than 1.
Optionally, the first display module is further configured to:
determining at least one second application program based on a quality value of a kernel of the second application program;
wherein the quality value is used to indicate a success rate of accessing a kernel of the second application.
Optionally, the first display module is further configured to:
and determining to display the first target picture under the condition that the number of kernels of the electronic equipment is equal to 1 or the number of times of failure of calling the second kernel to display the target interface exceeds a first threshold value.
Optionally, the first target picture includes an input area for receiving an input of a user.
Optionally, the apparatus further comprises at least one of:
the second receiving module and the second display module;
a third receiving module and a submitting module;
the second receiving module is used for receiving a second input of the user to the input area under the condition that the input area comprises target content corresponding to a click button in the target interface;
the second display module is used for responding to the second input and displaying a second target picture, and the content of the second target picture comprises a jump interface of the first application program after the target content is executed;
the third receiving module is used for receiving a third input of the user under the condition that the input area comprises an information submission form in the target interface, wherein the third input is an operation of filling out the information submission form in the input area;
the submission module is configured to submit the information submission form in response to the third input.
The display device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The display device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 2, and is not described here again to avoid repetition.
Optionally, fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, and as shown in fig. 4, an electronic device 400 according to an embodiment of the present disclosure is further provided, and includes a processor 401, a memory 402, and a program or an instruction stored in the memory 402 and capable of running on the processor 401, and when the program or the instruction is executed by the processor 401, the process according to the display method embodiment is implemented, and the same technical effect can be achieved, and details are not repeated here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and the like.
Those skilled in the art will appreciate that the electronic device 500 may further include a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
Wherein, the user input unit 507 is configured to:
receiving a first input of a user, wherein the first input is an operation of requesting a target interface to be displayed by the user;
processor 510 is configured to:
responding to the first input, and displaying a first target picture or calling a second kernel to display a target interface under the condition that the display of the target interface fails due to the abnormality of a first kernel of a first application program in the electronic equipment;
the content of the first target picture comprises the target interface, the second kernel is a kernel of a second application program in the electronic equipment, and the second application program is different from the first application program.
In the embodiment of the application, when the target interface cannot be opened due to the kernel failure of the first application program, the kernels of other application programs in the electronic device are called, the target interface is opened by relying on the kernels of the other application programs or the target interface is directly displayed through pictures, so that the user can still normally browse the target interface after the kernel failure of the first application program, and the user behavior can still be normally executed.
Optionally, the processor 510 is further configured to:
and determining to call a second kernel to display the target interface under the condition that the total kernel number of all application programs in the electronic equipment is greater than 1.
Optionally, the processor 510 is further configured to:
determining at least one second application program based on a quality value of a kernel of the second application program;
wherein the quality value is used to indicate a success rate of accessing a kernel of the second application.
Optionally, the processor 510 is further configured to:
and determining to display the first target picture under the condition that the number of kernels of the electronic equipment is equal to 1 or the number of times of failure of calling the second kernel to display the target interface exceeds a first threshold value.
Optionally, the first target picture includes an input area for receiving an input of a user.
Optionally, the user input unit 507 is configured to:
receiving a second input of the user to the input area under the condition that the input area comprises target content corresponding to a click button in the target interface;
processor 510 is further configured to:
and responding to the second input, displaying a second target picture, wherein the content of the second target picture comprises a jump interface of the first application program after the target content is executed.
Optionally, the user input unit 507 is further configured to:
receiving a third input of the user in the case that the input area comprises an information submission form in the target interface, wherein the third input is an operation of filling out the information submission form in the input area;
processor 510 is further configured to:
in response to the third input, submitting the information submission form.
Optionally, the processor 510 is further configured to:
and displaying a third target picture, wherein the content of the third target picture comprises a jump interface of the first application program after the information submission form is submitted.
In the embodiment of the application, when the target interface cannot be opened due to the kernel failure of the first application program, the kernels of other application programs in the electronic device are called, the target interface is opened by relying on the kernels of the other application programs or the target interface is directly displayed through pictures, so that the user can still normally browse the target interface after the kernel failure of the first application program, and the user behavior can still be normally executed.
It should be understood that in the embodiment of the present application, the input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 507 includes a touch panel 5071 and other input devices 5072. A touch panel 5071, also referred to as a touch screen. The touch panel 5071 may include two parts of a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in further detail herein. The memory 509 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. Processor 510 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements the processes of the display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the display method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A display method, comprising:
receiving a first input of a user, wherein the first input is an operation of requesting a target interface to be displayed by the user;
responding to the first input, and displaying a first target picture or calling a second kernel to display a target interface under the condition that the display of the target interface fails due to the abnormality of a first kernel of a first application program in the electronic equipment;
the content of the first target picture comprises the target interface, the second kernel is a kernel of a second application program in the electronic equipment, and the second application program is different from the first application program.
2. The display method of claim 1, wherein the invoking the second kernel to display the target interface comprises:
and determining to call a second kernel to display the target interface under the condition that the total kernel number of all application programs in the electronic equipment is greater than 1.
3. The display method of claim 2, wherein the determining to invoke a second kernel to display the target interface further comprises:
determining at least one second application program based on a quality value of a kernel of the second application program;
wherein the quality value is used to indicate a success rate of accessing a kernel of the second application.
4. The display method according to claim 1, wherein the displaying the first target picture comprises:
and determining to display the first target picture under the condition that the number of kernels of the electronic equipment is equal to 1 or the number of times of failure of calling the second kernel to display the target interface exceeds a first threshold value.
5. The display method according to claim 1 or 4, wherein the first target picture includes an input area for receiving an input of a user;
wherein the method further comprises at least one of:
receiving a second input of the user to the input area under the condition that the input area comprises target content corresponding to a click button in the target interface; in response to the second input, displaying a second target picture, the content of the second target picture comprising a jump interface of the first application after the target content is executed;
receiving a third input of the user in the case that the input area comprises an information submission form in the target interface, wherein the third input is an operation of filling out the information submission form in the input area; in response to the third input, submitting the information submission form.
6. A display device, comprising:
the first receiving module is used for receiving a first input of a user, wherein the first input is an operation of requesting a target interface to be displayed by the user;
the first display module is used for displaying a first target picture or calling a second kernel to display a target interface under the condition that the display of the target interface fails due to the abnormality of a first kernel of a first application program in the electronic equipment;
the content of the first target picture comprises the target interface, the second kernel is a kernel of a second application program in the electronic equipment, and the second application program is different from the first application program.
7. The display device according to claim 6, wherein the first display module is further configured to:
and determining to call a second kernel to display the target interface under the condition that the total kernel number of all application programs in the electronic equipment is greater than 1.
8. The display device according to claim 7, wherein the first display module is further configured to:
determining at least one second application program based on a quality value of a kernel of the second application program;
wherein the quality value is used to indicate a success rate of accessing a kernel of the second application.
9. The display device according to claim 6, wherein the first display module is further configured to:
and determining to display the first target picture under the condition that the number of kernels of the electronic equipment is equal to 1 or the number of times of failure of calling the second kernel to display the target interface exceeds a first threshold value.
10. The display device according to claim 6 or 9, wherein the first target picture comprises an input area for receiving an input from a user;
wherein the apparatus further comprises at least one of:
the second receiving module and the second display module;
a third receiving module and a submitting module;
the second receiving module is used for receiving a second input of the user to the input area under the condition that the input area comprises target content corresponding to a click button in the target interface;
the second display module is used for responding to the second input and displaying a second target picture, and the content of the second target picture comprises a jump interface of the first application program after the target content is executed;
the third receiving module is used for receiving a third input of the user under the condition that the input area comprises an information submission form in the target interface, wherein the third input is an operation of filling out the information submission form in the input area;
the submission module is configured to submit the information submission form in response to the third input.
CN202110772820.2A 2021-07-08 2021-07-08 Display method and device thereof Pending CN113504854A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110772820.2A CN113504854A (en) 2021-07-08 2021-07-08 Display method and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110772820.2A CN113504854A (en) 2021-07-08 2021-07-08 Display method and device thereof

Publications (1)

Publication Number Publication Date
CN113504854A true CN113504854A (en) 2021-10-15

Family

ID=78012157

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110772820.2A Pending CN113504854A (en) 2021-07-08 2021-07-08 Display method and device thereof

Country Status (1)

Country Link
CN (1) CN113504854A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324735A (en) * 2013-06-28 2013-09-25 贝壳网际(北京)安全技术有限公司 Method and device for loading abnormal page in browser and client
CN104899108A (en) * 2014-12-26 2015-09-09 北京奇虎科技有限公司 Browser restoring method and browser restoring system
CN107943875A (en) * 2017-11-13 2018-04-20 暴风集团股份有限公司 The control method of browser kernel, device and terminal in player application
CN109783309A (en) * 2018-12-14 2019-05-21 平安普惠企业管理有限公司 The abnormality monitoring method and device of webpage load
CN111143015A (en) * 2019-12-31 2020-05-12 维沃移动通信有限公司 Screen capturing method and electronic equipment
CN112099844A (en) * 2020-09-16 2020-12-18 国网甘肃省电力公司信息通信公司 Multi-kernel compatible intelligent browsing system for state network service system
WO2021088706A1 (en) * 2019-11-05 2021-05-14 维沃移动通信有限公司 Method for controlling application program and electronic device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324735A (en) * 2013-06-28 2013-09-25 贝壳网际(北京)安全技术有限公司 Method and device for loading abnormal page in browser and client
CN104899108A (en) * 2014-12-26 2015-09-09 北京奇虎科技有限公司 Browser restoring method and browser restoring system
CN107943875A (en) * 2017-11-13 2018-04-20 暴风集团股份有限公司 The control method of browser kernel, device and terminal in player application
CN109783309A (en) * 2018-12-14 2019-05-21 平安普惠企业管理有限公司 The abnormality monitoring method and device of webpage load
WO2021088706A1 (en) * 2019-11-05 2021-05-14 维沃移动通信有限公司 Method for controlling application program and electronic device
CN111143015A (en) * 2019-12-31 2020-05-12 维沃移动通信有限公司 Screen capturing method and electronic equipment
CN112099844A (en) * 2020-09-16 2020-12-18 国网甘肃省电力公司信息通信公司 Multi-kernel compatible intelligent browsing system for state network service system

Similar Documents

Publication Publication Date Title
EP3567476B1 (en) Application data processing method and apparatus, and storage medium
US9384096B2 (en) Application management
US10198410B2 (en) Method, device and mobile terminal for restoring page
CA2923738C (en) Quick tasks for on-screen keyboards
CN106716351B (en) Method and electronic equipment for displaying webpage
CN105324753A (en) Invoking an application from a web page or other application
KR20140058510A (en) On-demand tab rehydration
CN111372115B (en) Application program access method and device and communication system
CN103678307A (en) Page display method and client-side
US20130067359A1 (en) Browser-based Discovery and Application Switching
CN112286485B (en) Method and device for controlling application through voice, electronic equipment and storage medium
CN109408284B (en) Online document recovery method and device, equipment and storage medium thereof
CN107908679B (en) Script statement conversion method and device and computer readable storage medium
CN111813305A (en) Application program starting method and device
CN103473035A (en) Screen capturing method and device
US20240089223A1 (en) Information display method and apparatus, and electronic device
CN112163432A (en) Translation method, translation device and electronic equipment
CN110277110B (en) Recording and playing method and device of network page and terminal
CN109976790B (en) Application updating method, device, terminal and storage medium
CN113504854A (en) Display method and device thereof
CN113141530B (en) Remote control interaction based method and device, electronic equipment and storage medium
CN112905072B (en) Application processing method and device and electronic equipment
CN110874143B (en) Sensor data acquisition method, intelligent terminal, storage medium and electronic equipment
CN113962316A (en) Model training method and device and electronic equipment
CN108228307B (en) Application display method and device, storage medium and electronic equipment

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