CN109040291A - A kind of Web Service method and apparatus - Google Patents

A kind of Web Service method and apparatus Download PDF

Info

Publication number
CN109040291A
CN109040291A CN201810985973.3A CN201810985973A CN109040291A CN 109040291 A CN109040291 A CN 109040291A CN 201810985973 A CN201810985973 A CN 201810985973A CN 109040291 A CN109040291 A CN 109040291A
Authority
CN
China
Prior art keywords
resource
information
current
interface
mark
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
CN201810985973.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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810985973.3A priority Critical patent/CN109040291A/en
Publication of CN109040291A publication Critical patent/CN109040291A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • 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
    • G06F3/04817Interaction 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 using icons
    • 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
    • G06F3/0486Drag-and-drop

Abstract

The invention discloses a kind of Web Service method and apparatus, this method comprises: during user opens the interface for operating resource, if receiving the information of push, judge that the information of the push and the mark of current interface and Current resource identify whether to match;If matching, according to the information of the push, refreshes the information of Current resource in the current interface;Wherein, Current resource refers to the corresponding resource of the resource identification of record, the resource identification when detecting that user executes operational motion to a resource, by the mark of the resource as the record.The Web Service method of the embodiment of the present invention solves the problems, such as the frequently refreshing as long as the information for receiving push, ensure that the real-time update of the information of the resource of user's operation, also improves system performance, and enhance user experience.

Description

A kind of Web Service method and apparatus
Technical field
The present invention relates to field of computer technology more particularly to a kind of Web Service method and apparatus.
Background technique
Virtualization system technology reaches its maturity, and the application of virtualization is also more and more extensive.There are more than one for set of system Administrator and operator, the case where at this time just will appear a resource in the same set of system of multiple user's operations, how The resource of user's operation is subjected to the update of information in real time and other user that the system is used is showed to see, just at Thorny problem urgently to be solved.
It is existing in the related technology, as long as there is the refreshing of resource, system is just refreshed, in multiple user's operations When same set of system, system can be frequently refreshed, although the real-time of resource is ensured, compromise the property of system Can, while puzzlement is caused to the user used, user experience is very poor.
It is badly in need of finding a solution at present, can either guarantees that the information of the resource of real-time refreshes user operation is shown, System performance and enhancing user experience can be improved again.
Summary of the invention
The main purpose of the present invention is to provide a kind of Web Service method and apparatus, ensure that the money of user's operation The real-time update of the information in source also improves system performance, and enhances user experience.
In order to solve the above-mentioned technical problems, the present invention provides a kind of Web Service methods, comprising:
During user opens the interface for operating resource, if receiving the information of push, the push is judged Information and the mark of current interface and Current resource identify whether to match;Wherein, Current resource refers to the resource identification of record Corresponding resource, when detecting that user executes operational motion to a resource, by the mark of the resource as the record Resource identification;
If matching, according to the information of the push, refreshes the information of Current resource in the current interface.
Optionally, the operational motion that user executes a resource includes any one of following:
The corresponding icon of resource is clicked at interface;
The corresponding information of resource is chosen, is searched, is amplified, is reduced, is replicated, pasted or modified at interface;
The corresponding control of resource is dragged, is amplified, reduced or clicked at interface.
Optionally, if receiving the information of push, judge the information of the push and the mark of current interface and current Resource identify whether matching include:
Whether the information for judging the push includes the mark of current interface and the mark of Current resource;
If comprising determining that the information of the push and the mark of the mark of current interface and Current resource match;If no The mark of mark and Current resource comprising current interface, then determine to mismatch.
Optionally, the method also includes:
After detecting Current resource change, according to the mark of the Current resource after change, inquiry is corresponding in the database The information of resource;According to the information inquired, in current interface, the information of the Current resource after refreshing the change.
Optionally, the information according to the push, brushes the information of Current resource in the current interface Newly include:
The information that the Current resource of current interface is extracted in the information of the push is updated using the information extracted The corresponding information of the Current resource of current interface.
To solve the above-mentioned problems, the present invention also provides a kind of Web Service devices, comprising: memory and processing Device;Wherein:
The memory, for storing the program for being used for Web Service;
The processor executes the program for being used for Web Service for reading, performs the following operations:
During user opens the interface for operating resource, if receiving the information of push, the push is judged Information and the mark of current interface and Current resource identify whether to match;Wherein, Current resource refers to the resource identification of record Corresponding resource, when detecting that user executes operational motion to a resource, by the mark of the resource as the record Resource identification;
If matching, according to the information of the push, refreshes the information of Current resource in the current interface.
Optionally, the operational motion that user executes a resource includes any one of following:
The corresponding icon of resource is clicked at interface;
The corresponding information of resource is chosen, is searched, is amplified, is reduced, is replicated, pasted or modified at interface;
The corresponding control of resource is dragged, is amplified, reduced or clicked at interface.
Optionally, if receiving the information of push, judge the information of the push and the mark of current interface and current Resource identify whether matching include:
Whether the information for judging the push includes the mark of current interface and the mark of Current resource;
If comprising determining that the information of the push and the mark of the mark of current interface and Current resource match;If no The mark of mark and Current resource comprising current interface, then determine to mismatch.
Optionally, the processor, which is read, executes the program for being used for Web Service, also performs the following operations:
After detecting Current resource change, according to the mark of the Current resource after change, inquiry is corresponding in the database The information of resource;According to the information inquired, in current interface, the information of the Current resource after refreshing the change.
Optionally, according to the information of the push, refreshing packet is carried out to the information of Current resource in the current interface It includes:
The information that the Current resource of current interface is extracted in the information of the push is updated using the information extracted The corresponding information of the Current resource of current interface.
To sum up, the Web Service method and apparatus proposed according to embodiments of the present invention are opened in user for operating During the interface of resource, if receiving the information of push, the information of the push and the mark of current interface and current are judged Resource identifies whether to match;If matching, according to the information of the push, to the letter of Current resource in the current interface Breath is refreshed;Wherein, Current resource refers to the corresponding resource of the resource identification of record, when detecting that user holds a resource Resource identification when row operational motion, by the mark of the resource as the record.The Web Service of the embodiment of the present invention Method solves the problems, such as the frequently refreshing as long as the information for receiving push, ensure that the real-time of the information of the resource of user's operation It updates, also improves system performance, and enhance user experience.
Detailed description of the invention
Fig. 1 is the flow chart of the Web Service method of the embodiment of the present invention.
Fig. 2 is the structural schematic diagram of the Web Service device of the embodiment of the present invention.
Fig. 3 is the schematic diagram of the invention using exemplary Web Service method.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application Feature can mutual any combination.
Fig. 1 is the flow chart of the Web Service method of the embodiment of the present invention.According to the flow chart of Fig. 1, the present embodiment Web Service method following steps:
Step S1: during user opens the interface for operating resource, if receiving the information of push, described in judgement The information of push and the mark of current interface and Current resource identify whether to match.
Step S2: if matching, according to the information of the push, in the current interface to the information of Current resource into Row refreshes.
In above-mentioned steps S1, Current resource refers to the corresponding resource of the resource identification of record, when detecting user to one Resource identification when a resource executes operational motion, by the mark of the resource as the record.
In an exemplary embodiment, using a variable come unique identification, which can use the mark at interface Any one of following or any multinomial combination indicates: number, letter, spcial character, figure.
Optionally, if receiving the information of push, in the mark of the information and current interface for judging the push and current Resource identify whether matching before, further includes: validation checking is carried out to the information of the push.It is illustrative real at one It applies in example, whether the data source for including in the information by detecting the push is that database is come the information for determining the push No is effective.In another exemplary embodiment, whether it can also detect in the information of the push comprising agreement Character string or the digital validation checking to carry out the pushed information.The application can also be using otherwise being pushed The validation checking of information, the present invention is to this and without limitation.Validation checking is carried out to the information of push, system can be improved Safety, prevent hacker simulate push information system is attacked.
In an exemplary embodiment, the information of push can be the push of data base manipulation websocket mechanism Information.
Optionally, the operational motion that the user executes a resource includes any one of following:
The corresponding icon of resource is clicked at interface;
The corresponding information of resource is chosen, is searched, is amplified, is reduced, is replicated, pasted or modified at interface;
The corresponding control of resource is dragged, is amplified, reduced or clicked at interface.
Optionally, if receiving the information of push, judge the information of the push and the mark of current interface and current Resource identify whether matching include:
Whether the information for judging the push includes the mark of current interface and the mark of Current resource;
If comprising determining that the information of the push and the mark of the mark of current interface and Current resource match;If no The mark of mark and Current resource comprising current interface, then determine to mismatch.
Optionally, if it is determined that the information of the push and the mark of current interface and the mark of Current resource mismatch, then Refresh operation is not executed, and abandons the information of the push.
Optionally, in above-mentioned steps S2, the information according to the push, to current money in the current interface The information in source refresh
The information that the Current resource of current interface is extracted in the information of the push is updated using the information extracted The corresponding information of the Current resource of current interface.
In an exemplary embodiment, after user opens the interface for operating resource, it can also judge the boundary Whether face is provided with resource updates mode;If the interface is not provided with resource updates mode, prompt the user whether to set for the interface Resource updates mode is set, user can choose setting resource updates mode, also can choose and be not provided with resource updates mode.Its In, resource updates mode can use the form of resource updates function.
In another exemplary embodiment, if user can select according to the case where resource information of the showing interface Resource updates mode is not set for the interface.In this case, it will not show that the resource information at interface carries out more to the information Newly.
In another exemplary embodiment, interface has the resource updates mode of default, if user is not provided with resource Update mode will not prompt user then using the resource updates mode of default.
In an exemplary embodiment, using the information extracted, current interface is updated using resource updates mode Current resource corresponding information.The resource updates mode, which can be, calculates the information content of the Current resource of extraction, right The corresponding information that the Current resource of current interface is updated in the case where current network bandwidth needs the time spent to be assessed, If the time of cost is more than the first preset time span, then when updating the corresponding information of Current resource of current interface, give Information alert out.For example, information alert, which may is that, is updating XX information, please wait a moment.As the time of cost is default less than first Time span, then without information alert.If the time of cost is more than the second preset time span, the progress of update is provided Item.In another exemplary embodiment, the information content of the Current resource extracted can not be considered, updating current interface When the corresponding information of Current resource, information alert is provided, is become with the corresponding information of call user's attention Current resource Change.The present invention can also carry out the update of the corresponding information of the Current resource of current interface, the present invention couple using other modes This and without limitation.
In an exemplary embodiment, the resource updates mode can also in current interface to Current resource The time interval that information is refreshed is configured, to avoid continually refreshing.Under some abnormal conditions or when by attacking, Resource may be frequently refreshed.The time interval of the refreshing can be configured according to the characteristics of resource.Show at another It, can be to the refreshing in preset time span in current interface to the information progress of Current resource in the embodiment of example property Number is counted, if being more than preset number, can be considered as abnormal conditions, be recorded.It optionally, can also be by record Abnormal conditions are reported.It, can be to abnormal conditions divided rank in the embodiment of another exemplary.For example, being divided into three Grade: basic, normal, high, corresponding processing is: only record do not report, record and report low level alarm, record and on offer a high price Rank alarm.The abnormal conditions that the embodiment of the present invention can also avoid resource information from refreshing using other modes, are improved The robustness and maintainability of system.The present invention is to this and without limitation.
In the embodiment of an exemplary, using the information extracted, the corresponding of the Current resource of current interface is updated Information can be separately provided in a manner of resource updates by the resource in interface.
Optionally, Web Service method of the invention further include:
After detecting Current resource change, according to the mark of the Current resource after change, inquiry is corresponding in the database The information of resource;According to the information inquired, in current interface, the information of the Current resource after refreshing the change.
In an exemplary embodiment, whether detection Current resource changes is realized in the following way:
The operational motion of user is detected, if detecting, user executes operational motion, obtains user and executes operation The mark of the resource of movement;
The resource identification that will acquire is compared with the mark of Current resource;If it is different, then detect that Current resource changes, And the mark of Current resource is changed to the resource identification obtained;If they are the same, then detect that Current resource does not change.
To sum up, the Web Service method that the embodiment of the present invention proposes solves frequent as long as the information for receiving push The problem of refreshing, ensure that the real-time update of the information of the resource of user's operation, also improve system performance, and enhance use Family experience.In addition, the Web Service method that the embodiment of the present invention proposes in the stability of system, safety and can also be safeguarded Property on improved, guarantee it is safe while, reduce the O&M cost of user.
Fig. 2 is the structural schematic diagram of the Web Service device of the embodiment of the present invention.Schematic diagram according to Fig.2, The Web Service device of the present embodiment, including memory 100 and processor 200.Wherein:
The memory 100, for storing the program for being used for Web Service;
The processor 200 executes the program for being used for Web Service for reading, performs the following operations:
During user opens the interface for operating resource, if receiving the information of push, the push is judged Information and the mark of current interface and Current resource identify whether to match;Wherein, Current resource refers to the resource identification of record Corresponding resource, when detecting that user executes operational motion to a resource, by the mark of the resource as the record Resource identification;
If matching, according to the information of the push, refreshes the information of Current resource in the current interface.
In an exemplary embodiment, using a variable come unique identification, which can use the mark at interface Any one of following or any multinomial combination indicates: number, letter, spcial character, figure.
Optionally, if receiving the information of push, in the mark of the information and current interface for judging the push and current Resource identify whether matching before, further includes: validation checking is carried out to the information of the push.It is illustrative real at one It applies in example, whether the data source for including in the information by detecting the push is that database is come the information for determining the push No is effective.In another exemplary embodiment, whether it can also detect in the information of the push comprising agreement Character string or the digital validation checking to carry out the pushed information.The application can also be using otherwise being pushed The validation checking of information, the present invention is to this and without limitation.Validation checking is carried out to the information of push, system can be improved Safety, prevent hacker simulate push information system is attacked.
In an exemplary embodiment, the information of push can be the push of data base manipulation websocket mechanism Information.
Optionally, the operational motion that the user executes a resource includes any one of following:
The corresponding icon of resource is clicked at interface;
The corresponding information of resource is chosen, is searched, is amplified, is reduced, is replicated, pasted or modified at interface;
The corresponding control of resource is dragged, is amplified, reduced or clicked at interface.
Optionally, if receiving the information of push, judge the information of the push and the mark of current interface and current Resource identify whether matching include:
Whether the information for judging the push includes the mark of current interface and the mark of Current resource;
If comprising determining that the information of the push and the mark of the mark of current interface and Current resource match;If no The mark of mark and Current resource comprising current interface, then determine to mismatch.
Optionally, if it is determined that the information of the push and the mark of current interface and the mark of Current resource mismatch, then Refresh operation is not executed, and abandons the information of the push.
Optionally, the information according to the push, brushes the information of Current resource in the current interface Newly include:
The information that the Current resource of current interface is extracted in the information of the push is updated using the information extracted The corresponding information of the Current resource of current interface.
In an exemplary embodiment, after user opens the interface for operating resource, it can also judge the boundary Whether face is provided with resource updates mode;If the interface is not provided with resource updates mode, prompt the user whether to set for the interface Resource updates mode is set, user can choose setting resource updates mode, also can choose and be not provided with resource updates mode.Its In, resource updates mode can use the form of resource updates function.
In another exemplary embodiment, if user can select according to the case where resource information of the showing interface Resource updates mode is not set for the interface.In this case, it will not show that the resource information at interface carries out more to the information Newly.
In another exemplary embodiment, interface has the resource updates mode of default, if user is not provided with resource Update mode will not prompt user then using the resource updates mode of default.
In an exemplary embodiment, using the information extracted, current interface is updated using resource updates mode Current resource corresponding information.The resource updates mode, which can be, calculates the information content of the Current resource of extraction, right The corresponding information that the Current resource of current interface is updated in the case where current network bandwidth needs the time spent to be assessed, If the time of cost is more than the first preset time span, then when updating the corresponding information of Current resource of current interface, give Information alert out.For example, information alert, which may is that, is updating XX information, please wait a moment.As the time of cost is default less than first Time span, then without information alert.If the time of cost is more than the second preset time span, the progress of update is provided Item.In another exemplary embodiment, the information content of the Current resource extracted can not be considered, updating current interface When the corresponding information of Current resource, information alert is provided, is become with the corresponding information of call user's attention Current resource Change.The present invention can also carry out the update of the corresponding information of the Current resource of current interface, the present invention couple using other modes This and without limitation.
In an exemplary embodiment, the resource updates mode can also in current interface to Current resource The time interval that information is refreshed is configured, to avoid continually refreshing.Under some abnormal conditions or when by attacking, Resource may be frequently refreshed.The time interval of the refreshing can be configured according to the characteristics of resource.Show at another It, can be to the refreshing in preset time span in current interface to the information progress of Current resource in the embodiment of example property Number is counted, if being more than preset number, can be considered as abnormal conditions, be recorded.It optionally, can also be by record Abnormal conditions are reported.It, can be to abnormal conditions divided rank in the embodiment of another exemplary.For example, being divided into three Grade: basic, normal, high, corresponding processing is: only record do not report, record and report low level alarm, record and on offer a high price Rank alarm.The abnormal conditions that the embodiment of the present invention can also avoid resource information from refreshing using other modes, are improved The robustness and maintainability of system.The present invention is to this and without limitation.
In the embodiment of an exemplary, using the information extracted, the corresponding of the Current resource of current interface is updated Information can be separately provided in a manner of resource updates by the resource in interface.
Optionally, the processor, which is read, executes the program for being used for Web Service, also performs the following operations:
After detecting Current resource change, according to the mark of the Current resource after change, inquiry is corresponding in the database The information of resource;According to the information inquired, in current interface, the information of the Current resource after refreshing the change.
In an exemplary embodiment, whether detection Current resource changes is realized in the following way:
The operational motion of user is detected, if detecting, user executes operational motion, obtains user and executes operation The mark of the resource of movement;
The resource identification that will acquire is compared with the mark of Current resource;If it is different, then detect that Current resource changes, And the mark of Current resource is changed to the resource identification obtained;If they are the same, then detect that Current resource does not change.
Above-mentioned Web Service method is further described with concrete application example below.
By taking certain information in virtualization system shows interface as an example, the resource in interface, which is updated, to be shown to the information.
Step S00: user logs in virtualization system, and enters an information and show interface.
Step S10: judge that the information shows whether interface is provided with resource updates mode;If the information shows that interface does not have Resource updates mode is set, then enters step S20;If the information shows that interface is provided with resource updates mode, enter step Rapid S30.
Wherein, in this step, resource updates mode can use the form of resource updates function.
Step S20: if the information show interface be not provided with resource updates mode, for user provide interface choose whether for The information shows that resource updates mode is arranged in interface, if user's selection shows that resource updates mode is arranged in interface to the information, After resource updates mode is set, S30 is entered step.
In another example, if the information shows that interface is not provided with resource updates mode, user can also basis The information shows that the case where resource information of showing interface selects not show that resource updates mode is arranged in interface for the information.At this In the case of kind, it will not show that the resource information at interface is updated to the information.
In another example, Web Service method can not include step S10 and step S20.For information exhibition Show that interface has the resource updates mode of default, if user is not provided with resource updates mode, using the resource updates side of default Formula will not prompt user.
Step S30: judge identifying whether for the information of the push received and the mark of current interface and Current resource Match;If matching, enters step S40, if mismatching, S50 is entered step.
Wherein, Current resource refers to the corresponding resource of the resource identification of record, when detecting that user executes a resource Resource identification when operational motion, by the mark of the resource as the record.
In one example, the operational motion that user executes a resource includes any one of following:
The corresponding icon of resource is clicked at interface;
The corresponding information of resource is chosen, is searched, is amplified, is reduced, is replicated, pasted or modified at interface;
The corresponding control of resource is dragged, is amplified, reduced or clicked at interface.
Wherein, the information of push can be the information of data base manipulation websocket mechanism push.
Step S40: extracting the information of the Current resource of current interface in the information of push, using the information that extracts and The resource updates mode of setting, updates the information of the Current resource of current interface, continues to execute step S30.
Step S50: to the Current resource of current interface without refreshing, step S30 is continued to execute.
To the sequencing of above steps and without limitation, step S10, S20 can be put into step to embodiments herein It is executed after rapid S30;Step S40 and the S50 also not restriction of sequencing.
In addition, the operational motion of information and user to push is always in the Web Service method of the application Detection.In one example, change whether Current resource can occur to detect, if detecting, Current resource is changed, According to the mark of the Current resource after change, the information of respective resources is inquired in the database;According to the information inquired, working as In front interface, the information of the Current resource after refreshing change.
It in another example, may include: that validity is carried out to the information of the push received before step S30 Detection, whether the data source that can include in the information by detecting the push is database to carry out validation checking;Or Whether can also detect in the information of the push includes character string or the number of agreement to carry out validation checking.
Those of ordinary skill in the art will appreciate that all or part of the steps in the above method can be instructed by program Related hardware is completed, and described program can store in computer readable storage medium, such as read-only memory, disk or CD Deng.Optionally, one or more integrated circuits can be used also to realize in all or part of the steps of above-described embodiment.Accordingly Ground, each module/unit in above-described embodiment can take the form of hardware realization, can also use the shape of software function module Formula is realized.The present invention is not limited to the combinations of the hardware and software of any particular form.
The above is only a preferred embodiment of the present invention, and certainly, the invention may also have other embodiments, without departing substantially from this In the case where spirit and its essence, those skilled in the art make various corresponding changes in accordance with the present invention And deformation, but these corresponding changes and modifications all should fall within the scope of protection of the appended claims of the present invention.

Claims (10)

1. a kind of Web Service method, comprising:
During user opens the interface for operating resource, if receiving the information of push, the information of the push is judged It identifies whether to match with the mark of current interface and Current resource;Wherein, Current resource refers to that the resource identification of record is corresponding Resource, the resource when detecting that user executes operational motion to resource, by the mark of the resource as the record Mark;
If matching, according to the information of the push, refreshes the information of Current resource in the current interface.
2. the method as described in claim 1, which is characterized in that under the operational motion that the user executes a resource includes Any one of column:
The corresponding icon of resource is clicked at interface;
The corresponding information of resource is chosen, is searched, is amplified, is reduced, is replicated, pasted or modified at interface;
The corresponding control of resource is dragged, is amplified, reduced or clicked at interface.
3. the method as described in claim 1, which is characterized in that if the information for receiving push, judges the push Information and the mark of current interface and Current resource identify whether to match and include:
Whether the information for judging the push includes the mark of current interface and the mark of Current resource;
If comprising determining that the information of the push and the mark of the mark of current interface and Current resource match;If not including The mark of current interface and the mark of Current resource, then determine to mismatch.
4. the method as described in claim 1, the method also includes:
After detecting Current resource change, according to the mark of the Current resource after change, respective resources are inquired in the database Information;According to the information inquired, in current interface, the information of the Current resource after refreshing the change.
5. the method as described in claim 1, which is characterized in that the information according to the push, in the current interface In to the information of Current resource carry out refresh include:
The information that the Current resource of current interface is extracted in the information of the push is updated current using the information extracted The corresponding information of the Current resource at interface.
6. a kind of Web Service device, comprising: memory and processor;Wherein:
The memory, for storing the program for being used for Web Service;
The processor executes the program for being used for Web Service for reading, performs the following operations:
During user opens the interface for operating resource, if receiving the information of push, the information of the push is judged It identifies whether to match with the mark of current interface and Current resource;Wherein, Current resource refers to that the resource identification of record is corresponding Resource, the resource when detecting that user executes operational motion to resource, by the mark of the resource as the record Mark;
If matching, according to the information of the push, refreshes the information of Current resource in the current interface.
7. device as claimed in claim 6, which is characterized in that under the operational motion that the user executes a resource includes Any one of column:
The corresponding icon of resource is clicked at interface;
The corresponding information of resource is chosen, is searched, is amplified, is reduced, is replicated, pasted or modified at interface;
The corresponding control of resource is dragged, is amplified, reduced or clicked at interface.
8. device as claimed in claim 6, which is characterized in that if the information for receiving push, judges the push Information and the mark of current interface and Current resource identify whether to match and include:
Whether the information for judging the push includes the mark of current interface and the mark of Current resource;
If comprising determining that the information of the push and the mark of the mark of current interface and Current resource match;If not including The mark of current interface and the mark of Current resource, then determine to mismatch.
9. device as claimed in claim 6, which is characterized in that it is described for Web Service that the processor reads execution Program, also perform the following operations:
After detecting Current resource change, according to the mark of the Current resource after change, respective resources are inquired in the database Information;According to the information inquired, in current interface, the information of the Current resource after refreshing the change.
10. device as claimed in claim 6, which is characterized in that the information according to the push, in the current interface In to the information of Current resource carry out refresh include:
The information that the Current resource of current interface is extracted in the information of the push is updated current using the information extracted The corresponding information of the Current resource at interface.
CN201810985973.3A 2018-08-28 2018-08-28 A kind of Web Service method and apparatus Pending CN109040291A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810985973.3A CN109040291A (en) 2018-08-28 2018-08-28 A kind of Web Service method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810985973.3A CN109040291A (en) 2018-08-28 2018-08-28 A kind of Web Service method and apparatus

Publications (1)

Publication Number Publication Date
CN109040291A true CN109040291A (en) 2018-12-18

Family

ID=64625534

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810985973.3A Pending CN109040291A (en) 2018-08-28 2018-08-28 A kind of Web Service method and apparatus

Country Status (1)

Country Link
CN (1) CN109040291A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102915362A (en) * 2012-10-18 2013-02-06 浪潮(北京)电子信息产业有限公司 Method and system for managing resource information in memory virtualization system
US20140149877A1 (en) * 2012-10-31 2014-05-29 Xiaomi Inc. Method and terminal device for displaying push message
CN104679824A (en) * 2014-12-31 2015-06-03 广州东海网络科技有限公司 Webpage generating method and webpage generating system of network platform
CN104836843A (en) * 2015-03-31 2015-08-12 北京奇虎科技有限公司 Client application program updating method and device
CN105323309A (en) * 2015-09-29 2016-02-10 北京金山安全软件有限公司 Method and device for pushing bubble resources
CN106878368A (en) * 2016-08-10 2017-06-20 阿里巴巴集团控股有限公司 The implementation method and device of information pushing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102915362A (en) * 2012-10-18 2013-02-06 浪潮(北京)电子信息产业有限公司 Method and system for managing resource information in memory virtualization system
US20140149877A1 (en) * 2012-10-31 2014-05-29 Xiaomi Inc. Method and terminal device for displaying push message
CN104679824A (en) * 2014-12-31 2015-06-03 广州东海网络科技有限公司 Webpage generating method and webpage generating system of network platform
CN104836843A (en) * 2015-03-31 2015-08-12 北京奇虎科技有限公司 Client application program updating method and device
CN105323309A (en) * 2015-09-29 2016-02-10 北京金山安全软件有限公司 Method and device for pushing bubble resources
CN106878368A (en) * 2016-08-10 2017-06-20 阿里巴巴集团控股有限公司 The implementation method and device of information pushing

Similar Documents

Publication Publication Date Title
CN102622536B (en) Method for catching malicious codes
KR20180075641A (en) Service processing method and apparatus
CN107800757B (en) User behavior recording method and device
CN109657431B (en) Method for identifying user identity
CN111949803A (en) Method, device and equipment for detecting network abnormal user based on knowledge graph
Pagani et al. Introducing the temporal dimension to memory forensics
US8353056B2 (en) Apparatus and method for detecting program plagiarism through memory access log analysis
JP6282217B2 (en) Anti-malware system and anti-malware method
CN109189582B (en) Method and device for detecting reason of semaphore timeout
CN108898012B (en) Method and apparatus for detecting illegal program
CN109684125A (en) A kind of method, apparatus, equipment and storage medium for repairing DDR physical damage
CN111597553A (en) Process processing method, device, equipment and storage medium in virus searching and killing
US20220067136A1 (en) Verification method and apparatus, and computer readable storage medium
CN106897224B (en) Method and device for determining software testing range
CN106529281A (en) Executable file processing method and device
CN111898126B (en) Android repackaging application detection method based on dynamically acquired user interface
CN113209630A (en) Frame grabbing defense method and device for game application, storage medium and computer equipment
CN113330716B (en) Method and device for determining dependency relationship of application service and processor
CN109040291A (en) A kind of Web Service method and apparatus
CN112347457A (en) Abnormal account detection method and device, computer equipment and storage medium
CN107402883B (en) A kind of data test treating method and apparatus
CN113010885B (en) Method and device for detecting kernel thread disguised with start address
CN107766216A (en) It is a kind of to be used to obtain the method and apparatus using execution information
CN110221952B (en) Service data processing method and device and service data processing system
CN112395619A (en) Vulnerability scanning method and device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181218

RJ01 Rejection of invention patent application after publication