Directional data remote transmission method and system

By introducing data transit server and HTTP protocol into the directional well engineering software, the compatibility problem of Compass software on non-windows operating systems and mobile devices is solved, cross-platform remote data transmission and viewing is realized, reducing the operating threshold and supporting high concurrency.

CN119520493APending Publication Date: 2025-02-25CHINA PETROCHEMICAL CORP +3
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311068730.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-23
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

The existing directional well engineering software Compass only supports windows operating systems and does not support remote viewing of mobile devices. The operating threshold is high, limiting its application on different operating systems and mobile devices.

Method used

The query request is generated through the remote mobile terminal, and the query request is transmitted to the data transfer server using the Hypertext Transfer Protocol (HTTP). After the data transfer server processes it, the query instructions are transmitted to the remote database through the local area network, and finally the query results are fed back to the remote mobile terminal.

Benefits of technology

It realizes remote viewing of directional well engineering data on any operating system and mobile device, reduces operation difficulty, supports high concurrent data transmission, and breaks through the support restrictions for non-windows environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119520493A_ABST
    Figure CN119520493A_ABST
Patent Text Reader

Abstract

The invention provides a directional data remote transmission method, and relates to the technical field of software engineering and directional well engineering, and the method comprises the steps: generating a query request through a remote mobile terminal, and transmitting the query request to a data relay server through a hypertext transfer protocol; processing the query request in the data transit server to generate a data query instruction, and transmitting the data query instruction to a remote database field working machine through a local area network; and responding to the data query instruction through the remote database field working machine, generating a data query result, and feeding back the data query result to the remote mobile terminal through the data transit server. The remote database field working machine information can be displayed on any electronic device according to requirements, any mobile electronic device and non-windows environment can be supported, and the method and the system have certain help to improve productivity. The breakthrough of the non-windows operation environment from nothing to the existence is realized; and a breakthrough from existence to absence is realized without installing a client by a user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the fields of software engineering technology and directional well engineering technology, and is applied to directional well engineering, and in particular to a directional data remote transmission method and system. Background Art

[0002] Compass is a directional well engineering software developed by Halliburton Company of the United States. Directional Compass software is used in the project to calculate the wellbore trajectory according to the directional well industry standard. At present, it is only supported in the Windows system and the environment where Compass is installed. You need to set the ODBC data source, that is, the IP, port, database name, database account and password of the remote database, and then use Compass software to open it. The operation is similar to operating the local Compass.

[0003] However, the existing Compass software has the following technical defects:

[0004] 1. Only supports Windows operating system, not compatible with Linux, Android, Mac and other operating systems;

[0005] 2. Compass must also be installed on the customer service end. Remote viewing on mobile devices anytime and anywhere is not supported.

[0006] 3. It is only applicable to professionals for operation and viewing. There is a certain threshold for non-professionals to operate it.

[0007] In view of the problems in the prior art, the present invention provides a method and system for directional data remote transmission. Summary of the invention

[0008] In order to overcome the defects of the prior art, the present invention provides a method for remote transmission of directional data, the method comprising:

[0009] Generate a query request using a remote mobile terminal, and transmit the query request to a data transfer server via a hypertext transfer protocol;

[0010] Processing the query request at the data transfer server to generate a data query instruction, and transmitting the data query instruction to a remote database field work machine via a local area network;

[0011] The remote database field machine responds to the data query instruction to generate a data query result, and the data query result is fed back to the remote mobile terminal through the data transfer server.

[0012] According to one embodiment of the present invention, the query request is generated by the following steps: entering a specific domain name through a browser, entering a user name and password to complete login, and selecting the data type to be queried in the user interface to generate the query request.

[0013] According to one embodiment of the present invention, the query request is processed by a background program, wherein the background program is constructed by the following steps:

[0014] defining a data model in the background program so as to store data required for remote transmission, wherein a database is used to define the relationship between the data models;

[0015] Use decorators or defined functions to write view functions or classes to handle remote transmission requests and operations;

[0016] Write logic code to handle file transfer, user authentication, and data storage operations according to remote transmission requirements;

[0017] Create corresponding template files and template engines to define dynamic content and logic in templates;

[0018] Configuration settings files, including database connection and static file path;

[0019] When the background program is developed, the background program is deployed to the data transfer server in the production environment.

[0020] According to an embodiment of the present invention, the data required for the remote transmission includes but is not limited to: user information, remote transmission information, single well data, and transmission records.

[0021] According to one embodiment of the present invention, the logic code uses a user authentication form + a session object + redirection and access control to verify the user and jump to the data transmission interface.

[0022] According to an embodiment of the present invention, the template is constructed in the form of a web page, wherein the template is a user interface displayed to the user.

[0023] According to one embodiment of the present invention, the background program is implemented using Django, Flask, FastAPI, or Tornado frameworks of Python language, and the background program may also be implemented using Spring framework of Java language.

[0024] According to one embodiment of the present invention, the data transfer server processes high-concurrency remote mobile terminal requests through WSGI or Uvicorn server, asynchronous framework, message queue and Starlette framework, and processes high-concurrency remote database field work machine terminal requests through SQLAlchemy.

[0025] According to another aspect of the present invention, a storage medium is provided, which contains a series of instructions for executing the method steps as described in any one of the above.

[0026] According to another aspect of the present invention, there is also provided a directional data remote transmission system, which executes any of the above methods, and the system comprises:

[0027] The remote mobile terminal is used to generate a query request and transmit the query request to the data transfer server via the hypertext transfer protocol;

[0028] The data transfer server is used to process the query request, generate a data query instruction, and transmit the data query instruction to the remote database field work machine through the local area network;

[0029] The remote database field working machine is used to respond to the data query instruction, generate data query results, and feed back the data query results to the remote mobile terminal through the data transfer server.

[0030] The present invention provides a method and system for directional data remote transmission, which has the following advantages over the prior art:

[0031] (1) Hypertext Transfer Protocol is used to transmit data. There is no limit on the number of users, operating system and terminal. The operation is as difficult as operating a web page.

[0032] (2) Design a user interface in the form of a web page (the view template is in the form of a web page) to facilitate interaction with users and to facilitate operation by non-professionals.

[0033] (3) Support high concurrency, use WSGI or Uvicorn server, asynchronous framework, message queue and Starlette framework to handle high concurrency remote mobile terminal requests, and use SQLAlchemy to handle high concurrency remote database field worker terminal requests.

[0034] (4) The remote database on-site work machine information can be displayed on any electronic device according to the needs. It can support any mobile electronic device and non-Windows environment, which is helpful for improving productivity. It has achieved a breakthrough from non-Windows operating environment to one; it has achieved a breakthrough from one to no need for users to install the client.

[0035] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0037] Figure 1 A flowchart of a method for remotely transmitting directional data according to an embodiment of the present invention is shown;

[0038] Figure 2 A schematic structural diagram of a directional data remote transmission system according to an embodiment of the present invention is shown.

[0039] In the accompanying drawings, the same reference numerals are used for the same components. In addition, the accompanying drawings are not drawn according to the actual scale. DETAILED DESCRIPTION

[0040] To make the objectives, technical solutions and advantages of the present invention more clear, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings.

[0041] Compass is a directional well engineering software developed by Halliburton Company of the United States. Directional Compass software is used in the project to calculate the wellbore trajectory according to the directional well industry standard. At present, it is only supported in the Windows system and the environment where Compass is installed. You need to set the ODBC data source, that is, the IP, port, database name, database account and password of the remote database, and then use Compass software to open it. The operation is similar to operating the local Compass.

[0042] However, the existing Compass software has the following technical defects:

[0043] 1. Only supports Windows operating system, not compatible with Linux, Android, Mac and other operating systems;

[0044] 2. Compass must also be installed on the customer service end. Remote viewing on mobile devices anytime and anywhere is not supported.

[0045] 3. It is only applicable to professionals for operation and viewing. There is a certain threshold for non-professionals to operate it.

[0046] The technical problems to be solved by the present invention include: how to display remote database information on any electronic device according to demand, and can support any mobile electronic device and non-Windows environment, which is helpful for improving productivity.

[0047] In view of the above-mentioned defects of the prior art, the present invention achieves a breakthrough in the non-Windows operating environment from scratch; and achieves a breakthrough from having to not having users install a client.

[0048] Figure 1 A flowchart of the steps of a directional data remote transmission method according to an embodiment of the present invention is shown.

[0049] like Figure 1 As shown, in step S101, a query request is generated by a remote mobile terminal, and the query request is transmitted to a data transfer server via a hypertext transfer protocol.

[0050] In one embodiment, in step S101, a query request is generated through the following steps: entering a specific domain name through a browser, entering a user name and password to complete login, and selecting the type of data to be queried in the user interface to generate a query request. Specifically, a user (including non-professionals and professionals) enters a specific domain name through a browser on a remote mobile terminal, completes login after user identity verification (which can be user name and password verification or other verification methods), and then selects the type of data to be queried through a web page-based user interface to generate a query request.

[0051] It should be noted that the remote data transmission protocol describes a protocol for transmitting data between a client and a server, and the protocol should include the security, stability and reliability of data transmission. The Hypertext Transfer Protocol (HTTP protocol) is adopted in the present invention. The Hypertext Transfer Protocol (HTTP) is a request-response protocol, which usually runs on TCP (Transmission Control Protocol). It specifies what kind of message the client may send to the server and what kind of response it will get. The headers of the request and response messages are given in ASCII (American Standard Code for Information Interchange), while the message content has a format similar to MIME (Multipurpose Internet Mail Extensions).

[0052] like Figure 1As shown, in step S102, the query request is processed at the data transfer server, a data query instruction is generated, and the data query instruction is transmitted to the remote database field work machine through the local area network.

[0053] In one embodiment, in step S102, the query request is processed by a background program, wherein the background program is constructed through steps S1021-S1026.

[0054] In step S1021, a data model is defined. Specifically, a data model is defined in a background program to store data required for remote transmission, wherein a database is used to define the relationship between data models. Furthermore, the data required for remote transmission includes but is not limited to: user information, remote transmission information, single well data, and transmission records.

[0055] In step S1022, write views and routes. Specifically, use decorators or defined functions to write view functions or classes to process remotely transmitted requests and operations. At the same time, you need to write configuration files to map requests to corresponding views. Further, use decorator + verification function comprehensive processing.

[0056] In step S1023, the remote transmission logic is processed. Specifically, according to the requirements of remote transmission, logic code is written to handle file transfer, user verification, and data storage operations. Furthermore, the logic code uses the user authentication form + session object + redirection and access control to verify the user and jump to the data transmission interface.

[0057] It should be noted that Session is called "session control" in computers, especially in network applications. The Session object stores the properties and configuration information required for a specific user session. In this way, when a user jumps between web pages of an application, the variables stored in the Session object will not be lost, but will continue to exist throughout the user session. When a user requests a web page from an application, if the user does not have a session yet, the web server will automatically create a Session object. When the session expires or is abandoned, the server will terminate the session. One of the most common uses of the Session object is to store user preferences. For example, if a user indicates that he does not like to view graphics, that information can be stored in the Session object.

[0058] In step S1024, a template is written. Specifically, a corresponding template file and a template engine are created to define the dynamic content and logic in the template. Furthermore, the template is constructed in the form of a web page, wherein the template is a user interface displayed to the user.

[0059] In step S1025, the server is configured and run. Specifically, the configuration setting files include database connection and static file path. Furthermore, the data transfer server is used to run the project.

[0060] In step S1026, the program is deployed to the production environment. Specifically, when the background program is developed, the background program is deployed to the data transfer server in the production environment. Furthermore, the deployment to the production environment involves setting up the server, configuring the database, setting up the static file server, etc.

[0061] In one embodiment, in step S102, the background program is implemented using the Django, Flask, FastAPI, or Tornado frameworks of the Python language, and the background program may also be implemented using the Spring framework of the Java language.

[0062] It should be noted that Python is a programming code software. Django, Flask, FastAPI, Tornado are application frameworks in Python that can realize data transfer between databases and web pages. Java is a general term used to represent Java software and its components, and Spring is an application framework in Java.

[0063] In one embodiment, in step S102, the data transfer server processes high-concurrency remote mobile terminal requests through WSGI or Uvicorn server, asynchronous framework, message queue and Starlette framework, and processes high-concurrency remote database field work machine terminal requests through SQLAlchemy.

[0064] It should be noted that WSGI (Python Web Server Gateway Interface) is a simple and universal interface between a web server and a web application or framework defined for the Python language. Since WSGI was developed, similar interfaces have appeared in many other languages. Uvicorn is a lightweight and efficient web server framework. Starlette is a lightweight ASGI framework and toolkit. SQLAlchemy is an open source software under the Python programming language.

[0065] like Figure 1 As shown, in step S103, the remote database field machine responds to the data query instruction, generates a data query result, and feeds back the data query result to the remote mobile terminal through the data transfer server.

[0066] In one embodiment, in step S103, the remote database field machine responds after receiving the data query instruction, feeds back the data query result to the data transfer server, and then transmits the data query result to the remote mobile terminal through the data transfer server to realize remote data viewing.

[0067] In one embodiment, a method for remotely transmitting directional data includes: using a data encryption and compression algorithm to first encrypt and then compress the transmitted data to reduce bandwidth consumption during the transmission process and enhance data security protection.

[0068] In one embodiment, a method for directional remote data transmission includes: multi-thread / multi-process transmission, which implements parallel transmission through multi-thread or multi-process technology to speed up data transmission.

[0069] In one embodiment, a method for remotely transmitting directional data includes: automated scheduling and task management, using an automated scheduling and task management system to optimize the execution order and resource utilization of transmission tasks.

[0070] The present invention adopts the hypertext transfer protocol to transmit data, has no limit on the number of users, user operating systems and terminals, and the operation difficulty is the same as operating a web page.

[0071] The present invention designs a user interface in the form of a web page (the view template is in the form of a web page), which is convenient for interaction with users and also convenient for non-professionals to operate.

[0072] The present invention supports high concurrency, processes high-concurrency remote mobile terminal requests through WSGI or Uvicorn server, asynchronous framework, message queue and Starlette framework, and processes high-concurrency remote database field work machine terminal requests with SQLAlchemy.

[0073] The present invention can display the remote database field machine information on any electronic device according to the demand, and can support any mobile electronic device and non-Windows environment, which is helpful to improve productivity. It has achieved a breakthrough from non-Windows operating environment to one; it has achieved a breakthrough from one to no need for users to install the client.

[0074] The method and system for remote transmission of directional data provided by the present invention may also be used in conjunction with a computer-readable storage medium, on which a computer program is stored, and the computer program is executed to run a method for remote transmission of directional data. The computer program can run computer instructions, which include computer program codes, which may be in source code form, object code form, executable file, or some intermediate form.

[0075] Computer-readable storage media may include: any entity or device that can carry computer program code, recording media, USB flash drives, mobile hard disks, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc.

[0076] It should be noted that the content contained in computer-readable storage media can be appropriately increased or decreased based on the requirements of legislation and patent practices in the jurisdiction. For example, in some jurisdictions, based on legislation and patent practices, computer-readable storage media do not include electrical carrier signals and telecommunications signals.

[0077] Figure 2 A schematic structural diagram of a directional data remote transmission system according to an embodiment of the present invention is shown.

[0078] According to another aspect of the present invention, a directional data remote transmission system is provided to execute a directional data remote transmission method. The system includes: a remote mobile terminal, a data transfer server and a remote database field working machine.

[0079] A directional data remote transmission system uses a data transfer server to form a local area network with a remote database on-site work machine. A background program is set up on the data transfer server, and users of the remote mobile terminal can view the data by opening the corresponding domain name through a browser. Specifically, the background program is written in a web framework and can view the remote database data.

[0080] like Figure 2 As shown, the remote mobile terminal is used to generate a query request and transmit the query request to the data transfer server through the hypertext transfer protocol. Specifically, the user initiates a data query request: opening a browser, entering a domain name, and clicking on the data to be viewed, which initiates a query request.

[0081] like Figure 2 As shown, the data transfer server is used to process the query request, generate data query instructions, and transmit the data query instructions to the remote database on-site work machine through the local area network. Specifically, the data transfer server forwards the data query, the data transfer server and the remote database backend (work machine) form a local area network, the Django backend is placed on the data transfer server, and after receiving the user request, the data query is forwarded to the remote database on-site work machine.

[0082] like Figure 2As shown, the remote database field machine is used to respond to data query instructions, generate data query results, and feed back the data query results to the remote mobile terminal through the data transfer server. Specifically, the remote database (worker) receives the data query request and returns the query data. The data transfer server forwards the query data to the user terminal.

[0083] In summary, the present invention provides a method and system for remote transmission of directional data, which has the following advantages over the prior art:

[0084] (1) Hypertext Transfer Protocol is used to transmit data. There is no limit on the number of users, operating system and terminal. The operation difficulty is the same as operating a web page.

[0085] (2) Design a user interface in the form of a web page (the view template is in the form of a web page) to facilitate interaction with users and operation by non-professionals.

[0086] (3) Support high concurrency, use WSGI or Uvicorn server, asynchronous framework, message queue and Starlette framework to handle high concurrency remote mobile terminal requests, and use SQLAlchemy to handle high concurrency remote database field worker terminal requests.

[0087] (4) The remote database on-site work machine information can be displayed on any electronic device according to the needs. It can support any mobile electronic device and non-Windows environment, which is helpful for improving productivity. It has achieved a breakthrough from non-Windows operating environment to one; it has achieved a breakthrough from one to no need for users to install the client.

[0088] It should be understood that the embodiments disclosed in the present invention are not limited to the specific structures, processing steps or materials disclosed herein, but should be extended to equivalent substitutions of these features understood by ordinary technicians in the relevant field. It should also be understood that the terms used herein are only used for the purpose of describing specific embodiments and are not meant to be limiting.

[0089] In the description of the present invention, unless otherwise specified, "plurality" means two or more than two; the orientations or positional relationships indicated by the terms "upper", "lower", "left", "right", "inner", "outer", "front end", "rear end", "head", "tail", etc. are based on the orientations or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", "third", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0090] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "connected" and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0091] Certain terms are used throughout this application document to indicate specific system components. As those skilled in the art will recognize, different names can usually be used to indicate the same components, so this application document is not intended to distinguish those components that are only different in name but not in function. In this application document, the terms "comprise", "include" and "have" are used in an open form, and therefore should be interpreted as meaning "including but not limited to...". In addition, the terms "substantially", "substantially" or "approximately" that may be used in this article relate to the tolerances of the corresponding terms accepted by the industry. The term "coupling" as may be used in this article includes direct coupling and indirect coupling via other components, elements, circuits, or modules, wherein for indirect coupling, the components, elements, circuits, or modules between them do not change the information of the signal but can adjust its current level, voltage level, and / or power level. Inferred coupling (for example, one of the elements is coupled to another element by inference) includes direct and indirect coupling between two elements in the same way as "coupling".

[0092] The "one embodiment" or "embodiment" mentioned in the specification means that the specific features, structures or characteristics described in conjunction with the embodiment are included in at least one embodiment of the present invention. Therefore, the phrases "one embodiment" or "embodiment" appearing in various places throughout the specification do not necessarily refer to the same embodiment.

[0093] The embodiments of the present invention are given for the purpose of illustration and description, and are not intended to be exhaustive or to limit the invention to the disclosed forms. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiments are selected and described in order to better illustrate the principles and practical applications of the present invention and to enable those of ordinary skill in the art to understand the present invention and thereby design various embodiments with various modifications suitable for specific uses.

[0094] Although the embodiments disclosed in the present invention are as above, the contents described are only embodiments adopted for facilitating the understanding of the present invention and are not intended to limit the present invention. Any technician in the technical field to which the present invention belongs can make any modifications and changes in the form and details of the implementation without departing from the spirit and scope disclosed in the present invention, but the patent protection scope of the present invention shall still be subject to the scope defined in the attached claims.

Claims

1. A method for remote transmission of directional data, characterized in that: The method comprises: Generate a query request using a remote mobile terminal, and transmit the query request to a data transfer server via a hypertext transfer protocol; Processing the query request at the data transfer server to generate a data query instruction, and transmitting the data query instruction to a remote database field work machine via a local area network; The remote database field machine responds to the data query instruction to generate a data query result, and the data query result is fed back to the remote mobile terminal through the data transfer server.

2. A method for remotely transmitting directional data according to claim 1, characterized in that: The query request is generated by the following steps: entering a specific domain name through a browser, entering a user name and password to complete login, and selecting the data type to be queried in the user interface to generate the query request.

3. A method for remotely transmitting directional data according to claim 1 or 2, characterized in that: The query request is processed by a background program, wherein the background program is constructed by the following steps: defining a data model in the background program so as to store data required for remote transmission, wherein a database is used to define the relationship between the data models; Use decorators or defined functions to write view functions or classes to handle remote transmission requests and operations; Write logic code to handle file transfer, user authentication, and data storage operations according to remote transmission requirements; Create corresponding template files and template engines to define dynamic content and logic in templates; Configuration settings files, including database connection and static file path; When the background program is developed, the background program is deployed to the data transfer server in the production environment.

4. A method for remotely transmitting directional data according to claim 3, characterized in that: The data required for the remote transmission includes but is not limited to: user information, remote transmission information, single well data, and transmission records.

5. A method for remotely transmitting directional data according to claim 3 or 4, characterized in that: The logic code uses the user authentication form + session object + redirection and access control to verify the user and jump to the data transmission interface.

6. A method for remotely transmitting directional data according to any one of claims 3 to 5, characterized in that: The template is constructed in the form of a web page, wherein the template is a user interface displayed to the user.

7. A method for remotely transmitting directional data according to any one of claims 3 to 6, characterized in that: The background program can be implemented using Django, Flask, FastAPI, or Tornado frameworks of Python language, or can be implemented using Spring framework of Java language.

8. A method for remotely transmitting directional data according to any one of claims 1 to 7, characterized in that: The data transfer server processes high-concurrency remote mobile terminal requests through WSGI or Uvicorn server, asynchronous framework, message queue and Starlette framework, and processes high-concurrency remote database field work machine terminal requests through SQLAlchemy.

9. A storage medium, characterized in that: It contains a series of instructions for executing the method steps as claimed in any one of claims 1 to 8.

10. A directional data remote transmission system, characterized in that: The method according to any one of claims 1 to 8 is performed, wherein the system comprises: The remote mobile terminal is used to generate a query request and transmit the query request to the data transfer server via the hypertext transfer protocol; The data transfer server is used to process the query request, generate a data query instruction, and transmit the data query instruction to the remote database field work machine through the local area network; The remote database field machine is used to respond to the data query instruction, generate data query results, and feed back the data query results to the remote mobile terminal through the data transfer server.