CN107783810A - Display control method and electronic equipment - Google Patents

Display control method and electronic equipment Download PDF

Info

Publication number
CN107783810A
CN107783810A CN201711084595.3A CN201711084595A CN107783810A CN 107783810 A CN107783810 A CN 107783810A CN 201711084595 A CN201711084595 A CN 201711084595A CN 107783810 A CN107783810 A CN 107783810A
Authority
CN
China
Prior art keywords
data
control
described image
electronic equipment
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
CN201711084595.3A
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201711084595.3A priority Critical patent/CN107783810A/en
Publication of CN107783810A publication Critical patent/CN107783810A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/986Document structures and storage, e.g. HTML extensions
    • 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
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Abstract

The embodiments of the invention provide display control method and electronic equipment.The display control method is applied in electronic equipment, and the electronic equipment includes an image collecting device and is provided with an application program, and this method includes:Obtain a trigger action;The trigger action is responded, starts the application program;Pass through the interaction page of application builds one, in the case where not switching described image harvester and the application program, the first data and the second data of acquisition network-side that acquisition described image harvester is gathered;First data and the second data are shown with the interaction page based on the application program., can be in the load networks page by display control method and electronic equipment according to embodiments of the present invention, the display image harvester acquired image content on the page, so as to promote the facility of user and improve the performance of system.

Description

Display control method and electronic equipment
The present invention is the divisional application of following patent application:Application number:201210473372.7 the applying date:2012 11 The moon 20, denomination of invention:Display control method and electronic equipment.
Technical field
The present invention relates to display control method and electronic equipment.
Background technology
With the development of electronic equipment, the various applications used in the electronic device are generated, wherein, browser application is just It is one of important application in electronic equipment, user can browse net using browser application on the display screen of electronic equipment Page.
Now, when user browses webpage using browser application, may wish to can be not only in browser application Webpage is browsed, and other functions can be used, while is not that deactivation is other again in the case where exiting browser application Corresponding application.For example, when user browses similar microblogging website, it may be desirable to by under the current state shooting of oneself Come, so as to upload to microblogging up.In the current situation, when user wishes so to do, it has to which browser application is switched To system background, then start camera application, shoot the current state of oneself, then switch back into browser application, read this Photo, then upload among the webpage browsed.It can be seen that an only simple operation for uploading live-pictures, just So many operation bidirectional can be brought to user, therefore, this not only brings great inconvenience to user, is also brought to system Very big expense.
But the function of camera is not shown and controlled in supported web page in the primary browser of android system, when It is preceding also to solve this problem without any scheme.It is therefore desirable to be able to page mode display image harvester The scheme of acquired image content.
The content of the invention
Therefore, the present invention is made for above-mentioned problems of the prior art and demand.
The purpose of the embodiment of the present invention is to provide a kind of display control method and electronic equipment, and it can be in load networks page During face, the display image harvester acquired image content on the page.
One side according to embodiments of the present invention, there is provided a kind of display control method, applied in electronic equipment, institute Stating electronic equipment includes an image collecting device, and the electronic equipment is provided with an application program, and methods described includes:Obtain one Trigger action;The trigger action is responded, starts the application program;By the interaction page of application builds one, In the case of not switching described image harvester and the application program, described image harvester is gathered first is obtained Data and the second data for obtaining network-side;Based on the application program by first data and the second data with the friendship The mutual page is shown.
In above-mentioned display control method, the interaction page further comprises:Control, for controlling described image to adopt Acquisition means.
In above-mentioned display control method, the application program includes an analytics engine;It is described to pass through the application program An interaction page is built, in the case where not switching described image harvester and the application program, described image is obtained and adopts The first data that acquisition means are gathered and further comprise the step of obtain the second data of network-side:By with the parsing Engine parses script information, so as to build an IMAQ object.
In above-mentioned display control method, described the step of building IMAQ object, specifically includes:Produce a label, institute Label is stated to be used to determine a viewing area in the interaction page, wherein, the viewing area is used to show that described image is adopted First data that acquisition means are gathered.
In above-mentioned display control method, described image acquisition target includes the first control object and the second control object; First control object is used to interact with the IMAQ service routine corresponding to described image harvester, with control Described image harvester;And second control object is used to create a storage region, and the storage region is provided Gather and service to described image, so that described image gathers described first that service routine is gathered described image harvester Data are written in the storage region.
In above-mentioned display control method, first control object is in response to control instruction caused by the control.
In above-mentioned display control method, first control object has in response to control instruction caused by the control Body includes:The control instruction is exported and gathers service routine to described image by first control object, wherein, described image The first data that collection service routine control described image harvester is gathered, and notification message is sent to first control Object processed, the notification message are had been written into the storage region for characterizing first data;And first control The notification message is sent to the application program by object processed, by the application program according to a mark, from the memory block Domain determines first data and is plotted on the viewing area.
Another aspect according to embodiments of the present invention, there is provided a kind of electronic equipment, the electronic equipment include an image Harvester and a control unit, the electronic equipment further comprise:Receiving unit, for obtaining a trigger action;Start Unit, for responding the trigger action, start described control unit;Wherein, described control unit builds an interaction page, In the case of not switching described image harvester and described control unit, described image harvester is gathered first is obtained Data and the second data for obtaining network-side;Described control unit is used for first data and the second data with the friendship The mutual page is shown.
In above-mentioned electronic equipment, described control unit is further used for including a control in interaction page, for controlling Described image harvester processed.
In above-mentioned electronic equipment, described control unit includes a resolution unit, and the resolution unit is by parsing script Information, so as to build an IMAQ object.
In above-mentioned electronic equipment, the resolution unit builds described image acquisition target, institute by producing a label Label is stated to be used to determine a viewing area in the interaction page, wherein, the viewing area is used to show that described image is adopted First data that acquisition means are gathered.
In above-mentioned electronic equipment, described image acquisition target includes the first control object and the second control object;It is described First control object is used to interact with the IMAQ service routine corresponding to described image harvester, with described in control Image collecting device;And second control object is used to create a storage region, and the storage region is supplied to institute IMAQ service is stated, so that first data that described image collection service routine is gathered described image harvester It is written in the storage region.
In above-mentioned electronic equipment, first control object is in response to control instruction caused by the control.
In above-mentioned electronic equipment, first control object is specifically wrapped in response to control instruction caused by the control Include:The control instruction is exported and gathers service routine to described image by first control object, wherein, described image collection The first data that service routine control described image harvester is gathered, and notification message is sent to first control pair As the notification message is had been written into the storage region for characterizing first data;And first control pair It is true from the storage region by described control unit according to a mark as the notification message is sent into described control unit Fixed first data are simultaneously plotted on the viewing area.
Another aspect according to embodiments of the present invention, there is provided a kind of electronic equipment, the electronic equipment include an image Harvester simultaneously runs an application program, and the electronic equipment further comprises:Receiving unit, for obtaining a trigger action; Start unit, for responding the trigger action, start the application program;Wherein, the application builds one interact page Face, in the case where not switching described image harvester and the application program, obtain described image harvester and gathered The first data and obtain network-side the second data;And the application program is used for first data and second Data are shown with the interaction page.
By display control method and electronic equipment according to embodiments of the present invention, can in the load networks page, Display image harvester acquired image content on the page, so as to promote the facility of user and improve the performance of system.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also To obtain other accompanying drawings according to these accompanying drawings.
Fig. 1 is the indicative flowchart for showing display control method according to embodiments of the present invention;
Fig. 2 is the schematic diagram that IMAQ object is created in display control method according to embodiments of the present invention;
Fig. 3 and Fig. 4 is the data acquisition that image collecting device is controlled in display control method according to embodiments of the present invention Schematic diagram;
Fig. 5 is the schematic diagram that data are shown in display control method according to embodiments of the present invention;
Fig. 6 is the schematic diagram of the specific example that response control instructs in display control method according to embodiments of the present invention;
Fig. 7 is the schematic block diagram of electronic equipment according to embodiments of the present invention;
Fig. 8 is the example for showing the JavaScript script informations that electronic equipment according to embodiments of the present invention is recorded.
Embodiment
Below, display control method and electronic equipment according to embodiments of the present invention be will be described in detail with reference to accompanying drawings.
One side according to embodiments of the present invention, there is provided a kind of display control method, applied in electronic equipment, institute Stating electronic equipment includes an image collecting device, and the electronic equipment is provided with an application program, and methods described includes:Obtain one Trigger action;The trigger action is responded, starts the application program;One script information, structure are parsed by the application program An interaction page is built, the first data and the second data of acquisition network-side that acquisition described image harvester is gathered, its In, the script information is mutually corresponding with the network-side;And based on the application program by first data and second Data are shown with the interaction page.
By display control method according to embodiments of the present invention, can be shown in the form of interaction page to user by scheming Both the first data gathered as harvester and the second data of network-side, so that user need not be in IMAQ The application of device and the application of network-side are switched between the two, it is possible to image collecting device institute is seen in interaction page The content of the image of collection, which enhance user using image collecting device and to watch the data that image collecting device gathered Convenience, improve the overall performance of electronic equipment.
Fig. 1 is the indicative flowchart for showing display control method according to embodiments of the present invention.As shown in figure 1, according to The display control method of the embodiment of the present invention is applied in an electronic equipment, and the electronic equipment includes an image collecting device, and The electronic equipment is provided with an application program, and method includes:S1, obtain a trigger action;S2, in response to the trigger action, open Dynamic application program;S3, a script information is parsed by application program, builds an interaction page, obtained image collecting device and adopted First data of collection and the second data for obtaining network-side, wherein, the script information is mutually corresponding with network-side;And base The first data and the second data are shown with the interaction page in the application program.
In an embodiment of the present invention, for example, above-mentioned electronic equipment is notebook computer, above-mentioned image collecting device is to take the photograph As head, and above-mentioned application program is browser.When user opens the webpage of certain Internet with browser, browser passes through The script information of the webpage is parsed, an interaction page can be built based on the webpage when front opening, also, user is in the interaction page On face, the content of the webpage can be browsed to simultaneously and view data that camera is collected.Certainly, people in the art Member is it is appreciated that the display control method of the embodiment of the present invention is not limited to above-mentioned specific example, for example, above-mentioned electronic equipment Can also be the portable mobile terminals such as mobile phone, and above-mentioned application program can be microblogging client, and corresponding network End is the server of microblogging.
In display control method according to embodiments of the present invention, the interaction page further comprises:Control, it is used for Control described image harvester.
In an embodiment of the present invention, the first data from image collecting device and the second data from network-side with Interaction page shows, wherein, application program is by parsing the script information corresponding with network-side, with interaction page display network Second data at end.In an embodiment of the present invention, further comprise in interaction page for controlling image collecting device Control.For example, when showing camera acquired image on the page, user may need to control camera to enter on the page Row, which is taken pictures, image etc., to be operated, therefore, in above-mentioned display control method, it is necessary in the second data from network-side, example After the completion of being loaded such as webpage, it is configured to control the control of image collecting device.For example, IMAQ is being carried out using camera In the case of, camera object is constructed to control camera in page script, also, in interaction page, such as be used for defined in webpage The button of image collecting device is controlled, and further the corresponding event after button is clicked in definition, for example, taking pictures, imaging.This Sample, when button receives user to the clicking operation of the control, call the initialization procedure of image collecting device.
In display control method according to embodiments of the present invention, the application program includes an analytics engine;It is described logical Cross the application program and parse a script information, one interaction page of structure, obtain described image harvester is gathered first The step of second data of data and acquisition network-side, further comprises:Believed by parsing the script with the analytics engine Breath, so as to build an IMAQ object.
Fig. 2 is the schematic diagram that IMAQ object is created in display control method according to embodiments of the present invention.Fig. 2's In example, the script information of webpage is HTML5, and browser in the script information of HTML5 forms by inserting corresponding generation Code realizes display control method according to embodiments of the present invention.In an embodiment of the present invention, it is next when being shown with interaction page From the first data of image collecting device when, it is necessary first to create be used in script information control image collecting device control Object, for example, controlling the camera object of camera in page script.As shown in Fig. 2 during concrete implementation, application Program, such as browser hand over one section of JavaScript code for creating IMAQ object, i.e. JavaScript scripts Compile and perform to JavaScript engine (V8 or JavaScriptCore), so, performed in javascript scripts When, camera object (example can be created according to Navigator.idl files by Navigator (javascript global objects) Such as, DOMCamera).Here, it will be understood by those skilled in the art that in the script information of other forms, class can also be utilized Corresponding IMAQ object is built like mode, the embodiment of the present invention is not intended to this any limitation of progress.
In display control method according to embodiments of the present invention, described the step of building IMAQ object, specifically wraps Include:A label is produced, the label is used to determine a viewing area in the interaction page, wherein, the viewing area is used In first data that display described image harvester is gathered.
Equally it is described with above-mentioned example, after DomCamera is constructed, by initializing the IMAQ object DOMCamera, a canvas sheet can be generated by the application program, such as browser, also, browser can be by image collecting device The content of collection is plotted to this canvas sheet up.Meanwhile by initializing IMAQ object DOMCamera, in webpage One HTML of upper establishment DIV labels, for carrying the canvas sheet of above-mentioned generation, it is substantially exactly to use this element of DIV, to picture Cloth accounts for a position, also, after DIV generations, can add it into the dom tree of webpage.So, equivalent in display The label of the first data gathered for display image harvester is determined in interaction page, so as to show by image The first data that harvester is gathered.
The step of by above-mentioned structure IMAQ object and producing label, has actually had been built up from IMAQ pair As to the path for the label being shown in interaction page, below, when description specifically to be gathered by image collecting device to view data, Process by IMAQ object acquisition by image collecting device acquired image data.
In display control method according to embodiments of the present invention, described image acquisition target include the first control object and Second control object;First control object is used to enter with the IMAQ service routine corresponding to described image harvester Row interaction, to control described image harvester;And second control object is used to create a storage region, and by institute State storage region and be supplied to described image collection service, so that described image gathers service routine by described image harvester institute First data of collection are written in the storage region.
Fig. 3 and Fig. 4 is the data acquisition that image collecting device is controlled in display control method according to embodiments of the present invention Schematic diagram.As shown in figure 3, still by taking the script information of HTML5 forms as an example, in the above-mentioned implementation process of application program, point Two code spaces have been cut, for example, the Java Runtime layers of the C++ layers and Android in Fig. 3, in C++ layers, IMAQ Object DOMCamera creates two internal control objects based on the code as depicted for being used to start preview, i.e. by First control object of Android CameraPrivateAndroid Object Creations Android Java layers HTML5CameraProxy and the second control object HTML5CameraView, then, establishment and CameraService The relation of (camera service provided in Android), wherein, HTML5CameraProxy is used for interacting with CameraService, Reach the purpose of the image collecting device in control Android device.Also, as shown in figure 4, HTML5CameraView is created One memory field, for example, SurfaceTexture, and this block memory field is supplied to CameraService, to cause The first data for gathering out by the image collecting device of hardware are written in this block memory field by CameraService.
Equally, although it will be understood by those skilled in the art that above-mentioned example with the script information of HTML5 forms and Enter exemplified by the electronic equipment (it has browser and camera service based on Android operation system) of Android operation system Description is gone, but the display control method of the embodiment of the present invention can also be applied to the script information of other forms and operation is System, embodiments of the invention are not intended to this progress any restrictions.
Here, the step of above-mentioned generation label adopted to build from image as described above, in an embodiment of the present invention Collect object to the path for the label being shown in interaction page, and the number of reference picture 3 and the control image collecting device described in Fig. 4 Process according to collection is to build by IMAQ object to the path by image collecting device acquired image data. In the display control method of the embodiment of the present invention, after structure completes IMAQ object, the two processes can and be advanced OK, and mutual sequencing need not be limited.
In display control method according to embodiments of the present invention, first control object is produced in response to the control Raw control instruction.
In display control method according to embodiments of the present invention, first control object is produced in response to the control Raw control instruction specifically includes:The control instruction is exported and gathers service journey to described image by first control object Sequence, wherein, the first data for being gathered of described image collection service routine control described image harvester, and by notification message First control object is sent to, the notification message has been written into the storage region for characterizing first data In;The notification message is sent to the application program by first control object, is identified by the application program according to one, First data are determined from the storage region and are plotted on the viewing area.
As described above, user can control image collecting device to perform a series of behaviour using the control in interaction page Make, for example, take pictures, shooting etc..Fig. 5 is the schematic diagram that data are shown in display control method according to embodiments of the present invention, such as Shown in Fig. 5, when the first control object HTML5CameraProxy is in response to such as photographing instruction, and sent out to CameraService When going out photographing instruction, a frame data have been put into SurfaceTexture by CameraService, and are notified HTML5CameraProxy data have been written into, and so, HTML5CameraProxy is notified that application program browsing in C++ layers Device kernel, the content of this frame data stored in memory field is plotted in the viewing area defined in interaction page.Fig. 6 is The schematic diagram for the specific example that response control instructs in display control method according to embodiments of the present invention.As shown in Figure 6, it is assumed that User have issued photographing instruction by the space in interaction page, for example, clicking on the button of taking pictures shown in the page, then by such as Code shown in figure so that browser calls the takePicture functions defined in DOMCamera, starts flow of taking pictures, such as In the structure of two code spaces shown in Fig. 3, program flow calls Java Runtime layers always HTML5CameraProxy objects, so as to send photographing instruction from HTML5CameraProxy objects to CameraService, with Taken pictures by CameraService control cameras.
So, in an embodiment of the present invention, for example, working as in the electronic equipment based on Android operation system with clear When device of looking at accesses the webpage based on HTML5, by the way that the preview of camera and some other control functions are put into webpage, open Originator only needs simply to call several JavaScript interfaces, it is possible to user is used camera while webpage is browsed Function, eliminate using switching trouble.
Another aspect according to embodiments of the present invention, there is provided a kind of electronic equipment, the electronic equipment include an image Harvester and a control unit, the electronic equipment further comprise:Receiving unit, for obtaining a trigger action;Start Unit, for responding the trigger action, start the application program;Wherein, described control unit is believed by parsing a script Breath, the first data and the second number of acquisition network-side that one interaction page of structure, acquisition described image harvester are gathered According to, wherein, the script information is mutually corresponding with the network-side;And described control unit is used for first data Shown with the second data with the interaction page.
Fig. 7 is the schematic block diagram of electronic equipment according to embodiments of the present invention.As shown in fig. 7, implemented according to the present invention The electronic equipment 100 of example includes an image collecting device 101 and a control unit 102, the electronic equipment further comprise:Connect Unit 103 is received, for obtaining a trigger action;Start unit 104, in response to the trigger action, starting control unit 102;Wherein, control unit 102 is adopted by parsing a script information, one interaction page of structure, acquisition image collecting device 101 First data of collection and the second data for obtaining network-side, wherein, the script information is mutually corresponding with network-side;And control Unit 102 processed is used to be shown the first data and the second data with interaction page.
Here, it will be understood by those skilled in the art that the control unit 102 in Fig. 7 electronic equipment 100 can be included The hardware module of the repertoire of the application program of foregoing display control method, to be realized by parsing script information according to this The display control method of inventive embodiments.For example, accessed in the electronic equipment based on Android operation system as described above In the example of the webpage of HTML5 forms, control unit 102 can have the repertoire of the browser of Android operation system, JavaScript script informations are inserted into so as to call several JavaScript interfaces simultaneously so that user is browsing webpage Simultaneously using the function of camera.Fig. 8 is to show the JavaScript scripts that electronic equipment according to embodiments of the present invention is recorded The example of information.
In above-mentioned electronic equipment, described control unit is further used for including a control in interaction page, for controlling Described image harvester processed.
In above-mentioned electronic equipment, described control unit includes a resolution unit, and the resolution unit passes through described in parsing Script information, so as to build an IMAQ object.
In above-mentioned electronic equipment, the resolution unit builds described image acquisition target, institute by producing a label Label is stated to be used to determine a viewing area in the interaction page, wherein, the viewing area is used to show that described image is adopted First data that acquisition means are gathered.
In above-mentioned electronic equipment, described image acquisition target includes the first control object and the second control object;It is described First control object is used to interact with the IMAQ service routine corresponding to described image harvester, with described in control Image collecting device;And second control object is used to create a storage region, and the storage region is supplied to institute IMAQ service is stated, so that first data that described image collection service routine is gathered described image harvester It is written in the storage region.
In above-mentioned electronic equipment, first control object is in response to control instruction caused by the control.
In above-mentioned electronic equipment, first control object is specifically wrapped in response to control instruction caused by the control Include:The control instruction is exported and gathers service routine to described image by first control object, wherein, described image collection The first data that service routine control described image harvester is gathered, and notification message is sent to first control pair As the notification message is had been written into the storage region for characterizing first data;And first control pair It is true from the storage region by described control unit according to a mark as the notification message is sent into described control unit Fixed first data are simultaneously plotted on the viewing area.
Here, the specific object in the control unit of the electronic equipment of the embodiment of the present invention and the operating system of electronic equipment Interaction previously with regards to the application program and operating system described in display control method according to embodiments of the present invention In specific object interaction it is essentially identical, herein in order to avoid redundancy just repeats no more.
Another aspect according to embodiments of the present invention, there is provided a kind of electronic equipment, the electronic equipment include an image Harvester simultaneously runs an application program, and the electronic equipment further comprises:Receiving unit, for obtaining a trigger action; Start unit, for responding the trigger action, start the application program;Wherein, the application program is by parsing a pin This information, one interaction page of structure, obtain the first data for being gathered of described image harvester and obtain the of network-side Two data, wherein, the script information is mutually corresponding with the network-side;And the application program is used for described first Data and the second data are shown with the interaction page.
Equally, the function performed by the application program in above-mentioned electronic equipment can be implemented previously with regards to according to the present invention The function performed by application program described in the display control method of example is identical, herein in order to avoid redundancy is just no longer superfluous State.
By display control method and electronic equipment according to embodiments of the present invention, when user operates the electronic equipment, For example, being operated by the user received, to start the browser of electronic equipment, either microblogging client or user operate specially Start for the hardware button of the embodiment of the present invention while webpage is browsed using the function of image collecting device, pass through solution The browsed Web content of analysis, such as webpage or the script information of microblog page, it is used as to build an interaction page to user The page of display, also, on this page, display image harvester, such as camera acquired image and acquisition net The related content of page or microblogging.Also, on this page, show for by for example virtual of user's control image collecting device Button.
As described above, when parsing script unit, IMAQ object is constructed by producing a label, and the label exists A viewing area for being used for display image harvester acquired image data is determined in the page.Also, build the image to adopt Collection object includes the first control object and the second control object, wherein, the first control object is used for right with image collecting device institute The IMAQ service routine answered interacts, and to control image collecting device, and the second control object is used for establishment one and deposited Storage area domain, and storage region is supplied to IMAQ service, to cause IMAQ service routine by image collecting device institute First data of collection are written in storage region.Certainly, aforesaid operations be by application program according to embodiments of the present invention or Person's control unit is interacted and what is realized on backstage by the operating system with electronic equipment, and user can't perceive above-mentioned behaviour Make process.
When user clicks on such as virtual push button shown on the page, so as to when sending control instruction, first control Control instruction is exported and gives IMAQ service routine by object, wherein, IMAQ service routine control image collecting device institute First data of collection, and notification message is sent to the first control object, the notification message is used to characterize the first data Write in the storage region;And first control object notification message is sent to application program or control unit, by applying The mark for the view data that program or control unit are shown as needed, determine the first data from the storage region and be plotted in On viewing area.So, user is just in the viewing area for image collecting device on the page, it is seen that by IMAQ The image that device is collected.
In addition, it will be understood by those skilled in the art that in an embodiment of the present invention, could be arranged to when application program or When person's control unit acquiescence starts, just obtain image collecting device acquired image and be shown in the viewing area on the page In, i.e. the preview mode as image collecting device.Afterwards, to receive user other on what is for example taken pictures or image After control command, operated according still further to corresponding modes.
By display control method and electronic equipment according to embodiments of the present invention, can in the load networks page, Display image harvester acquired image content on the page, so as to promote the facility of user and improve the performance of system.
The present invention is described in detail by reference to specific embodiment.It may be evident, however, that in the essence without departing substantially from the present invention In the case of god, those skilled in the art can perform change and replace to embodiment.In other words, the shape that the present invention illustrates Formula discloses, rather than by limiting explains.Judge idea of the invention, it is contemplated that appended claim.

Claims (15)

1. a kind of display control method, applied in electronic equipment, the electronic equipment includes an image collecting device, the electricity Sub- equipment is provided with an application program, and methods described includes:
Obtain a trigger action;
The trigger action is responded, starts the application program;
By the interaction page of application builds one, do not switching the feelings of described image harvester and the application program Under condition, the first data and the second data of acquisition network-side that acquisition described image harvester is gathered;
First data and the second data are shown with the interaction page based on the application program.
2. display control method as claimed in claim 1, wherein, the interaction page further comprises:
Control, for controlling described image harvester.
3. display control method as claimed in claim 2, wherein, the application program includes an analytics engine;
It is described by the interaction page of application builds one, do not switching described image harvester and the application program In the case of, obtain the first data for being gathered of described image harvester and enter the step of obtaining the second data of network-side One step includes:
By parsing script information with the analytics engine, so as to build an IMAQ object.
4. display control method as claimed in claim 3, wherein, one IMAQ object of the structure specifically includes:
A label is produced, the label is used to determine a viewing area in the interaction page, wherein, the viewing area is used In first data that display described image harvester is gathered.
5. display control method as claimed in claim 3, wherein, described image acquisition target includes the first control object and the Two control objects;
First control object is used to interact with the IMAQ service routine corresponding to described image harvester, with Control described image harvester;And
Second control object is used to create a storage region, and the storage region is supplied into described image collection service Program so that described image collection service routine first data that are gathered described image harvester be written to it is described In storage region.
6. display control method as claimed in claim 5, wherein, first control object is in response to produced by the control Control instruction.
7. display control method as claimed in claim 6, wherein, first control object is in response to produced by the control Control instruction specifically include:
The control instruction is exported and gathers service routine to described image by first control object, wherein, described image is adopted The first data that collection service routine control described image harvester is gathered, and notification message is sent to first control Object, the notification message are had been written into the storage region for characterizing first data;
The notification message is sent to the application program by first control object, by the application program according to a mark Know, determine first data from the storage region and draw on the display region.
8. a kind of electronic equipment, the electronic equipment includes an image collecting device and a control unit, and the electronic equipment enters One step includes:
Receiving unit, for obtaining a trigger action;
Start unit, for responding the trigger action, start described control unit;
Wherein, described control unit builds an interaction page, is not switching described image harvester and described control unit In the case of, the first data and the second data of acquisition network-side that acquisition described image harvester is gathered;
Described control unit is used to be shown first data and the second data with the interaction page.
9. electronic equipment as claimed in claim 8, wherein, described control unit is further used for including one in interaction page Control, for controlling described image harvester.
10. electronic equipment as claimed in claim 9, wherein, described control unit includes a resolution unit, the resolution unit By parsing script information, so as to build an IMAQ object.
11. electronic equipment as claimed in claim 10, wherein, the resolution unit builds the figure by producing a label As acquisition target, the label is used to determine a viewing area in the interaction page, wherein, the viewing area is used to show Show first data that described image harvester is gathered.
12. electronic equipment as claimed in claim 10, wherein, described image acquisition target includes the first control object and second Control object;
First control object is used to interact with the IMAQ service routine corresponding to described image harvester, with Control described image harvester;And
Second control object is used to create a storage region, and the storage region is supplied into described image collection service Program so that described image collection service routine first data that are gathered described image harvester be written to it is described In storage region.
13. electronic equipment as claimed in claim 12, wherein, first control object is in response to caused by the control Control instruction.
14. electronic equipment as claimed in claim 13, wherein, first control object is in response to caused by the control Control instruction specifically includes:
The control instruction is exported and gathers service routine to described image by first control object, wherein, described image is adopted The first data that collection service routine control described image harvester is gathered, and notification message is sent to first control Object, the notification message are had been written into the storage region for characterizing first data;
The notification message is sent to described control unit by first control object, by described control unit according to a mark Know, determine first data from the storage region and draw on the display region.
15. a kind of electronic equipment, the electronic equipment includes an image collecting device and runs an application program, and the electronics is set It is standby to further comprise:
Receiving unit, for obtaining a trigger action;
Start unit, for responding the trigger action, start the application program;
Wherein, the interaction page of application builds one, described image harvester and the application program are not being switched In the case of, the first data and the second data of acquisition network-side that acquisition described image harvester is gathered;
The application program is used to be shown first data and the second data with the interaction page.
CN201711084595.3A 2012-11-20 2012-11-20 Display control method and electronic equipment Pending CN107783810A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711084595.3A CN107783810A (en) 2012-11-20 2012-11-20 Display control method and electronic equipment

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711084595.3A CN107783810A (en) 2012-11-20 2012-11-20 Display control method and electronic equipment
CN201210473372.7A CN103838553B (en) 2012-11-20 2012-11-20 Display control method and electronic equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201210473372.7A Division CN103838553B (en) 2012-11-20 2012-11-20 Display control method and electronic equipment

Publications (1)

Publication Number Publication Date
CN107783810A true CN107783810A (en) 2018-03-09

Family

ID=50802096

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201711084595.3A Pending CN107783810A (en) 2012-11-20 2012-11-20 Display control method and electronic equipment
CN201210473372.7A Active CN103838553B (en) 2012-11-20 2012-11-20 Display control method and electronic equipment

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201210473372.7A Active CN103838553B (en) 2012-11-20 2012-11-20 Display control method and electronic equipment

Country Status (1)

Country Link
CN (2) CN107783810A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112734876A (en) * 2021-01-08 2021-04-30 卓望数码技术(深圳)有限公司 Graph drawing method, graph drawing device, electronic equipment and storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105611102A (en) * 2015-11-18 2016-05-25 北京中电普华信息技术有限公司 Method and device for collecting electronic image via browser
CN106569830B (en) * 2016-11-10 2019-11-29 北京小鸟看看科技有限公司 Virtual reality device and wherein realizing the method that shows of message notifying frame and plug-in unit
CN107239287B (en) * 2017-06-07 2021-03-02 福建中金在线信息科技有限公司 Webpage display method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201499174U (en) * 2009-07-30 2010-06-02 升东网络科技发展(上海)有限公司 Network real-time image generation system and device
CN101751648A (en) * 2010-01-07 2010-06-23 江周平 Online try-on method based on webpage application
CN101773378A (en) * 2010-01-07 2010-07-14 江周平 Method for on-line vision test based on webpage application

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101328958B1 (en) * 2007-10-19 2013-11-13 엘지전자 주식회사 Mobile terminal and mehod of uploading data therein
CA2675657A1 (en) * 2009-08-24 2009-11-05 Ibm Canada Limited - Ibm Canada Limitee Graphic editor
CN102685213A (en) * 2012-04-09 2012-09-19 广州市动景计算机科技有限公司 Data uploading method and device based on mobile terminal and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201499174U (en) * 2009-07-30 2010-06-02 升东网络科技发展(上海)有限公司 Network real-time image generation system and device
CN101751648A (en) * 2010-01-07 2010-06-23 江周平 Online try-on method based on webpage application
CN101773378A (en) * 2010-01-07 2010-07-14 江周平 Method for on-line vision test based on webpage application

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
伊文刚: "Android平台上基于HTML5+WebRTC的视频会议系统", 《单片机与嵌入式系统应用》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112734876A (en) * 2021-01-08 2021-04-30 卓望数码技术(深圳)有限公司 Graph drawing method, graph drawing device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN103838553B (en) 2017-11-03
CN103838553A (en) 2014-06-04

Similar Documents

Publication Publication Date Title
CN103269396B (en) The method and system that a kind of pair of mobile terminal is managed
KR20130139166A (en) Overlay image providing system, server and method
CN109918427A (en) Picture uploads control method, device, computer equipment and storage medium
CN103838553B (en) Display control method and electronic equipment
CN103631630B (en) Dynamic skin loading method for browser and browser device
WO2002071236A1 (en) Visual navigation history
CN102420782A (en) Method, client and system for sharing webpage by instant messaging
CN101072122A (en) Method, system and user end device for obtaining access amount statistical data
CN102279884A (en) Data acquiring and displaying method, system and Web server based on Web pages
CN105812643A (en) Puzzle processing method and device
CN106878361A (en) A kind of adjustment method of the terminal applies page, device and client
US20170257438A1 (en) Increased interoperability between web-based applications and hardware functions
CN103246699A (en) Method and device for data access control based on browser
CN103164214A (en) Calling method and system of browser on camera in mobile terminal
CN103607454B (en) The method that android system browser arranges privately owned proxy server
CN108881353A (en) A kind of content delivery method, device and computer readable storage medium
CN104579908A (en) Method and device for displaying images
WO2017156986A1 (en) Full-picture image display method and system for mobile terminal
JP2019021272A (en) Information processing system, information processing method, information processing program and retrieval terminal
CN104361130A (en) Method for searching equipment in local area network or appointed network segment in webpage
CN103902635A (en) Method, browser, multimedia equipment and mobile terminal for obtaining real-time data
US20140111678A1 (en) Method and system for capturing, storing and displaying animated photographs
CN103645896B (en) Method and device for achieving application function based on HTML5
CN112261483B (en) Video output method and device
JP2008108047A (en) Communication picture reproducing device and communication picture reproducing program

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