Data processing method and device for server, server, and storage medium

By acquiring target identification information and determining the data extraction type, data extraction is performed on unstructured data from input page forms. This solves the problem of reasonable storage when the data storage structure is not well designed, and realizes effective data conversion and retrieval.

CN115687341BActive Publication Date: 2026-07-21QINGDAO HAIER TECH +1
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
QINGDAO HAIER TECH
Filing Date
2021-07-29
Publication Date
2026-07-21

AI Technical Summary

Technical Problem

When the data storage structure is not well designed, existing technologies cannot reasonably store the data of the input page form, resulting in data processing that does not match user needs.

Method used

By pushing a form to the page, target identification information is obtained and the data extraction type is determined. Unstructured data is extracted to generate structured data for reasonable storage.

Benefits of technology

Even when the data storage structure is not well designed, it can reasonably store and transform structured data to facilitate user access.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115687341B_ABST
    Figure CN115687341B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of data processing, and discloses a data processing method for a server, which comprises the following steps: pushing a page form to a user; obtaining target identification information and form data from the page form; determining a data pumping type corresponding to the target identification information according to the target identification information; and performing data pumping on unstructured data in the data pumping type, wherein the unstructured data is generated by processing the form data. The method can reasonably store the data of the input page form when the data storage structure is not designed perfectly. The application further discloses a data processing device for a server, a server and a storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing technology, for example to a data processing method, apparatus, server, and storage medium for a server. Background Technology

[0002] Currently, in the early stages of designing page forms, business users may not have designed a complete data storage structure. In this case, it is not necessary to store all the data input into the page form as structured data.

[0003] The existing data processing method stores the data of the input form as structured data, regardless of whether the user has designed a good data storage structure, which does not match the user's needs well.

[0004] In the process of implementing the embodiments of this disclosure, at least the following problems were found in the related art:

[0005] How to properly store data from input page forms when the data storage structure is not well designed? Summary of the Invention

[0006] To provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. This summary is not intended as a general commentary, nor is it intended to identify key / important components or describe the scope of protection of these embodiments, but rather as a prelude to the detailed description that follows.

[0007] This disclosure provides a data processing method, apparatus, server setup, and storage medium for a server, so as to reasonably store data from input page forms when the data storage structure is not well designed.

[0008] In some embodiments, the method includes: pushing a page form to a user; obtaining target identification information and form data from the page form; determining a data extraction type corresponding to the target identification information based on the target identification information; and performing data extraction on unstructured data using the data extraction type, wherein the unstructured data is generated by processing the form data.

[0009] In some embodiments, the server includes: a controller, configured to receive a trigger signal that triggers the page address to obtain a page form associated with the page address and obtain form data from the page form; a SaaS service, configured to process the form data to generate unstructured data; and a data extraction service, configured to obtain target identification information from the page form, determine a data extraction type corresponding to the target identification information based on the target identification information, and perform data extraction on the unstructured data using the data extraction type.

[0010] In some embodiments, the apparatus includes a processor and a memory storing program instructions, the processor being configured to perform the aforementioned data processing method for a server when the program instructions are executed.

[0011] In some embodiments, the server includes the data processing means for a server as described above.

[0012] In some embodiments, the storage medium stores program instructions that, when executed, perform the data processing method for a server as described above.

[0013] The data processing method, apparatus, server device, and storage medium for a server provided in this disclosure can achieve the following technical effects:

[0014] Instead of converting form data obtained from the page form into structured data, the server determines the corresponding data extraction type based on the target identifier information and extracts data from the unstructured data generated by processing the form data according to the data extraction type. This allows for the reasonable storage of form data even when the data storage structure is not well-designed. At the same time, after extracting the unstructured data according to the data extraction type, the server can convert the unstructured data into structured data, making it convenient for users to access.

[0015] The above general description and the description below are exemplary and illustrative only and are not intended to limit this application. Attached Figure Description

[0016] One or more embodiments are illustrated by way of example with reference to the accompanying drawings. These illustrations and drawings do not constitute a limitation on the embodiments. Elements having the same reference numerals in the drawings are shown as similar elements. The drawings are not to be scaled. And wherein:

[0017] Figure 1 This is a schematic diagram of a data processing method for a server provided in an embodiment of this disclosure;

[0018] Figure 2 This is a schematic diagram of another data processing method for a server provided in an embodiment of this disclosure;

[0019] Figure 3 This is a schematic diagram of another data processing method for a server provided in an embodiment of this disclosure;

[0020] Figure 4 This is a schematic diagram of another data processing method for a server provided in an embodiment of this disclosure;

[0021] Figure 5This is a schematic diagram of another data processing method for a server provided in an embodiment of this disclosure;

[0022] Figure 6 This is a schematic diagram of another data processing method for a server provided in an embodiment of this disclosure;

[0023] Figure 7 This is a schematic diagram of a data processing apparatus for a server provided in an embodiment of this disclosure;

[0024] Figure 8 This is a schematic diagram of another data processing apparatus for a server provided in an embodiment of this disclosure. Detailed Implementation

[0025] To provide a more detailed understanding of the features and technical content of the embodiments of this disclosure, the implementation of the embodiments of this disclosure will be described in detail below with reference to the accompanying drawings. The accompanying drawings are for illustrative purposes only and are not intended to limit the embodiments of this disclosure. In the following technical description, for ease of explanation, several details are used to provide a full understanding of the disclosed embodiments. However, one or more embodiments may still be implemented without these details. In other cases, well-known structures and devices may be simplified in their depiction to simplify the drawings.

[0026] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this disclosure described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion.

[0027] Unless otherwise stated, the term "multiple" means two or more.

[0028] In this embodiment of the disclosure, the character " / " indicates that the objects before and after it are in an "or" relationship. For example, A / B means: A or B.

[0029] The term "and / or" describes an association between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or A and B.

[0030] The term "correspondence" can refer to an association or binding relationship. The correspondence between A and B means that there is an association or binding relationship between A and B.

[0031] In this embodiment of the disclosure, smart home appliances refer to home appliances formed by introducing microprocessors, sensor technology and network communication technology into home appliances. They have the characteristics of intelligent control, intelligent sensing and intelligent application. The operation of smart home appliances often relies on the application and processing of modern technologies such as the Internet of Things, the Internet and electronic chips. For example, smart home appliances can be connected to electronic devices to enable users to remotely control and manage smart home appliances.

[0032] In the disclosed embodiments, the terminal device refers to an electronic device with wireless connectivity. The terminal device can communicate with the aforementioned smart home appliances via the internet, or directly via Bluetooth, Wi-Fi, or other methods. In some embodiments, the terminal device may be, for example, a mobile device, a computer, or an in-vehicle device built into a hovercraft, or any combination thereof. Mobile devices may include, for example, mobile phones, smart home devices, wearable devices, smart mobile devices, virtual reality devices, or any combination thereof. Wearable devices may include, for example, smartwatches, smart bracelets, pedometers, etc.

[0033] This disclosure provides a server, including a controller, a SaaS (Software-as-a-Service) service, and a data pumping service. Both the SaaS service and data pumping are backend services of the server. The SaaS service builds all the network infrastructure and software / hardware operating platforms needed for enterprise informatization, and is responsible for all pre-implementation and post-maintenance services. The data pumping service provides a mechanism for transferring data objects between unstructured data and MySQL (Relational Database Management System). The controller, SaaS service, and data pumping service work together to implement the following data processing methods for the server.

[0034] Combination Figure 1 As shown, this disclosure provides a data processing method for a server, including:

[0035] S01, the controller pushes the page form to the user.

[0036] S02, the data pumping service obtains target identification information from the page form, and the controller obtains form data from the page form.

[0037] S03, The data extraction service determines the data extraction type corresponding to the target identification information based on the target identification information.

[0038] S04, the data pumping service pumps unstructured data according to the data pumping type. The unstructured data is generated by the SaaS service based on form data processing.

[0039] The data processing method for servers provided in this disclosure does not convert form data obtained from page forms into structured data. Instead, the server determines the corresponding data extraction type based on the target identifier information and extracts data from the unstructured data generated by form data processing according to the data extraction type. This allows for reasonable storage of form data even when the data storage structure is not well-designed. Simultaneously, after extracting unstructured data using the data extraction type, the unstructured data can be converted into structured data, facilitating user access.

[0040] Specifically, pushing a page form to the user involves the server pushing a page address to the user, and the server pushing the page form to the user after receiving a signal that the user has clicked on the page address. The page address and the page form are bound together. Simultaneously, the server obtains form data from the page form and allows the user to input form data.

[0041] It should be noted that after the SaaS service processes the form data to generate unstructured data, it can transmit the unstructured data to the data pumping service. As one example, the SaaS service directly transmits the unstructured data to the data pumping service after processing the form data. As another example, when the data pumping service needs to perform data pumping, it sends a data acquisition signal to the SaaS service, and the SaaS service transmits the unstructured data to the data pumping service based on the data acquisition signal. This disclosure does not impose specific limitations on this aspect.

[0042] Furthermore, SaaS processes form data to generate unstructured data, which can be executed simultaneously with the data extraction service determining the data extraction type corresponding to the target identifier information, or it can be executed before the data extraction service determines the data extraction type corresponding to the target identifier information. This disclosure does not impose specific limitations on this aspect.

[0043] Optionally, the page forms are configured with touch keys. Combined with... Figure 2 As shown, the target identifier information is obtained from the page form, including:

[0044] S11, the data pumping service receives the touch signal that triggers the touch key.

[0045] S12, the data retrieval service obtains the request address associated with the touch key based on the touch signal, and the request address carries target identification information.

[0046] S13, the data pumping service extracts target identification information from the request address.

[0047] In this way, by binding the touch key to the request address, after the data pumping service receives the touch signal that triggers the touch control, it can obtain the request address associated with the touch control based on the touch signal, thereby extracting the target identification information from the request address, so that the server can determine the subsequent data pumping type based on the target identification information.

[0048] The touch keys can be buttons configured on the page form, which can display text such as "Submit" or "End" to prompt the user to perform the corresponding operation.

[0049] Optional, combined Figure 3 As shown, based on the target identification information, the data extraction type corresponding to the target identification information is determined, including:

[0050] S21, The data pumping service obtains an information database, which stores multiple identification information and configuration information associated with the multiple identifications.

[0051] S22, the data pumping service matches the target configuration information corresponding to the target identification information from the information database.

[0052] S23, The data pumping service determines the data pumping type corresponding to the target configuration information based on the target configuration information.

[0053] In this way, multiple identification information and their associated configuration information are pre-stored in the information database, enabling the server to quickly match the target configuration information corresponding to the target identification information from the information database. Then, the server can quickly determine the corresponding data retrieval type based on the target configuration information, thereby improving the accuracy of target configuration information acquisition.

[0054] Combination Figure 4 As shown in the embodiments of this disclosure, a data processing method for a server is also provided. The data extraction types include SQL (Structured Query Language) and API (Application Programming Interface). The method includes:

[0055] S31, the controller pushes the page form to the user.

[0056] S32, the data pumping service obtains target identification information from the page form, and the controller obtains form data from the page form.

[0057] S33, Data Pumping Service acquires an information database, which stores multiple identification information and configuration information associated with multiple identifications.

[0058] S34, the data pumping service matches the target configuration information corresponding to the target identification information from the information database.

[0059] S35, The data pumping service determines the data pumping type corresponding to the target configuration information based on the target configuration information.

[0060] S36, if the target configuration information carries request address data, the data pumping service determines that the data pumping type is API type.

[0061] S37, when the target configuration information carries SQL configuration data, the data pumping service determines that the data pumping type is SQL type.

[0062] S38, When the data pumping service pumps unstructured data using the data pumping type, the unstructured data is generated by the SaaS service based on form data processing.

[0063] By employing the data processing method for servers provided in this disclosure, the server can determine the data extraction type based on the data type carried by the target configuration information, thereby improving the efficiency of data extraction type determination.

[0064] Optional, combined Figure 5 As shown, the unstructured data is generated in the following manner:

[0065] S41, the type of form data obtained by the SaaS service.

[0066] S42, if the type of form data does not match the preset data type, the SaaS service will convert the form data into unstructured data for storage.

[0067] Since the data types entered by users into the page forms are not entirely consistent, it is necessary to standardize the data types of the form data. The default data type can be a data type corresponding to unstructured data. When the form data type and the default data type do not match, the server will uniformly convert the form data into unstructured data for storage, thus standardizing the data types of the form data.

[0068] Combination Figure 6 As shown in the embodiments of this disclosure, a data processing method for a server is also provided, including:

[0069] S51, the controller pushes the page form to the user.

[0070] S52, the data pumping service obtains target identification information from the page form, and the controller obtains form data from the page form.

[0071] S53, The data extraction service determines the data extraction type corresponding to the target identification information based on the target identification information.

[0072] S54, the data pumping service performs data pumping on unstructured data according to the data pumping type. The unstructured data is generated by form data processing.

[0073] S55, the data pump service transforms unstructured data processed by data pump into target objects.

[0074] S56, the data pumping service sends the target object to the page form so that the page form can render the page based on the target object.

[0075] The data processing method for servers provided in this disclosure involves a data pumping service extracting unstructured data according to a data pumping type, converting it into a target object, and then sending the target object to a page form so that the page form can render the page based on the target object. This provides a unified interface to the user and meets the user's needs.

[0076] The target object can be a JSON (JavaScript Object Notation) object. JSON objects are chosen as the target object because they are easy to manipulate in code.

[0077] This disclosure also provides a server, including a controller, a SaaS service, and a data extraction service. The controller pushes a page form to a user and obtains form data from the page form. The SaaS service processes the form data to generate unstructured data. The data extraction service obtains target identification information from the page form, determines a data extraction type corresponding to the target identification information, and performs data extraction on the unstructured data according to the data extraction type.

[0078] The server provided in this embodiment can reasonably store form data even when the data storage structure is not well designed. At the same time, by performing data extraction on unstructured data using the data extraction type, the unstructured data can be converted into structured data, making it convenient for users to access.

[0079] In practical applications, the data processing method used on the server specifically adopts the following steps:

[0080] First, the user clicks on a webpage address in their browser. Once the server receives the signal that the user has clicked on the webpage address, it pushes a form to the user. The user then enters the form data according to the business requirements and clicks the touch key.

[0081] Then, the SaaS service receives the form data and processes it to generate unstructured data. After receiving the touch signal that triggers the touch key, the data pumping service obtains the request address associated with the touch key based on the touch signal, and obtains the target identification information based on the request address.

[0082] Secondly, the data extraction service retrieves an information database and matches the target configuration information corresponding to the target identifier from the database. It is determined that the data extraction type corresponding to the target configuration information is API, and the data extraction uses an API to extract data from unstructured data.

[0083] Finally, the data pump service acquires unstructured data sent by the SaaS service, transforms the processed unstructured data into target objects, sends them to the page form, renders the page based on the target objects, and displays the content of the rendered page.

[0084] Combination Figure 7 As shown, this disclosure provides a data processing apparatus for a server, including a push module 201, an acquisition module 202, a determination module 203, and an execution module 204. The push module 201 is configured to push a page form to a user; the acquisition module 202 is configured to obtain target identification information and form data from the page form; the determination module 203 is configured to determine a data extraction type corresponding to the target identification information based on the target identification information; and the execution module 204 is configured to perform data extraction on unstructured data using the data extraction type, wherein the unstructured data is generated from the form data processing.

[0085] The data processing apparatus for servers provided in this disclosure can achieve reasonable storage of form data even when the data storage structure is not well designed.

[0086] Combination Figure 8 As shown, this disclosure provides a data processing apparatus for a server, including a processor 100 and a memory 101. Optionally, the apparatus may further include a communication interface 102 and a bus 103. The processor 100, communication interface 102, and memory 101 can communicate with each other via the bus 103. The communication interface 102 can be used for information transmission. The processor 100 can call logical instructions stored in the memory 101 to execute the data processing method for a server described in the above embodiments.

[0087] Furthermore, the logic instructions in the aforementioned memory 101 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium.

[0088] The memory 101, as a computer-readable storage medium, can be used to store software programs and computer-executable programs, such as program instructions / modules corresponding to the methods in the embodiments of this disclosure. The processor 100 executes functional applications and data processing by running the program instructions / modules stored in the memory 101, that is, it implements the data processing method for the server in the above embodiments.

[0089] The memory 101 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the terminal device. Furthermore, the memory 101 may include high-speed random access memory and may also include non-volatile memory.

[0090] This disclosure provides a server that includes the data processing apparatus for a server described above.

[0091] This disclosure provides a computer-readable storage medium storing computer-executable instructions configured to perform the aforementioned data processing method for a server.

[0092] This disclosure provides a computer program product, which includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions that, when executed by a computer, cause the computer to perform the aforementioned data processing method for a server.

[0093] The aforementioned computer-readable storage medium may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.

[0094] The technical solutions of this disclosure can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes one or more instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in this disclosure. The aforementioned storage medium can be a non-transitory storage medium, including: a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and other media capable of storing program code; it can also be a transient storage medium.

[0095] The foregoing description and accompanying drawings fully illustrate embodiments of this disclosure to enable those skilled in the art to practice them. Other embodiments may include structural, logical, electrical, procedural, and other changes. The embodiments represent only possible variations. Individual components and functions are optional unless explicitly required, and the order of operation may vary. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. Moreover, the terminology used in this application is for describing embodiments only and is not intended to limit the claims. As used in the description of embodiments and claims, the singular forms “a,” “an,” and “the” are intended to equally include the plural forms unless the context clearly indicates otherwise. Similarly, the term “and / or” as used in this application means including one or more of the associated listed items and all possible combinations thereof. Additionally, when used in this application, the term "comprise" and its variations "comprises" and / or "comprising" refer to the presence of stated features, integrals, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or groups thereof. Without further limitations, an element defined by the phrase "comprises a..." does not exclude the presence of other identical elements in the process, method, or apparatus that includes said element. In this document, each embodiment may focus on the differences from other embodiments, and similar or identical parts between embodiments can be referred to mutually. For methods, products, etc., disclosed in the embodiments, if they correspond to the method section disclosed in the embodiments, the relevant parts can be referred to the description of the method section.

[0096] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of this disclosure. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0097] The methods and products (including but not limited to devices and equipment) disclosed in the embodiments herein can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For instance, the division of units may be merely a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the shown or discussed units may be through some interfaces, and the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected to implement this embodiment according to actual needs. Furthermore, the functional units in the embodiments of this disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0098] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than that shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. In the descriptions corresponding to the flowcharts and block diagrams in the accompanying drawings, the operations or steps corresponding to different blocks may also occur in a different order than disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. Each block in a block diagram and / or flowchart, and combinations of blocks in a block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

Claims

1. A data processing method for a server, characterized in that, include: Push the page form to the user; Obtain target identification information and form data from the page form; Obtain an information database, which stores multiple identification information and configuration information associated with the multiple identifications; Match the target configuration information corresponding to the target identification information from the information database; Based on the target configuration information, determine the data extraction type corresponding to the target configuration information; wherein, the data extraction type is an API type or an SQL type; Data is extracted from unstructured data using the data extraction type described above, where the unstructured data is generated from the form data processing.

2. The method according to claim 1, characterized in that, The page form is configured with touch keys, and obtaining the target identifier information from the page form includes: Receive the touch signal that triggers the touch key; Based on the touch signal, a request address associated with the touch key is obtained, and the request address carries the target identification information; Extract the target identification information from the request address.

3. The method according to claim 1, characterized in that, The step of determining the data extraction type corresponding to the target configuration information based on the target configuration information includes: If the target configuration information carries request address data, the data retrieval type is determined to be API type; If the target configuration information carries SQL configuration data, the data retrieval type is determined to be SQL type.

4. The method according to any one of claims 1 to 3, characterized in that, After performing data pumping on the unstructured data using the aforementioned data pumping type, the process further includes: Transform unstructured data that has undergone data pumping into target objects; The target object is sent to the page form so that the page form renders the page based on the target object.

5. The method according to any one of claims 1 to 3, characterized in that, The unstructured data is generated in the following manner: Obtain the type of the form data; If the type of the form data does not match the preset data type, the form data will be converted into unstructured data for storage.

6. A server, characterized in that, include: The controller is used to push page forms to users and obtain form data from the page forms; SaaS services are used to process the form data to generate unstructured data; A data extraction service is used to obtain target identification information from the page form and retrieve an information database, which stores multiple identification information and configuration information associated with the multiple identification information; match target configuration information corresponding to the target identification information from the information database; determine the data extraction type corresponding to the target configuration information based on the target configuration information, and perform data extraction on the unstructured data using the data extraction type; wherein, the data extraction type is an API type or an SQL type.

7. A data processing apparatus for a server, comprising a processor and a memory storing program instructions, characterized in that, The processor is configured to perform the data processing method for a server as described in any one of claims 1 to 5 when executing the program instructions.

8. A server, characterized in that, Includes the data processing apparatus for a server as described in claim 7.

9. A storage medium storing program instructions, characterized in that, When the program instructions are executed, they perform the data processing method for the server as described in any one of claims 1 to 5.