CN105224526A - A kind of data processing method and electronic equipment - Google Patents

A kind of data processing method and electronic equipment Download PDF

Info

Publication number
CN105224526A
CN105224526A CN201410224677.3A CN201410224677A CN105224526A CN 105224526 A CN105224526 A CN 105224526A CN 201410224677 A CN201410224677 A CN 201410224677A CN 105224526 A CN105224526 A CN 105224526A
Authority
CN
China
Prior art keywords
configuration information
electronic equipment
information
data
obtaining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410224677.3A
Other languages
Chinese (zh)
Other versions
CN105224526B (en
Inventor
王文全
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201410224677.3A priority Critical patent/CN105224526B/en
Publication of CN105224526A publication Critical patent/CN105224526A/en
Application granted granted Critical
Publication of CN105224526B publication Critical patent/CN105224526B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The present invention discloses a kind of data processing method and electronic equipment.Described electronic equipment is provided with Web page application program, and described method comprises: obtain the operation for described Web page application program; Respond described operation, detect the status information of described electronic equipment; Generate the solicited message for obtaining the first configuration information according to described status information, and send described request information to server; Obtain described first configuration information of described server feedback; According to described first configuration information, the data that described server sends are processed.Adopt method of the present invention or electronic equipment, the dissimilar data of being correlated with for Web page application program can be carried out separated transmission, for the data not needing all to transmit at every turn, can the number of transmissions be reduced, and then reduce taking transfer resource.

Description

A kind of data processing method and electronic equipment
Technical field
The present invention relates to data processing field, particularly relate to a kind of data processing method and electronic equipment.
Background technology
The terminals such as electronic equipment at present, especially mobile phone, can network usually.After networking, user can use electronic equipment to browse webpage, runs Web page application program etc.
Wherein, Web page application program, also referred to as WebApp, refers to system or the application of sing on web, and its effect issues a complex set of content and function to vast final user.One large feature of Web page application program is, as long as terminal is undertaken alternately by webpage and server, data after server just can process to the terminal operation returned for user's input, and without the need to installing the handling procedure of complexity of the operation for the treatment of user's input in terminal.
In prior art, when using WebApp, data that terminal finally shows on the display interface of this WebApp, mainly server sends to terminal.In these data, both included figure or the Word message of actual needs display, the layout information used when further comprises these figures of display or Word message.
But, in prior art, when server sends display data to terminal at every turn, all to comprise above-mentioned two kinds of information, cause the transfer resource that takies more.
Summary of the invention
The object of this invention is to provide a kind of data processing method and electronic equipment, the dissimilar data can be correlated with for Web page application program carry out separated transmission, for the data not needing all to transmit at every turn, can the number of transmissions be reduced, and then reduce taking transfer resource.
For achieving the above object, the invention provides following scheme:
A kind of data processing method, described method is applied to electronic equipment, and described electronic equipment is provided with Web page application program, and described method comprises:
Obtain the operation for described Web page application program;
Respond described operation, detect the status information of described electronic equipment;
Generate the solicited message for obtaining the first configuration information according to described status information, and send described request information to server;
Obtain described first configuration information of described server feedback;
According to described first configuration information, the data that described server sends are processed.
Optionally, the status information of the described electronic equipment of described detection, specifically comprises:
Detect the hardware parameter of described electronic equipment;
And/or, detect the spatial attitude of described electronic equipment.
Optionally, before described first configuration information of the described server feedback of described acquisition, also comprise:
Obtain the fisrt feature information for identifying described first configuration information of described server feedback;
Obtain the second feature information of the second configuration information stored in described electronic equipment;
Judge that whether described fisrt feature information is identical with described second feature information, obtains the first judged result;
When described first judged result is no, perform the step of described first configuration information of the described server feedback of described acquisition.
Optionally, also comprise:
When described first judged result is for being, exit running background for judging the thread whether described fisrt feature information identical with described second feature information.
Optionally, described first configuration information of the described server feedback of described acquisition, specifically comprises:
Obtain the download policy configures information of described server feedback;
Wherein, described download policy configures information is used to indicate described terminal under the first networking mode, adopts first method to download described data, adopts second method to download described data under the second networking mode.
Optionally, described first configuration information of the described server feedback of described acquisition, specifically comprises:
Obtain the user interface layout configuration information of described server feedback;
Described user interface layout configuration information is for representing interface layout's mode;
Described the data that described server sends to be processed, specifically comprise:
After described electronic equipment receives the described data of described server transmission, described interface layout mode is adopted to show described data.
A kind of electronic equipment, described electronic equipment is provided with Web page application program, and described electronic equipment comprises:
Operation acquiring unit, for obtaining the operation for described Web page application program;
Status information detecting unit, for responding described operation, detects the status information of described electronic equipment;
Solicited message generation unit, for generating the solicited message for obtaining the first configuration information according to described status information, and sends described request information to server;
Configuration information acquiring unit, for obtaining described first configuration information of described server feedback;
Data processing unit, for according to described first configuration information, processes the data that described server sends.
Optionally, described status information detecting unit, specifically comprises:
Hardware parameter detection sub-unit, for detecting the hardware parameter of described electronic equipment;
And/or spatial attitude detection sub-unit, for detecting the spatial attitude of described electronic equipment.
Optionally, also comprise:
Fisrt feature information acquisition unit, for before described first configuration information obtaining described server feedback, obtains the fisrt feature information for identifying described first configuration information of described server feedback;
Second feature information acquisition unit, for obtaining the second feature information of the second configuration information stored in described electronic equipment;
First judging unit, for judging that whether described fisrt feature information is identical with described second feature information, obtains the first judged result;
Configuration information acquiring unit control module, for when described first judged result is no, controls the step that described configuration information acquiring unit performs described first configuration information of the described server feedback of described acquisition.
Optionally, also comprise:
Thread exits unit, for when described first judged result is for being, exit running background for judging the thread whether described fisrt feature information identical with described second feature information.
Optionally, described configuration information acquiring unit, specifically comprises:
Download policy configures acquisition of information subelement, for obtaining the download policy configures information of described server feedback;
Wherein, described download policy configures information is used to indicate described terminal under the first networking mode, adopts first method to download described data, adopts second method to download described data under the second networking mode.
Optionally, described configuration information acquiring unit, specifically comprises:
User interface layout configuration information obtains subelement, for obtaining the user interface layout configuration information of described server feedback;
Described user interface layout configuration information is for representing interface layout's mode;
Described data processing unit, specifically comprises:
Display subelement, for receive when described electronic equipment described server transmission described data after, adopt described interface layout mode to show described data.
According to specific embodiment provided by the invention, the invention discloses following technique effect:
Data processing method of the present invention and electronic equipment, by obtaining described first configuration information of described server feedback; According to described first configuration information, the data that described server sends are processed; The dissimilar data of being correlated with for Web page application program can be carried out separated transmission, for the data not needing all to transmit at every turn, can the number of transmissions be reduced, and then reduce taking transfer resource; Meanwhile, by detecting the status information of described electronic equipment; Generate the solicited message for obtaining the first configuration information according to described status information, and send described request information to server; Can also realize obtaining corresponding configuration information according to the state of electronic equipment, thus the efficiency obtaining configuration information can be improved, get the configuration information that specific aim is higher.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the process flow diagram of data processing method embodiment 1 of the present invention;
Fig. 2 is the process flow diagram of data processing method embodiment 2 of the present invention;
Fig. 3 is the process flow diagram of data processing method embodiment 3 of the present invention;
Fig. 4 is the process flow diagram of data processing method embodiment 4 of the present invention;
Fig. 5 is the process flow diagram of data processing method embodiment 5 of the present invention;
Fig. 6 is the structural drawing of electronic equipment embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
First it should be noted that, data processing method of the present invention, is applied to electronic equipment.Described electronic equipment can be mobile phone, panel computer, notebook computer etc.Described electronic equipment is provided with Web page application program.
Fig. 1 is the process flow diagram of data processing method embodiment 1 of the present invention.As shown in Figure 1, the method can comprise:
Step 101: obtain the operation for described Web page application program;
Described operation can be that user sends.According to the hardware configuration of described electronic equipment, described operation can be polytype operation.Such as, when described electronic equipment is the equipment with touch-screen, described operation can be the touch control operation for touch-screen; When described electronic equipment is the equipment with button, described operation can be the clicking operation for button.
Described operation can be the operation for starting described Web page application program, also can be after described Web page application program starts, to other operations that described Web page application program performs.Such as, can be adjust the operation of opening some function of described Web page application program.
Step 102: respond described operation, detects the status information of described electronic equipment;
Described status information can comprise the information of the build-in attribute representing described electronic equipment, also can comprise the information of the using state representing described electronic equipment.Concrete, the information of the build-in attribute of the described electronic equipment of described expression can be the hardware parameter information of described electronic equipment, the screen size parameter of such as electronic equipment; The information of the using state of the described electronic equipment of described expression can be the spatial attitude information of described electronic equipment, and the use attitude of such as electronic equipment in user's hand is horizontal screen or perpendicular screen.
Step 103: generate the solicited message for obtaining the first configuration information according to described status information, and send described request information to server;
Described first configuration information can be the configuration information of the interface layout representing described Web page application program, also can be configuration information of the download mechanism indicating described Web page application program etc.
Step 104: described first configuration information obtaining described server feedback;
Step 105: according to described first configuration information, the data that described server sends are processed.
The data that described server sends can be the particular contents of the program interface needs display of the Web page application program that described server sends.
When described first configuration information is the configuration information of the interface layout representing described Web page application program, described the data that described server sends to be processed, specifically can comprise:
Described interface layout mode is adopted to show the data of described server transmission.Such as, when the data that described server sends are text, the form such as font format, font size, word space, line space of text can be defined in described interface layout mode, thus the form such as font format, font size, word space, line space of text can be adjusted, to make it identical with the form defined in described interface layout mode.
When described first configuration information is the configuration information of the download mechanism indicating described Web page application program, described the data that described server sends to be processed, specifically can comprise:
Adopt the download mechanism defined in described configuration information, receive the data that described server sends.Such as, when specifying in described first configuration information, when electronic equipment is in wifi network, just web download data can be passed through, then when described electronic equipment is in wifi network, the data that described server sends can be received, when described electronic equipment is not in wifi network, then can not receive the data that described server sends.
In sum, in the present embodiment, by obtaining described first configuration information of described server feedback; According to described first configuration information, the data that described server sends are processed; The dissimilar data of being correlated with for Web page application program can be carried out separated transmission, for the data not needing all to transmit at every turn, can the number of transmissions be reduced, and then reduce taking transfer resource; Meanwhile, by detecting the status information of described electronic equipment; Generate the solicited message for obtaining the first configuration information according to described status information, and send described request information to server; Can also realize obtaining corresponding configuration information according to the state of electronic equipment, thus the efficiency obtaining configuration information can be improved, get the configuration information that specific aim is higher.
Fig. 2 is the process flow diagram of data processing method embodiment 2 of the present invention.As shown in Figure 2, the method can comprise:
Step 201: obtain the operation for described Web page application program;
Step 202: respond described operation, detects the hardware parameter of described electronic equipment;
Described hardware parameter can be the screen size of described electronic equipment, also can be the resolution that described electronic equipment can be supported.
Step 203: generate the solicited message for obtaining the first configuration information according to described hardware parameter, and send described request information to server;
When described hardware parameter be screen size or resolution information can be supported time, the solicited message for obtaining the first configuration information can be generated.Described first configuration information can be and described screen size or interface layout's configuration information that resolution can be supported corresponding.
Concrete, when the screen size of described electronic equipment is larger, the interface layout that described interface layout configuration information represents, just can arrange multiple display space of a whole page, the screen of large-sized electronic equipment can be made like this to obtain higher utilization factor in the display interface that screen is corresponding.When the screen size of described electronic equipment is less, the interface layout that described interface layout configuration information represents, just the less display space of a whole page can be set in the display interface that screen is corresponding, the content shown in the screen of undersized electronic equipment can be made like this to be unlikely to too intensive.
Step 204: the user interface layout configuration information obtaining described server feedback;
Described user interface layout configuration information is for representing interface layout's mode;
Step 205: after described electronic equipment receives the described data of described server transmission, adopt described interface layout mode to show described data.
In the present embodiment, by detecting the hardware parameter of described electronic equipment, generate the solicited message for obtaining the first configuration information according to described hardware parameter, and send described request information to server; Obtain the user interface layout configuration information of described server feedback; The hardware parameter according to electronic equipment can be realized, to the user interface layout configuration information that server request is corresponding with this hardware parameter, thus the display effect that realization matches with the hardware parameter of electronic equipment.
Fig. 3 is the process flow diagram of data processing method embodiment 3 of the present invention.As shown in Figure 3, the method can comprise:
Step 301: obtain the operation for described Web page application program;
Step 302: respond described operation, detects the spatial attitude of described electronic equipment;
Described spatial attitude can refer to that described electronic equipment is in horizontal screen broadcast state still perpendicular screen broadcast state when user uses.By devices such as the gravity sensor in described electronic equipment and/or gyroscopes, the spatial attitude of described electronic equipment can be responded to.
Step 303: generate the solicited message for obtaining the first configuration information according to described spatial attitude, and send described request information to server;
When the spatial attitude of described electronic equipment represents that described electronic equipment is current and is in horizontal screen broadcast state, the solicited message of the displaying contents for obtaining horizontal screen typesetting interface can be generated; When the spatial attitude of described electronic equipment represents that described electronic equipment is current and is in perpendicular screen broadcast state, the solicited message of the displaying contents for obtaining perpendicular screen typesetting interface can be generated.
Step 304: the user interface layout configuration information obtaining described server feedback;
Described user interface layout configuration information is for representing interface layout's mode;
Step 305: after described electronic equipment receives the described data of described server transmission, adopt described interface layout mode to show described data.
In practical application, when described electronic equipment is current be in horizontal screen broadcast state time, described interface layout mode can be the interface layout mode corresponding with horizontal screen broadcast state, such as, relative to interface layout's mode of perpendicular screen, in the interface layout of horizontal screen, often row can show more text, is more suitable for the picture showing horizontal version.When described electronic equipment is current be in perpendicular screen broadcast state time, described interface layout mode can be the interface layout mode corresponding with perpendicular screen broadcast state, such as, relative to interface layout's mode of horizontal screen, in the interface layout of perpendicular screen, often row can show less text (can show more line number), is more suitable for the picture showing perpendicular version.
In the present embodiment, by detecting the spatial attitude of described electronic equipment, generate the solicited message for obtaining the first configuration information according to described spatial attitude, and send described request information to server; Obtain the user interface layout configuration information of described server feedback; The spatial attitude according to electronic equipment can be realized, to the user interface layout configuration information that server request is corresponding with this spatial attitude, thus the display effect that realization matches with the spatial attitude of electronic equipment.
Fig. 4 is the process flow diagram of data processing method embodiment 4 of the present invention.As shown in Figure 4, the method can comprise:
Step 401: obtain the operation for described Web page application program;
Step 402: respond described operation, detects the status information of described electronic equipment;
Step 403: generate the solicited message for obtaining the first configuration information according to described status information, and send described request information to server;
Step 404: the fisrt feature information for identifying described first configuration information obtaining described server feedback;
Described server can first to the fisrt feature information of electronic equipment feedback for identifying described first configuration information.When electronic equipment is according to described fisrt feature information, when determining that described electronic equipment self does not store the first configuration information corresponding to fisrt feature information, then send described first configuration information to described electronic equipment.
Concrete, described fisrt feature information can be the version number of described first configuration information, or other can represent the information of the rise time of described first configuration information.
Step 405: the second feature information obtaining the second configuration information stored in described electronic equipment;
Described electronic equipment, in use procedure before, may obtain some configuration informations.In the present embodiment, the configuration information stored in described electronic equipment is called the second configuration information.Described second feature information can be the version number of described second configuration information, or other can represent the information of the rise time of described second configuration information.
Step 406: judge that whether described fisrt feature information is identical with described second feature information, obtains the first judged result;
If described fisrt feature information is identical with described second feature information, then can represent that described first configuration information is identical with described second configuration information; If described fisrt feature information is different from described second feature information, then can represent that described first configuration information is different from described second configuration information.
Step 407: when described first judged result is no, obtains described first configuration information of described server feedback;
When described first judged result is no, represent that described first configuration information is different from described second configuration information, now, need described first configuration information obtaining described server feedback, with described first configuration information of the up-to-date feedback of server, process the configuration information of time institute's foundation as the data sent described server.
Step 408: according to described first configuration information, the data that described server sends are processed.
It should be noted that, when described first judged result is for being, represent that described first configuration information is identical with described second configuration information, now, just do not need to obtain described first configuration information of described server feedback, no longer can perform the step of described first configuration information obtaining described server feedback, reduce the consumption for transfer resource.When described first judged result is for being, can also exit running background for judging the thread whether described fisrt feature information identical with described second feature information.
In the present embodiment, by obtaining the fisrt feature information for identifying described first configuration information of described server feedback; Obtain the second feature information of the second configuration information stored in described electronic equipment; Judge that whether described fisrt feature information is identical with described second feature information, obtains the first judged result; When described first judged result is no, just perform the step of described first configuration information of the described server feedback of described acquisition, can according to the comparison result of characteristic information, judge whether described first configuration information obtaining server feedback voluntarily, when both characteristic informations are identical, no longer can perform the step of described first configuration information obtaining described server feedback, reduce the consumption for transfer resource.
Fig. 5 is the process flow diagram of data processing method embodiment 5 of the present invention.As shown in Figure 5, the method can comprise:
Step 501: obtain the operation for described Web page application program;
Step 502: respond described operation, detects the networking mode information of described electronic equipment;
Described networking mode information can show described electronic equipment is connected to internet by which kind of mode.Networking mode can comprise: wifi mode, mobile data network (such as 3G/2G mode), or optical fiber, the modes such as ADSL.
Step 503: generate the solicited message for obtaining the first configuration information according to described networking mode information, and send described request information to server;
Described first configuration information can be download policy configures information.Described download policy configures information may be used for indicating described terminal under which kind of networking mode, adopt which kind of mode to download described data.
Step 504: the download policy configures information obtaining described server feedback;
Wherein, described download policy configures information is used to indicate described terminal under the first networking mode, adopts first method to download described data, adopts second method to download described data under the second networking mode.
Such as, described first networking mode can be wifi mode.In wifi network, the download policy indicated by described download policy configures information can be real-time download.This is because in wifi network, usually do not need to consider online rate problem.Described second networking mode can be access 3G network.In 3G network, download policy indicated by described download policy configures information can be when the data available flow of described electronic equipment is greater than predetermined threshold value, allows described electronic equipment to download the data relevant to described Web page application program of described server transmission; When the data available flow of described electronic equipment is less than predetermined threshold value, then forbid that the data relevant to described Web page application program of described server transmission downloaded by described electronic equipment.This is because in 3G network, online rate are higher, need the expense produced when considering downloading data.
Step 505: according to described first configuration information, the data that described server sends are processed.
In the present embodiment, the data that described server sends are processed, can be in wifi network, download the data that described server sends in real time; In 3G network, when the data available flow of described electronic equipment is greater than predetermined threshold value, the data relevant to described Web page application program that described server sends downloaded in real time by described electronic equipment; When the data available flow of described electronic equipment is less than predetermined threshold value, then no longer receive the data relevant to described Web page application program that described server sends.
In sum, in the present embodiment, by detecting the networking mode information of described electronic equipment; Generate the solicited message for obtaining download policy configures information according to described networking mode information, and send described request information to server; Obtain the download policy configures information of described server feedback; According to described download policy configures information, the data that described server sends are processed; The networking mode according to electronic equipment can be realized, according to the download policy corresponding with networking mode, receive the data relevant to described Web page application program that described server sends selectively, the expense produced when reducing downloading data.
The invention also discloses a kind of electronic equipment.Described electronic equipment can be mobile phone, panel computer, notebook computer etc.Described electronic equipment is provided with Web page application program.
Fig. 6 is the structural drawing of electronic equipment embodiment of the present invention.As shown in Figure 6, this electronic equipment can comprise:
Operation acquiring unit 601, for obtaining the operation for described Web page application program;
Described operation can be that user sends.According to the hardware configuration of described electronic equipment, described operation can be polytype operation.Such as, when described electronic equipment is the equipment with touch-screen, described operation can be the touch control operation for touch-screen; When described electronic equipment is the equipment with button, described operation can be the clicking operation for button.
Described operation can be the operation for starting described Web page application program, also can be after described Web page application program starts, to other operations that described Web page application program performs.Such as, can be adjust the operation of opening some function of described Web page application program.
Status information detecting unit 602, for responding described operation, detects the status information of described electronic equipment;
Described status information can comprise the information of the build-in attribute representing described electronic equipment, also can comprise the information of the using state representing described electronic equipment.Concrete, the information of the build-in attribute of the described electronic equipment of described expression can be the hardware parameter information of described electronic equipment, the screen size parameter of such as electronic equipment; The information of the using state of the described electronic equipment of described expression can be the spatial attitude information of described electronic equipment, and the use attitude of such as electronic equipment in user's hand is horizontal screen or perpendicular screen.
Solicited message generation unit 603, for generating the solicited message for obtaining the first configuration information according to described status information, and sends described request information to server;
Described first configuration information can be the configuration information of the interface layout representing described Web page application program, also can be configuration information of the download mechanism indicating described Web page application program etc.
Configuration information acquiring unit 604, for obtaining described first configuration information of described server feedback;
Data processing unit 605, for according to described first configuration information, processes the data that described server sends.
The data that described server sends can be the particular contents of the program interface needs display of the Web page application program that described server sends.
When described first configuration information is the configuration information of the interface layout representing described Web page application program, described the data that described server sends to be processed, specifically can comprise:
Described interface layout mode is adopted to show the data of described server transmission.Such as, when the data that described server sends are text, the form such as font format, font size, word space, line space of text can be defined in described interface layout mode, thus the form such as font format, font size, word space, line space of text can be adjusted, to make it identical with the form defined in described interface layout mode.
When described first configuration information is the configuration information of the download mechanism indicating described Web page application program, described the data that described server sends to be processed, specifically can comprise:
Adopt the download mechanism defined in described configuration information, receive the data that described server sends.Such as, when specifying in described first configuration information, when electronic equipment is in wifi network, just web download data can be passed through, then when described electronic equipment is in wifi network, the data that described server sends can be received, when described electronic equipment is not in wifi network, then can not receive the data that described server sends.
In sum, in the present embodiment, by obtaining described first configuration information of described server feedback; According to described first configuration information, the data that described server sends are processed; The dissimilar data of being correlated with for Web page application program can be carried out separated transmission, for the data not needing all to transmit at every turn, can the number of transmissions be reduced, and then reduce taking transfer resource; Meanwhile, by detecting the status information of described electronic equipment; Generate the solicited message for obtaining the first configuration information according to described status information, and send described request information to server; Can also realize obtaining corresponding configuration information according to the state of electronic equipment, thus the efficiency obtaining configuration information can be improved, get the configuration information that specific aim is higher.
In practical application, described status information detecting unit 602, specifically can comprise:
Hardware parameter detection sub-unit, for detecting the hardware parameter of described electronic equipment;
And/or spatial attitude detection sub-unit, for detecting the spatial attitude of described electronic equipment.
In practical application, can also comprise:
Fisrt feature information acquisition unit, for before described first configuration information obtaining described server feedback, obtains the fisrt feature information for identifying described first configuration information of described server feedback;
Second feature information acquisition unit, for obtaining the second feature information of the second configuration information stored in described electronic equipment;
First judging unit, for judging that whether described fisrt feature information is identical with described second feature information, obtains the first judged result;
Configuration information acquiring unit control module, for when described first judged result is no, controls the step that described configuration information acquiring unit performs described first configuration information of the described server feedback of described acquisition.
In practical application, can also comprise:
Thread exits unit, for when described first judged result is for being, exit running background for judging the thread whether described fisrt feature information identical with described second feature information.
In practical application, described configuration information acquiring unit 604, specifically can comprise:
Download policy configures acquisition of information subelement, for obtaining the download policy configures information of described server feedback;
Wherein, described download policy configures information is used to indicate described terminal under the first networking mode, adopts first method to download described data, adopts second method to download described data under the second networking mode.
In practical application, described configuration information acquiring unit 604, specifically can comprise:
User interface layout configuration information obtains subelement, for obtaining the user interface layout configuration information of described server feedback;
Described user interface layout configuration information is for representing interface layout's mode;
Described data processing unit 605, specifically can comprise:
Display subelement, for receive when described electronic equipment described server transmission described data after, adopt described interface layout mode to show described data.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add required hardware platform by software and realize, can certainly all be implemented by hardware, but in a lot of situation, the former is better embodiment.Based on such understanding, what technical scheme of the present invention contributed to background technology can embody with the form of software product in whole or in part, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment of the present invention or embodiment.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.For electronic equipment disclosed in embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part illustrates see method part.
Apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications.In sum, this description should not be construed as limitation of the present invention.

Claims (12)

1. a data processing method, described method is applied to electronic equipment, it is characterized in that, described electronic equipment is provided with Web page application program, and described method comprises:
Obtain the operation for described Web page application program;
Respond described operation, detect the status information of described electronic equipment;
Generate the solicited message for obtaining the first configuration information according to described status information, and send described request information to server;
Obtain described first configuration information of described server feedback;
According to described first configuration information, the data that described server sends are processed.
2. method according to claim 1, is characterized in that, the status information of the described electronic equipment of described detection, specifically comprises:
Detect the hardware parameter of described electronic equipment;
And/or, detect the spatial attitude of described electronic equipment.
3. method according to claim 1, is characterized in that, before described first configuration information of the described server feedback of described acquisition, also comprises:
Obtain the fisrt feature information for identifying described first configuration information of described server feedback;
Obtain the second feature information of the second configuration information stored in described electronic equipment;
Judge that whether described fisrt feature information is identical with described second feature information, obtains the first judged result;
When described first judged result is no, perform the step of described first configuration information of the described server feedback of described acquisition.
4. method according to claim 3, is characterized in that, also comprises:
When described first judged result is for being, exit running background for judging the thread whether described fisrt feature information identical with described second feature information.
5. method according to claim 1, is characterized in that, described first configuration information of the described server feedback of described acquisition, specifically comprises:
Obtain the download policy configures information of described server feedback;
Wherein, described download policy configures information is used to indicate described terminal under the first networking mode, adopts first method to download described data, adopts second method to download described data under the second networking mode.
6. method according to claim 1, is characterized in that, described first configuration information of the described server feedback of described acquisition, specifically comprises:
Obtain the user interface layout configuration information of described server feedback;
Described user interface layout configuration information is for representing interface layout's mode;
Described the data that described server sends to be processed, specifically comprise:
After described electronic equipment receives the described data of described server transmission, described interface layout mode is adopted to show described data.
7. an electronic equipment, is characterized in that, described electronic equipment is provided with Web page application program, and described electronic equipment comprises:
Operation acquiring unit, for obtaining the operation for described Web page application program;
Status information detecting unit, for responding described operation, detects the status information of described electronic equipment;
Solicited message generation unit, for generating the solicited message for obtaining the first configuration information according to described status information, and sends described request information to server;
Configuration information acquiring unit, for obtaining described first configuration information of described server feedback;
Data processing unit, for according to described first configuration information, processes the data that described server sends.
8. electronic equipment according to claim 7, is characterized in that, described status information detecting unit, specifically comprises:
Hardware parameter detection sub-unit, for detecting the hardware parameter of described electronic equipment;
And/or spatial attitude detection sub-unit, for detecting the spatial attitude of described electronic equipment.
9. electronic equipment according to claim 7, is characterized in that, also comprises:
Fisrt feature information acquisition unit, for before described first configuration information obtaining described server feedback, obtains the fisrt feature information for identifying described first configuration information of described server feedback;
Second feature information acquisition unit, for obtaining the second feature information of the second configuration information stored in described electronic equipment;
First judging unit, for judging that whether described fisrt feature information is identical with described second feature information, obtains the first judged result;
Configuration information acquiring unit control module, for when described first judged result is no, controls the step that described configuration information acquiring unit performs described first configuration information of the described server feedback of described acquisition.
10. electronic equipment according to claim 9, is characterized in that, also comprises:
Thread exits unit, for when described first judged result is for being, exit running background for judging the thread whether described fisrt feature information identical with described second feature information.
11. electronic equipments according to claim 7, is characterized in that, described configuration information acquiring unit, specifically comprises:
Download policy configures acquisition of information subelement, for obtaining the download policy configures information of described server feedback;
Wherein, described download policy configures information is used to indicate described terminal under the first networking mode, adopts first method to download described data, adopts second method to download described data under the second networking mode.
12. electronic equipments according to claim 7, is characterized in that, described configuration information acquiring unit, specifically comprises:
User interface layout configuration information obtains subelement, for obtaining the user interface layout configuration information of described server feedback;
Described user interface layout configuration information is for representing interface layout's mode;
Described data processing unit, specifically comprises:
Display subelement, for receive when described electronic equipment described server transmission described data after, adopt described interface layout mode to show described data.
CN201410224677.3A 2014-05-26 2014-05-26 Data processing method and electronic equipment Active CN105224526B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410224677.3A CN105224526B (en) 2014-05-26 2014-05-26 Data processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410224677.3A CN105224526B (en) 2014-05-26 2014-05-26 Data processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105224526A true CN105224526A (en) 2016-01-06
CN105224526B CN105224526B (en) 2022-05-31

Family

ID=54993504

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410224677.3A Active CN105224526B (en) 2014-05-26 2014-05-26 Data processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105224526B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112230793A (en) * 2019-11-15 2021-01-15 华为技术有限公司 Display method of electronic equipment with flexible screen and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101067819A (en) * 2007-06-07 2007-11-07 北京大学 Web page resource issuing method and issuing system
CN102323880A (en) * 2011-06-30 2012-01-18 中兴通讯股份有限公司 Mobile phone application interface development method and terminal based on browser parsing mode
US20120254352A1 (en) * 2011-03-31 2012-10-04 Fujitsu Limited Application providing system and application providing method
CN102915375A (en) * 2012-11-08 2013-02-06 山东大学 Webpage loading method based on layout zoning

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101067819A (en) * 2007-06-07 2007-11-07 北京大学 Web page resource issuing method and issuing system
US20120254352A1 (en) * 2011-03-31 2012-10-04 Fujitsu Limited Application providing system and application providing method
CN102323880A (en) * 2011-06-30 2012-01-18 中兴通讯股份有限公司 Mobile phone application interface development method and terminal based on browser parsing mode
CN102915375A (en) * 2012-11-08 2013-02-06 山东大学 Webpage loading method based on layout zoning

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112230793A (en) * 2019-11-15 2021-01-15 华为技术有限公司 Display method of electronic equipment with flexible screen and electronic equipment

Also Published As

Publication number Publication date
CN105224526B (en) 2022-05-31

Similar Documents

Publication Publication Date Title
CN110046021B (en) Page display method, device, system, equipment and storage medium
TWI604368B (en) Data processing method and device
CN107656768B (en) Method and system for controlling page jump
CN112328853A (en) Document information processing method and device and electronic equipment
US10175954B2 (en) Method of processing big data, including arranging icons in a workflow GUI by a user, checking process availability and syntax, converting the workflow into execution code, monitoring the workflow, and displaying associated information
CN104243273A (en) Method and device for displaying information on instant messaging client and information display system
US9218108B1 (en) Battery charging metrics and representations
WO2022156606A1 (en) Information processing method and apparatus, and electronic device
CN104462283A (en) Method, device and client for requesting webpage elements in mobile terminal
CN105379236A (en) User experience mode transitioning
CN105808307B (en) Page display method and device
CN104077151B (en) The method and electronic equipment of fast start network application
CN105814565A (en) Web page rendering on wireless devices
CN109636460B (en) Service processing method, device, equipment and storage medium
WO2017096812A1 (en) Webpage displaying method, mobile terminal, intelligent terminal, computer program, and storage medium
CN110879729A (en) Channel configuration method and device for live broadcast room, readable medium and electronic equipment
CN103975301A (en) Event service for local client applications through local server
CN104980452A (en) Document sharing method, device, and system
CN112256370A (en) Information display method and device and electronic equipment
CN111817944A (en) Picture sharing method and device and electronic equipment
US20220342742A1 (en) Graphical management of big data pipelines
EP4351117A1 (en) Information display method and apparatus, and electronic device
CN105224526A (en) A kind of data processing method and electronic equipment
CN112291412B (en) Application program control method and device and electronic equipment
CN115065657A (en) Information collection method and device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant