Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments in the present specification without any inventive step are within the scope of the present application.
Before describing the display data modification method provided in the present specification, an operation scenario of each embodiment of the present specification will be described first, and each embodiment of the present specification can be applied to a display data modification occasion. E.g., modifying data at a web page, etc.
Referring to fig. 1 and 2, an example of an application scenario of a display data modification system of the present specification is shown. The client presents a registration page. In the registration page, there may be a plurality of page controls, and specifically, the types of the page controls may include a button control, a text control, and an input box control. Each page control may have corresponding display data by which the purpose of the page control may be indicated. Of course, the input box control can be used in combination with the text control, and the content of the data is displayed through the text control, so that the purpose of the adjacent input box control is expressed.
For ease of expression, the textual control in FIG. 2 showing the data as "name" may be named the target control. The user may wish to modify the display data of the target control to "name". At this time, the user may trigger a button control in the registration page that displays data as "control edit". At this time, the client performs screenshot operation on the registration page, and a snapshot image of the registration page is generated. And the client sends a page editing request to the server, and takes the snapshot image as attached page information. After the server receives the editing request of the page, the server can perform page identification on the obtained snapshot image and determine a target page. And the server feeds back an edit page aiming at the page controls on the registration page to the client, wherein the edit page comprises the name information of all the page controls in the registration page.
Referring to fig. 3, in the edit page, an input box control may be provided corresponding to a page control having display data in the registration page, and modification information input by the user may be received, where the modification information may be used as display data modified by the corresponding page control. Specifically, the user may enter a "name" in the input box control of the target control.
And the user clicks a button control for displaying data as 'finished' in the editing page, at this time, the client can send a modification request to the server, and the modification information is attached to the modification request. After the server receives the modification request, the display data of the target control in the registration page can be modified to be 'name' based on the modification request.
Referring to fig. 4, an embodiment of the present disclosure provides a display data modification system. The display data modification system may include a client and a server. The client communicates with the server over a network. The client sends a display data modification request and page information of the page control to the server through the network, and the server sends a plurality of pieces of page control information and edited page information to the client after receiving the data modification request. And the client displays the editing page and submits modification information. And the server modifies the display information of the page control. The client may be an electronic device with network access capabilities. Specifically, for example, the client may be a desktop computer, a tablet computer, a notebook computer, a smart phone, a digital assistant, a smart wearable device, a shopping guide terminal, a television, a smart speaker, a microphone, and the like. Wherein, wearable equipment of intelligence includes but not limited to intelligent bracelet, intelligent wrist-watch, intelligent glasses, intelligent helmet, intelligent necklace etc.. Alternatively, the client may be software that can run in the electronic device. The server may be an electronic device having a certain arithmetic processing capability. Which may have a network communication module, a processor, memory, etc. Of course, the server may also refer to software running in the electronic device. The server may be a distributed server, and may be a system having a plurality of processors, memories, network communication modules, and the like that cooperate with one another. Alternatively, the server may also be a server cluster formed by several servers. Or, with the development of scientific technology, the server can also be a new technical means capable of realizing the corresponding functions of the specification implementation mode. For example, it may be a new form of "server" implemented based on quantum computing.
Referring to fig. 5, an embodiment of the present disclosure provides a display data modification method applied to a client. The display data modification method may include step S501, step S502, step S503, and step S504.
Step S501: displaying a page with a plurality of page controls; wherein the page has page information identifying the page; the page control has display data; the page control comprises an editing control.
In this embodiment, the client may present a page including a plurality of page controls to the user. Wherein the page control can be a functional component for page usage. Page controls can be divided into various types according to function. In particular, for example, the page controls may include button controls, text controls, input box controls, or image controls, among others. In the development process of the page, corresponding business logic can be set for the page control. In this manner, the page may be provided to the user interaction functionality through the page control. Accordingly, the corresponding page control may be determined according to business logic. Specifically, the page may have an edit control, and when the edit control is triggered, the edit control may provide a function for a user to modify display data of the page control in the page. Of course, the editing control can be specifically implemented by using a specific page control such as a button control or a text control.
In this embodiment, the page control may have display data. The display data may be used to express the purpose or function of the corresponding page control. Specifically, for example, a button control displaying data as "next page" may be used to call the next page of the current page when triggered. The display data of the edit control may be "control edit".
In this embodiment, the page information may be used to identify the page. In this manner, the page may be determined from the page information. The page information may be a page identification capable of identifying the page. Specifically, for example, the MD5 value obtained by operating all data in the page information may be used as the page identifier of the page. Of course, a setting data that can correspond to only a page may be used as the page identifier. In some embodiments, an image of a page may also be employed as page information for the page. Specifically, for example, a page screenshot of the page is generated, and the page screenshot may be used as the page information.
Step S502: sending a page editing request to a server under the condition that the editing control is triggered; wherein the page editing request is accompanied by the page information.
In this embodiment, after the edit control is triggered, the client sends an edit request of the page to the server. The trigger may be that the edit control has a click event. Specifically, for example, the user may click the page control with a mouse, or the client may execute a function corresponding to the page control after touching the page control with a hand or performing a click operation on the page control in other manners. Specifically, for example, after the user operates a mouse to click an edit control displayed by the client, the client sends a page edit request to the server.
In the present embodiment, the page information attached to the edit request transmitted from the client to the server can be used to allow the server to recognize the page where the edit request is made. The page information of each page is different. For example, after the user clicks the edit control on the landing page displayed by the client, and the edit control is triggered, the client sends page information of the landing page in the landing page edit request to the server. Such as a page identification.
In some embodiments, each page control on the page may have a corresponding editing control, and a user clicks one editing control on the page of the client, and after the editing control is triggered, an editing request of the control is sent to the server, including information edited by the control and information identifying the control. Such as control identification.
In some implementations, a user at the client can select several page controls on the page. For example, select 5 page controls in a page and then click on the edit control. And after the editing control is triggered, sending an editing request of the 5 page controls to a server, wherein the editing request also comprises the information of the 5 page controls and the page information of the page where the page control is located.
Step S503: displaying an edit page which is fed back by the server and has an information edit item for the page control; and the information editing item can be used for receiving modification information of the page control, which is input by a user.
In this embodiment, the edit page refers to a user interface for a user to add, modify, or delete page contents. The edit page presents the user with content that can be edited.
In this embodiment, the information editing item refers to a page control for adding, modifying, or deleting page content by a user. Such as a text box. And displaying the information editing item in the user interface, and inputting the modification information in the information editing item by a user. And the client receives the modification information input by the user through the information editing item.
In this embodiment, the modification information refers to information for replacing and adding display data of the original page control. Specifically, for example, the user needs to modify the display data "add" of one page control to "add user" at the client, and the modification information may be "add user".
Step S504: and submitting the information editing item with the modification information to the server so that the server modifies the display data of the page control according to the modification information of the information editing item.
In the embodiment, the client submits the modification information input by the user to the server, so that the server can modify the display data of the page control according to the modification information. Specifically, for example, the user clicks a submission control of the trigger client, and sends the modification information to the server, so that the server modifies the display data of the page control according to the modification information submitted by the client. Specifically, for example, the client submits modification information to the server, which may be an instruction to modify the page control display data from "save" to "submit".
In some embodiments, the display data for certain page controls of some pages may be the same and have the same identification. For example, some pages have the same page control, and the display data of the page control is the same and has the same identifier. And after the client submits modification information of the display data of the page control to the server, the server modifies the display data of the page control with the same identification. For example, the display data of some page controls of the client are all prompts and have the same identification, and if the display data of the prompts in a certain page is modified and submitted to the server, the server modifies the display data of the prompts with the same identification in all pages.
In the implementation manner provided by this specification, a user may send an edit request for modifying display data of a page control to a server through a client, and after receiving the edit request and page information of a page, the server may identify a target page for the page information and send an information edit item to the client. And the user modifies the information in the information editing items displayed by the client and submits the information to the server. The server can modify the display data of the corresponding page control according to the modification information submitted by the client. By the method, a function of conveniently and accurately modifying the display data of the page control can be provided for the user, and the use experience of the user is improved.
In some embodiments, the page information may include one of: a page snapshot of the page; or, a preset identifier of the page; or a unique code generated according to the page data.
In this embodiment, the page snapshot may refer to page information obtained by capturing page content and removing data such as a display format and a picture. When a user clicks the editing control, when the editing control is triggered, the client captures the page content of the page where the editing control is located, removes data such as display formats and pictures, and sends the formed page information to the server for the server to identify the page. And the server identifies a page corresponding to the editing request of the page through the page snapshot.
In this embodiment, the preset identifier is a tag configured in advance for each page. Different pages may have different tags, and the identifier of each page only indicates the page where the tag is located, so as to distinguish different pages. And the server identifies the page corresponding to the edition request of the page sent by the client through the tag set in advance by the page.
In the present embodiment, the unique code means that each page has a different identifier from other pages, and forms page information for distinguishing the pages. The unique code of the page is formed by the page data. The unique code can be a page identifier, each data of the page has one identifier, and the identifiers of all data of the page are combined to form the unique identifier of the page, so that the server can identify the page corresponding to the editing request of the page.
In some embodiments, the step of presenting the edit page with the information edit item to the page control fed back by the server includes: displaying display data of the corresponding page control in the information editing item; the information editing item is provided with an information input box, and the information input box is used for receiving modification information of the page control, which is input by a user.
In this embodiment, the user displays the display data of the page control through the information editing item, and knows the page control of which the display data can be modified. And displaying the display data of the page control in the information editing frame corresponding to the page. For example, the page control has a new control, a menu name control, a prompt language content control, and the like, and the information editing item displays the display data of the page control having the new control, the menu name, the prompt language content, and the like.
In the present embodiment, the information input box refers to a text box in which the user inputs the modification information. And the client receives the modification information input by the user through the information input box. The display data of the page control is displayed in the information input box, so that a user can directly input modification information of the display data of the page control in the information input box. For example, when the user needs to modify the display data "demographics" of the page control into "profile", the user may modify the display data "demographics" of the page control into "profile" in the information input box displayed by the client.
In some embodiments, the client displays an edit page with information edit items fed back by the server, and each page control on the edit page has an information input box. And the user inputs modification information in an information input box corresponding to the page control needing to modify the display data.
In some embodiments, the step of presenting the edit page with the information edit item to the page control fed back by the server includes: displaying information editing items of display data of the page control aiming at different language environments in the editing page; the information editing item displays display data of the page control under the corresponding language environment; the information editing item is provided with an information input box, and the information input box is used for receiving modification information, which is input by a user and aims at the page control under the corresponding language environment.
In the present embodiment, the different language environment refers to a situation and a state in which different languages are used. The method is suitable for the international development, and the display data of the page control needs to be displayed in different language environments. For example, the display data of the page control needs to be displayed to users who use chinese, english, french, korean, and the like, and the display data of the page control needs to be displayed in the language used by the corresponding user.
In this embodiment, the display data of the page control in different language environments may be modified. The information editing item displays the display data of the corresponding language environment in different language environments, so that users of different languages can use the information editing item conveniently. The information editing item is provided with an information input box.
In this embodiment, the information input box is used for receiving modification information corresponding to the language environment input by the user. For example, in the context of English, the information input box may receive English modification information.
In some embodiments, in the information editing item, the information input box may receive modification information in different language environments. The user can modify the display data of the page control under different language environments at the same time. For example, the client displays a Chinese language environment, and the information editing item displays display data of different language environments of the page control. For example, the display data of the page control that the client exposes to the user is Chinese, but the page control has a language environment of Chinese, Japanese, and German. And the information editing item displays display data such as Chinese, Japanese, German and the like corresponding to the page control.
In this embodiment, in different language environments, the client may receive modification information of the page control in different language environments through the information input box. For example, english modification information of display data of a corresponding page control is received in an english environment. Specifically, for example, the display data of a certain page control is "new", the modification information of the display data of the page control is "add", and the information input box corresponding to the page control may receive the modification information for modifying the display data of the page control from "new" to "add".
In some implementations, the information input box can simultaneously receive modification information for display data of the page control in different language contexts. And receiving the corresponding modification information of the display data such as Chinese, Japanese, German and the like. For example, in a Chinese environment, the information input box may simultaneously receive modification information for display data in Chinese, Japanese, and German, etc., for a page control in a corresponding Chinese page.
In some embodiments, the display data modification method further comprises: receiving a language environment increasing instruction input by a user; wherein, the language environment adding instruction is attached with target language information of the language environment; and providing an information editing item corresponding to the language environment of the target language information by the page control corresponding to the page.
In this embodiment, the language environment increase refers to increasing the language of the page control display data. For example, currently, the display data of the page display has Chinese and English, and the languages of the display data can be increased except the language of the display data of the existing page control.
In this embodiment, the language environment increasing instruction is a language increasing command of the page control display data. For example, the display data of the page control has language environments such as chinese and english, and a korean language environment needs to be added, and the language environment addition instruction is a command for adding korean to the display data of the page control.
In this embodiment, the target language information refers to information of a language environment in which data displayed by the page control needs to be added. For distinguishing the existing language environment from the language environment that needs to be added. For example, german needs to be added to the display data of the page control, namely german is the target language, and the target language information can be german language information. For example, the target language information identifier is represented.
In the embodiment, the client receives a language environment increasing instruction of a user and sends the language environment increasing instruction to the server for increasing the language environment. International development is rapid, the existing language environment may not be enough to meet the development requirement, and the required increased language environment corresponds to the development. And when the server receives the language environment increasing instruction sent by the client, the server also receives the target language information identification. The server can identify the target language to be added through the target language information identifier and feed back the target language to the client. The information input box displayed by the client has an edit text box of the page control display data under the language environment corresponding to the target language information. The user can input the display data of the page control of the language environment through the information input box displayed by the client.
In some embodiments, after the step of submitting the information editing item accompanied with the modification information to the server, the method further comprises: and displaying the page, wherein the plurality of page controls of the page have display data modified according to the modification information.
In the embodiment, the client displays the modified page control display data, and the user can quickly see the modification effect of the display data of the page control. After a user submits an edit item with modification information to the server through the client, the server modifies the display data of the page control according to the display data modification information of the page control submitted by the client, and sends the modified display data of the page control to the client. And the client displays the modified display data of the page control.
In some embodiments, the step of presenting the edit page with the information edit item to the page control fed back by the server includes: and arranging the information editing items in the editing page according to a matrix mode.
In the present embodiment, the matrix arrangement means a regular and corresponding distribution of rectangular arrays for displaying information in order. The information editing items are arranged in a matrix mode, so that a user can conveniently identify or modify the display data of the page control. And the display data of the page control under different language environments can be correspondingly displayed in the information editing item, so that the user can modify the display data conveniently. For example, a page control in the Chinese language environment displays data "Add," which is "Add" in the English environment, corresponding to Chinese and English, and "Add" corresponds to "Add". The user can quickly know the content of the information editing item, and the user can conveniently modify the display data of the page control under different language environments.
Referring to fig. 6, an embodiment of the present disclosure provides a method for modifying display data applied to a server. The display data modification method may include step S601, step S602, step S603, and step S604.
Step 601: receiving a page editing request sent by a client; and the page editing request is attached with page information.
In the embodiment, the server receives the page editing request sent by the client and the page information carried in the page editing request. The page information is used for the server to identify and analyze the page corresponding to the editing request of the page.
Step 602: and determining a target page according to the page information.
In this embodiment, the target page refers to a page corresponding to an edit request of a page, and also refers to a corresponding page in which an edit control is triggered. And the server determines a page corresponding to the display data of the page control needing to be modified, which is sent by the client, according to the page information.
Step 603: sending an editing page corresponding to the target page to the client; and the editing page is provided with an information editing item corresponding to the page control in the target page.
In this embodiment, the server sends an edit page corresponding to the target page to the client, and is configured to receive input information of the user. The edit page has an information edit item corresponding to each page control in the target page. For example, there are 10 page controls in the target page, and there are information editing items corresponding to the 10 page controls in the editing page.
Step 604: and modifying the display data of the corresponding page control of the target page according to the received modification information attached to the information editing item.
In this embodiment, the server modifies the display data of the page control. And after receiving the information edition with the modification information sent by the client, the server modifies the display data of the page control in the target page according to the received modification information. For example, the server receives modification information sent by the client to modify the display data "new" of the newly added control into "Add" in an english environment, and the server modifies the display data "new" corresponding to the page control corresponding to the triggered editing control into "Add".
In some embodiments, the controls have the same display data in different pages and have the same identification. And after receiving the display data modification information of the page control in a certain page, the client modifies the display data of the page control with the same identification. Specifically, for example, when the server receives modification information in a certain page, the server modifies display data of a hint control, and other pages also contain a hint control, and the identifiers of the hint controls in the pages are the same, the server modifies the display data of the hint control with the same identifier according to the modification information in the certain page.
In the implementation manner provided by this specification, a server receives an edit request from a client to a sending page, identifies the edit request and page information by the server to determine a target page, and sends a page edit item to the client. And the server receives the user modification information and modifies the display data of the page control of the corresponding page of the target page. By the method, a function of conveniently modifying the display data of the page control can be provided for the user, and the use experience of the user is improved.
In some embodiments, the step of sending the edit page corresponding to the target page to the client includes: acquiring display information of the page control of the target page corresponding to different language environments; each page control respectively corresponds to different language environments to generate an information editing item comprising corresponding display information; and sending the editing page comprising the information editing item to the client.
In the embodiment, the server generates an editing page according to the acquired information and sends the editing page to the client. And the user can modify the display data in a multi-language environment conveniently. And the server generates an editing page of a corresponding information editing item according to the display information in different language environments and sends the editing page to the client. Specifically, for example, the page control of the target page has chinese, english, japanese, and the like, and the server generates, according to the acquired information, information edit items corresponding to display data of the chinese, english, japanese, and the like for each page control of the target page, and sends an edit page where the edit information is located to the client.
In some embodiments, a language environment increase instruction sent by the client is received; wherein, the language environment adding instruction is attached with target language information of the language environment; generating an information editing item of a language environment corresponding to the target language information aiming at the page control of the target page; and correspondingly, sending an editing page corresponding to the target page to the client.
In this embodiment, the language environment of the page and the display data corresponding to the page control in the language environment can be added. The method is convenient for a user to increase the language environment of the page control and the display data of the page control in the language environment. And after receiving the language environment increasing instruction sent by the client, the server identifies the target language information and the target page information carried in the language environment increasing instruction. And the server generates editing information of the language environment of the target language corresponding to the page control corresponding to the target page and sends the editing page to the client. For example, the page 1 has 50 page controls, and after the server receives an instruction of adding the thai language to the page 1, the server generates information editing items corresponding to the 50 page controls of the page 1 in the thai language environment. The server sends to the client an edit page having a thai language environment corresponding to page 1.
It should be noted that for the above method embodiments, for simplicity of description, a series of combined actions will be shown, but it should be understood that the present description is not limited by the order of actions described. Those skilled in the art will appreciate that the embodiments described in this specification are presently preferred and that no acts are necessarily required.
In some embodiments, the present specification provides a display data modification apparatus applied to a server, and referring to a block diagram of a display data modification apparatus shown in fig. 7, the apparatus S700 includes: a first sending module S701, a first display module S702, and a second sending module S703.
A first sending module S701, configured to send the page editing request and the page information attached to the page editing request to a server.
A first displaying module S702, configured to display the edit page, where the edit page has an edit item to the page control.
The second sending module S703 is configured to submit the information editing item of the modification information to the server.
In some embodiments, the present specification provides a display data modification apparatus applied to a server, and referring to a block diagram of a display data modification apparatus shown in fig. 8, the apparatus S800 includes: a first receiving module S801, an analyzing module S802, a third sending module S803, a second receiving module S804, and a modification processing module S805.
The first receiving module S801 is configured to receive the page editing request and the page information sent by the client.
And the analyzing module S802 is configured to analyze the page information to determine the target page.
A third sending module S803, configured to send the edit page to the client.
A second receiving module S804, configured to receive modification information attached to the editing item sent by the client.
And the modification processing module S805 is configured to modify display data of the corresponding page control of the target page.
The respective modules in the task execution apparatus described above may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 9. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a method of clinical trial data conversion. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In some embodiments, a computer device is provided, comprising a memory having a computer program stored therein and a processor that, when executing the computer program, performs the method steps in the above embodiments.
In this embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements the method steps in the above-described embodiments.
In some embodiments, a computer program product is also provided, which comprises instructions that are executable by a processor of a computer device to implement the method steps in the above-described embodiments.
In some embodiments, a computer program product may be provided, comprising instructions which, when executed by a processor of a computer device, implement the method steps in the above embodiments. It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above description is only exemplary of the present disclosure and should not be taken as limiting the present disclosure, and any modifications, equivalents and the like that are within the spirit and principle of the present disclosure should be included in the disclosure of the present disclosure.