CN108037912A - Show the method, apparatus of page info - Google Patents
Show the method, apparatus of page info Download PDFInfo
- Publication number
- CN108037912A CN108037912A CN201711353144.5A CN201711353144A CN108037912A CN 108037912 A CN108037912 A CN 108037912A CN 201711353144 A CN201711353144 A CN 201711353144A CN 108037912 A CN108037912 A CN 108037912A
- Authority
- CN
- China
- Prior art keywords
- information
- target
- page
- self
- target pages
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
- G06F9/44526—Plug-ins; Add-ons
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The disclosure provides a kind of method, apparatus for showing page info, wherein, the above method includes:Obtain the solicited message for being used to ask shows target pages to preset exploitation information;The target information of the target pages is drawn according to the solicited message, the target information is the default exploitation information of the target pages.The method of the display page info provided using the disclosure so that the default exploitation information visualization of target pages, facilitates user quickly to understand the target informations such as the jump address of the page, lifts user experience.
Description
Technical field
This disclosure relates to field of communication technology, more particularly to a kind of method, apparatus for showing page info.
Background technology
In client software development process, the unfolding mode of a page can be configured to beat by redirecting mode
Open, for example, triggering a default page elements such as chained address in a page B, the A pages can be jumped directly to.On
State the mode of redirecting to be set by developer, i.e., developer sets the jump address of current page in source program code.But
For it can not obtain the editorial staff of source program code, when it wonders the jump address of current page, it can only inquire
Developer is known.In the process, developer is needed by PC (personal computer, personal computer)
The software development environment of installation such as Android Androids development environment checks source program code, finds the jump address of the above-mentioned page
Above-mentioned editorial staff is informed after information, causes the increase of developer's workload, and above-mentioned manually query mode is also often beaten
The work of disconnected developer, influences the development efficiency of client software.
The content of the invention
, can present disclose provides a kind of method, apparatus for showing page info to overcome problem present in correlation technique
Conveniently and efficiently to understand the target informations such as the jump address of the page.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of method for showing page info, the described method includes:
Obtain the solicited message for being used to ask shows target pages to preset exploitation information;
The target information of the target pages is drawn according to the solicited message, the target information is the target pages
Default exploitation information.
Alternatively, the target information is included at least with the next item down:The class name of the page, or, the page redirect
Address.
Alternatively, the shows target pages preset the solicited message of exploitation information, including:
When detecting the first default triggering information by preset interface, there is provided Information Authentication interface;
By described information verify interface captures user authentication information go forward side by side row information verify;
If the subscriber authentication information is verified by described information, the solicited message is obtained.
Alternatively, the target information that the target pages are drawn according to the solicited message, including:
According to the solicited message, the target self-defined control on the root object of target pages to be mounted to is determined, it is described
Target self-defined control is used for realization the drafting of the target information;
The target self-defined control is mounted on the root object of the target pages;
When the root object carries out page drafting, called by the self-defined control described in default method for drafting drafting
Target information.
Alternatively, the target pages are the pages in the client software based on Android system exploitation;It is described by target
Self-defined control is mounted on the root object, including:
By rewrite the OnResume () method of the root object by the target self-defined control be mounted to described it is right
As upper.
Alternatively, it is described to be determined to wait the target being mounted on the root object of the target pages certainly according to the solicited message
Control is defined, including:
All default self-defined controls are determined as the target self-defined control;
The drafting for calling default method for drafting to carry out target information by the self-defined control, including:
Obtain and be used for the second default triggering information for selecting display target information;
After the original contents of the target pages have been drawn, according to drawing the described second default triggering information selection
Target information.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of device for showing page info, described device include:
Request module, is configured as obtaining the solicited message for being used to ask shows target pages to preset exploitation information;
Display module, is configured as drawing the target information of the target pages, the target according to the solicited message
Information is the default exploitation information of the target pages.
Optionally, the target information is included at least with the next item down:The class name of the page, or, the page redirect
Address.
Optionally, the request module includes:
Submodule is triggered, when being configured as detecting the first default triggering information by preset interface, there is provided Information Authentication
Interface;
Submodule is verified, is configured as verifying that interface captures user authentication information is gone forward side by side row information by described information
Verification;
Submodule is asked, is configured as, in the case where the subscriber authentication information is verified by described information, obtaining
Take the solicited message.
Optionally, the display module includes:
Control determination sub-module, is configured as, according to the solicited message, determining the root object of target pages to be mounted to
On target self-defined control, the target self-defined control is used for realization the drafting of the target information;
Carry submodule, is configured as the target self-defined control being mounted on the root object of the target pages;
Information rendering submodule, is configured as, when the root object carries out page drafting, passing through the self-defined control
Default drawing apparatus is called to draw the target information.
Optionally, the target pages are the pages in the client software based on Android system exploitation;
The carry submodule, be configured as by rewrite the OnResume () method of the root object by the target from
Control is defined to be mounted on the root object.
Optionally, the control determination sub-module, is configured as all default self-defined controls being determined as the target
Self-defined control;
Described information rendering submodule, including:
Trigger element, is configured as obtaining the second default triggering information for selecting display target information;
Information drawing unit, is configured as after the original contents of the target pages have been drawn, pre- according to described second
If triggering information selection draws the target information.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of non-transitorycomputer readable storage medium, thereon
Computer program is stored with, which realizes above-mentioned first aspect any the method when being executed by processor the step of.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of mobile terminal, including:
Processor and the memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Obtain the solicited message for being used to ask shows target pages to preset exploitation information;
The target information of the target pages is drawn according to the solicited message, the target information is the target pages
Default exploitation information.
The technical scheme provided by this disclosed embodiment can include the following benefits:
The method of the display page info provided using the disclosure, mobile terminal can obtain the default request of user's transmission
Information, while which is used to ask to open client software shows target pages original contents, can also show and work as
Preceding user wants the default page development information such as information such as page class name, page jump address checked so that active user
Such as the developer of client software and/or editorial staff can inquire about the pre- of target pages whenever and wherever possible by mobile terminal
If developing information, the editorial staff of client software is on the one hand facilitated quickly, independently to know the jump address information of current page,
Avoid manually inquiring that developer causes the work for influencing developer;On the other hand, developer can be facilitated according to above-mentioned
Target information searches the source program code of the target pages and the source code of the target pages is carried out the operation such as repairing in time, into
And the development efficiency of application developer is improved, strengthen the intelligence degree of mobile terminal, lift user experience.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not
The disclosure can be limited.
Brief description of the drawings
Attached drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure
Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of method flow diagram of display page info of the disclosure according to an exemplary embodiment.
Fig. 2 is another method flow diagram that shows page info of the disclosure according to an exemplary embodiment.
Fig. 3 is another method flow diagram that shows page info of the disclosure according to an exemplary embodiment.
Fig. 4 is another method flow diagram that shows page info of the disclosure according to an exemplary embodiment.
Fig. 5-1 is a kind of schematic diagram of a scenario of display page info of the disclosure according to an exemplary embodiment.
Fig. 5-2 is another schematic diagram of a scenario that shows page info of the disclosure according to an exemplary embodiment.
Fig. 6 is a kind of device block diagram of display page info of the disclosure according to an exemplary embodiment.
Fig. 7 is another device block diagram that shows page info of the disclosure according to an exemplary embodiment.
Fig. 8 is another device block diagram that shows page info of the disclosure according to an exemplary embodiment.
Fig. 9 is another device block diagram that shows page info of the disclosure according to an exemplary embodiment.
A kind of one structure diagram of mobile terminal of Figure 10 disclosure according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
It is only merely for the purpose of description specific embodiment in the term that the disclosure uses, and is not intended to be limiting the disclosure.
" one kind " of singulative used in disclosure and the accompanying claims book, " described " and "the" are also intended to including majority
Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wraps
Containing the associated list items purpose of one or more, any or all may be combined.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the disclosure
A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, do not departing from
In the case of disclosure scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determining ".
Present disclose provides a kind of method for showing page info, the executive agent being related to includes:Mobile terminal, the movement
Client software is installed, which is provided with checks current page for developer and/or editorial staff in terminal
Part Development information, that is, target information human-computer interaction interface.Above-mentioned mobile terminal can be smart mobile phone, PDA
(Personal Digital Assistant, personal digital assistant), tablet computer, wearable device etc..
Method flow diagram with reference to Fig. 1 according to a kind of display page info shown in an exemplary embodiment, the method
It may comprise steps of:
In a step 11, the solicited message for being used to ask shows target pages to preset exploitation information is obtained;
Assuming that above-mentioned mobile terminal is smart mobile phone, at least a client software, the visitor are installed on the smart mobile phone
Family end software can be that a issued obscuring version software or be in just is mixed in the development phase without version
The software to confuse.Assuming that above-mentioned client software is the first APP, some pages of the first APP can be beaten by redirecting mode
Open, in the disclosure, the above-mentioned page that can be opened by redirecting mode is known as target pages.It is for example, soft in active client
A default interface element such as chained address is triggered in part or other client softwares, the A of the first APP can be jumped directly to
The page, then the above-mentioned A pages are a target pages.
Default human-computer interaction interface is provided with the disclosure, in target pages, can be received by the human-computer interaction interface
User is usually the solicited message of developer or editorial staff's input, which shows default for the request target page
Page development information, such as page jump address, or, the class name of target pages.So that editorial staff or developer can be
Above-mentioned target information is directly viewable in the page.
Above-mentioned solicited message how is obtained on mobile terminal, may refer to Fig. 2 according to an exemplary embodiment
Another kind shows the method flow diagram of page info, and above-mentioned steps 11 can include:
In step 111, when detecting the first default triggering information by preset interface, there is provided Information Authentication interface;
In the disclosure, when mobile terminal determines that current page belongs to target pages, for example, mobile terminal is jumped in response to default
Turn trigger condition to jump to after current page, determine that current page belongs to target pages;It can be provided in target pages pre-
If interface, authentication information is inputted for user, so that mobile terminal authenticates request user.Wherein, above-mentioned first is pre-
If triggering information shows default exploitation information for the request target page.
As above, which can be above-mentioned default human-computer interaction interface, for example, be set in target pages it is default
Button, after the pre-set button that smart mobile phone is detected in target pages is triggered, can provide Information Authentication interface, for example,
A preset window is ejected in the display interface of target pages, is set in the preset window and requires user's input authentication
The human-computer interaction interface of information, such as, ask active user to input the input frame of the checking informations such as user name, password.
In step 112, by described information verify interface captures user authentication information go forward side by side row information verify;
After smart mobile phone receives the subscriber authentication information that active user verifies interface input by above- mentioned information, on
It is, for example, account name+password to state subscriber authentication information, and smart mobile phone in local or can be sent to remote server to working as
Preceding user carries out authentication.According to relevant knowledge, in view of information security considers, the development interface of a client software only supplies
Checked by a minority of mandate, such as the developer and/or editorial staff of the client software.Each there is the power of checking
The user of limit can have unique identities checking information for example, account and password.When above-mentioned user is wanted using mobile terminal such as
When smart mobile phone checks the target information of target pages whenever and wherever possible, the default man-machine friendship that can be provided by above-mentioned target pages
Mutual interface input personal verification information is authenticated.
It is appreciated that above- mentioned information verification interface can be the interfaces such as fingerprint recognition, recognition of face, iris recognition, according to
Correlation technique authenticates current user identities, and the disclosure is not restricted above- mentioned information verification mode.
In step 113, if the subscriber authentication information is verified by described information, the solicited message is obtained.
Ibid, if by the Information Authentication of active user, it is to have to check that the target pages are preset to illustrate active user
Develop the user of information authority.Afterwards, solicited message input by user can be received according to correlation technique, which is used for
Client software is notified to draw the related development information of target pages.
In step 12, the target information of target pages is drawn according to the solicited message, the target information is described
The default exploitation information of target pages.
Referring to another method flow diagrams that shows page info of the Fig. 3 according to an exemplary embodiment, above-mentioned step
Rapid 12 can include:
In step 121, according to the solicited message, determine to wait the target being mounted on the root object of the target pages
Self-defined control, the target self-defined control are used for realization the drafting of the target information;
Assuming that above-mentioned target pages are the self-defined pages in a client software based on the exploitation of Android android system
Face, above-mentioned client software include UI (User Interface, user interface).In android system, UI interfaces are included
Client software includes at least an activity Activity.Activity is one of four big components of Android system, Android system
In a page must inherit in the class of an Activity.
The configuration file AndroidManifest.xml of android system is used to state a client software such as
State the page info such as information such as name, theme, ID that the first APP includes how many a pages and each page.
If the information of a target pages is not stated in above-mentioned configuration file AndroidManifest.xml files.
User terminal can prompt to can not find target pages to call some target pages in system operation.
Based on this, when mobile terminal receives the default page jump opened the request of target pages or jump to target pages
After turning request, system can know the root layout of target pages according to above-mentioned solicited message, including:Root object type
FrameLayout (frame layout), ID android.R.id.content;According to above-mentioned root object type from the corresponding moneys of ID
The corresponding root object of target pages is searched in source.The root object of target pages is found, explanation can draw target pages.
In the disclosure, since needs show the default exploitation information of the page in target pages, carry out the page
Before drafting, it is also necessary to which the carry target self-defined control on above-mentioned root object, above-mentioned target self-defined control are used for realization mesh
Mark the drafting of information.
In the embodiment of the present disclosure, user terminal is local or the remote server of above-mentioned client software is provided with least two classes
Self-defined control.
Wherein, first kind self-defined control is used for realization the drafting of first object information, which is for compiling
The exploitation information that the personnel of collecting check, for example, page jump address.
Second class self-defined control is used for realization the drafting of the second target information, which is to supply developer
The exploitation information checked, for example, page class name.
In the disclosure, the client software of mobile terminal installation can be it is a it is issued obscure version software,
Can be in just in the software obscured without version of development phase.
Version on software is obscured, client software formally issue it is previous as can be based on original development version carry out version
Originally obscure.Obscuring for called customer terminal software version is after exploitation software debugging success, in order to remove unnecessary code, is subtracted
The process of small program in machine code (i.e. software) body size, such as, the original size of a client software is 10M, it obscures version
5M may be reduced into, so that the bit error rate in reducing the downloading data amount and transmitting procedure of software.
In client software version process of obfuscation, the rule of obscuring of Activity is the disclosure:It is inherited from Activity
Class be not confused.Above-mentioned self-defined control belongs to succession in the class of Activity, therefore, even if mobile terminal installation is
The software formally issued after version is obscured, above-mentioned page class name will not be confused, that is to say, that by above-mentioned second certainly
Defining control can include page class name in target pages.
Assuming that above-mentioned target pages are the pages using JAVA programmings, and in JAVA programs, the program of a page
The document i.e. source program code of the page can be expressed as:Class name .java.For example, the documentation of program of a page is:A
Activity.java, illustrates the entitled A Activity of class of the page.Backward inference is understood accordingly, if it is known that a page object
The class name in face, it is possible to find the source program code of the page.Therefore, for developer, if can quickly know
The page class name of one target pages, it is possible to the source program code of the page is quickly found out, if mistake occurs in the program code
By mistake, source code can quickly be repaired.
Understood based on described above, before target pages drafting is carried out, if wanting to show original contents in target pages
On the basis of, while show that default exploitation information, it is necessary to after the root object of target pages is determined, is further determined that and is mounted to
State the target self-defined control on root object.
In above-mentioned steps 121, it can determine to treat the target self-defined control of carry using following at least two mode:
First way, after target pages receive the solicited message of active user's triggering, gives tacit consent to all default self-defined
Control is the self-defined control on root object to be mounted to.
It will again be assumed that above-mentioned first object information is page jump address;Second target information is page class name.Correspondingly, move
Dynamic terminal local or the server-side of client software can provide two self-defined controls.Each self-defined control is used for realization
A kind of drafting of target information.Exemplary, as shown in Table 1:
Target information | Target self-defined control |
Page jump address | First self-defined control |
Page class name | Second self-defined control |
Table one
In table one, the first self-defined control is used for the superiors that page jump address is drawn on to target pages, makes drafting
The target pages gone out can show page jump address.Second self-defined control is used to page class name being drawn on target pages
The superiors, the target pages for alloing to draw out show page class name.
The second way, according to the subscriber identity information by Information Authentication and the solicited message, selectively determines to treat
The target self-defined control being mounted on the root object.
After target pages receive the solicited message of active user's triggering, according to the subscriber identity information by Information Authentication
Determine target self-defined control.In the embodiment of the present disclosure, mobile terminal can determine that active user belongs to according to subscriber identity information
In developer or editorial staff.For example, can be by the authentication information of active user and default editorial staff or exploitation
The identity information of personnel is matched, and determines which kind of authorized personnel for checking page target information active user belongs to.
If active user belongs to editorial staff, the first self-defined control of page jump address drafting will be used for realization,
It is determined as treating the target self-defined control of carry.
If active user belongs to developer, the second self-defined control for being used for realization the drafting of page class name is determined,
To treat the target self-defined control of carry.
According to relevant knowledge, developer is the personnel that there is source program code to check authority, in the embodiment of the present disclosure, page
The class name in face is effective information for developer, and developer can check the source program of the target pages based on page class name
Code;And the editorial staff of client software does not have the authority of viewing client-side software source program code.
In step 122, the target self-defined control is mounted on the root object of the target pages;
In the embodiment of the present disclosure, client software can be self-defined by above-mentioned target before target pages drafting is carried out
Control is mounted on the root object of the target pages.
Two kinds of embodiments of corresponding above-mentioned steps 121, in step 122, can hang all default self-defined controls
It is downloaded on above-mentioned root object;Part self-defined control can also be mounted on root object.
, can be by rewriteeing onResume () method in root object, by above-mentioned target certainly in one embodiment of the disclosure
Control is defined to be mounted on root object.
In step 123, when the root object carries out page drafting, default draw is called by the self-defined control
Method draws the target information.
Mobile terminal finds the root object of target pages, and above-mentioned target self-defined control is loaded on root object it
Afterwards, it is possible to notify root object to call default method for drafting such as onDraw () or dispatchDraw () method, draw page object
The original contents in face, that is, do not include the content of default exploitation information.Afterwards, target self-defined control calls default method for drafting will
Target information is plotted in target pages, it is ensured that after the page is completed, target information is shown in target pages.
On the drafting of target information, the first embodiment of corresponding above-mentioned steps 121, is mounted to mesh in step 122
It is all default self-defined controls, as above example, including the first self-defined control to mark the target self-defined control on page root object
Part and the second self-defined control.In one embodiment of the disclosure, the choosing of user's triggering can also be received after starting the page and drawing
The second default tactile method information of display target information is selected, notifies which part self-defined control when carrying out content of pages drafting,
Content is drawn as sky.
Referring to another method flow diagrams that shows page info of the Fig. 4 according to an exemplary embodiment, above-mentioned step
Rapid 123 can include:
In step 1231, obtain and be used for the second default triggering information for selecting display target information;
In the embodiment of the present disclosure, for the first embodiment of above-mentioned steps 121, can also be set in target pages
Two preset interfaces, such as two preset switches buttons, a display for being used to control first object information such as page jump address;
Another switch button is used for the display for controlling the second target information such as page class name.
Active user can obtain the second default triggering information by above-mentioned second preset interface, the second default triggering letter
Breath is used to indicate that mobile terminal selectively draws target information.
For example, for editorial staff, the jump address of its target pages paid close attention to, page class name belongs to for him
In garbage, even if because he knows that also no authority checks the source code journey of the page according to page class name to page class name
Sequence, therefore, can select the page jump address of shows target pages, makes shifting by triggering above-mentioned two preset switches button
Dynamic terminal obtains the second default triggering information.
Similarly, mobile terminal can also receive the second default triggering letter of developer's triggering in page drawing process
The drafting content of first self-defined control is set to sky by breath, instruction mobile terminal.
In step 1232, after the original contents of the target pages have been drawn, according to the described second default triggering letter
The target information is drawn in breath selection.
When the original contents of target pages are completed or before completion, if it is default by above-mentioned second to receive user
Second default triggering information of interface input, it may be determined that the content of which self-defined control is plotted as sky when the page is drawn,
So as to fulfill the effect of the specific aim display target information in target pages.
I.e. in such cases, can be default tactile further according to above-mentioned second after the original contents of target pages are completed
Photos and sending messages determine which kind of target information drawn, and reduce page drawing data amount, targetedly show effective mesh to active user
Mark information.
It is current to use referring to a kind of schematic diagram of a scenario of display page infos of the Fig. 5-1 according to an exemplary embodiment
After family triggers the first preset interface 101 in target pages, mobile terminal determines that active user's request is shown in target pages
Show default exploitation the information such as page class name and page jump address of the page.Background program performs 121~step 123 of above-mentioned steps
Afterwards, the target pages content drawn out is as shown in the right figure in Fig. 5-1 so that target pages can not only show original contents
104, can also in the upper right side predeterminable area 103 of target pages the page class name of shows target pages and page jump
Location.In such a scene, active user can know page jump address and the page class name of target pages at the same time so that Yong Huke
To get more page development information, user experience is lifted.
Another schematic diagram of a scenario that shows page info of the Fig. 5-2 according to an exemplary embodiment, correspondence are above-mentioned
The page of embodiment illustrated in fig. 4 draws situation.As shown in Fig. 5-2, except being provided with above-mentioned first preset interface in target pages
Outside 101, the second preset interface for obtaining the above-mentioned second default triggering information is also provided with, including:It is aobvious for controlling
Show the first object information i.e. button 105 of page jump address, and, show the second target information, that is, page class name for controlling
Button 106.During original contents 104 are drawn, mobile terminal detects second that editorial staff is sent by button 105
Default triggering information, then page drawing result as shown in right figure in Fig. 5-2, in target pages except display original contents 104 it
Outside, only in above-mentioned predeterminable area 103 shows target pages jump address.In such a scene, can more targetedly it show
The information of editorial staff's concern, improves the intelligent program of mobile terminal, and can also reduce calculation amount.
It should be noted that a target pages can correspond to one or more page addresses, above-mentioned page address can be with
Called side sends a target pages.As above example, if user triggers a default page elements such as chain ground connection in page B
Location, jumps in the application scenarios of page A.Page A is target pages, and page B is called side, and page B can be by it certainly
The address information of body is sent to page A so that self-defined control calls default method for drafting to be plotted in the address information of page B
In page A so that active user can see the address information i.e. jump address of target pages of page B in page A.Upper
State in example, above-mentioned page B can be the page or other clients of for example above-mentioned first APP of active client software
The page of software, the disclosure are not restricted this.
To sum up, the method for the display page info provided using the disclosure, mobile terminal can obtain the pre- of user's transmission
, can be with while which is used to ask to open client software shows target pages original contents if solicited message
Display active user wants the default page development information such as information such as page class name, page jump address checked so that when
The developer and/or editorial staff of preceding user such as client software can inquire about page object whenever and wherever possible by mobile terminal
The default exploitation information in face, on the one hand facilitate the editorial staff of client software it is quick, it is autonomous know current page redirect ground
Location information, avoids manually inquiring that developer causes the work for influencing developer;On the other hand, can facilitate developer according to
The source program code of the target pages is searched in time according to above-mentioned target information and the source code of the target pages is repaired etc.
Operation, and then the development efficiency of application developer is improved, strengthen the intelligence degree of mobile terminal, improve user and use body
Test.
For foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as to a series of combination of actions, but
It is that those skilled in the art should know, the disclosure and from the limitation of described sequence of movement, because according to the disclosure, certain
A little steps can use other orders or be carried out at the same time.
Secondly, those skilled in the art should also know, embodiment described in this description belongs to alternative embodiment,
Necessary to involved action and the module not necessarily disclosure.
Corresponding with aforementioned applications function realizing method embodiment, the disclosure additionally provides application function realization device and phase
The embodiment for the terminal answered.
Referring to a kind of device block diagram of display page infos of the Fig. 6 according to an exemplary embodiment, described device can
With including:
Request module 21, is configured as obtaining the solicited message for being used to ask shows target pages to preset exploitation information;
Display module 22, is configured as drawing the target information of the target pages, the mesh according to the solicited message
Mark the default exploitation information that information is the target pages.
In one device embodiment of the disclosure, the target information is included at least with the next item down:The class name of the page,
Or, the jump address of the page.
The device block diagram of self-defined control information is shown referring to another kinds of the Fig. 7 according to an exemplary embodiment,
On the basis of Fig. 6 shown device embodiments, the request module 21 can include:
Submodule 211 is triggered, when being configured as detecting the first default triggering information by preset interface, there is provided information is tested
Demonstrate,prove interface;
Submodule 212 is verified, is configured as verifying interface captures user authentication information by described information and carries out
Information Authentication;
Submodule 213 is asked, is configured as in the case where the subscriber authentication information is verified by described information,
Obtain the solicited message.
The device block diagram of self-defined control information is shown referring to another kinds of the Fig. 8 according to an exemplary embodiment,
On the basis of Fig. 6 shown device embodiments, the display module 22 can include:
Control determination sub-module 221, is configured as, according to the solicited message, determining the root pair of target pages to be mounted to
As upper target self-defined control, the target self-defined control is used for realization the drafting of the target information;
Carry submodule 222, is configured as the target self-defined control being mounted to the root object of the target pages
On;
In another device embodiment of the disclosure, if the target pages are the client softwares based on Android system exploitation
In the page.The carry submodule 222, can be configured as will by the OnResume () method for rewriteeing the root object
The target self-defined control is mounted on the root object.
Information rendering submodule 223, is configured as, when the root object carries out page drafting, passing through the self-defined control
Part calls default drawing apparatus to draw the target information.
In another device embodiment that the disclosure provides, above-mentioned control determination sub-module 221, can be configured as will be complete
Preset self-defined control and be determined as the target self-defined control in portion.Correspondingly, shown referring to Fig. 9 according to an exemplary embodiment
Another device block diagram for showing self-defined control information, on the basis of Fig. 8 shown device embodiments, described information is drawn
Submodule 223, can include:
Trigger element 2231, is configured as obtaining the second default triggering information for selecting display target information;
Information drawing unit 2232, is configured as after the original contents of the target pages have been drawn, according to described
The target information is drawn in two default triggering information selections.
On the device in above-described embodiment, wherein modules perform the concrete mode of triggering in related this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related part is real referring to method
Apply the part explanation of example.Device embodiment described above is only schematical, wherein illustrating as separating component
Module may or may not be physically separate, may or may not be as the component that module is shown
Physical module, you can with positioned at a place, or can also be distributed on multiple mixed-media network modules mixed-medias.Can be according to the actual needs
Some or all of module therein is selected to realize the purpose of disclosure scheme.Those of ordinary skill in the art are not paying wound
In the case that the property made is worked, you can to understand and implement.
In addition, the disclosure additionally provides a kind of mobile terminal, which can include:Processor and for depositing
Store up the memory of processor-executable instruction;
Wherein, processor is configured as:
Obtain the solicited message for being used to ask shows target pages to preset exploitation information;
The target information of the target pages is drawn according to the solicited message, the target information is the target pages
Default exploitation information.
It should be noted that other programs of memory storage, referring specifically to the description in previous methods flow, herein not
Repeat again, processor is additionally operable to perform other programs of memory storage.
Figure 10 is an a kind of structure diagram of mobile terminal of the disclosure according to an exemplary embodiment.
With reference to Figure 10, for example, equipment 1000 can be the mobile phone for having routing function, computer, digital broadcasting end
End, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Equipment 1000 includes following one or more assemblies:Processing component 1002, memory 1004, power supply module 1009,
Multimedia component 1008, audio component 1010, the interface 1012 of input/output (I/O), sensor component 1014, and communication
Component 1016.
The overall triggering of the usual control device 1000 of processing component 1002, such as with display, call, data communication,
The triggering that camera triggers and record triggering is associated.Processing component 1002 can be performed including one or more processors 1020
Instruction, to complete all or part of step of above-mentioned method.In addition, processing component 1002 can include one or more moulds
Block, easy to the interaction between processing component 1002 and other assemblies.For example, processing component 1002 can include multi-media module,
To facilitate the interaction between multimedia component 1008 and processing component 1002.
Memory 1004 is configured as storing various types of data to support the triggering in equipment 1000.These data
Example includes being used for the instruction of any application program or method triggered on the device 1000, contact data, telephone book data,
Message, picture, video etc..Memory 1004 can by any kind of volatibility or non-volatile memory device or they
Combination is realized, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can
Program read-only memory (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory
Reservoir, disk or CD.
Power supply module 1009 provides electric power for the various assemblies of equipment 1000.Power supply module 1009 can include power management
System, one or more power supplys, and other components associated with generating, managing and distributing electric power for equipment 1000.
Multimedia component 1008 is included in the screen of one output interface of offer between equipment 1000 and user.At some
In embodiment, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Touch-screen is may be implemented as, to receive input signal from the user.Touch panel includes one or more touch sensors
Touched with sensing, the gesture on slip and touch panel.Touch sensor can not only sense the boundary of a touch or slide action,
But also detection and touch or the relevant duration and pressure of slide trigger.In certain embodiments, multimedia component 1008
Including a front camera and/or rear camera.When equipment 1000 is in triggering pattern, such as screening-mode or video mode
When, front camera and/or rear camera can receive exterior multi-medium data.Each front camera and postposition shooting
Head can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1010 is configured as output and/or input audio signal.For example, audio component 1010 includes a wheat
Gram wind (MIC), when equipment 1000 is in triggering pattern, during such as call model, logging mode and speech recognition mode, microphone quilt
It is configured to receive external audio signal.The received audio signal can be further stored in memory 1004 or via communication
Component 1016 is sent.In certain embodiments, audio component 1010 further includes a loudspeaker, for exports audio signal.
I/O interfaces 1012 provide interface, above-mentioned peripheral interface module between processing component 1002 and peripheral interface module
Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and
Locking press button.
Sensor component 1014 includes one or more sensors, and the state for providing various aspects for equipment 1000 is commented
Estimate.For example, sensor component 1014 can detect opening/closed mode of equipment 1000, the relative positioning of component, such as group
Part is the display and keypad of equipment 1000, and sensor component 1014 can be with 1,000 1 groups of detection device 1000 or equipment
The position of part changes, the existence or non-existence that user contacts with equipment 1000,1000 orientation of equipment or acceleration/deceleration and equipment
1000 temperature change.Sensor component 1014 can include proximity sensor, be configured to connect in no any physics
Presence of nearby objects is detected when tactile.Sensor component 1014 can also include optical sensor, as CMOS or ccd image are sensed
Device, for being used in imaging applications.In certain embodiments, which can also include acceleration sensing
Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1016 is configured to facilitate the communication of wired or wireless way between equipment 1000 and other equipment.If
Standby 1000 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.It is exemplary at one
In embodiment, communication component 1016 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel
Information.In one exemplary embodiment, communication component 1016 further includes near-field communication (NFC) module, to promote junction service.
For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) skill can be based in NFC module
Art, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, equipment 1000 can be by one or more application application-specific integrated circuit (ASIC), numeral
Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory 1004 of instruction, above-metioned instruction can be performed to complete the above method by the processor 1020 of equipment 1000.Example
Such as, non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and
Optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in storage medium is performed by the processor of equipment
When so that equipment is able to carry out a kind of method for showing page info, and this method includes:
Obtain the solicited message for being used to ask shows target pages to preset exploitation information;
The target information of the target pages is drawn according to the solicited message, the target information is the target pages
Default exploitation information.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein
Its embodiment.The disclosure is intended to any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be appreciated that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claim.
Claims (14)
- A kind of 1. method for showing page info, it is characterised in that the described method includes:Obtain the solicited message for being used to ask shows target pages to preset exploitation information;The target information of the target pages is drawn according to the solicited message, the target information is pre- for the target pages If develop information.
- 2. according to the method described in claim 1, it is characterized in that, the target information is included at least with the next item down:The page The class name in face, or, the jump address of the page.
- 3. according to the method described in claim 1, it is characterized in that, the shows target pages preset the request letter of exploitation information Breath, including:When detecting the first default triggering information by preset interface, there is provided Information Authentication interface;By described information verify interface captures user authentication information go forward side by side row information verify;If the subscriber authentication information is verified by described information, the solicited message is obtained.
- 4. according to the method described in claim 1, it is characterized in that, described draw the target pages according to the solicited message Target information, including:According to the solicited message, the target self-defined control on the root object of target pages to be mounted to, the target are determined Self-defined control is used for realization the drafting of the target information;The target self-defined control is mounted on the root object of the target pages;When the root object carries out page drafting, default method for drafting is called to draw the target by the self-defined control Information.
- 5. according to the method described in claim 4, it is characterized in that, the target pages are the clients based on Android system exploitation Hold the page in software;It is described that target self-defined control is mounted on the root object, including:The target self-defined control is mounted on the root object by the OnResume () method for rewriteeing the root object.
- It is 6. according to the method described in claim 4, it is characterized in that, described according to the solicited message determines to wait to be mounted to Target self-defined control on the root object of target pages, including:All default self-defined controls are determined as the target self-defined control;The drafting for calling default method for drafting to carry out target information by the self-defined control, including:Obtain and be used for the second default triggering information for selecting display target information;After the original contents of the target pages have been drawn, the target is drawn according to the described second default triggering information selection Information.
- 7. a kind of device for showing page info, it is characterised in that described device includes:Request module, is configured as obtaining the solicited message for being used to ask shows target pages to preset exploitation information;Display module, is configured as drawing the target information of the target pages, the target information according to the solicited message For the default exploitation information of the target pages.
- 8. device according to claim 7, it is characterised in that the target information is included at least with the next item down:The page The class name in face, or, the jump address of the page.
- 9. device according to claim 7, it is characterised in that the request module includes:Submodule is triggered, when being configured as detecting the first default triggering information by preset interface, there is provided Information Authentication interface;Submodule is verified, is configured as verifying that interface captures user authentication information row information of going forward side by side is tested by described information Card;Submodule is asked, is configured as in the case where the subscriber authentication information is verified by described information, obtains institute State solicited message.
- 10. device according to claim 7, it is characterised in that the display module includes:Control determination sub-module, is configured as according to the solicited message, determining on the root object of target pages to be mounted to Target self-defined control, the target self-defined control are used for realization the drafting of the target information;Carry submodule, is configured as the target self-defined control being mounted on the root object of the target pages;Information rendering submodule, is configured as, when the root object carries out page drafting, calling by the self-defined control Default drawing apparatus draws the target information.
- 11. device according to claim 10, it is characterised in that the target pages are the visitors based on Android system exploitation The page in the software of family end;The carry submodule, is configured as by the OnResume () method for rewriteeing the root object that the target is self-defined Control is mounted on the root object.
- 12. device according to claim 10, it is characterised in that the control determination sub-module, is configured as whole Default self-defined control is determined as the target self-defined control;Described information rendering submodule, including:Trigger element, is configured as obtaining the second default triggering information for selecting display target information;Information drawing unit, is configured as after the original contents of the target pages have been drawn, default tactile according to described second The target information is drawn in photos and sending messages selection.
- 13. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, it is characterised in that the program The step of claim 1~6 any the method is realized when being executed by processor.
- A kind of 14. mobile terminal, it is characterised in that including:Processor and the memory for storing processor-executable instruction;Wherein, the processor is configured as:Obtain the solicited message for being used to ask shows target pages to preset exploitation information;The target information of the target pages is drawn according to the solicited message, the target information is pre- for the target pages If develop information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711353144.5A CN108037912A (en) | 2017-12-15 | 2017-12-15 | Show the method, apparatus of page info |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711353144.5A CN108037912A (en) | 2017-12-15 | 2017-12-15 | Show the method, apparatus of page info |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108037912A true CN108037912A (en) | 2018-05-15 |
Family
ID=62103081
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711353144.5A Pending CN108037912A (en) | 2017-12-15 | 2017-12-15 | Show the method, apparatus of page info |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108037912A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110704150A (en) * | 2019-09-26 | 2020-01-17 | 中国银行股份有限公司 | Page display method and equipment based on business system and business system |
CN111324340A (en) * | 2020-02-20 | 2020-06-23 | 腾讯科技(深圳)有限公司 | Interaction method and device based on webpage copy, storage medium and computer equipment |
CN113452613A (en) * | 2020-06-30 | 2021-09-28 | 北京新氧科技有限公司 | Method and device for acquiring page routing address, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103197888A (en) * | 2013-03-29 | 2013-07-10 | 深圳众为兴技术股份有限公司 | Display control method and device of parameter interface |
CN103870554A (en) * | 2009-12-11 | 2014-06-18 | 北京奇虎科技有限公司 | Method for realizing browser address bar nameplate |
CN104503893A (en) * | 2014-12-22 | 2015-04-08 | 上海斐讯数据通信技术有限公司 | Activity state information storage and analysis methods in android system, and electronic terminal |
-
2017
- 2017-12-15 CN CN201711353144.5A patent/CN108037912A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103870554A (en) * | 2009-12-11 | 2014-06-18 | 北京奇虎科技有限公司 | Method for realizing browser address bar nameplate |
CN103197888A (en) * | 2013-03-29 | 2013-07-10 | 深圳众为兴技术股份有限公司 | Display control method and device of parameter interface |
CN104503893A (en) * | 2014-12-22 | 2015-04-08 | 上海斐讯数据通信技术有限公司 | Activity state information storage and analysis methods in android system, and electronic terminal |
Non-Patent Citations (1)
Title |
---|
ORANGEOSTRICH: "AndroidRocket:获取当前 Activity 的包名和类名", 《CTOLIB码库:HTTPS://WWW.CTOLIB.COM/ANDROIDROCKET.HTML》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110704150A (en) * | 2019-09-26 | 2020-01-17 | 中国银行股份有限公司 | Page display method and equipment based on business system and business system |
CN111324340A (en) * | 2020-02-20 | 2020-06-23 | 腾讯科技(深圳)有限公司 | Interaction method and device based on webpage copy, storage medium and computer equipment |
CN111324340B (en) * | 2020-02-20 | 2021-07-20 | 腾讯科技(深圳)有限公司 | Interaction method and device based on webpage copy, storage medium and computer equipment |
CN113452613A (en) * | 2020-06-30 | 2021-09-28 | 北京新氧科技有限公司 | Method and device for acquiring page routing address, electronic equipment and storage medium |
CN113452613B (en) * | 2020-06-30 | 2023-06-06 | 北京新氧科技有限公司 | Method, device, electronic equipment and storage medium for acquiring page routing address |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104601441B (en) | For the authority control method and instant communication client of group chat | |
CN105225096A (en) | The disposal route of reminder announced message, device and terminal | |
CN104933351A (en) | Information security processing method and information security processing device | |
EP2940977B1 (en) | Method and device for sending information in voice service | |
CN108008955A (en) | Show the method, apparatus of self-defined control information | |
WO2018000710A1 (en) | Method and device for displaying wifi signal icon and mobile terminal | |
CN107239527A (en) | web access method and device | |
CN106056010A (en) | Method and apparatus for processing messages by terminal, and terminal | |
CN106201310A (en) | The display packing of notification message, device and terminal | |
CN105487805A (en) | Object operating method and device | |
CN105392141A (en) | Device control method and device | |
CN107219992A (en) | Open the method and device of split screen function | |
CN104899501A (en) | Dialog list display method and device and terminal | |
CN107301242A (en) | Method, device and the storage medium of page jump | |
CN108037912A (en) | Show the method, apparatus of page info | |
CN107230060A (en) | The method and apparatus that a kind of account is reported the loss | |
CN106537288B (en) | The method and device of self-starting is applied in control | |
CN105550213A (en) | Picture browsing method and device | |
CN105282162A (en) | Processing method and device for account management business | |
CN106611112A (en) | Application program safe processing method, device and equipment | |
CN108009269A (en) | Show the method, apparatus of page data | |
CN106406659A (en) | Double-open application establishing method and device | |
CN105530129A (en) | Router reset method and device | |
CN106302342A (en) | The changing method of a kind of user account and device | |
CN108845852B (en) | Control method and device of intelligent equipment and computer readable storage 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 |