HK1160264B - Method and apparatus for processing user selection - Google Patents
Method and apparatus for processing user selection Download PDFInfo
- Publication number
- HK1160264B HK1160264B HK12100308.3A HK12100308A HK1160264B HK 1160264 B HK1160264 B HK 1160264B HK 12100308 A HK12100308 A HK 12100308A HK 1160264 B HK1160264 B HK 1160264B
- Authority
- HK
- Hong Kong
- Prior art keywords
- instruction
- user
- button
- selection
- client
- Prior art date
Links
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for processing user selection information.
Background
With the improvement of domestic internet environment in recent years, the value of various electronic commerce applications is gradually shown, and network marketing becomes one of the means with the lowest cost and the best effect in medium and small-sized enterprise marketing. With the increase of the number of commodities in the e-commerce website, the e-commerce website often needs to display all commodity information through a plurality of list pages. When browsing a list page, a user typically needs to select different options in different pages, for example, select some options on the first page, and then select some options on the second page or even the tenth page.
In the prior art, a client can select commodities by using a commodity shopping cart for electronic shopping, and the number of the selected commodities is recorded by a server connected with the client. Specifically, the client submits user operation information to the server, the server reads source data stored in a database in advance according to the user operation information, corresponding processing result data are obtained through calculation according to the source data, and the processing result data are returned to the client. And the client refreshes a page according to the processing result data from the server, displays the number of the selected commodities and performs subsequent operation according to the requirement.
In the process of implementing the present application, the inventor finds that the prior art has at least the following problems:
because the processing of the user selection information is completed at the server, the operation of the client completely depends on the processing performance of the server, and the working performance of the client is unstable; the server needs to process data for a large number of clients, which can cause adverse effects on the performance of service resources; because the processing result data and the source data are both stored in the server, the server is required to transmit the processing result data to the client, so that the waiting time of a user is increased; in the interaction process of the client and the server, the user cannot perform other operations on the client except for waiting for page refreshing, so that the operation of the user is single, the efficiency of the user for completing the target requirement is low, and the use experience of the user is reduced.
Disclosure of Invention
The application provides a method and a device for processing user selection information, which are used for improving the working performance of a client.
The application provides a method for processing user selection information, which comprises the following steps:
the method comprises the steps that a client side obtains a selection instruction of a user for a multi-selection frame, and source data corresponding to the selection instruction are read from a server side;
the client updates the user selection information corresponding to the multi-selection box according to the source data and the selection instruction, and stores the updated user selection information;
and the client side counts the current number of the selected items of the multi-selection frame according to the updated user selection information, and displays the current number of the selected items after the page is refreshed.
Preferably, the selection instruction comprises a selected instruction and/or a deselected instruction,
the updating of the user selection information corresponding to the multiple selection boxes according to the source data and the selection instruction comprises:
adding the source data corresponding to the selected instruction to the user selection information; and/or
And deleting the source data corresponding to the deselection instruction from the user selection information.
Preferably, the user selection information is selected option information, and the option information includes at least one of the following:
commodity number, commodity name, actual inventory and alert inventory.
Preferably, the client displays the current number of options, including:
the client displays the current selected item number through a processing component;
the client judges whether the multi-selection frame and the processing component receive a trigger instruction within preset time or not;
if the triggering instruction is not received, the client hides the processing component; otherwise, the client continues to display the processing component.
Preferably, the trigger instruction is a mouse event.
Preferably, after counting the number of currently selected items of the multi-box according to the user selection information, the method further includes:
the client displays, by the processing component, at least one of:
a maximum number of hits for the multi-box, an edit button, a delete button, a view button, and a set button.
Preferably, after the client displays the edit button of the multi-box through the processing component, the method further includes:
and the client acquires an editing instruction of a user through the editing button, and edits the user selection information according to the editing instruction.
Preferably, the client edits the user selection information according to an editing instruction, including:
the client displays the user selection information and the corresponding storage button according to the editing instruction, and acquires the editing information input by the user;
and the client acquires a storage instruction of the user through the storage button, and updates the user selection information according to the storage instruction and the editing information.
Preferably, the editing information comprises at least one of:
commodity number, commodity name, actual inventory and alert inventory.
Preferably, after the client displays the delete button of the multi-box through the processing component, the method further includes:
and the client acquires a deletion instruction of the user through the deletion button, and processes the user selection information according to the deletion instruction.
Preferably, the processing the user selection information according to the deletion instruction includes:
displaying prompt information according to the deleting instruction, wherein the prompt information comprises a confirmation button and a cancel button;
if a confirmation instruction of the user is received through the confirmation button, deleting the user selection information according to the confirmation instruction, and closing the prompt information; and if a cancel instruction of the user is received through the cancel button, closing the prompt message.
Preferably, after the client displays the view button of the multi-box through the processing component, the client further includes:
and the client acquires a viewing instruction of a user through the viewing button, and displays the selected option list in the multi-selection box according to the viewing instruction.
Preferably, the selected option list includes a selected option, a save button and a cancel button,
after the client displays the selected option list in the multi-selection box according to the viewing instruction, the method further comprises the following steps:
the client side obtains a selection instruction of the user for the selected option, wherein the selection instruction comprises a selection instruction and/or a deselection instruction;
if a saving instruction of the user is received through the saving button, the client updates the user selection information according to the saving instruction, the selection instruction and/or the selection canceling instruction, and closes the selected option list; and if a cancel instruction of the user is received through the cancel button, closing the selected option list by the client.
Preferably, after the client displays the setting button of the multi-box through the processing component, the method further includes:
and the client acquires a setting instruction of a user through the setting button, and sets the content displayed by the processing assembly according to the setting instruction.
Preferably, the setting the content displayed by the processing component according to the setting instruction includes:
displaying a setting list according to the setting instruction, wherein the setting list comprises a function item, a saving button and a canceling button of the processing assembly;
acquiring a selection instruction of a user for the functional item, wherein the selection instruction comprises a selection instruction and/or a deselection instruction;
if a saving instruction of the user is received through the saving button, updating the content displayed by the processing component according to the saving instruction, the selected instruction and/or the deselected instruction, and closing the setting list; and if a cancel instruction of the user is received through the cancel button, closing the setting list.
Preferably, the functional items comprise at least one of:
editing items, deleting items, comparing items, printing express delivery items, printing delivery items, putting items and evaluating items.
The present application further provides an apparatus for processing user selection information, comprising:
the acquisition module is used for acquiring a selection instruction of a user for the multiple selection frames and reading source data corresponding to the selection instruction from the server;
the updating module updates the user selection information corresponding to the multi-selection box according to the source data and the selection instruction acquired by the acquiring module and stores the updated user selection information;
the counting module is used for counting the current number of the selected items of the multi-box according to the user selection information updated by the updating module;
and the display module is used for displaying the current selected item number obtained by the counting module after the page is refreshed.
Preferably, the selection instruction comprises a selected instruction and/or a deselected instruction,
the updating module is used for adding the source data corresponding to the selected instruction into the user selection information; and/or
And deleting the source data corresponding to the deselection instruction from the user selection information.
Preferably, the display module is specifically configured to display the currently selected number of items through the processing component;
the device, still include:
the judging module is used for judging whether the multi-selection frame and the processing assembly receive a trigger instruction within preset time;
and the display module is used for hiding the processing assembly when the judging module judges that the triggering instruction is not received.
Preferably, the display module is further configured to display, by the processing component, at least one of:
a maximum number of hits for the multi-box, an edit button, a delete button, a view button, and a set button.
Preferably, the obtaining module is further configured to obtain an editing instruction of a user through the editing button;
the updating module is further configured to edit the user selection information according to the editing instruction acquired by the acquiring module.
Preferably, the updating module is configured to display the user selection information and a corresponding save button according to the edit instruction, and acquire the edit information input by the user; and acquiring a storage instruction of the user through the storage button, and updating the user selection information according to the storage instruction and the editing information.
Preferably, the obtaining module is further configured to obtain a deletion instruction of the user through the deletion button;
the updating module is further configured to process the user selection information according to the deleting instruction acquired by the acquiring module.
Preferably, the update module is configured to display prompt information according to the delete instruction, where the prompt information includes a confirm button and a cancel button; when a confirmation instruction of the user is received through the confirmation button, deleting the user selection information according to the confirmation instruction, and closing the prompt information; and when a cancel instruction of the user is received through the cancel button, closing the prompt message.
Preferably, the obtaining module is further configured to obtain a viewing instruction of the user through the viewing button;
the display module is further configured to display the selected option list in the multiple selection box according to the viewing instruction acquired by the acquisition module.
Preferably, the selected option list includes a selected option, a save button and a cancel button,
the obtaining module is further configured to obtain a selection instruction of the user for the selected option, where the selection instruction includes a selection instruction and/or a deselection instruction;
the updating module is further configured to update the user selection information according to the saving instruction, the selection instruction and/or the deselection instruction and close the selected option list when the saving instruction of the user is received through the saving button; and closing the selected option list when a cancel instruction of the user is received through the cancel button.
Preferably, the obtaining module is further configured to obtain a setting instruction of a user through the setting button;
the device further comprises:
and the setting module is used for setting the content displayed by the processing component according to the setting instruction acquired by the acquisition module.
Preferably, the setting module is configured to display a setting list according to the setting instruction, where the setting list includes a function item, a save button, and a cancel button of the processing component; acquiring a selection instruction of a user for the functional item, wherein the selection instruction comprises a selection instruction and/or a deselection instruction; if a saving instruction of the user is received through the saving button, updating the content displayed by the processing component according to the saving instruction, the selected instruction and/or the deselected instruction, and closing the setting list; and if a cancel instruction of the user is received through the cancel button, closing the setting list.
The method and the system have the advantages that the source data are read from the server according to the selection instruction, the user selection information is updated and stored at the client, the user selection information is processed through the operation interface depending on the local processing of the client, the server only needs to provide the source data, the working pressure of the server for processing the data is reduced, the data transmission quantity in the network is reduced, the processing speed of counting the number of options in the multi-option frame is increased, the working performance of the client and the performance of service resources are improved, a convenient batch editing entry is provided for the user, the operation of the user is facilitated, and the efficiency of processing the user selection information is improved. Of course, it is not necessary for any product to achieve all of the above-described advantages at the same time for the practice of the present application.
Drawings
In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings needed to be used in the description of the present application or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a method for processing user selection information according to a first embodiment of the present application;
fig. 2 is a schematic view of a page for processing user selection information in the second embodiment of the present application;
FIG. 3 is a flowchart of a method for processing user-selected information according to a second embodiment of the present application;
FIG. 4 is a schematic view of a processing assembly according to a second embodiment of the present application;
FIG. 5 is a diagram illustrating a selection box of a processing component according to a second embodiment of the present application;
fig. 6 is a schematic diagram of an editing page in the second embodiment of the present application;
fig. 7 is a flowchart of a method for processing user selection information in the third embodiment of the present application;
FIG. 8 is a flowchart of a method for processing user-selected information according to a fourth embodiment of the present disclosure;
FIG. 9 is a diagram illustrating a selected option list according to a fourth embodiment of the present application;
FIG. 10 is a flowchart of a method for processing user-selected information according to a fifth embodiment of the present disclosure;
fig. 11 is a schematic diagram of a setting list in the fifth embodiment of the present application;
fig. 12 is a schematic structural diagram of an apparatus for processing user selection information according to a sixth embodiment of the present application;
fig. 13 is a schematic structural diagram of an apparatus for processing user selection information according to a seventh embodiment of the present application.
Detailed Description
The technical solutions in the present application will be described clearly and completely with reference to the accompanying drawings in the present application, and it is obvious that the described embodiments are some, not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
As shown in fig. 1, a flowchart of a method for processing user selection information in an embodiment of the present application includes the following steps:
step 101, a client acquires a selection instruction of a user for a multi-box, and reads source data corresponding to the selection instruction from a server.
Wherein, the source data can be stored in a database of the server.
And 102, the client updates the user selection information corresponding to the multiple selection boxes according to the source data and the selection instruction, and stores the updated user selection information.
The user selection information can be stored in the client in a local file storage mode, and can also be stored in the client in a memory temporary storage mode. The selection instruction comprises a selection instruction and/or a deselection instruction, and the client can add the source data corresponding to the selection instruction to the user selection information or delete the source data corresponding to the deselection instruction from the user selection information. The user selection information may be selected option information, and the option information may include the following: commodity number, commodity name, actual inventory and alert inventory.
And 103, counting the current number of the selected items of the multi-selection frame by the client according to the updated user selection information, and displaying the current number of the selected items after the page is refreshed.
Specifically, the client can display the current number of options through the processing component and judge whether the multi-option frame and the processing component receive a trigger instruction within preset time; hiding the processing component if no trigger instruction is received; otherwise, continuing to display the processing component. The trigger command may be a mouse event.
After the client counts the current number of options of the multi-option frame according to the user selection information, the following contents can be displayed through the processing component: a maximum number of options for a multi-box, an edit button, a delete button, a view button, and a set button. The client can acquire an editing instruction of a user through the editing button and edit the user selection information according to the editing instruction; the client can also acquire a deletion instruction of the user through the deletion button, and process the user selection information according to the deletion instruction; the client can also obtain a viewing instruction of a user through the viewing button, and display the selected option list in the multi-selection box according to the viewing instruction; the client can also obtain a setting instruction of a user through the setting button, and set the content displayed by the processing component according to the setting instruction.
The method and the system have the advantages that the source data are read from the server according to the selection instruction, the user selection information is updated and stored in the client, the user selection information is processed through the operation interface depending on local processing of the client, the server only needs to provide the source data, accordingly, the working performance of the client and the performance of service resources are improved, a convenient batch editing entry is provided for the user, the operation of the user is facilitated, and the efficiency of processing the user selection information is improved. Of course, it is not necessary for any product to achieve all of the above-described advantages at the same time for the practice of the present application.
The method for processing the user selection information is specifically and specifically described below with reference to the application scenario shown in fig. 2. When a user selects an option in the multi-option frame, the client reads corresponding source data from a database of the server, triggers the background to update and records user selection information corresponding to the selection operation, calculates the current number of options of the multi-option frame by the user according to the user selection information, and displays the current number of options after the page is refreshed. In particular, the current number of hits may be included in a page turn batch under multiple checkbox component that emerges into the layer when the user selects an option in the multiple checkbox. Recording a mouse event by the background, and if the mouse does not stay above the page turning batch processing and the multi-selection box, the component disappears after 1.5 seconds; and after the mouse selects the options in the multi-selection frame again, the page-turning batch processing assembly is displayed below the multi-selection frame, the background updates the actual data to the assembly, and records all the operations of the user.
As shown in fig. 3, a flowchart of a method for processing user selection information in the second embodiment of the present application is shown, which includes the following steps:
step 301, obtaining a selection instruction of a user for a multiple selection box, and updating user selection information corresponding to the multiple selection box according to the selection instruction.
And step 302, counting the current number of the selected items of the multi-box according to the user selection information, and displaying the current number of the selected items, the maximum number of the selected items, an editing button, a deleting button, a viewing button and a setting button through the processing component.
As shown in fig. 4, which is a schematic diagram of processing components in the second embodiment of the present application, the components may include a current number of options, a maximum number of options, an edit button, a delete button, a view button, and a set button. Wherein, 1 in the 1/20 is the current number of selected items, which represents that one item is selected in the whole page turning process; "20" is the maximum number of selected items, and means that at most 20 items are selected in the whole page turning process. When the mouse is moved to the position of "20", a selection box as shown in fig. 5 is displayed, which defaults to the maximum number of hits of 20 and provides other numerical values as alternatives to the maximum number of hits, and the background records the numerical value selected by the user and displays the numerical value as the maximum number of hits. Among the values provided by the selection box, 10-100 is progressive by 10, 100-500 is progressive by 100, 500-5000 is progressive by 500, and 5000 is an infinite option later.
Step 303, obtaining an editing instruction of the user through an editing button.
Wherein, the edit button can be displayed on the processing component in an icon form, and the user can click the edit button to send an edit instruction.
And step 304, displaying the user selection information and the corresponding storage button according to the editing instruction, and acquiring the editing information input by the user.
Specifically, after the editing instruction of the user is obtained, the current page jumps to the editing page that collects all the options, as shown in fig. 6. The editing page can carry out batch editing operation on all options selected by the user, and the user can input editing information in the editing page. Wherein the editing information comprises at least one of the following: commodity number, commodity name, actual inventory and alert inventory.
And 305, acquiring a saving instruction of the user through a saving button, and updating the user selection information according to the saving instruction and the editing information.
Specifically, the user sends a save instruction by clicking a save button in the edit page, confirms the edit of the user selection information, closes the edit page, returns to the previous page, and continues other operations.
The method and the system have the advantages that the source data are read from the server according to the selection instruction, the user selection information is updated and stored at the client, the user selection information is processed through the operation interface depending on local processing of the client, the server only needs to provide the source data, the working pressure of processing the data by the server is reduced, the data transmission quantity in the network is reduced, the processing speed of counting the number of options in the multi-option frame is increased, the working performance of the client and the performance of service resources are improved, a convenient batch editing entry is provided for the user, the operation of the user is facilitated, and the efficiency of processing the user selection information is improved. Of course, it is not necessary for any product to achieve all of the above-described advantages at the same time for the practice of the present application.
As shown in fig. 7, a flowchart of a method for processing user selection information in the third embodiment of the present application is shown, which includes the following steps:
step 701, acquiring a selection instruction of a user for the multiple selection boxes, and updating user selection information corresponding to the multiple selection boxes according to the selection instruction.
And 702, counting the current number of the selected items of the multi-box according to the user selection information, and displaying the current number of the selected items, the maximum number of the selected items, a deleting button, a viewing button and a setting button through the processing component.
And step 703, acquiring a deletion instruction of the user through the deletion button.
Wherein the delete button is displayed on the processing component in the form of an icon. The user may send the delete command by clicking a delete button.
And step 704, displaying prompt information according to the deletion instruction, wherein the prompt information comprises a confirmation button and a cancel button.
Specifically, after the deletion instruction is obtained, the foreground pops up prompt information to inquire whether the user confirms to delete all the options.
Step 705, if a confirmation instruction of the user is received through the confirmation button, deleting the user selection information according to the confirmation instruction, and closing the prompt information; and if a cancel instruction of the user is received through the cancel button, closing the prompt message.
Specifically, when the user clicks a confirmation button in the prompt message, the user confirms the deletion of the user selection message, deletes data in the background, refreshes the page in the foreground, displays the updated data, and waits for the next operation request of the user. And when the user clicks a cancel button in the prompt message, the user does not perform any operation on the data selected by the user, and the prompt message is closed.
The method and the system have the advantages that the source data are read from the server according to the selection instruction, the user selection information is updated and stored at the client, the user selection information is processed through the operation interface depending on local processing of the client, the server only needs to provide the source data, the working pressure of processing the data by the server is reduced, the data transmission quantity in the network is reduced, the processing speed of counting the number of options in the multi-option frame is increased, the working performance of the client and the performance of service resources are improved, a convenient batch editing entry is provided for the user, the operation of the user is facilitated, and the efficiency of processing the user selection information is improved. Of course, it is not necessary for any product to achieve all of the above-described advantages at the same time for the practice of the present application.
As shown in fig. 8, a flowchart of a method for processing user selection information in the fourth embodiment of the present application is shown, which includes the following steps:
step 801, acquiring a selection instruction of a user for a multiple selection box, and updating user selection information corresponding to the multiple selection box according to the selection instruction.
And step 802, counting the current number of the selected items of the multi-box according to the user selection information, and displaying the current number of the selected items, the maximum number of the selected items, a viewing button and a setting button through the processing component.
And 803, acquiring a viewing instruction of the user through the viewing button, and displaying the selected option list in the multi-option frame according to the viewing instruction.
Specifically, when the user clicks the view button in the processing component, i.e., "view selected" the current page displays the selected list of options, as shown in fig. 9. The selected option list comprises selected options, a save button and a cancel button.
And step 804, acquiring a selection instruction of the user for the selected option, wherein the selection instruction comprises a selection instruction and/or a deselection instruction.
Specifically, the user can view all the options selected by the user through the selected option list, and if the selection is found to be wrong, the user can select to cancel on the page, namely, a cancel instruction is sent. The user can also reselect the deselected option, i.e. send a selection instruction.
Step 805, if the saving instruction of the user is received through the saving button, updating the user selection information according to the saving instruction, the selection instruction and/or the deselection instruction, and closing the selected option list; and closing the selected option list if a cancel instruction of the user is received through the cancel button.
Specifically, when the user clicks a save button in the selected option list, the list page in the list is closed, the data is updated in the background, the foreground refreshes the page, the updated data is displayed, and the next operation request of the user is waited. And when the user clicks a cancel button in the selected option list, closing the selected option list without performing any operation on the user selection data.
The method and the system have the advantages that the source data are read from the server according to the selection instruction, the user selection information is updated and stored at the client, the user selection information is processed through the operation interface depending on local processing of the client, the server only needs to provide the source data, the working pressure of processing the data by the server is reduced, the data transmission quantity in the network is reduced, the processing speed of counting the number of options in the multi-option frame is increased, the working performance of the client and the performance of service resources are improved, a convenient batch editing entry is provided for the user, the operation of the user is facilitated, and the efficiency of processing the user selection information is improved. Of course, it is not necessary for any product to achieve all of the above-described advantages at the same time for the practice of the present application.
As shown in fig. 10, a flowchart of a method for processing user selection information in the fifth embodiment of the present application includes the following steps:
step 1001, acquiring a selection instruction of a user for a multi-box, and updating user selection information corresponding to the multi-box according to the selection instruction.
Step 1002, counting the current number of options of the multi-box according to the user selection information, and displaying the current number of options, the maximum number of options and the setting button through the processing component.
And step 1003, acquiring a setting instruction of the user through a setting button.
Specifically, the user may send the setting instruction by clicking a setting button in the processing component.
Step 1004, displaying a setting list according to the setting instruction, wherein the setting list comprises a function item, a save button and a cancel button of the processing component.
Specifically, the user clicks a setting button, and can perform customized extension on the quick editing function of the page turning batch processing component, two most commonly used functions are selected by the developer by default, and the user can select a proper function item according to the actual situation of the user, as shown in fig. 11. Wherein the functional items comprise at least one of: editing items, deleting items, comparing items, printing express delivery items, printing delivery items, putting items and evaluating items.
Step 1005, acquiring a selection instruction of the user to the function item, wherein the selection instruction comprises a selection instruction and/or a deselection instruction.
Step 1006, if a save instruction of the user is received through the save button, updating the content displayed by the processing component according to the save instruction, the selected instruction and/or the deselected instruction, and closing the setting list; if a cancel instruction of the user is received through the cancel button, the setting list is closed.
Specifically, after selecting the required functional items, the user clicks a save button, the layer is closed, the background updates data, the foreground refreshes a page, the updated data is displayed, and the next operation request of the user is waited.
The method and the system have the advantages that the source data are read from the server according to the selection instruction, the user selection information is updated and stored at the client, the user selection information is processed through the operation interface depending on local processing of the client, the server only needs to provide the source data, the working pressure of processing the data by the server is reduced, the data transmission quantity in the network is reduced, the processing speed of counting the number of options in the multi-option frame is increased, the working performance of the client and the performance of service resources are improved, a convenient batch editing entry is provided for the user, the operation of the user is facilitated, and the efficiency of processing the user selection information is improved. Of course, it is not necessary for any product to achieve all of the above-described advantages at the same time for the practice of the present application.
The above embodiments of the present application provide a method and an application scenario for processing user selection information, and correspondingly, the present application also provides a device for applying the above method through the following embodiments.
As shown in fig. 12, a schematic structural diagram of an apparatus for processing user selection information according to a sixth embodiment of the present application includes:
the obtaining module 1210 is configured to obtain a selection instruction of a user for a multi-box, and read source data corresponding to the selection instruction from a server.
The updating module 1220 is configured to update the user selection information corresponding to the multiple selection boxes according to the source data and the selection instruction acquired by the acquiring module 1210, and store the updated user selection information.
The user selection information is selected option information, and the option information may include the following contents: commodity number, commodity name, actual inventory and alert inventory. The selection instruction includes a selected instruction and/or a deselected instruction. An updating module 1220, configured to add source data corresponding to the selected instruction to the user selection information; and/or deleting the source data corresponding to the deselection instruction from the user selection information.
A counting module 1230, configured to count the current number of options in the multi-box according to the user selection information updated by the updating module 1220.
And a display module 1240, configured to display the current number of selected items obtained by the statistics module 1230 after the page is refreshed.
The method and the system have the advantages that the source data are read from the server according to the selection instruction, the user selection information is updated and stored at the client, the user selection information is processed through the operation interface depending on local processing of the client, the server only needs to provide the source data, the working pressure of processing the data by the server is reduced, the data transmission quantity in the network is reduced, the processing speed of counting the number of options in the multi-option frame is increased, the working performance of the client and the performance of service resources are improved, a convenient batch editing entry is provided for the user, the operation of the user is facilitated, and the efficiency of processing the user selection information is improved. Of course, it is not necessary for any product to achieve all of the above-described advantages at the same time for the practice of the present application.
Fig. 13 is a schematic structural diagram of an apparatus for processing user selection information according to a seventh embodiment of the present application, including:
the obtaining module 1310 is configured to obtain a selection instruction of the user for the multiple selection boxes, and read source data corresponding to the selection instruction from the server.
The updating module 1320 updates the user selection information corresponding to the multiple selection boxes according to the source data and the selection instruction acquired by the acquiring module 1310, and stores the updated user selection information.
The user selection information is selected option information, and the option information may include the following contents: commodity number, commodity name, actual inventory and alert inventory. The selection instruction includes a selected instruction and/or a deselected instruction. An updating module 1320, configured to add source data corresponding to the selected instruction to the user selection information; and/or deleting the source data corresponding to the deselection instruction from the user selection information.
A counting module 1330 configured to count the current number of hits in the multi-box according to the user selection information updated by the updating module 1320.
The display module 1340 is configured to display the current number of hits obtained by the statistics module 1330 through the processing component after the page is refreshed.
The display module 1340 is further configured to display, by the processing component, at least one of: a maximum number of hits for the multi-box, an edit button, a delete button, a view button, and a set button.
The determining module 1350 is configured to determine whether the multi-box and the processing component receive a trigger instruction within a preset time.
The trigger command may be a mouse event. Accordingly, the display module 1340 is configured to hide the processing element when the determining module 1350 determines that the triggering instruction is not received.
The obtaining module 1310 is further configured to obtain an editing instruction of the user through the editing button; accordingly, the updating module 1320 is further configured to edit the user selection information according to the editing instruction acquired by the acquiring module 1310.
Specifically, the update module 1320 is configured to display the user selection information and a corresponding save button according to the edit instruction, and obtain the edit information input by the user; and acquiring a storage instruction of the user through the storage button, and updating the user selection information according to the storage instruction and the editing information. Wherein the editing information may comprise at least one of: commodity number, commodity name, actual inventory and alert inventory.
The obtaining module 1310 is further configured to obtain a deleting instruction of the user through the deleting button; accordingly, the updating module 1320 is further configured to process the user selection information according to the deleting instruction obtained by the obtaining module.
Specifically, the update module 1320 is configured to display a prompt message according to the delete instruction, where the prompt message includes a confirm button and a cancel button; when a confirmation instruction of the user is received through the confirmation button, deleting the user selection information according to the confirmation instruction, and closing the prompt information; and when a cancel instruction of the user is received through the cancel button, closing the prompt message.
The obtaining module 1310 is further configured to obtain a viewing instruction of the user through the viewing button; correspondingly, the display module 1340 is further configured to display the selected option list in the multiple selection box according to the viewing instruction acquired by the acquisition module 1340.
The selected option list comprises selected options, a save button and a cancel button. The obtaining module 1310 is further configured to obtain a selection instruction of the user for the selected option, where the selection instruction includes a selection instruction and/or a deselection instruction; correspondingly, the updating module 1320 is further configured to, when the saving instruction of the user is received through the saving button, update the user selection information according to the saving instruction, the selection instruction and/or the deselection instruction, and close the selected option list; and closing the selected option list when a cancel instruction of the user is received through the cancel button.
The obtaining module 1310 is further configured to obtain a setting instruction of a user through the setting button; the apparatus in this embodiment of the present application may further include:
a setting module 1360 configured to set the content displayed by the processing component according to the setting instruction acquired by the acquiring module 1310.
Specifically, the setting module 1360 is configured to display a setting list according to the setting instruction, where the setting list includes a function item, a save button, and a cancel button of the processing component; acquiring a selection instruction of a user for the functional item, wherein the selection instruction comprises a selection instruction and/or a deselection instruction; if a saving instruction of the user is received through the saving button, updating the content displayed by the processing component according to the saving instruction, the selected instruction and/or the deselected instruction, and closing the setting list; and if a cancel instruction of the user is received through the cancel button, closing the setting list. Wherein the functional items comprise at least one of: editing items, deleting items, comparing items, printing express delivery items, printing delivery items, putting items and evaluating items.
The method and the system have the advantages that the source data are read from the server according to the selection instruction, the user selection information is updated and stored at the client, the user selection information is processed through the operation interface depending on local processing of the client, the server only needs to provide the source data, the working pressure of processing the data by the server is reduced, the data transmission quantity in the network is reduced, the processing speed of counting the number of options in the multi-option frame is increased, the working performance of the client and the performance of service resources are improved, a convenient batch editing entry is provided for the user, the operation of the user is facilitated, and the efficiency of processing the user selection information is improved. Of course, it is not necessary for any product to achieve all of the above-described advantages at the same time for the practice of the present application.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present application can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application may be substantially or partially embodied in the form of a software product stored in a storage medium, and including instructions for causing a terminal device (which may be a mobile phone, a personal computer, a server, or a network device) to execute the method according to the embodiments of the present application.
The foregoing is only a preferred embodiment of the present application, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present application, and these modifications and decorations should also be considered to be within the protection scope of the present application.
Those skilled in the art will appreciate that the modules in the devices in the embodiments may be distributed in the devices in the embodiments according to the description of the embodiments, and may be correspondingly changed in one or more devices different from the embodiments. The modules of the above embodiments may be integrated into one body, or may be separately deployed; the sub-modules can be combined into one module, or can be further split into a plurality of sub-modules. The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The disclosure of the present application is only a few specific embodiments, but the present application is not limited to these, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present application.
Claims (28)
1. A method of processing user-selected information, comprising the steps of:
the method comprises the steps that a client side obtains a selection instruction of a user for a multi-selection frame, and source data corresponding to the selection instruction are read from a server side;
the client updates the user selection information corresponding to the multi-selection box according to the source data and the selection instruction, and stores the updated user selection information;
the client side counts the current number of the selected items of the multi-selection frame according to the updated user selection information, and displays the current number of the selected items; wherein the client displays the current number of options, including: and the client displays the current selected item number through a processing component.
2. The method of claim 1, wherein the selection instruction comprises a selected instruction and/or a deselected instruction,
the updating of the user selection information corresponding to the multiple selection boxes according to the source data and the selection instruction comprises:
adding the source data corresponding to the selected instruction to the user selection information; and/or
And deleting the source data corresponding to the deselection instruction from the user selection information.
3. The method of claim 1 or 2, wherein the user selection information is selected option information, the option information comprising at least one of:
commodity number, commodity name, actual inventory and alert inventory.
4. The method of claim 1, wherein the client displays the current number of hits, further comprising:
the client judges whether the multi-selection frame and the processing component receive a trigger instruction within preset time or not;
if the triggering instruction is not received, the client hides the processing component; otherwise, the client continues to display the processing component.
5. The method of claim 4, wherein the triggering instruction is a mouse event.
6. The method of claim 4, further comprising:
the client displays, by the processing component, at least one of:
a maximum number of hits for the multi-box, an edit button, a delete button, a view button, and a set button.
7. The method of claim 6, wherein after the client displays the edit button of the multi-box via a processing component, further comprising:
and the client acquires an editing instruction of a user through the editing button, and edits the user selection information according to the editing instruction.
8. The method of claim 7, wherein the client edits the user selection information according to an edit instruction, comprising:
the client displays the user selection information and the corresponding storage button according to the editing instruction, and acquires the editing information input by the user;
and the client acquires a storage instruction of the user through the storage button, and updates the user selection information according to the storage instruction and the editing information.
9. The method of claim 8, wherein the editing information comprises at least one of:
commodity number, commodity name, actual inventory and alert inventory.
10. The method of claim 6, wherein after the client displays, via a processing component, a delete button of the multi-box, further comprising:
and the client acquires a deletion instruction of the user through the deletion button, and processes the user selection information according to the deletion instruction.
11. The method of claim 10, wherein said processing said user-selected information according to said deletion instruction comprises:
displaying prompt information according to the deleting instruction, wherein the prompt information comprises a confirmation button and a cancel button;
if a confirmation instruction of the user is received through the confirmation button, deleting the user selection information according to the confirmation instruction, and closing the prompt information; and if a cancel instruction of the user is received through the cancel button, closing the prompt message.
12. The method of claim 6, wherein after the client displays the view button of the multi-box through a processing component, further comprising:
and the client acquires a viewing instruction of a user through the viewing button, and displays the selected option list in the multi-selection box according to the viewing instruction.
13. The method of claim 12, wherein the list of selected options includes a selected option, a save button, and a cancel button,
after the client displays the selected option list in the multi-selection box according to the viewing instruction, the method further comprises the following steps:
the client side obtains a selection instruction of the user for the selected option, wherein the selection instruction comprises a selection instruction and/or a deselection instruction;
if a saving instruction of the user is received through the saving button, the client updates the user selection information according to the saving instruction, the selection instruction and/or the selection canceling instruction, and closes the selected option list; and if a cancel instruction of the user is received through the cancel button, closing the selected option list by the client.
14. The method of claim 6, wherein after the client displays the setup button of the multi-box through a processing component, further comprising:
and the client acquires a setting instruction of a user through the setting button, and sets the content displayed by the processing assembly according to the setting instruction.
15. The method of claim 14, wherein the setting the content displayed by the processing component according to the setting instruction comprises:
displaying a setting list according to the setting instruction, wherein the setting list comprises a function item, a saving button and a canceling button of the processing assembly;
acquiring a selection instruction of a user for the functional item, wherein the selection instruction comprises a selection instruction and/or a deselection instruction;
if a saving instruction of the user is received through the saving button, updating the content displayed by the processing component according to the saving instruction, the selected instruction and/or the deselected instruction, and closing the setting list; and if a cancel instruction of the user is received through the cancel button, closing the setting list.
16. The method of claim 15, wherein the functional items comprise at least one of:
editing items, deleting items, comparing items, printing express delivery items, printing delivery items, putting items and evaluating items.
17. An apparatus for processing user-selected information, comprising:
the acquisition module is used for acquiring a selection instruction of a user for the multiple selection frames and reading source data corresponding to the selection instruction from the server;
the updating module updates the user selection information corresponding to the multi-selection box according to the source data and the selection instruction acquired by the acquiring module and stores the updated user selection information;
the counting module is used for counting the current number of the selected items of the multi-box according to the user selection information updated by the updating module;
the display module is used for displaying the current number of the selected items obtained by the counting module; the display module is specifically configured to display the current number of selected items through the processing component.
18. The apparatus of claim 17, wherein the selection instruction comprises a select instruction and/or a deselect instruction,
the updating module is used for adding the source data corresponding to the selected instruction into the user selection information; and/or
And deleting the source data corresponding to the deselection instruction from the user selection information.
19. The apparatus of claim 17, wherein the apparatus is further characterized by
The device, still include:
the judging module is used for judging whether the multi-selection frame and the processing assembly receive a trigger instruction within preset time;
and the display module is used for hiding the processing assembly when the judging module judges that the triggering instruction is not received.
20. The apparatus of claim 19,
the display module is further configured to display, by the processing component, at least one of:
a maximum number of hits for the multi-box, an edit button, a delete button, a view button, and a set button.
21. The apparatus of claim 20,
the obtaining module is further used for obtaining an editing instruction of a user through the editing button;
the updating module is further configured to edit the user selection information according to the editing instruction acquired by the acquiring module.
22. The apparatus of claim 21,
the updating module is used for displaying the user selection information and the corresponding storage button according to the editing instruction and acquiring the editing information input by the user; and acquiring a storage instruction of the user through the storage button, and updating the user selection information according to the storage instruction and the editing information.
23. The apparatus of claim 20,
the acquisition module is also used for acquiring a deletion instruction of a user through the deletion button;
the updating module is further configured to process the user selection information according to the deleting instruction acquired by the acquiring module.
24. The apparatus of claim 23,
the updating module is used for displaying prompt information according to the deleting instruction, wherein the prompt information comprises a confirmation button and a cancel button; when a confirmation instruction of the user is received through the confirmation button, deleting the user selection information according to the confirmation instruction, and closing the prompt information; and when a cancel instruction of the user is received through the cancel button, closing the prompt message.
25. The apparatus of claim 20,
the acquisition module is also used for acquiring a viewing instruction of a user through the viewing button;
the display module is further configured to display the selected option list in the multiple selection box according to the viewing instruction acquired by the acquisition module.
26. The apparatus of claim 25, wherein the list of selected options includes a selected option, a save button, and a cancel button,
the obtaining module is further configured to obtain a selection instruction of the user for the selected option, where the selection instruction includes a selection instruction and/or a deselection instruction;
the updating module is further configured to update the user selection information according to the saving instruction, the selection instruction and/or the deselection instruction and close the selected option list when the saving instruction of the user is received through the saving button; and closing the selected option list when a cancel instruction of the user is received through the cancel button.
27. The apparatus of claim 20,
the acquisition module is also used for acquiring a setting instruction of a user through the setting button;
the device further comprises:
and the setting module is used for setting the content displayed by the processing component according to the setting instruction acquired by the acquisition module.
28. The apparatus of claim 27,
the setting module is used for displaying a setting list according to the setting instruction, wherein the setting list comprises a function item, a saving button and a canceling button of the processing assembly; acquiring a selection instruction of a user for the functional item, wherein the selection instruction comprises a selection instruction and/or a deselection instruction; if a saving instruction of the user is received through the saving button, updating the content displayed by the processing component according to the saving instruction, the selected instruction and/or the deselected instruction, and closing the setting list; and if a cancel instruction of the user is received through the cancel button, closing the setting list.
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201010165236.2A CN102236854B (en) | 2010-05-07 | 2010-05-07 | Method of processing user selection information and apparatus thereof |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| HK1160264A1 HK1160264A1 (en) | 2012-08-10 |
| HK1160264B true HK1160264B (en) | 2014-10-03 |
Family
ID=
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10078621B2 (en) | Method, apparatus, and system for displaying order information | |
| US10572100B2 (en) | System, method, and apparatus for webpage processing | |
| WO2019179254A1 (en) | Self-service shopping settlement method and system | |
| CN112150256B (en) | A data processing method, device, equipment and storage medium | |
| US11314473B2 (en) | Method and apparatus for displaying digital object identifier | |
| CN104243273A (en) | Method and device for displaying information on instant messaging client and information display system | |
| CN112000746B (en) | Data management method and device and server | |
| US11410113B2 (en) | Shipping preferences population systems and related methods | |
| CN111667328B (en) | Page content display method and device and electronic equipment | |
| WO2016062203A1 (en) | Discrete data centralized processing method, client, server, and system | |
| CN109361948B (en) | Interface management method, intelligent terminal and readable storage medium | |
| CN110232581B (en) | A method and device for providing coupons to users | |
| CN112308667A (en) | Receiving information setting method and device and electronic equipment | |
| CN109697129A (en) | A kind of information sharing method, equipment and computer readable storage medium | |
| CN114844851A (en) | Information display method, apparatus, computer equipment and storage medium | |
| WO2017156986A1 (en) | Full-picture image display method and system for mobile terminal | |
| WO2016107277A1 (en) | Telephone-number-based information loading method and device | |
| CN116661657A (en) | Message transmission method, apparatus, computer device, storage medium, and computer program product | |
| US11816143B2 (en) | Integrated image system based on image search feature | |
| CN108765044B (en) | Commodity information synchronization method, terminal and computer-readable storage medium | |
| US20230237532A1 (en) | Platform for accelerating sales by personalizing user interactions based on user behavior | |
| CN112990999A (en) | Display method, device and equipment of search result page | |
| WO2021051744A1 (en) | Dish recommendation method and apparatus, recommended content uploading method and apparatus, and electronic device | |
| CN110659966A (en) | Article information comparison method, device and equipment and computer readable storage medium | |
| HK1160264B (en) | Method and apparatus for processing user selection |